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

DeadBodies: Difference between revisions

From ModEnc
Jump to navigation Jump to search
Nighthawk200 (talk | contribs)
m Template updated
Testid123 (talk | contribs)
mNo edit summary
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
=={{anchor|General||}}For [General]==
{{Flag
{{Flag
|name=DeadBodies
|values={{values|stringlist|[[Animations]]}}
|files={{Categ|Rules(md).ini}}
|values=Comma-separated list of strings (names of Animations)
|default=null
|types={{Categ|General}}
|types={{Categ|General}}
|ts=yes
|ts=yes
Line 12: Line 10:
|rp=yes
|rp=yes
}}
}}
This flag specifies a list of [[Animations]], one of which is randomly played when an [[InfantryType]] is killed by a [[warhead]] with {{f|InfDeath|1|link}} or {{tt|InfDeath{{=}}2}}. The animation will start to play once the {{f|Die1|link}} or {{f|Die2|link}} sub-sequences end.


Specifies a list of animations that are used in random order as dead bodies, after an [[InfantryTypes|InfantryType]] without <tt>[[NotHuman]]=yes</tt> is killed.
These animations will not play for InfantryTypes with {{f|NotHuman|yes|link}}.
 
===Individual override===
In {{ra2}}, [General]{{arr|r}}{{f|DeadBodies|link}} can be overridden for individual InfantryTypes[[{{PAGENAME}}#InfantryTypes|{{sup|{{arr|d}}}}]].
 
=={{anchor|InfantryTypes||}}For InfantryTypes==
{{Flag
|values={{values|stringlist|[[Animations]]}}
|types={{Categ|InfantryTypes}}
|ra2=yes
|yr=yes
|rp=yes
}}
This flag acts as an individual override for {{sl|General}}{{arr|r}}{{f|DeadBodies|link}}[[{{PAGENAME}}#General|{{sup|{{arr|u}}}}]].<br>
Animation from this tag will occur. Only when [[InfantryTypes]] dies from {{f|InfDeath|1|link}},If the animation has more than one animation Those animations are played randomly, equivalent to [[Explosion]].
 
{{Automatictypelist|Animations|Animations}}

Revision as of 09:15, 6 February 2025

For [General]

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: DeadBodies
File(s): rules(md).ini
Values: Comma-separated list of strings. (Limited to: Animations)
Applicable to: General


This flag specifies a list of Animations, one of which is randomly played when an InfantryType is killed by a warhead with InfDeath=1 or InfDeath=2. The animation will start to play once the Die1 or Die2 sub-sequences end.

These animations will not play for InfantryTypes with NotHuman=yes.

Individual override

In Red Alert 2, [General]→DeadBodies can be overridden for individual InfantryTypes.

For InfantryTypes

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: DeadBodies
File(s): rules(md).ini
Values: Comma-separated list of strings. (Limited to: Animations)
Applicable to: InfantryTypes


This flag acts as an individual override for [General]DeadBodies.
Animation from this tag will occur. Only when InfantryTypes dies from InfDeath=1,If the animation has more than one animation Those animations are played randomly, equivalent to Explosion.

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.