Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Tue Dec 11, 2018 5:54 am

All times are UTC

Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Mon Dec 09, 2013 10:16 am 
User avatar

Joined: Fri Jan 25, 2008 7:32 am
Posts: 962
Location: Gamle ├śrnenuten
Took me some work before I figured out how to do this, but when I finally got it last night, it wasnt as hard as I tought :)

I have no idea how many random names it can generate, but I have no problems with maps containing 2000+ cities.

The generator is divided into four groups wich it can choose from, so from my testing there seem to be a lot of good random names, atleast for us norwegians. I started this project mainly to see if I could figure out how to do it, and in the end I think the result is rather good, and for me, also pleasing.

As I'm considering also uploading this to Bananas, I have packed it in a .tar file together with (all?) necessary files. Just drop the .tar file in your newgrf folder and start the game.

Goto 'Game Options' -> 'Town Names' and choose 'Random norwegian'/'Tilfeldige norske' and start a game.

File comment: Gamle ├śrnenuten Bro celebrates
random.png [ 308.36 KiB | Viewed 2494 times ]
File comment: v1.00
Random Norwegian Town Names.tar [25.5 KiB]
Downloaded 97 times

..: Trond :.. because you deserve it! Image

The whole problem with the world is that fools and fanatics are always so certain of themselves,
and wiser people so full of doubts.
Bertrand Russell

MyGRFs: Norwegian Funny Town Names 4 | LOTR & WoW Town Names 2 | Islandic Town Names 1 | Random Norwegian Town Names
Favorites: GRFCrawler | ISR | WIKI | Now Playing: OpenTTD 1.3.2 w/YAPP 3.0-RC3.9ish
PostPosted: Tue Jan 21, 2014 5:04 pm 
Traffic Manager
Traffic Manager
User avatar

Joined: Wed Oct 30, 2013 1:57 pm
Posts: 199
Interesting, seems like you have got the hang of this type of name generation, are you up to helping me out getting the same for Brazilian names? There are only about 5500 existing Brazilian municipality (town) names, and additionally a few hundred historic names, many of which can be broken down to <prefix><name> or <name><suffix> or in some extreme cases <prefix><name><suffix> combinations.

OpenTTD Mac user

PostPosted: Tue Jan 21, 2014 6:51 pm 
OpenTTD Developer
OpenTTD Developer

Joined: Sun Sep 09, 2007 5:03 am
Posts: 4677
Location: home
see for a whole lot of random townname generation newgrfs. If you code it in NML, it's pretty much trivial.
Grab a few example sources from above, and read

Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000-2018 phpBB Limited

Copyright © Owen Rudge/The Transport Tycoon Forums 2001-2018.
Hosted by Zernebok Hosting.