ParentCountry: Difference between revisions
Appearance
m side |
No edit summary |
||
| Line 6: | Line 6: | ||
|yr=yes | |yr=yes | ||
}} | }} | ||
In a singleplayer (mission) map, new Countries can be defined for the purposes of map scripting, but newly added [[Countries]] in maps must specify which existing Country they mimic, and thus what [[ | In a singleplayer (mission) map, new Countries can be defined for the purposes of map scripting, but newly added [[Countries]] in maps must specify which existing Country they mimic, and thus what [[Sides|side]] they belong to. This will also determine which sidebar the country gets when played by a human, and which units are available to them. | ||
Set the value to one of the countries from the [Countries] list in [[Rules(MD).ini]]. | Set the value to one of the countries from the [Countries] list in [[Rules(MD).ini]]. | ||
Revision as of 04:37, 5 April 2025
|
|
|
|
|
|
| Flag: | ParentCountry |
| File(s): | Maps |
| Values: | Strings: Normal text. |
| Applicable to: | Countries |
In a singleplayer (mission) map, new Countries can be defined for the purposes of map scripting, but newly added Countries in maps must specify which existing Country they mimic, and thus what side they belong to. This will also determine which sidebar the country gets when played by a human, and which units are available to them.
Set the value to one of the countries from the [Countries] list in Rules(MD).ini.
Note
In RA2/YR specifically, singleplayer maps use Houses for such things as the Owner of pre-placed TechnoTypes like infantry or buildings, and therefore requires a new house be defined for each new country.





