Skip to content

IsARock

Overlay that objects on a slope beside it are drawn in front of, and whose own depth is not lifted off the ground.

Specification
Applies to
OverlayType
File
rules.ini
Section
[<ObjectType ID>]
Value
boolean
When omitted
no

The flag does two unrelated things.

In the draw, it cancels the depth bias that DrawFlat=no applies, putting the shape back on the ground while leaving the upright gradient it selected in place. On a DrawFlat=yes overlay there is no bias to cancel and the flag changes nothing about the draw.

In the depth sorting of everything else, it moves objects standing on sloped ground forward. A vehicle or a soldier on a ramp looks at the cells to its south, east and south-east; if one of them holds an overlay carrying this flag, the object’s depth is nudged forward so that it is drawn in front of the rock rather than buried in it.

rules.ini
[MYBOULDER] ; example rock overlay beside cliff ramps
DrawFlat=no
IsARock=yes
See alsoDrawFlat, High