Request: Reset ammo when dying.

Request patches for Keens 1-3.
Post Reply
CaptainKeen
Posts: 78
Joined: Sun Feb 29, 2004 5:30 pm
Location: the Netherlands

Request: Reset ammo when dying.

Post by CaptainKeen »

Hey guys is it possible (and hopefully not too hard) to make a patch were your ammo resets to what it was when entering the level just like the patch that does this for the score. The problem with this reset score patch is that now you can't gain lives from points you should now give the player either infinite lives or give them 1 life at the time or no extra lives. not gaining extra lives is too hard usually and if you give the player infinite lives the player can stil scum for ammo by grabbign the ammo dying repeat ect. Even with the extra lives via the pogo gives lives patch the player can grab that and then ammo and then dies and he has an infinite ammo loop. unless you only place extra lives in ammo-less levels or only give them before the exit when you can't go back and so on. The best solution would be to also reset ammo when dying and not just the points score. I would like to use this for keen 2 (maybe) but I'd like to see this for the other episodes too.

Once we have this patch combined with infinite lives then there is basically no difference between dying and dying and then reloading from the save file. (and this is how many people already play most mods i think, I do atleast) This would save the player time and therefore make it more enjoyable. But still keep the aspect of the high score being potentially meaningful without the problem of scumming ammo as i mentioned.
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Post by levellass »

Right;

Firstly,t his is a Vorticons forum, a series where save scumming is not possible; do you want this patch for Vorticons 91-3) or Galaxy (4-6)?

Secondly do you want this *in addition* to points being reset or instead? I myself think point resetting encourages save scumming.

Thirdly do you want this patch for a specific episode or just one?
CaptainKeen
Posts: 78
Joined: Sun Feb 29, 2004 5:30 pm
Location: the Netherlands

Post by CaptainKeen »

Sorry if it wasn't cear.


I'm talking about keen 1,2 and 3 but specifically for keen 2.

And I would like this to work in combination with the reset score patch
I myself think point resetting encourages save scumming.
The point isn't to discourage save scumming but there is another kind of "scumming" in keen 1-3 where you can farm levels by picking up points and ammo and then dying and repeating. The patch to reset the score solves this problem but without extra lives from points the game would be too hard without constant reloading from save files (that is inconvenient for the player). So it would be better to give the player infinite lives instead. The problem that remains now is that the player can still farm levels for ammo. To solve this the ammo should be reset along with the score.
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Post by levellass »

Ok, here's a stab. There's a few side effects, notably there are no lives in the "Keens left" box (But the box itself needs to appear!) Since you want infinite lives they don't matter. Secondly I also disabled\tweaked the EKA (Since IT is now pointless, why give a life for infinite lives?)

The end result Keen's score and ammo is stored on level starting and reset if Keen dies in a level. Keen has infinite lives.


Keen 1:

Code: Select all

#Blank ammo variable
%patch $13054 $0000W

#Don't display lives in Keens Left window, instead reset score (Appears only on death)
%patch $8F4A $81 $3E $6EC2W  $0000W  $74 $10 $66 $A1 $6EC2W  $66 $A3 $AACAW
             $A1 $0004W  $A3 $AAC8W  $EB $08 $66 $A1 $AACAW  $66 $A3 $6EC2W
             $EB $10

#Call score-ammo store code on level load
%patch $4B91 $B8 $0001W  $50 $A3 $6EDCW  $A3 $5DB4W  $A3 $604CW  $C7 $06 $8216W
                 $0000W  $C7 $46 $FE $0001W  $E8 $C1CAW  $90 $90

#Store score, ammo on level load (Disables EKA)
%patch $0D74 $5D $C3 $55 $8B $EC $83 $EC $04 $56 $66 $A1 $AACAW  $66 $A3 $6EC2W
                 $A1 $AAC8W  $A3 $0004W  $5E $8B $E5 $5D $C3

#Status window displays secured score
%patch $14E52 "    SCORE     SECURED SCORE " $0A $00
%patch $0FB0 $0000W

#Infinite lives
%patch $8041 $90 $90 $90 $90

Keen 2:

