Working Firemode

A Config Script for Left 4 Dead 2

143 lines | 6 kb | Raw Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
exec autoexec.cfg
cl_crosshair_dynamic 0
// *************Binds*************
// Change these to Your liking.

Bind 1 "Slot1;Primary"
Bind 2 "Slot2;Secondary"
Bind 3 "Slot3;Explosives"
Bind 4 "Slot4;Pack"
Bind 5 "Slot5;Drugs"
Bind Q "ToggleCC"
Bind E "+Fl31"
Bind 6 "+Schizo31"
Bind Shift "+Focus"
Bind Ctrl "+Crouch41"
Bind Mwheelup "Primary"
Bind Mwheeldown "Secondary"
Bind End "exec Autoexec.cfg"

// *************Fixes for 1-Shot Items.*************
Alias Explosives "Slot3;Bind Mouse1 +Attack;-AFire;-Reload"
Alias Pack       "Slot4;Bind Mouse1 +Attack;-AFire;-Reload"
Alias Drugs      "Slot5;Bind Mouse1 +Attack;-AFire;-Reload"

// *************Primary Weapon Firemode Toggle*************
Alias Primary "Slot1;CPFM;SNW2;CurrPCrossHair;Bind Mouse3 SPFM"
Alias CPFM  "PFM1"
Alias SPFM  "PFM1"
Alias PFM1  "CPSS1;Green_CrossHair;Alias CurrPCrossHair Green_CrossHair;Bind Mouse1 +Attack;Reset"
Alias PFM2  "CPSS2;Blue_CrossHair;Alias CurrPCrossHair Blue_CrossHair;Bind Mouse1 +BFire;Reset"
Alias PFM3  "CPSS3;Orange_CrossHair;Alias CurrPCrossHair Orange_CrossHair;Bind Mouse1 +AFire;Reset;+Reload"
Alias CPSS1 "Alias SPFM PFM2;Alias CPFM PFM1;echo "Primary:Normal""
Alias CPSS2 "Alias SPFM PFM3;Alias CPFM PFM2;echo "Primary:Burst""
Alias CPSS3 "Alias SPFM PFM1;Alias CPFM PFM3;echo "Primary:Shotgun""

// *************Secondary Weapon Firemode Toggle*************
Alias Secondary "Slot2;CSFM;SNW1;CurrSCrossHair;Bind Mouse3 SSFM"
Alias CSFM  "SFM1"
Alias SSFM  "SFM1"
Alias SFM1  "CSSS1;Green_CrossHair;Alias CurrSCrossHair Green_CrossHair;Bind Mouse1 +Attack;Reset"
Alias SFM2  "CSSS2;Blue_CrossHair;Alias CurrSCrossHair Blue_CrossHair;Bind Mouse1 +AFire;Reset"
Alias SFM3  "CSSS3;Orange_CrossHair;Alias CurrSCrossHair Orange_CrossHair;Bind Mouse1 +MFire;Reset"
Alias CSSS1 "Alias SSFM SFM2;Alias CSFM SFM1;echo "Secondary:Normal""
Alias CSSS2 "Alias SSFM SFM3;Alias CSFM SFM2;echo "Secondary:Auto""
Alias CSSS3 "Alias SSFM SFM1;Alias CSFM SFM3;echo "Secondary:Melee""


//**************RESET***************
alias Reset "-Afire;-BFire;-MFire;-Attack;-Reload"
// *************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 ""


// *************Burst Fire****************
Alias +BFire "Alias BRepeat_function +BRepeat; +BRepeat"
Alias -BFire "Alias BRepeat_function stopRepeating"
Alias BRepeat_function "+BRepeat"
Alias +BRepeat "+Attack; Wait 3; -BRepeat"
Alias -BRepeat "-Attack; Wait 17; BRepeat_function"
Alias stopRepeating ""
// *************Melee Swap****************
alias MeleeSwap "+attack;wait 5;invnext;wait 5;slot2;-attack"

Alias +MFire "Alias MRepeat_function +MRepeat; +MRepeat"
Alias -MFire "Alias MRepeat_function stopRepeating"
Alias MRepeat_function "+MRepeat"
Alias +MRepeat "+attack;wait 5;invnext;wait 5;slot2;-attack;-MRepeat"
Alias -MRepeat "Wait 45; MRepeat_function"
Alias stopRepeating ""
// *************Custom "NextWeap"*************
Alias NextWeap ""
Alias SNW1 "Alias NextWeap Primary"
Alias SNW2 "Alias NextWeap Secondary"

// *************CrossHair Settings*************
// Color Settings
// Orange
Alias Orange_CrossHair "cl_CrossHair_red 244;cl_CrossHair_Green 130;cl_CrossHair_Blue 74"
// Blue
Alias Blue_CrossHair "cl_CrossHair_red 72;cl_CrossHair_Green 190;cl_CrossHair_Blue 230"
// Green
Alias Green_CrossHair "cl_CrossHair_red 23;cl_CrossHair_Green 232;cl_CrossHair_Blue 29"
// Current CrossHair Stuff
Alias CPCrossHair "Green_CrossHair"
Alias CSCrossHair "Green_CrossHair"


