Jump to content

CloakGenerator: Difference between revisions

From ModEnc²
en>DCoder
No edit summary
 
Rain-Islet (talk | contribs)
m [bot] Batch update {{Bugs}} templates.
 
(19 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
{{Flag
Can be set to 'yes' or 'no' and determines whether or not this BuildingType can cloak itself and any objects around it which have the same owner.
|name={{PAGENAME}}
|files={{Categ|Rules(md).ini}}
|values=boolean
|default=no
|types={{Categ|BuildingTypes}}
|ts=yes
|fs=yes
|ets=yes
|ra2=yes
|yr=yes
|rp=yes
}}
Specifies whether this object has a cloaking device which can [[Cloaking system|cloak]] it and any objects of the same owner within the radius specified by {{f|CloakRadiusInCells|link}}.
 
==Exceptions==
Cloaking will only be applied to Hover or Jumpjet [[Locomotor]] units when the are built from a factory within the radius of the generator. Once they decloak they will not regain their cloaking ability.
 
However, if a {{f|PoweredUnit|yes|link}} unit (YR only) with a hover locomotor is deactivated within the radius of a generator, it will regain its cloak. The same goes for any hovering units affected by a weapon with {{f|EMEffect|yes|link}}[[CloakGenerator#Footnotes|{{sup|1}}]] while within the radius of a generator.
 
[[AircraftTypes|Aircraft]] and [[Jumpjet]] units in the air are not affected, unless they land within the cloaking radius.
 
==Footnotes==
{{sup|1}}Only useable with Rock Patch in RA2/YR.
 
=={{bugs}}==
Animations with [[Translucency]] will be disabled when under the <tt>CloakGenerator</tt> effect. [[Particles]] that use animation images will not be affected.

Latest revision as of 17:15, 2 July 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: CloakGenerator
File(s): Rules(md).ini
Values: boolean
Default: no
Applicable to: BuildingTypes


Specifies whether this object has a cloaking device which can cloak it and any objects of the same owner within the radius specified by CloakRadiusInCells.

Exceptions

Cloaking will only be applied to Hover or Jumpjet Locomotor units when the are built from a factory within the radius of the generator. Once they decloak they will not regain their cloaking ability.

However, if a PoweredUnit=yes unit (YR only) with a hover locomotor is deactivated within the radius of a generator, it will regain its cloak. The same goes for any hovering units affected by a weapon with EMEffect=yes1 while within the radius of a generator.

Aircraft and Jumpjet units in the air are not affected, unless they land within the cloaking radius.

Footnotes

1Only useable with Rock Patch in RA2/YR.

Bugs/Side-Effects/Unexpected Limitations

Animations with Translucency will be disabled when under the CloakGenerator effect. Particles that use animation images will not be affected.