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 door animation is drawn on a WeaponsFactory=yes structure only while a finished vehicle leaves it. Its frames show the factory door opening and closing, and they are drawn over the structure and over the vehicle in the doorway. DoorStages sets which frame each point of the door’s travel shows.

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

Write the filename without its extension; the engine loads <value>.SHP. Before loading, the second letter of the name is rewritten for the scenario’s theater, as it is for NewTheater=yes artwork, whether or not the structure sets NewTheater. The letter changes only when it already matches the ImageLetter of some theater, so GAWEAP_D loads as GTWEAP_D.SHP in temperate and as GAWEAP_D.SHP in snow.

The door frames are drawn at the lighting level of the structure’s cell, so ExtraLight does not change them.