CloakRadiusInCells: Difference between revisions
en>Testid123 mNo edit summary |
Rain-Islet (talk | contribs) m [bot] Batch update {{Bugs}} templates. |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 3: | Line 3: | ||
|files={{Categ|Rules(md).ini}} | |files={{Categ|Rules(md).ini}} | ||
|values=integer | |values=integer | ||
|default=0 | |default=17 <!---0---> | ||
|special= <b>-1</b>, <b>-2</b> to <b>-2147483648</b> | |special= <b>-1</b>, <b>-2</b> to <b>-2147483648</b> | ||
|types={{Categ|BuildingTypes}} | |types={{Categ|BuildingTypes}} | ||
| Line 13: | Line 13: | ||
|rp=yes | |rp=yes | ||
}} | }} | ||
*If {{f|CloakGenerator|yes|link}} is set, this specifies the radius, in [[cell]]s, of the cloak generator this BuildingType has. | *If {{f|CloakGenerator|yes|link}} is set, this specifies the radius, in [[cell]]s, of the cloak generator this BuildingType has. | ||
*If {{f|SensorArray|yes|link}} is set, this specifies the radius, in cells, of the sensor array this BuildingType has. (At least in TS, not confirmed for RA2/later). | *If {{f|SensorArray|yes|link}} is set, this specifies the radius, in cells, of the sensor array this BuildingType has. (At least in TS, not confirmed for RA2/later). | ||
{{Bugs}} | =={{Bugs}}== | ||
Setting a negative value to <b>CloakRadiusInCells</b> has the following strange effects:<br> | Setting a negative value to <b>CloakRadiusInCells</b> has the following strange effects:<br> | ||
<b>-1</b> | <b>-1</b> | ||
Gives <b>CloakRadiusInCells= | Gives <b>CloakRadiusInCells=17 (even if CloakRadiusInCells=-1)</b> | ||
When a [[BuildingTypes]] with this tag is not present in the game by any means, the effects of the {{f|CloakGenerator|yes|link}} tag are not removed | When a [[BuildingTypes]] with this tag is not present in the game by any means, the effects of the {{f|CloakGenerator|yes|link}} tag are not removed | ||
+Reveals nearby areas if a [[BuildingTypes]] with this tag is not present on the map by any means (equivalent to {{f|CellSpread|1|link}}) | +Reveals nearby areas if a [[BuildingTypes]] with this tag is not present on the map by any means (equivalent to {{f|CellSpread|1|link}}) | ||
| Line 29: | Line 28: | ||
<b>-3</b> | <b>-3</b> | ||
The result is the same as <b>-1</b> mentioned above, except that it reveals the adjacent area as a straight line for 7 cells if the [[BuildingTypes]] with this tag are not present on the map in any way (1 cell for the zero area of the remaining 3 cells).<br> | The result is the same as <b>-1</b> mentioned above, except that it reveals the adjacent area as a straight line for 7 cells if the [[BuildingTypes]] with this tag are not present on the map in any way (1 cell for the zero area of the remaining 3 cells).<br> | ||
[[File:CloakRadiusInCells=-2.png]] | [[File:CloakRadiusInCells=-2.png]]<br> | ||
CloakRadiusInCells=-2 In game | '''CloakRadiusInCells=-2''' In game<br> | ||
*'''CloakRadiusInCells=x''' [!]increasing value Will make the duration of the '''Invisible Effect''' stay longer, even if the [[BuildingTypes]] using this tag No longer exists. | |||
Latest revision as of 17:15, 2 July 2025
|
|
|
|
|
|
| Flag: | CloakRadiusInCells |
| File(s): | Rules(md).ini |
| Values: | integer |
| Special Values: | -1, -2 to -2147483648 |
| Default: | 17 |
| Applicable to: | BuildingTypes |
- If CloakGenerator=yes is set, this specifies the radius, in cells, of the cloak generator this BuildingType has.
- If SensorArray=yes is set, this specifies the radius, in cells, of the sensor array this BuildingType has. (At least in TS, not confirmed for RA2/later).
Bugs/Side-Effects/Unexpected Limitations
Setting a negative value to CloakRadiusInCells has the following strange effects:
-1
Gives CloakRadiusInCells=17 (even if CloakRadiusInCells=-1)
When a BuildingTypes with this tag is not present in the game by any means, the effects of the CloakGenerator=yes tag are not removed
+Reveals nearby areas if a BuildingTypes with this tag is not present on the map by any means (equivalent to CellSpread=1)
-2 Same effect as -1 above Except reveals nearby areas in a straight line of 5 cells if a BuildingTypes with this tag is not present on the map by any means (1 cell for the zero area of the remaining 2 cells)
-3
The result is the same as -1 mentioned above, except that it reveals the adjacent area as a straight line for 7 cells if the BuildingTypes with this tag are not present on the map in any way (1 cell for the zero area of the remaining 3 cells).
File:CloakRadiusInCells=-2.png
CloakRadiusInCells=-2 In game
- CloakRadiusInCells=x [!]increasing value Will make the duration of the Invisible Effect stay longer, even if the BuildingTypes using this tag No longer exists.





