Half-Life 2 Tweaks, Cheats and Mods !

Anish

Skilled
Well, I just got myself a *working* copy of Half-Life 2, a game many of you would have finished. well I'd finished quite a lot on my old GF2 PC, but playing it on a GF6 is a different expereince altogether. So I decided I'll get some tweaks and put some together for you'll too ! This is what I ended up with :D

Tweaks :

Connection Tweaks:

Useful for those playing online, I'm not sure if they work for CSS as well ;)


While this setting does not improve your connection it does help stop the confusion between connection lag and graphics related lag when, for example, jumping from 85 FPS to 23 FPS. Set this by monitoring your FPS while playing using net_graph 3 or cl_showFPS "1", then set fps_max to your average steady FPS. There is no point in setting fps_max higher than your monitor refresh rate.

This controls network packets so that your connection bandwidth does not get saturated, setting is for maximum bytes per second. See net_graph for a guide on how to adjust this setting or try the suggested settings that appear at the foot of this page.
cl_cmdrate
Similar to cl_maxpackets in Quake3 this setting restricts the number of packets being sent to the server by your client and can be used to help connection bandwidth related problems for those with low upload bandwidth. Note that 56K modems, while downloading at up to 56000 BPS, only upload at 33600 BPS or less. You may wish to experiment with a higher or lower setting based on your connection type, for example 40 or higher for a digital connection.

Further tweaking, try to set cl_cmdrate to equal your average framerate or your fps_max setting or a divisor of it without saturating your upstream bandwidth. Example, if you are currently at fps_max "76" then try a cl_cmdrate value of 38 or 76 for a digital connection.

cl_updaterate
Similar to snaps setting in Quake3, the cl_updaterate setting is used to calculate how many gameworld updates you receive from the server. See net_graph for a guide on how to adjust this setting.
cl_lagcompensation
To use this setting the server and modification must support lag compensation. On servers that have lag compensation enabled this setting toggles its use of lag compensation for the client, 1 to enable, 0 to disable. When set to 1 the server will take into account your ping when deciding if you hit your target or not. If you have a very low ping or wish the older style of play then set this to 0.
cl_predictweapons

This setting determines how weapons fire is controlled, for example with regard to weapon trails, sounds and animation.

If you set this to 1 the clients weapon sound and animation will all happen client side as soon as you press fire. It should be noted that when set to 1 the animations and marks displayed are determined client side, as a result they may not be an accurate representation of where you are actually hitting.

It should be noted that the server always determines if you have hit your target or not, only weapon related sounds and animation are controlled by cl_predictweapons.

You may find it useful to bind different settings of cl_predictweapons for different weapons.
cl_smooth
cl_smoothtime This setting helps smooth out movement if there are prediction errors caused by poor internet connection.

cl_smooth enables or disables smoothing.

cl_smoothtime determines the amount of seconds that prediction errors must occur before smoothing is enabled.
net_graph
When setting this to 3 or 1 you will see a figure display(3) or graph display(1) appear at the base of your screen. On the graph display, just below the numeric readout, green lines mean packets are being received okay, yellow that rate capping is causing your client to reject packets and red that the packet was lost. If you have steady flat green line then all is well. In the case of long rising/falling green hills lower your rate or decrease your cl_updaterate, for yellow increase your rate. If you have a lot of red then change ISP or server. If you have to play on the server or use the ISP then try adjusting cl_resend or cl_cmdbackup to compensate for the lost packets.
cl_cmdbackup
cl_resend

These settings determine if duplicate commands(cl_cmdbackup) or packets(cl_resend) are sent, if a command gets lost then a 'backup command' in the latest packet may still be received. If you have an excellent connection with very little or no packetloss at all then try setting cl_cmdbackup to 0 and raising cl_cmdrate. However, as with all settings experiment to see which is best suited for your connection - See net_graph for a guide on how to determine if you need to adjust this setting.
cl_download_ingame
This determines if downloads are allowed during a multiplayer game. this to 0 to stop downloading of decals etc. while playing.

Suggested settings are in the table that follows. They are however guidelines, adjust them as needed by monitoring your connection using net_graph and alter settings based on its information.

LAN

