Skip to content

Locomotion speed type

INI referenceEnumsSpeedType

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

InputMeaningEngine constantStored value
FootBipedal foot movement.SPEED_FOOT0
TrackTracked vehicle movement.SPEED_TRACK1
WheelWheeled vehicle movement.SPEED_WHEEL2
HoverHover movement.SPEED_HOVER3
WingedAircraft movement.SPEED_WINGED4
FloatWatercraft movement.SPEED_FLOAT5
AmphibiousAmphibious movement.SPEED_AMPHIBIOUS6
CreepSlow creeping movement.SPEED_CREEP7

Used by

Source files

Linked at revision 59fae722af8c.