Shootable QED

Request patches for Keens 4-6.
User avatar
Gridlock
Posts: 71
Joined: Sat Feb 05, 2011 7:04 am

Re: Shootable QED

Post by Gridlock »

I've been very slow in getting on this, but I've finally had time to get this implemented with proper frames. Unless there's something wrong with the QED coordinates, the final tile change does not appear to be triggering. I've sent you the updated beta. When you get a chance, would you mind looking into it? I'm not sure if it's a simple mistake on my end like getting the wrong QED coordinates or if the tile changing code has a problem.

One time I still had the "immortal QED" problem come up, where I would keep shooting the final QED sprite and nothing would happen. I've only tested this 5-10 times so far, and it's only happened once. I'm not sure how to reproduce it, but I was playing on hard (though I doubt that makes a difference).

Oh, and making the sound the Shikadi explosion works pretty well. If you have time, I might still consider changing it to a custom sound related to the spirogrip, but that's low priority.
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Re: Shootable QED

Post by levellass »

On a side note, making the Shikadi Mine fragments stay active offscreen was a surprisingly involved patch. This is it in its full here, do alert me if it doesn't function as intended:

Code: Select all

#Rearrange Mine fragments to stay active offscreen
%patch $123C3 $55 $8B $EC $56 $8B $76 $06 $B8 $0005W  $50 $9A $196E09EFRL    
              $83 $C4 $02 $B8 $0001W  $50 $9A $06B91DCDRL    
              $8B $44 $0A $8B $1E $40 $9E $89 $47 $0A $8B $44 $0C $89 $47 $0C
              $9A $1DFB0036RL     $D1 $F8 $D1 $F8 $D1 $F8 $F7 $D8 $8B $1E $40
              $9E $89 $47 $16 $C7 $47 $18 $FFD0W  $C7 $47 $02 $0002W   $B8 $2716W
                  $50 $53 $9A $090B11C4RL     $83 $C4 $04
%patch $1241A                                     $9A $06B91DCDRL
                  $8B $44 $0A $05 $0100W  $8B $1E $40 $9E $89 $47 $0A $8B $44
              $0C $89 $47 $0C $9A $1DFB0036RL     $D1 $F8 $D1 $F8 $D1 $F8 $8B
              $1E $40 $9E $89 $47 $16 $C7 $47 $18 $FFD0W  $C7 $47 $02 $0002W
              $B8 $2716W  $50 $53 $9A $090B11C4RL     $83 $C4 $04
%patch $1245B $9A $06B91DCDRL $8B $44 $0A $8B $1E $40 $9E $89 $47 $0A $8B $44
              $0C $89 $47 $0C $9A $1DFB0036RL     $B1 $04 $D3 $F8 $05 $0028W
              $8B $1E $40 $9E $89 $47 $16 $C7 $47 $18 $FFE8W  $C7 $47 $02 $0002W
              $B8 $16 $27 $50 $53 $9A $090B11C4RL     $83 $C4 $04
%patch $1249A $9A $06B91DCDRL $8B $44 $0A $05 $0100W  $8B $1E $40 $9E $89
              $47 $0A $8B $44 $0C $89 $47 $0C $9A $1DFB0036RL     $B1 $04 $D3
              $F8 $BA $FFD8W  $2B $D0 $8B $1E $40 $9E $89 $57 $16 $C7 $47 $18
              $FFE8W  $C7 $47 $02 $0002W  $B8 $16 $27 $50 $53 $9A $090B11C4RL
              $83 $C4 $04
%patch $124DE $9A $06B91DCDRL     $83 $C4 $02 $8B $44 $0A $8B $1E
              $40 $9E $89 $47 $0A $8B $44 $0C $89 $47 $0C $C7 $47 $16 $0018W
              $C7 $47 $18 $0010W  $B8 $2716W  $50 $53 $9A $090B11C4RL     $83
              $C4 $04 $B8 $0001W  $50 $9A $06B91DCDRL     $83 $C4 $02 $8B $44
              $0A $05 $0100W  $8B $1E $40 $9E $89 $47 $0A $8B $44 $0C $89 $47
              $0C $C7 $47 $16 $0018W  $C7 $47 $18 $0010W  $C7 $47 $02 $0002W
              $B8 $2716W  $50 $53 $9A $090B11C4RL     $83 $C4 $04 $5E $5D $CB
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Re: Shootable QED

Post by levellass »

OK, WHAT HAPPENED TO MY FIRST POST?

*Sigh*


Ok,so as I said but don't seem to have said, the QED tile replacement IS occurring, but at the original spot. You've moved the tiles to 41, 02 in the level so this patch is required:

Code: Select all

#Shot collision: when health depleted smash fuse =$11C40456RL
%patch $12096 $55 $8B $EC $56 $8B $76 $08 $83 $3E $6F34W  $01 $73 $EF $FF $74 $2E
              $FF $74 $2C $9A $0F920628RL     $83 $C4 $04 $FF $74 $2E $FF $74
              $30 $9A $0F920628RL     $83 $C4 $04 $FF $74 $32 $FF $74 $2C $9A
              $0F920628RL     $83 $C4 $04 $FF $74 $32 $FF $74 $30 $9A $0F920628RL
              $83 $C4 $04 $B8 $0002W  $50 $B8 $0004W  $50 $B8 $0002W 
              $50 $B8 $0041W  $50 $33 $C0 $50 $50 $9A $174E0D75RL     $83 $C4
              $0C $B8 $0002W  $50 $B8 $0004W  $50 $B8 $0004W  $50 $B8 $0041W 
              $50 $33 $C0 $50 $B8 $0004W  $50 $9A $174E0D75RL     $83 $C4 $0C
              $9A $0F920677RL     $56 $9A $06B91E47RL     $83 $C4 $02 $C7 $06 #Penalty for savegame scumming
              $6F34W $0003W   $5E $5D $CB

Notice the $2, $4, $41 $2 etc entries. (The first replacing 2 rows of 4 tiles to be placed at 41, 2.) I'd test this patch but your latest version keeps crashing with 'goplat moved to bad spot'.
User avatar
Gridlock
Posts: 71
Joined: Sat Feb 05, 2011 7:04 am

Re: Shootable QED

Post by Gridlock »

Thank you for this. I have literally no time to work on this project at the moment, but I'll test when I can. Appreciate the help as always.
Post Reply