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

SpawnsParticle

From ModEnc
Jump to navigation Jump to search
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: SpawnsParticle
File(s): art(md).ini
Values: Strings: Normal text. (Limited to: Particles)
Default: None ( see below)
Applicable to: Animations


This flag specifies which which particle to spawn when the animation playback ends, and NumParticles can be used to specify the number of these particles to spawn.

Notes

When serving as the firing animation for weapons, it can only spawn normally when the weapon is used by buildings; otherwise, you must use an animation with only 1 frame to spawn particles and then use Next= to continue playback.

In version 0.4, Ares added an AttachEffect.Animation setting that is hard-coded to loop playback. To make it spawn particles, it must also have a playback duration of only 1 frame, and since it keeps recreating itself and never truly ends, you cannot use Next.

Bugs/Side-Effects/Unexpected Limitations

The default value is supposed to be "none", but there's a quirk in the InfDeath #8 handling code which requires the animation used for that death to have this flag set to a valid particle.

See Also