Cheatkeys: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Daedolon (talk | contribs)
Added link to Definecheat
No edit summary
 
(2 intermediate revisions 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 9: Line 9:
32 represents D and 49 represents N.
32 represents D and 49 represents N.


To change the actual cheat codes, see [[Definecheat]].
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.