Save-Game Manipulation

Request patches for Keens 4-6.
Post Reply
User avatar
Nisaba
Posts: 320
Joined: Fri Jan 01, 2016 11:15 pm
Location: patch.pat
Contact:

Save-Game Manipulation

Post by Nisaba »

I had this idea of making the Save-Game usage more progressive.
What about loosing one Keen/life after reloading the level from a saving spot?!

advantage:
  • one needn't start a level all over again but could use a save state.
  • the usability of saving at any time isn't discretionary anymore but is in some sense rather limited.
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Post by levellass »

Is this the regular savegame or the Atroxian savegame? Certainly it's simple enough to have the usual game loading take a life from Keen (If he doesn't have 0 already.)
User avatar
Nisaba
Posts: 320
Joined: Fri Jan 01, 2016 11:15 pm
Location: patch.pat
Contact:

Post by Nisaba »

the regular of course!
how to? tell me everything...
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Post by levellass »

At the end of the 'load game' code there's a small bit that says 'set pause state = 1'

If you change this to 'Go do whatever thing I want' then it's simple enough to write up a bit of code that changes things in the loaded game. You can decrease lives, remove Keen's score, shots or keys and so on. This patch skips the code entirely, meaning games aren't paused on loading:

Code: Select all

#Loaded games aren't paused -Keen 4
%patch $1BDFF $EB
Post Reply