News:

Simutrans Wiki Manual
The official on-line manual for Simutrans. Read and contribute.

[11.16] When setting up a map, city clusters has limits. intended?

Started by ӔO, January 23, 2014, 10:10:49 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ӔO

I recently figured out that city distribution works better with many smaller clusters, 2-3, as this allows room for cities to grow and also allows the cities to be distributed more evenly across the map.

However, there seems to be a hard limit of 1 cluster for every 4 cities.

also, is it really necessary that both 'number of city clusters' and 'city cluster size' have editable fields?
shouldn't one influence the number in the other?
My Sketchup open project sources
various projects rolled up: http://dl.dropbox.com/u/17111233/Roll_up.rar

Colour safe chart:

inkelyad

Some of us don't like 'cities to be distributed more evenly across the map'.
I prefer opposite - big map, 3 or 4 city clusters (metropolitan areas, not one city) and big empry space between them.

EDIT:
If you are curious and want to see how city placement works, do:

1) Add
SOURCES += utils/dbg_weightmap.cc
in appropriate place in Makefile

2) replace
CFLAGS   += -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align $(FLAGS)
with
CFLAGS   += -DDEBUG_WEIGHTMAPS  -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align $(FLAGS)

recompile, install.

After this, city placement code will be generating debug *.pgm files. Any descent image viewer should be able to display them.

MCollett

Quote from: ӔO on January 23, 2014, 10:10:49 PM
I recently figured out that city distribution works better with many smaller clusters, 2-3, as this allows room for cities to grow and also allows the cities to be distributed more evenly across the map.
In that case, why bother with clusters at all? I usually just turn the clustering off (0 clusters), which makes the towns evenly (randomly) distributed.

Quote
is it really necessary that both 'number of city clusters' and 'city cluster size' have editable fields?
Just in case you are confused by the terminology, as I was to begin with: 'cluster size' is the extent of one cluster on the map, not the number of cities in the cluster.
They are not directly connected, although it is probably true that the more clusters you have on a map of a given size, the smaller you want them.  The smaller the cluster size, the tighter the clusters and conversely the more empty space there is between them.

Best wishes,
Matthew