// ############################################################### // left 4 dead community autoexec 2.2c | by mystrdat & diecmann215 // http://forums.steampowered.com/forums/showthread.php?t=799760 // ############################################################### //==================================================================== // ###################################### // general settings, key binds & features // ###################################### //# game settings sv_search_max_ping 75; //# use less or more to get better results according to your location cl_timeout 60; //# a workaround for server disconnecting prematurely before map load echo [L4D COMMUNITY AUTOEXEC 2.2c LOADED]; //# load confirmation on exec script call //# key binds bind "SHIFT" "+speeding"; //# walk 2-tap toggle bind (game default) bind "C" "+ducking"; //# crouch 2-tap toggle bind (game default) bind "CAPSLOCK" "run.toggle"; //# autorun toggle bind "TAB" "+sb"; //# scoreboard & netgraph bind (game default) bind "W" "+ww"; //# move forward key (game default) bind "S" "+ss"; //# move backwards key (game default) //bind "MWHEELUP" "up"; //# thirdpersonshoulder camera zoom up and firstperson weapon scroll (game default) //bind "MWHEELDOWN" "down"; //# thirdpersonshoulder camera zoom down, and firstperson weapon scroll (game default) bind "F3" "+pressed"; //# 3-tap difficulty vote bind bind "F4" "retrdisc"; //# 2-tap retry/disconnect bind "F7" "hd.togg"; //# hd avi recording toggle bind "F8" "r.sw"; //# demo record toggle bind "F9" "thirdpersonshoulder; togglezoom"; //# thirdpersonshoulder toggle bind (remove "togglezoom" to disable the mousewheel zoom feature) bind "F10" "sv.check"; //# server config check bind bind "F11" "glow.toggle" //# glow pulse toggle //# feature settings alias "defaultglow" "glow.toggle.Q1"; //# glow color & pulse theme (change to Q1/D1 themes or to glow.toggle.OFF for game default) alias "mygraph" "net_graph 2"; //# change the value from 1-5 to adjust how much info will be shown alias "defaultzoom" "zoom.40"; //# default zoom distance for thirdpersonshoulder mousewheel zoom (change to any multiple of 5 between 30 and 200) alias "voicedemo" "voice_loopback 1" //# records your own voice when recording a demo, change to 0 to disable //# optional features & settings //cl_updaterate "101" //# packets per second you request from the server (default 20) (remove // before the command to activate) //cl_cmdrate "100" //# command packets sent to server per second (default 30) (remove // before the command to activate) //rate "30000" //# max bytes/sec the host can receive data (default 10000) (remove // before the command to activate) //bind "ALT" "+talking" //# voice chat 2-tap toggle bind (remove // before bind to activate) //bind "F12" "rmtog"; //# mouse invert toggle //==================================================================== // ########################################### // scoreboard & netgraph | by eram & linfosoma // ########################################### net_graphpos 0; alias "+sb" "+showscores; mygraph"; alias "-sb" "-showscores; net_graph 0"; // ################################################################# // thirdpersonshoulder fix & zooming | by deathbybeef & dieckmann215 // ################################################################# c_thirdpersonshoulderoffset 0; c_thirdpersonshoulderaimdist 720; c_thirdpersonshoulderheight 10; c_thirdpersonshoulderdist 40; cam_ideallag 0; cam_idealdelta 4; cam_idealpitch 0; cam_idealyaw 0; alias togglezoom.off "alias up invprev; alias down invnext; alias togglezoom togglezoom.on"; alias togglezoom.on "alias up zoom.in; alias down zoom.out; up; down; alias togglezoom togglezoom.off"; alias zoom.25 "cam_idealdist 30; alias zoom.in zoom.30; alias zoom.out zoom.30"; alias zoom.30 "cam_idealdist 30; alias zoom.in zoom.25; alias zoom.out zoom.35"; alias zoom.35 "cam_idealdist 35; alias zoom.in zoom.30; alias zoom.out zoom.40"; alias zoom.40 "cam_idealdist 40; alias zoom.in zoom.35; alias zoom.out zoom.45"; alias zoom.45 "cam_idealdist 45; alias zoom.in zoom.40; alias zoom.out zoom.50"; alias zoom.50 "cam_idealdist 50; alias zoom.in zoom.45; alias zoom.out zoom.55"; alias zoom.55 "cam_idealdist 55; alias zoom.in zoom.50; alias zoom.out zoom.60"; alias zoom.60 "cam_idealdist 60; alias zoom.in zoom.55; alias zoom.out zoom.65"; alias zoom.65 "cam_idealdist 65; alias zoom.in zoom.60; alias zoom.out zoom.70"; alias zoom.70 "cam_idealdist 70; alias zoom.in zoom.65; alias zoom.out zoom.75"; alias zoom.75 "cam_idealdist 75; alias zoom.in zoom.70; alias zoom.out zoom.80"; alias zoom.80 "cam_idealdist 80; alias zoom.in zoom.75; alias zoom.out zoom.85"; alias zoom.85 "cam_idealdist 85; alias zoom.in zoom.80; alias zoom.out zoom.90"; alias zoom.90 "cam_idealdist 90; alias zoom.in zoom.85; alias zoom.out zoom.95"; alias zoom.95 "cam_idealdist 95; alias zoom.in zoom.90; alias zoom.out zoom.100"; alias zoom.100 "cam_idealdist 100; alias zoom.in zoom.95; alias zoom.out zoom.105"; alias zoom.105 "cam_idealdist 105; alias zoom.in zoom.100; alias zoom.out zoom.110"; alias zoom.110 "cam_idealdist 110; alias zoom.in zoom.105; alias zoom.out zoom.115"; alias zoom.115 "cam_idealdist 115; alias zoom.in zoom.110; alias zoom.out zoom.120"; alias zoom.120 "cam_idealdist 120; alias zoom.in zoom.115; alias zoom.out zoom.125"; alias zoom.125 "cam_idealdist 135; alias zoom.in zoom.120; alias zoom.out zoom.130"; alias zoom.130 "cam_idealdist 130; alias zoom.in zoom.125; alias zoom.out zoom.135"; alias zoom.135 "cam_idealdist 135; alias zoom.in zoom.130; alias zoom.out zoom.140"; alias zoom.140 "cam_idealdist 140; alias zoom.in zoom.135; alias zoom.out zoom.145"; alias zoom.145 "cam_idealdist 145; alias zoom.in zoom.140; alias zoom.out zoom.150"; alias zoom.150 "cam_idealdist 150; alias zoom.in zoom.145; alias zoom.out zoom.155"; alias zoom.155 "cam_idealdist 155; alias zoom.in zoom.150; alias zoom.out zoom.160"; alias zoom.160 "cam_idealdist 160; alias zoom.in zoom.155; alias zoom.out zoom.165"; alias zoom.165 "cam_idealdist 165; alias zoom.in zoom.160; alias zoom.out zoom.170"; alias zoom.170 "cam_idealdist 170; alias zoom.in zoom.165; alias zoom.out zoom.175"; alias zoom.175 "cam_idealdist 175; alias zoom.in zoom.170; alias zoom.out zoom.180"; alias zoom.180 "cam_idealdist 180; alias zoom.in zoom.175; alias zoom.out zoom.185"; alias zoom.185 "cam_idealdist 185; alias zoom.in zoom.180; alias zoom.out zoom.190"; alias zoom.190 "cam_idealdist 190; alias zoom.in zoom.185; alias zoom.out zoom.195"; alias zoom.195 "cam_idealdist 195; alias zoom.in zoom.190; alias zoom.out zoom.200"; alias zoom.200 "cam_idealdist 200; alias zoom.in zoom.195; alias zoom.out zoom.205"; alias zoom.205 "cam_idealdist 200; alias zoom.in zoom.200; alias zoom.out zoom.200"; togglezoom.off; c_thirdpersonshoulder 0; defaultzoom; // ################################################################## // incremental 1-key demo recording | by nova. & mystrdat & bi0_gauss // ################################################################## alias "r.a" "toggleconsole; clear; voicedemo; glow.toggle.OFF; echo [reverting game default glows...]; wait 30; alias glow.toggle ; echo [RECORDING]; record _demo_a; alias r.sw r.of; alias r.xyz r.on; alias r.on r.b; wait 175; toggleconsole"; alias "r.b" "toggleconsole; clear; voicedemo; glow.toggle.OFF; echo [reverting game default glows...]; wait 30; alias glow.toggle ; echo [RECORDING]; record _demo_b; alias r.sw r.of; alias r.xyz r.on; alias r.on r.c; wait 175; toggleconsole"; alias "r.c" "toggleconsole; clear; voicedemo; glow.toggle.OFF; echo [reverting game default glows...]; wait 30; alias glow.toggle ; echo [RECORDING]; record _demo_c; alias r.sw r.of; alias r.xyz r.on; alias r.on r.d; wait 175; toggleconsole"; alias "r.d" "toggleconsole; clear; voicedemo; glow.toggle.OFF; echo [reverting game default glows...]; wait 30; alias glow.toggle ; echo [RECORDING]; record _demo_d; alias r.sw r.of; alias r.xyz r.on; alias r.on r.e; wait 175; toggleconsole"; alias "r.e" "toggleconsole; clear; voicedemo; glow.toggle.OFF; echo [reverting game default glows...]; wait 30; alias glow.toggle ; echo [RECORDING]; record _demo_e; alias r.sw r.of; alias r.xyz r.on; alias r.on r.f; wait 175; toggleconsole"; alias "r.f" "toggleconsole; clear; voicedemo; glow.toggle.OFF; echo [reverting game default glows...]; wait 30; alias glow.toggle ; echo [RECORDING]; record _demo_f; alias r.sw r.of; alias r.xyz r.on; alias r.on r.g; wait 175; toggleconsole"; alias "r.g" "toggleconsole; clear; voicedemo; glow.toggle.OFF; echo [reverting game default glows...]; wait 30; alias glow.toggle ; echo [RECORDING]; record _demo_g; alias r.sw r.of; alias r.xyz r.on; alias r.on r.h; wait 175; toggleconsole"; alias "r.h" "toggleconsole; clear; voicedemo; glow.toggle.OFF; echo [reverting game default glows...]; wait 30; alias glow.toggle ; echo [RECORDING]; record _demo_h; alias r.sw r.of; alias r.xyz r.on; alias r.on r.i; wait 175; toggleconsole"; alias "r.i" "toggleconsole; clear; voicedemo; glow.toggle.OFF; echo [reverting game default glows...]; wait 30; alias glow.toggle ; echo [RECORDING]; record _demo_i; alias r.sw r.of; alias r.xyz r.on; alias r.on r.j; wait 175; toggleconsole"; alias "r.j" "toggleconsole; clear; voicedemo; glow.toggle.OFF; echo [reverting game default glows...]; wait 30; alias glow.toggle ; echo [RECORDING]; record _demo_j; alias r.sw r.of; alias r.xyz r.on; alias r.on r.k; wait 175; toggleconsole"; alias "r.k" "toggleconsole; clear; voicedemo; glow.toggle.OFF; echo [reverting game default glows...]; wait 30; alias glow.toggle ; echo [RECORDING]; record _demo_k; alias r.sw r.of; alias r.xyz r.on; alias r.on r.l; wait 175; toggleconsole"; alias "r.l" "toggleconsole; clear; voicedemo; glow.toggle.OFF; echo [reverting game default glows...]; wait 30; alias glow.toggle ; echo [RECORDING]; record _demo_l; alias r.sw r.of; alias r.xyz r.on; alias r.on r.m; wait 175; toggleconsole"; alias "r.m" "toggleconsole; clear; voicedemo; glow.toggle.OFF; echo [reverting game default glows...]; wait 30; alias glow.toggle ; echo [RECORDING]; record _demo_m; alias r.sw r.of; alias r.xyz r.on; alias r.on r.n; wait 175; toggleconsole"; alias "r.n" "toggleconsole; clear; voicedemo; glow.toggle.OFF; echo [reverting game default glows...]; wait 30; alias glow.toggle ; echo [RECORDING]; record _demo_n; alias r.sw r.of; alias r.xyz r.on; alias r.on r.o; wait 175; toggleconsole"; alias "r.o" "toggleconsole; clear; voicedemo; glow.toggle.OFF; echo [reverting game default glows...]; wait 30; alias glow.toggle ; echo [RECORDING]; record _demo_o; alias r.sw r.of; alias r.xyz r.on; alias r.on r.p; wait 175; toggleconsole"; alias "r.p" "toggleconsole; clear; voicedemo; glow.toggle.OFF; echo [reverting game default glows...]; wait 30; alias glow.toggle ; echo [RECORDING]; record _demo_p; alias r.sw r.of; alias r.xyz r.on; alias r.on r.q; wait 175; toggleconsole"; alias "r.q" "toggleconsole; clear; voicedemo; glow.toggle.OFF; echo [reverting game default glows...]; wait 30; alias glow.toggle ; echo [RECORDING]; record _demo_q; alias r.sw r.of; alias r.xyz r.on; alias r.on r.r; wait 175; toggleconsole"; alias "r.r" "toggleconsole; clear; voicedemo; glow.toggle.OFF; echo [reverting game default glows...]; wait 30; alias glow.toggle ; echo [RECORDING]; record _demo_r; alias r.sw r.of; alias r.xyz r.on; alias r.on r.s; wait 175; toggleconsole"; alias "r.s" "toggleconsole; clear; voicedemo; glow.toggle.OFF; echo [reverting game default glows...]; wait 30; alias glow.toggle ; echo [RECORDING]; record _demo_s; alias r.sw r.of; alias r.xyz r.on; alias r.on r.t; wait 175; toggleconsole"; alias "r.t" "toggleconsole; clear; voicedemo; glow.toggle.OFF; echo [reverting game default glows...]; wait 30; alias glow.toggle ; echo [RECORDING]; record _demo_t; alias r.sw r.of; alias r.xyz r.on; alias r.on r.u; wait 175; toggleconsole"; alias "r.u" "toggleconsole; clear; voicedemo; glow.toggle.OFF; echo [reverting game default glows...]; wait 30; alias glow.toggle ; echo [RECORDING]; record _demo_u; alias r.sw r.of; alias r.xyz r.on; alias r.on r.v; wait 175; toggleconsole"; alias "r.v" "toggleconsole; clear; voicedemo; glow.toggle.OFF; echo [reverting game default glows...]; wait 30; alias glow.toggle ; echo [RECORDING]; record _demo_v; alias r.sw r.of; alias r.xyz r.on; alias r.on r.w; wait 175; toggleconsole"; alias "r.w" "toggleconsole; clear; voicedemo; glow.toggle.OFF; echo [reverting game default glows...]; wait 30; alias glow.toggle ; echo [RECORDING]; record _demo_w; alias r.sw r.of; alias r.xyz r.on; alias r.on r.x; wait 175; toggleconsole"; alias "r.x" "toggleconsole; clear; voicedemo; glow.toggle.OFF; echo [reverting game default glows...]; wait 30; alias glow.toggle ; echo [RECORDING]; record _demo_x; alias r.sw r.of; alias r.xyz r.on; alias r.on r.y; wait 175; toggleconsole"; alias "r.y" "toggleconsole; clear; voicedemo; glow.toggle.OFF; echo [reverting game default glows...]; wait 30; alias glow.toggle ; echo [RECORDING]; record _demo_y; alias r.sw r.of; alias r.xyz r.on; alias r.on r.z; wait 175; toggleconsole"; alias "r.z" "toggleconsole; clear; voicedemo; glow.toggle.OFF; echo [reverting game default glows...]; wait 30; alias glow.toggle ; echo [RECORDING]; record _demo_z; alias r.sw r.of; alias r.xyz r.on; alias r.on r.a; echo [RECORDING]; echo [LAST RECORD SLOT REACHED, BACKUP OLD RECORDINGS OR THEY WILL BE OVERWRITTEN]; play ui/beep22; wait 300; toggleconsole"; alias "r.of" "toggleconsole; stop; voice_loopback 0; defaultglow; wait 50; alias r.sw r.on; alias r.xyz r.of; echo [STOP]; wait 100; toggleconsole" alias "r.on" "r.a"; alias "r.sw" "r.on"; alias "r.xyz" "r.of"; // ########################################### // hd avi video recording toggle | by mystrdat // ########################################### alias hd.start "toggleconsole; clear; echo [RECORDING AVI]; echo select a codec from the drop down menu; wait 500; toggleconsole; wait 30; startmovie _hd_movie avi; alias hd.togg hd.stop;"; alias hd.stop "endmovie; toggleconsole; wait 30; echo [STOP AVI]; wait 300; toggleconsole; alias hd.togg hd.start;"; alias hd.togg "hd.start"; // ############################################## // mouse invert toggle | by bi0_gauss & downtown1 // ############################################## alias rmon "m_pitch -0.022; echo mouse invert enabled; alias rmtog rmoff;" alias rmoff "m_pitch 0.022; echo mouse invert disabled; alias rmtog rmon;" alias rmtog "rmon"; // ###################################################################### // double tap walk & crouch toggle | by xclusionnl & nova. & dieckmann215 // ###################################################################### alias "+speeding" "+speed"; alias "-speeding" "speeding.switch"; alias "speeding.switch" "-speed; alias +speeding +speed; alias -speeding +speed; wait 25; alias -speeding speeding.switch"; alias "+ducking" "+duck"; alias "-ducking" "ducking.switch"; alias "ducking.switch" "-duck; alias +ducking +duck; alias -ducking +duck; wait 25; alias -ducking ducking.switch"; // ############################################ // intelligent autorun toggle | by dieckmann215 // ############################################ alias "1run" "dir; alias run.toggle 2run"; alias "2run" "-forward; -back; alias run.toggle 1run"; alias "dir.back" "+back; alias maybestop2 "; alias "dir.forward" "+forward; alias maybestop "; alias "1reverse" "alias dir dir.back"; alias "2reverse" "alias dir +forward"; alias "1forward" "alias dir dir.forward"; alias "2forward" "alias dir +forward"; alias "maybestop2" "-back"; alias "maybestop" "-forward"; alias "+ww" "2run; 1forward; +forward"; alias "-ww" "2forward; maybestop; alias maybestop -forward"; alias "+ss" "2run; 1reverse; +back"; alias "-ss" "2reverse; maybestop2; alias maybestop2 -back"; 2reverse; 2forward; 2run; // ################################### // voice chat toggle | by dieckmann215 // ################################### alias "+talking" "+voicerecord"; alias "-talking" "talking.switch"; alias "talking.switch" "-voicerecord; alias +talking +voicerecord; alias -talking +voicerecord; wait 25; alias -talking talking.switch"; // ################################################### // 3-tap to vote difficulty | by dieckmann215 & fakiyo // ################################################### alias +pressed1 "alias +pressed +pressed2; alias command1 command1.saved; wait 20; command1"; alias +pressed2 "alias command1 ; alias +pressed +pressed3; alias command2 command2.saved; wait 20; command2"; alias +pressed3 "alias command2 ; alias command3 command3.saved; command3"; alias command1.saved "callvote changedifficulty Normal; alias +pressed +pressed1"; alias command2.saved "callvote changedifficulty Hard; alias +pressed +pressed1"; alias command3.saved "callvote changedifficulty Impossible; alias +pressed +pressed1"; alias +pressed "+pressed1"; alias -pressed ""; // ########################################## // 2-tap retry & disconnect | by dieckmann215 // ########################################## alias key1 "alias retrdisc key2; alias action1 action1.saved; wait 20; action1"; alias key2 "alias action1 ; action2"; alias action1.saved "retry; alias retrdisc key1"; alias action2 "disconnect; alias retrdisc key1"; alias retrdisc "key1"; // ##################################################### // status, cheats & alltalk check | by fakiyo & mystrdat // ##################################################### alias sv.check "toggleconsole; clear; echo [SERVER STATUS CHECK]; status; sv_cheats; sv_alltalk; wait 500; toggleconsole;" // ############################################################### // glow color & pulse themes | by dieckmann215 & mystrdat & fakiyo // ############################################################### //# default game glow color theme alias "glow.close.OFF" "cl_glow_item_b 1.0;cl_glow_item_g 0.7;cl_glow_item_r 0.7;" alias "glow.far.OFF" "cl_glow_item_far_b 1.0;cl_glow_item_far_g 0.4;cl_glow_item_far_r 0.3;" alias "glow.down.OFF" "cl_glow_survivor_hurt_b 0.0; cl_glow_survivor_hurt_g 0.4; cl_glow_survivor_hurt_r 1.0;" alias "glow.ghost.OFF" "cl_glow_ghost_infected_b 1.0;cl_glow_ghost_infected_g 0.4;cl_glow_ghost_infected_r 0.3;" alias "glow.vomit.OFF" "cl_glow_survivor_vomit_b 0.0;cl_glow_survivor_vomit_g 0.4;cl_glow_survivor_vomit_r 1.0;" alias "glow.teammate.OFF" "cl_glow_infected_b 1.0;cl_glow_infected_g 0.4;cl_glow_infected_r 0.3;cl_glow_survivor_b 1.0;cl_glow_survivor_g 0.4;cl_glow_survivor_r 0.3;" //# Q1 glow color & pulse theme alias "glow.ghost.one.Q1" "alias glow.ghost.swap glow.ghost.two.Q1;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;wait 5;glow.ghost.swap"; alias "glow.ghost.two.Q1" "alias glow.ghost.swap glow.ghost.three.Q1;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;wait 25;glow.ghost.swap"; alias "glow.ghost.three.Q1" "alias glow.ghost.swap glow.ghost.four.Q1;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;wait 5;glow.ghost.swap"; alias "glow.ghost.four.Q1" "alias glow.ghost.swap glow.ghost.one.Q1;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;wait 5;glow.ghost.swap"; alias "glow.close.one.Q1" "alias glow.close.swap glow.close.two.Q1;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;wait 2;glow.close.swap"; alias "glow.close.two.Q1" "alias glow.close.swap glow.close.three.Q1;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;wait 5;glow.close.swap"; alias "glow.close.three.Q1" "alias glow.close.swap glow.close.four.Q1;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;wait 2;glow.close.swap"; alias "glow.close.four.Q1" "alias glow.close.swap glow.close.one.Q1;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;wait 5;glow.close.swap"; alias "glow.far.one.Q1" "alias glow.far.swap glow.far.two.Q1;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;wait 5;glow.far.swap"; alias "glow.far.two.Q1" "alias glow.far.swap glow.far.one.Q1;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;wait 20;glow.far.swap"; alias "glow.down.one.Q1" "alias glow.down.swap glow.down.two.Q1;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;wait 5;glow.down.swap"; alias "glow.down.two.Q1" "alias glow.down.swap glow.down.three.Q1;cl_glow_survivor_hurt_g 0.05;wait 5;cl_glow_survivor_hurt_g 0.0;wait 10;glow.down.swap"; alias "glow.down.three.Q1" "alias glow.down.swap glow.down.four.Q1;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;wait 5;glow.down.swap"; alias "glow.down.four.Q1" "alias glow.down.swap glow.down.one.Q1;cl_glow_survivor_hurt_g 0.45;wait 15;glow.down.swap"; alias "glow.vomit.Q1" "cl_glow_survivor_vomit_b 0.72;cl_glow_survivor_vomit_g 0.07;cl_glow_survivor_vomit_r 0.79;" alias "glow.teammate.Q1" "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;" //# D1 glow color & pulse theme alias "glow.far.one.D1" "alias glow.far.swap glow.far.two.D1; cl_glow_item_far_r 0.0;cl_glow_item_far_b 1.0;cl_glow_item_far_g 0.6;wait 13;cl_glow_item_far_g 0.5; wait 4;cl_glow_item_far_g 0.4;wait 4;cl_glow_item_far_g 0.3;wait 4;cl_glow_item_far_g 0.2;wait 4;cl_glow_item_far_g 0.1; wait 4; glow.far.swap" alias "glow.far.two.D1" "alias glow.far.swap glow.far.one.D1; cl_glow_item_far_g 0.0;wait 13;cl_glow_item_far_g 0.2;wait 4;cl_glow_item_far_g 0.3;wait 4;cl_glow_item_far_g 0.4;wait 4;cl_glow_item_far_g 0.5;wait 4;cl_glow_item_far_g 0.5; wait 4;glow.far.swap" alias "glow.close.one.D1" "alias glow.close.swap glow.close.two.D1;cl_glow_item_r 0.0; cl_glow_item_b 1.0; cl_glow_item_g 0.5;wait 5;cl_glow_item_g 0.6;cl_glow_item_r 0.2;wait 2;cl_glow_item_g 0.7;cl_glow_item_r 0.4;wait 2;cl_glow_item_g 0.8;cl_glow_item_r 0.6;wait 2;cl_glow_item_g 0.9;cl_glow_item_r 0.8;wait 2;cl_glow_item_g 1.0;cl_glow_item_r 1.0;wait 5;glow.close.swap;"; alias "glow.close.two.D1" "alias glow.close.swap glow.close.one.D1;cl_glow_item_g 0.9;cl_glow_item_r 0.8;wait 2;cl_glow_item_g 0.8;cl_glow_item_r 0.6;wait 2; cl_glow_item_g 0.7; cl_glow_item_r 0.4;wait 2 ;cl_glow_item_g 0.6;cl_glow_item_r 0.2;wait 2;cl_glow_item_g 0.5;cl_glow_item_r 0.0;glow.close.swap" //# glow color & pulse themes toggle alias glow.toggle.OFF "alias glow.toggle glow.toggle.Q1; alias glow.close.swap glow.close.OFF; alias glow.far.swap glow.far.OFF; alias glow.down.swap glow.down.OFF; alias glow.ghost.swap glow.ghost.OFF; glow.vomit.OFF; glow.teammate.OFF; alias glow.toggle.D1 D1.fromOff; alias glow.toggle.Q1 Q1.fromOff" alias Q1.fromOff "alias glow.toggle glow.toggle.D1; alias glow.toggle.D1 D1.fromOn; glow.close.one.Q1; glow.far.one.Q1; glow.down.one.Q1; glow.ghost.one.Q1; glow.vomit.Q1; glow.teammate.Q1" alias Q1.fromOn "alias glow.toggle glow.toggle.D1; alias glow.toggle.D1 D1.fromOn; alias glow.close.swap glow.close.one.Q1; alias glow.far.swap glow.far.one.Q1; alias glow.ghost.swap glow.ghost.one.Q1; alias glow.down.swap glow.down.one.Q1; glow.vomit.Q1; glow.teammate.Q1" alias D1.fromOff "alias glow.toggle glow.toggle.OFF; alias glow.toggle.Q1 Q1.fromOn; glow.close.one.D1; glow.far.one.D1; glow.ghost.one.Q1; glow.down.one.Q1; glow.vomit.Q1; glow.teammate.Q1" alias D1.fromOn "alias glow.toggle glow.toggle.OFF; alias glow.toggle.Q1 Q1.fromOn; alias glow.close.swap glow.close.one.D1; alias glow.far.swap glow.far.one.D1; alias glow.ghost.swap glow.ghost.one.Q1; alias glow.down.swap glow.down.one.Q1; glow.vomit.Q1; glow.teammate.Q1" alias glow.toggle.D1 "D1.fromOff"; alias glow.toggle.Q1 "Q1.fromOff"; defaultglow; //************************************************************************************************************************************// //************************************************************************************************************************************// //************************************************************************************************************************************// // Firemodes script v0.1 by saik0 // Visit tacticalgamer.com for the latest version // -------- Documentation -------- // Add 'exec firemodes' to Steam\steamapps\common\left 4 dead\left4dead\cfg\autoexec.cfg to have it load with the game. // shotty-next toggles "shotgun mode" on and off, auto-next toggles fire modes for primary and secondary. // The script tries to remember which fireing mode you are using for which gun, and tries to do sane weapon/item switching. // Using the numbers and auto-switch work good, the mousewheel is iffy however. If you use the mousewheel to select another // item you'll have to press 1 or 2 (or auto switch) to go back to that firing mode for the corresponding weapon. // -------- Keybinds -------- bind "MOUSE5" "shotty-next" bind "MOUSE4" "auto-next" bind "Q" "auto_switch" // -------- Define crosshair colors-------- alias cross-semi "cl_crosshair_red 247; cl_crosshair_green 267; cl_crosshair_blue 163" alias cross-burst "cl_crosshair_red 164; cl_crosshair_green 211; cl_crosshair_blue 164" alias cross-auto "cl_crosshair_red 245; cl_crosshair_green 113; cl_crosshair_blue 228" alias cross-shotty "cl_crosshair_red 147; cl_crosshair_green 84; cl_crosshair_blue 84" alias cross-default "cl_crosshair_red 138; cl_crosshair_green 182; cl_crosshair_blue 220" // =================================== // ======== DO NOT EDIT BELOW ======== // =================================== // -------- Define auto fire types -------- // my glitchy settings //alias PRI_fire-semi "+attack; wait 3; -attack; wait 1" // using defaults alias PRI_fire-semi "+attack; wait 5; -attack; wait 2" // my faster burst alias PRI_fire-burst "+attack; wait 3; -attack; wait 5; +attack; wait 3; -attack; wait 5; +attack; wait 3; -attack" // my faster burst alias SEC_fire-burst "+attack; wait 4; -attack; wait 5; +attack; wait 4; -attack; wait 4; +attack; wait 3; -attack" alias +fire-auto "alias repeat_function +repeat; +repeat" alias -fire-auto "alias repeat_function nothing" alias repeat_function "+repeat" alias +repeat "+attack; wait 4; -repeat" alias -repeat "-attack; wait 4; repeat_function" alias nothing "" // -------- Firemode switching pseudo-code -------- alias PRI_firemode-default "bind MOUSE1 +attack; -reload; cross-default; alias PRI_firemode-last PRI_firemode-default" alias PRI_switch "slot1; PRI_firemode-last; alias auto_switch SEC_switch; alias last_weapon PRI_switch; alias auto-next PRI_auto-next; alias shotty_next PRI_shotty_next" alias PRI_firemode-shotty "bind MOUSE1 +fire-auto; +reload; cross-shotty; alias PRI_shotty-next PRI_shotty-reset; alias PRI_firemode-last PRI_firemode-shotty; alias PRI_shotty-last PRI_firemode-shotty; PRI_shotty-ONpress" alias PRI_shotty-reset "alias PRI_shotty-next PRI_firemode-shotty; PRI_shotty-ONpress; PRI_firemode-default" alias PRI_shotty-ONpress "alias PRI_auto-next PRI_firemode-semi; alias PRI_auto-last PRI_firemode-semi; " alias PRI_firemode-semi "bind MOUSE1 PRI_fire-semi; cross-semi; alias PRI_auto-next PRI_firemode-burst;alias PRI_firemode-last PRI_firemode-semi; alias PRI_auto-last PRI_firemode-semi; PRI_auto-ONpress" alias PRI_firemode-burst "bind MOUSE1 PRI_fire-burst; cross-burst; alias PRI_auto-next PRI_auto-reset;alias PRI_firemode-last PRI_firemode-burst; alias PRI_auto-last PRI_firemode-burst; PRI_auto-ONpress" alias PRI_auto-reset "PRI_firemode-default; alias PRI_auto-next PRI_firemode-semi" alias PRI_auto-ONpress "-reload; alias PRI_shotty-next PRI_firemode-shotty; alias PRI_shotty-last PRI_firemode-shotty" alias SEC_firemode-default "bind MOUSE1 +attack; cross-default; alias SEC_firemode-last SEC_firemode-default" //alias SEC_switch "slot2; SEC_firemode-default; -reload; alias auto_switch PRI_switch; alias last_weapon SEC_switch; alias auto-next nothing; alias shotty_next nothing" alias SEC_switch "slot2; SEC_firemode-last; -reload; alias auto_switch PRI_switch; alias last_weapon SEC_switch; alias auto-next SEC_auto-next; alias shotty_next nothing" alias SEC_firemode-burst "alias SEC_firemode-last SEC_firemode-burst; bind MOUSE1 SEC_fire-burst; cross-burst; alias SEC_auto-next SEC_firemode-auto" alias SEC_firemode-auto "alias SEC_firemode-last SEC_firemode-auto; bind MOUSE1 +fire-auto; cross-auto; alias SEC_auto-next SEC_firemode-reset" alias SEC_firemode-reset "SEC_firemode-default; alias SEC_firemode-last SEC_firemode-reset; alias SEC_auto-next SEC_firemode-burst;" // -------- Initialize -------- slot1 alias PRI_shotty-next "PRI_firemode-shotty" alias PRI_auto-next "PRI_firemode-semi" alias SEC_auto-next "SEC_firemode-burst" alias shotty-next "PRI_shotty-next" alias auto-next "PRI_auto-next" PRI_firemode-default SEC_firemode-default alias panic "-reload; bind MOUSE1 +attack; cross-default; alias auto_switch last_weapon" bind "1" "PRI_switch" bind "2" "SEC_switch" bind "3" "slot3; panic" bind "4" "slot4; panic" bind "5" "slot5; panic" bind "MWHEELUP" "invprev; panic" bind "MWHEELDOWN" "invnext; panic"