Skip to content

ActsLike

Changed in 0.2.0

The country a campaign house builds and plans as.

Specification
Applies to
House (per-scenario)
File
map file
Section
[<House ID>]
Value
string
When omitted
ComputedThe house's own country, or no country at all for a [`MultiplayPassive=yes`](/keys/multiplaypassive/) country such as the stock `Neutral` and `Special`.

ActsLike makes a house build and plan as another country. Name the country by its section name, by its Name=, or by its position in the rules country list. <none> makes the house act for no country. A value that names no country leaves the default in place.

Only a campaign mission reads its house records, so this is a campaign setting. Outside a campaign, every house keeps the default.

scenario map file
[Special] ; a house record in the scenario's own house list
ActsLike=Nod ; ActsLike=1 names the same country in the stock rules

The country chosen here affects five things:

  • Computer base planning. The house plans and builds from the first entry that this country may own in each of these lists: power plants, barracks, factories, radars, tech centers, refineries, walls and gates (east-west and north-south). A replacement harvester is the first entry this country may own, or the list’s first entry when the country may own none. A base plan only includes structures whose Owner list names this country. The house also follows the base-building settings of this country’s side. A house that acts for no country plans no base.
  • Construction yards. Each object the house creates keeps its own copy of the country, and keeps it when captured. A construction yard builds only BuildingTypes whose Owner list includes the country in its copy, so a captured yard keeps building for the country that built it. MultiMCV=yes removes this restriction.
  • Unit crates. When one of the house’s objects collects a unit crate, a randomly chosen reward vehicle is drawn only from types this country may own.
  • Hunter-seekers. A hunter-seeker launched by the house is the HunterSeeker of this country’s side.
  • Side-restricted AI triggers. An AI trigger restricted to one side runs for the house only when this country belongs to that side.

History

  1. Changed0.2.0In development

    Let a house act for its own country

  2. Changed0.2.0In development

    Resolve every role list against the country a house acts as