Difference between revisions of "Console commands" - EDukeWiki

# Difference between revisions of "Console commands"

From EDukeWiki

Revision as of 12:17, 23 October 2008 (view source) Hunter byte (talk | contribs) (Sync) ← Older edit | Latest revision as of 17:39, 28 January 2016 (view source) Hendricks266 (talk | contribs) (non-cvar defaults)
(16 intermediate revisions by 3 users not shown)
Line 1: | Line 1:
− | {|border="1" | + | Feel free to ask the EDuke32 developers any questions you may have.
− | ! colspan="2"|Variables | + |
| + | NOTE: Most defaults were taken from a Windows build.
| + |
| + | == Engine ==
| + |
| + | {| border="1" style="font-size:10pt;" class="wikitable"
| + | ! Name !! Description !! Min !! Max !! Default !! Notes
| + | |-
| + | !colspan="6"| osd.c
| + | |-
| + | | osdeditpal
| + | | sets the palette of the OSD input text
| + | | 0
| + | | {{abbr|MAXPALOOKUPS-1|255}}
| + | | 12
| + | |
| + | |-
| + | | osdpromptpal
| + | | sets the palette of the OSD prompt
| + | | 0
| + | | {{abbr|MAXPALOOKUPS-1|255}}
| + | | 0
| + | |
| + | |-
| + | | osdtextpal
| + | | sets the palette of the OSD text
| + | | 0
| + | | {{abbr|MAXPALOOKUPS-1|255}}
| + | | 12
| + | |
| + | |-
| + | | osdeditshade
| + | | sets the shade of the OSD input text
| + | | 0
| + | | 7
| + | | 0
| + | |
| + | |-
| + | | osdtextshade
| + | | sets the shade of the OSD text
| + | | 0
| + | | 7
| + | | 2
| + | |
| + | |-
| + | | osdpromptshade
| + | | sets the shade of the OSD prompt
| + | | {{abbr|INT8_MIN|-128}}
| + | | {{abbr|INT8_MAX|127}}
| + | | 0
| + | |
| + | |-
| + | | osdrows
| + | | sets the number of visible lines of the OSD
| + | | 1
| + | | 400
| + | | 20
| + | |
| + | |-
| + | | osdtextmode
| + | | set OSD text mode (0:graphical, 1:fast)
| + | | 0
| + | | 1
| + | | 0
| + | |
| + | |-
| + | | osdlogcutoff
| + | | sets the maximal line count of the log file
| + | | 0
| + | | 262144
| + | | 131072
| + | |
| + | |-
| + | | osdhistorydepth
| + | | sets the history depth, in lines
| + | | {{abbr|OSDMINHISTORYDEPTH|32}}
| + | | {{abbr|OSDMAXHISTORYDEPTH|256}}
| + | | 32
| + | |
| + | |-
| + | | alias
| + | |colspan="4"| creates an alias for calling multiple commands
| + | |
| + | |-
| + | | clear
| + | |colspan="4"| clears the console text buffer
| + | |
| + | |-
| + | | echo <nowiki>[</nowiki>text<nowiki>]</nowiki>
| + | |colspan="4"| echoes text to the console
| + | |
| + | |-
| + | | exec <scriptfile>
| + | |colspan="4"| executes a script
| + | |
| + | |-
| + | | fileinfo <file>
| + | |colspan="4"| gets a file's information
| + | |
| + | |-
| + | | help
| + | |colspan="4"| displays help for the specified cvar or command; "listsymbols" to show all commands
| + | |
| + | |-
| + | | history
| + | |colspan="4"| displays the console command history
| + | |
| + | |-
| + | | listsymbols
| + | |colspan="4"| lists all registered functions, cvars and aliases
| + | |
| + | |-
| + | | toggle
| + | |colspan="4"| toggles the value of a boolean cvar
| + | |
| + | |-
| + | | unalias
| + | |colspan="4"| removes a command alias
| + | |
| + | |-
| + | !colspan="6"| baselayer.c
| + | |-
| + | | r_usenewaspect
| + | | enable/disable new screen aspect ratio determination code
| + | | 0
| + | | 1
| + | | 1
| + | |
| + | |-
| + | | r_screenaspect
| + | | if using r_usenewaspect and in fullscreen, screen aspect ratio in the form XXYY, e.g. 1609 for 16:9
| + | | 0
| + | | 9999
| + | | 0
| + | |
| + | |-
| + | | r_novoxmips
| + | | turn off/on the use of mipmaps when rendering 8-bit voxels
| + | | 0
| + | | 1
| + | | 1
| + | |
| + | |-
| + | | r_voxels
| + | | enable/disable automatic sprite->voxel rendering
| + | | 0
| + | | 1
| + | | 1
| + | |
| + | |-
| + | | r_tror_nomaskpass
| + | | enable/disable additional pass in TROR software rendering
| + | | 0
| + | | 1
| + | | 1
| + | | TROR-enabled builds only
| + | |-
| + | | r_windowpositioning
| + | | enable/disable window position memory
| + | | 0
| + | | 1
| + | | 0
| + | |
| + | |-
| + | | vid_gamma
| + | | adjusts gamma component of gamma ramp
| + | | 0
| + | | 10
| + | | 1
| + | |
| + | |-
| + | | vid_contrast
| + | | adjusts contrast component of gamma ramp
| + | | 0
| + | | 10
| + | | 1
| + | |
| + | |-
| + | | vid_brightness
| + | | adjusts brightness component of gamma ramp
| + | | 0
| + | | 10
| + | | 0
| + | |
| + | |-
| + | | debug1
| + | | debug counter
| + | | -100000
| + | | 100000
| + | | 0
| + | | debug builds only
| + | |-
| + | | debug2
| + | | debug counter
| + | | -100000
| + | | 100000
| + | | 0
| + | | debug builds only
| + | |-
| + | | debug_maskdrawmode
| + | | Show mask draw orders
| + | | 0
| + | | 1
| + | | 0
| + | | debug builds only
| + | |-
| + | | setrendermode <number>
| + | |colspan="3"| sets the engine's [[rendering mode]]
| + | | 0
| + | |
| + | |-
| + | | hicsetpalettetint
| + | |colspan="4"| sets palette tinting values
| + | | debug builds only
| + | |-
| + | | glinfo
| + | |colspan="4"| shows OpenGL information about the current OpenGL mode
| + | | OpenGL-enabled builds only
| + | |-
| + | !colspan="6"| polymost.c
| + | |-
| + | | r_animsmoothing
| + | | enable/disable model animation smoothing
| + | | 0
| + | | 1
| + | | 1
| + | |
| + | |-
| + | | r_downsize
| + | | controls downsizing factor (quality) for hires textures
| + | | 0
| + | | 5
| + | | 0
| + | |
| + | |-
| + | | r_fullbrights
| + | | enable/disable fullbright textures
| + | | 0
| + | | 1
| + | | 1
| + | |
| + | |-
| + | | r_parallaxskyclamping
| + | | enable/disable parallaxed floor/ceiling sky texture clamping
| + | | 0
| + | | 1
| + | | 1
| + | |
| + | |-
| + | | r_parallaxskypanning
| + | | enable/disable parallaxed floor/ceiling panning when drawing a parallaxing sky
| + | | 0
| + | | 1
| + | | 0
| + | |
| + | |-
| + | | r_detailmapping
| + | | enable/disable detail mapping
| + | | 0
| + | | 1
| + | | 1
| + | | disabled when GL extensions are disabled, such as GL ES targets
| + | |-
| + | | r_glowmapping
| + | | enable/disable glow mapping
| + | | 0
| + | | 1
| + | | 1
| + | | disabled when GL extensions are disabled, such as GL ES targets
| + | |-
| + | | r_polygonmode
| + | | debugging feature
| + | | 0
| + | | 3
| + | | 0
| + | | disabled in GL ES targets
| + | |-
| + | | r_texcache
| + | | enable/disable OpenGL compressed texture cache
| + | | 0
| + | | 2
| + | | 2
| + | | disabled in GL ES targets
| + | |-
| + | | r_memcache
| + | | enable/disable texture cache memory cache
| + | | 0
| + | | 1
| + | | 1
| + | | disabled in GL ES targets
| + | |-
| + | | r_texcompr
| + | | enable/disable OpenGL texture compression
| + | | 0
| + | | 1
| + | | 1
| + | | disabled in GL ES targets
| + | |-
| + | | r_redbluemode
| + | | enable/disable experimental OpenGL red-blue glasses mode
| + | | 0
| + | | 1
| + | | 0
| + | | currently disabled
| + | |-
| + | | r_shadescale
| + | | multiplier for shading
| + | | 0
| + | | 10
| + | | 1
| + | |
| + | |-
| + | | r_shadescale_unbounded
| + | | enable/disable allowance of complete blackness
| + | | 0
| + | | 1
| + | | 0
| + | |
| + | |-
| + | | r_swapinterval
| + | | sets the GL swap interval (VSync)
| + | | -1
| + | | 1
| + | | 0
| + | |
| + | |-
| + | | r_npotwallmode
| + | | enable/disable emulation of walls with non-power-of-two height textures (Polymost, r_hightile 0)
| + | | 0
| + | | 1
| + | | 0
| + | |
| + | |-
| + | | r_anisotropy
| + | | changes the OpenGL texture anisotropy setting
| + | | 0
| + | | 16
| + | | 1
| + | |
| + | |-
| + | | r_texturemaxsize
| + | | changes the maximum OpenGL texture size limit
| + | | 0
| + | | 4096
| + | | 14
| + | |
| + | |-
| + | | r_texturemiplevel
| + | | changes the highest OpenGL mipmap level used
| + | | 0
| + | | 6
| + | | 0
| + | |
| + | |-
| + | | r_texfilter
| + | | changes the texture filtering settings
| + | | 0
| + | | 5
| + | | 2
| + | |
| + | |-
| + | | r_usenewshading
| + | | visibility/fog code: 0: orig. Polymost 1: 07/2011 2: linear 12/2012 3: no neg. start 03/2014
| + | | 0
| + | | 3
| + | | 3
| + | |
| + | |-
| + | | r_usetileshades
| + | | enable/disable Polymost tile shade textures
| + | | 0
| + | | 2
| + | | 2
| + | |
| + | |-
| + | | r_vbocount
| + | | sets the number of Vertex Buffer Objects to use when drawing models
| + | | 1
| + | | 256
| + | | 64
| + | | disabled when GL extensions are disabled, such as GL ES targets
| + | |-
| + | | r_vbos
| + | | enable/disable using Vertex Buffer Objects when drawing models
| + | | 0
| + | | 1
| + | | 1
| + | | disabled when GL extensions are disabled, such as GL ES targets
| + | |-
| + | | r_vertexarrays
| + | | enable/disable using vertex arrays when drawing models
| + | | 0
| + | | 1
| + | | 1
| + | |
| + | |-
| + | | r_projectionhack
| + | | enable/disable projection hack
| + | | 0
| + | | 1
| + | | 1
| + | |
| |- |  | |-
− | |cl_angleinterpolation | + | | r_models
− | |enable/disable angle interpolation | + | | enable/disable model rendering
| + | | 0
| + | | 1
| + | | 1
| + | |
| |- |  | |-
− | |cl_autoaim | + | | r_nofog
− | |enable/disable weapon autoaim | + | | enable/disable GL fog
| + | | 0
| + | | 1
| + | | 0
| + | |
| |- |  | |-
− | |cl_automsg | + | | r_hightile
− | |enable/disable automatically sending messages to all players | + | | enable/disable hightile texture rendering
| + | | 0
| + | | 1
| + | | 1
| + | |
| |- |  | |-
− | |cl_autovote | + | | r_preview_mouseaim
− | |enable/disable automatic voting | + | | toggles mouse aiming preview, use this to calibrate yxaspect in Polymost Mapster32
| + | | 0
| + | | 1
| + | | 1
| + | |
| |- |  | |-
− | |cl_democams | + | !colspan="6"| polymost.c (Polymer builds only)
− | |enable/disable demo playback cameras |
| |- |  | |-
− | |cl_idplayers | + | | r_pr_lighting
− | |enable/disable name display when aiming at opponents | + | | enable/disable dynamic lights - restarts renderer
| + | | 0
| + | | 2
| + | | 1
| + | |
| |- |  | |-
− | |cl_obituaries | + | | r_pr_normalmapping
− | |enable/disable multiplayer death messages | + | | enable/disable virtual displacement mapping
| + | | 0
| + | | 1
| + | | 1
| + | |
| |- |  | |-
− | |cl_showcoords | + | | r_pr_specularmapping
− | |show your position in the game world | + | | enable/disable specular mapping
| + | | 0
| + | | 1
| + | | 1
| + | |
| |- |  | |-
− | |cl_viewbob | + | | r_pr_shadows
− | |enable/disable player head bobbing | + | | enable/disable dynamic shadows
| + | | 0
| + | | 1
| + | | 1
| + | |
| |- |  | |-
− | |cl_weaponsway | + | | r_pr_shadowcount
− | |enable/disable player weapon swaying | + | | maximal amount of shadow emitting lights on screen - you need to restart the renderer for it to take effect
| + | | 0
| + | | 64
| + | | 5
| + | |
| |- |  | |-
− | |cl_weaponswitch | + | | r_pr_shadowdetail
− | |enable/disable auto weapon switching | + | | sets the shadow map resolution - you need to restart the renderer for it to take effect
| + | | 0
| + | | 5
| + | | 4
| + | |
| |- |  | |-
− | |crosshair | + | | r_pr_shadowfiltering
− | |enable/disable crosshair | + | | enable/disable shadow edges filtering - you need to restart the renderer for it to take effect
| + | | 0
| + | | 1
| + | | 1
| + | |
| |- |  | |-
− | |hud_althud | + | | r_pr_maxlightpasses
− | |enable/disable alternate mini-hud | + | | the maximal amount of lights a single object can by affected by
| + | | 0
| + | | {{abbr|PR_MAXLIGHTS|1024}}
| + | | 5
| + | |
| |- |  | |-
− | |hud_flashing | + | | r_pr_maxlightpriority
− | |enable/disable althud flashing | + | | lowering that value removes less meaningful lights from the scene
| + | | 0
| + | | {{abbr|PR_MAXLIGHTPRIORITY|6}}
| + | | 6
| + | |
| |- |  | |-
− | |hud_messagetime | + | | r_pr_fov
− | |length of time to display multiplayer chat messages | + | | sets the field of vision in build angle
| + | | 0
| + | | 1023
| + | | 426
| + | |
| |- |  | |-
− | |hud_numberpal | + | | r_pr_customaspect
− | |pal for alt hud numbers | + | | if non-zero, forces the 3D view aspect ratio
| + | | 0
| + | | 3
| + | | 0
| + | |
| |- |  | |-
− | |hud_numbertile | + | | r_pr_billboardingmode
− | |first tile in alt hud number set | + | | face sprite display method. 0: classic mode; 1: polymost mode
| + | | 0
| + | | 1
| + | | 1
| + | |
| |- |  | |-
− | |hud_shadows | + | | r_pr_verbosity
− | |enable/disable althud shadows | + | | verbosity level of the polymer renderer
| + | | 0
| + | | 3
| + | | 1
| + | |
| |- |  | |-
− | |hud_showmapname | + | | r_pr_wireframe
− | |enable/disable map name display on load | + | | toggles wireframe mode
| + | | 0
| + | | 1
| + | | 0
| + | |
| |- |  | |-
− | |hud_stats | + | | r_pr_vbos
− | |enable/disable level statistics display | + | | contols Vertex Buffer Object usage. 0: no VBOs. 1: VBOs for map data. 2: VBOs for model data.
| + | | 0
| + | | 2
| + | | 2
| + | |
| |- |  | |-
− | |hud_textscale | + | | r_pr_buckets
− | |sets multiplayer chat message size | + | | controls batching of primitives. 0: no batching. 1: buckets of materials.
| + | | 0
| + | | 1
| + | | 0
| + | |
| |- |  | |-
− | |in_mousebias | + | | r_pr_gpusmoothing
− | |emulates the original mouse code's weighting of input<br/> towards whichever axis is moving the most at any given time | + | | toggles model animation interpolation
| + | | 0
| + | | 1
| + | | 1
| + | |
| |- |  | |-
− | |in_mousedeadzone | + | | r_pr_overrideparallax
− | |amount of mouse movement to filter out | + | | overrides parallax mapping scale and bias values with values from the pr_parallaxscale and pr_parallaxbias cvars; use it to fine-tune DEF tokens
| + | | 0
| + | | 1
| + | | 0
| + | |
| |- |  | |-
− | |in_mousesmoothinput | + | | r_pr_parallaxscale
− | |enable/disable mouse input smoothing | + | | overriden parallax mapping offset scale
| + | | -10
| + | | 10
| + | | 0.1
| + | |
| |- |  | |-
− | |r_anamorphic | + | | r_pr_parallaxbias
− | |enable/disable widescreen mode | + | | overriden parallax mapping offset bias
| + | | -10
| + | | 10
| + | | 0
| + | |
| |- |  | |-
− | |osdhightile | + | | r_pr_overridespecular
− | |enable/disable hires art replacements for console text | + | | overrides specular material power and factor values with values from the pr_specularpower and pr_specularfactor cvars; use it to fine-tune DEF tokens
| + | | 0
| + | | 1
| + | | 0
| + | |
| |- |  | |-
− | |r_drawweapon | + | | r_pr_specularpower
− | |enable/disable weapon drawing | + | | overriden specular material power
| + | | -10
| + | | 1000
| + | | 15
| + | |
| |- |  | |-
− | |r_precache | + | | r_pr_specularfactor
− | |enable/disable the pre-level caching routine | + | | overriden specular material factor
| + | | -10
| + | | 1000
| + | | 1
| + | |
| |- |  | |-
− | |r_projectionhack | + | | r_pr_highpalookups
− | |enable/disable projection hack | + | | enable/disable highpalookups
| + | | 0
| + | | 1
| + | | 1
| + | |
| |- |  | |-
− | |r_shadows | + | | r_pr_artmapping
− | |enable/disable sprite and model shadows | + | | enable/disable art mapping
| + | | 0
| + | | 1
| + | | 1
| + | |
| |- |  | |-
− | |r_showfps | + | | r_pr_overridehud
− | |show the frame rate counter | + | | overrides hud model parameters with values from the pr_hud* cvars; use it to fine-tune DEF tokens
| + | | 0
| + | | 1
| + | | 0
| + | |
| |- |  | |-
− | |snd_ambience | + | | r_pr_hudxadd
− | |enables/disables ambient sounds | + | | overriden HUD xadd; see r_pr_overridehud
| + | | -100
| + | | 100
| + | | 0
| + | |
| |- |  | |-
− | |snd_duketalk | + | | r_pr_hudyadd
− | |enables/disables Duke's speech | + | | overriden HUD yadd; see r_pr_overridehud
| + | | -100
| + | | 100
| + | | 0
| + | |
| |- |  | |-
− | |snd_fxvolume | + | | r_pr_hudzadd
− | |volume of sound effects | + | | overriden HUD zadd; see r_pr_overridehud
| + | | -100
| + | | 100
| + | | 0
| + | |
| |- |  | |-
− | |snd_mixrate | + | | r_pr_hudangadd
− | |sound mixing rate | + | | overriden HUD angadd; see r_pr_overridehud
| + | | -1024
| + | | 1024
| + | | 0
| + | |
| |- |  | |-
− | |snd_musvolume | + | | r_pr_hudfov
− | |volume of midi music | + | | overriden HUD fov; see r_pr_overridehud
| + | | 0
| + | | 1023
| + | | 426
| + | |
| |- |  | |-
− | |snd_numbits | + | | r_pr_overridemodelscale
− | |sound bits | + | | overrides model scale if non-zero; use it to fine-tune DEF tokens
| + | | 0
| + | | 500
| + | | 0
| + | |
| |- |  | |-
− | |snd_numchannels | + | | r_pr_ati_fboworkaround
− | |the number of sound channels | + | | enable this to workaround an ATI driver bug that causes sprite shadows to be square - you need to restart the renderer for it to take effect
| + | | 0
| + | | 1
| + | | 0
| + | |
| |- |  | |-
− | |snd_numvoices | + | | r_pr_ati_nodepthoffset
− | |the number of concurrent sounds | + | | enable this to workaround an ATI driver bug that causes sprite drawing to freeze the game on Radeon X1x00 hardware - you need to restart the renderer for it to take effect
| + | | 0
| + | | 1
| + | | 0
| + | |
| |- |  | |-
− | |snd_reversestereo | + | | r_pr_nullrender
− | |reverses the stereo channels | + | | disable all draws when enabled, 2: disables updates too
| + | | 0
| + | | 3
| + | | 0
| + | |
| |- |  | |-
| + | !colspan="6"| winbits.c
| + | |-
| + | | r_togglecomposition
| + | | enable/disable toggle of desktop composition when initializing screen modes
| + | | 0
| + | | 1
| + | | 1
| + | | Windows builds only
| + | |-
| + | !colspan="6"| winlayer.c
| + | |-
| + | | maxrefreshfreq
| + | |colspan="3"| maximum display frequency to set for OpenGL Polymost modes (0=no maximum)
| + | | 60
| + | | RENDERTYPE=WIN builds only
| + | |}
| + | == Game-Specific ==
| + | {| border="1" style="font-size:10pt;" class="wikitable"
| + | ! Name !! Description !! Min !! Max !! Default !! Notes
| + | |-
| + | !colspan="6"| game.c
| + | |-
| + | | restartvid
| + | |colspan="4"| reinitialise the video mode
| + | |
| + | |-
| + | | vidmode <nowiki>[</nowiki>xdim ydim<nowiki>]</nowiki> <nowiki>[</nowiki>bpp<nowiki>]</nowiki> <nowiki>[</nowiki>fullscreen<nowiki>]</nowiki>
| + | |colspan="4"| immediately change the video mode
| + | |
| + | |-
| + | | map <nowiki>[</nowiki>filename<nowiki>]</nowiki>
| + | |colspan="4"| load a map
| + | |
| + | |-
| + | !colspan="6"| osdcmds.c
| + | |-
| + | | crosshair
| + | | enable/disable crosshair
| + | | 0
| + | | 1
| + | | 1
| + | |
| + | |-
| + | | cl_autoaim
| + | | enable/disable weapon autoaim
| + | | 0
| + | | 3
| + | | 1
| + | |
| + | |-
| + | | cl_automsg
| + | | enable/disable automatically sending messages to all players
| + | | 0
| + | | 1
| + | | 0
| + | |
| + | |-
| + | | cl_autorun
| + | | enable/disable autorun
| + | | 0
| + | | 1
| + | | 1
| + | |
| + | |-
| + | | cl_autovote
| + | | enable/disable automatic voting
| + | | 0
| + | | 2
| + | | 0
| + | |
| + | |-
| + | | cl_cheatmask
| + | | configure what cheats show in the cheats menu
| + | | 0
| + | | {{abbr|~0|4294967295}}
| + | | 0
| + | |
| + | |-
| + | | cl_obituaries
| + | | enable/disable multiplayer death messages
| + | | 0
| + | | 1
| + | | 1
| + | |
| + | |-
| + | | cl_democams
| + | | enable/disable demo playback cameras
| + | | 0
| + | | 1
| + | | 1
| + | |
| + | |-
| + | | cl_idplayers
| + | | enable/disable name display when aiming at opponents
| + | | 0
| + | | 1
| + | | 1
| + | |
| + | |-
| + | | cl_runmode
| + | | enable/disable modernized run key operation
| + | | 0
| + | | 1
| + | | 0
| + | |
| + | |-
| + | | cl_showcoords
| + | | show your position in the game world
| + | | 0
| + | | 2
| + | | 0
| + | | mode 2 only in GL builds
− | ! colspan="2"|astub.c |
| |- |  | |-
− | |addpath <path> | + | | cl_viewbob
− | |adds path to game filesystem | + | | enable/disable player head bobbing
| + | | 0
| + | | 1
| + | | 1
| + | |
| + | |-
| + | | cl_weaponsway
| + | | enable/disable player weapon swaying
| + | | 0
| + | | 1
| + | | 1
| + | |
| + | |-
| + | | cl_weaponswitch
| + | | enable/disable auto weapon switching
| + | | 0
| + | | 7
| + | | 3
| + | |
| + | |-
| + | | color
| + | | changes player palette
| + | | 0
| + | | {{abbr|MAXPALOOKUPS-1|255}}
| + | | 0
| + | |
| + | |-
| + | | crosshairscale
| + | | changes the size of the crosshair
| + | | 10
| + | | 100
| + | | 50
| + | |
| + | |-
| + | | demorec_diffs
| + | | enable/disable diff recording in demos
| + | | 0
| + | | 1
| + | | 1
| + | |
| + | |-
| + | | demorec_force
| + | | enable/disable forced demo recording
| + | | 0
| + | | 1
| + | | 0
| + | |
| + | |-
| + | | demorec_difftics
| + | | sets game tic interval after which a diff is recorded
| + | | 2
| + | | {{abbr|60*REALGAMETICSPERSEC|1800}}
| + | | 60
| + | |
| + | |-
| + | | demorec_diffcompress
| + | | Compression method for diffs. (0: none, 1: KSLZW)
| + | | 0
| + | | 1
| + | | 1
| + | |
| + | |-
| + | | demorec_synccompress
| + | | Compression method for input. (0: none, 1: KSLZW)
| + | | 0
| + | | 1
| + | | 1
| + | |
| + | |-
| + | | demorec_seeds
| + | | enable/disable recording of random seed for later sync checking
| + | | 0
| + | | 1
| + | | 1
| + | |
| + | |-
| + | | demoplay_diffs
| + | | enable/disable application of diffs in demo playback
| + | | 0
| + | | 1
| + | | 1
| + | |
| + | |-
| + | | demoplay_showsync
| + | | enable/disable display of sync status
| + | | 0
| + | | 1
| + | | 1
| + | |
| + | |-
| + | | hud_althud
| + | | enable/disable alternate mini-hud
| + | | 0
| + | | 2
| + | | 1
| + | |
| + | |-
| + | | hud_bgstretch
| + | | enable/disable background image stretching in wide resolutions
| + | | 0
| + | | 1
| + | | 0
| + | |
| + | |-
| + | | hud_messagetime
| + | | length of time to display multiplayer chat messages
| + | | 0
| + | | 3600
| + | | 120
| + | |
| + | |-
| + | | hud_numbertile
| + | | first tile in alt hud number set
| + | | 0
| + | | {{abbr|MAXUSERTILES-10|30694}}
| + | | 2930
| + | |
| + | |-
| + | | hud_numberpal
| + | | pal for alt hud numbers
| + | | 0
| + | | {{abbr|MAXPALOOKUPS-1|255}}
| + | | 0
| + | |
| + | |-
| + | | hud_shadows
| + | | enable/disable althud shadows
| + | | 0
| + | | 1
| + | | 1
| + | |
| + | |-
| + | | hud_flashing
| + | | enable/disable althud flashing
| + | | 0
| + | | 1
| + | | 1
| + | |
| + | |-
| + | | hud_glowingquotes
| + | | enable/disable "glowing" quote text
| + | | 0
| + | | 1
| + | | 1
| + | |
| + | |-
| + | | hud_scale
| + | | changes the hud scale
| + | | 36
| + | | 100
| + | | 100
| + | |
| + | |-
| + | | hud_showmapname
| + | | enable/disable map name display on load
| + | | 0
| + | | 1
| + | | 1
| + | |
| |- |  | |-
− | |echo [text] | + | | hud_stats
− | |echoes text to the console | + | | enable/disable level statistics display
| + | | 0
| + | | 1
| + | | 0
| + | |
| |- |  | |-
− | |editorgridextent | + | | hud_textscale
− | |sets the size of the 2D mode editing grid | + | | sets multiplayer chat message size
| + | | 100
| + | | 400
| + | | 100
| + | |
| |- |  | |-
− | |fileinfo <file> | + | | hud_weaponscale
− | |gets a file's information | + | | changes the weapon scale
| + | | 10
| + | | 100
| + | | 100
| + | |
| |- |  | |-
− | |gamma <value> | + | | hud_statusbarmode
− | |changes brightness | + | | change overlay mode of status bar
| + | | 0
| + | | 1
| + | | 1
| + | |
| |- |  | |-
− | |initgroupfile <path> | + | | hud_hidestick
− | |adds a grp file into the game filesystem | + | | hide the touch input stick
| + | | 0
| + | | 1
| + | | 0
| + | | touch devices only
| |- |  | |-
− | |noclip | + | | in_joystick
− | |toggles clipping mode | + | | enables input from the joystick if it is present
| + | | 0
| + | | 1
| + | | 0
| + | |
| |- |  | |-
− | |pk_quickmapcycling | + | | in_mouse
− | |allows cycling of maps with (Shift-)Ctrl-X | + | | enables input from the mouse if it is present
| + | | 0
| + | | 1
| + | | 1
| + | |
| |- |  | |-
− | |pk_turnaccel | + | | in_aimmode
− | |sets turning acceleration | + | | 0:toggle, 1:hold to aim
| + | | 0
| + | | 1
| + | | 0
| + | |
| |- |  | |-
− | |pk_turndecel | + | | in_mousebias
− | |sets turning deceleration | + | | emulates the original mouse code's weighting of input towards whichever axis is moving the most at any given time
| + | | 0
| + | | 32
| + | | 0
| + | |
| |- |  | |-
− | |pk_uedaccel | + | | in_mousedeadzone
− | |sets UnrealEd movement speed factor (0-5, exponentially) | + | | amount of mouse movement to filter out
| + | | 0
| + | | 512
| + | | 0
| + | |
| |- |  | |-
− | |quit | + | | in_mouseflip
− | |exits the game immediately | + | | invert vertical mouse movement
| + | | 0
| + | | 1
| + | | 1
| + | |
| |- |  | |-
− | |testplay_addparam <string> | + | | in_mousemode
− | |sets additional parameters for test playing | + | | toggles vertical mouse view
| + | | 0
| + | | 1
| + | | 1
| + | |
| |- |  | |-
− | |sensitivity <value> | + | | in_mousesmoothing
− | |changes the mouse sensitivity | + | | enable/disable mouse input smoothing
| + | | 0
| + | | 1
| + | | 1
| + | |
| |- |  | |-
− | |showheightindicators <0|1|2> | + | | mus_enabled
− | |toggles height indicators in 2D mode | + | | enables/disables music
| + | | 0
| + | | 1
| + | | 1
| + | |
| |- |  | |-
− | ! colspan="2"|baselayer.c | + | | mus_volume
| + | | controls music volume
| + | | 0
| + | | 255
| + | | 195
| + | |
| |- |  | |-
− | |glinfo | + | | osdhightile
− | |shows OpenGL information about the current OpenGL mode | + | | enable/disable hires art replacements for console text
| + | | 0
| + | | 1
| + | | 1
| + | |
| |- |  | |-
− | |hicsetpalettetint | + | | osdscale
− | |sets palette tinting values | + | | adjust console text size
| + | | 1
| + | | 4
| + | | 1
| + | |
| |- |  | |-
− | |r_novoxmips | + | | r_camrefreshdelay
− | |turn off/on the use of mipmaps when rendering 8-bit voxels | + | | minimum delay between security camera sprite updates, 120 = 1 second
| + | | 1
| + | | 240
| + | | 4
| + | |
| |- |  | |-
− | |r_scrcaptureformat | + | | r_drawweapon
− | |sets the output format for screenshots (TGA or PCX) | + | | enable/disable weapon drawing
| + | | 0
| + | | 2
| + | | 1
| + | |
| |- |  | |-
− | |r_voxels | + | | r_showfps
− | |enable/disable automatic sprite->voxel rendering | + | | show the frame rate counter
| + | | 0
| + | | 2
| + | | 0
| + | |
| |- |  | |-
− | |setrendermode <number> | + | | r_shadows
− | |sets the engine's rendering mode. | + | | enable/disable sprite and model shadows
− | Mode numbers are:<br/> | + | | 0
− | 0 - Classic Build software<br/> | + | | 1
− | 1 - Polygonal flat-shaded software (removed)<br/> | + | | 1
− | 2 - Polygonal textured software (removed)<br/> | + | |
− | 3 - Polygonal OpenGL |
| |- |  | |-
− |  | + | | r_size
− | ! colspan="2"|build.c | + | | change size of viewable area
| + | | 0
| + | | 64
| + | | 4
| + | |
| |- |  | |-
− | |restartvid | + | | r_rotatespritenowidescreen
− | |reinitialize the video mode | + | | pass bit 1024 to all CON rotatesprite calls
| + | | 0
| + | | 1
| + | | 0
| + | |
| |- |  | |-
− | |vidmode <xdim> <ydim> <bpp> <fullscreen> | + | | r_precache
− | |immediately change the video mode | + | | enable/disable the pre-level caching routine
| + | | 0
| + | | 1
| + | | 1
| + | |
| |- |  | |-
− |  | + | | r_ambientlight
− |  | + | | sets the global map light level
− | ! colspan="2"|osd.c | + | | 0
| + | | 10
| + | | 1
| + | |
| |- |  | |-
− | |alias | + | | r_maxfps
− | |creates an alias for calling multiple commands | + | | limit the frame rate
| + | | 0
| + | | 1000
| + | | 0
| + | |
| |- |  | |-
− | |clear | + | | sensitivity
− | |clears the console text buffer | + | | changes the mouse sensitivity
| + | | 0
| + | | 25
| + | | 7
| + | |
| |- |  | |-
− | |exec <scriptfile> | + | | skill
− | |executes a script | + | | changes the game skill setting
| + | | 0
| + | | 5
| + | | 2
| + | |
| |- |  | |-
− | |help | + | | snd_ambience
− | |displays help for the specified cvar or command | + | | enables/disables ambient sounds
| + | | 0
| + | | 1
| + | | 1
| + | |
| |- |  | |-
− | |history | + | | snd_duketalk
− | |displays the console command history | + | | enables/disables Duke's speech
| + | | 0
| + | | 5
| + | | 5
| + | |
| |- |  | |-
− | |listsymbols | + | | snd_enabled
− | |lists all the recognized symbols | + | | enables/disables sound effects
| + | | 0
| + | | 1
| + | | 1
| + | |
| |- |  | |-
− | |logcutoff | + | | snd_mastervolume
− | |sets the maximal line count of the log file | + | | master volume for sound system
| + | | 0
| + | | 255
| + | | 255
| + | |
| |- |  | |-
− | |osdeditpal | + | | snd_fxvolume
− | |sets the palette of the OSD input text | + | | volume of sound effects
| + | | 1
| + | | 255
| + | | 225
| + | |
| |- |  | |-
− | |osdeditshade | + | | snd_mixrate
− | |sets the shade of the OSD input text | + | | sound mixing rate
| + | | 0
| + | | 48000
| + | | 44100
| + | |
| |- |  | |-
− | |osdpromptpal | + | | snd_numchannels
− | |sets the palette of the OSD prompt | + | | the number of sound channels
| + | | 0
| + | | 2
| + | | 2
| + | |
| |- |  | |-
− | |osdpromptshade | + | | snd_numvoices
− | |sets the shade of the OSD prompt | + | | the number of concurrent sounds
| + | | 0
| + | | 256
| + | | 32
| + | |
| |- |  | |-
− | |osdrows | + | | snd_reversestereo
− | |sets the number of visible lines of the OSD | + | | reverses the stereo channels
| + | | 0
| + | | 1
| + | | 0
| + | |
| |- |  | |-
− | |osdtextmode | + | | team
− | |set OSD text mode (0:graphical, 1:fast) | + | | change team in multiplayer
| + | | 0
| + | | 3
| + | | 0
| + | |
| |- |  | |-
− | |osdtextpal | + | | touch_sens_move_x
− | |sets the palette of the OSD text | + | | touch input sensitivity for moving forward/back
| + | | 1
| + | | 9
| + | | 5
| + | | touch devices only
| |- |  | |-
− | |osdtextshade | + | | touch_sens_move_y
− | |sets the shade of the OSD text | + | | touch input sensitivity for strafing
| + | | 1
| + | | 9
| + | | 5
| + | | touch devices only
| |- |  | |-
− | |unalias | + | | touch_sens_look_x
− | |removes an alias created with "alias" | + | | touch input sensitivity for turning left/right
| + | | 1
| + | | 9
| + | | 5
| + | | touch devices only
| |- |  | |-
− |  | + | | touch_sens_look_y
− |  | + | | touch input sensitivity for looking up/down
− | ! colspan="2"|osdcmds.c | + | | 1
| + | | 9
| + | | 5
| + | | touch devices only
| |- |  | |-
− | |addlogvar <gamevar> | + | | touch_invert
− | |prints the value of a gamevar | + | | invert look up/down touch input
| + | | 0
| + | | 1
| + | | 0
| + | | touch devices only
| |- |  | |-
− | |addpath <path> | + | | vid_gamma
− | |adds path to game filesystem | + | | adjusts gamma component of gamma ramp
| + | | 0
| + | | 10
| + | | 1
| + | |
| |- |  | |-
− | |bind | + | | vid_contrast
− | |executes a command script when <key> gets pressed.<br> Type "bind showkeys" for a list of keys | + | | adjusts contrast component of gamma ramp
| + | | 0
| + | | 10
| + | | 1
| + | |
| |- |  | |-
− | |changelevel <level> | + | | vid_brightness
− | |warps to the given level | + | | adjusts brightness component of gamma ramp
| + | | 0
| + | | 10
| + | | 0
| + | |
| |- |  | |-
− | |changelevel <volume> <level> | + | | wchoice <string>
− | |warps to the given level | + | |colspan="3"| sets weapon autoselection order
| + | | 3457860291
| + | |
| |- |  | |-
− | |cmenu <#> | + | | changelevel <volume> <level>
− | |jumps to menu | + | |colspan="4"| warps to the given level
| + | | no <volume> parameter when running a shareware game
| |- |  | |-
− | |crosshaircolor | + | | map <mapfile>
− | |changes crosshair color | + | |colspan="4"| loads the given user map
| + | | not available with a shareware game
| |- |  | |-
− | |crosshairscale | + | | demo <demofile or demonum>
− | |changes the crosshair scale | + | |colspan="4"| starts the given demo
| + | | not available with a shareware game
| |- |  | |-
− | |echo [text] | + | | addpath <path>
− | |echoes text to the console | + | |colspan="4"| adds path to game filesystem
| + | |
| |- |  | |-
− | |exit | + | | bind <key> <string>
− | |exits the game immediately | + | |colspan="4"| associates a keypress with a string of console input. Type "bind showkeys" for a list of keys and "listsymbols" for a list of valid console commands.
| + | |
| |- |  | |-
− | |fileinfo <file> | + | | cmenu <#>
− | |gets a file's information | + | |colspan="4"| jumps to menu
| + | |
| |- |  | |-
− | |give <item> | + | | crosshaircolor
− | |gives requested item. Item can be all, health, weapons, ammo, armor, keys or inventory. | + | |colspan="4"| changes the crosshair color
| + | |
| |- |  | |-
− | |god | + | | connect
− | |toggles god mode | + | |colspan="4"| connects to a multiplayer game
| + | |
| |- |  | |-
− | |hud_scale | + | | disconnect
− | |changes the hud scale | + | |colspan="4"| disconnects from the local multiplayer game
| + | |
| |- |  | |-
− | |hud_weaponscale | + | | give <all<nowiki>|</nowiki>health<nowiki>|</nowiki>weapons<nowiki>|</nowiki>ammo<nowiki>|</nowiki>armor<nowiki>|</nowiki>keys<nowiki>|</nowiki>inventory>
− | |changes the weapon scale | + | |colspan="4"| gives requested item
| + | |
| |- |  | |-
− | |in_joystick | + | | god
− | |enables input from the joystick if it is present | + | |colspan="4"| toggles god mode
| + | |
| |- |  | |-
− | |in_mouse | + | | initgroupfile <path>
− | |enables input from the mouse if it is present | + | |colspan="4"| adds a grp file into the game filesystem
| + | |
| |- |  | |-
− | |initgroupfile <path> | + | | debug
− | |adds a grp file into the game filesystem | + | |colspan="4"|
| + | | debug builds only
| |- |  | |-
− | |map <mapfile> | + | | kick <id>
− | |loads the given user map | + | |colspan="4"| kicks a multiplayer client. See listplayers.
| + | | network-enabled builds only
| |- |  | |-
− | |name | + | | kickban <id>
− | |change your multiplayer nickname | + | |colspan="4"| kicks a multiplayer client and prevents them from reconnecting. See listplayers.
| + | | network-enabled builds only
| |- |  | |-
− | |noclip | + | | listplayers
− | |toggles clipping mode | + | |colspan="4"| lists currently connected multiplayer clients
| + | | network-enabled builds only
| |- |  | |-
− | |quickload | + | | music E<ep>L<lev>
− | |performs a quick load | + | |colspan="4"| change music
| + | |
| |- |  | |-
− | |quicksave | + | | name
− | |performs a quick save | + | |colspan="4"| change your multiplayer nickname
| + | |
| |- |  | |-
− | |quit | + | | noclip
− | |exits the game immediately | + | |colspan="4"| toggles clipping mode
| + | |
| |- |  | |-
− | |r_ambientlight | + | | password
− | |sets the global map light level | + | |colspan="4"| sets multiplayer game password
| + | |
| |- |  | |-
− | |r_maxfps | + | | quicksave
− | |sets a framerate cap | + | |colspan="4"| performs a quick save
| + | |
| |- |  | |-
− | |rate | + | | quickload
− | |sets the multiplayer packet send rate, in packets/sec | + | |colspan="4"| performs a quick load
| + | |
| |- |  | |-
− | |restartsound | + | | quit
− | |reinitializes the sound system | + | |colspan="4"| exits the game immediately
| + | |
| |- |  | |-
− | |restartvid | + | | exit
− | |reinitializes the video mode | + | |colspan="4"| exits the game immediately
| + | |
| |- |  | |-
− | |screenshot | + | | restartmap
− | |takes a screenshot | + | |colspan="4"| restarts the current map
| + | |
| |- |  | |-
− | |sensitivity <value> | + | | restartsound
− | |changes the mouse sensitivity | + | |colspan="4"| reinitializes the sound system
| + | |
| |- |  | |-
− | |setactorvar <actor#> <gamevar> <value> | + | | restartvid
− | |sets the value of <actor#>'s <gamevar> to <value> | + | |colspan="4"| reinitializes the video mode
| + | |
| |- |  | |-
− | |setvar <gamevar> <value> | + | | addlogvar <gamevar>
− | |sets the value of a gamevar | + | |colspan="4"| prints the value of a gamevar
| + | | non-Lunatic builds only
| |- |  | |-
− | |setvarvar <gamevar1> <gamevar2> | + | | setvar <gamevar> <value>
− | |sets the value of <gamevar1> to <gamevar2> | + | |colspan="4"| sets the value of a gamevar
| + | | non-Lunatic builds only
| |- |  | |-
− | |spawn <picnum> [palnum] [cstat] [ang] [x y z] | + | | setvarvar <gamevar1> <gamevar2>
− | |spawns a sprite with the given properties | + | |colspan="4"| sets the value of <gamevar1> to <gamevar2>
| + | | non-Lunatic builds only
| |- |  | |-
− | |unbind <key> | + | | setactorvar <actor#> <gamevar> <value>
− | |unbinds a key | + | |colspan="4"| sets the value of <actor#>'s <gamevar> to <value>
| + | | non-Lunatic builds only
| |- |  | |-
− | |unbindall | + | | lua "Lua code..."
− | |unbinds all keys | + | |colspan="4"| runs Lunatic code
| + | | Lunatic builds only
| |- |  | |-
− | |vid_brightness <gamma> | + | | screenshot
− | |adjusts gamma ramp | + | |colspan="4"| takes a screenshot. See r_scrcaptureformat.
| + | |
| |- |  | |-
− | |vid_contrast <gamma> | + | | spawn <picnum> <nowiki>[</nowiki>palnum<nowiki>]</nowiki> <nowiki>[</nowiki>cstat<nowiki>]</nowiki> <nowiki>[</nowiki>ang<nowiki>]</nowiki> <nowiki>[</nowiki>x y z<nowiki>]</nowiki>
− | |adjusts gamma ramp | + | |colspan="4"| spawns a sprite with the given properties
| + | |
| |- |  | |-
− | |vid_gamma <gamma> | + | | unbind <key>
− | |adjusts gamma ramp | + | |colspan="4"| unbinds a key
| + | |
| |- |  | |-
− | |vidmode <xdim> <ydim> <bpp> <fullscreen> | + | | unbindall
− | |immediately change the video mode. | + | |colspan="4"| unbinds all keys
| + | |
| |- |  | |-
| + | | vidmode <xdim> <ydim> <bpp> <fullscreen>
| + | |colspan="4"| change the video mode
| + | |
| + | |}
| + | == Editor-Specific ==
− | ! colspan="2"|polymost.c | + | {| border="1" style="font-size:10pt;" class="wikitable"
| + | ! Name !! Description !! Min !! Max !! Default !! Notes
| |- |  | |-
− | |r_animsmoothing | + | !colspan="6"| build.c
− | |enable/disable model animation smoothing |
| |- |  | |-
− | |r_curpeel | + | | restartvid
− | |allows to display one depth layer at a time (for development purposes) | + | |colspan="4"| reinitialize the video mode
| + | |
| |- |  | |-
− | |r_depthpeeling | + | | vidmode <xdim> <ydim> <bpp> <fullscreen>
− | |enable/disable order-independant transparency | + | |colspan="4"| immediately change the video mode
| + | |
| |- |  | |-
− | |r_detailmapping | + | | vidmode <xdim> <ydim>
− | |enable/disable detail mapping | + | |colspan="4"| immediately change the video mode
| + | |
| |- |  | |-
− | |r_downsize | + | !colspan="6"| astub.c
− | |controls downsizing factor for hires textures |
| |- |  | |-
− | |r_fullbrights | + | | addpath <path>
− | |enable/disable fullbright textures | + | |colspan="4"| adds path to game filesystem
| + | |
| |- |  | |-
− | |r_glowmapping | + | | editorgridextent
− | |enable/disable glow mapping | + | | sets the size of the 2D mode editing grid
| + | | 65536
| + | | {{abbr|BXY_MAX|524288}}
| + | | 131072
| + | |
| |- |  | |-
− | |r_hightile | + | | initgroupfile <path>
− | |enable/disable hightile texture rendering in >8-bit mode | + | |colspan="4"| adds a grp file into the game filesystem
| + | |
| |- |  | |-
− | |r_modelocclusionchecking | + | | m32_clipping
− | |enable/disable hack to cull "obstructed" models | + | | toggles clipping mode
| + | | 0
| + | | 2
| + | | 2
| + | |
| |- |  | |-
− | |r_models | + | | quit
− | |enable/disable model rendering in >8-bit mode | + | |colspan="4"| exits the editor immediately
| + | |
| |- |  | |-
− | |r_multisample | + | | exit
− | |sets the number of samples used for antialiasing (0 = off) | + | |colspan="4"| exits the editor immediately
| + | |
| |- |  | |-
− | |r_nvmultisamplehint | + | | sensitivity <value>
− | |enable/disable Nvidia multisampling hinting | + | |colspan="3"| changes the mouse sensitivity
| + | | 1
| + | |
| |- |  | |-
− | |r_parallaxskyclamping | + | | m32_2d3dmode
− | |enable/disable parallaxed floor/ceiling sky texture clamping | + | | experimental 2d/3d hybrid mode
| + | | 0
| + | | 1
| + | | 0
| + | |
| |- |  | |-
− | |r_parallaxskypanning | + | | pointhighlightdist <value>
− | |enable/disable parallaxed floor/ceiling panning when drawing a parallaxed sky | + | |colspan="3"| distance at which points are selected
| + | | 512
| + | |
| |- |  | |-
− | |r_peelscount | + | | linehighlightdist <value>
− | |sets the number of depth layers for depth peeling | + | |colspan="3"| distance at which lines are selected
| + | | 1024
| + | |
| |- |  | |-
− | |r_polygonmode | + | | pk_turnaccel <value>
− | |debugging feature | + | | sets turning acceleration+deceleration
| + | | 1
| + | | 256
| + | | 16
| + | |
| |- |  | |-
− | |r_redbluemode | + | | pk_turndecel <value>
− | |enable/disable experimental OpenGL red-blue glasses mode | + | | sets turning deceleration
| + | | 1
| + | | 128
| + | | 12
| + | |
| |- |  | |-
− | |r_shadescale | + | | pk_uedaccel <value>
− | |multiplier for lighting | + | | sets UnrealEd movement speed factor (0-5, exponentially)
| + | | 0
| + | | 5
| + | | 3
| + | |
| |- |  | |-
− | |r_swapinterval | + | | pk_quickmapcycling
− | |sets the GL swap interval (VSync) | + | | toggles quick cycling of maps with (Shift-)Ctrl-X
| + | | 0
| + | | 1
| + | | 1
| + | |
| |- |  | |-
− | |r_texcache | + | | testplay_addparam "string"
− | |enable/disable OpenGL compressed texture cache | + | |colspan="4"| sets additional parameters for test playing
| + | |
| |- |  | |-
− | |r_texcachecompression | + | | show_heightindicators {0, 1 or 2}
− | |enable/disable compression of files in the OpenGL compressed texture cache | + | | sets display of height indicators in 2D mode
| + | | 0
| + | | 2
| + | | 1
| + | |
| |- |  | |-
− | |r_texcompr | + | | show_ambiencesounds {0, 1 or 2}
− | |enable/disable OpenGL texture compression | + | | sets display of MUSICANDSFX circles in 2D mode
| + | | 0
| + | | 2
| + | | 2
| + | |
| |- |  | |-
− | |r_textureanisotropy | + | | corruptcheck_noalreadyrefd
− | |changes the OpenGL texture anisotropy setting | + | |colspan="4"| toggles ignoring of one-to-many red wall connections
| + | |
| |- |  | |-
− | |r_texturemaxsize | + | | corruptcheck_game_duke3d
− | |changes the maximum OpenGL texture size limit | + | |colspan="4"| toggles ignoring of Duke3D issues
| + | |
| |- |  | |-
− | |r_texturemiplevel | + | | corruptcheck_heinum
− | |changes the highest OpenGL mipmap level used | + | | toggles auto-correcting inconsistent c/fstat bit 2 and heinum (2: also warn)
| + | | 0
| + | | 2
| + | | 1
| + | |
| |- |  | |-
− | |r_texturemode | + | | keeptexturestretch
− | |changes the texture filtering settings | + | |colspan="4"| toggles keeping texture stretching when dragging wall vertices
| + | |
| |- |  | |-
− | |r_vbocount | + | | corruptcheck {<seconds><nowiki>|</nowiki>now<nowiki>|</nowiki>tryfix}
− | |sets the number of Vertex Buffer Objects to use when drawing models | + | |colspan="4"| sets auto corruption check interval if <seconds> given, otherwise as indicated
| + | |
| |- |  | |-
− | |r_vbos | + | | tint <pal> <r> <g> <nowiki><b></nowiki> <flags>
− | |enable/disable using Vertex Buffer Objects when drawing models | + | |colspan="4"| queries or sets hightile tinting
| + | | OpenGL-enabled builds only
| |- |  | |-
− | |r_vertexarrays | + | | lua "Lua code..."
− | |enable/disable using vertex arrays when drawing models | + | |colspan="4"| runs Lua code
| + | | Lunatic builds only
| |- |  | |-
− |  | + | | include <filenames...>
− | ! colspan="2"|winlayer.c | + | |colspan="4"| compiles one or more M32 script files
| + | |
| + | |-
| + | | do (m32 script ...)
| + | |colspan="4"| executes M32 script statements
| + | |
| + | |-
| + | | script_info
| + | |colspan="4"| shows information about compiled M32 script
| + | |
| + | |-
| + | | script_expertmode <value>
| + | |colspan="4"| toggles M32 script expert mode
| + | |
| + | |-
| + | | enableevent {all<nowiki>|</nowiki>EVENT_...<nowiki>|</nowiki>(event number)}
| + | |colspan="4"|
| + | |
| + | |-
| + | | disableevent {all<nowiki>|</nowiki>EVENT_...<nowiki>|</nowiki>(event number)}
| + | |colspan="4"|
| + | |
| + | |-
| + | | osd_tryscript
| + | |colspan="4"| toggles execution of M32 script on invalid OSD command
| + | |
| |- |  | |-
− | |maxrefreshfreq | + | | sideview_reversehorizrot
− | |maximum display frequency to set for OpenGL Polymost modes (0=no maximum) | + | |colspan="4"| toggles reversion of Q and W keys in side view mode
| + | |
| |- |  | |-
− | |r_windowpositioning | + | | disasm <nowiki>[</nowiki>s<nowiki>|</nowiki>e<nowiki>]</nowiki> <state or event number>
− | |enable/disable window position memory | + | |colspan="4"|
| + | | debug builds only
| |} |  | |}

