Console commands: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 126: Line 126:
|sensitivity <value>
|sensitivity <value>
|changes the mouse sensitivity
|changes the mouse sensitivity


|-
|-
Line 161: Line 160:
|reinitialise the video mode
|reinitialise the video mode
|-
|-
|vidmode [xdim ydim] [bpp] [fullscreen]
|vidmode <xdim> <ydim> <bpp> <fullscreen>
|immediately change the video mode
|immediately change the video mode
|-
|-
Line 173: Line 172:
|help
|help
|displays help on the named symbol
|displays help on the named symbol
|-
|logcutoff
|sets the maximal line count of the log file",_internal_osdfunc_vars
|-
|-
|osdrows
|osdrows
Line 211: Line 213:
|changes brightness
|changes brightness
|-
|-
|give <all|health|weapons|ammo|armor|keys|inventory>
|give <item>
|gives requested item
|gives requested item. Item can be all, health, weapons, ammo, armor, keys or inventory.
|-
|-
|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
|-
|-
|initgroupfile <path>
|initgroupfile <path>
Line 259: Line 264:
|enables input from the mouse if it is present
|enables input from the mouse if it is present
|-
|-
|vidmode [xdim ydim] [bpp] [fullscreen]
|vidmode <xdim> <ydim> <bpp> <fullscreen>
|immediately change the video mode
|immediately change the video mode.
|-
|-


Line 328: Line 333:
|r_animsmoothing
|r_animsmoothing
|enable/disable model animation smoothing
|enable/disable model animation smoothing
|-
|r_parallaxskyclamping
|enable/disable parallaxed floor/ceiling sky texture clamping
|-
|r_parallaxskypanning
|enable/disable parallaxed floor/ceiling panning when drawing a parallaxed sky
|-
|-
|usemodels
|usemodels

Revision as of 04:42, 9 April 2008

Variables
crosshair enable/disable crosshair
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
cl_angleinterpolation enable/disable angle interpolation
r_anamorphic enable/disable widescreen mode
r_projectionhack enable/disable projection hack
r_precache enable/disable the pre-level caching routine
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
quit exits the game immediately
sensitivity <value> changes the mouse sensitivity
baselayer.c
setrendermode <number> sets the engine's rendering mode.

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

screencaptureformat sets the output format for screenshots (TGA or PCX)
novoxmips turn off/on the use of mipmaps when rendering 8-bit voxels
usevoxels enable/disable automatic sprite->voxel rendering
hicsetpalettetint sets palette tinting values
glinfo shows OpenGL information about the current OpenGL mode
build.c
restartvid reinitialise the video mode
vidmode <xdim> <ydim> <bpp> <fullscreen> immediately change the video mode
osd.c
listsymbols lists all the recognized symbols
help displays help on the named symbol
logcutoff sets the maximal line count of the log file",_internal_osdfunc_vars
osdrows sets the number of visible lines of the OSD
clear clears the console text buffer
osdcmds.c
changelevel <volume> <level> warps to the given level
map <mapfile> loads the given user map
addpath <path> adds path to game filesystem
cl_statusbarscale changes the status bar scale
cmenu <#> jumps to menu
echo [text] echoes text to the console
exec <scriptfile> executes a script
fileinfo <file> gets a file's information
gamma <value> changes brightness
give <item> gives requested item. Item can be all, health, weapons, ammo, armor, keys or inventory.
god toggles god mode
bind executes a command script when <key> gets pressed. Type "bind showkeys" for a list of keys
initgroupfile <path> adds a grp file into the game filesystem
name change your multiplayer nickname
noclip toggles clipping mode
quit exits the game immediately
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
usejoystick enables input from the joystick if it is present
usemouse enables input from the mouse if it is present
vidmode <xdim> <ydim> <bpp> <fullscreen> immediately change the video mode.
polymost.c
glusetexcompr enable/disable OpenGL texture compression
glredbluemode enable/disable experimental OpenGL red-blue glasses mode
gltexturemode changes the texture filtering settings
gltextureanisotropy changes the OpenGL texture anisotropy setting
gltexturemaxsize changes the maximum OpenGL texture size limit
gltexturemiplevel changes the highest OpenGL mipmap level used
glpolygonmode debugging feature
glusetexcache enable/disable OpenGL compressed texture cache
usetexcachecompression enable/disable compression of files in the OpenGL compressed texture cache
glmultisample sets the number of samples used for antialiasing (0 = off)
glnvmultisamplehint enable/disable Nvidia multisampling hinting
r_shadescale multiplier for lighting
r_depthpeeling enable/disable order-independant transparency
r_peelscount sets the number of depth layers for depth peeling
r_curpeel allows to display one depth layer at a time (for development purposes)
r_detailmapping enable/disable detail mapping
r_glowmapping enable/disable glow mapping
r_vertexarrays enable/disable using vertex arrays when drawing models
r_vbos enable/disable using Vertex Buffer Objects when drawing models
r_vbocount sets the number of Vertex Buffer Objects to use when drawing models
r_animsmoothing enable/disable model animation smoothing
r_parallaxskyclamping enable/disable parallaxed floor/ceiling sky texture clamping
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
winlayer.c
maxrefreshfreq maximum display frequency to set for OpenGL Polymost modes (0=no maximum)
r_windowpositioning enable/disable window position memory