MaximumBaseDefenseValue
Flag: | MaximumBaseDefenseValue |
File(s): | rules(md).ini |
Values: | Unsigned integers: All non-negative whole numbers from 0 to either 32767, 2147483647 or 4294967295. |
Applicable to: | AI |
Specifies the highest allowed base defense value (BDV). The game calculates this value for each defense building based on parameters like weapon damage, rate-of-fire, anti-air capacity, as well as effectiveness against none and heavy armor types. This value is capped at MaximumBaseDefenseValue.
When the AI considers how many defenses it should build, between defenses of the same type (anti-ground [AG] or anti-air [AA]), it will favor those with higher BDV. However, the AI will try to keep the total defense pool balanced between types. In other words, if the BDV of AA defenses is lower than that of AG defenses, then the AI will compensate by building more of AA defenses, and vice versa.
Difficulty also affects AI base planning, with easy AI (AI on Difficult mode) generally being more defensive and hard AI (AI on Easy mode) focusing on offense.
In Yuri's Revenge, this flag is still parsed, but the logic related to it has been replaced with a different system.