UnderDoorAnim
Flag: | UnderDoorAnim |
File(s): | Art(md).ini |
Values: | Strings: Normal text. (Limited to: Shape filename without the .shp file extension) |
Default: | none |
Applicable to: | BuildingTypes |
When this building produces a unit (any non-jumpjet vehicle in in RA2 and YR), this flag specifies the building shape that is rendered under the unit as it leaves through the building's front door. It is also rendered behind related animations like door, deploy, and bib animations, if any.
Typically, this represents the building's 'static' art that should appear under the unit and behind the factory door, like the walls and floor inside the factory. Any parts that should be rendered above the unit are typically transparent.
Despite having the abbreviation 'anim' in the flag name, the shape is not animated in the sense that normal animations are. Only four frames are supported: The first frame is used for the building's normal state, the second for the damaged state, and the remaining two frames for the respective shadow frames.
Applies only to factory buildings with WeaponsFactory enabled.
In Red Alert 2 and Yuri's Revenge
In RA2, weapons factories were changed such that they can support aircraft (technically jumpjet vehicles) leaving through the top of the building. Weapons factories in RA2 have four 'anim' types for handling this:
- UnderDoorAnim – a shape for the front door when a unit leaves through the front door
- DeployingAnim – a shape for the rest of the building when a unit leaves through the front door
- UnderRoofDoorAnim – a shape for the top door when a unit leaves through the top door
- RoofDeployingAnim – a shape for the rest of the building when a unit leaves through the top door
Automatic List Inclusion
Objects used as values for this flag are automatically listed under the appropriate internal array. However no harm can be done by listing them manually.