Page 1 of 1

Savegame compatible

Posted: Fri Dec 14, 2012 1:12 pm
by Pandafox
Hello,

I had to change a timer in my dungeon. I changed the timer 5 seconds to 45. Nothing else.
Is someone know if the players who started the game with the before version can continue to play with the same savegame with this new version ?

I checked to start a new game with the old version, save the game, I replaced the dungeon with the new version and I can use the same savegame.
But I wonder if my timer (the 5 seconds) was stored into the first savegame or it will be 45 seconds as I changed into the new version... :?:

please, if someone know the answer ...

Re: Savegame compatible

Posted: Fri Dec 14, 2012 1:20 pm
by Grimwold
My one experience of this was with a script triggered by a pressure plate that crashed the game. I fixed the code in the dungeon, re-exported it and continued to play from my save... however the game STILL crashed when I hit that pressure plate. If I restarted, the plate worked fine...

So while I'm not sure, I strongly suspect that your counter will retain the old value from the save game.

Re: Savegame compatible

Posted: Fri Dec 14, 2012 1:24 pm
by Pandafox
I already have my answer sorry !
Anyway I don't delete my post, maybe it will be interesting to know for someone.

To test, I created a new dungeon with a button that activate a timer that opens a door.
I tried to save the game, change the timer, replace the DAT and load the savegame.

1. If the player didn't activated yet the timer, the savegame will use the timer of the new version
2. If the player have already activated one time this timer, the savegame won't use the new version timer. The counter still the same as the old version.

It seems the timer is stored into the savegame only if it was activated at least one time by the player.

Re: Savegame compatible

Posted: Fri Dec 14, 2012 6:27 pm
by Komag
If you really wanted to, you could add some redundant script code, so that pushing the button (or whatever starts the timer) instead sets the timer interval to 45s then starts the timer. If this is the first time, it will do no harm; if it's after somebody activated it, then I'm thinking it should solve the issue for them :)