Skip to content

AIWallDefenseCoefficient

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

The part of the limit on wall tower and defense pairs that grows with the game’s difficulty. A computer house playing for this side adds at most (3 - Difficulty) * AIWallDefenseCoefficient + AIWallDefense pairs along its perimeter wall, rounded down. The house adds pairs only when the side’s AIWallTowers names a type its country may own.

Difficulty is the house’s difficulty slot. On a Hard game the computer normally holds slot 0, so this value counts three times; on Easy it counts once. The limit matters only for a wall long enough to want more pairs, at one pair per five wall cells.

History

  1. Added0.2.0In development

    Read base building from the side a house acts as