Half-Life Console Help

Other Command Line Flags (besides -console)

Besides -console, there are several other available command-line parameters that you can use in the same way.  In fact, you can set just about any console variable you like by adding +variable_name value to the command line. Note that's a plus (for normal console variables), but most of the special (command-line only) command-line flags below must begin with a minu s(-). 
-3dfxgamma force the game to use the video gamma settings from the 3dfx driver setup (3dfx cards only). Otherwise Half-Life ignores the gamma settings.
-console enables access to the command console (tilde key or button on main menu to access).
-d3d selects Direct3D rendering engine.  1.0.0.9 only.
-dev enables developer mode; use 'developer 1' and 'developer 2' in console to set debug message detail level 
-full selects full-screen mode. 
-game <name> runs a different game than 'normal' Half-Life, i.e. TFC.  Just like set game in the console.
-gamegauge <demoname> runs the demo in demoname.dem in benchmaking mode and saves the results in fps.txt file.    Can do the same thing in-game with cl_gg 1; gg in the console.
-gl selects OpenGL rendering engine.  1.0.0.9 only.
-gldrv <name> selects OpenGL rendering engine with driver "name.dl"l. 
-heapsize <KB> sets the amount of RAM Half-Life will use; set to something less than your total RAM
-nointro skips the two AVI (Sierra and Valve) intro movies
-nosierrs skips the two AVI (Sierra and Valve) intro movies
-noipx disable initialization of IPX network protocol
-nojoy disable joystick initialization (saves a bit of memory)
-numericping (v1.0.0.8 only) enables numeric server ping display (instead of default green dots)
-particles <number> number is the number of particles for which to set aside buffer space.   This is useful for seraching for leaks in maps.
-port <number> set the port for a server (listen server or dedicated server).  useful for running multiple servers on one computer.
-safe start Half-Life in safe mode 
+skill X sets the skill level; replace X with 1 (easy), 2, or 3 (hard). 
-soft selects Software mode rendering engine. 
-toconsole causes Half-Life to load directly to the command console
-w <#> sets video mode width (# is number of pixels wide). 
-wavonly disable Direct Sound and play all sounds as WAV audio
-win selects windowed mode (not supported by all vide cards). 
-zone <size> appears to solve mos script memory errors if you set it to 1024 (I believe the default is 255).  Maybe the max line length (in characters) of a script or cfg file.

 
[Previous Page] [Back to Console Index] [Next Page]