Skip to content

Instantly share code, notes, and snippets.

@PHLAK
Last active July 5, 2022 17:01
Show Gist options
  • Save PHLAK/241376 to your computer and use it in GitHub Desktop.
Save PHLAK/241376 to your computer and use it in GitHub Desktop.
L4D2 autoexe.cfg
// ---------------------------------------------------------------------------------------------- //
// -----| NETCODE OPTIMIZATIONS |---------------------------------------------------------------- //
// ---------------------------------------------------------------------------------------------- //
cl_cmdrate "30" // Command packets sent to server per second (Default 30)
cl_updaterate "30" // Packets per second you request from the server (Default 20)
cl_interp "0.067" // Interpolation value to match updaterate 30 (Default 0.1)
rate "30000"; // Max bytes/sec the host can receive data (Default 10000)
// ---------------------------------------------------------------------------------------------- //
// -----| OTHER OPTIMIZATIONS |------------------------------------------------------------------ //
// ---------------------------------------------------------------------------------------------- //
cl_downloadfilter nosounds; // Disallow downloading of custom sounds
cl_timeout 60; // Increases server connection timeout (Default: 30)
mm_dedicated_search_maxping 100; // Maximum ping for server to search for
// ---------------------------------------------------------------------------------------------- //
// -----| SCOREBOARD + NETGRAPH |---------------------------------------------------------------- //
// ---------------------------------------------------------------------------------------------- //
bind "TAB" "+sb"; // Scoreboard + netgraph bind
alias "+sb" "+showscores; mygraph";
alias "-sb" "-showscores; net_graph 0";
alias "mygraph" "net_graph 3"; // A value from 1-5 to adjust which graph will be shown
// ---------------------------------------------------------------------------------------------- //
// -----| SPECIAL KEY BINDS |-------------------------------------------------------------------- //
// ---------------------------------------------------------------------------------------------- //
bind "c" "say_team HELP! HELP! HELP!";
bind "x" "say_team I'm stealthing ahead/behind";
// AUTO USE PILLS
bind "Q" "+usebuff";
alias +usebuff "slot5; +attack";
alias -usebuff "-attack";
// ---------------------------------------------------------------------------------------------- //
// -----| PLAYER/ITEM GLOW & PULSE |------------------------------------------------------------- //
// ---------------------------------------------------------------------------------------------- //
cl_glow_ghost_infected_r 0.35;cl_glow_ghost_infected_g 0.35;cl_glow_ghost_infected_b 0.35;wait 5;cl_glow_ghost_infected_r 0.4;cl_glow_ghost_infected_g 0.4;cl_glow_ghost_infected_b 0.4;wait 5;cl_glow_ghost_infected_r 0.45;cl_glow_ghost_infected_g 0.45;cl_glow_ghost_infected_b 0.45;wait 5;cl_glow_ghost_infected_r 0.5;cl_glow_ghost_infected_g 0.5;cl_glow_ghost_infected_b 0.5;
cl_glow_ghost_infected_r 0.55;cl_glow_ghost_infected_g 0.55;cl_glow_ghost_infected_b 0.55;wait 5;cl_glow_ghost_infected_r 0.6;cl_glow_ghost_infected_g 0.6;cl_glow_ghost_infected_b 0.6;wait 5;cl_glow_ghost_infected_r 0.65;cl_glow_ghost_infected_g 0.65;cl_glow_ghost_infected_b 0.65;wait 5;cl_glow_ghost_infected_r 0.7;cl_glow_ghost_infected_g 0.7;cl_glow_ghost_infected_b 0.7;
cl_glow_ghost_infected_r 0.7;cl_glow_ghost_infected_g 0.7;cl_glow_ghost_infected_b 0.7;wait 5;cl_glow_ghost_infected_r 0.65;cl_glow_ghost_infected_g 0.65;cl_glow_ghost_infected_b 0.65;wait 5;cl_glow_ghost_infected_r 0.6;cl_glow_ghost_infected_g 0.6;cl_glow_ghost_infected_b 0.6;wait 5;cl_glow_ghost_infected_r 0.55;cl_glow_ghost_infected_g 0.55;cl_glow_ghost_infected_b 0.55;
cl_glow_ghost_infected_r 0.5;cl_glow_ghost_infected_g 0.5;cl_glow_ghost_infected_b 0.5;wait 5;cl_glow_ghost_infected_r 0.45;cl_glow_ghost_infected_g 0.45;cl_glow_ghost_infected_b 0.45;wait 5;cl_glow_ghost_infected_r 0.4;cl_glow_ghost_infected_g 0.4;cl_glow_ghost_infected_b 0.4;wait 5;cl_glow_ghost_infected_r 0.35;cl_glow_ghost_infected_g 0.35;cl_glow_ghost_infected_b 0.35;
cl_glow_item_r 0.5;cl_glow_item_g 1.0;cl_glow_item_b 0.0;wait 2;cl_glow_item_r 0.45;cl_glow_item_g 0.9;wait 2;cl_glow_item_r 0.4;cl_glow_item_g 0.8;wait 2;cl_glow_item_r 0.35;cl_glow_item_g 0.7;wait 2;cl_glow_item_r 0.3;cl_glow_item_g 0.6;wait 2;cl_glow_item_r 0.25;cl_glow_item_g 0.5;wait 2;cl_glow_item_r 0.2;cl_glow_item_g 0.4;wait 2;cl_glow_item_r 0.15;cl_glow_item_g 0.3;
cl_glow_item_r 0.1;cl_glow_item_g 0.2;wait 2;cl_glow_item_r 0.05;cl_glow_item_g 0.1;wait 2;cl_glow_item_r 0.0;cl_glow_item_g 0.0;
cl_glow_item_r 0.0;cl_glow_item_g 0.0;cl_glow_item_b 0.0;wait 2;cl_glow_item_r 0.05;cl_glow_item_g 0.1;wait 2;cl_glow_item_r 0.1;cl_glow_item_g 0.2;wait 2;cl_glow_item_r 0.15;cl_glow_item_g 0.3;wait 2;cl_glow_item_r 0.2;cl_glow_item_g 0.4;wait 2;cl_glow_item_r 0.25;cl_glow_item_g 0.5;wait 2;cl_glow_item_r 0.3;cl_glow_item_g 0.6;wait 2;cl_glow_item_r 0.35;cl_glow_item_g 0.7;
cl_glow_item_r 0.4;cl_glow_item_g 0.8;wait 2;cl_glow_item_r 0.45;cl_glow_item_g 0.9;wait 2;cl_glow_item_r 0.5;cl_glow_item_g 1.0;
cl_glow_item_far_r 0.5;cl_glow_item_far_g 1.0;cl_glow_item_far_b 0.0;wait 5;cl_glow_item_far_r 0.45;wait 5;cl_glow_item_far_r 0.40;wait 5;cl_glow_item_far_r 0.35;wait 5;cl_glow_item_far_r 0.30;wait 5;cl_glow_item_far_r 0.25;wait 5;cl_glow_item_far_r 0.20;wait 5;cl_glow_item_far_r 0.15;wait 5;cl_glow_item_far_r 0.10;wait 5;cl_glow_item_far_r 0.05;wait 5;cl_glow_item_far_r 0.0;
cl_glow_item_far_r 0.0;cl_glow_item_far_g 1.0;cl_glow_item_far_b 0.0;wait 5;cl_glow_item_far_r 0.05;wait 5;cl_glow_item_far_r 0.10;wait 5;cl_glow_item_far_r 0.15;wait 5;cl_glow_item_far_r 0.20;wait 5;cl_glow_item_far_r 0.25;wait 5;cl_glow_item_far_r 0.30;wait 5;cl_glow_item_far_r 0.35;wait 5;cl_glow_item_far_r 0.40;wait 5;cl_glow_item_far_r 0.45;wait 5;cl_glow_item_far_r 0.5;
cl_glow_survivor_hurt_b 0.0;cl_glow_survivor_hurt_g 0.45;cl_glow_survivor_hurt_r 1.0;wait 5;cl_glow_survivor_hurt_g 0.4; wait 5; cl_glow_survivor_hurt_g 0.35;wait 5;cl_glow_survivor_hurt_g 0.3;wait 5;cl_glow_survivor_hurt_g 0.25;wait 5;cl_glow_survivor_hurt_g 0.2;wait 5;cl_glow_survivor_hurt_g 0.15; wait 5;cl_glow_survivor_hurt_g 0.1;
cl_glow_survivor_hurt_g 0.05;wait 5;cl_glow_survivor_hurt_g 0.0;
cl_glow_survivor_hurt_b 0.0;cl_glow_survivor_hurt_g 0.0;cl_glow_survivor_hurt_r 1.0;wait 5;cl_glow_survivor_hurt_g 0.05;wait 5;cl_glow_survivor_hurt_g 0.1; wait 5; cl_glow_survivor_hurt_g 0.15;wait 5;cl_glow_survivor_hurt_g 0.2;wait 5;cl_glow_survivor_hurt_g 0.25;wait 5;cl_glow_survivor_hurt_g 0.3;wait 5;cl_glow_survivor_hurt_g 0.35; wait 5;cl_glow_survivor_hurt_g 0.4;
cl_glow_survivor_hurt_g 0.45;
cl_glow_survivor_vomit_b 0.72;cl_glow_survivor_vomit_g 0.07;cl_glow_survivor_vomit_r 0.79;
cl_glow_infected_b 1.0;cl_glow_infected_g 0.5;cl_glow_infected_r 0.0;cl_glow_survivor_b 1.0;cl_glow_survivor_g 0.5;cl_glow_survivor_r 0.0;
// ---------------------------------------------------------------------------------------------------- //
// -----| LOAD CONFIRMATION |-------------------------------------------------------------------------- //
// ---------------------------------------------------------------------------------------------------- //
echo /*********************************************************\;
echo |**********| GAMING SOFA AUTOEXEC 1.1.3 LOADED |**********|;
echo \*********************************************************/;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment