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

Max: Difference between revisions

From ModEnc
Jump to navigation Jump to search
E1 Elite (talk | contribs)
Created page with "In TeamTypes, Max value gives the maximum number of teams of this TeamType that could exist for the AI. Usual values are 1 or above. -1 means unlimited. TotalAITeamCap..."
 
Crimsonum (talk | contribs)
Fixed link to AI.ini flags.
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
In [[TeamTypes]], Max value gives the maximum number of teams of this TeamType that could exist for the AI. Usual values are 1 or above. -1 means unlimited. [[TotalAITeamCap]] puts the cap on the total number of teams that AI could have.
{{Flag
|name={{PAGENAME}}
|files={{Categ|ini=ai}}, {{Categ|maps}}
|values={{Values|int|-1 or higher}}
|types={{Categ|TeamTypes}}
|ts=yes
|fs=yes
|hp=yes
|ra2=yes
|yr=yes
|ares=yes
}}


[[Category:INI Flags]]
In [[TeamTypes]], Max value gives the maximum number of teams of this TeamType that could exist for the AI(s). Usual values are 1 or above. -1 means unlimited. Max value is checked only when teams are produced through [[AITriggerTypes|AITriggers]], it is not considered when teams are produced through map actions.
 
The game maintains the total count for a team even when that team has finished its script actions. When all the members of the team are either destroyed or recruited into other teams, then the total count for that team is decreased.
 
In multiplayer maps, the maximum limit is per AI [[house]]. In single player maps, it is based on the total count for that team on the map, those teams could have been produced by any house.

Latest revision as of 22:26, 5 September 2020

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: Max
File(s): ai(md).ini, maps
Values: Signed integers: All whole numbers from -2147483648 to 2147483647; in rare cases, only from -32768 to 32767. (Limited to: -1 or higher)
Applicable to: TeamTypes


In TeamTypes, Max value gives the maximum number of teams of this TeamType that could exist for the AI(s). Usual values are 1 or above. -1 means unlimited. Max value is checked only when teams are produced through AITriggers, it is not considered when teams are produced through map actions.

The game maintains the total count for a team even when that team has finished its script actions. When all the members of the team are either destroyed or recruited into other teams, then the total count for that team is decreased.

In multiplayer maps, the maximum limit is per AI house. In single player maps, it is based on the total count for that team on the map, those teams could have been produced by any house.