Command / Variable Name |
Category |
Description |
+attack |
player |
primary fire |
+attack2 |
player |
secondary fire - special action (zoom, burst fire, silencer) |
+back |
player |
move backwards |
+duck |
player |
crouches |
+forward |
player |
moves forward |
+jump |
player |
jumps |
+klook |
player |
enables the keyboard to look around |
+left |
player |
strafes left |
+lookdown |
player |
looks down |
+lookup |
player |
looks up |
+mlook |
mouse |
enables mouse to look around |
+movedown |
player |
moves player down - *climbing down a ladder, swimming down |
+moveleft |
player |
strafes left |
+moveright |
player |
strafes right |
+moveup |
player |
moves player up - *climbing up a ladder, swimming up |
+reload |
player |
reloads current weapon |
+right |
player |
strafes right |
+showscores |
player |
shows player scores and pings |
+speed |
player |
forces player to walk if 'always run' is enabled, and forces player to run if 'always run' is disabled |
+strafe |
player |
strafe modifier - while this is held down, use direction keys to strafe in different directions |
+use |
player |
uses an item- such as a button, machine gun, etc. |
adjust_crosshair |
player |
Use to change crosshair color |
alias "cmd1; cmd2" |
player |
binds commands together in an alias to perform mutiple tasks at the hit of one button |
allowupload |
uploading/ downloading |
toggles the uploading of local decals and models to the server on/off |
ambient_fade 100 |
audio |
sets the distance at which ambient sounds fade away |
ambient_level 0.300 |
audio |
sets the sound level for ambient sounds |
appenddemo |
demo |
records a demo and appends it to the demo file in existence at Half-Life/Valve/demo.dem |
bind |
player |
combines a with a command or alias |
bottomcolor 6 |
player |
sets the bottom color of the player model |
brightness 1 |
video |
enables glare reduction - *the higher the value, the brighter it gets |
buy |
player |
This opens the Buy Menu |
buyequip |
player |
This opens the Buy Equipment Menu |
buyammo1 |
player |
This buys one primary magazine or clip |
buyammo2 |
player |
This buys one pistol clip |
cancelselect |
player |
cancels selection |
changeteam |
player |
displays the team change menu |
cl_allowdownload 0 |
uploading/ downloading |
toggles download of maps, models and decals when joining a server - * 1 is 'on', 0 is 'off' |
cl_allowupload 0 |
uploading/ downloading |
toggles upload of maps, models and decals when joining a server - * 1 is 'on', 0 is 'off' |
cl_anglespeedkey 0.670 |
player |
sets the speed that the direction keys change the view angle |
cl_backspeed 400 |
player |
sets the backup speed of a player - number can only go as fast as a particular server allows |
cl_bob 0.010 |
player |
sets the amount that the view bobs while the player is running |
cl_bobcycle 0.800 |
player |
sets how frequently the view of a player bobs while running |
cl_bobup 0.500 |
player |
sets the amount that the view of a player bobs while running |
cl_download_ingame 0 |
uploading/ downloading |
toggles downloads of models and decals during a game - * 1 is 'on', 0 is 'off' |
cl_forwardspeed 400 |
player |
sets the forward speed of a player - *can only go as fast as the server allows |
cl_gaitestimation 1 |
player |
enables estimated player stepping motion |
cl_gg 0 |
player |
toggles game gauge mode - * 1 is 'on', 0 is 'off' |
cl_himodels |
player |
toggles higer quality player models - * 1 is 'on', 0 is 'off' |
cl_messages |
player |
shows server messages |
cl_movespeedkey 0.300 |
player |
sets movement speed for keyboard use |
cl_nopred 0 |
player |
toggles client-side prediction - * 1 is 'on', 0 is 'off' |
cl_pitchdown |
player |
sets the maximum angle to look down - *default is 89 |
cl_pitchspeed 225 |
player |
sets the speed at which the pitch changes |
cl_pitchup |
player |
sets the maximum angle to look up - *default is 89 |
cl_showfps 1 |
player |
This shows your FPS, default is 0 off, and 1 is on. Better than netgraph for saving FPS |
cl_shownet 0 |
player |
toggles the display of network packet numbers - * 1 is 'on', 0 is 'off' |
cl_slist 10 |
player |
sets the number of servers in the serverlist |
cl_solid_players 1 |
player |
toggles solid player models - * 1 is 'on', 0 is 'off' |
cl_upspeed 320 |
player |
sets the speed of a player when he climbs up |
cl_waterdist 4 |
player |
sets the underwater distance |
cl_yawspeed 210 |
player |
sets the turning speed - * only will go as fast as a server allows |
clear |
player |
clears the console screen |
cmd |
player |
can use this in conjunction with a command |
cmdlist |
all |
lists all of the console commands - * if you type 'cmdlist a', it will only list those commands that begin with the letter a, and so on - also, 'cmdlist log logfile writes the list to C:\logfile |
connect |
player |
connects to a server with the used ip address |
cvarlist |
all |
lists all the console variables in the console - * 'cvar log filename' will write this list to the file C:\filename |
developer 0 |
developers |
toggles on/off special developer debug console messages - * 1 is 'on', 0 is 'off' |
disconnect |
player |
disconnects a player from a server |
drawradar |
player |
This shows your friendly radar; "hideradar" hides it |
drop |
player |
This drops whatever is in your hands at the time you use it |
echo "message" |
player |
echos text to the console - * useful for letting a player know that a script or .cfg file was loaded successfully |
enableconsole |
player |
enables the console screen |
escape |
player |
acts as key by hiding the console and cancelling selections |
exec |
all |
executes a script of .cfg file |
exit |
all |
closes a game or dedicated server program to windows without confirmation |
fakelag 0 |
player |
simulates lag - * the higher the number, the more simulated lag |
fakeloss 0 |
player |
simulates packet loss - * the higher the value, the more simulated packet loss |
force_centerview |
player |
forces the player's view to look straight ahead |
fps_lan |
player |
sets the maximum framerate on a LAN game |
fps_modem |
player |
sets the maximum framerate in an internet game |
fps_single |
player |
sets the maximum framerate in a single playergame |
fullinfo |
|
displays user information |
fullserverinfo |
|
displays server information |
gamma 3 |
video |
sets the gamma level |
getcertificate |
player |
gets certificate from WON |
getsv |
player |
lists each server's ip address and the total number of servers |
gl_alphamin 0.250 |
video |
sets the minimum alpha blending level |
gl_clear 0 |
video |
toggles visual quality - * cracks between textures show when set to 1 |
gl_cull 1 |
video |
toggles rendering of visible objects only - * 1 is 'on', 0 is 'off', and 0 will lower fps |
gl_d3dflip 0 |
video |
toggles reversed rendering order for D3D |
gl_dither 1 |
video |
toggles dithering - * 1 is 'on', 0 is 'off' |
gl_dump |
video |
lists the data for the video card: vendor, renderer, version, and extensions used |
gl_flipmatrix 0 |
video |
toggles special crosshair fix when using the 3DNow! 3Dfx MiniGL - * 1 is 'on', 0 is 'off' |
gl_keeptjunctions 0 |
video |
toggles showing of cracks between textures - * 1 is 'on', 0 is 'off', with 1 being the better quality and slower fps |
gl_lightholes 0 |
video |
toggles light holes - * 1 is 'on', 0 is 'off' |
gl_max_size 256 |
video |
sets the maximum texture size |
gl_monolights 0 |
video |
toggles a uniform light source with no shadows - * 1 is 'on', 0 is 'off', and works in OpenGL only |
gl_overbright 0 |
video |
toggles maximum brightness mode - * 1 is 'on', 0 is 'off' |
gl_palette_tex 0 |
video |
toggles paletted textures - * 1 is 'on', 0 is 'off' |
gl_picmip 0 |
video |
sets the rendering quality - * higher the number is faster but lower quality |
gl_playermip 0 |
video |
sets the player rendering quality - * higher the number is faster but lower quality |
gl_polyoffset 4 |
video |
sets the polygon offset - try out different values for texture flickering problems |
gl_round_down 3 |
video |
sets the texture rounding down value - * higher the number faster but lower quality |
gl_smoothmodels 0 |
video |
toggles model smoothing - * 1 is 'on', 0 is 'off' |
gl_spriteblend 0 |
video |
toggles blending sprite graphics - * 1 is 'on', 0 is 'off' |
gl_texels |
video |
reports the number of texels uploaded to the video card |
gl_texsort 0 |
video |
toggles a texel sort - * 1 is 'on', 0 is 'off' |
gl_texturemode [type] |
video |
sets the rendering mode in order from the lowest quality but fastest to highest quality which is slower - * [type] options are: gl_nearest_mipmap_nearest, gl_linear_mipmap_nearest (these two deal with bilinear filtering) and gl_nearest_mipmap_linear, gl_linear_mipmap_linear (which deals with trilinear filtering) |
gl_zmax 4096 |
video |
sets the maximum size for the Z-Buffer |
gl_ztrick 1 |
video |
toggles the speeding up of 3Dfx rendering - * 1 is 'on', 0 is 'off' |
graphheight 64 |
player |
sets the height of the r_netgraph display |
graphhigh 512 |
player |
sets the maximum value of the r_netgraph display |
graphmean 1 |
player |
sets the mean value of the r_netgraph display |
graphmedian 128 |
player |
sets the median value of the r_netgraph display |
hideconsole |
player |
hides the console |
hideradar |
player |
hides the radar |
hisound 1 |
audio |
toggles high-quality sound - * 1=22kHz, 0=11kHz |
hud_centerid 0 |
player |
toggles player ID display - * 1 is 'on', 0 is 'off' |
hud_fastswitch 0 |
player |
toggles fast weapon switching - * 1 is 'on', 0 is 'off' |
hud_saytext_time 5 |
player |
sets how long chat messages remain onscreen |
impulse 100 |
player |
enables flashlight |
impulse 201 |
player |
sprays logo decal |
invlast |
player |
selects previous item in inventory |
invnext |
player |
selects next item in inventory |
invprev |
player |
selects previous item in inventory |
kill |
player |
player suicides to respawn again |
lightgamma 2.500 |
video |
sets the lighting gamma value |
listdemo |
demo |
lists information about |
lookspring 0 |
mouse |
toggles automatic view centering when 'mlook' is deactivated - * 1 is 'on', 0 is 'off' |
lookstrafe 0 |
mouse |
toggles mouse strafing when 'mlook' is active - * 1 is 'on', 0 is 'off' |
m_filter 0 |
mouse |
toggles mouse filtering (smoothing) - * 1 is 'on', 0 is 'off' |
m_forward |
mouse |
sets the mouse forward speed sensitivity multiplier |
m_pitch 0.022 |
mouse |
sets the mouse pitch (up and down motion) speed sensitivity multiplier - * negative numbers result in an inverted mouselook |
m_side 0.800 |
mouse |
sets the mouse strafing speed sensitivity multiplier |
m_yaw 0.022 |
mouse |
sets the yaw speed sensitivity multiplier |
menuselect |
player |
selects item from a menu |
messagemode |
player |
displays to all other players on a server |
messagemode2 |
player |
displays to only other players on same team |
motd |
player |
displays the Message Of The Day from the server's motd.txt file |
name |
player |
used to change a player's name |
net_graph 1 |
player |
this shows your fps, network latency, up & downstream bandwidth, and your client and server update rate. net_graph 0 turns it off, net_graph 3 shows the info without the graph and saves some fps. |
nosound 0 |
audio |
toggles sound - * 1 is 'on', 0 is 'off' |
pingsv |
player |
pings a server at |
play |
audio |
plays a .wav designated by |
playdemo |
demo |
plays .dem at normal speed |
playvol 9 |
demo |
sets demo playback volume |
pushlatency -100 |
player |
set this number to the inverse of your ping to help latency |
quit |
all |
exits to windows without confirmation |
r_decals 250 |
player |
sets the maximum number of decals |
r_drawviewmodel 0 |
player |
toggles drawing player weapon model - * 1 is 'on', 0 is 'off' |
r_dynamic 0 |
video |
toggles dynamic lighting - * 1 is 'on', 0 is 'off' |
r_mmx 0 |
player |
toggles MMX calculations for MMX cpu's - * 1 is 'on', 0 is 'off' |
radio1 |
player |
This opens up Radio1 Menu |
radio2 |
player |
This opens up Radio2 Menu |
radio3 |
player |
This opens up Radio3 Menu |
r_netgraph 0 |
player |
toggles graph of network conditions - *0 is 'off', 1 shows green = good, yellow = bad, red = horrible, 2 shows packetsize |
rate 5000 |
player |
sets client data rat -*1000 - 5000 for modems, 10000+ for LAN |
reconnect |
player |
reconnects to the current server |
record |
demo |
begins to record a demo and saves it to Half-Life\Valve\ .dem |
retry |
player |
tries four more times to connect to a server that has already failed four connect attempts |
s_2dvolume 1 |
audio |
maximum volume at which 2D sounds are played - * range from 0 to 1.0 |
s_a3d 0.000000 |
audio |
toggles A3D support - * 1 is 'on', 0 is 'off' |
s_automax_distance 30 |
audio |
sets the distance for maximum sound volume |
s_automin_distance 2 |
audio |
sets the distance for minimum sound volume |
s_bloat 2.0 |
audio |
bloat factor for polygons in A3D 2.0 only |
s_buffersize 65536 |
audio |
sets the buffer size |
s_disable_a3d 0 |
audio |
toggles disabling a3D - * 1 is 'on', 0 is 'off' |
s_distance 60 |
audio |
adjust the ratio of game units to meters, affecting velocity, positioning and distance - * higher the number, the closer everything gets in audio terms - range from 0 to infinity |
s_doppler 0.0 |
audio |
adjusts the doppler - * 1 is 'on', 0 is 'off', range from 0 to 10, and is very sensitive |
s_eax 0 |
audio |
toggles EAX support - * 1 is 'on', 0 is 'off' |
s_enable_a3d |
audio |
enables A3D support |
s_geometry 0 |
audio |
toggles geometry rendering in A3D 2.0 only - * 1 is 'on', 0 is 'off' |
s_max_distance 1000 |
audio |
maximum distance from the listener before rolloff is no longer applied - * valid range from 's_min_distance' to infinity |
s_min_distance 5 |
audio |
minimum distance a source will be from the listener before rolloff is applied - * range from 0 to 's_max_distance' |
s_numpolys 200 |
audio |
maximum polygons to be rendered in A3D 2.0 only - setting this to 0 is the same as turning off 's_geometry' - * range from 0 to infinity |
s_occfactor 0.250 |
audio |
transmission value of material - the smaller the number, the less sound passes through material - * range from 0 to 1.0 |
s_occlude 0 |
audio |
toggles sound passing throug material (occlusions) in A3D 2.0 only - * 1 is 'on', 0 is 'off' |
s_refdelay 4 |
audio |
delays between a source and its closest reflection in A3D 2.0 only - higher the delay, the more time it takes between when the source and its first reflection is played - * range from 0 to 100 |
s_refgain 0.4 |
audio |
adjusts the gain on each reflection in A3D 2.0 only, where the effects of distance are increased: high frequencies are filtered and volume lowered - * range from 0 to 10 |
s_verbwet 0.25 |
audio |
controls the wet/dry mix of reverb for A3D only - higher the number, the more wet the sounds - * range from 0 to 1.0 |
say "message" |
player |
chat with all other players on a server |
say_team "message" |
players |
relay a message to only your teammates |
scr_centertime 2 |
|
sets how long server messages remain on the screen |
scr_conspeed 600 |
player |
sets the console scroll speed |
scr_printspeed 7 |
player |
sets the screen message print speed |
screenshot |
player |
captures the screen and saves it in the Half-Life/Valve directory |
sensitivity 9 |
mouse |
sets the sensitivity of the mouse |
serverinfo |
player |
displays the server infromation |
setdemoinfo info |
demo |
adds information to a demo, such as a text title, play 'tracknum', fade or |
setinfo |
player |
- * i.e., 'setinfo "ts" "0"' or 'setinfo "dc" "0"' |
showbriefing |
player |
This shows the map briefing |
showinfo 0 |
player |
toggles display of all packets - * 1 is 'on', 0 is 'off' |
showpackets 0 |
player |
toggles network packet info display - * 1 is 'on', 0 is 'off' |
showpause 0 |
player |
toggles pause of graphic display - * 1 is 'on', 0 is 'off' |
showram 0 |
player |
toggles display of available ram - * 1 is 'on', 0 is 'off' |
sizedown |
player |
decreases screen size and increases fps |
sizeup |
player |
increases screen size and decreases fps |
slot1 |
player |
select weapon group 1 (or menu item 1) see 'use' |
slot2 |
player |
select weapon group 2 (or menu item 2) see 'use' |
slot3 |
player |
select weapon group 3 (or menu item 3) see 'use' |
slot4 |
player |
select weapon group 4 (or menu item 4) see 'use' |
slot5 |
player |
select weapon group 5 (or menu item 5) see 'use' |
slot6 |
player |
select weapon group 6 (or menu item 6) see 'use' |
slot7 |
player |
select weapon group 7 (or menu item 7) see 'use' |
slot8 |
player |
select weapon group 8 (or menu item 8) see 'use' |
slot9 |
player |
select weapon group 9 (or menu item 9) see 'use' |
slot10 |
player |
select weapon group 10 (or menu item 10) see 'use' |
snapshot |
player |
takes a screenshot |
speak |
player |
to say something |
startdemos |
demo |
begins playing demos in a loop |
stop |
demo |
stops the recording of a demo |
stopdemo |
demo |
stop the playing of a demo |
stopsound |
audio |
stops playing the current sound |
swapdemo |
demo |
swaps two segments' positions inside a demo |
timedemo |
demo |
plays .dem at max fps and reports average fps |
toggleconsole |
player |
toggles the console screen - * usually bound to '~' |
topcolor 30 |
player |
sets the model top color |
unbind |
player |
removes binding to key |
unbindall |
player |
removes all key bindings |
use |
player |
uses an item or weapon, such as 'use weapon_crowbar' |
vid_config_x 800 |
video |
sets horizontal screen resolution |
vid_config_y 600 |
video |
sets vertical screen resolution |
vid_d3d 0 |
video |
toggles Direct3D support - * 1 is 'on', 0 is 'off' |
vid_describemode |
video |
displays video mode settings |
vid_mode 0 |
video |
sets video mode |
vid_nopageflip 0 |
video |
toggles disabling video page flipping - * 1 is 'on', 0 is 'off' |
vid_wait 0 |
video |
toggles video sync - * 1 is 'on', 0 is 'off' |
viewframe |
video |
enables wire-frame display - * OpenGL only |
violence_ablood 0 |
player |
toggles blood - * 1 is 'on', 0 is 'off' |
volume 1.0 |
audio |
sets game volume |
weapon_ |
player |
Pistols - Submachineguns - Assault Rifles - Shotguns - Sniper Rifles - Machinegun - Other - Grenades
This selects the weapon directly, by binding a key like "h" to weapon_knife, and pressing "h", you pull out the knife |
wait |
player |
pauses for 1 tick during running an alias or script |