Any way to change game settings in NewGRF?
I understand this is redundant since there are all there but I may want to publish a preset.
NML change game settings
Moderator: OpenTTD Developers
Re: NML change game settings
maybe you should rephrase that question more specifically what you ACTUALLY want to do, before you pick up a tool that might not be designed for what you're trying to achieve.
Re: NML change game settings
No. NewGRF must work under the game setting chosen by the player. They can affect some rules of the game, and some things may override some defaults given by some game settings, but they can not change the value of settings as such. (For example, you have the game setting for how industry production changes happen: Either in large, infrequent steps, or in small, more frequent steps. Here a NewGRF industry can implement the various callbacks and make its own rules for how much cargo it produces and when it announces production changes, regardless of the game setting. But those rule changes are for that single industry type, not industries in general.)
Re: NML change game settings
This thread explains how, but also why you shouldn't and what can happen if you do:
viewtopic.php?t=90609
Changing NewGRFs before a game will have no effect.
viewtopic.php?t=90609
Changing NewGRFs before a game will have no effect.
Take a look at: http://www.tt-forums.net/viewtopic.php?f=47&t=74993
Why do it tomorrow when you can do it today
Why do it tomorrow when you can do it today
Re: NML change game settings
That's irrelevant to what this thread is about.dol422 wrote: ↑23 Feb 2024 20:19 This thread explains how, but also why you shouldn't and what can happen if you do:
viewtopic.php?t=90609
Changing NewGRFs before a game will have no effect.
AlphaCentauriBear is wanting to know if it's possible to create a GRF that can change game settings, not changing GRF's during a game.
Re: NML change game settings
Not really as the question he asked wasn't exactly specific.skc wrote: ↑24 Feb 2024 00:32That's irrelevant to what this thread is about.dol422 wrote: ↑23 Feb 2024 20:19 This thread explains how, but also why you shouldn't and what can happen if you do:
viewtopic.php?t=90609
Changing NewGRFs before a game will have no effect.
AlphaCentauriBear is wanting to know if it's possible to create a GRF that can change game settings, not changing GRF's during a game.
I gave the answer that best suited the way I interpreted the question.
Take a look at: http://www.tt-forums.net/viewtopic.php?f=47&t=74993
Why do it tomorrow when you can do it today
Why do it tomorrow when you can do it today
Who is online
Users browsing this forum: No registered users and 5 guests