score board and scores reset if u die

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

score board and scores reset if u die

Post by Bubzrulz » Fri Dec 23, 2016 9:55 am

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

Nisaba
Posts: 148
Joined: Fri Jan 01, 2016 11:15 pm
Location: patch.pat

Post by Nisaba » Fri Dec 23, 2016 11:11 am

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

Nisaba
Posts: 148
Joined: Fri Jan 01, 2016 11:15 pm
Location: patch.pat

Post by Nisaba » Fri Dec 23, 2016 11:19 am

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: 159
Joined: Thu Dec 22, 2016 12:37 pm
Location: N.S.W AUSTRAILA

Post by Bubzrulz » Fri Dec 23, 2016 12:16 pm

Nisaba wrote:

Code: Select all

#Scorebox display
%patch $DD91 $0E40W #Horizontal location
cheers that worked

Nisaba
Posts: 148
Joined: Fri Jan 01, 2016 11:15 pm
Location: patch.pat

Re: score board and scores reset if u die

Post by Nisaba » Fri Dec 23, 2016 2:46 pm

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

User avatar
Bubzrulz
Posts: 159
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 » Fri Dec 23, 2016 3:19 pm

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


opps points and ammo

Nisaba
Posts: 148
Joined: Fri Jan 01, 2016 11:15 pm
Location: patch.pat

Post by Nisaba » Fri Dec 23, 2016 4:39 pm

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: 2632
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Post by levellass » Fri Dec 23, 2016 11:43 pm

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: 159
Joined: Thu Dec 22, 2016 12:37 pm
Location: N.S.W AUSTRAILA

Post by Bubzrulz » Sat Dec 24, 2016 12:25 am

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

Nisaba
Posts: 148
Joined: Fri Jan 01, 2016 11:15 pm
Location: patch.pat

Post by Nisaba » Sat Dec 24, 2016 12:36 am

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: 159
Joined: Thu Dec 22, 2016 12:37 pm
Location: N.S.W AUSTRAILA

Post by Bubzrulz » Sat Dec 24, 2016 10:47 am

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: 159
Joined: Thu Dec 22, 2016 12:37 pm
Location: N.S.W AUSTRAILA

Post by Bubzrulz » Sat Dec 24, 2016 12:44 pm

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

Code: Select all

  %patch $DD8A $0040W #Vertical location

Nisaba
Posts: 148
Joined: Fri Jan 01, 2016 11:15 pm
Location: patch.pat

Post by Nisaba » Sat Dec 24, 2016 1:45 pm

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

Nisaba
Posts: 148
Joined: Fri Jan 01, 2016 11:15 pm
Location: patch.pat

Re: score board and scores reset if u die

Post by Nisaba » Thu Dec 29, 2016 9:18 am

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: 159
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 » Sun Mar 26, 2017 10:15 am

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

Who is online

Users browsing this forum: No registered users and 1 guest