Half-Life and TFC
Console Commands and Variables
for Version 1.0.0.9 and Above

Use these commands and variable in the console or a config file to completely customize Half-Life or TFC, troubleshoot problems, or optimize performance. If you don't know how, please read the Comprehensive Guide to the Console -- you'll be glad you did!

Select the complete list (handy for searching for keywords using your browser, or for looking up a command or variable alphabetically), or any of the categorized lists from the links over on the left. You can also select Categories for a detailed description of the available categories.

Variables are listed with their default values. Commands are listed without values, but some may have <arguments>, see the descriptions for valud arguments or values. If none are specified, it's a boolean variable, meaning it can be on (1) or off (0).

If you have more details on any command than are listed here, or you know one of the unknown commands, please let me know!

Command/Variable Description
_snd_mixahead 0.100 set sound mixahead value (like s_mixahead in Q2), different values may help fix stuttering problems on some sound cards
_vid_default_mode 0 set default video mode (screen resolution)
_vid_default_mode_win 3 set default windowed video mode (screen resolution)
_vid_wait_override 0 set video wait override
_windowed_mouse 1  enable mouse in windowed mode
+alt1 extra commands for mod authors; not currently used in HL or TFC
+alt2 extra commands for mod authors; not currently used in HL or TFC
+attack  fire
+attack2 alternate fire (Special Ability Menu in TFC) see special
+back backpedal
+camdistance move chase cam away from player (only valid if thirdperson activated)
+camin move chase cam in (forward) only valid if thirdperson activated
+cammousemove allow mouse motion to control chase cam while held down (only valid if thirdperson activated)
+camout move chase cam out (back) only valid if thirdperson activated
+campitchdown decrease chase cam pitch (aim down) only valid if thirdperson activated
+campitchup increase chase cam pitch (aim up) only valid if thirdperson activated
+camyawleft yaw (tilt) chase cam left (only valid if thirdperson activated)
+camyawright yaw (tilt) chase cam right (only valid if thirdperson activated)
+det20 set detpack to explode in 20 sec (must hold until it says ok) Demo class only
+det5 set detpack to explode in 5 sec (must hold until it says ok) Demo class only
+det50 set detpack to explode in 50 sec (must hold until it says ok) Demo class only
+duck duck (a.k.a. crouch)
+forward move forward
+gren1 launch grenade type 1 (see primeone, primetwo, throwgren)
+gren2 launch grenade type 2 (see primeone, primetwo, throwgren)
+jlook NEW: enable joystick look (like +mlook, but with a joystick)
+jump jump
+klook use keyboard to look around (see +mlook, +jlook))
+left strafe left
+lookdown look down
+lookup look up
+mlook use mouse to look around
+movedown move down (duh) -- as in swim down, fly down, or climb down
+moveleft strafe left
+moveright strafe right
+moveup move up (duh) -- as in swim up, fly up, or climb up
+reload reload weapon
+right strafe right
+showscores show player pings and scores
+speed walk if autorun enabled, run if autorun disabled
+strafe strafe modifier, direction keys strafe while this is held down
+use use item (switch, scientist, sentry gun, …)
addip <min> <ipaddr> adds an ip to a server (0 minutes = permanent)
alias <name> "cmd1; cmd2" define an alias to a command or commands, i.e. alias jumpduck "+moveup; +movedown; wait; -moveup; -movedown"
allowupload toggle allowing upload of local copies of decals or models to server
ambient_fade 100 set the distance at which ambient sounds fade away
ambient_level 0.300 sets sound level for ambient sounds
appenddemo <demo> record a demo, appending to the demo file already at half-life/valve/demo.dem
autosave enable autosave
begin not valid from console
bgetmod NEW -- ?
bgetsv NEW -- ?
bgmbuffer 4096 set the CD audio buffer size
bgmvolume 0 enable CD audio (0 may improve performance)
bind <key> <function> make <key> activate the command or alias denoted by function
bottomcolor 6 set the bottom color of your player model
brightness 1 enable glare reduction (try higher values, like 3, for even brighter)
build display build menu (ammo dispenser or sentry gun, Engineer class only) [TFC]
c_maxdistance 200 set chase cam max distance
c_maxpitch 90 set chase cam max pitch
c_maxyaw 135 set chase cam max yaw
c_mindistance 30 set chase cam min distance
c_minpitch 0 set chase cam min pitch
c_minyaw -135 set chase cam min yaw
cam_command 0 enable chase cam commands
cam_contain 0 enable chase cam auto-contain in current room
cam_idealdist 64 set the preferred distance from the player model for the chase cam (only valid if thirdperson activated)
cam_idealpitch 0 set the preferred pitch for the chase cam (only valid if thirdperson activated)
cam_idealyaw 90 set the preferred yaw for the chase cam (only valid if thirdperson activated)
cam_snapto 0 set the preferred snap interval for the chase cam (only valid if thirdperson activated)
cancelselect cancel selection (i.e. what ESCAPE usually does)
cd control CD audio. 'cd stop' stops play, 'cd loop X' plays track X (1-16 valid)
cdkey GONE: echo the CD key to the console
centerview center the view
changeclass display class change menu (can use slotX to select from menu)
changelevel <level> continue game on new level
changelevel2 <level> continue game on new level in same unit
changeteam display team change menu (can use slotX to select from menu)
chase_active 0 enable chase-cam (third-person view, like TombRaider or Hexen 2)
chase_back 100 set the preferred cam distance from the player when backing up
chase_right 0 set the preferred offset to the side for the chase cam
chase_up 16 set the preferred offset up for the chase cam
cl_adaptive NEW: displays time, dropped packet %, average latency, up/down rates, and FPS
cl_allow_download toggle allowing download of maps, models, and decals on joining a server
cl_allow_upload toggle upload of maps, models, and decals on joining a server
cl_allowdownload 0 enable download of maps, models, and decals on joining a server
cl_allowupload 0 enable upload of maps, models, and decals on joining a server
cl_anglespeedkey 0.670 set the speed that the direction keys (not mouse) change the view angle
cl_appendmixed 0 force playing of mixed sounds as sequential sounds instead
cl_backspeed 400 set the player backup speed on a server, up to server max
cl_bitcounts show list of bits received for each player, with delta values
cl_bob 0.010 set the amount that your player view bobs while running. Motion-sick types should set this to 0.
cl_bobcycle 0.800 set how frequently player view bobs while running. Motion-sick types should set this to 0.
cl_bobup 0.500 set the amount that your player view bobs up and down. Motion-sick types should set this to 0.
cl_download_ingame 0 enable downloads during a multiplayer game (generally not a good thing -- instead set cl_allow_download 1 and this one to 0 so downloads are between maps only)
cl_download_max 0 set the maximum number of files to download from a server
cl_downloadinterval 1 set the minimum time between downloads from the server in a multiplayer game
cl_forwardspeed 400 set the player forward speed on a server. May need to enable cheats to change this from the default.
cl_gaitestimation 1 enable estimated player stepping motion -- disable (0) to decrease apparent "ice skating" and possibly increase lag
cl_gg 0 NEW: enable Game Gauge mode (gg <demoname> starts)
cl_hightrack 0 ?
cl_himodels 0 enable high quality player models. Set to 1 for slightly better quality player models (and slightly lower fps)
cl_messages shows server messages
cl_movespeedkey 0.300 set movement speed for keyboard use
cl_nodelta 0 enable delta compression (only disable if you get network errors)
cl_nolerp 0 ?
cl_nopred 0 disable client-side prediction (1 may increase lag)
cl_pitchdown <angle> set maximum angle you can look down or up (min pitch) default = 89
cl_pitchspeed 225 set pitch (up and down) change speed
cl_pitchup <angle> set maximum angle you can look up (max pitch) default = 89
cl_pred_fraction 0.5 NEW: set client-side prediction faction (closer to one is more prediction)
cl_pred_link 1 NEW: set client-side prediction link value
cl_pred_maxtime 255 set client-side prediction maximum prediction time
cl_predict_players 1 enable client-side prediction of other players
cl_print_custom display loaded custom wads or decals
cl_resend 3 set resend count
cl_rollangle 2 set view tilt angle for roll motion
cl_rollspeed 200 set view tilt speed
cl_shownet 0 enable display of network packet numbers
cl_showsizes 0 enable display of network packet size graph
cl_sidespeed 400 set the player strafing speed on a server. May need to enable cheats to change this from the default
cl_skycolor_b 0 set the blue component of the sky color
cl_skycolor_g 0 set the green component of the sky color
cl_skycolor_r 0 set the red component of the sky color
cl_skyname 0 set the sky pattern
cl_skyvec_x 0 set the sky pattern position x-coordinate
cl_skyvec_y 0 set the sky pattern position y-coordinate
cl_skyvec_z 0 set the sky pattern position z-coordinate
cl_slist 10 set the number of servers in the serverlist
cl_solid_players 1 enable solid player models
cl_spectator_password 0 set the password for spectator access to a server
cl_stats 0 GONE
cl_timeout 305 set the inactivity time before a client is disconnected (timed out)
cl_upload_max 0 set the max number of files a client can upload to a server
cl_upspeed 320 set the player climbing up speed (up to server max)
cl_usr display user HUD info
cl_view display list of current on-screen entities
cl_waterdist 4 set underwater distance
cl_yawspeed 210 set turning speed (with keyoard, up to server max)
clear clear the console screen
clearlist clear the server list
clientport 27005 set client connect port (TCP/IP)
cmd <cmd> issue a command
cmdline 0 display the command-line arguments passed by hl.exe
cmdlist print a list of commands to the console (cmdlist log logfile saves the list to c:\logfile)
con_notifytime 4 set console notification time
connect <ip> connect to a miltiplayer server with ip address <ip>
contimes <n> show n overlay lines (n = 4 to 64)
coop 0 enable cooperative play mode
crc display the crc value for the map at maps\map.bsp
crosshair 1 enable crosshair
customrsrclist <arg> issue a resource request
cvarlist lists all the console variables (cvars) to the console (cvar log filename will send the list to the file c:\filename)
d_spriteskip NEW: ?
dc 1 enable class briefing displays
deathmatch 0 enable deathmatch mode
decalfrequency <sec> set how frequently clients can spray paint their logo in game (in seconds, default 30)
default_fov 90 set the default Field-Of-View, smaller numbers zoom in, larger numbers zoom out (fish-eye style).
demos runs a loop of demos set with startdemos
detdispenser remotely detonate ammo dispenser (Engineer class only)
detsentry remotely detonate sentry gun
developer 1 enable special developer debug console messages
direct 0.900 ?
discard drop unusable ammo
disconnect disconnect from a server or local game
displaysoundlist 0 display list of all loaded sounds
download start downloading files from server (if cl_download_ingame is 1)
dropclient drop client from server (disconnect)
echo "text" print a message to the console. To print to screen: 'developer 1; echo "text"; developer 0'
edgefriction 2 set friction between players and walls or obstacles
enableconsole enable console screen
endmovie stop a playing movie
entities list currently loaded entities
envmap creates the 6 BMP images for sky boxes from the player's current position. Size is set with gl_envmapsize <pixels>.
escape same as [ESCAPE] key, hides console, cancels selection, etc.
exec <filename> execute a script file of console commands
exit quit game to windows without confirmation
fakelag 0 simulates lag, higher values are laggier
fakeloss 0 simulates packet loss, higher values are more lossy
feign fake a death noise and then feign death (Spy class only)
filterban 1 enable ip banning
firstperson enable first-person view (see thirdperson, chase_cam)
flaginfo display flag status
flush flush memory and reload
fly preceded with / (i.e. /fly) enables fly cheat (IF sv-cheats = 1) that appears to do nothing. Try /noclip instead.
force_centerview snaps player view to straight ahead
fps_lan 31 set max framerate for multiplayer on a LAN game -- MAY affect netplay too, so set it to match fps_modem (lower reduces lag)
fps_modem 31 set max framerate for multiplayer clients on an internet game, like cl_maxfps in Q2. Lower reduces lag.
fps_single 72 set max framerate for a single player game
fullinfo <complete info string> enable verbose user information display
fullserverinfo NEW: enable verbose server information display
gamma 3 set video gamma level
getsv NEW: ?
gg <demoname> NEW: run Game Gauge benchmark using demoname if cl_gg = 1
gl_affinemodels 0 makes my screen go crazy (Voodo2)
gl_alphamin 0.250 set minimum alpha blending level
gl_clear 0 makes cracks between textures visible when 1
gl_cull 1 enable rendring of visible objects only (0 will slow fps)
gl_d3dflip 0 enable reversed rendering order for D3D video mode
gl_dither 1 enable dithering
gl_dump dump data about video card: vendor, renderer, version, entensions
gl_flipmatrix 0 enable special crosshair fix when using the 3DNow! 3DFX MiniGL (3dfxglam.dll)
gl_keeptjunctions 1 enable allowing slight cracks between textures, setting to 1 may look better on some video cards, but will be a bit slower (fewer fps)
gl_lightholes 1 enable light holes (0 may improve perfomance)
gl_log <logfile> writes graphic debug messages to logfile
gl_max_size 256 set the maximum texture size
gl_monolights 0 creates a uniform light source with no shadows (OpenGL only)
gl_nobind 0 enable replacing textures with bizarre alphanumeric characters (trippy)
gl_nocolors 0 disable colors (OpenGL only)
gl_overbright 1 enable maximum brightness mode
gl_palette_tex 1 enable paletted textures
gl_picmip 0 set rendering quality (0,1,2, higher is faster and lower quality) see gl_playermip, gl_texturemode
gl_playermip 0 set player rendering quality (0,1,2, higher is faster and lower quality) see gl_playermip, gl_texturemode
gl_polyoffset 4 set polygon offset -- try different values for flickering decal or texture problems
gl_reporttjunctions 0 enable T-junction reporting to console
gl_round_down 3 set texture size rounding-down value (higher rounds more, resulting in lower quality and higher speed)
gl_smoothmodels 1 enable model smoothing. Disabling (0) may increase fps a bit
gl_spriteblend 1 enable blending sprite graphics
gl_texels report the number of texesl uploaded to the video card
gl_texsort 0 enables brighter and more vivid textures, but slows performance
gl_texturemode [type] set the rendering mode: in order from lowest quality (fastest) to highest quality (slowest), [type] options are: GL_NEAREST_MIPMAP_NEAREST, GL_LINEAR_MIPMAP_NEAREST, GL_NEAREST_MIPMAP_LINEAR, GL_LINEAR_MIPMAP_LINEAR. Think of the 1st two as low and high quality for hardware that supports bilinear filetering, and the 2nd two as low and high quality for hardware that supports trilinear filtering.
gl_wateramp 0.300 ?
gl_zmax 4096 set max size for zbuffer
gl_ztrick 1 speeds up renndering, but may cause flickering on some video cards
god god mode (invincible) must be preceeded with / and sv_cheats 1
graphheight 64 set height of r_netgraph display
graphhigh 512 set max value of r_netgraph display
graphmean 1 set mean value of r_netgraph display
graphmedian 128 set median value of r_netgraph display
heartbeat send a heartbeat signal to master server
hideconsole hide the console
hisound 0 enable high-quality sound (1=22kHz, 0=11kHz) see also loadas8bit
host_framerate 0 set the speed that host and server interact with the game. Can be used to slow down the game or to view demos in slow motion.
host_killtime 0 set time delay before killing the host
host_speeds 0 enable display of current FPS on-screen
HostMap 0  
hostname <name> set server hostname
hostport 0 set host connection port
hpkextract <name> [all|1 idx] extract files from hpk file (opts = <hpkname> [all | single index])
hpklist <hpkname> list files in hpk file
hpkremove <name> <index> remove file from hpkfile
hpkval <hpkname> display checksum value for hpk file
hud_centerid 0 enable center screen display of player ID names (instead of lower-left corner)
hud_deathnotice_time 6 set how long death messages remain onscreen
hud_drawhistory_time 5 set how long HUD item icons remain onscreen
hud_fastswitch 1 enable fast weapon switching (0 is HL-style, where you must press fire after picking a weapon before it is activated)
hud_saytext_time 5 set how long chat messages remain onscreen
impulse 100 enable flashlight
impulse 101 give all weapons and ammo (must enable cheats first)
impulse 201 spray graffiti logo on wall or floor (see decalfrequency, r_decals, mp_decals)
info <userid> list info on user (users lists userids)
interp enable frame interpolation
invlast select the previously selected inventory item or weapon
invnext select next item in inventory
invprev select previous item in inventory
ip 0 echo server ip
ip_clientport 0 set client port for TCP/IPLAN game
ip_hostport 0 set host port for TCP/IP LAN game
ipx_clientport 0 set client port for IPX LAN game
ipx_hostport 0 set host port for IPX LAN game
joyadvanced 0 joystick setting
joyadvancedupdate enable advanced joystick settings
joyadvaxisr 0 joystick setting
joyadvaxisu 0 joystick setting
joyadvaxisv 0 joystick setting
joyadvaxisx 0 joystick setting
joyadvaxisy 0 joystick setting
joyadvaxisz 0 joystick setting
joyforwardsensitivity -1 joystick setting
joyforwardthreshold 0.150 joystick setting
joyname 0 joystick setting
joypitchsensitivity 1 joystick setting
joypitchthreshold 0.150 joystick setting
joysidesensitivity -1 joystick setting
joysidethreshold 0.150 joystick setting
joystick 0 enable joystick (and gives you a slight performance boost)
joywwhack1 0 joystick setting
joywwhack2 0 joystick setting
joyyawsensitivity -1 joystick setting
joyyawthreshold 0.150 joystick setting
keys show CD key info
kick <name> kick player from a server (server op only)
kill suicide
killserver shut down the server (server op only)
lambert 1.500 ?
lastinv GONE: switch back to last item used
lcd_x 0 screws up my screen
lcd_yaw 0 screws up my screen
lightgamma 2.500 set lighting gamma value
list lists local servers found by slist command
listdemo <demoname> list info on demo file
listip list ip addresses in the filter ban list
load <name> load a saved game
loadas8bit 0 set to 1 to force 8-bit (lower quality) sounds (see hisound also)
localinfo show local info settings
log <on | off> enable/disable logging (put 'log on' in autoexex.cfg, NOT server.cfg)
logaddress <ip> <port> set address for logfile (to log to a remote machine)
logos list logos (decals)
lookspring 0 enable automatic view centering when mlook is deactivated
lookstrafe 0 enable mouse strafing when mlook is active
lservercfgfile NEW: set listen server config file (default is listenserver.cfg)
m_filter 0 enable mouse filtering (smoothing)
m_forward 1 set mouse forward speed sensitivity multiplier
m_pitch 0.022 set mouse pitch (up and down motion) speed sensitivity multiplier. Note that NEGATIVE values result in an inverted mouse (moving mouse forward looks down), while positive values result in a non-inverted mouse (moving mouse forward looks up)
m_side 0.800 set mouse strafing speed sensitivity multiplier
m_yaw 0.022 set mouse yaw speed sensitivity multiplier
map <mapname> change to map half-life\tfc\mapname.bsp (.bsp not required).
mapcyclefile 0 specifies the name of the list of maps to cycle through on a server, default is mapcycle.txt
maps <substring> list maps containing substring, * lists all
maxplayers 32 set maximum number of clients
mcache list model cache contents
mem_prediction GONE
menuselect <X> select menu item X (useful after bringing up your class special menu with 'special' or '+attack2')
messagemode type message to everyone
messagemode2 type message to your team only
model 0 If modelname is unspecified, this will display the current player model name. To change your player model, specify the name of a folder in Valve/models/player that contains a .mdl file. To view the model, start a multiplayer game and type chase_active 1.
motd display the message of the day (motd.txt) for the current server
motd_display_time 6 set the time (in seconds) that the message of the day (in motd.txt) stays on clients' screens when they join the server.
mp_autocrosshair 1 enable aiming assistance for clients
mp_decals 300 NEW: set max number of decals to display in multiplayer (set lower for perfomance boost, but blast marks and logos will disappear sooner)
mp_falldamage 0 enable realistic falling damage
mp_flashlight 0 enable flashlights for clients
mp_footsteps 1 enable footstep sounds
mp_forcerespawn 0 enable forcing to respawn after being killed
mp_fraglimit 0 set the number of frags (by any single player) between map changes
mp_friendlyfire 0 enable friendly fire in teamplay mode (mp_teamplay)
mp_logecho NEW: enable logging of echo commands
mp_logfile NEW: enable logging during multiplayer
mp_teamplay 0 enable teamplay mode
mp_timelimit 0 set the time (in minutes) between map changes
mp_weaponstay 0 enable permanent weapons
name <playername> set client player name
netbad simulate a bad network connection
netchokeloop 0 ?
netmax display maximum packets and maximum game packets
netusage 0 enable display of network usage graph
new start a new game (crashes in multiplayer)
nextdl download next file
noclip preceeded by / (i.e. /noclip) turns off clipping if sv_cheats = 1 (allows walking through walls, flying, see Cheats Page)
noip 0 GONE: enable TCP/IP networking support
noipx 1 GONE: enable IPX networking support
nosound 0 enable sound
notarget make enemies ignore player (see Cheats Page)
notify NEW: says "UI disabled"
password 0 set private server password (0 = public server, anyone can join)
path display current search path
pausable 0 enable whether or not clients can pause server game
pause pause game
ping display ping of all clients
pingservers display pings of servers in the serverlist
pingsv <ip:port> NEW: ping server at IP:PORT address
play <filename> play a WAV audio file designated by filename
playdemo <filename> play the demo in file Half-Life/valve/filename.dem at normal speed (use timedemo to play at max fps and report average fps).
playvol set demo playback volume
pm_nocomplex 0 ?
pm_nostucktouch 0 ?
pm_nostudio 0 ?
pm_pushfix 0 ?
pm_worldonly 0 ?
pointfile <filename> try to load maps\filename.pts
port 27015 set the default connect port
precache 1 enable pre-loading of all needed files at map start
prespawn not valid from console
primeone prime grenade type 1 (same at pressing, but not releasing the key bound to +gren1)
primetwo prime grenade type 2 (same at pressing, but not releasing the key bound to +gren2)
protocol NEW: says "38"
ptrack crash your box :)
pushlatency -100 set pushlatency (try around -1/2 to -1 times ping) -- some people say using non-integer values (like -100.0521) reduces lag
quit exit to windows without confirmation
r_decals 300 set max number of blast mark decals in single-player (lower number will improves perfomance some, but decals wil disappear sooner)
r_drawadaptive NEW: ?
r_drawentities 1 enable drawing player models and sprites
r_drawviewmodel 1 enable drawing player weapon model (off improves perfomance a bit)
r_dynamic 1 enable dynamic lighting -- the light reflections glowing objects make on other objects nearby, such as rockets and the flashlight (0 may improve fps)
r_fullbright 0 enable max brightness, local game only
r_glowshellfreq 2.2 NEW: ?
r_lightmap <map#> NEW: Software rendering mode only -- display only one of the four possible lightmaps (valid values are 0, 1, 2, 3). Useful for viewing range of switched lights
r_lightstyle <style_no> NEW: Software rendering mode only -- display only the specified lighting style. Useful for viewing full range of pulsed, blinking, etc. light effects
r_mirroralpha 1 enable reflective textures
r_mmx 0 force MMX calculation methods for MMX CPU's (set to 1 if your CPU supports MMX! Any p2 does, as do most newer AMD and Cyrix chips. If using 1 reduces perfomance, set back to 0)
r_netgraph 1 enable graph of network conditions (yellow is bad, red is worse) turn this on to evaluate rate settings and connection quality
r_norefresh 0 enable clearing hud and console before redrawing
r_novis 0 enable drawing underwater polygons (must be 1 for r_wateralpha to work)
r_shadows 0 enable player shadows (decreases performance and doesn't look that great)
r_speeds 0 enable display of average fps, draw speed, and polygon info (use to see running FPS info)
r_traceglow 0 enable inclusion of monsters in glow sprite occlusion checking (will decrease perfomance)
r_wadtextures 0 ?
r_wateralpha 1 enable alpha blending underwater (r_novis muse be 1 for this to work)
rate 4000 set client data rate (1000-4000 modem, 20000+ LAN) -- bad values cause LAG! turn on the r_netgraph to help avaluate different values, and try non-integers like 4001.0528.
rcon <password> "commands" remote console operation of a server. "commands" can be any console commands or variable settings. <passoword> is required if set.
rcon_address 0 set remote console ip address
rcon_password 0 set password for remote console operation
rcon_port 0 set remote console port
reconnect reconnect to the current server
record <filename> starts recording demo to Half-Live\valve\filename.dem
registered 0 ?
reload reload current map
removedemo <demo> <segmt> remove segment from a demo
removeip remove ip from filter ban list
resourcelist list all loaded resources
resources list loaded decals
restart restarts the current multiplayer map (remove decals, blood, bulletholes, scores, etc.)
retry try reconnecting to the last server four more times (after four failed attempts)
revertprofile GONE: reload last saved player profile
room_delay 0.3 3D sound setting
room_dlylp 2 3D sound setting
room_feedback 0.42 3D sound setting
room_left 0 3D sound setting
room_lp 0 3D sound setting
room_mod 0 3D sound setting
room_off 0 3D sound setting
room_refl 0 3D sound setting
room_rvblp 1 3D sound setting
room_size 0 3D sound setting
room_type 20 3D sound setting
s_2dvolume 1 Maximum volume at which 2D sounds are played. By the nature of the filters being applied to the A3D buffers, they are quieter then their 2D counterparts. Hence it is important to quiet the 2D sounds to normalize volume. Valid range is 0 to 1.0
s_a3d 0 enable A3D support
s_automax_distance 30 set distance for max sound volume
s_automin_distance 2 set distance for min sound volume
s_blipdir 0 ?
s_bloat 2 A3D 2.0 only. Bloat factor for polygons. This effectively scales each polygon by a certain amount. This is a rough way to fill holes left by unrendered small polygons.
s_buffersize 65536 set sound buffer size
s_disable_a3d enable disabling A3D support
s_distance 60 Adjusts the ratio of game units to meters - affecting velocity, positioning, and distance. The higher this number, the closer everything gets (in audio terms). Valid range is 0 to infinity.
s_doppler 0 Adjusts doppler - this setting is very sensitive which is why it is disabled by default. Valid range is 0 to 10.
s_eax 0 enable EAX support
s_enable_a3d enable A3D support
s_geometry 1 A3D 2.0 only. enables geometry rendering on/off. When disabled (0), geometry is not processed at all.
s_leafnum 0 ?
s_materials 0 ?
s_max_distance 1000 Maximum distance from the listener before rolloff is no longer applied. Valid range is s_min_distance to infinity
s_min_distance 5 Minimum distance a source will be from the listener before rolloff is applied to it. Sources with a value lower than s_min_distance will play at full volume. Valid range is 0 to s_max_distance.
s_numpolys 200 A3D 2.0 only. Maximum polygons to be rendered. Polygons will stop being rendered either when there are no more polygons left or s_numpolys polygons have been rendered. Setting this to 0 is the same as turning s_geometry off. Valid range is 0 to infinity.
s_occ_epsilon 1 ?
s_occfactor 0.250 A3D 2.0 only. Transmission value of material - the smaller the number, the more occluded the sound is (less sound passes through the material). Valid range is 0 to 1.0
s_occlude 1 A3D 2.0 only. enable sound occlusions.
s_polykeep 1000000000 ?
s_polysize 10000000 ?
s_refdelay 4 A3D 2.0 only. Delay between a source and its closest reflection. The higher the delay, the more time it takes between when the source and its first reflection is played. Valid range is 0 to 100.
s_refgain 0.400 A3D 2.0 only. Adjusts the gain on each reflection, where higher number means louder reflections. Remember very loud reflections could cancel out the effect of HRTFs. Valid range is 0 to 1.0
s_reflect 1 A3D 2.0 only. enable sound reflections.
s_reverb 1 enable reverb
s_rolloff 1 Adjusts the rolloff factor; when the rolloff value is increased, the effects of distance are increased: high frequencies are filtered and volume is lowered. Valid range is 0 to 10.
s_showtossed 0 ?
s_usepvs 1 ?
s_verbwet 0.250 Controls the wet/dry mix of reverbfor A3D only. The higher the number, the more wet (more reverb) the sounds. Valid range is 0 to 1.0
save save the current game (1p only)
saveme call for medic
say "text" echo text to the screen of all players
say_team "text" echo text to the screen of team members only
scr_centertime 2 set how long server messages remain on screen
scr_connectmsg "msg" display "msg" in lower left of screen -- use "" for "msg" to clear
scr_connectmsg1 "msg" display "msg" in lower left of screen -- use "" for "msg" to clear
scr_connectmsg2 "msg" display "msg" in lower left of screen -- use "" for "msg" to clear
scr_conspeed 600 set the console scroll speed (try 3000 to make it nearly instant)
scr_ofsx 0 set screen message offset
scr_ofsy 0 set screen message offset
scr_ofsz 0 set screen message offset
scr_printspeed 8 set screen message print speed
scr_transparentui NEW: ?
screenshot capture the current screen and save to disk
sensitivity 9 set mouse sensitivity
servercfgfile set server .cfg file (default is server.cfg)
serverinfo display server information
serverprofile "string" server profile string
setdemoinfo <demo> <segmt> info add info to demo: info = title "text", play tracknum, fade <in|out><fast|slow>
setinfo display model name, color settings, name, rate, and model crc
setmaster <ip or hostname> set the master server (server list manager) for the server
sfeign feign death silently (Spy class only)
shortname display client's 'short name' (name)
showdrop 0 enable display of dropped packets
showinfo enable display of all packets
showpackets 0 enable network packet info display
showpause 1 enable pause graphic display
showram 0 enable display of available ram
showtriggers 0 enable display of map trigger entities; for map makers
sizedown decrease screen size (will increase FPS, won't work on all video cards)
sizeup increase screen size (will decrease FPS, won't work on all video cards)
skill 1 set the skill level (single player, coop)
skin 0 set model skin
skipdl skip the current download and move to the next (if any)
skipul skip the current upload and move to the next (if any)
slist search for local servers, store in list
slot1 select weapon group 1 (or menu item 1) see use
slot10 select weapon group 10 (or menu item 10) see use
slot2 select weapon group 2 (or menu item 2) see use
slot3 select weapon group 3 (or menu item 3) see use
slot4 select weapon group 4 (or menu item 4) see use
slot5 select weapon group 5 (or menu item 5) see use
slot6 select weapon group 6 (or menu item 6) see use
slot7 select weapon group 7 (or menu item 7) see use
slot8 select weapon group 8 (or menu item 8) see use
slot9 select weapon group 9 (or menu item 9) see use
snapshot capture screenshot
snapto ?
snd_noextraupdate 0 disable 'extra' sound system updates -- only try 1 if you have sound problems
snd_show 0 enable display of sounds as they are played
soundfade <params> set sound fade properties (params = <%><hold>[<out><int>])
soundinfo display number of: stereo channels, samples, samplebits, speed, DMA, and sound channels
soundlist display list of all loaded sounds
spawn not valid from console
speak <word> say something over the intercom (These work …)
special displays the "special" menu for a class, like +attack2 but lag-resistant (choose menu item with 'menuselect X')
spectator 0 enter spectator mode if enabled
startdemos start playing demos in a loop
startmovie <file> play a movie
status for each client list: user#, frags, name, frame rate, frame latency, ping, drop %
stop stops recording the demo
stopdemo stop playing a demo
stopsound stop playing current sound
stuffcmds used to initialize client console commands from server
suitvolume 0.20 set HEV suit volume
sv_accelerate 10 set player acceleration for a server
sv_aim 0 enable aiming assistance for clients
sv_airaccelerate 10 set in-air acceleration for a server (higher makes it easier to move while flying through the air or jumping, Mario Brothers - style)
sv_airmove 1 enable clients ability to move in air
sv_allow_downloa enable allowing clients to download maps and decals
sv_allow_upload enable allowing clients to upload maps and decals
sv_allowdownload 1 enable allowing clients to download maps and decals
sv_allowupload 1 enable allowing clients to upload maps and decals
sv_bounce 1 enable bounce pads
sv_challengetime 15 set time to allow clients to complete connection
sv_cheats 1 enable cheats
sv_clienttrace 3.5 set client bounding box size (for collisions, not clipping)
sv_clipmode 0 set client clipping mode
sv_friction 4 set friction
sv_gravity 800 set gravity (lower is less gravity, higher jumps)
sv_idealpitchscale 0.800 set pitch reference
sv_lan enable LAN server mode
sv_language 0 set language
sv_logrelay new - ?
sv_masterprint 1 GONE
sv_masterprinttime 5 GONE
sv_maxspectators 8 set max number of spectators
sv_maxspeed 500 set max player speed (for ALL clients)
sv_maxvelocity 2000 set max object velocity
sv_netsize 0 set max network packet size ( 0 = auto )
sv_newunit 0 ?
sv_password 0 set server password
sv_print_custom ?
sv_sendvelocity 1 new - ?
sv_showcmd 0 ?
sv_skyname 0 set sky texture
sv_smartdelta 1 new - ?
sv_spectalk 1 enable allowing spectator clients to chat
sv_spectator_password 0 set spectator password
sv_spectatormaxspeed 500 set spectator max movement speed
sv_stepsize 18 set monster and player automatic step-up size (larger values allow auto-climbing of steeper slopes)
sv_stopspeed 100 ?
sv_timeout 65 set timeout inactivity limit
sv_type enable server CPU and OS type to be given out on server queries
sv_upload_maxsize 0 set upload file max size
sv_wateraccelerate 10 set in-water acceleration
sv_wateramp 0 ?
sv_waterfriction 1 set friction underwater
sv_zmax 4096 set max zbuffer size
svaddchannel GONE: add or list server chat rooms
svclearchannels GONE: clear server chat rooms
svremovechannel <#chan> GONE: remove server chat room #
swapdemo <demo><seg><seg> swap two segments' positions in a demo
sys_ticrate 0.050 GONE: set system ticrate
team 0 enable team mode, see teamX_color and teamX_model
team1_color 0 set team1 color, see team
team1_model 0 set team1 model, see team
team1_name 0 set team1 name, see team
team1_skin 0 set team1 skin, see team
team2_color 0 set team2 color, see team
team2_model 0 set team2 model, see team
team2_name 0 set team2 name, see team
team2_skin 0 set team2 skin, see team
tell <playername> <message> supposed to send "message" to player "playername" only, but I can't get it to work
texgamma 2 ?
tf_weapon_ac weapon name for "use <weapon>" command; selects AutoCannon (TFC HW class only)
tf_weapon_autorifle weapon name for "use <weapon>" command; selects Autorifle (TFC Sniper class only)
tf_weapon_axe weapon name for "use <weapon>" command; selects Crowbar
tf_weapon_flamethrower weapon name for "use <weapon>" command; selects Flame Thrower (TFC Pyro class only)
tf_weapon_gl weapon name for "use <weapon>" command; selects Grenade Launcher (TFC Demo class only)
tf_weapon_ic weapon name for "use <weapon>" command; selects Incendiary Cannon (TFC pyro only)
tf_weapon_knife weapon name for "use <weapon>" command; selects Knife (TFC Spy class only)
tf_weapon_medikit weapon name for "use <weapon>" command; selects Medikit (TFC Medic class only)
tf_weapon_ng weapon name for "use <weapon>" command; selects Nailgun (TFC Sniper or Scout classes only)
tf_weapon_pl weapon name for "use <weapon>" command; selects Pipe Launcher (TFC Demo class only)
tf_weapon_railgun weapon name for "use <weapon>" command; selects Railgun (TFC Engineer class only)
tf_weapon_rpg weapon name for "use <weapon>" command; selects Rocket Launcher (TFC Soldier class only)
tf_weapon_sniperrifle weapon name for "use <weapon>" command; selects Sniper Rifle (TFC Sniper class only)
tf_weapon_spanner weapon name for "use <weapon>" command; selects Spanner (wrench) (Engineer class only)
tf_weapon_superng weapon name for "use <weapon>" command; selects Super Nailgun (TFC Medic class only)
tf_weapon_supershotgun weapon name for "use <weapon>" command; selects Super Shotgun (TFC HW class only)
tf_weapon_tranq weapon name for "use <weapon>" command; selects tranquilizer (TFC Spy class only)
tfc_adminpwd 0 set TFC administrator password
tfc_autoteam 1 enable forced auto-team selection
tfc_balance_scores 1 enable automatic team balancing by score
tfc_balance_teams 1 enable automatic team balancing by number of players
tfc_birthday 0 enable 'birthday' mode (explosives appear as presents)
tfc_clanbattle 0 enable TFC clan battle (tournament) mode
tfc_clanbattle_ceasefire 0 enable ceasefire mode if tfc_clanbattle = 1
tfc_clanbattle_locked 0 enable locked (play) mode if tfc_clanbattle = 1
tfc_clanbattle_prematch 0 enable prematch (practice) mode if tfc_clanbattle = 1
tfc_fragscoring 0 enable inclusion of frags (and not just captures or area control) in team scores
tfc_respawndelay 0 set respawn delay for TFC games
tfc_spam_limit 20 set number of messsages per time (minute?) that will cause spam penalty
tfc_spam_penalty1 8 set spam penalty level 1
tfc_spam_penalty2 2 set spam penalty level 2
thirdperson enable third-person view (see firstperson, chase_cam)
throwgren throw the grenade type last primed with primeone or primetwo
timedemo <demo> play demo HalfLife\Valve\demo.dem at max FPS and report average FPS (see r_speeds, timerefresh, gg)
timerefresh spin view in place and report average FPS for the spin (see timedemo, r_speeds, gg)
topcolor 30 set player model top color
traceralpha 0.500 set tracer bullet alpha component
tracerblue 0.400 set tracer bullet blue component
tracergreen 0.800 set tracer bullet green component
tracerlength 0.800 set tracer bullet length
traceroffset 30 set tracer bullet offset
tracerred 0.800 set tracer bullet red component
tracerspeed 6000 set tracer bullet speed
unbind <key> remove binding to key <key>
unbindall remove all key bindings
upload upload files to server
uprate display transmission rate to server
use <item> use an item, i.e. "use tf_weapon_axe" or "use weapon_snark"
user <name|id#> list for specified user: model colors, name, rate, model crc
users lists user names and id#s
v_centermove 0.150 ?
v_centerspeed 500 ?
v_dark 0 ?
v_idlescale 0 GONE
v_ipitch_cycle 1 GONE
v_ipitch_level 0.300 GONE
v_iroll_cycle 0.500 GONE
v_iroll_level 0.100 GONE
v_iyaw_cycle 2 GONE
v_iyaw_level 0.300 GONE
v_kickpitch 0.600 set amount player view pitch changes when player hit
v_kickroll 0.600 set amount player view roll changes when player hit
v_kicktime 0.500 set duration of player view pitch and roll changes when player hit
version display build version and exe date/timestamp (1.0.0.6 patch reports build 761)
vid_config_x 800 set horizontal screen resolution
vid_config_y 600 set vertical screen resolution
vid_d3d 0 enable Direct3D support (keep this off if your video card supports OpenGL)
vid_describemode display video mode settings
vid_mode 0 set video mode
vid_nopageflip 0 disable video page flipping
vid_stretch_by_2 enable video stretching (for interlaced display)
vid_wait 0 enable video synch
viewframe enable wire-frame display (OpenGL only, not 3dfx)
viewmodel enable model display
viewnext select next model
viewprev select previous model
viewsize 120 set view size
violence_ablood 1 enable blood (0 will improve perfomance some, but you won't see any blood)
violence_agibs 1 enable gibs (0 will improve performance some, but you won't see body chunks)
violence_hblood 1 enable more blood (0 will improve perfomance some, but you won't see as much blood)
violence_hgibs 1 enable more gibs (0 will improve performance some, but you won't see as many body chunks)
volume 1.0 set game volume
wait pause for 1 tick in alias or script
waterroom_type 14 ?
wc ?
weapon_357 weapon name for "use <weapon>" command; selects .357 magnum pistol (not for TFC, see tf_weapon_* for TFC weapon names)
weapon_9mmAR weapon name for "use <weapon>" command; selects 9mm Assault Rifle (not for TFC, see tf_weapon_* for TFC weapon names)
weapon_9mmhandgun weapon name for "use <weapon>" command; selects 9mm Pistol (not for TFC, see tf_weapon_* for TFC weapon names)
weapon_crossbow weapon name for "use <weapon>" command; selects Crossbow (not for TFC, see tf_weapon_* for TFC weapon names)
weapon_crowbar weapon name for "use <weapon>" command; selects crowbar (not for TFC, see tf_weapon_* for TFC weapon names)
weapon_egon weapon name for "use <weapon>" command; selects Egon Gun (not for TFC, see tf_weapon_* for TFC weapon names)
weapon_gauss weapon name for "use <weapon>" command; selects Gauss Gun (not for TFC, see tf_weapon_* for TFC weapon names)
weapon_handgrenade weapon name for "use <weapon>" command; selects Hand Grenades (not for TFC, see tf_weapon_* for TFC weapon names)
weapon_hornetgun weapon name for "use <weapon>" command; selects Hornet Gun (not for TFC, see tf_weapon_* for TFC weapon names)
weapon_rpg weapon name for "use <weapon>" command; selects Rocket Launcher (not for TFC, see tf_weapon_* for TFC weapon names)
weapon_satchel weapon name for "use <weapon>" command; selects Satchel Charge (not for TFC, see tf_weapon_* for TFC weapon names)
weapon_shotgun weapon name for "use <weapon>" command; selects Shotgun (not for TFC, see tf_weapon_* for TFC weapon names)
weapon_snark weapon name for "use <weapon>" command; selects Snarks (not for TFC, see tf_weapon_* for TFC weapon names)
weapon_tripmine weapon name for "use <weapon>" command; selects Tripmines (not for TFC, see tf_weapon_* for TFC weapon names)
writeip write ip addresses to halflife\valve\listip.cfg
writeprofile GONE: write user profiles to a file
zoom_sensitivity_ratio 1.200 set the ratio of normal mouse sensitivity to zoomed-in (alt fire crossbow or .357 in HL, sniper rifle in TFC) mouse sensitivity

The contents of this page and all local links are Copyright © 1998, 1999 Randy Thomas. All rights reserved.