Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Sat Mar 25, 2017 3:41 pm

All times are UTC




Post new topic  Reply to topic  [ 17 posts ] 
Author Message
PostPosted: Sat Mar 19, 2011 5:16 pm 
Offline
Traffic Manager
Traffic Manager
User avatar

Joined: Tue Feb 01, 2011 12:41 pm
Posts: 225
Success! I have taken NML to the next level, specifically using NML to generate random town names. What it does is it takes a list of bases (drawn from Alberta Town Names) and then randomly adds prefixes and suffixes to them. That means that even on the largest maps, you should never run out of names. For example, it is possible to get:
    Acme (just the base)
    Fort Acme (prefix)
    East Acme (another prefix)
    Acme Acres (suffix)
    Acme Place (another suffix)
    North Acme Falls (both a prefix and suffix) and many others...

Prefix and suffix probability are relatively low, so you shouldn't be overrun with particularly long names.

This is an example list (high number of towns, 512x256 map):
Image

Available here or on Bananas. Enjoy!

If you have a name that you think should be added, let me know. Alternately, if you get a name that doesn't make any sense (like the 'Lake Cold Lake' I got in testing...), let me know so I can fix it! (and yes, 'Acme' is a real town in Alberta)

To Use:
    1. Download MinchinWeb's Random Town Names through the game's online content system.
    2. Select the GRF (MinchinWeb's Random Town Names v1.1) in the NewGRF menu.
    3. Back on the game title screen, go to Game Options, and then under town names select MinchinWeb's Random I

P.S. Some of my favorite names that were generated in testing:
    Fort Minchinbury
    Drift Pile Lake
    Zama Ridge
    Old Thompsonford
    Princess Virginia Park
    Janvier Bay
    Unwin Mountain
    Vader Lake Outpost
    Zama Bend
    Ermineskin
    Nose River
    Iron Creek Estates
    St. Mary Springs
    Purple Lake

Edit (March 28, 2011): The source file below *should* actually contain my NML source now. The source is also available at https://code.google.com/p/openttd-noai-wmdot/source/browse/#svn%2Ftrunk%2FExtras%2FMinchin%20Town%20Names, which includes my Excel files that I used to generate this.


Attachments:
File comment: Version 1.1 [2011-03-21]
MinchinWebs_Random_Town_Names.1.1.grf [22.13 KiB]
Downloaded 209 times
File comment: Sample List
Minchinweb Random Names v1.png
Minchinweb Random Names v1.png [ 49.52 KiB | Viewed 8265 times ]
File comment: NML Source (really this time!)
MinchinWebs_Random_Town_Names.1.1-source.tar [73.5 KiB]
Downloaded 197 times

_________________
Alberta Town Names - 1500+ real names from 'Acme' to 'Zama City'
MinchinWeb's Random Town Name Generator - providing 2 million plus names...
WmDOT v13 - An AI that doubles as your highway department


Last edited by MinchinWeb on Mon Mar 28, 2011 7:23 am, edited 3 times in total.
Top
   
PostPosted: Sun Mar 20, 2011 12:23 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Tue Apr 24, 2007 9:37 am
Posts: 2839
Location: Straya
Awesome! This is what I needed, a GRF that generates completely random town names, not ones form a specific country! Although I did see a few familiar places in there, such as Innisfail, Collingwood, Lake Windermere, Campbelltown, Minchinbury... But it's great to have something less generic than the default town names, and less specific than "<insert country> Town Names" :D

Also other sets run out of names after a few hundred (claiming "there is no more space on the map") and your set successfully named 13000 towns on a 2048 * 8192 map.

EDIT: Here are a few errors: There are quite a few that are "Lake <something> Lake" and also a "High Heights"

_________________
--Stuff I made (or helped make)--
ImageImageImageImage

--My Award-Winning Screenshots and Videos--


Top
   
PostPosted: Mon Mar 21, 2011 6:03 pm 
Offline
Traffic Manager
Traffic Manager
User avatar

Joined: Tue Feb 01, 2011 12:41 pm
Posts: 225
Emperor Jake wrote:
EDIT: Here are a few errors: There are quite a few that are "Lake <something> Lake" and also a "High Heights"


I think I have these two fixed, let me know if it's otherwise. And I'm glad it's working for you! I did some back-of-the-envelope math and it should be able to generate 2 million plus names. :shock: I'm not sure why anyone would want to play on a map THAT big...

_________________
Alberta Town Names - 1500+ real names from 'Acme' to 'Zama City'
MinchinWeb's Random Town Name Generator - providing 2 million plus names...
WmDOT v13 - An AI that doubles as your highway department


Top
   
PostPosted: Wed Mar 23, 2011 3:26 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Mon Sep 28, 2009 5:15 pm
Posts: 5510
Location: Eastern KY
Very awesome! I kinda wanted to do something with United States town names, something unique yet fairly generic.

_________________
Do you like drones, quadcopters & flying toys? Check out Drone Strike Force!
Image

Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | RoadTypes?


Top
   
PostPosted: Thu Mar 24, 2011 10:00 am 
Offline
President
President
User avatar

Joined: Fri Oct 21, 2005 9:26 am
Posts: 949
Location: Birmingham, England
Do you have a simple text list of the town names, prefixes, suffixes that we could have a look at? Not needed as I've just found the .nml file. That's exactly what I was looking for...

I wrote a simple qbasic program to generate names for when I play Civ that uses the same sort of technique (I think)...taking a basic town name with a probability of using a prefix, suffix or concatenating a stub...
Names are predominantly British name parts.

For example, for my name generator

"Lizard" can only have a suffix, like Lizard Bay or Lizardstone
"Drysdale" can have prefix or suffix, like Chipping Drysdale or Drysdale Bourton

For Ottd, as names can be longer than the 15 characters available for Civ, it would be possible to have names with both a prefix and suffix.

"Pinski" could become Port Pinski Lodge.

Now I'm just going to try your grf....Pretty good...."Writing-on-Stone" was an interesting name.

Might be worth telling people to select the grf in the game options setting to get the grf to be used instead of the default town names. Took me 3 attempts to realise that I had to change something!


Top
   
PostPosted: Thu Mar 24, 2011 11:13 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Tue Apr 24, 2007 9:37 am
Posts: 2839
Location: Straya
3iff wrote:
Might be worth telling people to select the grf in the game options setting to get the grf to be used instead of the default town names. Took me 3 attempts to realise that I had to change something!


Hmmm, When I add it, the grf is activated automatically. What OpenTTD version are you using?

Anyway, I have taken a good look at the code, and I am working on an Australian style town names generator, which is based off your code, but will give me much-needed practise in NML. I only just realised how much better it is than NFO :shock:

_________________
--Stuff I made (or helped make)--
ImageImageImageImage

--My Award-Winning Screenshots and Videos--


Top
   
PostPosted: Thu Mar 24, 2011 11:20 am 
Offline
President
President
User avatar

Joined: Fri Oct 21, 2005 9:26 am
Posts: 949
Location: Birmingham, England
I'm using a slightly modified nightly 21514...a bit old perhaps. I did have an alternative name choice active (English additional) which may have overridden the new setting.

I've just been looking through the code and it's pretty extensive. Anyway, I've been impressed enough to download NML and see what I can come up with. I did briefly look at NFO but quickly gave up.


Top
   
PostPosted: Sun Mar 27, 2011 7:07 am 
Offline
OpenTTD Developer
OpenTTD Developer
User avatar

Joined: Wed Nov 07, 2007 10:44 pm
Posts: 9006
Location: Sol d
Best town name generator around, I'd say :-)
But, uhm... the tar as linked in the 1st posting does not contain the source, but the grf and the lang directory ;-)

