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

BarracksLimit: Difference between revisions

From ModEnc
Jump to navigation Jump to search
No edit summary
 
Crimsonum (talk | contribs)
Un-DeeZire'd
 
Line 1: Line 1:
{{DeeZireInclusion}}<br />
{{Flag
This determines the maximum number of structures determined by the BuildBarracks= statement, regardless of the current ratio achieved or the size of the computer base. its worth noting that to make life trickier for players, setting this value to greater than 1 will mean the computer will also get a further bonus to build speed for Infantry Types as it has more than one of that Factory Type in its base.
|files={{Categ|ini=rules}}
|values={{Values|int}}
|types={{Categ|AI}}
|yr=yes
|ra2=yes
|ts=yes
|fs=yes
|ra=yes
|cs=yes
|am=yes
|tsobsolete=yes
}}
 
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 [[BuildingTypes|building types]] {{tt|PYLE}} and {{tt|HAND}} in {{td}} or {{tt|TENT}} and {{tt|BARR}} in {{ra}}.
 
== In {{ts}} To {{yr}} ==
Although parsed, this flag does nothing.

Latest revision as of 20:39, 3 April 2024

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: 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.