Why are certain towns in my game refusing to grow?
Moderator: OpenTTD Developers
Why are certain towns in my game refusing to grow?
A couple of towns on my map just aren't growing, even though they are well-served they have not gained any new buildings since the 19th century. Clearest examples are Moningdore on the south-east coast, and Feabourne in the southern corner. Also maybe Meberg, part of the big metropolis on the south-east coast, although that must have grown at some point as it's well past its starting population.
I'm using the "Villages is Villages" gamescript which sets a maximum population for towns, which can be increased by delivering town cargos, and also prevents growth until a certain percentage of PAX are transported. But these towns fulfill all the requirements for growth.
Can anyone point out what I'm missing? And if you can't find the problem, feel free to look at my savegame cos it's absurd
Let me know any NewGRF files that are unavailable.
Edit: attachments below. Bizarely, one of the towns has just decided to grow after I messed around with the tram routes (I funded growth only after it decided to start growing, to speed it up; normally, funding growth makes no difference).
- Attachments
-
- Pilkington & Co., 14th Aug 2078.png
- (omg one of the towns just grew, wtf?)
- (333.9 KiB) Not downloaded yet
-
- Pilkington & Co., 2nd Aug 2078.png
- Medingbury, dwarfed by its neighbouring metropolis
- (609.37 KiB) Not downloaded yet
Re: Why are certain towns in my game refusing to grow?
Two further images. I had thought that perhaps there were no stations close enough to the central tile, but I put a station right by the centre of Meningdore for years and that town only just started growing. Anyway, this didn't explain Meberg's failure to grow past 5000.
(Edit: for further explanation of the sequence of events that led to Meningdore starting to grow: as seen in the savegame, it wasn't growing. I then rearranged the tram services to connect it to the neighbouring city by tram, but inadvertendly forgot to add a stop at the Meningdore Central station, right by the town centre. When I restored service to that stop, the town grew.)
(Edit: for further explanation of the sequence of events that led to Meningdore starting to grow: as seen in the savegame, it wasn't growing. I then rearranged the tram services to connect it to the neighbouring city by tram, but inadvertendly forgot to add a stop at the Meningdore Central station, right by the town centre. When I restored service to that stop, the town grew.)
- Attachments
-
- Pilkington & Co., 15th Jun 2078#1.png
- Meberg, dwarfed by neighbours
- (636.2 KiB) Not downloaded yet
-
- Pilkington & Co., 15th Jun 2078.png
- Lonely Feabourne: plenty of space to grow, but nothing happening.
- (424.02 KiB) Not downloaded yet
Re: Why are certain towns in my game refusing to grow?
To keep a record of things for anyone looking, I've also raised the issue with the gamescript creator at viewtopic.php?p=1244066#p1244066
And on reddit: https://www.reddit.com/r/openttd/commen ... wn_in_200/
And on JGR's thread viewtopic.php?f=33&p=1244076#p1244076
And on reddit: https://www.reddit.com/r/openttd/commen ... wn_in_200/
And on JGR's thread viewtopic.php?f=33&p=1244076#p1244076
-
- Traffic Manager
- Posts: 159
- Joined: 26 May 2020 18:33
Re: Why are certain towns in my game refusing to grow?
did you by any chance use the highway roads? houses can not built near them. if that is not the case they are likely out of space in some cases. it could also be a bug in the script.
Re: Why are certain towns in my game refusing to grow?
I created this game before NRT.
Re: Why are certain towns in my game refusing to grow?
Hello
Tschö, Auge
I would like to take a look into your savegame but I can't find one of the NewGRFs. It's "Ratings".
Tschö, Auge
Re: Why are certain towns in my game refusing to grow?
Ah, here you go. Thanks for the interest.
- Attachments
-
- Ratings1.0.tar
- (18 KiB) Downloaded 73 times
Re: Why are certain towns in my game refusing to grow?
It looks to me like the script is broken.
The script save/load and init process are both incomplete. In the script, class town -> last_growth_state is never correctly initialised or saved/loaded.
If the game is ever saved/loaded, or if the script is reloaded, the script can subsequently fail to ever set the growth rate if the desired growth rate is the same the same as the default value, and this does not match the actual value.
The script save/load and init process are both incomplete. In the script, class town -> last_growth_state is never correctly initialised or saved/loaded.
If the game is ever saved/loaded, or if the script is reloaded, the script can subsequently fail to ever set the growth rate if the desired growth rate is the same the same as the default value, and this does not match the actual value.
Ex TTDPatch Coder
Patch Pack, Github
Patch Pack, Github
Re: Why are certain towns in my game refusing to grow?
Thank you so much.
-
- Transport Coordinator
- Posts: 318
- Joined: 22 May 2006 18:25
- Location: London-ish.
- Contact:
Re: Why are certain towns in my game refusing to grow?
Thanks JGR - that was an interesting corner case I'd not thought about. Version 23 of Villages Is Villages fixes this, along with some tweaks to saveload and support for upgrading versions of the script in a running game.
Re: Why are certain towns in my game refusing to grow?
Problem solved, all towns now growing. Thanks team!
Who is online
Users browsing this forum: Google [Bot] and 23 guests