Jump to content

Anim: Difference between revisions

From ModEnc²
en>Crimsonum
m Fixed broken styling.
m 5 revisions imported
 
(One intermediate revision by one other user not shown)
Line 27: Line 27:
<pre>[M60]
<pre>[M60]
Anim=MGUN-N,MGUN-NE,MGUN-E,MGUN-SE,MGUN-S,MGUN-SW,MGUN-W,MGUN-NW</pre>
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.