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

Countries I

From ModEnc
Jump to navigation Jump to search
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: Countries I
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 section lists the countries that are available in the game, primarily for naming purposes. Each side has some basic controls on how they behave when controlled by the computer. Do not remove, override or reorder the 9 major countries for skirmish or LAN game maps. These need to go into the country types array first and without interruption by other types of countries, or you get Internal Errors, as the country numbering constitutes an internal table used for the AI and for tags in map files. There are 13 countries numbered 0 - 12 as follows;-

0=Americans
1=Alliance
2=French
3=Germans
4=British
5=Africans
6=Arabs
7=Confederation
8=Russians
9=GDI
10=Nod
11=Neutral
12=Special


In Yuri's Revenge, the list changes to 14 countries numbered 0 - 13;-

0=Americans
1=Alliance
2=French
3=Germans
4=British
5=Africans
6=Arabs
7=Confederation
8=Russians
9=YuriCountry
10=GDI
11=Nod
12=Neutral
13=Special


GDI= is the collective placeholder for 'Allied Countries' and Nod= is the collective placeholder for 'Soviet Countries'. It is not possible to 'truly' add new countries by extending this list as it forms an internal array - the numbering system is very strict as numbers 13 and upwards are used by the game code to refer to houses in multiplayer games (one of which may include an 'observer' if that has been allowed in the game at the expense of another human or AI player) and form the basis of events, actions and triggers. The game is also hard-coded to recognize the above countries and their corresponding numbers only. Each country listed here should also get its own section (for example [Americans] for the first entry in the above list) and here is a list of all statements which can be used in each countries' entry. In Yuri's Revene, this section gets extended by adding 9=YuriCountry to the table so that there are then 14 entries.