Skip to content

AIWallDefense

Added in 0.2.0
Specification
Applies to
Side
File
rules.ini
Section
[<ObjectType ID>]
Value
floating point
When omitted
ComputedThe first side takes GDIWallDefense as each rules file sets it; any other side uses 0.
rules.ini
[GDI]
AIWallDefense=6

Along its perimeter wall, a computer house playing for this side adds pairs of a wall tower and a base defense. This value is the fixed part of the limit on how many pairs it adds. Raising it lets a long wall carry more pairs.

The house adds one pair for every five wall cells it plans, rounded down. The limit is (3 - Difficulty) * AIWallDefenseCoefficient + AIWallDefense, also rounded down, where Difficulty is the house’s difficulty slot. A wall too short to reach the limit is unaffected by this key.

The house adds pairs only when the side’s AIWallTowers names a type its country may own.

History

  1. Added0.2.0In development

    Read base building from the side a house acts as