Difference between revisions of "Cheatkeys"

From EDukeWiki
Jump to navigation Jump to search
m
 
(3 intermediate revisions by 2 users 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]].
  
 
[[Category:EDuke32 specific commands]]
 
[[Category:EDuke32 specific commands]]
 
[[Category:Game manipulation]]
 
[[Category:Game manipulation]]

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.