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

Difference between revisions of "DeathWeapon"

From ModEnc
Jump to: navigation, search
(Merged, dedeezireified)
(Bad style: Removed link from heading; Fixed numerous errors: Electro, don't simply copy The Guide &mdash.)
Line 1: Line 1:
 +
==For [CombatDamage]==
 
{{Flag
 
{{Flag
 
|values={{values|string|[[Weapons]]}}
 
|values={{values|string|[[Weapons]]}}
|special=
+
|default=none
|types={{Categ|InfantryTypes}}, {{Categ|VehicleTypes}}, {{Categ|AircraftTypes}}, {{Categ|BuildingTypes}}
+
|types={{Categ|CombatDamage}}
|ts=yes
 
|fs=yes
 
|ets=yes
 
 
|ra2=yes
 
|ra2=yes
 
|yr=yes
 
|yr=yes
 
|rp=yes
 
|rp=yes
 
}}
 
}}
__NOTOC__
+
{{NeedTesting}}
==In [[CombatDamage]]==
+
Appears not to be used by the game [[engine]].
This specifies the DeathWeapon an object with {{TTL|Explodes|yes}} fires when it has no [[Primary]] set.
 
  
==On units==
 
Specifies the weapon fired at the cell which was last occupied by the unit before it was destroyed. This requires the unit to have {{TTL|Explodes|yes}} defined. DeathWeapon here serves as an override to the statement set in [[CombatDamage]].
 
  
  
==See also==
+
==For InfantryTypes, VehicleTypes, and BuildingTypes==
* [[Explodes]]
+
{{Flag
 +
|values={{values|string|[[Weapons]]}}
 +
|default=none
 +
|types={{Categ|InfantryTypes}}, {{Categ|VehicleTypes}}, {{Categ|BuildingTypes}}
 +
|ra2=yes
 +
|yr=yes
 +
|rp=yes
 +
}}
 +
When an applicable [[TechnoType]] is destroyed, {{tt|DeathWeapon}} specifies the Weapon fired at the [[cell]] previously occupied by that TechnoType. The {{tt|DeathWeapon}} effect requires that {{TTL|Explodes|yes}} be set as well.

Revision as of 07:18, 20 April 2008

For [CombatDamage]

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: DeathWeapon
File(s): rules(md).ini
Values: Strings: Normal text. (Limited to: Weapons)
Default: none
Applicable to: CombatDamage


Template:NeedTesting Appears not to be used by the game engine.


For InfantryTypes, VehicleTypes, and BuildingTypes

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: DeathWeapon
File(s): rules(md).ini
Values: Strings: Normal text. (Limited to: Weapons)
Default: none
Applicable to: InfantryTypes, VehicleTypes, BuildingTypes


When an applicable TechnoType is destroyed, DeathWeapon specifies the Weapon fired at the cell previously occupied by that TechnoType. The DeathWeapon effect requires that Template:TTL be set as well.