Jump to content

Anim: Difference between revisions

From ModEnc²
en>Nighthawk200
m Template updated
m 5 revisions imported
 
(3 intermediate revisions by 3 users not shown)
Line 18: Line 18:


Specifies the animation to play as "muzzle flash" for this weapon.  
Specifies the animation to play as "muzzle flash" for this weapon.  
{{Automatictypelist|Animations|Animations}}


== Facing-specific animations ==
== Facing-specific animations ==
Line 23: Line 25:
If you specify eight comma-separated values, the game uses them to depict 8 different facings clockwise:
If you specify eight comma-separated values, the game uses them to depict 8 different facings clockwise:


[M60]
<pre>[M60]
Anim=MGUN-N,MGUN-NE,MGUN-E,MGUN-SE,MGUN-S,MGUN-SW,MGUN-W,MGUN-NW
Anim=MGUN-N,MGUN-NE,MGUN-E,MGUN-SE,MGUN-S,MGUN-SW,MGUN-W,MGUN-NW</pre>
 
==Note==
[Warhead] &#9658; {{f|Parasite|yes|link}} will force [Weapon] &#9658; {{f|Anim|(list of animations)}} to be processed as if there are 8 directions.
*In other words, if you do not specify 8 animations, the parasite's firing animation will only play correctly when the parasitized unit is facing a specific direction.

Latest revision as of 21:36, 31 March 2025

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


Specifies the animation to play as "muzzle flash" for this weapon.

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.

Facing-specific animations

(Doesn't apply to Red Alert.) 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

Note

[Warhead] ► Parasite=yes will force [Weapon] ► Anim=(list of animations) to be processed as if there are 8 directions.

  • In other words, if you do not specify 8 animations, the parasite's firing animation will only play correctly when the parasitized unit is facing a specific direction.