- Joined
- Oct 29, 2007
- Messages
- 1,184
How far does a unit move in game per second based on its movement speed value?
How far does a unit move in game per second based on its movement speed value?
I'm pretty sure it's movement speed is in units/second
Same with fields like projectile speed, i would assume.
For example, Shockwave (Tauren hero ability) has moving speed of 1050. That's equivalent to moving a distance of 31.5 every 0.03 seconds. 1050*0.03 = 31.5.
So I'd say a moving speed of 270 is equivalent of moving 270 distance units per second.
For example, Shockwave (Tauren hero ability) has moving speed of 1050. That's equivalent to moving a distance of 31.5 every 0.03 seconds. 1050*0.03 = 31.5.
So I'd say a moving speed of 270 is equivalent of moving 270 distance units per second.
Note almost every bnet game is played on "fast" instead of "normal," which might change it a little.
just tried that but it did not make any difference
I made a trigger which ran every second and displayed the distance between the new and last position
additionally I set the game speed to "slowest" and "fastest" and the time was the same in both cases
this leads me to the conclusion that a "second" in warcraft 3 is not a real second all the time
however, units move a little slower than their max movement speed
(I had a bloodmage with 500 ms running a very long straight line and he had 499.99 and 484.99 ms [swapped every second] )
edit:
at "fastest" a real second is equal to an ingame second while at "slowest" a second is equal to something like 1,6
and from time to time the bloodmage also ran 502.17 ms (not that often though)
The unit going slower than max movement speed is due to rounding errors (limited float precision)
...and latencies with subpathing update routeens.