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

faster attack speed?

Status
Not open for further replies.
Level 6
Joined
Sep 7, 2017
Messages
207
how do u make realistic and faster attack speed like rapidfire machinegun like the gatlegun?
i set 2-3 damage tothe unit and set the att speed to 0.01 and still slow.
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,286
There is a limit to attacks per second in Warcraft III. I recall it being around 45 or something like that (likely 1 per internal frame).

To achieve this attack speed one must lower the unit's attack animation back swing value to near 0 and set its attack period to a small value. Attack animation back swing determines the wind up time for attacks and hence applies a minimum attack period limit.

There is a limit on faster attack speed from +400% to -80%. This is from all sources so includes agility, items and buffs which all stack additively. Values out of that range are clamped, hence a unit with an attack period of 1 can fire at most 5 shots per second by raising attack speed in game.

StarCraft II has a totally different set of limits. Attacks are limited to once per frame (16 attacks per game second maximum) and by default there is no limit on faster attack speed (one can be applied though by altering the attack ability).
 
Level 6
Joined
Sep 7, 2017
Messages
207
There is a limit to attacks per second in Warcraft III. I recall it being around 45 or something like that (likely 1 per internal frame).

To achieve this attack speed one must lower the unit's attack animation back swing value to near 0 and set its attack period to a small value. Attack animation back swing determines the wind up time for attacks and hence applies a minimum attack period limit.

There is a limit on faster attack speed from +400% to -80%. This is from all sources so includes agility, items and buffs which all stack additively. Values out of that range are clamped, hence a unit with an attack period of 1 can fire at most 5 shots per second by raising attack speed in game.

StarCraft II has a totally different set of limits. Attacks are limited to once per frame (16 attacks per game second maximum) and by default there is no limit on faster attack speed (one can be applied though by altering the attack ability).
Wow, that's a diverse and brain-opening information. Thanks for this. I'll tweak down the backswing points values and hope the gatling gun shows a good firepower effect. ^^ Thanks again for the help, I'm saving this info to thoughts for many uses.

wc3 has inner limits on min & max values almost for everything, attack speed including.
There might be hacks like .lua files perhaps?
 
Status
Not open for further replies.
Top