The International Simutrans Forum

 

Author Topic: Citygrowth dependent on bits_per_month  (Read 2159 times)

0 Members and 1 Guest are viewing this topic.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9438
  • Languages: De,EN,JP
Citygrowth dependent on bits_per_month
« on: April 11, 2014, 06:38:16 PM »
I propose to grow cities slower with higher bits_per_month setting. I.e. a city grows a randoim amount of per game year, not per real time. As more and more player play very long games, then city growth goes out of control very early on.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4564
  • Languages: EN, DE, AT
Re: Citygrowth dependent on bits_per_month
« Reply #1 on: April 11, 2014, 06:48:55 PM »
sounds good to me

Offline Sarlock

  • Devotee
  • *
  • Posts: 1340
  • Languages: EN
Re: Citygrowth dependent on bits_per_month
« Reply #2 on: April 11, 2014, 08:18:18 PM »
A wonderful idea, that would help a lot.

Offline An_dz

  • Web Admin
  • Administrator
  • *
  • Posts: 2839
  • D'oh
    • by An_dz
  • Languages: pt, en, it, (de)
Re: Citygrowth dependent on bits_per_month
« Reply #3 on: April 11, 2014, 10:54:20 PM »
Looks good to me.

Offline dree12

  • *
  • Posts: 5
  • Languages: EN, EO, FR, ZH
Re: Citygrowth dependent on bits_per_month
« Reply #4 on: April 12, 2014, 03:12:38 AM »
I thought this was already implemented?

http://forum.simutrans.com/index.php?topic=12298.msg121598#msg121598

Quote
This makes city growth proportional to months, not ticks.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9438
  • Languages: De,EN,JP
Re: Citygrowth dependent on bits_per_month
« Reply #5 on: April 12, 2014, 09:04:51 AM »
Hmm, you are right. Maybe I need to tweak some other values when playtesting pak64.japan. Anyway, there is a function for this which (for whatever reason) city growth did not use.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18502
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Citygrowth dependent on bits_per_month
« Reply #6 on: April 12, 2014, 02:05:53 PM »
Would it be better to make city growth proportional to existing city size?

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9438
  • Languages: De,EN,JP
Re: Citygrowth dependent on bits_per_month
« Reply #7 on: April 12, 2014, 02:45:09 PM »
That happens automatically, since radius is quadratic but growth is linear. Therefore citygrowth is faster for larger cities. (Well, three values only.)

EDIT: city growth was broken with the previous routines. It was even faster with higher bits per months. Not it is indeed four times slower ...
« Last Edit: April 13, 2014, 09:50:59 PM by prissi »