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

DoorStages is the number of healthy frames in the DoorAnim animation. While the door opens over DeployTime, it steps evenly through frames 0 to DoorStages - 1. A closing door runs the same frames in reverse, and a shut door shows frame 0. With DoorStages=9, the door’s travel shows frames 0 through 8.

art.ini
[MYWEAP] ; example war factory, drawn from its own Image ID
DoorAnim=GAWEAP_D
DoorStages=9

At 0, the door animation stays on frame 0 throughout.

A DamagedDoor=yes structure whose health is at or below ConditionYellow shows the damaged frames instead. They follow the healthy block: frames DoorStages through 2 × DoorStages - 1. The door artwork must then hold both blocks, healthy first.