I see that all mobile units (at least in BA) have acceleration and brake rates as well as max-velocity.
Am I to assume then, that mobile units (like vehicles) don't always travel at the same rate (such as when starting/stopping)?
Am I also to assume that certain terrain features can cause a unit to go at a defined slower rate?
Also...do units have slower speeds depending on slope?
This all leads to my final question...any way to force a unit to go slower than normal max-velocity in order to facility mixed-unit formations?
(sorry so many questions)
Unit speed and formations
Moderators: hoijui, Moderators
Re: Unit speed and formations
There's a command CMD_SET_WANTED_MAX_SPEED, which, when given *after* a move/fight/patrol/etc. command should make the unit temporarily use a lower maximum speed.casperjeff wrote: This all leads to my final question...any way to force a unit to go slower than normal max-velocity in order to facility mixed-unit formations?
Re: Unit speed and formations
Yes, the transition to stand-still / maximum speed is not instantaneous.Am I to assume then, that mobile units (like vehicles) don't always travel at the same rate (such as when starting/stopping)?
Water and slopes slow a unit down by default, by factors that depend on the unit's depth- and slope-modifier values. A map's typemap can also impose base speed multipliers. All of these bias the pathfinder.Am I also to assume that certain terrain features can cause a unit to go at a defined slower rate?
Re: Unit speed and formations
Any place to find documentation on this, if you were to implement your own path finder? (that had to take into account more information than the normal pathfinder)