Keen and Poles

Completed patches for Keen4.
Post Reply
User avatar
XkyRauh
Posts: 1114
Joined: Sun Aug 31, 2003 9:14 pm
Location: San Diego, California

Keen and Poles

Post by XkyRauh »

Here's some patches that deal with Keen's movement on poles:

Code: Select all

#Animation speed for climbing poles
%patch $2fd88 $0D $00 #defaults 08 00
%patch $2fda6 $0D $00
%patch $2fdc4 $0D $00

#Animation speed for sliding down poles
%patch $2fde2 $03 $00 #def. 08
%patch $2fe00 $03 $00
%patch $2fe1e $03 $00
%patch $2fe3c $03 $00

#How fast (per frame) does Keen climb poles?
%patch $2fd8c $0C #defaults 08
%patch $2fdaa $0C
%patch $2fdc8 $0C

#How fast (per frame) does Keen slide down poles?
%patch $2fde6 $0F $00 #def. 08
%patch $2fe04 $0F $00
%patch $2fe22 $0F $00
%patch $2fe40 $0F $00

#Keen's jump height when Leaping off of a pole
%patch $c6ab $CF $FF #default $ec $ff (-20)

#How is Keen's vertical momentum affected
#when he drops off the bottom of a pole?
%patch $c891 $DF $FF #default $00 $00
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Post by levellass »

Um, Xky? The animation speeds (And sprites used) have all been posted on the patch index already; I made a topic about it; it took me quite a while to get the data. (ALL the data.) I hope you didn't spend good time looking it up; (if people don't use my stuff I can always delete it.)
User avatar
XkyRauh
Posts: 1114
Joined: Sun Aug 31, 2003 9:14 pm
Location: San Diego, California

Post by XkyRauh »

My mistake.

Truth be told, I got these while I was fiddling around at work the other day... I've been trying to resolve my "Xky wants a wider keygem door" thing, so I started opening up segments in the disassembly which haven't been commented yet, and began investigating using what little assembly I understand to decipher. I don't know WHERE in the segments the keygems are handled yet, so I just started with seg_g and seg_h to have a look, since a lot of Keen's actions are handled there... I ended up figuring out a good deal about how poles work, and since I was there, I got curious--which is why I looked up these other patches.

I'm fairly confident we didn't have a patch for "height of a jump off of a pole" or "boost when dropping off the bottom of a pole," yet... :) Those should be fun to abuse, at the very least.
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Post by levellass »

Hee, I can make Keen climb through ceilings.

Try looking at around $C349; that's where *I* look for my door code.
Post Reply