View Single Post
Old 10-28-2018, 10:40 PM   #2
kq76
Global Moderator
 
kq76's Avatar
 
Join Date: Nov 2002
Location: Vancouver, Canada
Posts: 10,703
Well, comparing an old 14 file of mine to my current one I notice that ethnicities are now included in the file while languages are not.

Here, just compare yours to my truncated file:

Quote:
<?xml version="1.0" encoding="UTF-8"?>

<!--
OOTP loads this file whenever the user creates a new game. You can edit this file as long as you watch the syntax. Please read the online manual section about customizing the world XML file.
NATION tokens:
use_hardcoded_ml_player_origins - either 1 (=yes) or 0 (=no). If missing, the value will be set to 0. By default it's 1 for the USA nation record in the XML file. Just disable it (set it to 0) or delete it and OOTP will not use the hard coded player distribution for that nation anymore.
this_is_modern_usa - either 1 (=yes) or 0 (=no). If missing, the value will be set to 0. By default it's 1 for the USA nation record in the XML file. There should always be at least one nation with this flag enabled because OOTP needs it as the nation for pre-defined leagues, like NL or AL.

When OOTP creates fictional players for modern US major leagues, it will need to find the following nations by name: Dominican Republic, Venezuela, Puerto Rico, Mexico, Canada, Cuba, Japan, Panama, Australia, South Korea, Germany, Aruba, England, The Netherlands, Italy, Spain, Taiwan. So you should not change the names for these nations if you want to simulate realistic major leagues!
-->

<WORLD id="1" name="default" version="2" timestamp="OOTP Developments 2018-08-13 16:43:49">
<ETHNICITIES>
<ETHNICITY id="0" name="U.S. (Modern)" african="0" asian="0" east_indian="0" caucasian="1000" hispanic="0" />
</ETHNICITIES>
<CONTINENTS>
<CONTINENT id="1" name="Europe" pop="371510909" etid="20" abbr="EUR" dem="European">
<NATIONS>
<NATION id="1" use_hardcoded_ml_player_origins="1" this_is_the_usa="1" name="United Empire" pop="371510909" etid="20" capid="1" gender="0" bbqual="5" abbr="UE" dem="Imperian" time_zone="0" observes_dst="1">
<ETHN_PCTS>
<ETHN_PCT etid="20" pct="80" />
<ETHN_PCT etid="16" pct="10" />
<ETHN_PCT etid="18" pct="10" />
</ETHN_PCTS>
<STATES>
<STATE id="1051" name="England" pop="371510909" abbr="ENG">
<CITIES>
<CITY id="1" name="London" pop="12671980" lat="41.8854" long="17.87895" abbr="LNDN"/>
</CITIES>
</STATE>
</STATES>
<CAPITAL id="1" />
</NATION>
</NATIONS>
</CONTINENT>
</CONTINENTS>
<REGIONS>
</REGIONS>
</WORLD>

Last edited by kq76; 10-28-2018 at 10:42 PM.
kq76 is offline   Reply With Quote