• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Solved] Cloak energy cost

Status
Not open for further replies.
Level 9
Joined
Feb 12, 2010
Messages
509
I managed to succesfully duplicate the Banshee's Cloak ability (amazing, right?), and now I'm trying to find the energy cost (not the activation cost, but the amount of energy drained per second).
Help would be much appreciated.
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,198
(amazing, right?)
Not as amazing as the new machine gun system from UA3. Its the only one I know that in graph form actually looks like a machine gun with all the effects involved lol. Ok back on topic.

(not the activation cost, but the amount of energy drained per second).
The behaviour Banshee - Cloaking Field gives the energy loss.
The field...
Modification - Vital Regeneration Bonus (0|0|-1.4765)
is where it is.

Basically it works by giving you negative energy generation. This is good for rather fixed regeneration rates. However for heroes you may want something % based so it scales better. In that case make the behaviour execute a periodic effect that is a unit modification effect that lowers energy state by a percentage.

The game executes 16 frames per game second so if you make a behaviour run an effect that fast it will probably appear smooth enough.
 
Level 9
Joined
Feb 12, 2010
Messages
509
Not as amazing as the new machine gun system from UA3. Its the only one I know that in graph form actually looks like a machine gun with all the effects involved lol. Ok back on topic.

You have no idea how satisfied I was when I got my copied Cloak ability to work properly. :p

The behaviour Banshee - Cloaking Field gives the energy loss.
The field...
Modification - Vital Regeneration Bonus (0|0|-1.4765)
is where it is.

Basically it works by giving you negative energy generation. This is good for rather fixed regeneration rates. However for heroes you may want something % based so it scales better. In that case make the behaviour execute a periodic effect that is a unit modification effect that lowers energy state by a percentage.

The game executes 16 frames per game second so if you make a behaviour run an effect that fast it will probably appear smooth enough.

And here I am, missing the obvious things again. >.>
I appreciate the tip as well, I won't be needing it for this unit since I've got a particular balance in mind for my Zeratul unit.

Thanks again.
 
Status
Not open for further replies.
Top