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

Difference between revisions of "HarvesterImmune"

From ModEnc
Jump to: navigation, search
 
(Fixed file category among other things.)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
+
{{Flag
Simple flag which can be set to 'yes' or 'no' and determines if all Ore Miners are immune from normal combat damage. Set to 'no' by default in the [CombatDamage] section of the RULES file with the HarvesterImmune= statement. This logic appears to be disabled in Red Alert 2 although modifying all warheads so that they are ineffective against 'medium' Armor= values achieves the same effect (since the Ore Miners are the only objects with this Armor= type). Alternatively, you could simply give all Ore Miners the Immune=yes property.
+
|name={{PAGENAME}}
 +
|files={{Categ|Maps}}
 +
|types={{Categ|SpecialFlags}}
 +
|values={{values|booleans}}
 +
|ts=yes
 +
|fs=yes
 +
|ets=yes
 +
|ra2=yes
 +
|yr=yes
 +
}}
 +
 
 +
Enables the Harvester Truce feature for a map and determines whether all [[Harvester|Harvesters or Ore Miners]] are immune to normal combat damage. This affects many game logics like auto-targeting, which just ignore Harvesters.
 +
 
 +
Harvester Truce isn't featured in Red Alert 2 and later. It might still work, though the new game logics might not respect this flag.
 +
 
 +
=== HarvesterImmune and [CombatDamage] ===
 +
Even though it appears in the [[CombatDamage]] section in all games from Tiberian Sun to Yuri's Revenge, it is never read from that section in any of those games and thus does not exist as a CombatDamage flag. As a chiefly multiplayer option, the correct place for this flag is the [[SpecialFlags]] section in a map file.

Latest revision as of 22:40, 6 February 2020

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: HarvesterImmune
File(s): Maps
Values: Boolean values: yes or no, true or false, 1 or 0
Applicable to: SpecialFlags


Enables the Harvester Truce feature for a map and determines whether all Harvesters or Ore Miners are immune to normal combat damage. This affects many game logics like auto-targeting, which just ignore Harvesters.

Harvester Truce isn't featured in Red Alert 2 and later. It might still work, though the new game logics might not respect this flag.

HarvesterImmune and [CombatDamage]

Even though it appears in the CombatDamage section in all games from Tiberian Sun to Yuri's Revenge, it is never read from that section in any of those games and thus does not exist as a CombatDamage flag. As a chiefly multiplayer option, the correct place for this flag is the SpecialFlags section in a map file.