Keen 3 Vortimom replacement patch

Request patches for Keens 1-3.
Post Reply
User avatar
Tulip
Posts: 394
Joined: Mon Jun 16, 2008 2:40 pm
Location: Heidelberg, Germany
Contact:

Keen 3 Vortimom replacement patch

Post by Tulip »

I got an idea for a Keen 3 monster that replaces the Vortimom.
I'd like it to throw lightning similar to the keen 4 thundercloud.
The thing is now, if that is at all possible:
''''''''''''''''OO''''''''''
_______OO
.............OO.......
The _______ symbolizes the lightning, the O the Monster.

What I want now is, that the shot, being a wide sprite, doesn't move (that's no problem, I think), but does appear there, and dissapear again after a short amount of time.

Is that possible?
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Post by levellass »

So, you want the Vortimom to shoot a 'bolt' that sits there, then vanishes after a pause of time?

I have made Vortimoms drop mines that sit until exploded, that is easy; I can make an (Unanimating!) sprite be produced that sits for a time then vanishes as well, if this is what you want. (It will behave like the Zap/Zot sprite, but killy-er.) Would this suffice?
User avatar
Tulip
Posts: 394
Joined: Mon Jun 16, 2008 2:40 pm
Location: Heidelberg, Germany
Contact:

Post by Tulip »

Well I suppose yes, it doesn't need to be animated.
It would be good if it kills, but is invincible like the bullet of the robot I asked you last time,
Anyway, it sounds like it should work,
If you got the patch I could try to apply it, then I'll see if it's working like I expect it to.

Thanks again.
User avatar
Tulip
Posts: 394
Joined: Mon Jun 16, 2008 2:40 pm
Location: Heidelberg, Germany
Contact:

Post by Tulip »

If it helps, here is what the monster's gonna look like:

Image
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Post by levellass »

Well now...

First I though a simple zap/zot patch would work, it didn't since the Vortimom bullets have nothing defined for them, (unlike in Keen 1) This means changing the bullet behavior would require changing the sprites, speeds, etc.

I thought a simple property patch might work, but that just made everlasting bullets, not what we wanted.

Finally I did it the hard way and ran my new sprite program. This is what you get from it:

Code: Select all

%ext ck3

#Vortimom bullet sits still for a randomish period of time:
%patch $1552 $39 $00 #left sprite
%patch $154A $3B $00 #Right sprite
%patch $155C $01 $00 #Frames used -1
%patch $1570 $01 $00 #Vannish frequency [bigger = more often]
%patch $456D $3B $15 #Bullet uses new behavior 
%patch $4578 $00 $6A #Bullet doesn't zap/zot when hit by stuff (Looks nicer)

#Replace the joystick config window with new behavior
%patch $153A $C3 $55 $8B $EC $56 $83 $3E $30 $99 $00 $7E $08 $C7 $06 $38 $99
%patch $154A $3B $00 $EB $06 $C7 $06 $38 $99 $39 $00 $A1 $61 $53 $B1 $04 $D3
%patch $155A $E8 $25 $01 $00 $8B $16 $38 $99 $03 $D0 $89 $16 $38 $99 $E8 $D9
%patch $156A $B5 $50 $A1 $40 $5D $BA $03 $00 $F7 $EA $5A $3B $D0 $73 $13 $B8
%patch $157A $90 $01 $50 $E8 $52 $B5 $59 $F7 $D8 $A3 $32 $99 $C7 $06 $42 $99
%patch $158A $3B $15 $E8 $24 $4D $E8 $64 $4D $8B $F0 $F7 $C6 $02 $00 $75 $06
%patch $159A $C7 $06 $42 $99 $05 $7E $F7 $C6 $04 $00 $74 $06 $C7 $06 $30 $99
%patch $15AA $00 $00 $F7 $C6 $01 $00 $74 $06 $C7 $06 $30 $99 $00 $00 $5E $5D $C3

%end
The only deviation here is that the shot stays for a random period before vanishing, though you have some control over that. It also appears behind the Vortimom, I suggest some long sprites, so you can see the bullet when she shoots. Yes, the bullet can be made to move (The two $00 $00s in the big code lump are speeds) This is about the best I an do for now, I hope it suffices.

Enjoy!
User avatar
Tulip
Posts: 394
Joined: Mon Jun 16, 2008 2:40 pm
Location: Heidelberg, Germany
Contact:

Post by Tulip »

Wow this looks like an awful lot of work you had with it,

I'll try this out an see if it does what I think it should do.

Edit: wow, this looks perfect, if it works the same way for the foob, its incredible. Its even animated! Good job.
Post Reply