Page 1 of 1

Patch : Town growth based on passenger/mails/goods

Posted: 16 Apr 2008 21:38
by Gedemon
A small patch that slow down town growth if there aren't enough passengers, mails and goods transported relatively to it's size.

v0.2 :

- Use food and water ratio in arctic and tropical map.
- Show what is most needed in town's window
- v0.1 Fix : overflowing town with goods can no longer give a bonus.

link to win32 build
r12781_town_growth_need_goods_v0.2.patch
Town Growth v0.2 / r12781
(15.22 KiB) Downloaded 374 times
-------
v0.1 :

when activated, the patch use basic openttd growth, but it also checks 3 numbers :
1/ Maximum town size without goods
2/ Ratio of town's monthly max passenger/mail and the number of created passenger/mail in stations
3/ Ratio of town's monthly max passenger/mail and the number of goods transported to the town

the 2 and 3 are used as factor to slow down town growth. 2 is always checked, 3 only if maximum town size is reached.

available settings :
town growth based on passenger/mails/goods (ON/OFF)
max town size before needing goods to growth (1000-15000)
max slowdown factor (2-25)

I've also included a modified version of this patch by pheeror.

It shows the town growth rate (relative to original max value, without fund building activated) in town's windows.

Re: Patch : Town growth based on passenger/mails/goods

Posted: 16 Apr 2008 21:41
by Gedemon
screens

Re: Patch : Town growth based on passenger/mails/goods

Posted: 17 Apr 2008 03:43
by PouncingAnt
Nice to see some more patches related to enhancing the economic gameplay. I'm compiling now :)

Re: Patch : Town growth based on passenger/mails/goods

Posted: 17 Apr 2008 10:21
by prissi
Well, I tried something similar with cutting off. However, cutting off will happen automatically, since the generated number increases while transported number does not. (see http://www.tt-forums.net/viewtopic.php? ... own+growth with diagrams)

Re: Patch : Town growth based on passenger/mails/goods

Posted: 17 Apr 2008 16:50
by 8h
would you mind to submit your patch to Community Integrated Version?

Id like to try it out but am not able to compile it

Re: Patch : Town growth based on passenger/mails/goods

Posted: 17 Apr 2008 19:34
by Gedemon
prissi wrote:Well, I tried something similar with cutting off. However, cutting off will happen automatically, since the generated number increases while transported number does not. (see http://www.tt-forums.net/viewtopic.php? ... own+growth with diagrams)
yes, that a very similar patch. And I need diagrams too :mrgreen:

maybe I'll run some test games from a common save but different patch values...
8h wrote:would you mind to submit your patch to Community Integrated Version?

Id like to try it out but am not able to compile it
Here's a win32 binary to test.

I'll like to submit it to Community Integrated Version, but it may need a few tunning before. So go on, test it :wink:


edit : binary v0.2

Re: Patch : Town growth based on passenger/mails/goods

Posted: 17 Apr 2008 23:21
by PouncingAnt
I've been giving it some test playing. I really like how it works, but I still think population growth may be a bit too easy before the max pop. before goods needed limit.

I'll give it some more testing, maybe I'll change my mind, but either way, its a nice patch :)

Re: Patch : Town growth based on passenger/mails/goods

Posted: 18 Apr 2008 06:31
by Youri219
Very interesting patch. How does this affect food and water?

Re: Patch : Town growth based on passenger/mails/goods

Posted: 18 Apr 2008 18:28
by Gedemon
Youri219 wrote:Very interesting patch. How does this affect food and water?
ATM food and water are not affected by the patch.

if the patch is activated, you'll need goods and food/water (in artic/desert) for town growth, but only the amount of goods will influence town growth.

but I can make the patch to manage food and water in the same way, if you think that should be done. :)

Re: Patch : Town growth based on passenger/mails/goods

Posted: 19 Apr 2008 01:55
by Gedemon
v0.2 done, see first post. :D

now you can see what is needed for town growth in it's windows.