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

Difference between revisions of "ConstructionYard"

From ModEnc
Jump to: navigation, search
 
 
Line 1: Line 1:
{{DeeZireInclusion}}<br />
+
{{Flag
Should be used only on BuildingTypes. Can be set to 'yes' or 'no' and represents a special case for structures into which a unit has deployed. This tag ensures that the unit turns to face South-West and remains in its current cell before deploying into this structure. This is also used by the AI targeting systems when considering what to attack with a Nuke or Weather Storm.
+
|name={{PAGENAME}}
 +
|files={{Categ|Rules(md).ini}}
 +
|values=boolean
 +
|default=no
 +
|types={{Categ|BuildingTypes}}
 +
|ts=yes
 +
|fs=yes
 +
|ra2=yes
 +
|yr=yes
 +
}}
 +
 
 +
Enables special logic for undeployable buildings. Among several more minor things, buildings with this tag set to {{tt|yes}} can show the construction animation when a structure is placed, and support the MCV Redeploy feature. Also, the Center Base keyboard command searches for buildings with this tag enabled.
 +
 
 +
If the AI deploys a vehicle into a building with {{f|ConstructionYard|yes}}, base building and auto-production is enabled in non-campaign game modes.
 +
 
 +
If {{f|ConstructionYard|yes}}, structures distinguish between selling and undeploying, also respecting the MCV Redeploy setting. If {{f|ConstructionYard|no}}, structures will be converted into a unit even if sold. That is, instead of disappearing, the crew is ejected and the unit defined by {{f|UndeploysInto|link}} is placed also.
 +
 
 +
In {{ts}}, Vehicle Thieves can only steal buildings that are {{f|ConstructionYard|no}}. In {{ra2}} and {{yr}}, this tag is not checked; instead, the buildings foundation has to be 1x1.

Latest revision as of 04:28, 22 January 2016

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: ConstructionYard
File(s): Rules(md).ini
Values: boolean
Default: no
Applicable to: BuildingTypes


Enables special logic for undeployable buildings. Among several more minor things, buildings with this tag set to yes can show the construction animation when a structure is placed, and support the MCV Redeploy feature. Also, the Center Base keyboard command searches for buildings with this tag enabled.

If the AI deploys a vehicle into a building with ConstructionYard=yes, base building and auto-production is enabled in non-campaign game modes.

If ConstructionYard=yes, structures distinguish between selling and undeploying, also respecting the MCV Redeploy setting. If ConstructionYard=no, structures will be converted into a unit even if sold. That is, instead of disappearing, the crew is ejected and the unit defined by UndeploysInto is placed also.

In Tiberian Sun, Vehicle Thieves can only steal buildings that are ConstructionYard=no. In Red Alert 2 and Yuri's Revenge, this tag is not checked; instead, the buildings foundation has to be 1x1.