Code: Select all

##Blank ammo variable
%patch $17784 $0000W

#Don't display lives in Keens Left window, instead reset score (Appears only on death)
%patch $89E8 $81 $3E $6E9EW  $0000W  $74 $10 $66 $A1 $6E9EW  $66 $A3 $9AE0W
             $A1 $0004W  $A3 $9ADEW  $EB $08 $66 $A1 $9AE0W  $66 $A3 $6E9EW

#Call score-ammo store code on level load
%patch $78F5 $B8 $0001W  $50 $A3 $6EB8W  $A3 $5D90W  $A3 $6028W  $C7 $06 $96B6W
                 $0000W  $C7 $46 $FE $0001W  $E8 $9466W  $90 $90

#Store score, ammo on level load (Disables EKA)
%patch $0D74 $5D $C3 $55 $8B $EC $83 $EC $04 $56 $66 $A1 $9AE0W  $66 $A3 $6E9EW
                 $A1 $9ADEW  $A3 $0004W  $5E $8B $E5 $5D $C3

#Status window displays secured score
%patch $1991C "    SCORE     SECURED SCORE " $0A $00
%patch $0F5E $0000W

#Infinite lives
%patch $8E00 $90 $90 $90 $90

Keen 3:

Code: Select all

#Blank ammo variable
%patch $19824 $0000W

#Don't display lives in Keens Left window, instead reset score (Appears only on death)
%patch $983D $81 $3E $70EEW  $0000W  $74 $10 $66 $A1 $70EEW  $66 $A3 $9D4AW
             $A1 $0004W  $A3 $9D48W  $EB $08 $66 $A1 $9D4AW  $66 $A3 $70EEW

#Call score-ammo store code on level load
%patch $819A $B8 $0001W  $50 $A3 $7108W  $A3 $5FE0W  $A3 $6278W  $C7 $06 $9906W
                 $0000W  $C7 $46 $FE $0001W  $E8 $8C34W  $90 $90

#Store score, ammo on level load (Disabes EKA)
%patch $0DE7 $5D $C3 $55 $8B $EC $83 $EC $04 $56 $66 $A1 $9D4AW  $66 $A3 $70EEW
                 $A1 $9D48W  $A3 $0004W  $5E $8B $E5 $5D $C3

#Status window displays secured score
%patch $1BAF4 "    SCORE     SECURED SCORE " $0A $00
%patch $0FAC $0000W

#Infinite lives
%patch $8E00 $90 $90 $90 $90
CaptainKeen
Posts: 78
Joined: Sun Feb 29, 2004 5:30 pm
Location: the Netherlands

Post by CaptainKeen »

unfortunately it doesn't work (for me)

error: 12:15: Invalid numeric format
%patch $17784 $0000W
^
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Post by levellass »

What you have there is the old fashioned and inferior version of CKPatch. While the patch can be rewritten for this version it's better all round if you just get yourself this much improved version: https://dl.dropboxusercontent.com/u/394 ... 1PATCH.EXE

Keen 2 version: https://dl.dropboxusercontent.com/u/394 ... 2PATCH.EXE

Keen 3 version: https://dl.dropboxusercontent.com/u/394 ... 3patch.exe



It's sad we're still having to update people's CKPatches.
CaptainKeen
Posts: 78
Joined: Sun Feb 29, 2004 5:30 pm
Location: the Netherlands

Post by CaptainKeen »

The patch now runs but unfortunately it stil doesn't do what it's supposed to do. It doesn't reset ammo or the score. neither does it give infinite lives.
User avatar
Fleexy
Site Admin
Posts: 490
Joined: Fri Dec 12, 2008 1:33 am
Location: Bloogton Tower

Post by Fleexy »

Did you un-LZEXE the game program and is it the exe the right version?
CaptainKeen
Posts: 78
Joined: Sun Feb 29, 2004 5:30 pm
Location: the Netherlands

Post by CaptainKeen »

Did you un-LZEXE the game program and is it the exe the right version?
So it does work for you?
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Post by levellass »

I can send you a working game directory if that'll help, then you can check what's different between our setups.
Post Reply