_________________
Image
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML


Top
   
PostPosted: Mon Mar 28, 2011 7:26 am 
Offline
Traffic Manager
Traffic Manager
User avatar

Joined: Tue Feb 01, 2011 12:41 pm
Posts: 225
planetmaker wrote:
Best town name generator around, I'd say :-)

Thanks!

planetmaker wrote:
But, uhm... the tar as linked in the 1st posting does not contain the source, but the grf and the lang directory ;-)

Uhm yeah...tar's on a windows machine are a bit of a pain. I should have it fixed now.

_________________
Alberta Town Names - 1500+ real names from 'Acme' to 'Zama City'
MinchinWeb's Random Town Name Generator - providing 2 million plus names...
WmDOT v13 - An AI that doubles as your highway department


Top
   
PostPosted: Mon Mar 28, 2011 10:14 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Thu Jun 25, 2009 4:42 pm
Posts: 2362
Location: Location, Location
MinchinWeb wrote:
Uhm yeah...tar's on a windows machine are a bit of a pain. I should have it fixed now.


Try this ;) http://www.7-zip.org/

_________________
AroAI - A really feeble attempt at an AI

It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. --Edsger Dijkstra


Top
   
PostPosted: Fri Apr 08, 2011 12:02 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Mon Sep 28, 2009 5:15 pm
Posts: 5510
Location: Eastern KY
OK, maybe some of these names are a little TOO random:

