Definecheat - EDukeWiki

# Definecheat

From EDukeWiki

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.

Retrieved from "http://wiki.eduke32.com/w/index.php?title=Definecheat&oldid=12272"
Categories:

- EDuke32 specific commands
- Game manipulation