Skip to content

BuildConst

Changed in 0.2.0

The construction yard BuildingTypes; a building of any listed type is a construction yard.

Specification
Applies to
global rules
File
rules.ini
Section
[AI]
Value
typelist
When omitted
(empty)

Structures of the listed types are a house’s construction yards for structure production and for every effect below. ConstructionYard=yes on an unlisted type gives only the behaviors that page lists.

A house can build structures only while it owns a listed yard that acts for a country in the structure’s Owner list, as Ownership describes. A listed yard also produces only for the country it acts as, and it keeps that country when captured, so a captured yard goes on building its original owner’s structures. MultiMCV=yes removes both restrictions.

A computer house starts structures from its base plan only while it owns a listed yard. The list also shapes a generated plan:

  • The plan starts with the first candidate, in [BuildingTypes] order, that the list names.
  • A Prerequisite naming a listed type always counts as met. This also holds when the house picks a base defense or an advanced power plant.
  • The planner never inserts a power plant ahead of a listed yard.

A vehicle whose DeploysInto names a listed type is an MCV to a computer house:

  • Outside a campaign game, a base-building computer house that owns no listed yard sends its MCVs on the hunt mission.
  • On the hunt mission, a computer house’s MCV drives to open ground and deploys there instead of attacking.
  • A base-building computer house’s MCV that is on guard tries to deploy where it stands. If the spot is refused, the MCV goes on the hunt mission outside a campaign game; in a campaign game it stays on guard and tries again.

The list also decides where the Center Base command goes, whether the player hears the low-power warning, which vehicles the computer values as MCVs when it aims an ion cannon, and where a house that passes to the computer centers its new plan.

See also — ai-base-building

History

  1. Changed0.2.0In development

    Count every listed construction yard as one