• 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.

Linear Skills, damage based on Stats?

Status
Not open for further replies.
Level 5
Joined
Jan 27, 2007
Messages
154
I know how to make the damage based on your Stats..... But Im wondering how to make it on linear AoE or running skills? Like Shockwave (Both Linear and running).

Help much appriciated.
 
Level 5
Joined
Jan 27, 2007
Messages
154
How? Can I make dummy unit that has a model of missile and runs, and makes it damage all enemies nearby? but would'nt it make the skill obvious?
 
Level 29
Joined
Jul 29, 2007
Messages
5,174
You need to pick points based on the spells speed and damage units there.

So for example, if your spell's speed is 1000 and it covers 1000 range, you should pick every 0.2 seconds units around a point which is calculated by Distance/Speed*Time, so if its the first point, it will be 1000/1000*0.2 = 1/5 = 200, which means you will pick every units at approx 199 range from a point 200 distance from the caster towards the targeted point.

Of course that as the time between picks is smaller, the accuracy gets bigger.
 
Level 5
Joined
Jan 27, 2007
Messages
154
You need to pick points based on the spells speed and damage units there.

So for example, if your spell's speed is 1000 and it covers 1000 range, you should pick every 0.2 seconds units around a point which is calculated by Distance/Speed*Time, so if its the first point, it will be 1000/1000*0.2 = 1/5 = 200, which means you will pick every units at approx 199 range from a point 200 distance from the caster towards the targeted point.

Of course that as the time between picks is smaller, the accuracy gets bigger.

Oh I get it, pretty possible w/ GUI.

Gonna try it.
 
Status
Not open for further replies.
Top