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

Replace with
The Cities File
Cities.txt is a list of almost 90,000 real-world cities, including almost every city in the world with a population of greater than 1,000. It is located in the datadatabase directory in your OOTP installation directory. Just like nations.txt, the cities file is comma-separated. See About Comma-Separated Files for more information about comma-separated files. If you're using Microsoft Excel, pay special attention to this section.

Changes to cities.txt will affect every saved game that you create going forward after the change. There is not currently any way to modify cities for an existing saved game.

Cities.txt stores 6 pieces of data for each city, as follows. All fields in cities.txt are required:

Field #Req'dValueDescriptionUsed in...
1YesCity NameName of the cityPlayer origins, team locations
2YesPopulationPopulation of the cityDetermining likelihood of a teams and players being created in that city. Note that city populations do not change over time.
3YesNation IDNumeric ID for the city's nation. This corresponds to the nation ID in the nations.txt file. 
4YesRegion/StateName of the region or state in which the city is locatedPlayer origins, team locations
5YesCity LatitudeThe latitude of the cityUsed in contract negotiations, when a player is deciding whether the team offering a contract is close enough to the player's home.
6YesCity LongitudeThe longitude of the cityUsed in contract negotiations, when a player is deciding whether the team offering a contract is close enough to the player's home
One-Row Example of Cities.txt
Let's look at an example of a line from cities.txt:

Baltimore,610892,206,Maryland,39.3,-76.61

Here's what this line means in plain English:

  • The city name is "Baltimore."
  • The population of the city is 610,892.
  • The city is a part of nation 206, which is the United States, according to nations.txt.
  • The city is a part of the state Maryland.
  • The city is located at longitude 39.3, latitude -76.61.