Source based PC Games Commands

PC Command Line for Source based PC Games are listed here for archiving and recording purposes. Source is a video game engine developed by Valve to replace the older GoldSrc. source-based-pc-gamesThese codes may or may not work for Source based games such as Counter Strike Source, Left 4 Dead, Left 4 Dead 2, Half-Life 2, Portal, Team Fortress 2, Garry’s Mod, Day of Defeat etc.
source-based-pc-games The following Source commands are categorized as Command-line Commands, Common Commands, Binding Commands, Performance Commands, Graphics Commands, Sounds Commands, Demo (Video) Commands, Benchmark Commands, View Commands, Info and Diagnostic Commands, Cheat Commands and Multiplayer Commands.
Command-line Commands
-novid
Prevents the Valve startup movie from playing when loading up the game, speeding up startup time.
-noborder
When a game is run in Windowed mode, using this command will remove the borders around the game window.
-heapsize
This command tells the Source Engine to allocate more RAM to the system heap, where it can be accessed by the game to improve performance by caching more game information in RAM and hence reducing loading pauses. The default heapsize varies, but can be 256MB or less. If you have 2GB of RAM you may wish to increase this to 512MB (a heapsize of 524288). You can use higher values if you wish, but I don’t recommend exceeding half your physical RAM (e.g. for 2GB RAM, don’t set heapsize higher than 1024000). You can’t force the game to load completely into RAM, that’s not what this command does.
-mem_max_heapsize
Recent Source games may use the mem_max_heapsize command to determine the maximum possible heap size in MB.
-console
Speeds up the loading of a game by not loading up the background 3D graphics on the main menu and instead loading up a blurry background picture and the command console is open. Note you can close this console using the ‘~’ key or clicking the x at the top right of the box.
-dxlevel
Using this command allows you to force the game into only using the specified DirectX version for shaders. For example, use -dxlevel 70 to force Hardware DirectX7.0 level support for shaders. This means a noticeable reduction in image quality but an increase in performance. Other values include -dxlevel 80 -dxlevel 81, -dxlevel90 and -dxlevel95. Note that this only works if you choose a DirectX version which is lower than the current one supported by your graphics card – see the Hardware DirectX Version option under the In-Game settings for more details. Note further that lowering the DirectX Level may also cause glitches and problems, so it should be used mainly as a last resort.
-width -height
Using these two commands you can set a custom resolution in Pixel Width x Pixel Height (e.g. -width 640 –height 480 starts the game with 640×480 resolution). Make sure you choose a resolution supported by your monitor and with the correct ratio of width to height.
-refresh
Specifies the refresh rate the game will use upon loading. This is normally not required as your system should already use the optimal refresh rate at your chosen resolution. However if this is not the case you can force it to a specific refresh rate (e.g. -refresh 85). Make absolutely certain that the rate you are trying to apply does not exceed your monitor’s capabilities otherwise you may get a blank screen, especially if you change resolutions and forget to change this option.
-32bit
Forces the game to start in 32-bit mode, which is the default on 32-bit systems. This command is only useful if you’re running a 64-bit OS and wish to run a game in 32-bit for compatibility reasons.
-dev
Starts the game in developer mode, and usefully also results in the removal of the animated background in the main menu, speeding up startup times. However error/debug text will constantly be displayed on screen during play.
-threads
According to Mike Durand of Valve, the Source engine defaults to taking advantage of no more than three threads due to various issues. However a user can manually override this limitation by specifying -threads 4 (for quad core) on the command line. For anyone using an eight-core CPU, -threads 8 is also possible. Obviously if this causes any problems, remove this command.
-nohltv
-tvdisable
Disables all SourceTV features on this game server.
-tvmasteronly
SourceTV can only serve one client and can’t be used as relay proxy.
Common Commands
cl_showfps
Draws a Frames Per Second (FPS) counter at the top of the screen. 0=off, 1=FPS, 2=Smoothed FPS. In general the smoothed fps counter is best for viewing framerates.
cvarlist
If entered by itself this command generates a list of all the command variables (cvars). If one or more characters are also entered, cvarlist will list all commands starting with those letter(s).
help
Provides any available help text for the specified cvar.
find
Finds cvars with the specified string in their name or help text.
differences
Shows all the cvars which are not at their default values, displaying which have been changed.
exec
Executes all valid commands within the specified configuration file. The file must be a plain text file with the name filename.cfg and reside in the same directory as config.cfg.
clear
Clears all text from the console.
echo
Outputs the specified string to the console (e.g. echo banana prints the text banana in the console).
version
Shows the current version of the game. The version number of the HL2 executable is effectively the version number for the entire game. Also shows the current build of the Source engine being used.
pause
Pauses the game.
unpause
Unpauses the game.
autosave
Saves the current game to the autosave slot. Will not work if autosave is completely disabled as per the instructions in the Conclusion section.
sv_autosave
If set to 1, allows the game to automatically save your progress at level transitions. If set to 0, game will not save whenever a new level starts, but may still save periodically at certain trigger points within a level. This can help reduce periodic stutters. To disable all autosaving see the Conclusion section of this guide.
save
Saves the current game under the savename specified.
load
Loads a game from the specified savename file.
reload
Reloads the most recent saved game.
restart
Restarts the game on the same level.
kill
Kills your character.
flush
Flushes the cache memory. Can resolve graphical anomalies such as texture glitches.
map_background
Runs a map as the background to the main menu. To find the mapnames, use the maps command (see below).
maps
Lists all maps starting with the provided string. Use maps * to list all mapnames.
screenshot
Takes a screenshot.
jpeg
Takes a screenshot as a .jpg with the specified filename using the quality % specified (e.g. jpeg snapshot 50 saves a screenshot as snapshot.jpg with 50% quality). If no quality is specified the default as set by jpeg_quality will be used (see below).
jpeg_quality
Specifies the default quality percentage for screenshots taken with the jpeg command (see above).
path
Shows the engine filesystem paths.
exit, quit
Either command exits the game and returns to the Desktop.
Binding Commands
bind
Binds the stated command to the specified key (e.g. bind Z console binds the Z key to opening the command console).
bindtoggle
Same as the bind command, except the assigned key can be used to both turn the command on and off (e.g. bindtoggle F cl_showfps 2 means the F key will toggle the FPS counter on or off).
unbind
Removes any bindings from the specified key.
unbindall
Removes bindings from all keys.
alias
Gives a command a short name (e.g. alias taunt echo You wretched stench! changes ‘taunt’ into a command which spits out “You wretched stench!” when used). Use alias as a shortcut for long or complex command strings.
key_findbinding
Find the key bound to the specified command.
key_listboundkeys
Lists all the keys which currently have a binding.
Performance Commands
mat_forcemanagedtextureintohardware
If set to 1, attempts to force texture information into your VRAM at the start of a level, alleviating any stuttering in the game. Note, this setting was introduced with the first ‘stutter fix’ patch (See Troubleshooting Tips section for details). Also note that from feedback and in my experience this setting can reduce FPS by up to 50%. Setting this variable to 0 may improve performance on some machines.
cl_forcepreload
If set to 1 forces all information to preload, reducing loading pauses and stuttering by not loading information on the fly.
sv_forcepreload
If set to 1, forces server-side preloading, once again reducing loading pauses.
cl_ragdoll_collide
If set to 1, prevents characters from merging into each other due to ragdoll effects, thereby improving realism with no real performance hit. Note however that enabling this option may cause physics glitches in HL2: Episode 2, so on balance it is best to leave it disabled if playing Episode 2.
mat_compressedtextures
If set to 1, uses compressed textures for optimal performance. For those with graphics cards which have higher amounts of VRAM (e.g. 256MB or more) setting this to 0 will improve texture appearance at the possible cost of some performance, but may cause a crash.
fps_max
Limits the maximum possible framerate to the FPS specified. Has no impact on framerate performance (other than capping it). I recommend setting this to your monitor’s refresh rate for smoother FPS, due to less volatile fluctuations (e.g. fps_max 85). Setting it higher does not increase overall framerate; this setting does not work the same way as Vsync.
mem_force_flush
If set to 1 forces the cache to be flushed on every allocation, which is not necessarily optimal nor recommended, but can reduce memory-related errors and crashes.
r_fastzreject
If set to 1 activates a fast z-setting algorithm which takes advantage of hardware fast z reject for improved performance. If set to -1 detects your default hardware setting for this option. Initially this should be set to -1.
cl_smooth
If set to 1 attempts to smooth the view after prediction errors, however this can increase stuttering, so if you want to reduce stutters set this to 0.
cl_smoothtime
Time over which to smooth the view after prediction errors. If cl_smooth is enabled, experiment with values to see which gives the best results.
sv_autoladderdismount
If set to 1, the player automatically dismounts from ladders when the end is reach. If disabled, the player must press the USE key to mount/dismount ladders and hence cannot accidentally jump/walk off a ladder. Set to taste as there is no performance impact.
mp_footsteps
If set to 1, player footsteps can be heard, if set to 0 no footsteps are emitted from the player. Set to taste, has no performance impact, but can affect realism.
violence_ablood
If set to 1 shows alien blood when they are hit. Disabling this can improve performance but reduce realism.
violence_agibs
If set to 1 shows alien gore when they are hit. Disabling this can improve performance but reduce realism.
violence_hblood
If set to 1 shows human blood when they are hit. Disabling this can improve performance but reduce realism.
violence_hgibs
If set to 1 shows human gore when they are hit. Disabling this can improve performance but reduce realism.
ai_expression_optimization
If set to 1, disables NPC expressions when you can’t see them, potentially improving performance.
datacachesize
Determines the amount in MB to allocate to the game’s general data caches. The default is 32MB, and the maximum is 128MB. Note that in testing this in recent Source games, altering this value even to 128MB can actually reduce the size of certain caches which are already larger by default (or have been made larger by the Heapsize command), so on balance now I recommend leaving this at its default. If white textures appear after altering this setting, return it to its default.
r_threaded_particles
Determines whether the particle system is multi-threaded. This should be set to 1 on systems with multi-core CPUs.
r_threaded_renderables
Determines whether part of the rendering system is multi-threaded. This can be set to 1 on systems with multi-core CPUs to potentially improve performance.
mem_max_heapsize
This command tells the Source Engine the maximum amount of memory to be allocated to the system heap. If you are using the -Heapsize command line variable, then you may need to increase this value from its default of 256MB to allow a larger heapsize to be used for certain caches.
snd_mix_async
If set to 1, this command will allow multi-core CPUs to run most of the sound engine in parallel with the renderer, which can improve performance and reduce stuttering.
mat_queue_mode
This setting determines the threading mode the material system uses. A value of -1 uses the default for your system, a value of 0 uses synchronous single thread, 1 uses queued single threaded mode, and value of 2 uses multi-threaded mode. Many users report performance increases on multi-core systems when setting this variable to a value of 2.
Graphics Commands [1]
cl_detaildist
Determines the range at which detail props are shown (e.g. grass). Reducing this setting can increase performance, and conversely increasing this setting will improve image quality through more detail at the cost of performance.
cl_detailfade
Determines the range at which detail props fade into view. Increasing this value can raise performance.
cl_maxrenderable_dist
Specifies the maximum distance from the camera at which things will be rendered. The smaller the number, the less will be rendered, improving performance (considered as CHEAT).
cl_ejectbrass
If set to 1, weapons eject shells as they fire. If set to 0 they don’t, which can improve performance especially during heavy combat.
cl_show_splashes
If set to 1, splashes in water are shown, if set to 0 they are disabled. Can improve performance if disabled at the cost of realism.
crosshair
If set to 1, enables the crosshair on the screen, if set to 0 disables it. The performance difference is negligible, so set to taste.
lod_TransitionDist
The distance at which the lod is reduced on objects. The higher this range, the lower your performance but the better distant objects will appear.
mat_bumpmap
If set to 1, enables bump mapping which makes flat 2D textures appear three dimensional. If disabled, textures will be loaded without bumpmapping and will appear far less realistic, however performance will be improved.
mat_clipz
If set to 1, uses an optimization technique to reduce what is drawn on screen for a performance improvement. Note that some Nvidia FX card owners need to set mat_clipz 0 to fix rendering problems.
mat_diffuse
If set to 1, uses diffuse lighting on materials. If set to 0 such lighting is removed and while performance is improved the screen is almost completely black from lack of this diffuse (ambient) lighting and hence is not recommended.
mat_drawwater
If set to 1, all water is rendered. Setting this to 0 can remove water for a performance boost at the cost of realism (considered as CHEAT).
mat_dxlevel
Determines the shader version for special effects applied to materials. Options include 70, 80, 81, 90 and 95 (e.g. mat_dxlevel 81). This is similar to the -dxlevel switch in the Advanced Tweaking section on page 7. Using shader versions lower than the highest level supported by your card will improve performance at the cost of varying degrees of image quality loss (depending on the shader version used).
mat_fastnobump
If set to 1, floor textures have all bump mapping removed and will appear flat and smooth. This can improve performance without affecting all bump mapping in the game, but will make floors appear unrealistic.
mat_filterlightmaps
If set to 1, static lightmaps are rendered correctly. If set to 0, all areas of pre-rendered lighting will be blocky and unrealistic, but performance will be improved slightly at the cost of realism.
mat_filtertextures
If set to 1, textures are rendered smoothly. If set to 0, textures will be blocky and unrealistic (similar to the original Doom!) but performance will be improved.
mat_fullbright
If set to 1, lights every texture will up brightly lit up (considered as CHEAT).
mat_hsv
If set to 1, converts everything to black and white.
mat_mipmaptextures
If set to 0 disables mipmap textures, which harshens textures greatly but can improve performance.
mat_showlowresimage
If set to 1, loads extremely low resolution blocky textures in place of the normal ones for a significant performance boost at the cost of a great deal of realism.
mat_softwarelighting
If set to 1, uses only software-supported lighting. Image quality is not greatly affected, but this may increase or decrease your performance depending on whether your CPU is far more powerful than your graphics card.
mat_specular
If set to 1, uses specular lighting. If set to 0 materials will not have specular lighting applied to them (which makes things look more shiny) for a performance boost but a slight drop in image quality.
muzzleflash_light
If set to 1, weapons firing will emit a light along with the muzzle flash. If set to 0, a muzzle flash is still visible but no lighting is cast from it. Performance will improve in combat scenes with no noticeable drop in realism.
r_decal_cullsize
Decals (marks from weapons etc.) higher than the specified size in pixels will be removed straight away. Raising this value can improve performance during heavy gunfire for example, at the cost of some realism depending on how high this value is raised.
r_decals
Specifies the maximum number of decals possible at any one time. The higher this number, the greater the potential for getting slowdowns during large firefights as large numbers of decals are generated. Reducing this setting can improve performance in such situations.
r_drawdecals
If set to 1, decals are drawn. If set to 0, no decals are drawn at all improving performance but greatly reducing realism (considered as CHEAT).
r_drawflecks
If set to 1, small chunks of rubble and dirt will be thrown up around bullet impact points. If set to 0, these ‘flecks’ will be disabled, reducing realism but improving performance.
r_drawmodeldecals
If set to 1, decals can be drawn on models, which are pretty much everything excluding walls and floors. If set to 0 these decals will be disabled, improving performance during weapons fire for example, but reducing realism.
r_maxmodeldecal
If r_drawmodeldecals is enabled, this number determines the maximum number of decals which can be drawn on a model. The higher the setting the greater the performance impact when firing at models.
r_drawparticles
If disabled, particle effects
which includes smoke and explosions
will not be drawn. This can greatly improve performance around such effects at the cost of a great deal of realism (considered as CHEAT).
Graphics Commands [2]
r_DrawRain
If set to 1, rain effects will be rendered, however if disabled no rain will be drawn. This improves performance in levels where there is visible rain, however realism is greatly reduced (considered as CHEAT).
r_drawropes
If set to 1, all ropes and rope-like objects (e.g. powerlines) will be drawn as normal, however disabling this setting will remove such objects, perhaps improving performance in places where they existd due to a reduction in physics requirements, but reducing realism as well (considered as CHEAT).
r_drawskybox
If set to 0, the sky textures will be completely removed, improving performance but resulting in visual anomalies in the sky and a large reduction in realism.
r_drawtranslucentrenderables
If set to 1, all objects which are translucent (see through), such as the Combine energy shields, will be drawn. If set to 0, these objects will not be drawn, improving performance around them at the cost of realism (considered as CHEAT).
r_dynamic
If set to 1, enables dynamic lighting. If set to 0, disables dynamic lighting which can boost performance without a dramatic impact on realism.
r_farz
Controls the far clippling plane, which determines what is not rendered when it is determined not to be visible to the character. A value of -1 is normal, higher values can result in normally visible objects suddenly disappearing from view (considered as CHEAT).
r_lod
Determines the rate at which level of detail (lod) is stripped from objects as they recede away from the player. The lower the value, the more detail remains visible on objects as they progress into the distance, reducing performance but increasing image quality.
r_maxdlights
Determines the maximum number of dynamic lights visible on the screen if dynamic lighting is enabled. The larger this maximum, the more chance of slowdowns during scenes with multiple dynamic light sources. Reducing this value can improve performance in such situations.
r_occlusion
If set to 0, disables the occlusion system in the game, which can decrease performance and is generally not recommended.
r_WaterDrawReflection
If set to 0, disables all reflections on top of water. This will boost performance at the cost of realism however you may experience graphical anomalies on the water.
r_WaterDrawRefraction
If set to 0, disables all refraction
that is images which appear distorted under the water. This will boost performance at the cost of realism, however you may experience some graphical anomalies on the water.
sv_robust_explosions
If set to 0, explosions will be less spectacular, but this may improve performance around explosions without a significant drop in realism.
fog_enable
If set to 0, will disable fog which can improve or reduce performance depending on whether your graphics card has issues with rendering fog.
fog_enable_water_fog
If set to 0, removes all underwater fogging which can result in a performance boost but unrealistic water appearance.
r_waterforceexpensive
If set to 1, the highest quality water will be used. If set to 0, performance may improve without a noticeable reduction in water quality.
mat_picmip
This variable is the same as the Texture Detail in-game setting, and hence controls how detailed textures appear in Source games. However depending on the game, you can raise this value to further reduce the quality of the textures and possibly improve performance (and more importantly reduce stuttering), or you can use negative values to provide increasingly sharper textures. In HL2: Ep 2, a value of -1 equals Very High, but in games like Team Fortress 2 you can use -10 to get the absolute highest quality textures possible.
mat_parallaxmap
If set to 1, enables Parallax Mapping which can improve visual quality but may reduce performance.
mat_motion_blur_falling_intensity
mat_motion_blur_falling_max
mat_motion_blur_falling_min
mat_motion_blur_forward_enabled
mat_motion_blur_percent_of_screen_max
mat_motion_blur_rotation_intensity
mat_motion_blur_strength
The above commands control the intensity of the motion blur effect if enabled (See In-Game Settings). The higher the value assigned, the more noticeable the blur effect. For example to alter the general motion blur you see when you turn around, alter the mat_motion_blur_rotation_intensity from its default of 1 to something like 2 or 3 to increase the blur effect. Alternatively you can lower the value to reduce the effect. Note however that there can be a minor drop in performance as well as added hitching/jittering from raising this too high.
mat_hdr_tonemapscale
If HDR is enabled, determines the way in which the dynamic component of HDR works. At 0, the HDR effect does not seem realistic, as your eyes will not ‘adjust’ to altered lighting by the scene becoming brighter or darker. On the other hand at 16 the effect is most pronounced.
mat_bloom_scalefactor_scalar
If Bloom is enabled, determines how extreme the bloom effect is, with the higher the value the more bloom visible in the scene.
r_cheapwaterend
Determines the range beyond which water effects are reduced. The lower you set this value, the more blurry and unrealistic water will become in return for a potential performance boost. If you want to reduce all visible water quality set this to 1.
Sound Commands
dsp_off
If set to 1, disables audio DSP (Digital Signal Processing). This may improve performance, but will reduce the richness of audio effects (considered as CHEAT).
dsp_enhance_stereo
If set to 1 enhances the stereo effect, making sound richer and more atmospheric for a slight performance hit.
dsp_slow_cpu
If set to 1, reduces the quality of dsp sound effects, improving performance on systems with slower CPUs.
dsp_volume
Determines the volume of the background dsp effects. If the volume is increased, the impact of dsp enhancement will be exaggerated with no performance impact.
snd_digital_surround
If set to 1, enables digital surround sound if you have the appropriate hardware. You may need to set sv_consistency 0 for this to work in some Source games.
snd_profile
If set to 1, shows dsp usage stats in the console.
snd_mixahead
Set between 0 and 1, the higher the value the less stuttering and more synchronized sound will be, but performance may be reduced. A value of 0.5 to 0.7 will help reduce stuttering in the game. If you experience no stuttering, lower this value to gain some performance.
snd_async_fullyasync
If set to 1, sound may go out of synch with actions but you will experience reduced loading pauses and stuttering. Usually best left disabled, see the snd_mix_async command further above for a better audio-related performance/stuttering solution.
Demo (Video) Commands
record
Starts recording a demo of the current gameplay under the specified filename. The demo will be saved as demoname.dem in the \Program Files\Steam\SteamApps\[username]\[game name]\[game name]\ directory along with all its associated files.
stop
Stops recording the current demo.
demoui
Opens a small demo user interface which looks like a media player, but makes the opening and playing of demos much easier, including the capability to FF, REW and skip to specific points in the demo. Alternatively you can use demoui2 to open the advanced demo user interface.
playdemo
Plays back a pre-recorded demo of name demoname.dem.
stopdemo
Stops playback of the currently playing demo.
demopause
Pauses playback of the currently playing demo.
demoresume
Resumes playback of the currently paused demo.
listdemo
Provides details of the specified demo file.
demo_recordcommands
If set to 1, records any commands typed at the console into demo files.
startmovie
Starts recording movie frames, stored in the \Program Files\Steam\SteamApps\[username]\[game name]\[game name]\ directory as .tga files.
endmovie
Stops recording movie frames.
Benchmark Commands
timedemo
Plays the specified demo and reports performance information upon completion, including frames played, time taken, average FPS and FPS variability. Also records the information in a file called sourcebench.csv in your \Program Files\Steam\SteamApps\[username]\[game name]\[game name]\ directory.
timedemoquit
Plays the specified demo as per the timedemo command and then exits the game to desktop.
bench_start
Starts benchmarking your current gameplay and writes information to the specified file in .csv format.
bench_end
Ends any benchmarking.
bench_showstatsdialog
Shows a dialog box displaying the most recent benchmarking results.
bench_upload
Uploads the most recent benchmarking stats to the Valve servers.
benchframe
Takes a snapshot of the specified frame of a timedemo.
perfvisualbenchmark
Runs a series of benchmarks on the current scene.
perfvisualbenchmark_abort
Stops the benchmarking and prints the results for various aspects of the rendering system in average FPS in the console.
View Commands
firstperson
Switches to firstperson (from your character’s eyes) point of view, which is the default.
thirdperson
Switches to thirdperson (behind your character) point of view. Note in thirdperson view your character may appear as an incomplete grey model.
centerview
Centers the character’s view on the middle of the screen (only when bound to a key).
force_centerview
Centers the character’s view on the middle of the screen whenever used.
fov
Specifies the character’s Field of View (fov), i.e. the total angle which can be viewed at once. Default is 75, higher values create more of a ‘fish-eyed’ view, lower angles create a zoomed view.
default_fov
Determines the default Field of View. Normal default is 75 (considered as CHEAT).
gameui_hide
Hides any visible portions of the game user interface, e.g. the console. Primarily used prior to taking a screenshot.
hidehud
If set to 1, hides the Heads Up Display (HUD) from view (considered as CHEAT).
cl_drawhud
If set to 1, the HUD is drawn on screen, if set to 0 the HUD is not rendered, which can improve performance (considered as CHEAT).
Info and Diagnostic Commands
bug
Opens a bug reporting user interface which makes the reporting of game bugs to Valve simple, such as being able to take a screenshot and attach it to the generated report automatically.
cache_print
Shows the amount of memory used by cached information, and the total cache capacity currently used by the game.
cl_precacheinfo
Shows the files which have been precached.
cl_showpos
Displays the player’s position on the current map in X, Y and Z co-ordinates and velocity in the top right corner if set to 1.
developer
If set to 1 shows Developer messages in the top left corner, if set to 2 shows more detailed information.
fs_printopenfiles
Shows all files currently open.
listmodels
Lists all models currently loaded.
mat_info
Shows material system information.
mat_reloadmaterial
Reloads all materials which can take quite a while but may resolve any temporary graphical glitches.
mat_wireframe
Displays materials in wireframe form (considered as CHEAT).
mem_dump
Writes memory statistics to the file memstats.txt.
perfui
Opens a user interface which allows easy access to performance tools.
r_drawlightinfo
Shows the source of all lights in the current scene and their associated information (considered as CHEAT).
showbudget_texture
If set to 1 displays a detailed control panel which graphs the memory usage for various types of textures.
soundinfo
Shows information about the current sound output device.
soundlist
Lists all known sounds.
snd_restart
Restarts the sound system which can take a while but may clear any temporary audio glitches.
snd_show [0,1]
If set to 1 displays information about sounds loaded (considered as CHEAT).
stopsound
Stops all sound effects currently playing.
stopsoundscape
Stops all soundscapes currently playing.
surfaceprop
Shows information about the surface currently under the cursor.
Cheat Commands
sv_cheats 1 must be enabled. PC Cheats will disable your ability to earn Steam Achievements.
sv_cheats
Toggle. Enables the use of cheat commands in single player, or on a multiplayer server if set to 1 by the server owner.
god
Toggle. The player becomes invulnerable.
noclip
Toggle. The player can fly and move through solid objects.
notarget
Toggle. The player becomes invisible to NPCs (Non-Player Characters).
ai_disable
Disables all Artificial Intelligence (AI) for NPCs and puts them into their idle animations. Can be used to test the performance hit of AI, or to freeze NPCs.
impulse
Generates objects, e.g. Impulse 101 gives the player all weapons.
give
Gives the player the named item.
givecurrentammo
Gives the player maximum ammunition for the currently equipped weapon.
buddha
Toggle. Player can take damage but won’t die.
map
Starts playing on the specified map (see maps command for mapnames).
sv_unlockedchapters
Allows access to the specified chapters of the game. Chapter number are shown under New Game in the main menu (e.g. sv_unlockedchapters 3 unlocks the first three Chapters of the game).
npc_create
Creates an NPC of the given type if that NPC is available on the current level.
npc_destroy_unselected
Destroys all the NPCs not currently specified.
npc_kill
Kills specified NPC, or NPC currently under the cursor if none specified.
npc_speakall
Forces the current NPC to speak all their possible responses.
setpos
Moves player to the specified co-ordinates on the current map.
ch_createairboat
ch_createjalop
ch_createjeep
The above commands create an airboat, jalopy or jeep respectively in front of the character, which can then be driven as normal.
award_achievement
Awards a specific achievement based on the ID number entered.
Multiplayer Commands
addip
Add an IP address to the ban list.
banid
Add a user ID to the ban list.
changelevel
Change server to the specified map (see maps command above to find out mapnames).
cl_allowdownload
Client downloads customization files.
cl_allowupload
Client uploads customization files.
cl_cmdrate
Max number of command packets sent to server per second.
cl_lagcompensation
Perform server side lag compensation of weapon firing events.
cl_rate
Max bytes/sec the host can send data. Default is 10,000.
cl_downloadfilter
Determines which files can be downloaded from a server.
cl_playerspraydisable
Enable or disable player sprays.
cl_resend
Delay in seconds before the client will resend the ‘connect’ attempt.
cl_timeout
After this many seconds without receiving a packet from the server, the client will disconnect itself.
cl_updaterate
Number of packets per second of updates you are requesting from the server
clientport
Host game client port. Default is 27005.
connect
Connect to specified server.
disconnect
Disconnect game from server.
hostport
Host game server port. Default is 27015
ip
Overrides IP for multihomed hosts.
kick
Kick a player by slot, userid or name.
killserver
Shutdown the server.
listid
Lists banned users.
listip
List IP addresses on the ban list.
writeid
Writes a list of permanently-banned user IDs to banned_user.cfg.
writeip
Save the ban list to banned_ip.cfg.
maxplayers
Change the maximum number of players allowed on this server.
mp_allowNPCs
Allow NPCs on the server if set to 1.
mp_allowspectators
Toggles whether the server allows spectator mode or not.
mp_chattime
Amount of time players can chat after the game is over.
mp_fraglimit
Frag limit for deathmatch games.
mp_friendlyfire
If set to 1, friendly fire is enabled.
mp_timelimit
Game time per map in minutes.
mp_weaponstay
If set to 1, weaponstay is enabled.
net_fakelag
Lag all incoming network data (including loopback) by this many milliseconds (considered as CHEAT).
net_fakeloss
Simulate packet loss as a percentage of total packets.
net_graph
Draw the network usage graph if set to 1 (More details of usage here).
net_maxfragments
Max fragment bytes per packet.
net_showdrop
Show dropped packets in console if set to 1.
net_start
Initializes multiplayer network sockets.
password
Current server access password.
ping
Display ping to server.
rate
Max bytes/sec the host can receive data. Default is 20000.
rcon
Issue an rcon command.
rcon_password
remote console password.
removeid
Remove a user ID from the ban list.
removeip
Remove an IP address from the ban list.
retry
Retry connection to last server.
say
Display player message.
say_team
Display player message to team.
slist
List servers on your LAN.
spec_player
Spectate player by name.
sv_allowdownload
Allow clients to download files if set to 1.
sv_allowupload
Allow clients to upload customization files if set to 1.
sv_alltalk
Players can hear all other players, no team restrictions if set to 1.
sv_filterban
Set packet filtering by IP mode.
sv_lan
Server is a lan server (no heartbeat, no authentication, no non-class C addresses, 9999.0 rate, etc.).
sv_maxunlag
Maximum lag compensation in seconds.
sv_maxrate
Max bandwidth rate allowed on server, 0 = unlimited.
sv_minrate
Min bandwidth rate allowed on server, 0 = unlimited.
sv_maxupdaterate
Maximum updates per second allowed.
sv_minupdaterate
Minimum updates per second allowed.
sv_password
Server password for entry into multiplayer games.
sv_specnoclip
If set to 1, spectators cannot fly through objects.
sv_timeout
Number of seconds without a message from a client before client is dropped.
sv_voiceenable
Enable voice on the server.
users
Show user info for players on server.
DISCLAIMER: The following data is posted for informational and archiving purposes only. By viewing this information, you release the author from any responsibility or liabilities. Use at your own risk. The following PC Cheats and Codes for Counter Strike Source may or may not work for your system. VAC bans maybe triggered using the commands above in VAC enabled servers. For any updates or changes, comment below.
posted by THE11thROCK for TeraBlitz.com

Facebook Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Time limit is exhausted. Please reload CAPTCHA.