[R&F] AffectsSavedGames Var or Vanishing Mods

kgavin

Chieftain
Joined
Oct 6, 2008
Messages
7
I took a short break from the game and when I came back I noticed that some of the mods I was using would just vanish. They still existed under additional content but they were no longer part of the game I was playing. I realized after further investigation that they vanished after I loaded a saved game.

In total this was happening to six mods from four different modders. Now some of these mods I used before R&F and some are new to me since R&F. They all had one thing in common:
<AffectsSavedGames>0</AffectsSavedGames>

Well I want it to affect my saved game. I want to load a saved game and have the mods still there. I went into all six mods and made it true. Unfortunately I could not do anything with any game that was in progress no matter what I tried. So I got out of Civ, got back in, started a new game, played a few turns, saved the game, reloaded the game, and all my mods were still there, something I haven't be able to do in the last week.

Based on past posts concerning this var I have to wonder if its purpose has changed recently? Or I have to wonder what else is causing the problem that has led me to the above work-around? I'm not a modder, so my knowledge of all this is pretty much nil.

Thoughts, ideas, comments?
 
ASG is a flag that if true means that you need to have this mod in your in inventory, so any save file that used this mod can be loaded. The game does it automatically. It also means that even if you have it enabled, the game will unload the mod if the save doesn’t use this mod.
If this flag is false, then you can enable/disable the mod any time, and the save file will load with it or without it. It is transparent to the game data.
Nothing has changed here.
 
Thanks for your reply.

If I understand you correctly, you are saying if I want the 1991 original civ experience of play, save, load, play, I need to start out with the flag as 1. If I want a more modern experience where I can have my cake and eat it too, play, save, monkey with my mod setup, load, play I have to start out with the flag as a 0.

What I have been experiencing is if the flag is set to 0, which seems to be the default, before starting the game and I reload the game, I have no mods. If I change the flag to 1 after the save and reload the game I have no mods. If the flag is set to 1 before starting the game and I reload the game I have mods. Of course this is only affecting the mods that have the flag. Prior to this I didn't even know the flag existed.

This may not be intended but it is what I have been experiencing the last week. Up to this point for me it was go to the workshop, setup additional content, then the 1991 experience of play, save, load, play.
 
You can’t set or remove this flag from a game, this is a mod property. And you’d better not change it manually, unless you know exactly what you are doing.
If this flag is missing from .modinfo, then the default value is 1.
 
When I say "set the flag" I mean go into the individual mods and set the flag in each. In my case the flag is in 6 mods so I have to set the flag 6 times.

Since the mods are coming from the workshop with a 0 and since I want to play, save, load, play, manually changing the flag to a 1 before I start a new game seems to be the only solution unless there is a better way.
 
Back
Top Bottom