Jump to content

BarracksRatio

From ModEnc²
Revision as of 17:52, 5 May 2006 by en>DCoder
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: BarracksRatio
File(s): rules(md).ini
Values: ERROR – No value types set! Please edit this page and fix the Flag template!

This entry was copied from DeeZire's Red Alert 2 and Yuris Revenge INI Editing Guide for the sake of completeness. As it is not our intention to rip off DeeZire's work, this article is subject to a re-write and update with the latest community knowledge.

For further information, please read Inclusion of The Guide.




This ratio value is based on the number of buildings in the computer base that should be the structure defined in the BuildBarracks= 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.