AJ11
Emperor
Is there a reason why you cannot load standard saves? I think that's all he wants.
The standard saves don't have those information. Therefore, the programme will break as it tries to look for those data.
Is there a reason why you cannot load standard saves? I think that's all he wants.
I sincerely hope you are not a programmer because this is simply wrong.The standard saves don't have those information. Therefore, the programme will break as it tries to look for those data.
I sincerely hope you are not a programmer because this is simply wrong.
The game knows the difference between saves from the various mods. If you attempt to load an FfH save from a standard game (or vice-versa), it will prompt you to switch to the appropriate DLL. There is no reason whatsoever why the K-mod couldn't also recognize the difference between two types of saves either and load the game accordingly. Just like an imaging programme knows the difference between a .jpg file and a .bmp (and, BTW, a good programme will recognize the difference by the contents of the file, not the extension) and load the file in the right way.
Still, I suspect the answer to my question is 'No'. Not for the reason you gave but because the mod never gets a chance to load the game at all. The main programme will already have switched the mod out and loaded the 'right' DLL instead. And we don't have the code for the main programme so it can't be changed.
It takes someone with knowledge of the SDK to answer my question. You, manifestly, are not that person.
You obviously don't know how the xmls are set up.
WTF do XMLs have to do with saves? You should stop embarrassing yourself.
You seem to have forgotten the topic - which was whether the K-mod could correctly load saves from other Civ variants. As I said, you need to stop embarrassing yourself.Where do you think the definitions of the variables are defined? Where do you think the AI gets its intelligence from? Where do you think the global warming variables are?
Ans: The xml files.
You seem to have forgotten the topic - which was whether the K-mod could correctly load saves from other Civ variants. As I said, you need to stop embarrassing yourself.
Hint: assuming the main programme gives it a chance, it can.
In my experience writing K-Mod I can tell you this: changing xml does not prevent save games from loading.
If there's one thing you should learn is that AJ11 is always right, even when he's wrong.
Where do you think the AI gets its intelligence from?
They get their intelligence from a sea sponge. There's a mod that increases it to jellyfish levels, however.
Why don't you try putting in a variable that isn't in the class definitions and see what happens when you try to load the mod?
Why would I bother doing that? We're not talking about making invalid xml. We're talking about a fully made mod, with completely valid xml. Obviously it doesn't crash.
Furthermore, the save format is not determined by the xml. One can make a mod which adds new xml fields without breaking save compatibility.
As for the suggestion that the AI gets its intelligence from the xml - that's absurd.
Thanks for the explanation. However, I'd like to point out that what's wanted is not the ability to switch in mid-game but rather to load a 4000BC file and play from there. For example, to take a game posted to the Noble's Club and play it with your mod. In terms of programming complexity, it probably amounts to the same thing though.Although its true that K-Mod could have been programmed to recognise which kind of save-file it is loading, and convert the save accordingly; it has not been written to do that. The reason is that I just deemed that to be a low-value feature. It would take quite a bit of work to convert some of the old data into the new data, and I just don't think it's worth it. I don't really see it is a huge loss if people have to start a new game to play on my mod. I personally wouldn't want to switch from standard BtS to K-Mod mid-game anyway.
Thanks for the explanation. However, I'd like to point out that what's wanted is not the ability to switch in mid-game but rather to load a 4000BC file and play from there. For example, to take a game posted to the Noble's Club and play it with your mod. In terms of programming complexity, it probably amounts to the same thing though.