Locomotor
The class identifier of the locomotion object created to move each instance of the type.
- Applies to
- AircraftTypeBuildingTypeInfantryTypeUnitType
- File
rules.ini- Section
[<ObjectType ID>]- Value
- Locomotor CLSID
- When omitted
{4A582747-9839-11D1-B709-00A024DDAFD1}The teleport locomotor. No stock type names this identifier, and the only stock type that leaves the key out is the crate-goodie `BASEUNIT` shell.
The value is a class identifier written in the usual braced form. One locomotion object of the named class is created for each aircraft, infantry and vehicle instance as that instance is created, and everything about how the object travels — whether it drives, walks, hovers, flies, burrows or steps — follows from which class that is. Locomotion and piggybacking explains how a runtime instance can be moved by a different locomotor than its type names. Ten classes are registered:
| Identifier | Movement |
|---|---|
{4A582741-9839-11D1-B709-00A024DDAFD1} | Drive — wheeled and tracked ground travel along cell tracks |
{4A582742-9839-11D1-B709-00A024DDAFD1} | Hover — a cushion that slews about far more freely than a tracked hull |
{4A582743-9839-11D1-B709-00A024DDAFD1} | Tunnel — burrows out of sight and travels underground |
{4A582744-9839-11D1-B709-00A024DDAFD1} | Walk — infantry |
{4A582745-9839-11D1-B709-00A024DDAFD1} | Ballistic — the falling drop pod |
{4A582746-9839-11D1-B709-00A024DDAFD1} | Flyer — aircraft |
{4A582747-9839-11D1-B709-00A024DDAFD1} | Teleport |
{55D141B8-DB94-11D1-AC98-006008055BB5} | Mech — the striding walk of the stock Titan and Juggernaut |
{92612C46-F71F-11D1-AC9F-006008055BB5} | Jumpjet — powered hover flight run from [JumpjetControls] |
{3DC0B295-6546-11D3-80B0-00902792494C} | Levitate — the stock jellyfish |
A BuildingType never creates a locomotor, so the setting is inert in a building’s section. A reinforcement chain compares the stored identifier without creating anything: the chain burrows onto the map only if every member of it names the tunnel locomotor, and one member that does not disqualifies the whole chain. A vehicle leaving a war factory is sorted by the locomotor it is actually using — a drive locomotor is forced onto the exit track, a tunnel locomotor is given a temporary drive locomotor piggybacked on top of it to get clear of the door, and anything else is simply given a destination three cells east and one south.
Text that is not a legal identifier is discarded and the previous value stays in force.