score board and scores reset if u die

Completed patches for Keen4.
User avatar
Bubzrulz
Posts: 208
Joined: Thu Dec 22, 2016 12:37 pm
Location: N.S.W AUSTRAILA

score board and scores reset if u die

Post by Bubzrulz »

looking for info on patching the score to the right side and changing the red to different colours one for each thing and also would like to reset if you die
User avatar
Nisaba
Posts: 320
Joined: Fri Jan 01, 2016 11:15 pm
Location: patch.pat
Contact:

Post by Nisaba »

to move the scorebox all the way to the right you need to alter this patch:

Code: Select all

#Scorebox display
%patch $E97B $00FDW #Left Keen cached
%patch $E9A7 $00FDW #Right Keen cached
%patch $E9CF $00FDW #Map Keen cached
%patch $DD83 $00FDW #Sprite displayed
%patch $DD8A $0040W #Vertical location
%patch $DD91 $0040W #Horizontal location
simply change the horizontal location value from 0040W to 0E40W.
it should then look something like this:

Code: Select all

#Scorebox display
%patch $E97B $00FDW #Left Keen cached
%patch $E9A7 $00FDW #Right Keen cached
%patch $E9CF $00FDW #Map Keen cached
%patch $DD83 $00FDW #Sprite displayed
%patch $DD8A $0040W #Vertical location
%patch $DD91 $0E40W #Horizontal location
and if you aren't about to alter any of those other values, you'll simply need add this single line to your patch file:

Code: Select all

#Scorebox display
%patch $DD91 $0E40W #Horizontal location
User avatar
Nisaba
Posts: 320
Joined: Fri Jan 01, 2016 11:15 pm
Location: patch.pat
Contact:

Post by Nisaba »

for changing the red colours of that score box, simply edit the 4TIL0002.BMP file with a graphics editor (already discussed over here: http://www.pckf.com/viewtopic.php?p=82739#82736)
User avatar
Bubzrulz
Posts: 208
Joined: Thu Dec 22, 2016 12:37 pm
Location: N.S.W AUSTRAILA

Post by Bubzrulz »

Nisaba wrote:

Code: Select all

#Scorebox display
%patch $DD91 $0E40W #Horizontal location
cheers that worked
User avatar
Nisaba
Posts: 320
Joined: Fri Jan 01, 2016 11:15 pm
Location: patch.pat
Contact:

Re: score board and scores reset if u die

Post by Nisaba »

Bubzrulz wrote:[...] and also would like to reset if you die
reset what exactly? points? ammo? lives?
User avatar
Bubzrulz
Posts: 208
Joined: Thu Dec 22, 2016 12:37 pm
Location: N.S.W AUSTRAILA

Re: score board and scores reset if u die

Post by Bubzrulz »

Nisaba wrote:
Bubzrulz wrote:[...] and also would like to reset if you die
reset what exactly? points? ammo? lives?


opps points and ammo
User avatar
Nisaba
Posts: 320
Joined: Fri Jan 01, 2016 11:15 pm
Location: patch.pat
Contact:

Post by Nisaba »

there is already a thread discussing this:
viewtopic.php?t=1524&highlight=reset

to solve this problem, we'll need the holy hands of Levellass (may god bless them). so please be patient.
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Post by levellass »

Ok, so then, we have a patch to reset your score to what it was at the level start when you die.

Now do you want ammo (and maybe also score) to reset to zero when you die or just what thy were when you started the level?
User avatar
Bubzrulz
Posts: 208
Joined: Thu Dec 22, 2016 12:37 pm
Location: N.S.W AUSTRAILA

Post by Bubzrulz »

levellass wrote:Ok, so then, we have a patch to reset your score to what it was at the level start when you die.
no i dont have a patch yet im looking tho
User avatar
Nisaba
Posts: 320
Joined: Fri Jan 01, 2016 11:15 pm
Location: patch.pat
Contact:

Post by Nisaba »

Bubzrulz wrote:
levellass wrote:Ok, so then, we have a patch to reset your score to what it was at the level start when you die.
no i dont have a patch yet im looking tho
"we" like: WE, her majesty, God of Patches, Brain of all Mods, Wizard of Hexcode... by the name of Levellass
User avatar
Bubzrulz
Posts: 208
Joined: Thu Dec 22, 2016 12:37 pm
Location: N.S.W AUSTRAILA

Post by Bubzrulz »

Nisaba wrote:
Bubzrulz wrote:
levellass wrote:Ok, so then, we have a patch to reset your score to what it was at the level start when you die.
no i dont have a patch yet im looking tho
"we" like: WE, her majesty, God of Patches, Brain of all Mods, Wizard of Hexcode... by the name of Levellass

viewtopic.php?t=1721&postdays=0&postord ... ls&start=0
User avatar
Bubzrulz
Posts: 208
Joined: Thu Dec 22, 2016 12:37 pm
Location: N.S.W AUSTRAILA

Post by Bubzrulz »

How do i change the location of score box to bottom be modding this but how

Code: Select all

  %patch $DD8A $0040W #Vertical location
User avatar
Nisaba
Posts: 320
Joined: Fri Jan 01, 2016 11:15 pm
Location: patch.pat
Contact:

Post by Nisaba »

Bubzrulz wrote:How do i change the location of score box to bottom?
simply tweak this value $0040W until you are satisfied. ($0040W, $0050W, $0060W ... $0090W, $00A0W, $00B0W, ... $0A10W). it's the same thing like what we've already done with the horizontal locations earlier.

Code: Select all

#Scorebox display
%patch $DD8A $0A10W #Vertical location
%patch $DD91 $0E40W #Horizontal location
User avatar
Nisaba
Posts: 320
Joined: Fri Jan 01, 2016 11:15 pm
Location: patch.pat
Contact:

Re: score board and scores reset if u die

Post by Nisaba »

Bubzrulz wrote:[...] and also would like to reset if you die
this patch resets all points after dying:

Code: Select all

#Reset Keen's score to 0 on dying (But not game over.)
%patch $66BB $C7 $06 $7A50W  $0000W  $90 $90 $90 $90 $90
%patch $672D $BF $0001W $C7 $06 $7A52W  $0000W  $90
User avatar
Bubzrulz
Posts: 208
Joined: Thu Dec 22, 2016 12:37 pm
Location: N.S.W AUSTRAILA

Re: score board and scores reset if u die

Post by Bubzrulz »

ok so k6

Code: Select all

#Scorebox display

%patch $CEFA $00AFW #Sprite
%patch $CF01 $0040W #Vertical location
%patch $CF08 $0040W #Horizontal location
but if the vertical location is changed it vanishes
horizontal works tho
Post Reply