| 01-20-2009, 08:44 PM | #1 |
So in the Object editor, you can modify the Run Speed and the Walk Speed, but at which point does a unit walk v.s. run? Are there typically different animations for run v.s. walk? When I issue a Unit - Order Peasant 0000 <gen> to Move To (Center of Region 000 <gen>) does the unit walk or does it run? Or does it depend on the unit itself? I've also been mucking about with the movement speed, does that change the Run Speed or Walk Speed? Is there a way to specifiy? What I'm trying to accomplish are two people/units strolling down a city street casually... |
| 01-20-2009, 09:57 PM | #2 |
you cant edit the run or walk speed ... warcraft does not differ between running/walking like you think ... well ...the fields you can edit only refer to animation speed not the speed of the units movement speed. if you order a single unit to move it will always run. |
| 01-20-2009, 10:26 PM | #3 |
this fields are used mainly for units with the walk and walk fast animation (Example Manoroth model) so if the model is slowed, it will use the walk animations, else, it will use the walk fast animations. |
| 01-21-2009, 08:07 AM | #4 |
Once i build in a system for warcraft with a friend so units could actually run. They started with a slightly lesser speed and when they was moving for 1-2 seconds they had their max speed. We added later some other things like running speed and such and added a jump system to it so you could jump wider depending on your speed... But i cant find it anymore seems i deleted it, but maybe someone can build this again. |
| 01-21-2009, 11:51 AM | #5 |
The animation-run speed actually has nothing to do with the running speed, but the speed at which the animation is played. The value basically defines how much ground should the unit cover in either one animation loop or one second of animation, not sure which, and then the game engine adjusts the unit's animation speed based on how quickly it's moving. It seems it was originally intended that all units will have two movement animations, a walking one and a running one, but this was never implemented as very few models have both animations (I can only think of the Pit Lord at the moment), so I'm not sure if the code even supports switching between the animations as moyack describes (I never tested it, so he may be right, but I have no idea at which movement speed the unit switches between the two animations). |
