[Rseding] [0.15.16] Mod settings revert to default for campaigns

This subforum contains all the issues which we already resolved.
User avatar
y.petremann
Filter Inserter
Filter Inserter
Posts: 423
Joined: Mon Mar 17, 2014 4:24 pm
Contact:

[Rseding] [0.15.16] Mod settings revert to default for campaigns

Post by y.petremann »

Some mods use Map (runtime-global) settings for something that take effect directly when map load or generate, unfortunately those settings revert to default when starting a campaign, where it should instead use actual values.

As an example, you could look for creative mode that display his initial config window when starting a campaign, regardless of the setting used because it revert to default, works correctly for scenarios.
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5413
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [Rseding] [0.15.16] Mod settings revert to default for campaigns

Post by Klonan »

y.petremann wrote:Some mods use Map (runtime-global) settings for something that take effect directly when map load or generate, unfortunately those settings revert to default when starting a campaign, where it should instead use actual values.

As an example, you could look for creative mode that display his initial config window when starting a campaign, regardless of the setting used because it revert to default, works correctly for scenarios.
Thanks for the report,

Could you attach the mods needed to reproduce this
User avatar
y.petremann
Filter Inserter
Filter Inserter
Posts: 423
Joined: Mon Mar 17, 2014 4:24 pm
Contact:

Re: [Rseding] [0.15.16] Mod settings revert to default for campaigns

Post by y.petremann »

Klonan wrote:
y.petremann wrote:Some mods use Map (runtime-global) settings for something that take effect directly when map load or generate, unfortunately those settings revert to default when starting a campaign, where it should instead use actual values.

As an example, you could look for creative mode that display his initial config window when starting a campaign, regardless of the setting used because it revert to default, works correctly for scenarios.
Thanks for the report,

Could you attach the mods needed to reproduce this
I would add that it occur when maps are not generated, so campaigns and scenario with a predefined map.

Any mods that have runtime-global settings does that (try changing some Map settings):
- https://mods.factorio.com/mods/Nexela/PickerExtended
- https://mods.factorio.com/mods/Mooncat/creative-mode
Rseding91
Factorio Staff
Factorio Staff
Posts: 16026
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [Rseding] [0.15.16] Mod settings revert to default for campaigns

Post by Rseding91 »

y.petremann wrote:
Klonan wrote:
y.petremann wrote:Some mods use Map (runtime-global) settings for something that take effect directly when map load or generate, unfortunately those settings revert to default when starting a campaign, where it should instead use actual values.

As an example, you could look for creative mode that display his initial config window when starting a campaign, regardless of the setting used because it revert to default, works correctly for scenarios.
Thanks for the report,

Could you attach the mods needed to reproduce this
I would add that it occur when maps are not generated, so campaigns and scenario with a predefined map.

Any mods that have runtime-global settings does that (try changing some Map settings):
- https://mods.factorio.com/mods/Nexela/PickerExtended
- https://mods.factorio.com/mods/Mooncat/creative-mode
That's working as intended. The map has pre-defined values that are saved in it the same way that playing a map, saving, and then changing settings doesn't change the map settings when you load it up.

If that's not the behavior you want you need to go into options -> other and un-check "use different mod settings per save". Then when you load any map if your current settings don't match the game it changes the games settings.
If you want to get ahold of me I'm almost always on Discord.
User avatar
y.petremann
Filter Inserter
Filter Inserter
Posts: 423
Joined: Mon Mar 17, 2014 4:24 pm
Contact:

Re: [Rseding] [0.15.16] Mod settings revert to default for campaigns

Post by y.petremann »

Rseding91 wrote:
y.petremann wrote:
Klonan wrote:
y.petremann wrote:Some mods use Map (runtime-global) settings for something that take effect directly when map load or generate, unfortunately those settings revert to default when starting a campaign, where it should instead use actual values.

As an example, you could look for creative mode that display his initial config window when starting a campaign, regardless of the setting used because it revert to default, works correctly for scenarios.
Thanks for the report,

Could you attach the mods needed to reproduce this
I would add that it occur when maps are not generated, so campaigns and scenario with a predefined map.

Any mods that have runtime-global settings does that (try changing some Map settings):
- https://mods.factorio.com/mods/Nexela/PickerExtended
- https://mods.factorio.com/mods/Mooncat/creative-mode
That's working as intended. The map has pre-defined values that are saved in it the same way that playing a map, saving, and then changing settings doesn't change the map settings when you load it up.

If that's not the behavior you want you need to go into options -> other and un-check "use different mod settings per save". Then when you load any map if your current settings don't match the game it changes the games settings.
So I've disabled "Use different mod settings per save", installed "Creative Mode", set "Default initial action" to "Disable permanently", created a new campaign and then the config "Default initial action" revert to "Show popup".

So "use different mod settings per save" is not taken in account when starting a campaign or scenario with predefined map and that working as intended. NO !!! DEFINITELY A BUG !!!

For me it's important that it should use the mods settings used just before starting a campaign or a scenario with a predefined map because it would not reflect players wishes, spending time doing settings where they already done is really not interesting and it shoudl help with mods that uses thoses settings directly after map creation.
Rseding91
Factorio Staff
Factorio Staff
Posts: 16026
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [Rseding] [0.15.16] Mod settings revert to default for campaigns

Post by Rseding91 »

Ok, I looked into it more and you're correct: the map will use what ever settings it had saved at the time it was created but when adding new mods with new settings it wouldn't take the live values and instead would use default values. It's now fixed for the next version of 0.15.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”