The International Simutrans Forum

Development => Extension Requests => Topic started by: prissi on April 11, 2014, 06:38:16 PM

Title: Citygrowth dependent on bits_per_month
Post by: prissi 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.
Title: Re: Citygrowth dependent on bits_per_month
Post by: Dwachs on April 11, 2014, 06:48:55 PM
sounds good to me
Title: Re: Citygrowth dependent on bits_per_month
Post by: Sarlock on April 11, 2014, 08:18:18 PM
A wonderful idea, that would help a lot.
Title: Re: Citygrowth dependent on bits_per_month
Post by: An_dz on April 11, 2014, 10:54:20 PM
Looks good to me.
Title: Re: Citygrowth dependent on bits_per_month
Post by: dree12 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.
Title: Re: Citygrowth dependent on bits_per_month
Post by: prissi 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.
Title: Re: Citygrowth dependent on bits_per_month
Post by: jamespetts on April 12, 2014, 02:05:53 PM
Would it be better to make city growth proportional to existing city size?
Title: Re: Citygrowth dependent on bits_per_month
Post by: prissi 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 ...