Locomotion speed type
Movement-table classes used to select terrain speed behavior.
- Engine enum
SpeedType- Input form
- Named token
A SpeedType selects the column of the terrain movement table that a type is costed against. Each entry of that table is a fractional speed multiplier for one land type and one speed type, where 1.0 is full speed and 0 marks the cell impassable rather than slow. One rules.ini section per land type supplies the table — [Clear], [Road], [Water], and so on — each holding one entry named for a token below, plus Buildable. A value above 1.0 is clamped down as it is read.
A SpeedType does not choose the locomotion physics — Locomotor is a separate assignment on the same type — though tracked types take the tracked uphill and downhill multipliers where wheeled types take the wheeled ones. Only a UnitType accepts a SpeedType entry; infantry and aircraft take theirs from the engine, and a building’s follows its WaterBound setting.
Values
8 of 8
| Input | Meaning | Engine constant | Stored value |
|---|---|---|---|
Foot | Bipedal foot movement. | SPEED_FOOT | 0 |
Track | Tracked vehicle movement. | SPEED_TRACK | 1 |
Wheel | Wheeled vehicle movement. | SPEED_WHEEL | 2 |
Hover | Hover movement. | SPEED_HOVER | 3 |
Winged | Aircraft movement. | SPEED_WINGED | 4 |
Float | Watercraft movement. | SPEED_FLOAT | 5 |
Amphibious | Amphibious movement. | SPEED_AMPHIBIOUS | 6 |
Creep | Slow creeping movement. | SPEED_CREEP | 7 |
No enum values match this filter.
Used by
SpeedTypeINI key
Source files
Linked at revision 59fae722af8c.