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

Difference between revisions of "NotHuman"

From ModEnc
Jump to: navigation, search
 
m (Another one.)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
+
{{Flag
Can be set to 'yes' or 'no' and determines whether or not this InfantryType is human. The effect of this is that the InfDeath= section of a warhead is ignored when this unit is destroyed by it, with the 'die' sections of its ART.INI sequence appropriately being used instead. This is used in Red Alert 2 for the Alligator and the Cow to ensure they do not display, for example, the FlamingInfantry= animation when they are burned to death as it would look crazy for them to run around in the shape of a soldier. Use of this tag also means that when the unit is killed, the DeadBodies= animations are not displayed either (as they are all human shaped).
+
|values={{Values|bool}}
 +
|default=no
 +
|types={{Categ|InfantryTypes}}
 +
|ra2=yes
 +
|yr=yes
 +
|rp=yes
 +
}}
 +
 
 +
{{f|[[NotHuman]]|yes}} makes an [[InfantryType]] always use the sub-sequence specified by {{f|Die1|link}} when it is killed, regardless of the value of {{f|InfDeath|link}} on the [[warhead]] that kills it. It also prevents the animations specified by {{f|DeadBodies|link}} from being displayed upon the unit's death.
 +
 
 +
This can be overridden if the InfantryType has animations specified by {{f|DeathAnims|link}}, as these take precedence over all other death animations.
 +
 
 +
In unmodded {{Ra2}}, {{f|[[NotHuman]]|yes}} is used for animals like the [[CNC:Alligator|Alligator]] and the [[CNC:Cow|Cow]] to keep them from displaying death animations like the one specified by {{f|FlamingInfantry|link}}, since those are only suitable for human-shaped InfantryTypes.
 +
 
 +
Unfortunately this also means that these units cannot have a variety of death animations.
 +
 
 +
==See also==
 +
* {{f|Sequence|link}}

Latest revision as of 18:58, 23 December 2009

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: NotHuman
File(s): rules(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: no
Applicable to: InfantryTypes


NotHuman=yes makes an InfantryType always use the sub-sequence specified by Die1 when it is killed, regardless of the value of InfDeath on the warhead that kills it. It also prevents the animations specified by DeadBodies from being displayed upon the unit's death.

This can be overridden if the InfantryType has animations specified by DeathAnims, as these take precedence over all other death animations.

In unmodded Red Alert 2, NotHuman=yes is used for animals like the Alligator and the Cow to keep them from displaying death animations like the one specified by FlamingInfantry, since those are only suitable for human-shaped InfantryTypes.

Unfortunately this also means that these units cannot have a variety of death animations.

See also