cl_updaterate "40"
cl_cmdrate "100"
rate "25000"
ADSL / Cable / Wireless

cl_updaterate "40"
cl_cmdrate "60"
rate "25000"


56K Modem
cl_updaterate "20"
cl_cmdrate "30"
rate "(See Table Below)"
50000 BPS: rate "5500"
48000 BPS: rate "5200"
46000 BPS: rate "5000"
44000 BPS: rate "4800"
42000 BPS: rate "4500"
40000 BPS: rate "4300"
38000 BPS: rate "4100"
36000 BPS: rate "4000"

Common Commands :

cl_showfps [0,1,2] - 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 [string] - If entered by itself this command generates a list of all the command variables (cvars) in HL2. If one or more characters are also entered, cvarlist will list all commands starting with those letter(s).

help [cvar] - Provides any available help text for the specified cvar.

find [string] - Finds cvars with the specified string in their name or help text.

revert [cvar] - Reverts cvars to their default value.

differences - Shows all the cvars which are not at their default values, showing which have been changed.

exec [configfilename] - 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 [string] - 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 [0,1] - If set to 1, allows HL2 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. To disable all autosaving see the Conclusion section of this guide.

save [savename] - Saves the current game under the savename specified.

load [savename] - 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 Gordon.

flush - Flushes the cache memory. Can resolve graphical anomalies such as texture glitches.

map_background [mapname] - Runs a map as the background to the main menu. To find the mapnames, use the maps command (see below).

maps [string] - Lists all maps starting with the provided string. Use maps * to list all mapnames.

screenshot - Takes a screenshot.

jpeg [filename, quality] - 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 [percentage] - Specifies the default quality percentage for screenshots taken with the jpeg command (see above).

path - Shows the engine filesystem paths.

exit - Exits Half Life 2 and returns to the Desktop.

quit - Exits Half Life 2 and returns to the Desktop.

Demo Commands :

record [demoname] - Starts recording a demo of the current gameplay under the specified filename. The demo will be saved as demoname.dem in the \Program Files\Valve\Steam\SteamApps\[username]\half-life 2\hl2\ 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.

playdemo [demoname] - 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 [demoname] - Provides details of the specified demo file.

demo_recordcommands [0,1] - If set to 1, records any commands typed at the console into demo files.

startmovie - Starts recording movie frames, stored in the \Program Files\Valve\Steam\SteamApps\[username]\half-life 2\hl2\ directory as .tga files.

endmovie - Stops recording movie frames.
Binding Commands :

bind [key, command] - Binds the stated command to the specified key (e.g. bind Z console binds the Z key to opening the command console).

bindtoggle [key, command] - 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 [key] - Removes any bindings from the specified key.

unbindall - Removes bindings from all keys.

alias [aliasname, command] - Gives a command a short name (e.g. alias taunt echo I am your new King! changes 'taunt' into a command which spits out "I am your new King" when used). Use alias as a shortcut for long or complex command strings.

key_findbinding [command] - Find the key bound to the specified command.

key_listboundkeys - Lists all the keys which currently have a binding.
 
Performance Commands :

