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

SensorsSight

From ModEnc
Jump to navigation Jump to search
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 (unless using Ares, see below).

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

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.


With Ares

This flag alone has no effect on BuildingTypes; SensorArray=yes must be set on the building too.

With ares, the bug about the permanent detection radio after the unit is destroyed gets fixed, starting on version 0.5 (according to Ares documentation).