Patch:Computer Wrist
The Computer Wrist in Keen 4 and 5 is the help section, accessed by pressing F1 during gameplay or at the Main Menu. It consists of a main screen that allows Keen to read a number of sections. The format and function of the 'subsections' are identical, with only content varying, while the main screen is separate. As such this page will be divided into three sections; the first will deal with the Computer Wrist in general, the second with the main screen and the third with the remaining screens.
Contents |
Computer Wrist in general
Patches in this section of the page affect the Computer Wrist in general; how it is bought up and how it behaves when it is.
What key brings up the Computer Wrist
For Keen 4 and 5 it is possible to change the key that brings up the Computer Wrist. The values are scancodes. Setting this to $00 will totally disable the Computer Wrist, or the patches in the section below can be used. Note that since the game has different key response codes for various things, to completely disable the Computer Wrist requires the use of several patches.
The Computer Wrist cannot by used during the ending sequence, title screen, paddle war, demos or story sequence. Instead these will end (or must be ended) before the Computer Wrist can be used.
| Patch: Keen 4\5 help key |
|
Disable Computer Wrist
These patches will cleanly skip the Computer Wrist by bypassing scancodes, a somewhat neater way of doing things than manipulating the above patches. Again, multiple patches may be necessary.
| Patch: Keen 4\5 disable help |
|
Graphic chunks used for Computer Wrist documents and number of options
These are the EGAGRAPH chunks used for various Computer Wrist topics. These determine what the player sees when the Computer Wrist topics are selected.
Note that it is possible to include one extra Computer Wrist item in Keen 4 using chunk $1288W which is unused by default.
| Patch: Keen 4 |
|
Play music in Computer Wrist
It is possible to play music in the Computer Wrist when an option is selected or the Computer Wrist screen exited. This should be handled carefully in order to blend with the rest of the game. The main menu music patch should be used so the song start doesn't seem too abrupt and the song should be switched back to the menu song when help is exited.
The song to be played is in the second line of each patch and works exactly the same as values in Patch:Music. The music will restart when this patch is called, even if the same song is already playing.
Like the menu music patch these patches work by replacing the 'change screen color' patch. However, due to the way the help screen is set up, these screen recolors are never seen and so aren't missed. (Making them visible takes a lot of effort.) The second 'play on exit' patch is superfluous, but included for completion.
| Patch: Keen 4 |
|
Main Screen
The main screen consists of four images bordering the screen, a large image in the middle of the screen and a cursor that can move up and down to select an option. This can be a bit hard to see by default as everything is colored dark red, seeming to blend together. Patches in this section should only affect this screen and not any screens selected from it.
For patches changing what documents are accessed from here see the above section.
Images used and their position
There are six images used for the help screen, four screen borders, the options image and the cursor. All values refer to graphics chunks, which can be complicated if using ModKeen (Keengraph numbers graphics correctly.) Each image must be stored (Cached) before being displayed and is displayed at specific x,y locations.
Not all images have both x and y location values, if a value is 0 it isn't patchable. The hand needs two location patches, since it is a cursor. These should match.
| Patch: Keen 4 |
|
Don't display images
These patches simply remove a bitmap image from the screen.
| Patch: Keen 4 |
|
Background color
As mentioned below, while the help section uses many 'change screen color' calls, these have no visible effect on the screen and indeed, it is very hard to make them show. It is more effective to change a 'box draw' color, which in help colors the entire screen. The default screen color is $04, or red, the color behind the help pointer should be the same.
| Patch: Keen 4 |
|
The help 'menu' is just an image and bears no relation to what option can be selected. If you resize this image you may want to resize the height of each help option. Due to the way the menu is set up there are three values for the 'height' of each menu option. These should all match. For patches changing the number of options in the main screen see the first section of this page.
| Patch: Keen 4 |
|
Option screens
All other screens in the help section are equivalent, they merely load a different data file to display. Thus patches that affect one will affect all other screens. Patches in this section relate to every one of these option screens. For patches changing what documents are loaded as well as how many options the player has see the first section of this page.
Images used and their position
Unlike the above help screen, images in the other screens don't need to be cached (Except the page number indicator); they are already cached when the main screen is loaded. Notice also how similar the setup is to the main screen, except for the bottom image they are identical.
| Patch: Keen 4 |
|
Background color
Just like the main screen, Computer Wrist pages have a background color that has no effect on them, and instead take their color from a screen-sized red background box.
| Patch: Keen 4 |
|