Jump to content

OpenToppedAnim

From ModEnc²
Revision as of 02:12, 10 January 2025 by en>Testid123
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.