Cheatkeys: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
m capitalization of command name
No edit summary
Line 1: Line 1:
'''cheatkeys''' <scan code> <scan code>
'''cheatkeys''' <scan code> <scan code>


This command defines the two key-presses that must begin every cheat code. You must enter the scan codes as decimal values, NOT hex values.
This command defines the two key-presses that must begin every cheat code.


The command defaults to:
The command defaults to:
Line 8: Line 8:


32 represents D and 49 represents N.
32 represents D and 49 represents N.
A list of (hexadecimal) values can be found in [{{EDuke32 source|build/include/scancodes.h}} scancodes.h]


To change the actual cheat codes, see [[definecheat]].
To change the actual cheat codes, see [[definecheat]].

Revision as of 16:53, 28 December 2012

cheatkeys <scan code> <scan code>

This command defines the two key-presses that must begin every cheat code.

The command defaults to:

cheatkeys 32 49

32 represents D and 49 represents N.

A list of (hexadecimal) values can be found in scancodes.h

To change the actual cheat codes, see definecheat.