Author Topic: Cities never get larger than one city hall  (Read 3311 times)

0 Members and 1 Guest are viewing this topic.

Offline Max-Max

Cities never get larger than one city hall
« on: October 13, 2013, 02:51:30 AM »
Beside the ground tiles etc..
I have one road object, one tow object, one res object and one com object. When I generate a map all towns never get larger than one town hall. The roads works fine and connects them, but no res or com objects are added to the towns.

If I select "found new town" in the special menu, I get a larger town with all my buildings.
Why doesn't it generate larger towns at map generation?

I have obviously set something wrong or something is missing.
I use the cityrule.tab from the PAK128 pak-set and all my buildings are of level 1 and introduction year 1900 until 2990.
- My code doesn't have bugs. It develops random features...

Offline Max-Max

Re: Cities never get larger than one city hall
« Reply #1 on: October 15, 2013, 12:59:13 AM »
Hmm, is it so that no one knows how cities are generated? What is needed as minimum to actually generate a "city"?
- My code doesn't have bugs. It develops random features...

Offline sdog

Re: Cities never get larger than one city hall
« Reply #2 on: October 15, 2013, 02:37:38 AM »
try again with much larger median population. The first buildings are only built after a certain threshold. Before all the population 'lives in the city hall'.

Offline Fabio

  • Devotee
  • Administrator
  • *
  • Posts: 2898
  • Total likes: 6
  • Helpful: 91
  • The Pak128 Guy
    • Visit me on Facebook
  • Languages: EN, IT, RO, FR
Re: Cities never get larger than one city hall
« Reply #3 on: October 15, 2013, 07:27:21 AM »
Also you can't have the same building twice side-to-side.
You should have at least 2-3 buildings for each type.

Offline Markohs

  • DevTeam, Coder/patcher
  • Devotee
  • *
  • Posts: 1560
  • Total likes: 2
  • Helpful: 86
  • Languages: EN,ES,CAT
Re: Cities never get larger than one city hall
« Reply #4 on: October 15, 2013, 08:01:55 AM »
I allways generate my maps with 1 citizen per city, I like to see them grow. It just takes lots of time, and bringing lots of passengers, before they start expanding, and very slowly.

Offline Max-Max

Re: Cities never get larger than one city hall
« Reply #5 on: October 15, 2013, 02:44:43 PM »
- Larger population doesn't help. I have tried from 1500 up to 10 000.
- More buildings doesn't help.
- Super flat terrain doesn't help

I some times get ONE city larger than one city hall...
The opening map (shown behind the banner) is never larger than one city hall.

There must be something fundamental wrong here... I came to think of one thing. I only have one road type defined and if I have more, how does Simutrans know which one is the "city" road?

*** EDIT
I made one interesting observation...
 - I copied the city hall images and .dat file from PAK128, then suddenly a road network was generated for each town (still not more buildings).
 - I removed all city hall configurations but one in the .dat file, still same result, a city road network.
 - BUT, when I changed the city hall size from dim=2,2 to dim=1,1 No city roads where generated.

So to make a city grow, the city hall must be minimum 2,2?!? I guess this "feature" is in the cityrules.tab file or?!?
« Last Edit: October 15, 2013, 03:52:29 PM by Max-Max »
- My code doesn't have bugs. It develops random features...

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 4679
  • Total likes: 170
  • Helpful: 108
  • Languages: EN, NO
Re: Cities never get larger than one city hall
« Reply #6 on: October 15, 2013, 03:55:32 PM »
pak64 starts out with a 1x1 town hall, then changes to 2x2 once the town has grown a little (which sometimes causes the town hall to relocate), so it shouldn't be the size on its own that's the problem.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 8752
  • Total likes: 305
  • Helpful: 229
  • Languages: De,EN,JP
Re: Cities never get larger than one city hall
« Reply #7 on: October 15, 2013, 03:57:58 PM »
If there are no road connections built (intercity roads 0) and there is a 1x1 townhall, then this will only generate a single road tile which might or may not allow for additional buidings or roads (according to the cityrules). pak64 builds churches early on, so this may help road building. Or it is in th ecityrules.tab.

Offline Max-Max

Re: Cities never get larger than one city hall
« Reply #8 on: October 15, 2013, 05:03:14 PM »
Thank you Prissi (and anyone else that helped out), I copied the PAK64 cityrules.tab and now all cities was generated...
So the conclusion is that the "problem" was in the rules of how roads where build (no roads = no houses)...
- My code doesn't have bugs. It develops random features...

Offline An_dz

  • Web Admin
  • Administrator
  • *
  • Posts: 2593
  • Total likes: 289
  • Helpful: 89
  • D'oh
    • by An_dz
  • Languages: PT, EN, (it, de)
Re: Cities never get larger than one city hall
« Reply #9 on: October 15, 2013, 11:03:47 PM »
Thanks for the conclusion, I should check the 96comic rules since I'm having similar behaviour.