Movement zone
Pathfinding classes, each deciding which terrain and obstacles a type of that class may cross.
- Engine enum
MZoneType- Input form
- Named token
The names say which cells join a class’s movement zones, not what an object of that class may do to them. Crusher and the three destroyer classes decide only whether a cell held by a crushable overlay, a wall, or a terrain object that fills every one of its standing places counts as crossable while the zones are built and a route is plotted — so Destroyer opens fully blocking trees and rocks as readily as it opens walls. Whether a vehicle actually flattens a wall it drives into is Crusher=yes, which is read separately and can be set on a type of any class.
What each class is compared against is a single blockage rating held for the cell rather than its land type; TemperateOccupationBits covers how a terrain object’s occupation figure moves its cell between classes without changing the terrain at all. The ten classes are fixed by the engine, each costing the map a zone table of its own; MovementZone covers what naming one does to a type.
Values
10 of 10
| Input | Meaning | Engine constant | Stored value |
|---|---|---|---|
Normal | Terrestrial movement to which every crushable and every blocked cell is closed. | MZONE_NORMAL | 0 |
Crusher | Terrestrial movement to which a cell held by a crushable overlay is open. | MZONE_CRUSHER | 1 |
Destroyer | Terrestrial movement to which a cell held by a crushable overlay, a wall, or a fully blocking terrain object is open. | MZONE_DESTROYER | 2 |
AmphibiousDestroyer | Destroyer movement carried across water as well. | MZONE_AMPHIBIOUS_DESTROYER | 3 |
AmphibiousCrusher | Crusher movement carried across water as well. | MZONE_AMPHIBIOUS_CRUSHER | 4 |
Amphibious | Movement across land and water. | MZONE_AMPHIBIOUS | 5 |
Subterannean | Subterranean movement.The accepted token preserves the engine's historical spelling. | MZONE_SUBTERANNEAN | 6 |
Infantry | Infantry movement. | MZONE_INFANTRY | 7 |
InfantryDestroyer | Infantry movement to which crushable, wall and fully blocking terrain cells are open as well. | MZONE_INFANTRY_DESTROYER | 8 |
Fly | Air movement, to which every cell inside the playable area is open. | MZONE_FLYER | 9 |
No enum values match this filter.
Used by
MovementZoneINI key
Source files
Linked at revision 59fae722af8c.