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
Added Particles
Adding IsLocomotor note
Line 1: Line 1:
{{Flag
{{Flag
|name=Damage
|name={{PAGENAME}}
|files={{Categ|Rules(md).ini}}, {{Categ|Art(md).ini}}
|files={{Categ|Rules(md).ini}}, {{Categ|Art(md).ini}}
|values=integer
|values={{Values|Integer}}
|default=0?
|default=0?
|types={{Categ|Weapon|Weapons}}, {{Categ|Particles}}, {{Categ|VoxelAnims}}, {{Categ|Animations}}
|types={{Categ|Weapon|Weapons}}, {{Categ|Particles}}, {{Categ|VoxelAnims}}, {{Categ|Animations}}
|games=[[RA1]], [[TS]], [[RA2]], [[YR]]
|ra=yes
|ra=yes
|cs=yes
|cs=yes
Line 17: Line 16:
}}
}}


In all cases, this flag specifies how many 'damage points' this weapon/animation/debris/particle delivers. The <tt>[[Verses]]=</tt> 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 {{TTL|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.)
(In RA1, this is only applicable to weapons, since the other applicable objects exist only in TS and later.)
== 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}}.

Revision as of 05:22, 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 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.