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

Difference between revisions of "Damage"

From ModEnc
Jump to: navigation, search
m (Fixing weapon->weapon's warhead)
m (Replacing Template:TTL with Template:F.)
Line 16: Line 16:
 
}}
 
}}
  
In all cases, this flag specifies how many 'damage points' this weapon/animation/debris/particle delivers. The {{TTL|Verses}} and other warhead flags can alter this number before it is applied to the affected object(s).
+
In all cases, this flag specifies how many 'damage points' this weapon/animation/debris/particle delivers. The {{f|Verses|link}} and other warhead flags can alter this number before it is applied to the affected object(s).
  
 
(In RA1, this is only applicable to weapons, since the other applicable objects exist only in TS and later.)
 
(In RA1, this is only applicable to weapons, since the other applicable objects exist only in TS and later.)
Line 22: Line 22:
 
== IsLocomotor ==
 
== IsLocomotor ==
  
On weapons whose warheads have {{TTL|IsLocomotor|yes}}, this specifies the maximum {{TTL|Size}} of the target that this weapon is allowed to affect. Meaning, if such a weapon has {{TTL|Damage|5}}, it won't be able to affect [[AircraftTypes]] and [[VehicleTypes]] which have {{TTL|Size}} exceeding {{Tt|5}}.
+
On weapons whose warheads have {{f|IsLocomotor|yes|link}}, this specifies the maximum {{f|Size|link}} of the target that this weapon is allowed to affect. Meaning, if such a weapon has {{f|Damage|5|link}}, it won't be able to affect [[AircraftTypes]] and [[VehicleTypes]] which have {{f|Size|link}} exceeding {{Tt|5}}.

Revision as of 09:51, 27 November 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: Damage
File(s): Rules(md).ini, Art(md).ini
Values: Signed integers: All whole numbers from -2147483648 to 2147483647; in rare cases, only from -32768 to 32767.
Default: 0?
Applicable to: Weapons, Particles, VoxelAnims, Animations


In all cases, this flag specifies how many 'damage points' this weapon/animation/debris/particle delivers. The Verses and other warhead flags can alter this number before it is applied to the affected object(s).

(In RA1, this is only applicable to weapons, since the other applicable objects exist only in TS and later.)

IsLocomotor

On weapons whose warheads have IsLocomotor=yes, this specifies the maximum Size of the target that this weapon is allowed to affect. Meaning, if such a weapon has Damage=5, it won't be able to affect AircraftTypes and VehicleTypes which have Size exceeding 5.