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

Difference between revisions of "SensorArray"

From ModEnc
Jump to: navigation, search
m (Template Updated)
(Added info about activeanim delay)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{Flag
 
{{Flag
|name={{PAGENAME}}
+
|values={{values|bool}}
|files={{Categ|Rules(md).ini}}
+
|default=false
|values=boolean
 
|default=no
 
 
|types={{Categ|BuildingTypes}}
 
|types={{Categ|BuildingTypes}}
 
|ts=yes
 
|ts=yes
Line 10: Line 8:
 
|ra2=yes
 
|ra2=yes
 
|yr=yes
 
|yr=yes
|rp=yes
+
|ares=yes
 +
|ra2obsolete=yes
 
}}
 
}}
  
Specifies whether this building has a sensor which allows it to reveal [[Cloaking System|cloaked]] and [[subterranean]] objects nearby (the range is defined by {{TTL|CloakRadiusInCells}}) and raise a [[Radar Event]].
+
==In Tiberian Sun==
  
'''Note:''' in YR 1.001, this building will not detect such objects, but it will still raise a Radar Event if they are detected by other means within its range.
+
This flag determines whether or not a [[BuildingType]] can detect and reveal [[Cloakable|cloaked]] and [[subterranean]] units within a radius in cells specified by {{f|CloakRadiusInCells|link}}.
 +
 
 +
When a cloaked unit is detected for a player, an [[EVA Event]] will trigger and ''[[tibsun.mix]]''{{arr|r}}''speech01.mix''{{arr|r}}''00-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.mix''{{arr|r}}''speech01.mix''{{arr|r}}''00-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.
 +
 
 +
=== Note on Building ActiveAnim ===
 +
When a building with this flag is deployed or placed down, there's a small delay before the building's [[ActiveAnim|active animation]] (if any) appears.
 +
 
 +
==In Red Alert 2==
 +
{{Obsolete|{{ra2}} and {{yr}}}}
 +
 
 +
Although this flag is parsed, it no longer allows BuildingTypes to detect cloaked and subterranean units.
 +
 
 +
==With Ares==
 +
 
 +
This flag is parsed and fully functional; just set [[SensorsSight]] to an appropriate value too.
 +
 
 +
[[Category:Bugs and Errors]]

Latest revision as of 00:44, 27 December 2022

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

Cc cnrdelete-all.pngLogic related to SensorArray, as a whole or in part, is obsolete in Red Alert 2 and/or Yuri's Revenge.



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.

Note on Building ActiveAnim

When a building with this flag is deployed or placed down, there's a small delay before the building's active animation (if any) appears.

In Red Alert 2

Cc cnrdelete-all.png
Logic related to SensorArray, as a whole or in part, is obsolete in Red Alert 2 and Yuri's Revenge.

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

With Ares

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