Change the value of the content of units in the current game

Askr

Chieftain
Joined
Apr 6, 2015
Messages
2
Hello.
I want to change the value of the content units. Tried 2 ways through GlobalDefines and CIV4CivicInfos. However, when you edit the file, the old sohraneniyaV new settings do not apply, and I just need to apply it to the old saves. When you start a new game everything works fine.

Decided to try to preserve the old Worldbuilder through the preservation of the script and start a new game in this scenario, however, did not work.
When you save the old saves the script is saved by 9 mb (save file weighs 5.2 mb), while I can not begin with him a new game or load it through Worldbuilder - spinning ball load on the cursor - and within 2 hours there was no result . Probyval save an earlier save game - 2,5mb, was able to open the script of his 3 mb.

Q: need some way to change the old saved the cost of keeping units, or simply no longer possible to play hundreds of units on one cell. Tell me how to do it, can have any string of saves editors, or as a new thread, you can load the game with the new xml files, etc.
 
I think the main problem is that all sorts of data is saved in the savegame, including a lot of cached values. This mean it is likely that if you change something and it only works in new games, not savegames, then the old value is stored in savegames.

I have spend quite a while changing code to recalculate the cache on load rather than saving it. The goal is to make the game more responsive to XML changes, but a sideeffect mean it saves less data, which makes the filesize smaller. Sadly such a change has to be done from the DLL itself and can be fairly time consuming. It likely also takes some C++ skills and modding experience to get to work without breaking compatibility with existing savegames.

It's likely not the reply you would like to see, but it's the best I can give.
 
Back
Top Bottom