Jump to content

AIBuildCounts: Difference between revisions

From ModEnc²
en>Rey
Created page with "'''AIBuildCounts''' specifies how many building of this kind would be built by AI. Often used with '''Limit=x''' command. Through AIBuildCounts AI actually can override Limit=..."
 
m 3 revisions imported
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''AIBuildCounts''' specifies how many building of this kind would be built by AI. Often used with '''Limit=x''' command. Through AIBuildCounts AI actually can override Limit= and build more of a kind.
{{Flag
|name={{PAGENAME}}
|files={{Categ|Rules(md).ini}}
|values={{Values|unsigned integers}}
|default=1,1,1
|types=[[BuildingTypes]]
|ares=yes
}}


3 numbers correspond with difficulties:
'''AIBuildCounts''' specifies how many building of this kind would be built by AI. The 3 comma separated values correspond to difficulties:
AIBuildCounts=3,2,1  means Hard AI would build 3 bbuildings, Medium 2, Easy 1.
AIBuildCounts=3,2,1  means Hard AI would build 3 buildings, Medium 2 and Easy 1.
You're not forced to use  maximum numbers, better specify oprimal count and let AI have additional with help of  '''AIExtraCounts'''.
 
==See also==
* [[AIExtraCounts]]
* [http://ares-developers.github.io/Ares-docs/new/buildings/buildcount.html Ares documentation]

Latest revision as of 21:34, 31 March 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: AIBuildCounts
File(s): Rules(md).ini
Values: Unsigned integers: All non-negative whole numbers from 0 to either 32767, 2147483647 or 4294967295.
Default: 1,1,1
Applicable to: BuildingTypes


AIBuildCounts specifies how many building of this kind would be built by AI. The 3 comma separated values correspond to difficulties: AIBuildCounts=3,2,1 means Hard AI would build 3 buildings, Medium 2 and Easy 1.

See also