| 11-10-2003, 11:51 AM | #1 |
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 | |
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 )
endfunctionQuote:
|
| 11-10-2003, 01:35 PM | #3 |
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 |
ergh forget about that and remember that the file is in war3x.mpq\ui\miscdata.txt |
