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

OpenToppedAnim: Difference between revisions

From ModEnc
Jump to navigation Jump to search
Fallendow (talk | contribs)
No edit summary
Testid123 (talk | contribs)
mNo edit summary
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Flag
{{Flag
|values={{Values|strings|[[InfantryTypes]]}}
|files={{Categ|Rules(md).ini}}
|types={{Categ|General}}
|values=Strings (names of [[Animations]])
|special=none
|default=none
|types={{Categ|Weapon|Weapons}}
|yr=yes
|yr=yes
|rp=yes
|rp=yes
}}
}}
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)


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>
'''OpenToppedAnim=none'''<br>
{{f|Anim|MGUN-N,MGUN-NE,MGUN-E,MGUN-SE,MGUN-S,MGUN-SW,MGUN-W,MGUN-NW|link}}<br>[[File:Anim=MGUN-N,MGUN-NE,MGUN-E,MGUN-SE,MGUN-S,MGUN-SW,MGUN-W,MGUN-NW on BRTF.gif]]<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 00:12, 10 January 2025

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: 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

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.