Jump to content

IsPlug: Difference between revisions

From ModEnc²
en>DCoder
No edit summary
 
en>Testid123
mNo edit summary
Line 1: Line 1:
{{DeeZireInclusion}}<br />
{{Flag
Can be set to 'true' or 'false' and specifies whether or not this BuildingType is a 'plug' (upgradeable structure) and thus is considered by the AI when choosing a target for the Weather Storm or Nuke. Residual from Tiberian Sun although the game does perform a check to see if a structure is named GAPLUG - if it is, it is then hard coded to have its Foundation= over-ridden so that it is set to Foundation=2x3 (see the ART.INI Guide) which may invoke some additional function although this has yet to be established.
|name={{PAGENAME}}
|files={{Categ|Rules(md).ini}}
|values={{Values|bool}}
|default=false
|types={{categ|BuildingTypes}}
|ts=yes
|fs=yes
|hp=yes
|ra2=yes
|yr=yes
|ra2obsolete=yes
}}
Can be set to ''' 'true' ''' or ''' 'false' ''' and specifies whether or not this BuildingType is a ''' 'plug' ''' (upgradeable structure) and thus is considered by the AI when choosing a target for the '''Weather Storm''' or '''Nuke'''.<br>
Residual from [[Tiberian Sun]] although the game does perform a check to see if a structure is named '''GAPLUG''' - if it is it is then hard coded to have its {{f|Foundation||link}} over-ridden so that it is set to {{f|Foundation|2x3|link}} (see the ART.INI Guide)<br>which may invoke some additional function although this has yet to be established.

Revision as of 10:49, 6 February 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: IsPlug
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 IsPlug, as a whole or in part, is obsolete in Red Alert 2 and/or Yuri's Revenge.



Can be set to 'true' or 'false' and specifies whether or not this BuildingType is a 'plug' (upgradeable structure) and thus is considered by the AI when choosing a target for the Weather Storm or Nuke.
Residual from Tiberian Sun although the game does perform a check to see if a structure is named GAPLUG - if it is it is then hard coded to have its Foundation= over-ridden so that it is set to Foundation=2x3 (see the ART.INI Guide)
which may invoke some additional function although this has yet to be established.