Skip to content

MaximumBaseDefenseValue

Caps each of the three defense values computed for a base defense BuildingType.

Specification
Applies to
global rules
File
rules.ini
Section
[AI]
Value
integer
When omitted
60

The cap is applied to the anti-air, anti-armor and anti-infantry value separately as each is computed from the type’s primary weapon. Because those values also weight the random draw between defense candidates, a cap low enough to saturate several types flattens the differences between them and leaves cost as the deciding term.

See alsoai-base-building