-
Notifications
You must be signed in to change notification settings - Fork 0
/
autoexec.cfg
359 lines (287 loc) · 14.5 KB
/
autoexec.cfg
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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
///////////////////////
// crusty's autoexec //
///////////////////////
//put it in here: "C:\Steam\steamapps\common\Left 4 Dead 2\left4dead2\cfg" or wherever you installed it
//also set the config.cfg on "Read Only" if you don't want Settings to be overwritten
//if you see the "//" in front of a Command that means it's disabled so if you want to use that Command remove them
///////////////////
// launchoptions //
///////////////////
//go to Steam Libary, rightclick Left 4 Dead 2, click Properties, "Set Launch Options" and paste them there (make a space between each one)
//Removes the Motion Blur when shader effects on high or above
//+mat_motion_blur_percent_of_screen_max 0
//Set to 0 for no HDR, 1 for LDR+bloom on HDR maps, and 2 for full HDR on HDR maps.
//+mat_hdr_level 0
//When loading a game with this parameter, the intro video will not play.
//-novid
//Disables joystick support.
//-nojoy
//Disables Steam controller system.
//-nosteamcontroller
//Starts the game with the developer console enabled.
//-console
//Sets the game language to the one specified. Examples: en (English), da (Danish), nl (Dutch), fi (Finnish), fr (French), de (German), it (Italian), ja (Japanese), ko (Korean), no (Norwegian), pl (Polish), pt (Portuguese), ru (Russian), zh-CN (Simplified Chinese), zh-TW (Traditional Chinese), es (Spanish), sv (Swedish), hu (Hungarian), tr (Turkish), bg (Bulgarian), cs (Czech), el (Greek), pt-BR (Portuguese - Brazil), ro (Romanian), es-419 (Spanish - Latin American, th (Thai), uk (Ukrainian), vn (Vietnamese)
//-language <country code>
//Disables Gore.
//-lv
//Disables IPX Support.
//-noipx
//Disable SourceTV
//-nohltv
//Sets the game's priority to High.
//-high
//Precaches all Survivors.
//+precache_all_survivors 1
//Host game client port (should fix issues with "Failed after 10 retrys" Messages).
//+clientport 27619
//Forces the engine to use operating system mouse parameters.
//-noforcemparms
//Forces the engine to use operating system mouse acceleration.
//-noforcemaccel
//Switches the Renderer API to Vulkan with DXVK (Fullscreen causes the Game to get weird issues)
//-vulkan
//Number of threads to allocate for the thread pool, default is 3
//-threads <value>
//Forces specific Refresh rate
//-refresh <value>
//////////////
// Settings //
//////////////
//For Font Addons (Just change 1920 1080 to your resolution)
//mat_setvideomode 1920 1080 1; mat_setvideomode 1920 1080 0 //0 = Fullscreen, 1 = Windowed, 2 = Borderless Window
//changes the Brightness of the Game (works only in Fullscreen)
mat_monitorgamma 1.6 // Brightest 1.6 - Darkest 2.6
mat_monitorgamma_tv_enabled 0 // Set to 0 if the game is too bright
//Changes the Viewmodel and Base fov
cl_viewmodelfovsurvivor 90 // Default 51
fov_desired 120 // Default 90
//Changes the cl_interp from 0.1 to 0.0167 (100ms - 16.7ms) for better melee deadstops against hunter and jockeys
rate 28000 // Max bytes/sec the host can receive data.
cl_cmdrate 100 // Max number of command packets sent to server per second.
cl_updaterate 100 // Number of packets per second of updates you are requesting from the server.
cl_interp 0.0167 // Sets the interpolation amount (bounded on low side by server interp ratio settings). (0.1 = default, 0.01 = lowest)
cl_interp_ratio -1 // Sets the interpolation amount (final amount is cl_interp_ratio / cl_updaterate).
//General network settings that may helps you when you play in 100 tickrate servers
cl_lagcompensation 1 // Perform server side lag compensation of weapon firing events.
cl_resend 1.5 // Delay in seconds before the client will resend the 'connect' attempt.
cl_timeout 15 // After this many seconds without receiving a packet from the server, the client will disconnect itself.
net_maxroutable 1200 // Requested max packet size before packets are 'split'.
net_splitpacket_maxrate 50000 // Max bytes per second when queueing splitpacket chunks.
net_splitrate 2 // Number of fragments for a splitpacket that can be sent per frame.
//Longest preferred ping to dedicated servers for games.
//mm_dedicated_search_maxping 100
//Spraypoint logo decal
cl_logofile "materials/vgui/logos/banana.vtf"
//Shows net_graph 1 and for Ping, FPS, lerp etc.
net_graph 1 // Draw the network usage graph, = 2 draws data on payload, = 3 draws payload legend, in other words 0 = off, 1 = lerp, ping, fps etc., 2 & 3 = they add some graphs idk
net_graphproportionalfont 0 // Determines whether netgraph font is proportional or not, 0 = small Font, 1 = big Font
net_graphpos 3 // changes the position - 0 = left, 1 = right, 2 = middle
net_graphheight 1050 // Height of netgraph panel, 0 = on the bottom of the screen
//Shows Position and Velocity
cl_showpos 1 //Draw current position at top of screen
//Show FPS
//cl_showfps 1 //Draw fps meter at top of screen (1 = fps, 2 = smooth fps, 3 = server MS, 4 = Show FPS and Log to file )
//FPS Limit
fps_max 0 // Frame rate limiter, 0 = Unlimited, 300 = default
//Green Crosshair
//cl_crosshair_alpha 255 // Crosshair alpha.
//cl_crosshair_blue 0 // Crosshair blue component.
//cl_crosshair_dynamic 0 // Crosshair scales based on accuracy.
//cl_crosshair_green 255 // Crosshair green component.
//cl_crosshair_red 0 // Crosshair red component.
//cl_crosshair_thickness 2 // Crosshair thickness in pixels.
//Removes the Crosshair
//Useful addon that removes other crosshairs except the showing circle (recommended for custom crosshairs): https://steamcommunity.com/sharedfiles/filedetails/?id=121725116
cl_crosshair_alpha 0 // Crosshair alpha.
//Better Thirdperson Aiming
c_thirdpersonshoulderaimdist 360.0
c_thirdpersonshoulderdist 120.0 // changes the thirdperson fov
c_thirdpersonshoulderheight 0.0 // changes the height from the camera
c_thirdpersonshoulderoffset 0.0 // changes the offset from the camera
//Some FPS Tweaks
budget_show_history 0 // turn history graph off and on. . good to turn off on low end.
cl_detail_avoid_force 0 // force with which to avoid players ( in units, percentage of the width of the detail sprite ).
cl_detail_avoid_recover_speed 0 // how fast to recover position after avoiding players.
cl_detail_max_sway 0 // Amplitude of the detail prop sway.
cl_perf_wizard_enable 0 // Enables a performance-tuning wizard.
cl_phys_timescale 1.0 // Sets the scale of time for client-side physics (ragdolls).
cl_ragdoll_limit 0 // Maximum number of ragdolls to show (-1 disables limit).
func_break_max_pieces 0
mat_bloom_scalefactor_scalar 0
mat_grain_scale_override 0
r_ambientfraction 0.2 // Fraction of direct lighting used to boost lighting when model requests.
r_cheapwaterend 1
r_cheapwaterstart 1
r_dynamic 1
r_eyemove 0
r_eyeshift_x 0
r_eyeshift_y 0
r_eyeshift_z 0
r_eyesize 0
r_PhysPropStaticLighting 0
//The queue/thread mode the material system should use: -1=default, 0=synchronous single thread, 2=queued multithreaded
mat_queue_mode 2
//Just general client stuff.
cl_playerspraydisable 0 // Disable player sprays. (useful for streamers who have players using NSFW sprays)
cl_allowdownload 0 // Client downloads customization files.
cl_allowupload 0 // Client uploads customization files.
cl_autohelp 0 // Auto-help
cl_clearhinthistory 1 // Clear memory of client side hints displayed to the player.
cl_downloadfilter none // Determines which files can be downloaded from the server (all, none, nosounds).
cl_forcepreload 1 // Whether we should force preloading.
cl_ideal_spec_mode 4 // desired spectator mode (4 = in-eye, 5 = chase, 6 = roaming)
cl_predictweapons 1 // Perform client side prediction of weapon effects.
cl_showhelp 0 // Set to 0 to not show on-screen help.
con_enable 1 // Allows the console to be activated.
gameinstructor_enable 0 // Display in game lessons that teach new players.
joystick 0
sc_enable 0 // Enable SteamController
sc_enable2 0 // Enable SteamController
spec_allowroaming 1
sv_consistency 0 // Whether the server enforces file consistency for critical files
z_wound_client_disabled 1 // Set Gore to Low (0) or High (1)
sensitivity 3 // Mouse Sensitivity, 3 = default
//Some minor changes to the Subtitles to make it appear and disappear faster
cc_lang english // Current close caption language (emtpy = use game UI language)
cc_linger_time 0.5 // Close caption linger time.
cc_predisplay_time 0 // Close caption delay before showing caption.
cc_subtitles 0 // If set, don't show sound effect captions, just voice overs (i.e., won't help hearing impaired players).
closecaption 1 // Enable close captioning.
english 0 // If set to 1, running the english language set of assets.
////////////////////
// Sound Settings //
////////////////////
volume 0.15 // Sound volume.
snd_musicvolume 0 // Music volume.
dsp_enhance_stereo 0
dsp_slow_cpu 0
windows_speaker_config 1 //Output Mode
//////////////////
// Mic Settings //
//////////////////
bind Mouse4 "+voicerecord"
voice_loopback 0 // Set to 1 if you want to hear yourself when you use your mic.
voice_enable 1 // Enables Voice Chat.
voice_modenable 1 // Enable/disable voice in this mod.
voice_scale 1
voice_threshold 0
voice_vox 0 // Voice chat uses a vox-style always on.
/////////////
// Aliases //
/////////////
//sets you AFK
alias afk "go_away_from_keyboard"
//toggles crosshair
alias crosshair "toggle crosshair 0 1"
//toggle voicechat (currently not working)
alias voice "toggle voice_enable 0 1"
//goes into thirdperson and removes crosshair in it, enables it back in firstperson
alias 3rdcr "thirdpersonshoulder; toggle crosshair 0 1"
//goes into thirdperson without removing the crosshair
alias 3rd "thirdpersonshoulder"
//kick all bots
alias kickbots "kick Nick; kick Rochelle; kick Ellis; kick Coach; kick Zoey; kick Francis; kick Louis; kick Bill"
//////////////////////
// General Keybinds //
//////////////////////
//If you want to map your Numpad here are the Keys
// 1 = End kp_end
// 2 = Down Arrow kp_downarrow
// 3 = Page Down kp_pgdn
// 4 = Left Arrow kp_leftarrow
// 5 kp_5
// 6 = Right Arrow kp_rightarrow
// 7 = Home kp_home
// 8 = Up Arrow kp_uparrow
// 9 = Page Up kp_pgup
// 0 = Insert kp_ins
// . = Delete kp_del
// / = (Slash) kp_slash
// * = (Multiply) kp_multiply
// - = (Minus) kp_minus
// + = (Plus) kp_plus
// Enter kp_enter
// Here you can find all other Keys: https://totalcsgo.com/binds/keys
bind kp_slash "chooseteam" //switch teams
bind kp_del "kickbots" //kick bots
bind Mouse5 "qreload" //quick reload
bind ALT "3rd" //thirdperson
bind F4 "afk" //afk
bind F5 "disconnect" //ragequit
bind F9 "toggleconsole" //console (default key "~")
bind F11 "jpeg" //screenshot
bind F12 "quit" //close game
///////////////////
// Chat Keybinds //
///////////////////
//to change the message edit the line after "say"
//bind kp_ins "say gg" //Numpad 0
//bind kp_del "say " //Numpad .
//bind kp_enter "say " //Numpad Enter
//bind kp_plus "say " //Numpad +
//bind kp_multiply "say bile here!" //Numpad *
//bind kp_minus "say " //Numpad -
//bind kp_end "say medkit here!" //Numpad 1
//bind kp_downarrow "say adrenaline here!" //Numpad 2
//bind kp_pgdn "say molotov here!" //Numpad 3
//bind kp_leftarrow "say defib here!" //Numpad 4
//bind kp_5 "say pills here!" //Numpad 5
//bind kp_rightarrow "say pipebomb here!" //Numpad 6
//bind kp_home "say " //Numpad 7
//bind kp_uparrow "say " //Numpad 8
//bind kp_pgup "say bile here!" //Numpad 9
///////////////////
// Vote Keybinds //
///////////////////
//bind kp_end "callvote changedifficulty Easy" //Change Difficulty to Easy
//bind kp_downarrow "callvote changedifficulty Normal" //Change Difficulty to Normal
//bind kp_pgdn "callvote changedifficulty Hard" //Change Difficulty to Advanced
//bind kp_leftarrow "callvote changedifficulty Impossible" //Change Difficulty to Expert
//bind kp_5 "callvote RestartGame" //Restart the Campaign
/////////////
// Scripts //
/////////////
//DSP_Volume Off + Null-Cancelling Script (credits to Xbye: https://steamcommunity.com/sharedfiles/filedetails/?id=487027371)
bind W "+mfwd"
bind A "+mleft"
bind S "+mback"
bind D "+mright"
alias +mfwd "dsp_volume 0;-back;+forward;alias checkfwd +forward"
alias +mback "dsp_volume 0;-forward;+back;alias checkback +back"
alias +mleft "dsp_volume 0;-moveright;+moveleft;alias checkleft +moveleft"
alias +mright "dsp_volume 0;-moveleft;+moveright;alias checkright +moveright"
alias -mfwd "-forward;checkback;alias checkfwd none"
alias -mback "-back;checkfwd;alias checkback none"
alias -mleft "-moveleft;checkright;alias checkleft none"
alias -mright "-moveright;checkleft;alias checkright none"
alias checkfwd "none"
alias checkback "none"
alias checkleft "none"
alias checkright "none"
alias none ""
//Quick Reload WIP
alias qreload "+reload;wait 25;qreload2"
alias qreload2 "afk;wait 5;qreload3"
alias qreload3 "-reload"
//Quick Reload New test
//alias qreload "+reload;wait 60;afk;wait 5;-reload"
//jump spam (might be useful for common jumps) - source: "https://sites.google.com/site/left4dead2stuff/customization/autoexec-archive" - mason.cfg
//alias jumppp "+jump;wait;-jump;wait;rejumppp"
//alias +jumpp "alias rejumppp jumppp;jumppp"
//alias -jumpp "alias rejumppp wait"
//bind v +jumpp
///////////////////
// Other Configs //
///////////////////
//Add your other Scripts here - Example: exec promode.cfg or exec [folder name here]\promode.cfg if in subfolder
exec configs\addons
//////////
// Echo //
//////////
echo ""
echo " * * * * * * * * * * * * * * * * * * "
echo " * /////////////////////////////// * "
echo " * // crusty's autoexec loaded! // * "
echo " * /////////////////////////////// * "
echo " * * * * * * * * * * * * * * * * * * "
echo ""