## Latest revision as of 17:39, 28 January 2016

Feel free to ask the EDuke32 developers any questions you may have.

NOTE: Most defaults were taken from a Windows build.

## Engine

Name | Description | Min | Max | Default | Notes
--- | --- | --- | --- | --- | ---
osd.c
osdeditpal | sets the palette of the OSD input text | 0 | MAXPALOOKUPS-1 | 12 |
osdpromptpal | sets the palette of the OSD prompt | 0 | MAXPALOOKUPS-1 | 0 |
osdtextpal | sets the palette of the OSD text | 0 | MAXPALOOKUPS-1 | 12 |
osdeditshade | sets the shade of the OSD input text | 0 | 7 | 0 |
osdtextshade | sets the shade of the OSD text | 0 | 7 | 2 |
osdpromptshade | sets the shade of the OSD prompt | INT8_MIN | INT8_MAX | 0 |
osdrows | sets the number of visible lines of the OSD | 1 | 400 | 20 |
osdtextmode | set OSD text mode (0:graphical, 1:fast) | 0 | 1 | 0 |
osdlogcutoff | sets the maximal line count of the log file | 0 | 262144 | 131072 |
osdhistorydepth | sets the history depth, in lines | OSDMINHISTORYDEPTH | OSDMAXHISTORYDEPTH | 32 |
alias | creates an alias for calling multiple commands |
clear | clears the console text buffer |
echo [text] | echoes text to the console |
exec <scriptfile> | executes a script |
fileinfo <file> | gets a file's information |
help | displays help for the specified cvar or command; "listsymbols" to show all commands |
history | displays the console command history |
listsymbols | lists all registered functions, cvars and aliases |
toggle | toggles the value of a boolean cvar |
unalias | removes a command alias |
baselayer.c
r_usenewaspect | enable/disable new screen aspect ratio determination code | 0 | 1 | 1 |
r_screenaspect | if using r_usenewaspect and in fullscreen, screen aspect ratio in the form XXYY, e.g. 1609 for 16:9 | 0 | 9999 | 0 |
r_novoxmips | turn off/on the use of mipmaps when rendering 8-bit voxels | 0 | 1 | 1 |
r_voxels | enable/disable automatic sprite->voxel rendering | 0 | 1 | 1 |
r_tror_nomaskpass | enable/disable additional pass in TROR software rendering | 0 | 1 | 1 | TROR-enabled builds only
r_windowpositioning | enable/disable window position memory | 0 | 1 | 0 |
vid_gamma | adjusts gamma component of gamma ramp | 0 | 10 | 1 |
vid_contrast | adjusts contrast component of gamma ramp | 0 | 10 | 1 |
vid_brightness | adjusts brightness component of gamma ramp | 0 | 10 | 0 |
debug1 | debug counter | -100000 | 100000 | 0 | debug builds only
debug2 | debug counter | -100000 | 100000 | 0 | debug builds only
debug_maskdrawmode | Show mask draw orders | 0 | 1 | 0 | debug builds only
setrendermode <number> | sets the engine's rendering mode | 0 |
hicsetpalettetint | sets palette tinting values | debug builds only
glinfo | shows OpenGL information about the current OpenGL mode | OpenGL-enabled builds only
polymost.c
r_animsmoothing | enable/disable model animation smoothing | 0 | 1 | 1 |
r_downsize | controls downsizing factor (quality) for hires textures | 0 | 5 | 0 |
r_fullbrights | enable/disable fullbright textures | 0 | 1 | 1 |
r_parallaxskyclamping | enable/disable parallaxed floor/ceiling sky texture clamping | 0 | 1 | 1 |
r_parallaxskypanning | enable/disable parallaxed floor/ceiling panning when drawing a parallaxing sky | 0 | 1 | 0 |
r_detailmapping | enable/disable detail mapping | 0 | 1 | 1 | disabled when GL extensions are disabled, such as GL ES targets
r_glowmapping | enable/disable glow mapping | 0 | 1 | 1 | disabled when GL extensions are disabled, such as GL ES targets
r_polygonmode | debugging feature | 0 | 3 | 0 | disabled in GL ES targets
r_texcache | enable/disable OpenGL compressed texture cache | 0 | 2 | 2 | disabled in GL ES targets
r_memcache | enable/disable texture cache memory cache | 0 | 1 | 1 | disabled in GL ES targets
r_texcompr | enable/disable OpenGL texture compression | 0 | 1 | 1 | disabled in GL ES targets
r_redbluemode | enable/disable experimental OpenGL red-blue glasses mode | 0 | 1 | 0 | currently disabled
r_shadescale | multiplier for shading | 0 | 10 | 1 |
r_shadescale_unbounded | enable/disable allowance of complete blackness | 0 | 1 | 0 |
r_swapinterval | sets the GL swap interval (VSync) | -1 | 1 | 0 |
r_npotwallmode | enable/disable emulation of walls with non-power-of-two height textures (Polymost, r_hightile 0) | 0 | 1 | 0 |
r_anisotropy | changes the OpenGL texture anisotropy setting | 0 | 16 | 1 |
r_texturemaxsize | changes the maximum OpenGL texture size limit | 0 | 4096 | 14 |
r_texturemiplevel | changes the highest OpenGL mipmap level used | 0 | 6 | 0 |
r_texfilter | changes the texture filtering settings | 0 | 5 | 2 |
r_usenewshading | visibility/fog code: 0: orig. Polymost 1: 07/2011 2: linear 12/2012 3: no neg. start 03/2014 | 0 | 3 | 3 |
r_usetileshades | enable/disable Polymost tile shade textures | 0 | 2 | 2 |
r_vbocount | sets the number of Vertex Buffer Objects to use when drawing models | 1 | 256 | 64 | disabled when GL extensions are disabled, such as GL ES targets
r_vbos | enable/disable using Vertex Buffer Objects when drawing models | 0 | 1 | 1 | disabled when GL extensions are disabled, such as GL ES targets
r_vertexarrays | enable/disable using vertex arrays when drawing models | 0 | 1 | 1 |
r_projectionhack | enable/disable projection hack | 0 | 1 | 1 |
r_models | enable/disable model rendering | 0 | 1 | 1 |
r_nofog | enable/disable GL fog | 0 | 1 | 0 |
r_hightile | enable/disable hightile texture rendering | 0 | 1 | 1 |
r_preview_mouseaim | toggles mouse aiming preview, use this to calibrate yxaspect in Polymost Mapster32 | 0 | 1 | 1 |
polymost.c (Polymer builds only)
r_pr_lighting | enable/disable dynamic lights - restarts renderer | 0 | 2 | 1 |
r_pr_normalmapping | enable/disable virtual displacement mapping | 0 | 1 | 1 |
r_pr_specularmapping | enable/disable specular mapping | 0 | 1 | 1 |
r_pr_shadows | enable/disable dynamic shadows | 0 | 1 | 1 |
r_pr_shadowcount | maximal amount of shadow emitting lights on screen - you need to restart the renderer for it to take effect | 0 | 64 | 5 |
r_pr_shadowdetail | sets the shadow map resolution - you need to restart the renderer for it to take effect | 0 | 5 | 4 |
r_pr_shadowfiltering | enable/disable shadow edges filtering - you need to restart the renderer for it to take effect | 0 | 1 | 1 |
r_pr_maxlightpasses | the maximal amount of lights a single object can by affected by | 0 | PR_MAXLIGHTS | 5 |
r_pr_maxlightpriority | lowering that value removes less meaningful lights from the scene | 0 | PR_MAXLIGHTPRIORITY | 6 |
r_pr_fov | sets the field of vision in build angle | 0 | 1023 | 426 |
r_pr_customaspect | if non-zero, forces the 3D view aspect ratio | 0 | 3 | 0 |
r_pr_billboardingmode | face sprite display method. 0: classic mode; 1: polymost mode | 0 | 1 | 1 |
r_pr_verbosity | verbosity level of the polymer renderer | 0 | 3 | 1 |
r_pr_wireframe | toggles wireframe mode | 0 | 1 | 0 |
r_pr_vbos | contols Vertex Buffer Object usage. 0: no VBOs. 1: VBOs for map data. 2: VBOs for model data. | 0 | 2 | 2 |
r_pr_buckets | controls batching of primitives. 0: no batching. 1: buckets of materials. | 0 | 1 | 0 |
r_pr_gpusmoothing | toggles model animation interpolation | 0 | 1 | 1 |
r_pr_overrideparallax | overrides parallax mapping scale and bias values with values from the pr_parallaxscale and pr_parallaxbias cvars; use it to fine-tune DEF tokens | 0 | 1 | 0 |
r_pr_parallaxscale | overriden parallax mapping offset scale | -10 | 10 | 0.1 |
r_pr_parallaxbias | overriden parallax mapping offset bias | -10 | 10 | 0 |
r_pr_overridespecular | overrides specular material power and factor values with values from the pr_specularpower and pr_specularfactor cvars; use it to fine-tune DEF tokens | 0 | 1 | 0 |
r_pr_specularpower | overriden specular material power | -10 | 1000 | 15 |
r_pr_specularfactor | overriden specular material factor | -10 | 1000 | 1 |
r_pr_highpalookups | enable/disable highpalookups | 0 | 1 | 1 |
r_pr_artmapping | enable/disable art mapping | 0 | 1 | 1 |
r_pr_overridehud | overrides hud model parameters with values from the pr_hud* cvars; use it to fine-tune DEF tokens | 0 | 1 | 0 |
r_pr_hudxadd | overriden HUD xadd; see r_pr_overridehud | -100 | 100 | 0 |
r_pr_hudyadd | overriden HUD yadd; see r_pr_overridehud | -100 | 100 | 0 |
r_pr_hudzadd | overriden HUD zadd; see r_pr_overridehud | -100 | 100 | 0 |
r_pr_hudangadd | overriden HUD angadd; see r_pr_overridehud | -1024 | 1024 | 0 |
r_pr_hudfov | overriden HUD fov; see r_pr_overridehud | 0 | 1023 | 426 |
r_pr_overridemodelscale | overrides model scale if non-zero; use it to fine-tune DEF tokens | 0 | 500 | 0 |
r_pr_ati_fboworkaround | enable this to workaround an ATI driver bug that causes sprite shadows to be square - you need to restart the renderer for it to take effect | 0 | 1 | 0 |
r_pr_ati_nodepthoffset | enable this to workaround an ATI driver bug that causes sprite drawing to freeze the game on Radeon X1x00 hardware - you need to restart the renderer for it to take effect | 0 | 1 | 0 |
r_pr_nullrender | disable all draws when enabled, 2: disables updates too | 0 | 3 | 0 |
winbits.c
r_togglecomposition | enable/disable toggle of desktop composition when initializing screen modes | 0 | 1 | 1 | Windows builds only
winlayer.c
maxrefreshfreq | maximum display frequency to set for OpenGL Polymost modes (0=no maximum) | 60 | RENDERTYPE=WIN builds only

