Skip to content

DoorAnim

The shape file drawn over a structure as its factory door works.

Specification
Applies to
BuildingType
File
art.ini
Section
[<Image ID>]Image ID: Image= value; ObjectType ID when omitted
Value
string
When omitted
(empty)No door shape is loaded and none is drawn.

The value is a filename without its extension, and only a non-empty value is taken. The named <value>.SHP is loaded with the rules, after the name has been rewritten for the scenario theater on the structure-art convention: a name beginning GA, GT, NA, NT, CA or CT, compared without regard to case, has its second letter replaced with T in temperate and A in snow. It is fetched again, under the theater then in force, when a saved game is restored, and on a NewTheater=yes type as each theater is set up.

The shape is drawn only while the structure is unloading — the sequence a WeaponsFactory=yes structure runs while a finished vehicle leaves — and in the pass that draws over the structure, so it covers both the structure and the vehicle standing in the doorway. DoorStages covers which frame the door’s progress selects.

art.ini
[MYWEAP] ; example war factory, drawn from its own Image ID
DoorAnim=GAWEAP_D ; loaded as GTWEAP_D.SHP in temperate
DoorStages=9
UnderDoorAnim=GAWEAP_1

Its depth bias is a fixed five pixels toward the viewer, and it is drawn at the cell’s own lighting level, so ExtraLight does not reach it.