Keen's run speed

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

Keen's run speed

Post by XkyRauh »

Here's a fun one for you guys:

Code: Select all

# Keen runs fast!
%patch $2FF10 $30 $00 #movement speed frame1 (default 18 00)
%patch $2FF2E $30 $00 #movement speed frame2 (default 18 00)
%patch $2FF4C $30 $00 #movement speed frame3 (default 18 00)
%patch $2FF6A $30 $00 #movement speed frame4 (default 18 00)
:) Have fun.
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Post by levellass »

Now how do you find this stuff? I bet you're sitting on a huge mound of patches you're keeping mum about until you release your mods...
User avatar
XkyRauh
Posts: 1114
Joined: Sun Aug 31, 2003 9:14 pm
Location: San Diego, California

Post by XkyRauh »

Honestly? No. I found this one by accident while trying to figure out how to get my collision boxes working. Really, all this stuff is sitting in the disassembly, just waiting to be patched... I could get one that changes the speed of Keen's Neural Stunner shots pretty easily, or one that changes how far the Arachnut/Slug/Berkeloid moves per movement tick... :) It's all right in front of our noses in the ACTION.DOC file.

The good news is that I finally figured out how to explain the 4SPRITES.TXT file to anyone who is changing the size/shape of creatures/Keen for their mod... I'll write a tutorial on it soon, I hope. :)

Now if only I could figure out what's wrong with my Berkeloid...
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Post by levellass »

These are the speeds that modify Keen's basic running speeds. Ever think Keen moves slower up hills? He does:

Code: Select all

#Walking speed *modifiers* (E.g speed up going downhill and slow uphill)
%patch $30230 $00 $00 #Walking on flat (Don't affect speed)
%patch $30232 $04 $00 #Top -> middle    (Change by 4)
%patch $30234 $04 $00 #Middle -> bottom (Change by 4)
%patch $30236 $08 $00 #Top -> bottom    (Change by 8)
%patch $30238 $FC $FF #Bottom -> middle (Change by 4)
%patch $3023A $FC $FF #Middle -> top    (Change by 4)
%patch $3023C $08 $01 #Bottom -> top    (Change by 8)
You can make 'high gravity' by stunting Keen's jump height and increasing the values here so he must crawl up hills. (And whizz down them.) You should change all 4 slope speeds to be the same, or Keen's motion may look a bit jerky. Each speed changes BOTH uphill and downhill speeds.
Last edited by levellass on Mon Nov 19, 2007 7:24 pm, edited 1 time in total.
User avatar
ckguy
Posts: 465
Joined: Tue Oct 14, 2003 11:20 am
Location: Wakefield, RI, US
Contact:

Post by ckguy »

Nifty stuff! Are the top to bottom slope 1&2 for the different steepness of hills?
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Post by levellass »

EDIT: No, I was wrong, good thinking CKG. It appears there are *seven* speeds, one for each type of tile Keen can walk on (Flat, 2*45 degree slopes and 2*2 types of 22 degree slopes)

Code: Select all

#Walking speed *modifiers* (E.g speed up going downhill and slow uphill)
%patch $30230 $00 $00 #Walking on flat (Don't affect speed)
%patch $30232 $04 $00 #Top -> middle    (Change by 4)
%patch $30234 $04 $00 #Middle -> bottom (Change by 4)
%patch $30236 $08 $00 #Top -> bottom    (Change by 8)
%patch $30238 $FC $FF #Bottom -> middle (Change by 4)
%patch $3023A $FC $FF #Middle -> top    (Change by 4)
%patch $3023C $08 $01 #Bottom -> top    (Change by 8)
Post Reply