ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

UnderDoorAnim: Difference between revisions

From ModEnc
Jump to navigation Jump to search
McPwny (talk | contribs)
Created page with "In red alert 2, war factories were changed such that they can support aircraft leaving the top of the building. War factories in Ra2 have four anims for handling this; *an a..."
 
Crimsonum (talk | contribs)
Update
 
Line 1: Line 1:
In red alert 2, war factories were changed such that they can support aircraft leaving the top of the building. War factories in Ra2 have four anims for handling this; 
{{Flag
*an anim for the front door when a unit leaves through the front door
|files={{Categ|Art(md).ini}}
*an anim for the rest of the building when a unit leaves through the front door 
|values={{Values|string|[[SHP|Shape]] filename without the .shp file extension}}
*an anim for the top door when a unit leaves through the top door
|default=none
*an anim for the rest of the building when a unit leaves through the top door 
|types={{Categ|BuildingTypes}}
|ts=yes
|fs=yes
|hp=yes
|ra2=yes
|yr=yes
|ares=yes
}}


UnderDoorAnim= is the part of this that handles the front door anim when a unit leaves through the front door
When this building produces a [[UnitTypes|unit]] (any non-[[jumpjet]] vehicle in in [[Red Alert 2|RA2]] and [[Yuri's Revenge|YR]]), this flag specifies the building [[shape]] that is rendered <u>under</u> the unit as it leaves through the building's front door. It is also rendered behind related animations like [[DoorAnim|door]], [[DeployingAnim|deploy]], and [[BibShape|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 {{f|WeaponsFactory|link}} enabled.
== In Red Alert 2 and Yuri's Revenge ==
In [[Red Alert 2|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:
*{{f|UnderDoorAnim}} – a shape for the front door when a unit leaves through the front door
*{{f|DeployingAnim|link}} – a shape for the rest of the building when a unit leaves through the front door 
*{{f|UnderRoofDoorAnim|link}} – a shape for the top door when a unit leaves through the top door
*{{f|RoofDeployingAnim|link}} – a shape for the rest of the building when a unit leaves through the top door
{{Automatictypelist}}


== See Also ==
== See Also ==
 
*[[DoorAnim]]
*[[DeployingAnim]]
*[[DeployingAnim]]
*[[UnderRoofDoorAnim]]
*[[UnderRoofDoorAnim]]
*[[RoofDeployingAnim]]
*[[BibShape]]

Latest revision as of 08:27, 20 June 2023

Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
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.

See Also