Definecheat: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 33: Line 33:
To change the two letter combination that's entered before the cheat, see [[cheatkeys]].
To change the two letter combination that's entered before the cheat, see [[cheatkeys]].


<!-- All information in this entry was supplied by TerminX in a forum post -->
Trivia: The Duke Nukem 3D source code indicates that cheat 15 was "bonus" and cheat 25 was "ending" during development.
<!-- Which could have been gotten from the source code too. -->


[[Category:EDuke32 specific commands]]
[[Category:EDuke32 specific commands]]
[[Category:Game manipulation]]
[[Category:Game manipulation]]

Revision as of 20:38, 24 November 2015

definecheat <cheat number> <text to activate cheat>

Similar to definequote. This command does not allow the user to create new cheats with new functionality, but simply allows the user to change the text which activates the hard coded cheats. There are a total of 27 cheats, the first 26 of which can be redefined with definecheat. The cheats and their corresponding numbers are shown below:

                                     "cornholio",    // 0
                                     "stuff",        // 1
                                     "scotty###",    // 2
                                     "coords",       // 3
                                     "view",         // 4
                                     "time",         // 5
                                     "unlock",       // 6
                                     "cashman",      // 7
                                     "items",        // 8
                                     "rate",         // 9
                                     "skill#",       // 10
                                     "beta",         // 11
                                     "hyper",        // 12
                                     "monsters",     // 13
                                     "<RESERVED>",   // 14 (ends episode)
                                     "<RESERVED>",   // 15 (ends and restarts level)
                                     "todd",         // 16
                                     "showmap",      // 17
                                     "kroz",         // 18
                                     "allen",        // 19
                                     "clip",         // 20
                                     "weapons",      // 21
                                     "inventory",    // 22
                                     "keys",         // 23
                                     "debug",        // 24
                                     "<RESERVED>",   // 25 (same as cheat 14)
                                     "cgs",          // 26

To change the two letter combination that's entered before the cheat, see cheatkeys.

Trivia: The Duke Nukem 3D source code indicates that cheat 15 was "bonus" and cheat 25 was "ending" during development.