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

DefenseRatio: Difference between revisions

From ModEnc
Jump to navigation Jump to search
No edit summary
 
Crimsonum (talk | contribs)
Un-DeeZire'd
 
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 BuildDefense= and BuildDummy= statements. 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 elementary ground defenses (of the building types {{tt|GUN}} and {{tt|OBLI}} in {{td}} or {{tt|PBOX}}, {{tt|HBOX}}, {{tt|GUN}}, and {{tt|FTUR}} in {{ra}}).
 
== In {{ts}} To {{yr}} ==
Although parsed, this flag does nothing.

Latest revision as of 20:49, 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: DefenseRatio
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 DefenseRatio, 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 elementary ground defenses (of the building types GUN and OBLI in Tiberian Dawn or PBOX, HBOX, GUN, and FTUR in Red Alert).

In Tiberian Sun To Yuri's Revenge

Although parsed, this flag does nothing.