Jump to content

Damage

From ModEnc²
Revision as of 07:22, 12 May 2008 by en>DCoder (Adding IsLocomotor note)
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
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 Template:TTL 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 Template:TTL weapons, this specifies the maximum Template:TTL of the target that this weapon is allowed to affect. Meaning, if such a weapon has Template:TTL, it won't be able to affect AircraftTypes and VehicleTypes which have Template:TTL exceeding 5.