Jump to content

Damage: Difference between revisions

From ModEnc²
en>DCoder
Added Particles
en>DCoder
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 07:22, 12 May 2008

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.