[INFO] Possible save flag set wrong for some mods

The place to discuss scripting and game modifications for X Rebirth.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

Agnotos
Posts: 12
Joined: Sun, 2. Mar 08, 01:18
x4

[INFO] Possible save flag set wrong for some mods

Post by Agnotos »

This is a quote from Observes tutorial on the contents.xml.
It's at the bottom and maybe skipped by some people.
The save="false" parameter (or save="0") will prevent your mod to be "recorded" in the savegame.
It should be used when your mod only changes graphical settings or game values, that have no lasting effect on the game. (like the player's run speed in stations...)

With save="false" the user can disable the mod (or delete the whole folder!) and the savegame will not be invalidated.
It seems to me anyway that most if not all mods so far have this flag set wrong. If set at all.
This seems to be why people have to go and manually delete a mod section from their save file when removing a mod.
UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 14571
Joined: Sun, 20. Nov 05, 22:45
x4

Post by UniTrader »

nope, this flag is a recent discovery and when most mods were created this flag was not known.
if not stated otherwise everything i post is licensed under WTFPL

Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter ;)

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help ;)
User avatar
Baconnaise
Posts: 766
Joined: Sat, 23. Nov 13, 15:50
x4

Post by Baconnaise »

It wasn't well documented or known as far as I know since all save editors and even some instructions for mods go into detail on how to remove that information from a save manually or with an editor. I've been playing since launch and using more than one save game editor and multiple mods.
User avatar
Frumph
Posts: 302
Joined: Wed, 20. Nov 13, 03:12
x4

Post by Frumph »

Just went through all of my extensions and did this ;/ (none of them I wrote but fixed theirs) .. thanks!
Kierk
Posts: 115
Joined: Wed, 30. Oct 13, 16:38

Post by Kierk »

hadn't seen that! I'll update my stuff to include that, thanks for the notice.
SpacialKatana
Posts: 8
Joined: Mon, 25. Nov 13, 22:59

Post by SpacialKatana »

I used that flag in my Techno_Bar_SFX mod, thanks to Observe's post :)
UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 14571
Joined: Sun, 20. Nov 05, 22:45
x4

Post by UniTrader »

just note that you cannt put this flag in and simply remove the mod from the savegame - there are cases where this flag should be set to "true" or not set at all, because some mods are not simply removable from the savegame ^^ (eg mods which add new kinds of Ships or the like)
if not stated otherwise everything i post is licensed under WTFPL

Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter ;)

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help ;)

Return to “X Rebirth - Scripts and Modding”