Cheatkeys: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
m capitalization of command name
No edit summary
 
(One intermediate revision by the same user not shown)
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|source/build/include/scancodes.h}} scancodes.h]


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

Latest revision as of 03:35, 1 February 2017

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.