Out of the Park Developments Online Manuals
 
Title
KeyExisting Key New Key
Create as
Find in this manual
Case sensitive

Replace with
The Nations File
The nations.txt file is a list of all the nations used in OOTP, located in the datadatabase directory in your OOTP installation directory. The version that comes with the game includes every nation in the world today. OOTP also has an in-game nation editor. Changes to nations.txt will affect every saved game that you create going forward after the change, while using the in-game nation editor only affects the currently loaded saved game.

The nations.txt is a comma-separated text file. If you're not familiar with those, see thisscreenabout comma-separated files. Nations.txt has 20 fields of information for each nation, as follows. When creating a custom nation, not all of the fields are required.

Field # Req'd Value Description Used in...
1 Yes Nation ID Unique identifier for the nation. This is a numeric ID, and must be unique. You cannot have two nations with the same Nation ID! Required, but not visible within the game
2 Yes Country Long Long description of the nation League Nation drop-down
3 Yes Country Short Short description of the nation  
4 Yes Country Abbreviation Abbreviation of the nation Nationality in lists such as the Roster screen.
5 Yes Nationality Adjective describing people from that country. Nationality select drop-downs and player/coach profile pages
6 No Region Region of the world. These are hard-coded in the database, in a six-continent model:
1 = Africa
2 = Asia
3 = Europe
4 = North America
5 = Oceania
6 = South America

Note: The region model is not intended to be 100% accurate. Many smaller nations are grouped in with the closest approximate match.
Displayed on the Explore World page, but not a factor in any in-game decisions.
7 Yes Baseball Level Approximate quality of baseball in the nation. There are 5 values:
1 = Nonexistent
2 = Poor
3 = Fair
4 = Good
5 = Excellent
Explore World page. This value is also used by the game when creating hidden players in the scouting engine. See the manualscreenon International Scouting for more information. Note that baseball level does not change over time in a league.
8 Yes Ethnicity/Name Set #1 A number between 0 and 39, representing a name set that should be used when generating names for players from this nation. Does not appear in game. Used only during player creation.
9 Yes Ethnicity/Name Set #1 % The % of players that will be generated using the name set in the previous line. Does not appear in game. Used only during player creation.
10-15 No Ethnicity/Name Sets #2 through #4 Fields 10-15 are three more sets of two fields each, just like fields 8 and 9. Each allows you to specify a name set and a %. This means for each nation, players can be generated from up to 4 name sets/ethnicities. Does not appear in game. Used only during player creation.
16-20 No Facial Types The five facial types determine the likelihood that a player from this nation will have a fictional face of a certain type. In order, they are: african,asian,caucasian,east_indian,hispanic Determining facial types for players from this nation.
Notes about Nations.txt
  • Spaces are not needed after commas. In fact, it is recommended not to use spaces.
  • Values that are marked as 'not required' can be left blank. However, you still must include a comma. So, for example, if you want the baseball level to be left blank, that part of the row might look like this:

    300,My Nation Name,MyNation,MYN,3,,0,100,
  • Ethnicity/Name sets define only the player's name, not their nationality. This allows for the possibility that you could have an American player named Julio Lopez, for example.


One-Row Example of Nations.txt
Let's look at an example of one line from nations.txt:

206,The United States,U.S.A.,USA,American,4,5,0,73,1,27,0,0,0,0,123,30,716,6,125

Here's what this line means in plain English:

  • The nation ID is 206
  • The long version of the nation's name is 'The United States.'
  • The short version of the nation's name is 'U.S.A.'
  • The abbreviation of the nation is 'USA'
  • The nationality, or adjective used to describe people from this nation, is 'American.'
  • The nation is on continent 4, North America.
  • The baseball level in the U.S.A. is 5, Excellent.
  • 73% of players from the U.S.A. will be named using name set 0. These are modern U.S. names, as described in the name set list.
  • 27% of the players from the U.S.A. will be named using name set 1. These are Hispanic names, as described in the name set list.
  • The third and fourth name sets will not be used for American players.
  • The likelihood of a player having an African face is 12.3%.
  • The likelihood of a player having an Asian face is 0.3%.
  • The likelihood of a player having a Caucasian face is 71.6%.
  • The likelihood of a player having an East Indian face is 0.06%.
  • The likelihood of a player having an Hispanic face is 12.5%.