Jump to content

OpenToppedAnim: Difference between revisions

From ModEnc²
en>Testid123
mNo edit summary
en>Testid123
mNo edit summary
Line 8: Line 8:
|rp=yes
|rp=yes
}}
}}
If an InfantryType has this weapon set as its {{f|OpenTransportWeapon||link}} then this tag specifies the animation to be used when that unit fires its weapon when inside an {{f|OpenTopped|yes|link}} unit.<br />
If an [[InfantryTypes]] and [[VehicleTypes]] has this weapon set as its {{f|OpenTransportWeapon||link}} then this tag specifies the animation to be used when that unit fires its weapon when inside an {{f|OpenTopped|yes|link}} unit.<br />
(Yuri's Revenge Only)
(Yuri's Revenge Only)



Revision as of 02:12, 10 January 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: OpenToppedAnim
File(s): Rules(md).ini
Values: Strings (names of Animations)
Special Values: none
Default: none
Applicable to: Weapons


If an InfantryTypes and VehicleTypes has this weapon set as its OpenTransportWeapon= then this tag specifies the animation to be used when that unit fires its weapon when inside an OpenTopped=yes unit.
(Yuri's Revenge Only)

  • Only one animation can be written here ;;Because this is the limit of this tag So disable this tag and use this trick instead.

If you specify eight comma-separated values, the game uses them to depict 8 different facings clockwise:
[M60]
OpenToppedAnim=none
Anim=MGUN-N,MGUN-NE,MGUN-E,MGUN-SE,MGUN-S,MGUN-SW,MGUN-W,MGUN-NW
File:Anim=MGUN-N,MGUN-NE,MGUN-E,MGUN-SE,MGUN-S,MGUN-SW,MGUN-W,MGUN-NW on BRTF.gif
Of course doing this has more sentences than the OpenToppedAnim tag 😆

Automatic List Inclusion

Animations used as values for this flag are automatically listed under the internal [Animations] array. However no harm can be done by listing them manually.