Jump to content

SensorsSight

From ModEnc²
Revision as of 09:17, 6 November 2020 by en>TAK02 (Sensors alone on a building don't work; it must also be a SensorArray.)
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
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 TechnoType, 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.

Unless set on a BuildingType, this flag functions independently from Sensors and SensorArray. It does not require nor is affected by their presence.

If it is set on BuildingType, SensorArray=yes must also be set on the Building, else it won't work.

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.