DeployTime
How long a gate or a factory door takes to open or close, in game minutes.
Specification
- Applies to
- AircraftTypeBuildingTypeInfantryTypeUnitType
- File
rules.ini- Section
[<ObjectType ID>]- Value
- floating point
- When omitted
0
The figure is in game minutes and may be a fraction. One game minute is 900 frames, so .044 is about 40 frames and 1 is 900. The stock gates and war factories use .044.
[GAGATE_A]Gate=yesDeployTime=.044 ; about 40 frames each wayThe same figure times both opening and closing. Two kinds of structure use it:
| Structure | What the figure times |
|---|---|
A Gate=yes BuildingType | The gate’s movement between shut and open. How far the movement has got picks which of the GateStages frames to draw. |
A WeaponsFactory=yes BuildingType | The door opening for and closing behind each finished vehicle. The vehicle drives out only once the door is fully open, and the factory releases no other vehicle until the door has closed again, so a longer figure delays every vehicle’s exit. How far the door has got picks which frame of DoorAnim to draw, out of DoorStages. |
Both frame counts are set in art.ini.
At 0 the gate or door switches straight between its shut and open frames without drawing any frame in between.
The figure does not time a vehicle deploying into a structure; DeploysInto covers that.
See also — walls-and-gates,
Gate