ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.


From ModEnc
Jump to: navigation, search
Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
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

Cc cnrdelete-all.png
Logic related to MaximumBaseDefenseValue, as a whole or in part, is obsolete in Yuri's Revenge.

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.