St. William Lake Trailer Park
Rocky Mountain Horse
Big St. Brian Creek
Tuscany Avenue
University of Calgary
West The Palisades
:lol:

_________________
Do you like drones, quadcopters & flying toys? Check out Drone Strike Force!
Image

Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | RoadTypes?


Top
   
PostPosted: Fri Apr 08, 2011 3:59 pm 
Offline
Traffic Manager
Traffic Manager
User avatar

Joined: Tue Feb 01, 2011 12:41 pm
Posts: 225
kamnet wrote:
OK, maybe some of these names are a little TOO random:

St. William Lake Trailer Park
Rocky Mountain Horse
Big St. Brian Creek
Tuscany Avenue
University of Calgary
West The Palisades
:lol:


It's hard to beat real life for random :lol:
Rocky Mountain House is a real town in Alberta, and the University of Calgary is among the neighbourhoods in (surprise!) Calgary.

(and if it really is 'Rocky Mountain Horse and not House, let me know - that would be a typo that needs to be fixed)

The five part names are a little extreme, but should be rare. How big a map are you playing on?

_________________
Alberta Town Names - 1500+ real names from 'Acme' to 'Zama City'
MinchinWeb's Random Town Name Generator - providing 2 million plus names...
WmDOT v13 - An AI that doubles as your highway department


Top
   
PostPosted: Fri Apr 08, 2011 9:03 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Mon Sep 28, 2009 5:15 pm
Posts: 5510
Location: Eastern KY
It could have been horse or house, I didn't save the game. No complaints, just really unusual. This was on a 2048x2048 map. Most of the names are pretty good, though.

Only issue that I have with towns being named "Trailer Park" or "Trailer Court" is that we still don't have a released NewGRF for trailer/caravan parks. :-)

_________________
Do you like drones, quadcopters & flying toys? Check out Drone Strike Force!
Image

Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | RoadTypes?


Top
   
PostPosted: Wed Jul 11, 2012 12:25 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Fri Sep 16, 2005 12:23 pm
Posts: 1517
Skype: the_gremnon
Location: /home
I had to share my favourite randomly generated name yet : 'Head-Smashed-In'
Which promptly became the headquarters of the Head-Smashed-In Transport Co. Once I finally recovered from seeing that name.
Damn, I like these names.


Top
   
PostPosted: Thu Jul 12, 2012 8:58 pm 
Offline
Transport Coordinator
Transport Coordinator
User avatar

Joined: Tue Jul 31, 2007 12:58 am
Posts: 290
Location: North of 63
Head-Smashed-In is not random. It is a real location in Alberta Canada (albeit it is the english translation of the Blackfoot name).


Top
   
PostPosted: Thu Jul 19, 2012 7:01 pm 
Offline
Transport Coordinator
Transport Coordinator
User avatar

Joined: Thu Jul 19, 2012 6:04 pm
Posts: 325
Location: The Elizabeth Arkham Asylum for the Criminally Insane
Hi Sorry to bother.

One thing that I found "wrong" in a sense of more grammar, Is "little the orchards". sounds wrong. how difficult would it be to make the grf, chance a name like that to "the little orchards"?

_________________
Me
My Screenshots


Top
   
PostPosted: Thu Jul 19, 2012 8:52 pm 
Offline
Traffic Manager
Traffic Manager
User avatar

Joined: Tue Feb 01, 2011 12:41 pm
Posts: 225
Gremnon wrote:
I had to share my favourite randomly generated name yet : 'Head-Smashed-In'

Yup, it's a real place!
Attachment:
IMG_2757.JPG
IMG_2757.JPG [ 169.87 KiB | Viewed 5953 times ]

It even got featured on a U2 song cover:
Attachment:
U2_One.png
U2_One.png [ 92.41 KiB | Viewed 5953 times ]


te_lanus wrote:
Hi Sorry to bother.

One thing that I found "wrong" in a sense of more grammar, Is "little the orchards". sounds wrong. how difficult would it be to make the grf, chance a name like that to "the little orchards"?
No bother at all. "Little The Orchards" is rather strange. I'll fix it for the next release!

_________________
Alberta Town Names - 1500+ real names from 'Acme' to 'Zama City'
MinchinWeb's Random Town Name Generator - providing 2 million plus names...
WmDOT v13 - An AI that doubles as your highway department


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 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-2017 phpBB Limited

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