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

SensorArray

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: SensorArray
File(s): rules(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: false
Applicable to: BuildingTypes


Logic related to SensorArray, as a whole or in part, is obsolete in Yuri's Revenge.

This flag functions similarly to TickTank and ICBMLauncher: when enabled on a building, any unit that deploys into the building will turn to face east (bottom-right) before deployment.

In Tiberian Sun

This flag determines whether or not a BuildingType can detect and reveal cloaked and subterranean units within a radius in cells specified by CloakRadiusInCells.

When a cloaked unit is detected for a player, an EVA Event will trigger and tibsun.mixspeech01.mix00-i172.aud (speech02.mix for Nod) will sound. The unit will then become visible and targetable until it is no longer within the detection range.

Similarly, when a subterranean unit is detected, an EVA Event will trigger and tibsun.mixspeech01.mix00-i174.aud (speech02.mix for Nod) will sound. The unit's selection box will be revealed until it is no longer within the detection range or it surfaces.

In Yuri's Revenge

Although this flag is parsed, it no longer allows BuildingTypes to detect cloaked and subterranean units.

With Ares (Version 0.5 and above)

This flag is parsed and fully functional; just set SensorsSight to an appropriate value too.

Bugs/Side-Effects/Unexpected Limitations

When a building with this flag is deployed or placed down, the building's active animation (if any) is hidden for a brief moment. This makes it look like the animation starts after a small delay after the building has been deployed.

This only applies to ActiveAnim and not ActiveAnimTwo, ActiveAnimThree or ActiveAnimFour.

See Also

UndeploysInto#Undeployed_vehicle_facing