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