TypeImmune: Difference between revisions
en>EvilRenegade m Replacing Template:TTL with Template:F. |
m 7 revisions imported |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 11: | Line 11: | ||
|yr=yes | |yr=yes | ||
|rp=yes}} | |rp=yes}} | ||
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. | 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. | ||
| Line 18: | Line 17: | ||
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 {{f|OpenTopped|Yes|link}} [[ | Parasite-type units, even though they have <u><b><font style="Color:blue">TypeImmune=yes</font></b></u> | ||
but will not receive its results. | |||
If attacked by a unit of the same parasite type <u><b>(According to the description of<font style="Color:blue">TypeImmune</font>)</b></u> | |||
The flag's effects on {{f|OpenTopped|Yes|link}} =This tag works as expected However, [[TechnoTypes]] will still receive damage from attacks from '''Battle Fortress''' and other passengers. | |||
[[Category:INI Flags]] | [[Category:INI Flags]] | ||
Latest revision as of 22:11, 31 March 2025
|
|
|
|
|
|
| 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).
Parasite-type units, even though they have TypeImmune=yes but will not receive its results. If attacked by a unit of the same parasite type (According to the description ofTypeImmune)
The flag's effects on OpenTopped=Yes =This tag works as expected However, TechnoTypes will still receive damage from attacks from Battle Fortress and other passengers.





