Skip to content

TemperateOccupationBits

Which of a cell's three infantry standing places a terrain object fills in a theater that is not arctic.

Specification
Applies to
TerrainType
File
rules.ini
Section
[<ObjectType ID>]
Value
integer
When omitted
7All three standing places are filled, which is also the figure that makes the cell fully blocked.

A cell has three places where infantry can stand: north-east, south-west and south-east. The value is a sum of bits, one per place, and the object fills each place whose bit is set: 1 for north-east, 2 for south-west and 4 for south-east. 6, for example, leaves the north-east place open and fills the other two.

rules.ini
[MYROCK] ; example boulder that infantry can squeeze past
TemperateOccupationBits=4 ; only the south-east standing place is filled
SnowOccupationBits=4

The value also decides how much the object blocks movement. With exactly 7, its cells are fully blocked. With any other value, including 0, they are partly blocked. Movement zones treat the two classes differently, so changing the value from 7 changes which zones can cross:

Movement zoneCrosses a fully blocked cellCrosses a partly blocked cell
InfantryNoYes
Destroyer, AmphibiousDestroyer, SubteranneanYesNo
InfantryDestroyer, FlyYesYes
Normal, Crusher, Amphibious, AmphibiousCrusherNoNo

The value applies in every theater without IsArctic=yes. An arctic theater, such as SNOW, uses SnowOccupationBits instead. Set both keys to get the same result in every theater.