Jump to content

Bouncer: Difference between revisions

From ModEnc²
en>Crimsonum
Add warhead
en>Testid123
mNo edit summary
Line 13: Line 13:
|ares=yes
|ares=yes
}}
}}
This flag determines whether an animation should have special debris behaviour. If set to yes, the animation will by default "fall" from its starting height like any other object subject to [[gravity]]. However, its trajectory can be controlled with several additional flags:
This flag determines whether an animation should have special debris behaviour. If set to yes, the animation will by default "fall" from its starting height like any other object subject to [[gravity]]. However, its trajectory can be controlled with several additional flags:


Line 24: Line 23:
*{{f|Spawns|link}} - Defines an animation that is spawned when the animation impacts on the ground (and does not rebound).  
*{{f|Spawns|link}} - Defines an animation that is spawned when the animation impacts on the ground (and does not rebound).  
*{{f|SpawnCount|link}} - How many of Spawns to spawn.  
*{{f|SpawnCount|link}} - How many of Spawns to spawn.  
*{{f|ExpireAnim|link}} - Animation to invoke when the animation impacts on the ground (and does not rebound).  
*{{f|ExpireAnim|link}} - Animation to invoke when the animation impacts on the ground (and does not rebound).
==Note==
*Damage caused by this tag It won't happen if {{f|MinZVel|1.2|link}}


==See also==
==See also==
*{{f|IsMeteor|link}}
*{{f|IsMeteor|link}}

Revision as of 04:55, 4 January 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: Bouncer
File(s): art(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: no
Applicable to: Animations


This flag determines whether an animation should have special debris behaviour. If set to yes, the animation will by default "fall" from its starting height like any other object subject to gravity. However, its trajectory can be controlled with several additional flags:

Further, animations which have either Bouncer or IsMeteor set, can have additional functions:

  • Warhead - Specifies the warhead to deal damage with.
  • Spawns - Defines an animation that is spawned when the animation impacts on the ground (and does not rebound).
  • SpawnCount - How many of Spawns to spawn.
  • ExpireAnim - Animation to invoke when the animation impacts on the ground (and does not rebound).

Note

  • Damage caused by this tag It won't happen if MinZVel=1.2

See also