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

Difference between revisions of "AARatio"

From ModEnc
Jump to: navigation, search
m (Replacing Template:TTL with Template:F.)
(Corrected.)
 
Line 1: Line 1:
 
{{Flag
 
{{Flag
|name={{PAGENAME}}
 
 
|files={{Categ|ini=rules}}
 
|files={{Categ|ini=rules}}
|types={{Categ|General}}
+
|values={{Values|float}}
|values={{values|float}}
+
|types={{Categ|AI}}
 +
|yr=yes
 +
|ra2=yes
 
|ts=yes
 
|ts=yes
 
|fs=yes
 
|fs=yes
|ets=yes
+
|ra=yes
|ra2=yes
+
|cs=yes
|yr=yes
+
|am=yes
|rp=yes
+
|tsobsolete=yes
}}<br />
+
}}
 +
 
 +
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}}).
  
This ratio determines what proportion of the computer player's base should be composed of structures defined in {{f|BuildAA|link}}. The number of structures constructed based on this ratio should never exceed the amount in {{f|AALimit|link}}.
+
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.
  
All ratio values should exceed 100% in total, so that the computer's base will actually grow. In changing the ratios, you should note that those categories with a higher ratio value are more likely to be built by the computer.
+
== In {{ts}} To {{yr}} ==
 +
Although parsed, this flag does nothing.

Latest revision as of 23:05, 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: AARatio
File(s): rules(md).ini
Values: Floating point values: Any decimal number (clearer range should be added in Template:Values).
Applicable to: AI

Cc cnrdelete-all.pngLogic 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.