Left 4 Dead 2

Left 4 Dead 2

Selective Fire
 This topic has been pinned, so it's probably important
LoadedAK47  [developer] 6 Mar, 2022 @ 9:49pm
My Modified / "Updated" Fire Selector
I suggest you look at the READ BEFORE YOU SAY "IT DOESN'T WORK" Discussion for a good explanation on why this mod doesn't work though Workshop anymore and how to fix it so it does.

Another interesting edit of this mod is the Rapid Hold2Fire Variant made by Ruke (Soreasan). If you want auto semi-autos.

Anyway I am posting my personal version, were I removed the burst functionality as it didn't work all to well anyway. Installation instruction in the READ BEFORE YOU SAY "IT DOESN'T WORK" discussion in the The Cheap but Easy Way part. Hope you enjoy.

Version made for my Weapon Script Pack: (adjusted for higher RoF)

----------------------------------------------------------------------

//Readme
echo "This cfg allows Automatic and Semi-Automatic"
echo "Credits: By: LoadedAK47 , Alexandrovich , Gejsiv , Crowbait , GingaNinja , EvilJackCarver ; Tester: tmxavier013"
echo "Keys: Fire Selector: O ; Safety: P"

//Selective Fire - Alexandrovich
alias doauto "bind mouse1 +attack; normalcross"
alias dosemi "bind mouse1 semi; semicross"
alias dosafety "bind mouse1 -attack; echo Safety; safetycross"
alias semi "+attack; wait 8; -attack"

//Single Key Roatation - EvilJackCarver , Gejsiv
alias firetoggle setfirefull
alias setfirefull "doauto; alias firetoggle setfiresemi; echo Automatic"
alias setfiresemi "dosemi; alias firetoggle setfirefull; echo Semi-Automatic"

//Crosshair Colors - Crowbait , Gejsiv
alias normalcross "cl_crosshair_blue 220; cl_crosshair_green 182; cl_crosshair_red 138; -reload"
alias semicross "cl_crosshair_red 0; cl_crosshair_blue 0; cl_crosshair_green 255; -reload"
alias safetycross "cl_crosshair_red 0; cl_crosshair_blue 255; cl_crosshair_green 0; -reload"

//Weapon Switching Reset - Gejsiv , GingaNinja
bind 1 "doauto; normalcross; slot1"
bind 2 "doauto; normalcross; slot2"
bind 3 "doauto; normalcross; slot3"
bind 4 "doauto; normalcross; slot4"
bind 5 "doauto; normalcross; slot5"
bind mwheelup "doauto; normalcross; invprev"
bind mwheeldown "doauto; normalcross; invnext"
bind q "lastinv; doauto; normalcross"

//Key Binding
bind o "firetoggle; playgamesound Weapon_Scout.ClipLocked"
bind p "dosafety; playgamesound Weapon_Scout.ClipLocked"

----------------------------------------------------------------------

Version for vanilla:

----------------------------------------------------------------------

//Readme
echo "This cfg allows Automatic and Semi-Automatic"
echo "Credits: By: LoadedAK47 , Alexandrovich , Gejsiv , Crowbait , GingaNinja , EvilJackCarver ; Tester: tmxavier013"
echo "Keys: Fire Selector: O ; Safety: P"

//Selective Fire - Alexandrovich
alias doauto "bind mouse1 +attack; normalcross"
alias dosemi "bind mouse1 semi; semicross"
alias dosafety "bind mouse1 -attack; echo Safety; safetycross"
alias semi "+attack; wait 5; -attack"

//Single Key Roatation - EvilJackCarver , Gejsiv
alias firetoggle setfirefull
alias setfirefull "doauto; alias firetoggle setfiresemi; echo Automatic"
alias setfiresemi "dosemi; alias firetoggle setfirefull; echo Semi-Automatic"

//Crosshair Colors - Crowbait , Gejsiv
alias normalcross "cl_crosshair_blue 220; cl_crosshair_green 182; cl_crosshair_red 138; -reload"
alias semicross "cl_crosshair_red 0; cl_crosshair_blue 0; cl_crosshair_green 255; -reload"
alias safetycross "cl_crosshair_red 0; cl_crosshair_blue 255; cl_crosshair_green 0; -reload"

//Weapon Switching Reset - Gejsiv , GingaNinja
bind 1 "doauto; normalcross; slot1"
bind 2 "doauto; normalcross; slot2"
bind 3 "doauto; normalcross; slot3"
bind 4 "doauto; normalcross; slot4"
bind 5 "doauto; normalcross; slot5"
bind mwheelup "doauto; normalcross; invprev"
bind mwheeldown "doauto; normalcross; invnext"
bind q "lastinv; doauto; normalcross"

//Key Binding
bind o "firetoggle; playgamesound Weapon_Scout.ClipLocked"
bind p "dosafety; playgamesound Weapon_Scout.ClipLocked"

----------------------------------------------------------------------

If you don't want the Safety feature, Remove the
bind p "dosafety; playgamesound Weapon_Scout.ClipLocked"
line of code. Again, hope you enjoy
Last edited by LoadedAK47; 6 Mar, 2022 @ 9:59pm