mat_forcemanagedtextureintohardware [0,1] - If set to 1, attempts to force texture information into your Video RAM at the start of a level, alleviating any stuttering in the game. Note, this setting was introduced with the "stutter fix" patch (See Patches Mods & Steam 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 [0,1] - If set to 1 forces all information to preload, reducing loading pauses and stuttering by not loading information on the fly.

sv_forcepreload [0,1] - If set to 1, forces server-side preloading, once again reducing loading pauses.

cl_ragdoll_collide [0,1] - If set to 1, prevents characters from merging into each other due to ragdoll effects, thereby improving realism with no real performance hit.

mat_compressedtextures [0,1] - If set to 1, uses compressed textures for optimal performance. For those with graphics cards which have higher amounts of Video RAM (e.g. 256MB) setting this to 0 will improve texture appearance at the cost of some performance.

fps_max [fps] - Limits the maximum possible framerate to the FPS specified. Has no impact on framerate performance (other than capping it). This is best set 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 FPS.

mem_force_flush [0,1] - If set to 1 forces the cache to be flushed on every allocation, which is not necessarily optimal but can reduce memory-related errors.

r_fastzreject [-1,0,1] - 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, and if you see any problems then set to -1.

cl_smooth [0,1] - If set to 1 attempts to smooth the view after prediction errors, however this can increase stuttering and so should usually be set to 0.

cl_smoothtime [seconds] - 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 [0,1] - 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.

sv_footsteps [0,1] - 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 [0,1] - If set to 1 shows alien blood when they are hit. Disabling this can improve performance but reduce realism.

violence_agibs [0,1] - If set to 1 shows alien gore when they are hit. Disabling this can improve performance but reduce realism.

violence_hblood [0,1] - If set to 1 shows human blood when they are hit. Disabling this can improve performance but reduce realism.

violence_hgibs [0,1] - If set to 1 shows human gore when they are hit. Disabling this can improve performance but reduce realism.

[Graphics]

cl_detaildist [range] - Determines the range at which detail props are shown (e.g. grass). The higher the value, the lower your performance as more add-on details are shown. Reducing this setting can increase performance, and increasing this setting will improve image quality.

cl_detailfade [range] - Determines the range at which detail props fade into view. Increasing this value can raise performance.

cl_maxrenderable_dist [distance] - Specifies the maximum distance from the camera at which things will be rendered. The smaller the number, the less will be rendered, improving performance (cheat).

cl_ejectbrass [0,1] - 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_bloodspray [0,1] - If set to 1, blood sprays are emitted from bullet impacts on characters. If set to 0, no blood sprays are shown, however blood marks (decals) can still appear. Disabling this can improve performance, but reduces realism.

cl_show_splashes [0,1] - 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 [0,1] - 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_Enable [0,1] - If set to 1, allows the level of detail (lod) of objects to be gradually reduced the further they are from the player. This should be set to 1 for optimal performance, or 0 for maximum image quality.

lod_TransitionDist [range] - 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_bloom [0,1] - If set to 1, a 'bloom' lighting effect is visible on objects, softening their appearance. If set to 0 this effect is removed, but performance is increased without a noticeable drop in image quality.

mat_bumpmap [0,1] - 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 [0,1] - 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 [0,1] - 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 [0,1] - If set to 1, all water is rendered. Setting this to 0 can remove water for a performance boost at the cost of realism (cheat).

mat_dxlevel [dxversion] - Determines the shader version for special effects applied to materials. Options include 70, 80, 81 and 90 (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 [0,1] - 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 [0,1] - 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 [0,1] - 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 [0,1] - If set to 1, lights every texture will up brightly lit up (cheat).

mat_hsv [0,1] - If set to 1, converts everything to black and white.

mat_mipmaptextures [0,1] - If set to 0 disables mipmap textures, which harshens textures greatly but can improve performance.

mat_showlowresimage [0,1] - 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 [0,1] - 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 [0,1] - If set to 1, uses specular lighting. If set to 0 materials will not have specular lighting applied to them for a performance boost but a slight drop in image quality.

muzzleflash_light [0,1] - 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 [pixels] - 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 [number] - 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 [0,1] - If set to 1, decals are drawn. If set to 0, no decals are drawn at all improving performance but greatly reducing realism (cheat).

r_drawflecks [0,1] - 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 [0,1] - 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 [number] - 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 [0,1] - 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.

r_DrawRain [0,1] - 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 (cheat).

r_drawropes [0,1] - 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 exist but reducing realism (cheat).

r_drawskybox [0,1] - 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 [0,1] - If set to 1, all objects which are translucent, 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 (cheat).

r_dynamic [0,1] - 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 [-1,0,1] - 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 (cheat).

r_lod [-8 to 8] - 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 [number] - Determines the maximum number of dynamic lights visible on the screen. 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_modellodscale [0-1] - This setting is not the same as the Model Detail setting under the in-game options. You can use this value to fine tune model details, with values below 1 reducing the model details, improving performance at the cost of realism.

r_occlusion [0,1] - If set to 0, disables the occlusion system in the game, which can increase performance at the expense of image quality.

r_WaterDrawReflection [0,1] - 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 [0,1] - 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 [0,1] - If set to 0, explosions will be less spectacular, but this may improve performance around explosions without a significant drop in realism.

fog_enable [0,1] - 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 [0,1] - If set to 0, removes all underwater fogging which can result in a performance boost but unrealistic water appearance.

r_waterforceexpensive [0,1] - 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.

[Sound]

dsp_off [0,1] - If set to 1, disables audio DSP (Digital Signal Processing) in Half Life 2. This may improve performance (cheat), but will reduce the richness of audio effects.

dsp_enhance_stereo [0,1] - If set to 1 enhances the stereo effect, making sound richer and more atmospheric for a slight performance hit.

dsp_slow_cpu [0,1] - If set to 1, reduces the quality of dsp sound effects, improving performance on systems with slower CPUs.

dsp_volume [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_profile [0,1] - If set to 1, shows dsp usage stats in the console.

snd_mixahead [value] - 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 [0,1] - 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.

Benchmarking Commands :

timedemo [demoname] - 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\Valve\Steam\SteamApps\[username]\half-life 2\hl2\ directory.

timedemoquit [demoname] - Plays the specified demo as per the timedemo command and then exits the game to desktop.

bench_start [filename] - 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 [framenumber] - 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 Gordon's eyes) point of view, which is the default for HL2.

thirdperson - Switches to thirdperson (behind Gordon) point of view. Note in thirdperson view Gordon appears 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 [angle] - 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 [angle] - Determines the default Field of View in HL2. Default is 75 (cheat).

gameui_hide - Hides any visible portions of the game user interface, e.g. the console. Primarily used prior to taking a screenshot.

hidehud [0,1] - If set to 1, hides the Heads Up Display (HUD) from view (cheat).

cl_drawhud [0,1] - If set to 1, the HUD is drawn on screen, if set to 0 the HUD is not rendered, which can improve performance (cheat).
 
Information & 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_showpost [0,1] - Displays the player's position on the current map in X, Y and Z co-ordinates the top right corner if set to 1.

developer [0,1,2] - 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 [0,1] - Displays materials in wireframe form (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 [0,1] - Shows the source of all lights in the current scene and their associated information (cheat).

showbudget_texture [0,1] - 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_memasync - Shows sounds currently loaded and the memory used by each.

snd_show [0,1] - If set to 1 displays information about sounds loaded (cheat).

stopsound - Stops all sound effects currently playing.

stopsoundscape - Stops all soundscapes currently playing.

surfaceprop - Shows information about the surface currently under the cursor.

Multiplayer Commands :

addip [ipaddress] - Add an IP address to the ban list.

banid [userid] - Add a user ID to the ban list.

changelevel [mapname] - Change server to the specified map (see maps command above to find out mapnames).

cl_allowdownload [0,1] - Client downloads customization files.

cl_allowupload [0,1] - Client uploads customization files.

cl_cmdrate [packets/sec] - Max number of command packets sent to server per second.

cl_lagcompensation [0,1] - Perform server side lag compensation of weapon firing events.

cl_rate [bytes/sec] - Max bytes/sec the host can send data. Default is 10,000.

cl_resend [seconds] - Delay in seconds before the client will resend the 'connect' attempt.

cl_timeout [seconds] - After this many seconds without receiving a packet from the server, the client will disconnect itself.

cl_updaterate [packets/sec] - Number of packets per second of updates you are requesting from the server.

clientport [port] - Host game client port. Default is 27005.

connect [serverip] - Connect to specified server.

disconnect - Disconnect game from server.

hostport [serverip] - Host game server port. Default is 27015.

ip - Overrides IP for multihomed hosts.

kick [username/userid/userslot] - 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 [playernumber] - Change the maximum number of players allowed on this server.

mp_allowNPCs [0,1] - Allow NPCs on the server if set to 1.

mp_allowspectators [0,1] - Toggles whether the server allows spectator mode or not.

mp_chattime [seconds] - Amount of time players can chat after the game is over.

mp_fraglimit [frags] - Frag limit for deathmatch games.

mp_friendlyfire [0,1] - If set to 1, friendly fire is enabled.

mp_timelimit [minutes] - Game time per map in minutes.

mp_weaponstay [0,1] - If set to 1, weaponstay is enabled.

net_fakelag [milliseconds] - Lag all incoming network data (including loopback) by this many milliseconds (cheat).

net_fakeloss [percentage] - Simulate packet loss as a percentage of total packets.

net_graph [0,1,2,3] - Draw the network usage graph if set to 1 (More details of usage here).

net_maxfragments [bytes/packet] - Max fragment bytes per packet.

net_showdrop [0,1] - Show dropped packets in console if set to 1.

net_start - Initializes multiplayer network sockets.

password [password] - Current server access password.

ping - Display ping to server.

rate [bytes/sec] - Max bytes/sec the host can receive data. Default is 20000.

rcon [command] - Issue an rcon command.

rcon_password [password] - remote console password.

removeid [userid] - Remove a user ID from the ban list.

removeip [userip] - Remove an IP address from the ban list.

retry - Retry connection to last server.

say [string] - Display player message.

say_team [string] - Display player message to team.

slist - List servers on your LAN.

spec_player [playername] - Spectate player by name.

sv_allowdownload [0,1] - Allow clients to download files if set to 1.

sv_allowupload [0,1] - Allow clients to upload customization files if set to 1.

sv_alltalk [0,1] - Players can hear all other players, no team restrictions if set to 1.

sv_filterban [0,1] - Set packet filtering by IP mode.

sv_lan [0,1] - Server is a lan server (no heartbeat, no authentication, no non-class C addresses, 9999.0 rate, etc.).

sv_maxunlag [seconds] - Maximum lag compensation in seconds.

sv_maxrate [rate] - Max bandwidth rate allowed on server, 0 = unlimited.

sv_minrate [rate] - Min bandwidth rate allowed on server, 0 = unlimited.

sv_maxupdaterate [updates/sec] - Maximum updates per second allowed.

sv_minupdaterate [updates/sec] - Minimum updates per second allowed.

sv_password [password] - Server password for entry into multiplayer games.

sv_specnoclip [0,1] - If set to 1, spectators cannot fly through objects.

sv_timeout [seconds] - Number of seconds without a message from a client before client is dropped.

sv_voiceenable [0,1] - Enable voice on the server.

users - Show user info for players on server.

Cheats:

Type
sv_cheats 1
command before cheats can work.

sv_cheats [0,1] - Toggle. Enables the use of cheat commands in single player or on a multiplayer server if set to 1

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
Code:
 - Generates objects, e.g. Impulse 101 gives the player all weapons.

buddha - Toggle. Player can take damage but won't die.

map [mapname] - Starts playing on the specified map (see maps command for mapnames).

sv_unlockedchapters [chapternumber] - 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 [npctype] - 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 [npcname] - 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 [x y z] - Moves player to the specified co-ordinates on the current map.

[SIZE="3"][COLOR="Red"][B]Mods:[/B][/COLOR][/SIZE] 

[URL="http://www.garry.tv/garrysmod/"]

Garry's Mod[/URL]

[URL="http://students.guildhall.smu.edu/~eclipse/"]Eclipse[/URL]

[URL="http://hl2dmpro.hldm.net/"]Half-Life 2: Deathmatch Pro[/URL]

[URL="http://www.planofattackgame.com/"]Plan of Attack[/URL]

[URL="http://www.sourcefortsmod.com/"]SourceForts[/URL]

[URL="http://strider.hl2spain.com/"]Strider Mod[/URL]

[URL="http://ludus1942.ngi.it/"]Substance Mod[/URL]

[URL="http://www.hidden-source.com/"]The Hidden: Source[/URL]

[B]More Stuff:[/B]

[URL="http://forum.neotokyohq.com/viewtopic.php?p=6486#6486"]HDR Bloom in HL2[/URL]

[URL="http://halflife2.filefront.com/file/HalfLife_2_HighResolution_Characters_Skinpack;46266#Download"]Hi-Res Character Skinpack[/URL]

I've tried to do my best, comments and reps are welcome :ohyeah:  !
 
They are however guidelines, adjust them as needed by monitoring your connection
stormblast said:
the LAN settings are wrong

its supposed to be

cl_cmdrate 101
cl_updaterate 101
rate 25000
Thanks for pointing out ! I hope the quote above should defend my case a bit atleast, after all I deserve something for 30 mins of searching, formatting and pasting :p
 
Back
Top