Page 1 of 1

How change settings in a mod?

Posted: Sat Mar 06, 2021 11:25 pm
by Redpossum
Many mods state that a user can change the settings, but I haven't seen any explanation of HOW. Can someone please explain this to me? Do I need to open the zip file and edit the settings.lua file, changing the default, or is there an interface, or what?

I have a good understanding of file manipulation, the file/directory structure, etc.

************EDIT*****************

F*** me running, I found it. Factorio ---> Settings ---> Mod Settings

With all due respect, I would politely suggest that this information should be more prominently posted. I spent a full hour trying to search up an answer to this question...

Re: How change settings in a mod?

Posted: Sun Mar 07, 2021 4:35 pm
by valneq
When you start a new game, there is an additional "Mod Settings" button at the bottom of the map generator which leads you to that very same menu. Never noticed it is there?

Re: How change settings in a mod?

Posted: Mon Mar 08, 2021 3:43 am
by Redpossum
Well, no, but I've only started a new game once :D

Re: How change settings in a mod?

Posted: Sun Mar 14, 2021 2:40 pm
by robot256
There are a lot of unintuitive behaviors that aren't prominently advertised:

- The mod settings you select in the main menu generally only affect new games.
- Each save stores its own copy of the mod settings from when it was created. Changing the settings from the pause menu in-game only changes them for that save.
- Startup settings are stored per save and can't be changed while playing the save. But they can be changed for an existing save if you change them in the main menu, restart Factorio to apply them, and load the save without synchronizing mods (or unchecking the "sync mod settings" box).
- Mods can change each other's mod setting prototypes (name, description, and default), but they cannot forcibly alter the selections made by the user for a particular instance of the game.

Re: How change settings in a mod?

Posted: Sun Mar 14, 2021 2:46 pm
by ptx0
robot256 wrote:
Sun Mar 14, 2021 2:40 pm
There are a lot of unintuitive behaviors that aren't prominently advertised:
another: when you change the map settings and click "Mod settings" button to modify them before finalising the new game, the whole game restarts and the modifications to map settings are reset to defaults.

honestly, they need to let us save map presets.

Re: How change settings in a mod?

Posted: Sun Mar 14, 2021 3:04 pm
by Bilka
robot256 wrote:
Sun Mar 14, 2021 2:40 pm
There are a lot of unintuitive behaviors that aren't prominently advertised:

- The mod settings you select in the main menu generally only affect new games.
- Each save stores its own copy of the mod settings from when it was created. Changing the settings from the pause menu in-game only changes them for that save.
- Startup settings are stored per save and can't be changed while playing the save. But they can be changed for an existing save if you change them in the main menu, restart Factorio to apply them, and load the save without synchronizing mods (or unchecking the "sync mod settings" box).
Sounds like it would help you to disable this setting:
Image
- Mods can change each other's mod setting prototypes (name, description, and default), but they cannot forcibly alter the selections made by the user for a particular instance of the game.
They can force settings to only have one possible value/use forced_value for bool settings to force setting values for mod compatibility.