• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

[Solved] Cloak energy cost

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