Console Usage


Standard game console is invoked by pressing the Tilde (~) key, or F1 key (if your keyboard does not have the Tilde key). You can edit the console line by standard editing keys, use history by pressing Arrow Up or Arrow Down, or use word completion by pressing Tab.
Note that the console syntax is C-like. That is, you have to append brackets to function names when calling functions, and you can use mathematical expresions. In the same spirit, statement separator is semicolon, but you don't have to enter it manually. It is automaticaly appended when you press return. Remember that, though, if you intend to write something in the startup script or key bindings.

Some console commands that can be useful for testing are listed here. You can always use ListSymbols() function in the console to get list of all variables and functions with descriptions.

Interface rendering
hud_bShowWeapon Set this to 0 to disable rendering held weapon in the first person view.
hud_bShowInfo Set this to 0 to disable drawing status line (head up display).
Graphics adjustments
GfxInfo() Prints information on current state of graphics library and active OpenGL driver.
ogl_bUseMultitexture
ogl_bUseCompiledVertexArrays
ogl_bFastRendering
ogl_bFastStateChange
ogl_bFastUploading
With these variables you can disable some advanced optimizations that might not work on your driver.
ogl_iVSyncsToWait Number of vertical retraces to wait on each buffer swapping. Disables vertical synchronization when set to 0. Requires WGL_EXT_swap_control.
RefreshTextures() Execute this function to reload all textures and rebind them to the OpenGL driver again. Required for some texture settings to take effect.
tex_iNormalQuality
tex_iEffectQuality
tex_iAnimationQuality
tex_iNormalSize
tex_iEffectSize
tex_iAnimationSize
tex_iDithering
tex_bDitherEffect
shd_iStaticQuality
shd_iDynamicQuality
shd_iStaticSize
shd_iDynamicSize
shd_iDithering
shd_bDitherDynamic
shd_bAllowDynamic
shd_bNoDynamicMipmaps
shd_iStaticBlurFilter
shd_iDynamicBlurFilter
These control quality of texture maps and shadow maps. They can be used to adjust performance by reducing overhead for CPU and/or graphics card.
Usually, RefreshTextures() is required for a change to take effect.
gfx_iRenderLensFlares

mdl_fLODMul
mdl_fLODAdd
mdl_bRenderBump
mdl_bRenderSpecular
mdl_bRenderReflection

wld_bTextureLayer2
wld_bTextureLayer3
wld_bRenderMirrors
wld_fDetailRemovingBias
These control rendering options that can be adjusted to lower the fill rate and/or triangle throughput.
Usually, RefreshTextures() is required for a change to take effect.
Cheats
cht_iGoToMarker Set this to a marker position number and you will be instantly teleported to the given position. This can be used instead of this guide for fast step-by-step exploraion.