Jump to content

AARatio: Difference between revisions

From ModEnc²
en>DCoder
No edit summary
 
m 4 revisions imported
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
{{Flag
This ratio value is based on the number of buildings in the computer base that should be the structure defined in the BuildAA= statement. The ratio total (i.e. the sum of all the Ratio= values in this section) should exceed 100% so that the base will always try to grow as it vainly attempts to achieve the specified percentage composition. Changing the ratio values allows a small degree of control over the AI's build order, as those with a higher ratio are more likely to be constructed.
|files={{Categ|ini=rules}}
|values={{Values|float}}
|types={{Categ|AI}}
|yr=yes
|ra2=yes
|ts=yes
|fs=yes
|ra=yes
|cs=yes
|am=yes
|tsobsolete=yes
}}
 
One of the computer controls that direct the makeup of a computer player's base. This specifies the percentage of a computer player's base, in terms of the number of [[BuildingTypes|buildings]], that should be composed of anti-air defenses (of the building type {{tt|SAM}} in {{td}} or {{tt|SAM}} and {{tt|AGUN}} in {{ra}}).
 
The AI will only actually build AA defenses once it detects that the enemy has air units, itself owns a radar (of the building type {{tt|HQ}} in TD or {{tt|DOME}} in RA), and has enough credits to spare.
 
== In {{ts}} To {{yr}} ==
Although parsed, this flag does nothing.

Latest revision as of 21:34, 31 March 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: AARatio
File(s): rules(md).ini
Values: Floating point values: Any decimal number (clearer range should be added in Template:Values).
Applicable to: AI

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



One of the computer controls that direct the makeup of a computer player's base. This specifies the percentage of a computer player's base, in terms of the number of buildings, that should be composed of anti-air defenses (of the building type SAM in Tiberian Dawn or SAM and AGUN in Red Alert).

The AI will only actually build AA defenses once it detects that the enemy has air units, itself owns a radar (of the building type HQ in TD or DOME in RA), and has enough credits to spare.

In Tiberian Sun To Yuri's Revenge

Although parsed, this flag does nothing.