Map generation - less towns than set

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Post Reply
maedde999
Engineer
Engineer
Posts: 5
Joined: 24 Oct 2017 21:12

Map generation - less towns than set

Post by maedde999 »

hello all :)

first sorry for my bad english..,
I‘m a newer openttd player and I love it! so far I made mostly industry networks, now I want to make a passenger network and therefore want to create a map with a lot of towns. So i create map and set number of towns to „high“. However, there are only 120-130 towns on the map.. I saw a lot of youtube videos with a lot more towns on the map.., and even if I set manually a number for the towns to „5000“ it only has about 130 towns on the map.

what am I missing? or is this just normal..?

thank you a lot!

edit: typo
User avatar
Leanden
Tycoon
Tycoon
Posts: 2613
Joined: 19 Mar 2009 19:25
Location: Kent

Re: Map generation - less towns than set

Post by Leanden »

How big is the map you are playing on?

Regardless of how high you set the number of towns. Map generation is still limited by minimum distance between towns making space a limiting factor on town quantity.
Image
maedde999
Engineer
Engineer
Posts: 5
Joined: 24 Oct 2017 21:12

Re: Map generation - less towns than set

Post by maedde999 »

Leanden wrote:How big is the map you are playing on?

Regardless of how high you set the number of towns. Map generation is still limited by minimum distance between towns making space a limiting factor on town quantity.
small, 512x512

what confuses me is that it doesn‘t make any difference between „high“ and manual set „5000“. there are not more than 120-230 towns
Alberth
OpenTTD Developer
OpenTTD Developer
Posts: 4763
Joined: 09 Sep 2007 05:03
Location: home

Re: Map generation - less towns than set

Post by Alberth »

Scenario editor would work, I think (never tried it though).

Don't underestimate the additional space that gets eaten by towns due to their natural growth. Also, you can 'guide' that somewhat by making roads for towns to expand along.
Being a retired OpenTTD developer does not mean I know what I am doing.
maedde999
Engineer
Engineer
Posts: 5
Joined: 24 Oct 2017 21:12

Re: Map generation - less towns than set

Post by maedde999 »

Alberth wrote:Scenario editor would work, I think (never tried it though).

Don't underestimate the additional space that gets eaten by towns due to their natural growth. Also, you can 'guide' that somewhat by making roads for towns to expand along.

ok, thanks.., so 128 towns per map is the maximum in the „normal“ map generation?
User avatar
Leanden
Tycoon
Tycoon
Posts: 2613
Joined: 19 Mar 2009 19:25
Location: Kent

Re: Map generation - less towns than set

Post by Leanden »

maedde999 wrote:
Alberth wrote:Scenario editor would work, I think (never tried it though).

Don't underestimate the additional space that gets eaten by towns due to their natural growth. Also, you can 'guide' that somewhat by making roads for towns to expand along.

ok, thanks.., so 128 towns per map is the maximum in the „normal“ map generation?
Not exactly. Lots of factors in map generation dictate the number of towns. Aside from map size and town density, sea level and terrain roughness also play a part.

A flat 512x512 with no water will have more towns than a mountanous map with high sea level.
Image
maedde999
Engineer
Engineer
Posts: 5
Joined: 24 Oct 2017 21:12

Re: Map generation - less towns than set

Post by maedde999 »

Leanden wrote:
maedde999 wrote:
Alberth wrote:Scenario editor would work, I think (never tried it though).

Don't underestimate the additional space that gets eaten by towns due to their natural growth. Also, you can 'guide' that somewhat by making roads for towns to expand along.

ok, thanks.., so 128 towns per map is the maximum in the „normal“ map generation?
Not exactly. Lots of factors in map generation dictate the number of towns. Aside from map size and town density, sea level and terrain roughness also play a part.

A flat 512x512 with no water will have more towns than a mountanous map with high sea level.
ok, thank you a lot..! I play around with the settings more tonight..
I‘m inspired by the youtube series „an empire from scratch“. also a 512x512map but faar more towns than on my map. ;)
Alberth
OpenTTD Developer
OpenTTD Developer
Posts: 4763
Joined: 09 Sep 2007 05:03
Location: home

Re: Map generation - less towns than set

Post by Alberth »

I never bother about cities, but it's easy to get the entire map filled with houses as far as I know.
Just layout a 2x2 or 3x3 grid road network, and wait a few decades.

From what I have seen in the screenshot topic, a strategy is to first setup stations, then add the roads, then let time do its job :)
Being a retired OpenTTD developer does not mean I know what I am doing.
maedde999
Engineer
Engineer
Posts: 5
Joined: 24 Oct 2017 21:12

Re: Map generation - less towns than set

Post by maedde999 »

Alberth wrote:I never bother about cities, but it's easy to get the entire map filled with houses as far as I know.
Just layout a 2x2 or 3x3 grid road network, and wait a few decades.

From what I have seen in the screenshot topic, a strategy is to first setup stations, then add the roads, then let time do its job :)
yeah that is clear ;) I just wanna understand why I get so much less towns (the number of towns) than I should regarding to so many youtube vids and tutorials that I‘ve seen. I always got around 128 towns per map and for what I plan to do in my next play I just wanted to have much more single, small towns than like 128.. ;) mainly I just wanna understand it
Alberth
OpenTTD Developer
OpenTTD Developer
Posts: 4763
Joined: 09 Sep 2007 05:03
Location: home

Re: Map generation - less towns than set

Post by Alberth »

Let's see, 512x512 / 128 = 2^18 / 2^7 = 2^11 = 2^5 x 2^6 = 32x64 tiles for each town, and then you don't have room for any water, any tracks, or any industries.
As a generic setting for all types of play, it looks quite reasonable to me for 100 year city growth where you don't get stuck completely by expanding towns in 50 or so years.

There is one other possible reason not mentioned yet here so far, I think, which is using a NewGRF for town names. Some such NewGRFs have a limited number of unique names, and since OpenTTD doesn't generate towns with duplicate names, that would also limit the number of towns you can have.
The default name generators have enough names to avoid this limit.


I don't look much for OpenTTD youtube movies, as they don't tell me much new, and if they do, they take too long :p
Are you sure they just generated a random map, and not have something prepared beforehand?
It seems reasonable to assume that when you intend to show some feature in a video, you prepare for it, which thus might also mean they prepare a map beforehand, which doesn't limit them to the random map generator.
Being a retired OpenTTD developer does not mean I know what I am doing.
cmhbob
Engineer
Engineer
Posts: 66
Joined: 29 May 2010 06:06
Contact:

Re: Map generation - less towns than set

Post by cmhbob »

In Settings > World generation there's a setting for Minimum Distance between Towns. If that's set too high on a small map, the game won't have enough space to place towns. Default setting is 20.
--
Bob
The wrinkles only go where the smiles have been...
Me, elsewhere
Eddi
Tycoon
Tycoon
Posts: 8258
Joined: 17 Jan 2007 00:14

Re: Map generation - less towns than set

Post by Eddi »

number of towns generated is also limited by the town name generator, not just space on the map.
User avatar
PaulC
Director
Director
Posts: 616
Joined: 31 Jul 2006 12:40
Location: Lancs, England
Contact:

Re: Map generation - less towns than set

Post by PaulC »

Alberth wrote:The default name generators have enough names to avoid this limit.
Not quite true, some of the default town name sets are quite limited. By my reckoning:

French = 68 max
Latin-American = 85 max
Romanian = 94 max
Slovak = 85 max
Swiss = 123 max

The rest all seem to generate considerably more, though.
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: Google Adsense [Bot] and 6 guests