Template:Cheats: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Fox (talk | contribs)
No edit summary
Fox (talk | contribs)
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The following values are used with [[definecheat]] and [[EVENT_ACTIVATECHEAT]].
<noinclude>{{Template}}</noinclude>
 
The following values are used with [[activatecheat]], [[definecheat]], [[definecheatdescription]] and [[EVENT_ACTIVATECHEAT]].


{| {{prettytable}}
{| {{prettytable}}
!Exposed!!Value!!Label!!Description!!
!Exposed!!Value!!Label!!Description!!
|-
|-
| No || 0 || CHEAT_CORNHOLIO ||  
| No || 0 || CHEAT_CORNHOLIO || Toggle god mode and infinite Jetpack
|-
|-
| No || 1 || CHEAT_STUFF ||  
| No || 1 || CHEAT_STUFF || Give all weapons, inventory and keys
|-
|-
| No || 2 || CHEAT_SCOTTY ||  
| No || 2 || CHEAT_SCOTTY || Change level to ###
|-
|-
| No || 3 || CHEAT_COORDS ||  
| No || 3 || CHEAT_COORDS || Display coordinates
|-
|-
| No || 4 || CHEAT_VIEW ||  
| No || 4 || CHEAT_VIEW || Toggle third-person view
|-
|-
| No || 5 || CHEAT_TIME ||  
| No || 5 || CHEAT_TIME || Prints the message "Crosshair: off"
|-
|-
| No || 6 || CHEAT_UNLOCK ||  
| No || 6 || CHEAT_UNLOCK || Activate all doors, switches, etc
|-
|-
| No || 7 || CHEAT_CASHMAN ||  
| No || 7 || CHEAT_CASHMAN || Spawn money when pressing use
|-
|-
| No || 8 || CHEAT_ITEMS ||  
| No || 8 || CHEAT_ITEMS || Give all inventory and keys
|-
|-
| No || 9 || CHEAT_RATE ||  
| No || 9 || CHEAT_RATE || Display frame rate
|-
|-
| No || 10 || CHEAT_SKILL ||  
| No || 10 || CHEAT_SKILL || Change skill level to #
|-
|-
| No || 11 || CHEAT_BETA ||  
| No || 11 || CHEAT_BETA || Prints the message "Pirates Suck!"
|-
|-
| No || 12 || CHEAT_HYPER ||  
| No || 12 || CHEAT_HYPER || Give and use Steroids
|-
|-
| No || 13 || CHEAT_MONSTERS ||  
| No || 13 || CHEAT_MONSTERS || Toggle monsters
|-
|-
|  || <font color="gray">14</font> || <font color="gray"><RESERVED></font> ||  
|  || <font color="gray">14</font> || <font color="gray"><RESERVED></font> ||  
Line 36: Line 38:
|  || <font color="gray">15</font> || <font color="gray"><RESERVED></font> ||  
|  || <font color="gray">15</font> || <font color="gray"><RESERVED></font> ||  
|-
|-
| No || 16 || CHEAT_TODD ||  
| No || 16 || CHEAT_TODD || Prints the message "Register Cosmo Today!"
|-
|-
| No || 17 || CHEAT_SHOWMAP ||  
| No || 17 || CHEAT_SHOWMAP || Toggle full automap
|-
|-
| No || 18 || CHEAT_KROZ ||  
| No || 18 || CHEAT_KROZ || Toggle god mode
|-
|-
| No || 19 || CHEAT_ALLEN ||  
| No || 19 || CHEAT_ALLEN || Prints the message "Buy Major Stryker"
|-
|-
| No || 20 || CHEAT_CLIP ||  
| No || 20 || CHEAT_CLIP || Toggle no-clipping mode
|-
|-
| No || 21 || CHEAT_WEAPONS ||  
| No || 21 || CHEAT_WEAPONS || Give all weapons
|-
|-
| No || 22 || CHEAT_INVENTORY ||  
| No || 22 || CHEAT_INVENTORY || Give all inventory
|-
|-
| No || 23 || CHEAT_KEYS ||  
| No || 23 || CHEAT_KEYS || Give all keys
|-
|-
| No || 24 || CHEAT_DEBUG ||  
| No || 24 || CHEAT_DEBUG || Display debug data and create debug.map file
|-
|-
|  || <font color="gray">25</font> || <font color="gray"><RESERVED></font> ||  
|  || <font color="gray">25</font> || <font color="gray"><RESERVED></font> ||  
|-
|-
| No || 26 || CHEAT_COMEGETSOME ||  
| 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.
|-
|-
|}
|}


{| {{Collapse}}
| <strong>Defines</strong>
|-
|
  define CHEAT_CORNHOLIO                  0
  define CHEAT_CORNHOLIO                  0
  define CHEAT_STUFF                      1
  define CHEAT_STUFF                      1
Line 84: Line 90:
  define CHEAT_DEBUG                      24
  define CHEAT_DEBUG                      24
  define CHEAT_COMEGETSOME                26
  define CHEAT_COMEGETSOME                26
|}


<noinclude>[[Category:Templates]]</noinclude>
<noinclude>[[Category:Templates]]</noinclude>
<includeonly>[[Category:Pages with templates]]</includeonly>
<includeonly>[[Category:Pages with templates]]</includeonly>

Latest revision as of 16:55, 12 September 2021

This page is a template.
This page was created to be included in other pages.


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