// *************Close Captions*************
// Text notifications for noises. Helps with detecting tanks/hunters/etc.

Alias ToggleCCon "closecaption 1; CrossHairflash;Alias ToggleCC ToggleCCoff"
Alias ToggleCCoff "closecaption 0; CrossHairflash;Alias ToggleCC ToggleCCon"
Alias ToggleCC "ToggleCCon"

// *************Focus Toggle*************
// Press to engage Scope like Normal, Press again to disengage. Hold to Scope and lower Sensitivity. If using a non-scoped weapon, Holding this will still lower sensitivty.
// Change The Sensitivity Values to your liking. I'd Recommend Reducing the sensitivity by roughly 30% when using the Focus Function.

Alias "+Focus" "+Zoom;cl_crosshair_dynamic 0;Sensitivity 7;wait 10;cl_crosshair_dynamic 0;-Zoom"
Alias "-Focus" "+Zoom;cl_crosshair_dynamic 0;Sensitivity 10;wait 10;-Zoom"
Sensitivity 10;

// *************Flashlight Spam*************
// Press to toggle your Flashlight On/Off. Tap twice for Super-Happy Disco Fun. Tap once to Disengage.

Alias "+Fl21" "Alias Fl23 +Fl22; +Fl22"
Alias "+Fl22" "impulse 100; Wait; -Fl22"
Alias "-Fl22" "impulse 100; Wait; Fl23"
Alias "Fl23" "+Fl22"
Alias "-Fl21" "Alias Fl23 impulse 100"
Alias "+Fl31" "impulse 100; -Fl21"
Alias "-Fl31" "Fl32"
Alias "Fl32" "Alias -Fl31 +Fl21; Wait 20; Alias -Fl31 Fl32"

// *************Schizo Mode*************
// Press to laugh, Tap twice to laugh hysterically, Tap once to stop the Madness.

Alias "+Schizo21" "Alias Schizo23 +Schizo22; +Schizo22"
Alias "+Schizo22" "Vocalize playerlaugh; wait 250;Vocalize playerlaugh; wait 250; Vocalize Playerlostcall; wait 250;Vocalize playerlaugh; wait 250;vocalize playerdeath; -Schizo22"
Alias "-Schizo22" "Vocalize playerlaugh; wait 250; Schizo23"
Alias "Schizo23" "+Schizo22"
Alias "-Schizo21" "Alias Schizo23 Vocalize playerlaugh"
Alias "+Schizo31" "Vocalize playerlaugh; -Schizo21"
Alias "-Schizo31" "Schizo32"
Alias "Schizo32" "Alias -Schizo31 +Schizo21; Wait 100; Alias -Schizo31 Schizo32"

// *************Crouch Toggle*************
// Crouches on hold, Tap twice to Stay crouched, Tap once to stand up.

alias "+Crouch41" "+duck"
alias "-Crouch41" "Crouch42"
alias "Crouch42" "-duck; alias -Crouch41 +duck; wait 20; alias -Crouch41 Crouch42"

// *************Execution*************
Alias CrossHairFlash "Orange_CrossHair; Wait 30; Blue_CrossHair; Wait 30; Green_CrossHair"
CrossHairFlash

 echo "Human Loaded."
well, this is a firemode script originally designed by NuQ, and was implemented by me.
https://gamebanana.com/scripts/5635
Many are not different from the original. added burst fire for primary, and added melee mode for secondary(for hard sucking melee lovers like me.).
           Primary/Secondary
Greeen Normal Normal
Blue      Burst RapidFire
Orange  Shotgun Melee

Normal:just pressing a button.
Burst: repeatly fires rounds while pressing. sniper rifles and special ammunition are a frined of this mode.
Shotgun:RapidFire+Reload
RapidFire:Any more ideas?
Melee:Auto swap+ Auto mayhem

Nothing to see here.
 Credits to NuQ for making the original script.
Sign up to access this!

Posts

  • OnlyMann avatar
    OnlyMann Joined 3mo ago
    Offline
    3mo
    Ah, I forgot.p This works a 60 fps, and if you ahve more than 300 this mod could break. 
    Bananite
    URL to post:

Embed

Share banner
Image URL
HTML embed code
BB embed code
Markdown embed code

Credits

Special Thanks
NuQ
NuQ Joined 9y ago
Offline
Original Script
Scriptor
OnlyMann

Submitter

OnlyMann avatar
OnlyMann Joined 3mo ago
Offline

OnlyMann
Creator
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

License

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Share on Google+

Stats

  • 470 Views
  • 1 Posts
  • 3moSubmitted

Scores

  • Not yet rated
Sign up to access this!

More Other/Misc Scripts

bcp.crwdcntrl.net tracking pixel