Skip to content

DefenseRatio

Parsed defensive share of a computer base that the engine never uses.

This setting has no runtime effect

The engine accepts and loads it, but no gameplay code uses the stored value.

Specification
Applies to
global rules
File
rules.ini
Section
[AI]
Value
floating point
When omitted
.5
Used by the game
No — loaded but not used

To change how many defenses a computer base plans, set AIBaseDefenseCoefficient in the house’s side section. It scales the defense placeholders added as the plan’s build cost grows. GDIBaseDefenseCoefficient and NodBaseDefenseCoefficient set that coefficient for the first and second sides.