Half-Life Console Help


Variables (values shown recommended for online play)

// These are comments, and may be left in this text if you copy it into (or create a) 
// valve/autoexec.cfg file for automatic settings on startup.
// For some reason, the autoexec.cfg is not executed automatically on startup for some people
// If you find your binds aren't set, just open the console and type "exec autoexec.cfg" (without the quotes)

//Miscellaneous Settings

name "anything but player"  //Sets your player name -- nothing says "newbie" like a player named "Player". 

//Sound Settings

bgmvolume 0  //Disables CD audio
hisound 0  //Disables high-quality sound
suitvolume 0.20   //Sets HEV Suit Volume
volume 1.0  //Sets Game Volume
s_a3d 0  //Disables A3D Support
s_eax 0  //Disables EAX Support

// Input Settings

+mlook  //Enables mouse look
_windowed_mouse 1  //Enables mouse in windowed mode
joystick 0  //Disables joystick
lookstrafe 0  //Disables mouse strafing when mlook is active
lookspring 0  //Disables automatic view centering when mlook is deactivated
m_filter 0  //Disables mouse filtering (smoothing)
m_pitch -0.022  //Sets mouse pitch sensitivity multiplier (mouse speed in the Y-axis only).  NOTE: the negative sign inverts the mouse Y-axis.   Change that to 0.022 (or whatever positive value you like) to have a non-inverted mouse.
sensitivity 9  //Sets mouse sensitivity
sv_aim 0  //Disables aiming assistance
_snd_mixahead 0.100 //Sets sound mixahead value (like s_mixahead in Q2), different values may help fix stuttering problems on some sound cards

// Network Settings

cl_download_ingame 0  //Disable downloads
cl_nodelta 0  //Enable delta complression (only disable if you get network errors)
cl_nopred 0  //Enables client-side prediction
cl_predict_players 1  //Enables client-side prediction of other players
rate 4000  //Sets data rate (1000-9999, <4000 for modem, 9999 LAN)
r_netgraph 1 // Turnon graph of network conditions.  Yellow is bad, red is worse. 
  // enable and tweak rate, pushlatency, and fps_modem to reduce red/yellow.
fps_modem 31  //Sets max framrate, like cl_maxfps in Q2.  Lower reduces lag.
fps_lan 31  //Sets max framrate, like cl_maxfps in Q2.  Lower reduces lag.
pushlatency -100  //Sets pushlatency (try negative of 1/2 to 3/4 your ping )

// Video Settings

brightness 1  //Enables glare reduction
crosshair 1  //Enables crosshair
gamma 2.6  //Sets gamma level
gl_playermip 2 // Sets lower quality player rendering
gl_ztrick 1  // Speeds up 3DFX rendering
cl_himodels 0  //Disables high quality player models
r_decals 0  //Disables blast mark decals
viewsize 120  //sets screen size

// Chase Cam / Third person view settings

chase_active 1 // enables chase-cam (third-person view, like TombRaider or Hexen 2)
cam_command  0 // not sure about this one
cam_contain  0  // or this one
cam_idealdist  64  // sets the preferred distance from the player model for the chase cam
cam_idealpitch  0 // sets the preferred pitch for the chase cam
cam_idealyaw  90  // sets the preferred yaw for the chase cam
cam_snapto  0  // not sure
chase_back  100  // sets the preferred cam distance from the player when backing up
chase_right  0 // sets the preferred offset to the side for the chase cam
chase_up  16 // sets the preferred offset up for the chase cam
(see also chase commands below for binds that control the cam)
 
[Previous Page] [Back to Console Index] [Next Page]