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

Difference between revisions of "TypeImmune"

From ModEnc
Jump to: navigation, search
m (Replacing Template:TTL with Template:F.)
 
Line 12: Line 12:
 
|rp=yes}}
 
|rp=yes}}
  
When set in the unit's rules entry, the {{TTL|TypeImmune|Yes}} flag will render an object immune to damage (but not targetting) from a weapon on a unit of the same identity ''and'' owner. This is used primarily on the dolphin, to ensure  groups don't damage one another with their through-damage weapons.  
+
When set in the unit's rules entry, the {{f|TypeImmune|Yes|link}} flag will render an object immune to damage (but not targetting) from a weapon on a unit of the same identity ''and'' owner. This is used primarily on the dolphin, to ensure  groups don't damage one another with their through-damage weapons.  
  
 
It should be noted though, that when the unit is mind controlled, it is able to damage its former  identical units, because the owner has changed.
 
It should be noted though, that when the unit is mind controlled, it is able to damage its former  identical units, because the owner has changed.
Line 18: Line 18:
 
This flag will not protect units from particle weapons (such as some flame thrower implementations, or gas from a virus dart), as the particle has no 'owner' (or any connection to the spawning weapon).
 
This flag will not protect units from particle weapons (such as some flame thrower implementations, or gas from a virus dart), as the particle has no 'owner' (or any connection to the spawning weapon).
  
The flag's effects on {{TTL|OpenTopped|Yes}} [[passengers]] or building garrisons are not known.
+
The flag's effects on {{f|OpenTopped|Yes|link}} [[passengers]] or building garrisons are not known.
  
 
[[Category:INI Flags]]
 
[[Category:INI Flags]]

Latest revision as of 10:45, 27 November 2009

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: TypeImmune
File(s): rules(md).ini
Values: boolean
Default: False
Applicable to: InfantryTypes, VehicleTypes, BuildingTypes


When set in the unit's rules entry, the TypeImmune=Yes flag will render an object immune to damage (but not targetting) from a weapon on a unit of the same identity and owner. This is used primarily on the dolphin, to ensure groups don't damage one another with their through-damage weapons.

It should be noted though, that when the unit is mind controlled, it is able to damage its former identical units, because the owner has changed.

This flag will not protect units from particle weapons (such as some flame thrower implementations, or gas from a virus dart), as the particle has no 'owner' (or any connection to the spawning weapon).

The flag's effects on OpenTopped=Yes passengers or building garrisons are not known.