HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Crit Strike, Shadow Strike, Mana Burn, Bounty, etc...

11-10-2003, 11:51 AM#1
FerretDruid
Where is the file that stores the perameters for the numbers of these abilities? I know I saw it this morning while looking through the MPQs. Text size, color, etc. But now that I need it I can't find it!!! :( I will post it here if I do find it though since I know there were some people looking for it.
11-10-2003, 12:07 PM#2
Vexorian
UI\miscdata.txt

And if you want to make them by triggers you'll need a function I made (hope you can use JASS)

Code:
function FadingText_child takes nothing returns nothing
local integer alpha=255
    local integer red=S2I(SubString(bj_cineFadeContinueTex,1,4))
    local integer green=S2I(SubString(bj_cineFadeContinueTex,4,7))
    local integer blue=S2I(SubString(bj_cineFadeContinueTex,7,10))
local texttag t= bj_lastCreatedTextTag

    call DestroyTrigger( GetTriggeringTrigger() )
    call TriggerSleepAction(1.00)
    loop
       set alpha=alpha - 32
       exitwhen alpha <= 0
       call SetTextTagColor(t,red,green,blue,alpha)
       call TriggerSleepAction(0.01)
    endloop
call DestroyTextTag(t)
endfunction

function FadingText takes string msg, integer red, integer green, integer blue, real x, real y returns nothing
local texttag t=CreateTextTag()
local trigger child=CreateTrigger()
    call SetTextTagText(t,msg,0.025)
    call SetTextTagPos(t,x,y, 0.00)
    call SetTextTagColor(t,red,green,blue,255)
    call SetTextTagVelocity(t,0,0.02)
    call TriggerAddAction( child, function FadingText_child )
    set bj_lastCreatedTextTag=t
    set bj_cineFadeContinueTex=I2S(1000000000 + red * 1000000 + green * 1000 + blue)
    call TriggerExecute( child )
endfunction


Quote:
Shows a fading text tag at coordinates, call FadingText and make sure to include the FadingText_child function above the FadingText function

Good to simulate certain texttags:

These are the RGB values for the texttags we see in game
(Information From ui\Miscdata.txt)

GoldTextColor=255,220,0
LumberTextColor=0,200,80
BountyTextColor=255,220,0
MissTextColor=255,0,0
CriticalStrikeTextColor=255,0,0
ShadowStrikeTextColor=160,255,0
ManaBurnTextColor=82,82,255
BashTextColor=0,0,255
11-10-2003, 01:35 PM#3
FerretDruid
I have ZERO clue what you are talking about. But, I will take some time to look at it carefully and see if I get it. (Is this JASS what you enter as "Use Custom Text?", if so I've used a little bit of it...)
11-10-2003, 02:02 PM#4
Vexorian
ergh forget about that and remember that the file is in war3x.mpq\ui\miscdata.txt