HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Frost/Banish etc... Effects

05-09-2006, 03:08 PM#1
StockBreak
Hi, I have a question: how can I add to a buff a graphic effects such as Frost (the unit becomes blue, as it was cold), Banish (slightly green and trasparent) or Animate Dead (unit becomes dark red)?
For example i saw that Naga's Ice Arrows make the unit blue and it has 2 buffs; however both two doesn't have any graphic field to put that effect; they only have the "frost smoke effect" on the unit, but no colour change, same banish. Some ideas (w/o changing vertex colours by trigger)? Thanks.

P.S: i cannot create a dummy caster (complex problem) / give the ability itself (cuz it doesn't stack with other orbs and it becomes overrided by abilities such as mask of death).
05-09-2006, 03:11 PM#2
blu_da_noob
I think the chill graphics are added by the spells when they 'chill' the units. You can use set unit vertex colour to mimic chill and animate dead (not sure about banish, might just be transparency).
05-09-2006, 03:29 PM#3
StockBreak
Yes, that's right, but I didn't wanted to change vertex color, in fact:

1. It's difficult to trigger and remove the effect if it's a buff (i need timers etc...);

2. More important, if I have a unit that has different colours on the objects editor (f.e. a black gnoll based on a brown gnoll) I cannot return to its original colours... Thanks btw.

P.S: btw someone know on which file are the exact colour setting of the unit frosted/animated acc... ?? Thanks
05-09-2006, 03:44 PM#4
Tim.
Frost and Animate Dead are just hardcoded to set the vertex color of the unit effected. Nothing you can do.

Banish is similar, but it too is hardcoded. You need to play with vertex coloring and buffs to get what you want, I'm afraid.
05-09-2006, 05:56 PM#5
Blade.dk
Adding the animate dead expiration timer makes the unit change color automatically- I think you will have to simulate the other things with vertex color changing.
05-16-2006, 10:04 AM#6
StockBreak
Sorry for bumping, but is there a way to store in a variable of xxx type the xxx unit standard vertex colours? I tried with reals/integers but i couldn't succeed. Thanks.