Patch:Gameplay (Keen 2)

From KeenWiki
Jump to navigation Jump to search

This page contains patches that affect the gameplay of Keen 2, that is, patches that alter how the *entire* game is played via keypresses, interface or options. Examples are split screen or making space the fire key. Patches that alter the game by changing something less general will have their own pages, for example patches that affect how the player sprite moves and acts are found on Patch:Keen (Keen 2)

Patches for what the player has and what happens when a new game is started are covered at Patch:Game start.


Space to fire, enter for status box

This patch allows Keen to fire when pressing the space key, and uses the enter key to bring up the status window. This is much more convenient than the two-button firing usually employed. The values used are scancodes and it is possible to make any two keys status and shoot.

The keys used can be altered by changing the values in blue using the Patch:Scancodes page. The first two lines change the space (Scancode $39, value $39 + $5008 = $5041) to enter (Scancode $1C, value $1C + $5008 = $5024) The remaining lines change alt+ctrl presses into space.

Using this patch it is possible to disable shooting and\or the status screen by setting their values to 0 ($5008)

A page where the first (Keen 1) version of the patch was posted is here: http://andy.durdin.net/keen/modding/viewtopic.php?t=433

Keen 2

#Change the controls to: Space, shoot; Enter, status.
%patch $120B  $5024W
%patch $83A2  $5024W
%patch $6965  $90 $90 $90 $90 $90 $90 $90 $80 $3E $5041W  $00
%patch $6A90  $90 $90 $90 $90 $90 $90 $90 $80 $3E $5041W  $00
%patch $6BFB  $90 $90 $90 $90 $90 $90 $90 $80 $3E $5041W  $00
%patch $6C0E  $90 $90 
%patch $6CAF  $90 $90 $90 $90 $90 $90 $90 $80 $3E $5041W  $00
%patch $6E3E  $90 $90 $90 $90 $90 $90 $90 $80 $3E $5041W  $00
%patch $6EEC  $90 $90 $90 $90 $90 $90 $90 $80 $3E $5041W  $00


Change game smoothness (Framerate)

This patch alters the game's framerats. The primary result of this is that if the value is lower then the game will run more smoothly, if it is higher then the game will be more choppy and disjointed.

There are however side effects; at lower values certain actions (Such as Keen's walking speed on the map) speed up dramatically while others (such as all sprite's jump and fall speeds.) are decreased. For gameplay this is rather like the air becoming thicker. Tweaks to gravity can fix this however.

Keen 2

#Change game framerate
%patch $26A [$06]