Difference between revisions of "Console commands" - EDukeWiki

# Difference between revisions of "Console commands"

From EDukeWiki

Revision as of 05:54, 22 August 2008 (view source) Hunter byte (talk | contribs) (Updated according to the latest available snapshot. I'm going to sort the commands and do the rest commands.) ← Older edit | Revision as of 06:26, 22 August 2008 (view source) Hunter byte (talk | contribs) m (sorted) Newer edit →
Line 2: | Line 2:
| ! colspan="2"|Variables |  | ! colspan="2"|Variables
| |- |  | |-
− | |crosshair | + | |cl_angleinterpolation
− | |enable/disable crosshair | + | |enable/disable angle interpolation
| |- |  | |-
| |cl_autoaim |  | |cl_autoaim
Line 52: | Line 52:
| |cl_weaponswitch |  | |cl_weaponswitch
| |enable/disable auto weapon switching |  | |enable/disable auto weapon switching
− | |- |
− | |cl_angleinterpolation |
− | |enable/disable angle interpolation |
| |- |  | |-
| |r_anamorphic |  | |r_anamorphic
| |enable/disable widescreen mode |  | |enable/disable widescreen mode
| + | |-
| + | |r_precache
| + | |enable/disable the pre-level caching routine
| |- |  | |-
| |r_projectionhack |  | |r_projectionhack
| |enable/disable projection hack |  | |enable/disable projection hack
| |- |  | |-
− | |r_precache | + | |crosshair
− | |enable/disable the pre-level caching routine | + | |enable/disable crosshair
| |- |  | |-
| |snd_ambience |  | |snd_ambience
Line 120: | Line 120:
| |noclip |  | |noclip
| |toggles clipping mode |  | |toggles clipping mode
− | |- |
− | |quit |
− | |exits the game immediately |
− | |- |
− | |sensitivity <value> |
− | |changes the mouse sensitivity |
| |- |  | |-
| |pk_quickmapcycling |  | |pk_quickmapcycling
Line 138: | Line 132:
| |pk_uedaccel |  | |pk_uedaccel
| |sets UnrealEd movement speed factor (0-5, exponentially) |  | |sets UnrealEd movement speed factor (0-5, exponentially)
| + | |-
| + | |quit
| + | |exits the game immediately
| + | |-
| + | |sensitivity <value>
| + | |changes the mouse sensitivity
| |- |  | |-
| ! colspan="2"|baselayer.c |  | ! colspan="2"|baselayer.c
| + | |-
| + | |glinfo
| + | |shows OpenGL information about the current OpenGL mode
| + | |-
| + | |hicsetpalettetint
| + | |sets palette tinting values
| |- |  | |-
| |setrendermode <number> |  | |setrendermode <number>
Line 149: | Line 155:
| 2 - Polygonal textured software (removed)<br/> |  | 2 - Polygonal textured software (removed)<br/>
| 3 - Polygonal OpenGL |  | 3 - Polygonal OpenGL
| + | |-
| + | |r_novoxmips
| + | |turn off/on the use of mipmaps when rendering 8-bit voxels
| |- |  | |-
| |r_scrcaptureformat |  | |r_scrcaptureformat
| |sets the output format for screenshots (TGA or PCX) |  | |sets the output format for screenshots (TGA or PCX)
− | |- |
− | |r_novoxmips |
− | |turn off/on the use of mipmaps when rendering 8-bit voxels |
| |- |  | |-
| |r_voxels |  | |r_voxels
| |enable/disable automatic sprite->voxel rendering |  | |enable/disable automatic sprite->voxel rendering
| |- |  | |-
− | |hicsetpalettetint |
− | |sets palette tinting values |
− | |- |
− | |glinfo |
− | |shows OpenGL information about the current OpenGL mode |
− | |- |
− |  |
| ! colspan="2"|build.c |  | ! colspan="2"|build.c
Line 181: | Line 180:
| |alias |  | |alias
| |creates an alias for calling multiple commands |  | |creates an alias for calling multiple commands
| + | |-
| + | |clear
| + | |clears the console text buffer
| |- |  | |-
| |exec <scriptfile> |  | |exec <scriptfile>
| |executes a script |  | |executes a script
− | |- |
− | |listsymbols |
− | |lists all the recognized symbols |
| |- |  | |-
| |help |  | |help
Line 193: | Line 192:
| |history |  | |history
| |displays the console command history |  | |displays the console command history
| + | |-
| + | |listsymbols
| + | |lists all the recognized symbols
| + | |-
| + | |logcutoff
| + | |sets the maximal line count of the log file
| |- |  | |-
| |osdeditpal |  | |osdeditpal
Line 205: | Line 210:
| |osdpromptshade |  | |osdpromptshade
| |sets the shade of the OSD prompt |  | |sets the shade of the OSD prompt
| + | |-
| + | |osdrows
| + | |sets the number of visible lines of the OSD
| |- |  | |-
| |osdtextmode |  | |osdtextmode
Line 217: | Line 225:
| |unalias |  | |unalias
| |removes an alias created with "alias" |  | |removes an alias created with "alias"
− | |- |
− | |logcutoff |
− | |sets the maximal line count of the log file |
− | |- |
− | |osdrows |
− | |sets the number of visible lines of the OSD |
− | |- |
− | |clear |
− | |clears the console text buffer |
| |- |  | |-
| ! colspan="2"|osdcmds.c |  | ! colspan="2"|osdcmds.c
− | |- |
− | |changelevel <volume> <level> |
− | |warps to the given level |
− | |- |
− | |map <mapfile> |
− | |loads the given user map |
| |- |  | |-
| |addlogvar |  | |addlogvar
Line 242: | Line 235:
| |addpath <path> |  | |addpath <path>
| |adds path to game filesystem |  | |adds path to game filesystem
| + | |-
| + | |bind
| + | |executes a command script when <key> gets pressed. Type "bind showkeys" for a list of keys
| + | |-
| + | |changelevel <volume> <level>
| + | |warps to the given level
| |- |  | |-
| |cl_statusbarscale |  | |cl_statusbarscale
Line 269: | Line 268:
| |god |  | |god
| |toggles god mode |  | |toggles god mode
− | |- |
− | |bind |
− | |executes a command script when <key> gets pressed. Type "bind showkeys" for a list of keys |
| |- |  | |-
| |hud_scale |  | |hud_scale
Line 284: | Line 280:
| |initgroupfile <path> |  | |initgroupfile <path>
| |adds a grp file into the game filesystem |  | |adds a grp file into the game filesystem
| + | |-
| + | |map <mapfile>
| + | |loads the given user map
| |- |  | |-
| |name |  | |name
Line 349: | Line 348:
| ! colspan="2"|polymost.c |  | ! colspan="2"|polymost.c
| |- |  | |-
− | |glusetexcompr | + | |r_animsmoothing
− | |enable/disable OpenGL texture compression | + | |enable/disable model animation smoothing
| + | |-
| + | |r_curpeel
| + | |allows to display one depth layer at a time (for development purposes)
| |- |  | |-
− | |glredbluemode | + | |r_depthpeeling
− | |enable/disable experimental OpenGL red-blue glasses mode | + | |enable/disable order-independant transparency
| |- |  | |-
− | |gltexturemode | + | |r_detailmapping
− | |changes the texture filtering settings | + | |enable/disable detail mapping
| |- |  | |-
− | |gltextureanisotropy | + | |r_glowmapping
− | |changes the OpenGL texture anisotropy setting | + | |enable/disable glow mapping
| |- |  | |-
− | |gltexturemaxsize | + | |r_multisample
− | |changes the maximum OpenGL texture size limit | + | |sets the number of samples used for antialiasing (0 = off)
| |- |  | |-
− | |gltexturemiplevel | + | |r_nvmultisamplehint
− | |changes the highest OpenGL mipmap level used | + | |enable/disable Nvidia multisampling hinting
| |- |  | |-
− | |glpolygonmode | + | |r_polygonmode
| |debugging feature |  | |debugging feature
| |- |  | |-
− | |glusetexcache | + | |r_usetexcache
| |enable/disable OpenGL compressed texture cache |  | |enable/disable OpenGL compressed texture cache
| |- |  | |-
− | |usetexcachecompression | + | |r_usehightile
| + | |enable/disable hightile texture rendering in >8-bit mode
| + | |-
| + | |r_usemodels
| + | |enable/disable model rendering in >8-bit mode
| + | |-
| + | |r_usetexcachecompression
| |enable/disable compression of files in the OpenGL compressed texture cache |  | |enable/disable compression of files in the OpenGL compressed texture cache
| |- |  | |-
− | |glmultisample | + | |r_usetexcompr
− | |sets the number of samples used for antialiasing (0 = off) | + | |enable/disable OpenGL texture compression
| |- |  | |-
− | |glnvmultisamplehint | + | |r_parallaxskyclamping
− | |enable/disable Nvidia multisampling hinting | + | |enable/disable parallaxed floor/ceiling sky texture clamping
| |- |  | |-
− | |r_shadescale | + | |r_parallaxskypanning
− | |multiplier for lighting | + | |enable/disable parallaxed floor/ceiling panning when drawing a parallaxed sky
− | |- |
− | |r_depthpeeling |
− | |enable/disable order-independant transparency |
| |- |  | |-
| |r_peelscount |  | |r_peelscount
| |sets the number of depth layers for depth peeling |  | |sets the number of depth layers for depth peeling
| |- |  | |-
− | |r_curpeel | + | |r_redbluemode
− | |allows to display one depth layer at a time (for development purposes) | + | |enable/disable experimental OpenGL red-blue glasses mode
| + | |-
| + | |r_shadescale
| + | |multiplier for lighting
| |- |  | |-
− | |r_detailmapping | + | |r_texturemode
− | |enable/disable detail mapping | + | |changes the texture filtering settings
| |- |  | |-
− | |r_glowmapping | + | |r_textureanisotropy
− | |enable/disable glow mapping | + | |changes the OpenGL texture anisotropy setting
| |- |  | |-
− | |r_vertexarrays | + | |r_texturemaxsize
− | |enable/disable using vertex arrays when drawing models | + | |changes the maximum OpenGL texture size limit
| |- |  | |-
− | |r_vbos | + | |r_texturemiplevel
− | |enable/disable using Vertex Buffer Objects when drawing models | + | |changes the highest OpenGL mipmap level used
| |- |  | |-
| |r_vbocount |  | |r_vbocount
| |sets the number of Vertex Buffer Objects to use when drawing models |  | |sets the number of Vertex Buffer Objects to use when drawing models
| |- |  | |-
− | |r_animsmoothing | + | |r_vbos
− | |enable/disable model animation smoothing | + | |enable/disable using Vertex Buffer Objects when drawing models
| |- |  | |-
− | |r_parallaxskyclamping | + | |r_vertexarrays
− | |enable/disable parallaxed floor/ceiling sky texture clamping | + | |enable/disable using vertex arrays when drawing models
| |- |  | |-
− | |r_parallaxskypanning |
− | |enable/disable parallaxed floor/ceiling panning when drawing a parallaxed sky |
− | |- |
− | |usemodels |
− | |enable/disable model rendering in >8-bit mode |
− | |- |
− | |usehightile |
− | |enable/disable hightile texture rendering in >8-bit mode |
− | |- |
− | |dumptexturedefs |
− | |dumps all texture definitions in the new style |
− | |- |
− |  |
| ! colspan="2"|winlayer.c |  | ! colspan="2"|winlayer.c

## Revision as of 06:26, 22 August 2008

Variables
cl_angleinterpolation | enable/disable angle interpolation
cl_autoaim | enable/disable weapon autoaim
cl_automsg | enable/disable automatically sending messages to all players
cl_autovote | enable/disable automatic voting
cl_deathmessages | enable/disable multiplayer death messages
cl_democams | enable/disable demo playback cameras
cl_drawweapon | enable/disable weapon drawing
cl_idplayers | enable/disable name display when aiming at opponents
cl_messagetime | length of time to display multiplayer chat messages
cl_mousebias | emulates the original mouse code's weighting of input towards whichever axis is moving the most at any given time
cl_mousefilter | amount of mouse movement to filter out
cl_showcoords | show your position in the game world
cl_showfps | show the frame rate counter
cl_smoothinput | enable/disable input smoothing
cl_viewbob | enable/disable player head bobbing
cl_weaponsway | enable/disable player weapon swaying
cl_weaponswitch | enable/disable auto weapon switching
r_anamorphic | enable/disable widescreen mode
r_precache | enable/disable the pre-level caching routine
r_projectionhack | enable/disable projection hack
crosshair | enable/disable crosshair
snd_ambience | enables/disables ambient sounds
snd_duketalk | enables/disables Duke's speech
snd_fxvolume | volume of sound effects
snd_mixrate | sound mixing rate
snd_musvolume | volume of midi music
snd_numbits | sound bits
snd_numchannels | the number of sound channels
snd_numvoices | the number of concurrent sounds
snd_reversestereo | reverses the stereo channels
astub.c
addpath <path> | adds path to game filesystem
echo [text] | echoes text to the console
editorgridextent | sets the size of the 2D mode editing grid
exec <scriptfile> | executes a script
fileinfo <file> | gets a file's information
gamma <value> | changes brightness
initgroupfile <path> | adds a grp file into the game filesystem
noclip | toggles clipping mode
pk_quickmapcycling | allows cycling of maps with (Shift-)Ctrl-X
pk_turnaccel | sets turning acceleration
pk_turndecel | sets turning deceleration
pk_uedaccel | sets UnrealEd movement speed factor (0-5, exponentially)
quit | exits the game immediately
sensitivity <value> | changes the mouse sensitivity
baselayer.c
glinfo | shows OpenGL information about the current OpenGL mode
hicsetpalettetint | sets palette tinting values

setrendermode <number>

sets the engine's rendering mode.

Mode numbers are:
0 - Classic Build software
1 - Polygonal flat-shaded software (removed)
2 - Polygonal textured software (removed)
3 - Polygonal OpenGL

r_novoxmips | turn off/on the use of mipmaps when rendering 8-bit voxels
r_scrcaptureformat | sets the output format for screenshots (TGA or PCX)
r_voxels | enable/disable automatic sprite->voxel rendering
build.c
restartvid | reinitialise the video mode
vidmode <xdim> <ydim> <bpp> <fullscreen> | immediately change the video mode
osd.c
alias | creates an alias for calling multiple commands
clear | clears the console text buffer
exec <scriptfile> | executes a script
help | displays help for the specified cvar or command
history | displays the console command history
listsymbols | lists all the recognized symbols
logcutoff | sets the maximal line count of the log file
osdeditpal | sets the palette of the OSD input text
osdeditshade | sets the shade of the OSD input text
osdpromptpal
sets the palette of the OSD prompt
osdpromptshade | sets the shade of the OSD prompt
osdrows | sets the number of visible lines of the OSD
osdtextmode | set OSD text mode (0:graphical, 1:fast)
osdtextpal | sets the palette of the OSD text
osdtextshade | sets the shade of the OSD text
unalias | removes an alias created with "alias"
osdcmds.c
addlogvar | prints the value of a gamevar
addpath <path> | adds path to game filesystem
bind | executes a command script when <key> gets pressed. Type "bind showkeys" for a list of keys
changelevel <volume> <level> | warps to the given level
cl_statusbarscale | changes the status bar scale
cmenu <#> | jumps to menu
crosshaircolor | changes crosshair color
crosshairscale | changes the crosshair scale
echo [text] | echoes text to the console
exit | exits the game immediately
fileinfo <file> | gets a file's information
give <item> | gives requested item. Item can be all, health, weapons, ammo, armor, keys or inventory.
god | toggles god mode
hud_scale | changes the hud scale
in_joystick | enables input from the joystick if it is present
in_mouse | enables input from the mouse if it is present
initgroupfile <path> | adds a grp file into the game filesystem
map <mapfile> | loads the given user map
name | change your multiplayer nickname
noclip | toggles clipping mode
quickload | performs a quick load
quicksave | performs a quick save
quit | exits the game immediately
r_ambientlight | sets the global map light level
rate | sets the multiplayer packet send rate, in packets/sec
restartsound | reinitialises the sound system
restartvid | reinitialises the video mode
sensitivity <value> | changes the mouse sensitivity
setactorvar <actor#> <gamevar> <value> | sets the value of <actor#>'s <gamevar> to <value>
setvar <gamevar> <value> | sets the value of a gamevar
setvarvar <gamevar1> <gamevar2> | sets the value of <gamevar1> to <gamevar2>
spawn <picnum> [palnum] [cstat] [ang] [x y z] | spawns a sprite with the given properties
unbind | unbinds a key
unbindall | unbinds all keys
vid_brightness | adjusts gamma ramp
vid_contrast | adjusts gamma ramp
vid_gamma | adjusts gamma ramp
vidmode <xdim> <ydim> <bpp> <fullscreen> | immediately change the video mode.
polymost.c
r_animsmoothing | enable/disable model animation smoothing
r_curpeel | allows to display one depth layer at a time (for development purposes)
r_depthpeeling | enable/disable order-independant transparency
r_detailmapping | enable/disable detail mapping
r_glowmapping | enable/disable glow mapping
r_multisample | sets the number of samples used for antialiasing (0 = off)
r_nvmultisamplehint | enable/disable Nvidia multisampling hinting
r_polygonmode | debugging feature
r_usetexcache | enable/disable OpenGL compressed texture cache
r_usehightile | enable/disable hightile texture rendering in >8-bit mode
r_usemodels | enable/disable model rendering in >8-bit mode
r_usetexcachecompression | enable/disable compression of files in the OpenGL compressed texture cache
r_usetexcompr | enable/disable OpenGL texture compression
r_parallaxskyclamping | enable/disable parallaxed floor/ceiling sky texture clamping
r_parallaxskypanning | enable/disable parallaxed floor/ceiling panning when drawing a parallaxed sky
r_peelscount | sets the number of depth layers for depth peeling
r_redbluemode | enable/disable experimental OpenGL red-blue glasses mode
r_shadescale | multiplier for lighting
r_texturemode | changes the texture filtering settings
r_textureanisotropy | changes the OpenGL texture anisotropy setting
r_texturemaxsize | changes the maximum OpenGL texture size limit
r_texturemiplevel | changes the highest OpenGL mipmap level used
r_vbocount | sets the number of Vertex Buffer Objects to use when drawing models
r_vbos | enable/disable using Vertex Buffer Objects when drawing models
r_vertexarrays | enable/disable using vertex arrays when drawing models
winlayer.c
maxrefreshfreq | maximum display frequency to set for OpenGL Polymost modes (0=no maximum)
r_windowpositioning | enable/disable window position memory

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