Savegame compatible

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
User avatar
Pandafox
Posts: 268
Joined: Wed Apr 11, 2012 11:25 pm
Location: France
Contact:

Savegame compatible

Post 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 ...
Last edited by Pandafox on Fri Dec 14, 2012 1:56 pm, edited 1 time in total.
User avatar
Grimwold
Posts: 511
Joined: Thu Sep 13, 2012 11:45 pm
Location: A Dungeon somewhere in the UK

Re: Savegame compatible

Post 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.
User avatar
Pandafox
Posts: 268
Joined: Wed Apr 11, 2012 11:25 pm
Location: France
Contact:

Re: Savegame compatible

Post 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.
User avatar
Komag
Posts: 3659
Joined: Sat Jul 28, 2012 4:55 pm
Location: Boston, USA

Re: Savegame compatible

Post 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 :)
Finished Dungeons - complete mods to play
Post Reply