Jump to content

BarracksLimit

From ModEnc²
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: BarracksLimit
File(s): rules(md).ini
Values: Signed integers: All whole numbers from -2147483648 to 2147483647; in rare cases, only from -32768 to 32767.
Applicable to: AI

Logic related to BarracksLimit, as a whole or in part, is obsolete in Tiberian Sun, Red Alert 2 and/or Yuri's Revenge.



Specifies the maximum number of barracks a computer player is allowed to have in its base at a time. Once this limit is reached, the computer won't build new barracks structures, only replace lost ones.

As for what counts as a barracks, the computer is hardcoded to check for building types PYLE and HAND in Tiberian Dawn or TENT and BARR in Red Alert.

In Tiberian Sun To Yuri's Revenge

Although parsed, this flag does nothing.