Skip to content

DoorStages

The number of frames the factory door animation steps through.

Specification
Applies to
BuildingType
File
art.ini
Section
[<Image ID>]Image ID: Image= value; ObjectType ID when omitted
Value
integer
When omitted
0

The door’s completion fraction, which DeployTime spreads from shut to fully open, is scaled by this count to pick the frame of DoorAnim to draw. A closing door counts down from the count instead, a shut door draws frame 0, a frame at or past the count is pulled back to the last one in the range, and a negative frame is raised to 0.

At the default of 0 every frame resolves to 0, so a door animation is drawn standing on its first frame throughout.

A DamagedDoor=yes structure at or below ConditionYellow adds the count to the frame after that clamp, so the damaged block runs from this frame number through twice it less one and the art has to carry both blocks.