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

DeployingAnim: Difference between revisions

From ModEnc
Jump to navigation Jump to search
McPwny (talk | contribs)
No edit summary
DeathFish (talk | contribs)
No edit summary
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
== In Rules(md).ini ==
Specifies the animation from the [Animations] list, which must also be defined in the ARTMD.INI file, to use when this object deploys into another.<br />
{{Flag
(Yuri's Revenge Only)
|files={{Categ|Rules(md).ini}}
|values={{Values|string|[[Animations]]}}
|default=none
|types={{Categ|TechnoTypes}}
|yr=yes
|ares=yes
}}
Specifies the [[animation]] to use when this object deploys into another(Use with the {{f|IsSimpleDeployer|yes|link}} tag).<br>Animation speed affects the use of {{f|IsSimpleDeployer|yes|link}} tags.<br>That is [[VehicleTypes]] can use the {{f|IsSimpleDeployer|yes|link}} tag got it again '''(after first run)''' the animation has finished playing (Equivalent to [[DeployTime]],[[UndeployDelay]]).


==Nots==
*For '''DeployingAnim''' generated by [[SuperGapRadiusInCells]], the animation will display only 1 building. Reactivation on another building This will cause the animation from the previous building to disappear.
*While [[VehicleTypes]] is '''using''' DeployingAnim, [[VehicleTypes]] is safe from weapons with the tag {{f|IsLocomotor|yes|link}} on the warhead.<br>[[File:DeployingAnim and IsLocomotor=yes.gif]]<br>


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; 
== In Art(md).ini ==
*an anim for the front door when a unit leaves through the front door
{{Flag
*an anim for the rest of the building when a unit leaves through the front door 
|files={{Categ|Art(md).ini}}
*an anim for the top door when a unit leaves through the top door
|values={{Values|string|[[SHP|Shape]] filename without the .shp file extension}}
*an anim for the rest of the building when a unit leaves through the top door 
|default=none
|types={{Categ|BuildingTypes}}
|ts=yes
|fs=yes
|hp=yes
|ra2=yes
|yr=yes
|ares=yes
}}
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 above the unit as it leaves through the building's front door. Typically, this represents all of the building's 'static' art that should appear above the unit, like the roof and the west/south side walls, while the door and any parts that should be rendered under the unit are transparent.


DeployingAnim= is the anim that handles the building image when a unit leaves through the front door
Applies only to [[Factory]] buildings with {{f|WeaponsFactory|link}} enabled.<br>
Applies to [[BuildingTypes]] with the tag {{f|GapGenerator|yes|link}},{{f|GapRadiusInCells||link}},{{f|SuperGapRadiusInCells||link}},{{f|ExtraPower|link}}.<br>
Applies to [[BuildingTypes]] with the tag  {{f|CanBeOccupied|yes|link}}.<br>


==Nots==
Unlike the TechnoType statement in RULES(MD).INI, this BuildingType statement in ART(MD).INI actually only calls the Shape file rather than an entity of the Animation class.<br>
Therefore, it naturally is hardcoded to use the {{f|AltPalette|yes|Link}} palette always and ignore the [[MakeInfantry]] tag.


== See Also ==
== See Also ==
*[[UnderDoorAnim]]
*[[DoorAnim]]
*[[UnderRoofDoorAnim]]
*[[UnderDoorAnim]] &ndash; Building shape rendered under the produced unit
*[[RoofDeployingAnim]]
*[[RoofDeployingAnim]] &ndash; Building shape rendered above a jumpjet unit as it leaves through the top door (RA2 and YR only)
*[[UnderRoofDoorAnim]] &ndash; Building shape rendered below a jumpjet unit as it leaves through the top door (RA2 and YR only)
*[[BibShape]] &ndash; Building shape that is always rendered below units

Revision as of 06:56, 19 January 2025

In Rules(md).ini

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: DeployingAnim
File(s): Rules(md).ini
Values: Strings: Normal text. (Limited to: Animations)
Default: none
Applicable to: TechnoTypes


Specifies the animation to use when this object deploys into another(Use with the IsSimpleDeployer=yes tag).
Animation speed affects the use of IsSimpleDeployer=yes tags.
That is VehicleTypes can use the IsSimpleDeployer=yes tag got it again (after first run) the animation has finished playing (Equivalent to DeployTime,UndeployDelay).

Nots

  • For DeployingAnim generated by SuperGapRadiusInCells, the animation will display only 1 building. Reactivation on another building This will cause the animation from the previous building to disappear.
  • While VehicleTypes is using DeployingAnim, VehicleTypes is safe from weapons with the tag IsLocomotor=yes on the warhead.

In Art(md).ini

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: DeployingAnim
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 above the unit as it leaves through the building's front door. Typically, this represents all of the building's 'static' art that should appear above the unit, like the roof and the west/south side walls, while the door and any parts that should be rendered under the unit are transparent.

Applies only to Factory buildings with WeaponsFactory enabled.
Applies to BuildingTypes with the tag GapGenerator=yes,GapRadiusInCells=,SuperGapRadiusInCells=,ExtraPower.
Applies to BuildingTypes with the tag CanBeOccupied=yes.

Nots

Unlike the TechnoType statement in RULES(MD).INI, this BuildingType statement in ART(MD).INI actually only calls the Shape file rather than an entity of the Animation class.
Therefore, it naturally is hardcoded to use the AltPalette=yes palette always and ignore the MakeInfantry tag.

See Also

  • DoorAnim
  • UnderDoorAnim – Building shape rendered under the produced unit
  • RoofDeployingAnim – Building shape rendered above a jumpjet unit as it leaves through the top door (RA2 and YR only)
  • UnderRoofDoorAnim – Building shape rendered below a jumpjet unit as it leaves through the top door (RA2 and YR only)
  • BibShape – Building shape that is always rendered below units