ConstructionYard
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.
Bugs/Side-Effects/Unexpected Limitations
- If "A" BuildingTypes has ConstructionYard=yes and Factory=BuildingType when we purchase a building "A". that Then press cancel purchase about 1-2 times, you will receive Internal Error