Jump to content

OpenToppedAnim: Difference between revisions

From ModEnc²
en>Fallendow
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 />
(Yuri's Revenge Only)


If an InfantryType 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.<br />
*Only one animation can be written here ;;Because this is the limit of this tag So disable this tag and use this trick instead.
(Yuri's Revenge Only)
If you specify eight comma-separated values, the game uses them to depict 8 different facings clockwise:<br>
'''[M60]'''<br>
{{f|Anim|MGUN-N,MGUN-NE,MGUN-E,MGUN-SE,MGUN-S,MGUN-SW,MGUN-W,MGUN-NW|link}}<br>
Of course doing this has more sentences than the [[OpenToppedAnim]] tag 😆


*Only one animation can be written here, not an animation list like [WeaponType] > Anim=
----
Necessary to add despite lack of rewrite:<br>
{{Automatictypelist|Animations|Animations}}
{{Automatictypelist|Animations|Animations}}
* {{f|OpenTopped|link}}
* {{f|OpenTopped|link}}

Revision as of 17:00, 9 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 InfantryType 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]
Anim=MGUN-N,MGUN-NE,MGUN-E,MGUN-SE,MGUN-S,MGUN-SW,MGUN-W,MGUN-NW
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.