ConstructionYard: Difference between revisions
No edit summary |
mNo edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Flag | ||
|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. | |||
{{Bugs}} | |||
*If <b><font style ="color: black">"A"</font></b> <b><u>[[BuildingTypes]]</u></b> has <b><u><font style ="color: blue">ConstructionYard=yes</font></u></b> and <b><u>{{f|Factory|BuildingType|Link}}</u></b> when we purchase a building <b><font style ="color: black">"A"</font></b>. that Then press cancel purchase about 1-2 times, you will receive <b><u>[[Internal Error]]</u></b> |
Latest revision as of 12:56, 19 July 2024
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