• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Solved] Cloak energy cost

Status
Not open for further replies.
Level 9
Joined
Feb 12, 2010
Messages
510
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,258
(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
510
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