Question: Keen3 sprites in Keen1

Request patches for Keens 1-3.
Post Reply
Matze82
Posts: 25
Joined: Tue Sep 02, 2003 11:46 am
Location: Germany
Contact:

Question: Keen3 sprites in Keen1

Post by Matze82 »

Hi there!

Well after some years of quietness I thought it would be nice to do some modding. :-)

So, here is my first (patch) querstion: Is it possible to have sprites from Keen3 in Keen1? In my case I think I won't need all 4 ice-canons, so having these moving platforms from Keen3 would be nice.

I would be glad about some thougts. :)


Greetings, Matze
Stealthy71088
Posts: 583
Joined: Thu Mar 17, 2005 11:54 pm
Location: NY

Post by Stealthy71088 »

I remember reading that a post Lemm made about patching the ice cubes into elevators... But looking real quick I can't find the post.

You can make horizontal turrents by placing a tank bot inside a foreground tiled area, and then using a one way door to keep the player from running around inside. I'm pretty sure you can make the tank shoot vertically as well....

With speed and jump patches, along with a freeze on touch but no stomp patch you could make a yorp simulate a vortikid.
User avatar
CommanderSpleen
Posts: 1017
Joined: Sun Aug 31, 2003 12:11 pm
Location: The Land of Sparkly Things
Contact:

Post by CommanderSpleen »

A quick fix is to make the ice cubes rideable. This is what I did with Retrosis.

The CKCM has been patched to support Galaxy style moving platforms, but it required some pretty hefty patching if I'm not mistaken. I don't remember any posts about an easier way of going about it.
Matze82
Posts: 25
Joined: Tue Sep 02, 2003 11:46 am
Location: Germany
Contact:

Post by Matze82 »

Stealthy71088 wrote:I remember reading that a post Lemm made about patching the ice cubes into elevators... But looking real quick I can't find the post.(...)
That sounds really promising! That would be a nice idea to have something like an elavator.

I didn't find it either, but maybe Lemm knows where it is. ;-)


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

Post by levellass »

Right. It should be possible to port most of the sprites from Keen 3 into Keen 1 (Though why you'd want to is beyond me.) This would require a large an complex patch however, overwriting most of the old sprite code with modified code from Keen 3. Given that, it would be a trivial matter to add more code and have things like the mangling machine arms and legs ported as well (Indeed adding more placeable sprites is perhaps the easiest part of the patch.)

Your best bet would be Lemm since I wouldn't trust my ability to accurately port the sprite behaviors.
Matze82
Posts: 25
Joined: Tue Sep 02, 2003 11:46 am
Location: Germany
Contact:

Post by Matze82 »

levellass wrote:Right. It should be possible to port most of the sprites from Keen 3 into Keen 1 (Though why you'd want to is beyond me.) (...)
I like using elevators or moving platforms in the other episodes a lot, so having some of these in my mod would be a nice idea. :-)

Well, I searched through the forum and found a patch to ride on gargs, which can be seen here: http://www.keenmodding.org/viewtopic.php?p=13431#13431 But chanching this to icecubes ($46B8) won't work. Was there some more work done for this (which I didn't find yet (if done)).


Greetings, Matze
Stealthy71088
Posts: 583
Joined: Thu Mar 17, 2005 11:54 pm
Location: NY

Post by Stealthy71088 »

Try this:

Code: Select all

#Keen can ride icecubes:
#%patch $46B8 $4674W      #jump to riding code on contact
%patch $55EF $EB $4A     #Make space
%patch $#### $66 $8B $5D $10 $66 $8B $C3 $66 $05 $00 $EE $FF $FF $66 $89 $44
             $08 $66 $8B $C3 $66 $05 $00 $EF $FF $FF $66 $89 $44 $10 $66 $8B
             $C3 $66 $05 $00 $0B $00 $00 $66 $89 $44 $10 $66 $31 $C0 $66 $31
             $DB $89 $44 $1E $90 $90 $90 $89 $44 $22 $8B $45 $20 $89 $44 $20
%patch $5631 $E9 $F065W  #jump to cs:4699 (end of keen collision routine)
Replace the #### with either 4674, 4674W, or 55F1 and see if that does it.
Matze82
Posts: 25
Joined: Tue Sep 02, 2003 11:46 am
Location: Germany
Contact:

Post by Matze82 »

Hi Stealthy71088,

thanks for your reply. :-)

When I use 4674 (instead of ####), the game freezes, 4674W won't work with modkeen (0.10.0). The best try was 55F1:

Code: Select all

#Keen can ride icecubes:
%patch $46B8 $55F1W      #jump to riding code on contact
%patch $55EF $EB $4A     #Make space
%patch $55F1 $66 $8B $5D $10 $66 $8B $C3 $66 $05 $00 $EE $FF $FF $66 $89 $44
             $08 $66 $8B $C3 $66 $05 $00 $EF $FF $FF $66 $89 $44 $10 $66 $8B
             $C3 $66 $05 $00 $0B $00 $00 $66 $89 $44 $10 $66 $31 $C0 $66 $31
             $DB $89 $44 $1E $90 $90 $90 $89 $44 $22 $8B $45 $20 $89 $44 $20
%patch $5631 $E9 $F065W  #jump to cs:4699 (end of keen collision routine)
But Keen can't still ride on the cubes. He doesn't freeze (what is good) and is pushed a little bit upwards, but nothing more.


Greetings, Matze
Stealthy71088
Posts: 583
Joined: Thu Mar 17, 2005 11:54 pm
Location: NY

Post by Stealthy71088 »

I don't know if it will work, but have you tried slowing down the ice cubes now? Maybe they're moving too quickly at the moment to act as elevators?
Matze82
Posts: 25
Joined: Tue Sep 02, 2003 11:46 am
Location: Germany
Contact:

Post by Matze82 »

Oh man! I was so blind. The patch is here:
http://www.keenmodding.org/viewtopic.php?t=1334

Thanks anyway! :-)

EDIT: The truth is, that I'm blind again. I've found the patch to alter the speed of the blocks. But I know that there was one to change the frequency of the blocks... anyone?


Greetings
Stealthy71088
Posts: 583
Joined: Thu Mar 17, 2005 11:54 pm
Location: NY

Post by Stealthy71088 »

Straight from LL and Benvolio's holloween mod.

Code: Select all

#Ice cannon shoot rate
%patch $2058 $09
Matze82
Posts: 25
Joined: Tue Sep 02, 2003 11:46 am
Location: Germany
Contact:

Post by Matze82 »

Thanks a lot :)
Post Reply