Skip to content

MultiplayPassive

Changed in 0.2.0

Keeps the country's computer houses from building or choosing attacks and, in skirmish and multiplayer games, takes its houses out of the contest.

Specification
Applies to
HouseType
File
rules.ini
Section
[<ObjectType ID>]
Value
boolean
When omitted
no
rules.ini
[Neutral]
MultiplayPassive=true

In any kind of game, a computer-controlled house of a passive country never chooses attacks and never queues buildings, vehicles, infantry or aircraft. It raises teams from AI triggers only after its AI-trigger switch is turned on, for example by a map trigger action.

The structures of a passive country’s houses never pay ProduceCashAmount income, whoever controls the house.

In skirmish and multiplayer games, a passive house is treated as scenery, not as an opponent:

  • It is exempt from the defeat check that removes a player who has run out of objects, and its defeat is never announced.
  • It is not counted among the players still alive, and the test for whether every remaining player is allied skips it.
  • A computer house never picks it as the nearest enemy, but damage from its objects can still make it that house’s enemy.
  • No house can break an alliance with it or declare war on it.
  • Automatic target scans reject its objects unless the launch file sets AttackNeutralUnits=.
  • Its objects never collect crates and do not reveal the map.
  • Its structures are never marked for automatic repair.
  • The score screen and the starting-unit generator skip it.

An observer’s house is also left out of these counts, lists and scores, whatever its country.

Skirmish and multiplayer setup also sets WallOwner=no on the country of every passive house in the game and WallOwner=yes on every other house’s country. Map walls already have their owners by then, so this changes no wall’s owner. Setup then allies every house in the game with the house of the country named Special.

See also — Multiplay, WallOwner, Allies

History

  1. Changed0.2.0In development

    Keep a passive house dark when it allies with the player

  2. Changed0.2.0In development

    End a team skirmish when only allies remain