Copyright Sierra Stdios & Valve Software

Visual CVARs Names, Values(Range or Toggle), Default Values, Explanations and Performance considerations
based on 3Dfx Interactive's Voodoo2 running 3Dfx's MiniGL driver
by )))Reverend(((


In short

The below config is the best I can come up with to make Half-Life look best. To get the game to load this config, there are two ways to do it (and do them in the steps listed) :

A : Naming the config RevVis.cfg back to Important notes on "Brightness" and "Gamma"

(1) Create a file called, say, RevVis.cfg in C:\Half-Life\valve\ (your game folder maybe different but make sure it’s in \valve\)
(2) Bind a key to executing this file by starting the game, pull down the console (press the "~" key,the one just above the TAB key) and type bind HOME "exec RevVis.cfg" (you may bind another key instead of HOME but make sure you type the quotes)
(3) Exit the console and press the HOME key. You’ll see an immediate change most noticeably in the brightness of your weapon but you’ll have to quit and re-start the game for some changes to take effect. If you type "restart" (w/o the quotes) in-game at the console instead, it has the same effect but you'll lose whatever weapon/inventory you had at the point where you restarted.


B : Naming the config 3dfx.cfg back to Important notes on "Brightness" and "Gamma"

if you want these settings to load up automatically each time you run the game (ie. no need to press any bound key to execute the file/settings), instead of naming the file RevVis.cfg and placing it in \Half-Life\valve\, name it 3dfx.cfg and put it in \Half-Life\valve\hw\. Half-Life always looks for this file to execute if you chose the "3dfx MiniGL" as your driver (like I put in bold at the top of the page,this guide is based on the Voodoo2 and Intel cpus. AMDs,TNTs,i740s,etc. are untested....anyone who owns any of these uses my config at their own risk coz I'm absolutely sure some settings will cause graphical anomalies) in the Video Modes menu in-game.After doing that,start,quit and re-start the game for the settings to take effect permanently.If you're the industrious and experimental type,certain settings can be changed on-the-fly in-game,others will require a re-start (refer to all of the above to see which cvar requires a restart for changes to take effect).

Enabling the console

Also, make sure you enable the console by adding either "-console" or "-toconsole" or both to your Half-Life command line, like this,
"C:\Half-Life\hl.exe –console –toconsole –zone 1024".
The first(-console) adds a "CONSOLE" button to the main menu in the game, the second (-toconsole) will start you up directly in the game’s console, having both in the command line will start up in the console but you’ll have to either press "ESC" or "~" to get to the main menu and still have the "CONSOLE" button available in the main menu. Having both in the command line is good if you want to see what’s being loaded by the game on start-up(you’ll see all that in the console). Also quite a few souls have asked me what the "-zone 1024" is for. H-L will crash out with a memory allocation error with repeated loading of large configs.The -zone 1024 command line parameter allocates 1meg of memory to prevent that.
Add "+load quick.sav" to the command line if you always want to start the game where you last quick saved.

The Config
(start copy after this line)    

//Reverend's Half-Life High Visual config to be named as RevVis.cfg and     
//placed as such in C:\Half-Life\valve\  or named as 3dfx.cfg and placed in  
//C:\Half-Life\valve\hw\ for "automatic" loading of these settings    
echo "Setting )))Reverend(((‘s Half-Life Best Visuals configuration…"    

gl_ztrick 0    
gl_overbright 1    
gl_cull 1    
gl_smoothmodels 1    
gl_affinemodels 1    
gl_nocolors 0    
gl_dither 1    
gl_spriteblend 1      
gl_polyoffset 4    
gl_lightholes 1    
gl_keeptjunctions 1    
gl_max_size 256    
gl_texturemode GL_LINEAR_MIPMAP_NEAREST    
gl_texsort 1    
gl_monolights 0
gl_clear 0
d_spriteskip 0  
cl_himodels 1    
r_traceglow 0    
r_shadows 1    
r_lightmap 0    
r_dynamic 1    
r_mmx 1   
r_novis 0   
r_wateralpha 1  
r_fullbright 0  
gl_palette_tex 1    
r_norefresh 0    
r_decals 4096 \\change this to 500 for extended DM sessions   
gl_alphamin 0.25    
gl_round_down 3    
gl_picmip 0    
brightness 1   \\ if you name this cfg as 3dfx.cfg, please read above)  
gamma 3   \\ if you name this cfg as 3dfx.cfg, please read above)  
lambert -2    
texgamma 2          
lightgamma 2      
echo "DONE setting visual configurations!!"    

(end copy) 


PREV : Cool things (plus some worth  
experimenting for mod/map creators)
Main Page NEXT : Some important notes on configs

  Return to Reverend's THE PULPIT Main Page