Skip to content

ToOverlay

The cell overlay a wall structure turns into when it is placed.

Specification
Applies to
BuildingType
File
art.ini
Section
[<Image ID>]Image ID: Image= value; ObjectType ID when omitted
Value
class
When omitted
none
art.ini
[GAWALL]
ToOverlay=GAWALL ; the OverlayType of the same name

A Wall=yes BuildingType converts into this overlay on reaching the map and deletes itself. The named overlay also decides three other things: whether placing the type triggers the automatic gap fill, which is switched on by the named overlay being a wall rather than by the structure’s own flag; which existing damaged segments the type may be placed on top of; and, through the first BuildingType in the rules that names a given overlay, whether that overlay can be sold at all.

A name that matches no registered OverlayType registers a new, unconfigured overlay under that name rather than failing. The values none and <none> resolve to nothing at all, exactly as if the key had been left out.

See alsowalls-and-gates, Wall