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

Difference between revisions of "InvisibleInGame"

From ModEnc
Jump to: navigation, search
 
m
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
+
{{Flag
Can be set to 'yes' or 'no' and determines whether or not this object is always totally invisible to all players in the game. Note that the difference between this and the Invisible= statement is that in this case the object cannot normally be targeted or destroyed which could cause problems - for this reason, it should not be applied to player-owned objects.
+
|values={{values|bool}}
 +
|default=false
 +
|types={{Categ|BuildingTypes}}
 +
|ts=yes
 +
|fs=yes
 +
|ets=yes
 +
|ra2=yes
 +
|yr=yes
 +
|rp=yes
 +
}}
 +
Determines whether or not this object is invisible to all players ingame, including the owner. It also cannot be targeted or destroyed by any other object on the map.
 +
 
 +
{{Bugs}}
 +
Player-owned objects with {{f|InvisibleInGame|yes|link}} will cause [[Reconnection_Error|reconnection errors]] if their presence somehow affects other players (for example, by firing a weapon). While not all uses cause problems, as a general rule, it isn't recommended to set this tag to 'yes' on anything owned by the player.
 +
*Adding '''InvisibleInGame=yes''' to [[BuildingTypes]] will make the building unarmed '''(Even if [[BuildingTypes]] has weapons)'''.
 +
*Ignore the number of cells between which a new wall can be connected to an existing wall (assuming there are no obstructions)[[GuardRange]].
 +
*Ignore tag [[UndeploysInto]]
 +
*Ignore {{f|CanOccupyFire|yes|link}}
 +
*Ignore [[Buildup]]
 +
*Ignore {{f|RevealToAll|yes|link}}
 +
*Gain the {{f|CanC4|no|link}} effect.
 +
*Gain the {{f|Immune|yes|link}} effect.
 +
*Gain the {{f|ImmuneToPsionics|yes|link}} effect.
 +
*Receives the {{f|IvanBomb|yes|link}} effect but does not take damage.

Latest revision as of 18:31, 11 October 2024

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


Determines whether or not this object is invisible to all players ingame, including the owner. It also cannot be targeted or destroyed by any other object on the map.

Cc alert.png Bugs/Side-Effects/Unexpected Limitations

Player-owned objects with InvisibleInGame=yes will cause reconnection errors if their presence somehow affects other players (for example, by firing a weapon). While not all uses cause problems, as a general rule, it isn't recommended to set this tag to 'yes' on anything owned by the player.