Jump to content

DeathWeapon: Difference between revisions

From ModEnc²
en>Marshall
tested and rewrite
en>Vinifera7
m ...
Line 1: Line 1:
==For [{{TTL|CombatDamage}}]==
==For [CombatDamage]==
{{Flag
{{Flag
|values={{values|string|[[Weapons]]}}
|values={{values|string|[[Weapons]]}}
Line 8: Line 8:
|rp=yes
|rp=yes
}}
}}
Specifies the default death weapon to use when a unit with {{TTL|Explodes|yes}} set is destroyed, but said unit does not have {{tt|DeathWeapon}} or {{TTL|Primary}} set.
When a [[TechnoType]] is destroyed, this flag specifies the default Weapon fired at the [[cell]] previously occupied by that TechnoType. This can be overridden by specifying an armament on the TechnoType itself, via {{TTL|Primary}}, {{TTL|WeaponX}}, or {{tt|DeathWeapon}}{{Sup|[[DeathWeapon#For_TechnoTypes|{{Arr|d}}]]}}. The {{tt|DeathWeapon}} effect requires that {{TTL|Explodes|yes}} be set as well.


==For [[TechnoTypes]]==
 
 
==For TechnoTypes==
{{Flag
{{Flag
|values={{values|string|[[Weapons]]}}
|values={{values|string|[[Weapons]]}}
Line 20: Line 22:
}}
}}


When a unit is destroyed, and that unit has {{TTL|Explodes|yes}} set, then a weapon will be fired at the [[cell]] previously occupied by that unit.
When a TechnoType is destroyed, {{tt|DeathWeapon}} specifies the Weapon fired at the [[cell]] previously occupied by that TechnoType. This acts as an override to the default {{tt|DeathWeapon}}{{Sup|[[DeathWeapon#For_.5BCombatDamage.5D|{{Arr|u}}]]}} (in [CombatDamage]) and to any armament specified on the TechnoType itself, via {{TTL|Primary}} or {{TTL|WeaponX}}. The {{tt|DeathWeapon}} effect requires that {{TTL|Explodes|yes}} be set as well.
 
If {{tt|DeathWeapon}} is specified on the unit then that weapon will be fired.
If {{tt|DeathWeapon}} is not specified on the unit then the unit's {{TTL|Primary}} weapon will be fired instead.
If neither {{tt|DeathWeapon}} nor {{TTL|Primary}} are specified on the unit then the weapon specified by [{{TTL|CombatDamage}}]{{arr|r}}{{TTL|DeathWeapon}} will be fired instead.

Revision as of 19:23, 20 April 2008

For [CombatDamage]

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: DeathWeapon
File(s): rules(md).ini
Values: Strings: Normal text. (Limited to: Weapons)
Default: none
Applicable to: CombatDamage


When a TechnoType is destroyed, this flag specifies the default Weapon fired at the cell previously occupied by that TechnoType. This can be overridden by specifying an armament on the TechnoType itself, via Template:TTL, Template:TTL, or DeathWeapon. The DeathWeapon effect requires that Template:TTL be set as well.


For TechnoTypes

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: DeathWeapon
File(s): rules(md).ini
Values: Strings: Normal text. (Limited to: Weapons)
Default: none
Applicable to: TechnoTypes


When a TechnoType is destroyed, DeathWeapon specifies the Weapon fired at the cell previously occupied by that TechnoType. This acts as an override to the default DeathWeapon (in [CombatDamage]) and to any armament specified on the TechnoType itself, via Template:TTL or Template:TTL. The DeathWeapon effect requires that Template:TTL be set as well.