Left 4 Dead - Autoexec
From Guphi
A mix of the L4D Community Autoexec and some of my stuff.
Reviewing the source and removing any unwanted commands and binds is highly recommended.
Installation
Copy this file to:
- Steam\steamapps\common\left 4 dead\left4dead\cfg
If you have an existing autoexec.cfg file, rename or merge the two together.
Download
Download: autoexec.cfg
Source
//======================================================== // Binds //======================================================== bind "MWHEELUP" "notshotty" bind "MWHEELDOWN" "pistols" bind 1 "notshotty" bind 2 "pistols" bind 3 "throw" bind 4 "medpack" bind 5 "pills" bind j "shottytoggle" bind q "nextweap" bind tab "+sb" bind F10 "sv_admin" bind F11 "sv.check" //Binds for my G5 mouse. Re-assigned scroll left to PgUp, scroll right to PgDn bind kp_pgup "throw" bind kp_pgdn "pills" //======================================================== // Auto fire //======================================================== // Automatic Fire alias +afire "alias repeat_function +repeat; +repeat" alias -afire "alias repeat_function stoprepeating" alias repeat_function "+repeat" alias +repeat "+attack; wait 3; -repeat" alias -repeat "-attack; wait 3; repeat_function" alias stoprepeating "" // Auto-Fire On/Off alias shotty "slot1;bind mouse1 +afire;-afire;orange_crosshair;alias currcrosshair orange_crosshair;alias nextweap nextweap1" alias pistols "slot2;bind mouse1 +afire;-afire;blue_crosshair;alias currcrosshair blue_crosshair;alias nextweap nextweap2" alias notshotty "slot1;bind mouse1 +attack;-afire;green_crosshair;alias currcrosshair green_crosshair;alias nextweap nextweap1" alias throw "slot3;bind mouse1 +attack;-afire" alias medpack "slot4;bind mouse1 +attack;-afire" alias pills "slot5;bind mouse1 +attack;-afire" // Next Weapon Toggle alias nextweapshotty "shotty;alias nextweap nextweap1" alias nextweapnotshotty "notshotty;alias nextweap nextweap1" alias nextweap1 "pistols;alias nextweap nextweap2" alias nextweap2 "nextweapnotshotty" alias nextweap "nextweap1" // Toggle for Auto-Fire alias shottyon "shotty;bind MWHEELUP shotty;bind 1 shotty;alias nextweap2 nextweapshotty; alias shottytoggle shottyoff" alias shottyoff "notshotty;bind MWHEELUP notshotty;bind 1 notshotty;alias nextweap2 nextweapnotshotty;alias shottytoggle shottyon" alias shottytoggle "shottyon" // Crosshair Settings: // dyanmic/size (0-1), thickness(1-5), and opacity (0 is invisible, 255 solid) cl_crosshair_dynamic 1 cl_crosshair_thickness 0 cl_crosshair_alpha 255 // Crosshair Colors alias orange_crosshair "cl_crosshair_red 244;cl_crosshair_green 130;cl_crosshair_blue 74" alias blue_crosshair "cl_crosshair_red 72;cl_crosshair_green 190;cl_crosshair_blue 230" alias green_crosshair "cl_crosshair_red 23;cl_crosshair_green 232;cl_crosshair_blue 29" alias currcrosshair "green_crosshair" //======================================================== // Glow fixes //======================================================== //Glow of items up close alias "gcone" "cl_glow_item_r 1.0;cl_glow_item_b 1.0;cl_glow_item_g 0.0;wait 11;gctwo" alias "gctwo" "cl_glow_item_r 0.0;cl_glow_item_b 1.0;cl_glow_item_g 1.0;wait 11;gcone" gctwo //Glow of items from a distance alias "gfone" "cl_glow_item_far_r 1.0;cl_glow_item_far_b 1.0;cl_glow_item_far_g 0.0;wait 11;gftwo" alias "gftwo" "cl_glow_item_far_r 0.0;cl_glow_item_far_b 1.0;cl_glow_item_far_g 1.0;wait 11;gfone" gftwo //Glow of spawning infected mates cl_glow_ghost_infected_b 0.70 cl_glow_ghost_infected_g 0.70 cl_glow_ghost_infected_r 0.70 //Glow of barfed survivors (ONLY SURVIVORS VIEW) cl_glow_survivor_vomit_b 0.72 cl_glow_survivor_vomit_g 0.07 cl_glow_survivor_vomit_r 0.79 //Glow of items in "black and white" mode //cl_glow_thirdstrike_item_b //cl_glow_thirdstrike_item_g //cl_glow_thirdstrike_item_r //Glow of infected team mates (ONLY INFECTED VIEW) cl_glow_infected_b 1.0 cl_glow_infected_g 0.5 cl_glow_infected_r 0.0 //Glow of barfed survivors (ONLY INFECTED) //cl_glow_infected_vomit_b //cl_glow_infected_vomit_g //cl_glow_infected_vomit_r //Glow of survivors (ONLY SURVIVOR) cl_glow_survivor_b 1.0 cl_glow_survivor_g 0.5 cl_glow_survivor_r 0.0 //Glow of Healthy survivors (ONLY INFECTED) //cl_glow_survivor_health_high_b //cl_glow_survivor_health_high_g //cl_glow_survivor_health_high_r //Glow of slightly hurt survivors (ONLY INFECTED) //cl_glow_survivor_health_med_b //cl_glow_survivor_health_med_g //cl_glow_survivor_health_med_r //Glow of badly hurt survivors (ONLY INFECTED) //cl_glow_survivor_health_low_b //cl_glow_survivor_health_low_g //cl_glow_survivor_health_low_r //Glow of incapped survivors (ONLY SURVIVORS) //cl_glow_survivor_hurt_b //cl_glow_survivor_hurt_g //cl_glow_survivor_hurt_r //======================================================== // Scores & Net Graph via one key //======================================================== net_graphheight "125" net_graphmsecs "50" net_graphpos "1" net_graphproportionalfont "1" net_graphshowinterp "0" net_graphshowlatency "1" net_graphsolid "1" net_graphtext "1" net_maxroutable "576" net_scale "5" alias "mygraph" "net_graph 1" alias "+sb" "+showscores; mygraph" alias "-sb" "-showscores; net_graph 0" //======================================================== // Check cheats and alltalk //======================================================== alias sv.check "toggleconsole; clear; echo [ SERVER STATUS CHECK ]; wait 25; status; wait 25; sv_cheats; wait 25; sv_alltalk; wait 25; echo [ alltalk value can show client settings only ]; wait 25; server_game_time;" //======================================================== // Networking //======================================================== // Fix for server disconnecting before map load cl_timeout 45; // packets per second you request from the server (default 20, but set to 100, server will bring it down if needed) cl_updaterate "100" // command packets sent to server per second (default 30, but set to 100, server will bring it down if needed) cl_cmdrate "100" // max bytes/sec the host can receive data (default 10000) rate "50000" // set interp, aka, lag compensation cl_interp = 2 / cl_updatedate cl_interp 0.01 cl_interp_ratio 2 //======================================================== // Graphics commands //======================================================== // preload! sv_forcepreload "1" // Disable light blooms, aka, how lights blind you mat_bloom_scalefactor_scalar "0" //Turn off eye movement on bots... you'd hardly ever notice it anyway r_eyemove "0" //Use both cores of my processor, disable this if you crash //mat_queue_mode "2" //======================================================== // Server search //======================================================== // Find better servers sv_search_max_ping "80" // Go to an OWS server if host, change this to your clans or comment out for a random server sv_search_key "ows" //======================================================== // Spam! //======================================================== echo "" echo "Goatnapper's autoexec.cfg" echo " Version: 1.5" echo " Download: http://www.guphi.com/files/l4d/autoexec.cfg" echo ""