Town Tolerated Noise Level Modifier

Got an idea for OpenTTD? Post it here!

Moderator: OpenTTD Developers

Post Reply
Manuestaire
Engineer
Engineer
Posts: 19
Joined: 22 Mar 2012 22:47

Town Tolerated Noise Level Modifier

Post by Manuestaire »

Hi, I often play OpenTTD with friends on many maps and we really like to allow the town to control the noise levels since we believe it's a more realistic approach as it depends on the size of the town. However most of the times we end up without being able to build the airports we'd like since the noise allowance is too low.
I've been exploring around with NoAI to see if I could write a gamescript to modify the allowed noise level, but apparently it's a member var and cannot be modified.

So my request would be to be able to make towns more permissive about noise levels, either by adding a new setting, or using the NoAI API.

Thank you!
User avatar
andythenorth
Tycoon
Tycoon
Posts: 5656
Joined: 31 Mar 2007 14:23
Location: Lost in Music

Re: Town Tolerated Noise Level Modifier

Post by andythenorth »

OpenGFX+ Airports grf has a parameter option to ignore noise limits. Works well, no new code needed. ;)

Also includes an option to ignore date restrictions.

Doesn't let you keep the noise limits in place though :twisted:
User avatar
YNM
Tycoon
Tycoon
Posts: 3570
Joined: 22 Mar 2012 11:10
Location: West Java

Re: Town Tolerated Noise Level Modifier

Post by YNM »

I'm not sure, but is the setting secluded from being modified with NewGRFs as of yet ? In that case, maybe using a GS could work somehow ?
YNM = yoursNotMine - Don't get it ?
「ヨーッスノットマイン」もと申します。
Eddi
Tycoon
Tycoon
Posts: 8258
Joined: 17 Jan 2007 00:14

Re: Town Tolerated Noise Level Modifier

Post by Eddi »

it's been a long time since i looked at it, but openttd.cfg should have a setting for how much population you need per noise level, for the different town tolerance levels
Manuestaire
Engineer
Engineer
Posts: 19
Joined: 22 Mar 2012 22:47

Re: Town Tolerated Noise Level Modifier

Post by Manuestaire »

Eddi wrote:it's been a long time since i looked at it, but openttd.cfg should have a setting for how much population you need per noise level, for the different town tolerance levels

Code: Select all

dist_local_authority = 20
town_noise_population[0] = 800
town_noise_population[1] = 2000
town_noise_population[2] = 4000
But i don't know how this parameters work, and if they affect existing savegames, since I saw just below infrastructure costs disabled, and i have them enabled on my map :S
Post Reply

Return to “OpenTTD Suggestions”

Who is online

Users browsing this forum: No registered users and 6 guests