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

Difference between revisions of "SensorsSight"

From ModEnc
Jump to: navigation, search
(Sensors alone on a building don't work; it must also be a SensorArray.)
(Undo revision 21077 by TAK02 (talk))
Line 10: Line 10:
 
}}
 
}}
  
This flag determines the radius in [[cells]] about a TechnoType, within which enemy [[Cloakable|cloaked]] and [[subterranean]] units will be detected and revealed.
+
This flag determines the radius in [[cells]] about a unit, within which enemy [[Cloakable|cloaked]] and [[subterranean]] units will be detected and revealed.
  
 
When a unit is detected for a player, a radar event will trigger. If the unit is cloaked, it will become visible and targetable until it is no longer within the detection range.
 
When a unit is detected for a player, a radar event will trigger. If the unit is cloaked, it will become visible and targetable until it is no longer within the detection range.
  
Unless set on a BuildingType, this flag functions independently from {{f|Sensors|link}} and {{f|SensorArray|link}}. It does not require nor is affected by their presence.
+
Despite the fact that this flag is parsed for all [[TechnoTypes]], it has no effect on [[BuildingTypes]].
  
If it is set on BuildingType, {{f|SensorArray|yes|link}} must also be set on the Building, else it won't work.
+
This flag functions independently from {{f|Sensors|link}} and {{f|SensorArray|link}}. It does not require nor is affected by their presence.
  
 
{{Bugs}}
 
{{Bugs}}

Revision as of 09:18, 6 November 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: SensorsSight
File(s): rules(md).ini
Values: Signed integers: All whole numbers from -2147483648 to 2147483647; in rare cases, only from -32768 to 32767.
Default: 0
Applicable to: TechnoTypes:

AircraftTypes, BuildingTypes, InfantryTypes and VehicleTypes



This flag determines the radius in cells about a unit, within which enemy cloaked and subterranean units will be detected and revealed.

When a unit is detected for a player, a radar event will trigger. If the unit is cloaked, it will become visible and targetable until it is no longer within the detection range.

Despite the fact that this flag is parsed for all TechnoTypes, it has no effect on BuildingTypes.

This flag functions independently from Sensors and SensorArray. It does not require nor is affected by their presence.

Cc alert.png Bugs/Side-Effects/Unexpected Limitations

The logic associated with this flag suffers from an easily exploitable bug. When a unit with SensorsSight is destroyed, a permenantly viable sensor area is retained, centered around the point of that unit's destruction.