External Publication
Visit Post

Graphics Releases • [OTTD] Iowan Town Names for 2020, 1950, and 1900

Transport Tycoon Forums - Index page [Unofficial] March 21, 2026
Source

Psychopathic Cool and worthless awesome user (moi) creates a NewGRF that adds exclusively towns and cities from the great US state of Iowa into YOUR game of OpenTTD! Select by year for maximum immersion!

There are

  • 941 town names for 2020

  • 910 town names for 1950

  • 649 town names for 1900

The probability for each town name to appear is proportional to the population statistics of the state of Iowa, based on data from 2020. The formula used to calculate probability is:

Code:

min( ( math.floor( city / (highest population city + 1) * 100 ) + 1 ), 100)

This is done so that the most populous city has a score of 100, (Des Moines: 100) mid-pop cities have scores proportional to the largest, (Davenport: 48, Dubuque: 28, etc.) and the lowest population cities—which would otherwise have scores less than 1—have scores of at least 1. (Zwingle: 1)

Keep in mind, this doesn't mean that Des Moines will show up in 100% of your games, rather that it will appear 100/(the sum of all town name weights that I don't have the energy to calculate) times. Like if Des Moines had a weight of 100 but there were 100 other towns all with the weights of 1, then Des Moines would only show up 100/200 times. (This is according to: https://newgrf-specs.tt-wiki.net/wiki/N ... ames_parts) This is the biggest pitfall with using the 2020 population data for 1950 and 1900, as the larger cities have the same weights with up to a third less other cities to balance them out. Maybe I'll try to find accurate population information for all towns and cities in Iowa from 1950 and 1900 in the future, but, honestly, who's ever gonna notice, let alone use these to begin with?

Links GitLab: https://gitlab.com/mindeking-group/open ... town-names BaNaNaS: 2020, 1950, 1900.

[+] Spoiler (Please notice how the final 4 characters of the 2020 grfid are "1846", the year in which Iowa was accepted into the Union. I'm so funny and clever, aren't I.)

Credits / Thanks Information acquired from https://en.wikipedia.org/wiki/List_of_cities_in_Iowa. Bohaska's "US Census Town Names" was a huge help and influence. https://newgrf-specs.tt-wiki.net/wiki/StringCodes, https://newgrf-specs.tt-wiki.net/wiki/N ... uage_files, and https://cs.stanford.edu/people/miles/iso8859.html for providing information on how to format text and insert special characters into OpenTTD NewGRF descriptions.

Else If only you were allowed to consecutively build text keys, then I wouldn't have had to have done everything from a .py file. Well, at least it means I had to learn the basics of Python, so that's good, if nothing else. (Even if it means I now have a newfound hatred for curly brackets and backslashes, especially with regards to OpenTTD text formatting.)

Using up 3 whole slots in the Online Content browser for town name mods that nobody's going to use but me? Talk about being a waste of money, storage, and convenience on this community...

Statistics: Posted by MindeKing — 21 Mar 2026 23:33


Discussion in the ATmosphere

Loading comments...