Definecheat: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 6: | Line 6: | ||
Trivia: The Duke Nukem 3D source code indicates that cheat 15 was "bonus" and cheat 25 was "ending" during development. | Trivia: The Duke Nukem 3D source code indicates that cheat 15 was "bonus" and cheat 25 was "ending" during development. | ||
You can use dc as a shorthand for this command. | |||
== Values == | == Values == |
Latest revision as of 01:48, 2 August 2020
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.
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.
You can use dc as a shorthand for this command.
Values
The following values are used with activatecheat, definecheat, definecheatdescription and EVENT_ACTIVATECHEAT.
Exposed | Value | Label | Description | |
---|---|---|---|---|
No | 0 | CHEAT_CORNHOLIO | Toggle god mode and infinite Jetpack | |
No | 1 | CHEAT_STUFF | Give all weapons, inventory and keys | |
No | 2 | CHEAT_SCOTTY | Change level to ### | |
No | 3 | CHEAT_COORDS | Display coordinates | |
No | 4 | CHEAT_VIEW | Toggle third-person view | |
No | 5 | CHEAT_TIME | Prints the message "Crosshair: off" | |
No | 6 | CHEAT_UNLOCK | Activate all doors, switches, etc | |
No | 7 | CHEAT_CASHMAN | Spawn money when pressing use | |
No | 8 | CHEAT_ITEMS | Give all inventory and keys | |
No | 9 | CHEAT_RATE | Display frame rate | |
No | 10 | CHEAT_SKILL | Change skill level to # | |
No | 11 | CHEAT_BETA | Prints the message "Pirates Suck!" | |
No | 12 | CHEAT_HYPER | Give and use Steroids | |
No | 13 | CHEAT_MONSTERS | Toggle monsters | |
14 | <RESERVED> | |||
15 | <RESERVED> | |||
No | 16 | CHEAT_TODD | Prints the message "Register Cosmo Today!" | |
No | 17 | CHEAT_SHOWMAP | Toggle full automap | |
No | 18 | CHEAT_KROZ | Toggle god mode | |
No | 19 | CHEAT_ALLEN | Prints the message "Buy Major Stryker" | |
No | 20 | CHEAT_CLIP | Toggle no-clipping mode | |
No | 21 | CHEAT_WEAPONS | Give all weapons | |
No | 22 | CHEAT_INVENTORY | Give all inventory | |
No | 23 | CHEAT_KEYS | Give all keys | |
No | 24 | CHEAT_DEBUG | Display debug data and create debug.map file | |
25 | <RESERVED> | |||
No | 26 | CHEAT_COMEGETSOME | Toggles godmode, gives full health + armor and gives all keys, weapons and ammo (no inventory items). Unlike CHEAT_KROZ, does not unset the 'dead' flag on the player. |
Defines |
define CHEAT_CORNHOLIO 0 define CHEAT_STUFF 1 define CHEAT_SCOTTY 2 define CHEAT_COORDS 3 define CHEAT_VIEW 4 define CHEAT_TIME 5 define CHEAT_UNLOCK 6 define CHEAT_CASHMAN 7 define CHEAT_ITEMS 8 define CHEAT_RATE 9 define CHEAT_SKILL 10 define CHEAT_BETA 11 define CHEAT_HYPER 12 define CHEAT_MONSTERS 13 define CHEAT_TODD 16 define CHEAT_SHOWMAP 17 define CHEAT_KROZ 18 define CHEAT_ALLEN 19 define CHEAT_CLIP 20 define CHEAT_WEAPONS 21 define CHEAT_INVENTORY 22 define CHEAT_KEYS 23 define CHEAT_DEBUG 24 define CHEAT_COMEGETSOME 26 |