## Game-Specific

Name | Description | Min | Max | Default | Notes
--- | --- | --- | --- | --- | ---
game.c
restartvid | reinitialise the video mode |
vidmode [xdim ydim] [bpp] [fullscreen] | immediately change the video mode |
map [filename] | load a map |
osdcmds.c
crosshair | enable/disable crosshair | 0 | 1 | 1 |
cl_autoaim | enable/disable weapon autoaim | 0 | 3 | 1 |
cl_automsg | enable/disable automatically sending messages to all players | 0 | 1 | 0 |
cl_autorun | enable/disable autorun | 0 | 1 | 1 |
cl_autovote | enable/disable automatic voting | 0 | 2 | 0 |
cl_cheatmask | configure what cheats show in the cheats menu | 0 | ~0 | 0 |
cl_obituaries | enable/disable multiplayer death messages | 0 | 1 | 1 |
cl_democams | enable/disable demo playback cameras | 0 | 1 | 1 |
cl_idplayers | enable/disable name display when aiming at opponents | 0 | 1 | 1 |
cl_runmode | enable/disable modernized run key operation | 0 | 1 | 0 |
cl_showcoords | show your position in the game world | 0 | 2 | 0 | mode 2 only in GL builds
cl_viewbob | enable/disable player head bobbing | 0 | 1 | 1 |
cl_weaponsway | enable/disable player weapon swaying | 0 | 1 | 1 |
cl_weaponswitch | enable/disable auto weapon switching | 0 | 7 | 3 |
color | changes player palette | 0 | MAXPALOOKUPS-1 | 0 |
crosshairscale | changes the size of the crosshair | 10 | 100 | 50 |
demorec_diffs | enable/disable diff recording in demos | 0 | 1 | 1 |
demorec_force | enable/disable forced demo recording | 0 | 1 | 0 |
demorec_difftics | sets game tic interval after which a diff is recorded | 2 | 60*REALGAMETICSPERSEC | 60 |
demorec_diffcompress | Compression method for diffs. (0: none, 1: KSLZW) | 0 | 1 | 1 |
demorec_synccompress | Compression method for input. (0: none, 1: KSLZW) | 0 | 1 | 1 |
demorec_seeds | enable/disable recording of random seed for later sync checking | 0 | 1 | 1 |
demoplay_diffs | enable/disable application of diffs in demo playback | 0 | 1 | 1 |
demoplay_showsync | enable/disable display of sync status | 0 | 1 | 1 |
hud_althud | enable/disable alternate mini-hud | 0 | 2 | 1 |
hud_bgstretch | enable/disable background image stretching in wide resolutions | 0 | 1 | 0 |
hud_messagetime | length of time to display multiplayer chat messages | 0 | 3600 | 120 |
hud_numbertile | first tile in alt hud number set | 0 | MAXUSERTILES-10 | 2930 |
hud_numberpal | pal for alt hud numbers | 0 | MAXPALOOKUPS-1 | 0 |
hud_shadows | enable/disable althud shadows | 0 | 1 | 1 |
hud_flashing | enable/disable althud flashing | 0 | 1 | 1 |
hud_glowingquotes | enable/disable "glowing" quote text | 0 | 1 | 1 |
hud_scale | changes the hud scale | 36 | 100 | 100 |
hud_showmapname | enable/disable map name display on load | 0 | 1 | 1 |
hud_stats | enable/disable level statistics display | 0 | 1 | 0 |
hud_textscale | sets multiplayer chat message size | 100 | 400 | 100 |
hud_weaponscale | changes the weapon scale | 10 | 100 | 100 |
hud_statusbarmode | change overlay mode of status bar | 0 | 1 | 1 |
hud_hidestick | hide the touch input stick | 0 | 1 | 0 | touch devices only
in_joystick | enables input from the joystick if it is present | 0 | 1 | 0 |
in_mouse | enables input from the mouse if it is present | 0 | 1 | 1 |
in_aimmode | 0:toggle, 1:hold to aim | 0 | 1 | 0 |
in_mousebias | emulates the original mouse code's weighting of input towards whichever axis is moving the most at any given time | 0 | 32 | 0 |
in_mousedeadzone | amount of mouse movement to filter out | 0 | 512 | 0 |
in_mouseflip | invert vertical mouse movement | 0 | 1 | 1 |
in_mousemode | toggles vertical mouse view | 0 | 1 | 1 |
in_mousesmoothing | enable/disable mouse input smoothing | 0 | 1 | 1 |
mus_enabled | enables/disables music | 0 | 1 | 1 |
mus_volume | controls music volume | 0 | 255 | 195 |
osdhightile | enable/disable hires art replacements for console text | 0 | 1 | 1 |
osdscale | adjust console text size | 1 | 4 | 1 |
r_camrefreshdelay | minimum delay between security camera sprite updates, 120 = 1 second | 1 | 240 | 4 |
r_drawweapon | enable/disable weapon drawing | 0 | 2 | 1 |
r_showfps | show the frame rate counter | 0 | 2 | 0 |
r_shadows | enable/disable sprite and model shadows | 0 | 1 | 1 |
r_size | change size of viewable area | 0 | 64 | 4 |
r_rotatespritenowidescreen | pass bit 1024 to all CON rotatesprite calls | 0 | 1 | 0 |
r_precache | enable/disable the pre-level caching routine | 0 | 1 | 1 |
r_ambientlight | sets the global map light level | 0 | 10 | 1 |
r_maxfps | limit the frame rate | 0 | 1000 | 0 |
sensitivity | changes the mouse sensitivity | 0 | 25 | 7 |
skill | changes the game skill setting | 0 | 5 | 2 |
snd_ambience | enables/disables ambient sounds | 0 | 1 | 1 |
snd_duketalk | enables/disables Duke's speech | 0 | 5 | 5 |
snd_enabled | enables/disables sound effects | 0 | 1 | 1 |
snd_mastervolume | master volume for sound system | 0 | 255 | 255 |
snd_fxvolume | volume of sound effects | 1 | 255 | 225 |
snd_mixrate | sound mixing rate | 0 | 48000 | 44100 |
snd_numchannels | the number of sound channels | 0 | 2 | 2 |
snd_numvoices | the number of concurrent sounds | 0 | 256 | 32 |
snd_reversestereo | reverses the stereo channels | 0 | 1 | 0 |
team | change team in multiplayer | 0 | 3 | 0 |
touch_sens_move_x | touch input sensitivity for moving forward/back | 1 | 9 | 5 | touch devices only
touch_sens_move_y | touch input sensitivity for strafing | 1 | 9 | 5 | touch devices only
touch_sens_look_x | touch input sensitivity for turning left/right | 1 | 9 | 5 | touch devices only
touch_sens_look_y | touch input sensitivity for looking up/down | 1 | 9 | 5 | touch devices only
touch_invert | invert look up/down touch input | 0 | 1 | 0 | touch devices only
vid_gamma | adjusts gamma component of gamma ramp | 0 | 10 | 1 |
vid_contrast | adjusts contrast component of gamma ramp | 0 | 10 | 1 |
vid_brightness | adjusts brightness component of gamma ramp | 0 | 10 | 0 |
wchoice <string> | sets weapon autoselection order | 3457860291 |
changelevel <volume> <level> | warps to the given level | no <volume> parameter when running a shareware game
map <mapfile> | loads the given user map | not available with a shareware game
demo <demofile or demonum> | starts the given demo | not available with a shareware game
addpath <path> | adds path to game filesystem |
bind <key> <string> | associates a keypress with a string of console input. Type "bind showkeys" for a list of keys and "listsymbols" for a list of valid console commands. |
cmenu <#> | jumps to menu |
crosshaircolor | changes the crosshair color |
connect | connects to a multiplayer game |
disconnect | disconnects from the local multiplayer game |
give <all|health|weapons|ammo|armor|keys|inventory> | gives requested item |
god | toggles god mode |
initgroupfile <path> | adds a grp file into the game filesystem |
debug |  | debug builds only
kick <id> | kicks a multiplayer client. See listplayers. | network-enabled builds only
kickban <id> | kicks a multiplayer client and prevents them from reconnecting. See listplayers. | network-enabled builds only
listplayers | lists currently connected multiplayer clients | network-enabled builds only
music E<ep>L<lev> | change music |
name | change your multiplayer nickname |
noclip | toggles clipping mode |
password | sets multiplayer game password |
quicksave | performs a quick save |
quickload | performs a quick load |
quit | exits the game immediately |
exit | exits the game immediately |
restartmap | restarts the current map |
restartsound | reinitializes the sound system |
restartvid | reinitializes the video mode |
addlogvar <gamevar> | prints the value of a gamevar | non-Lunatic builds only
setvar <gamevar> <value> | sets the value of a gamevar | non-Lunatic builds only
setvarvar <gamevar1> <gamevar2> | sets the value of <gamevar1> to <gamevar2> | non-Lunatic builds only
setactorvar <actor#> <gamevar> <value> | sets the value of <actor#>'s <gamevar> to <value> | non-Lunatic builds only
lua "Lua code..." | runs Lunatic code | Lunatic builds only
screenshot | takes a screenshot. See r_scrcaptureformat. |
spawn <picnum> [palnum] [cstat] [ang] [x y z] | spawns a sprite with the given properties |
unbind <key> | unbinds a key |
unbindall | unbinds all keys |
vidmode <xdim> <ydim> <bpp> <fullscreen> | change the video mode |

