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

Damage: Difference between revisions

From ModEnc
Jump to navigation Jump to search
Adding IsLocomotor note
m Fixing weapon->weapon's warhead
Line 22: Line 22:
== IsLocomotor ==
== IsLocomotor ==


On {{TTL|IsLocomotor|yes}} weapons, 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 {{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}}.

Revision as of 15:19, 12 May 2008

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 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 weapons whose warheads have Template:TTL, 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.