Definecheat

From EDukeWiki
Revision as of 11:03, 4 May 2009 by One (talk | contribs)
Jump to navigation Jump to search

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)
                                     "sfm",          // 26