Jump to content

AIAlternateProductionCreditCutoff: Difference between revisions

From ModEnc²
en>Testid123
mNo edit summary
More precise wording
 
(2 intermediate revisions by 2 users not shown)
Line 13: Line 13:
|rp=yes
|rp=yes
}}
}}
This flag denotes the credit amount at which the AI will stop recklessly spending money.
Specifies the credits threshold for the AI to start spending money more conservatively. When the AI has less money than this, it will alternate between constructing buildings and producing units instead of producing both at the same time like normal.
If you are editing the AI, a higher value here will result in your AI spending more conservatively.
 
In this alternate production mode, the AI prioritises building construction: If the AI is missing either an infantry or vehicle [[Factory|factory]], or has low [[power]], it will construct the necessary buildings first. If these conditions are satisfied, it will somewhat randomly alternate between producing buildings and units.
 
At any point, if the AI gains more money than this threshold, it will return to normal, unrestrained production.

Latest revision as of 16:35, 16 June 2025

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


Specifies the credits threshold for the AI to start spending money more conservatively. When the AI has less money than this, it will alternate between constructing buildings and producing units instead of producing both at the same time like normal.

In this alternate production mode, the AI prioritises building construction: If the AI is missing either an infantry or vehicle factory, or has low power, it will construct the necessary buildings first. If these conditions are satisfied, it will somewhat randomly alternate between producing buildings and units.

At any point, if the AI gains more money than this threshold, it will return to normal, unrestrained production.