## Editor-Specific

Name | Description | Min | Max | Default | Notes
--- | --- | --- | --- | --- | ---
build.c
restartvid | reinitialize the video mode |
vidmode <xdim> <ydim> <bpp> <fullscreen> | immediately change the video mode |
vidmode <xdim> <ydim> | immediately change the video mode |
astub.c
addpath <path> | adds path to game filesystem |
editorgridextent | sets the size of the 2D mode editing grid | 65536 | BXY_MAX | 131072 |
initgroupfile <path> | adds a grp file into the game filesystem |
m32_clipping | toggles clipping mode | 0 | 2 | 2 |
quit | exits the editor immediately |
exit | exits the editor immediately |
sensitivity <value> | changes the mouse sensitivity | 1 |
m32_2d3dmode | experimental 2d/3d hybrid mode | 0 | 1 | 0 |
pointhighlightdist <value> | distance at which points are selected | 512 |
linehighlightdist <value> | distance at which lines are selected | 1024 |
pk_turnaccel <value> | sets turning acceleration+deceleration | 1 | 256 | 16 |
pk_turndecel <value> | sets turning deceleration | 1 | 128 | 12 |
pk_uedaccel <value> | sets UnrealEd movement speed factor (0-5, exponentially) | 0 | 5 | 3 |
pk_quickmapcycling | toggles quick cycling of maps with (Shift-)Ctrl-X | 0 | 1 | 1 |
testplay_addparam "string" | sets additional parameters for test playing |
show_heightindicators {0, 1 or 2} | sets display of height indicators in 2D mode | 0 | 2 | 1 |
show_ambiencesounds {0, 1 or 2} | sets display of MUSICANDSFX circles in 2D mode | 0 | 2 | 2 |
corruptcheck_noalreadyrefd | toggles ignoring of one-to-many red wall connections |
corruptcheck_game_duke3d | toggles ignoring of Duke3D issues |
corruptcheck_heinum | toggles auto-correcting inconsistent c/fstat bit 2 and heinum (2: also warn) | 0 | 2 | 1 |
keeptexturestretch | toggles keeping texture stretching when dragging wall vertices |
corruptcheck {<seconds>|now|tryfix} | sets auto corruption check interval if <seconds> given, otherwise as indicated |
tint <pal> <r> <g> <b> <flags> | queries or sets hightile tinting | OpenGL-enabled builds only
lua "Lua code..." | runs Lua code | Lunatic builds only
include <filenames...> | compiles one or more M32 script files |
do (m32 script ...) | executes M32 script statements |
script_info | shows information about compiled M32 script |
script_expertmode <value> | toggles M32 script expert mode |
enableevent {all|EVENT_...|(event number)} |  |
disableevent {all|EVENT_...|(event number)} |  |
osd_tryscript | toggles execution of M32 script on invalid OSD command |
sideview_reversehorizrot | toggles reversion of Q and W keys in side view mode |
disasm [s|e] <state or event number> |  | debug builds only

Retrieved from "http://wiki.eduke32.com/w/index.php?title=Console_commands&oldid=12295"