-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathautoexec.cfg
356 lines (312 loc) · 13.8 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
///////////////////////////
// Sycareus Config
// Updated : 07 September 2023
// Location : %ProgramFiles(X86)%/Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/cfg
// Launch options : -novid +fps_max 400 +rate 786432 -high -w 1440 -h 1080 -nojoy +exec autoexec
// Old launch options : -freq 144 -tickrate 128 -console
// For software such as OBS : -allow_third_party_software
//////////////////////////
// TO TEST
// https://github.com/acx0/csgo-cfg/blob/master/cs2-autoexec.cfg
// Clean binds
unbindall
// Netcode
rate "786432" // 128000 if loss
cl_cmdrate "128"
cl_updaterate "128"
cl_interpolate "1"
cl_interp "0.015625" // or 0.03125 if bad connection
cl_interp_ratio "1" // 2 if bad ping/server, 1 if good
cl_extrapolate "1"
cl_extrapolate_amount "0.25"
cl_predict "1" // 0 if LAN
cl_predictweapons "1"
cl_lagcompensation "1"
// Mouse
sensitivity "1.0"
zoom_sensitivity_ratio_mouse "1.0"
m_rawinput "1"
m_pitch "0.022"
m_forward "1"
m_customaccel "0"
m_mouseaccel1 "0"
m_mouseaccel2 "0"
m_side "0.8"
m_yaw "0.022"
// Video
mat_monitorgamma "2" // brightness
mat_monitorgamma_tv_enabled "0"
mat_queue_mode "-1" // auto detect multi-core rendering
fps_max "400" // scales with screen
fps_max_menu "61"
fps_max_ui "61" // note: caps in-game menu fps
fps_max_tools "61"
r_dynamic "0" // some shaders we don't need
r_drawtracers_firstperson "1" // see one's own spray
// mat_info prints screen res and freq
// Audio
volume "1"
voice_enable "1"
voice_scale "0.65" // voicechat volume
lobby_voice_chat_enabled "1" // voice chat in lobby
windows_speaker_config "1" // headphone audio output
dsp_enhance_stereo "0" // mix left and right sounds
snd_mixahead "0.02" // audio delay, 0.1 increments
snd_legacy_surround "0" // emulated surround sound
snd_mute_losefocus "1" // mute game when alt-tabbed
snd_pitchquality "1"
snd_deathcamera_volume "0.05"
snd_mapobjective_volume "0.10" // I guess this does something ?
snd_menumusic_volume "0"
snd_mvp_volume "0.05"
snd_roundend_volume "0.10" // explosion/defuse warning
snd_roundstart_volume "0.05" // not really needed
snd_tensecondwarning_volume "0.10" // round timer warning
snd_dzmusic_volume "0.05" // danger zone music
snd_surround_speakers "0"
snd_front_headphone_position "45.0" // 43.2 (resolution 5.4), 45.0 (resolution 4: 3), 50.2 (resolution 16:10), or 53.2 (resolution 16: 9)
snd_rear_headphone_position "90.0" // put front at 0 or 90 too if sound is scrambled
snd_headphone_pan_exponent "1.2" // 1 if sound is scrambled
snd_headphone_pan_radial_weight "0.5" // 0 or 1 if sound is scrambled
voice_mixer_volume "1.0" // fix sound resetting on launch
volume "0.4" // now that everything is up to scale, we tone the volume down
// snd_debug_panlaw 1 to debug audio field
// HUD
cl_color "3" // we are blue
cl_drawhud "1"
r_drawviewmodel "1"
hud_scaling "0.90"
hud_showtargetid "1"
hud_takesshots "0" // disable screenshots after game
cl_scoreboard_mouse_enable_binding "+attack2" // free mouse on scoreboard tab
cl_buywheel_nonumberpurchasing "1" // disable buying from numbers
cl_hud_background_alpha "0.95"
cl_hud_bomb_under_radar "1"
cl_hud_color "2" // and the HUD is too
cl_hud_healthammo_style "0"
cl_hud_playercount_pos "0"
cl_hud_playercount_showcount "0"
cl_hud_radar_scale "1.20"
cl_teamid_overhead_mode "1"
cl_teammate_colors_show "1"
cl_draw_only_deathnotices "0"
cl_righthand "1" // left handed sucks
cl_showloadout "1"
cl_showpos "0" // toggle to display position and velocity
cl_showfps "0" // toggle to display FPS
sv_grenade_trajectory "0"
sv_showimpacts "0"
//net_graph "1" // will be hidden later
//net_graphheight "9999"
//net_graphproportionalfont "1" // font size. 0 for little font
// align hud to be further from edges of screen, easier to see minimap - IN TESTING
safezonex "0.968"
safezoney "0.946"
// Radar
cl_radar_always_centered "0"
cl_radar_rotate "0"
cl_radar_scale "0.35"
cl_radar_icon_scale_min "1"
cl_radar_square_with_scoreboard "1"
// Smallest gun model
viewmodel_presetpos "0" // viewmodel position preset : 0=Custom 1=Desktop(def) 2=Couch 3=Classic
viewmodel_recoil "1" // show recoil and aimpunch
viewmodel_fov "54"
viewmodel_offset_x "2.5"
viewmodel_offset_y "-2"
viewmodel_offset_z "-2"
// Reduce gun shifting when crouching
cl_viewmodel_shift_left_amt "0.5"
cl_viewmodel_shift_right_amt "0.5"
// Reduce gun and scope shifting/bobbing when moving
cl_bobcycle "0.98" // 0.98 is enforced on competitive play
cl_bob_lower_amt "5" // 5-30, default 21
cl_bobamt_lat "0.1"
cl_bobamt_vert "0.1"
// Crosshair
crosshair "1"
cl_crosshair_drawoutline "0"
cl_crosshair_dynamic_maxdist_splitratio "0"
cl_crosshair_dynamic_splitalpha_innermod "1"
cl_crosshair_dynamic_splitalpha_outermod "0.3"
cl_crosshair_dynamic_splitdist "4"
cl_crosshair_outlinethickness "1"
cl_crosshairalpha "255"
cl_crosshairdot "0"
cl_crosshairgap "-2.5"
cl_crosshairgap_useweaponvalue "0"
cl_crosshairsize "2.5"
cl_crosshairstyle "4"
cl_crosshairthickness "1"
cl_crosshairusealpha "1"
cl_fixedcrosshairgap "3"
cl_crosshair_sniper_width "1"
cl_crosshaircolor_b "255"
cl_crosshaircolor_g "0" // or 0
cl_crosshaircolor_r "255"
// Highlight damage in console
developer "0"
con_enable "1"
con_filter_enable "2"
con_filter_text "Damage "
// Misc
ui_steam_overlay_notification_position "topright"
player_nevershow_communityservermessage "1"
mm_dedicated_search_maxping "90" // max ping for matchmaking
mm_dedicated_force_servers ""
gameinstructor_enable "0"
option_duck_method "0" // hold to crouch
option_speed_method "0" // hold to walk
cl_clanid ""
cl_forcepreload "1" // load everything before start the game
cl_downloadfilter "nosounds" // all/nosounds/none
cl_join_advertise "2" // friends can join community server without an invitation
cl_disablehtmlmotd "1" // disable message of the day
cl_autohelp "1" // info bubbles
cl_showhelp "0"
cl_disablefreezecam "0" // deathcam
cl_dm_buyrandomweapons "0"
cl_teammate_colors_show "1"
cl_autowepswitch "0" // no auto weapon switch on pickup
cl_use_opens_buy_menu "0" // press E to open buy menu
cl_show_clan_in_death_notice "1"
cl_allowdownload "1"
cl_allowupload "1"
cl_chatfilter_version "1"
cl_chatfilters "63"
cl_debugrumble "0"
cl_freezecampanel_position_dynamic "1"
cl_idealpitchscale "0.8"
cl_minimal_rtt_shadows "1"
cl_mouselook "1"
cl_observercrosshair "1"
cl_rumblescale "0.05"
cl_spec_mode "5"
cl_timeout "30"
spec_replay_autostart "0"
closeonbuy "0" // prevents buymenu from closing after every buy
g15_update_msec "250"
chet_debug_idle "0"
///////////////// ALIASES ////////////////////
// Show netgraph when checking scoreboard
alias "+scorenet" "+showscores; cq_netgraph 1 ; cl_showfps 1" // or 0
alias "-scorenet" "-showscores; cq_netgraph 0 ; cl_showfps 0"
// Increase volume when shifting
alias "+incvol" "incrementvar volume 0 2 0.5; +sprint"
alias "-incvol" "incrementvar volume 0 2 -0.5; -sprint"
// Jumpthrow (forbidden in ESL)
alias "+boing" "+jump";
alias "+ding" "-attack; -attack2"
alias "+dong" "-jump"
bind "x" "+boing; +ding; +dong"
//alias "+jumpthrow" "+jump; -attack; -attack2"
//alias "-jumpthrow" "-jump"
// Crouchjump
alias "+duckjump" "+jump; +duck"
alias "-duckjump" "-jump; -duck"
// Fast switch on Q
alias "+knife" "slot3"
alias "-knife" "lastinv"
///////////////// BINDS ////////////////////
// Movement binds
alias "polish" "r_cleardecals"
bind "w" "+forward ; polish" //; r_cleardecals"
bind "a" "+left ; polish" //; r_cleardecals"
bind "d" "+right ; polish" //; r_cleardecals"
bind "s" "+back ; polish" //; r_cleardecals"
//bind "x" "+jumpthrow"
bind "SPACE" "+duckjump"
bind "SHIFT" "+incvol"
bind "CTRL" "+duck"
// Numbers row
// slot5: C4, slot6: he, slot7: flash, slot8: smoke, slot9: decoy, slot10: molly
bind "0" "slot11"
bind "1" "slot1"
bind "2" "slot2"
bind "3" "slot10"
bind "4" "slot8"
bind "5" "slot7"
bind "f" "slot3"
bind "7" "slot4"
bind "8" "slot12"
bind "9" "slot9"
// Letters
bind "b" "buymenu"
bind "c" "slot6"
bind "v" "slot5"
bind "e" "+use"
bind "g" "drop"
bind "r" "+reload"
bind "u" "messagemode2"
bind "y" "messagemode"
bind "k" "radio2"
bind "j" "radio1"
bind "n" "+spray_menu"
bind "h" "toggle cl_righthand 0 1"
bind "q" "+knife"
bind "l" "+cl_show_team_equipment"
bind "6" "toggle cl_crosshairsize 2 1337" // smoke lineups
bind "t" "+voicerecord"
bind "i" "+lookatweapon"
// Generic
bind "`" "toggleconsole"
bind "," "buyammo1"
bind "." "buyammo2"
bind "," "show_loadout_toggle"
bind "." "teammenu"
bind "F3" "autobuy"
bind "F4" "rebuy"
bind "F5" "jpeg"
bind "F6" "save quick"
bind "F7" "load quick"
bind "F9" "quit prompt"
bind "PAUSE" "pause"
bind "DEL" "mute"
bind "ESCAPE" "cancelselect"
bind "TAB" "+scorenet"
bind "SEMICOLON" "say ( ͡⚆ ͜ʖ ͡⚆)╭∩╮"
bind "CAPSLOCK" "toggle cl_radar_scale 0.35 1"
// Mute/Unmute
bind "F10" "toggle voice_enable 0 1"
bind "F11" "voice_enable 1"
// Arrow binds
bind "UPARROW" "player_ping"
bind "LEFTARROW" "+radialradio"
bind "DOWNARROW" "+radialradio2"
bind "RIGHTARROW" "+radialradio3"
// Keypad binds
bind "KP_0" "" // 0
bind "KP_DEL" "" // .
bind "KP_ENTER" "" // Enter
bind "KP_1" "exec autoexec" // 1
bind "KP_2" "exec 0_practice" // 2
bind "KP_3" "exec 0_cinema" // 3
bind "KP_4" "exec 0_overwatch" // 4
bind "KP_5" "" // 5
bind "KP_6" "" // 6
bind "KP_7" "" // 7
bind "KP_8" "cl_cmdrate 64 ; cl_updaterate 64 ; tickrate 64" // 8
bind "KP_9" "cl_cmdrate 128 ; cl_updaterate 128 ; tickrate 128" // 9
// Mouse binds
bind "MOUSE1" "+attack"
bind "MOUSE2" "+attack2"
bind "MWHEELUP" "+jump"
bind "MWHEELDOWN" "+jump"
bind "MOUSE5" "slot1"
bind "MOUSE4" "slot2"
bind "MOUSE_X" "yaw" // need these for mouse movement after an unbindall
bind "MOUSE_Y" "pitch"
// Radar zoom in-out on keypad + and -
bind "KP_plus" "incrementvar cl_radar_scale 0.25 1.0 0.05"
bind "KP_minus" "incrementvar cl_radar_scale 0.25 1.0 -0.05"
///////////////// NOW WE PLAY ////////////////////
host_writeconfig
echo ""
echo ""
echo "Load KP : 1/autoexec, 2/practice, 3/cinema, 4/overwatch"
echo "64 ticks mode : KP 8"
echo "128 ticks mode : KP 9"
echo "Crosshair code : CSGO-j26qV-74he6-fLr3v-TQTuJ-MObEC"
echo " *** Autoexec loaded"
echo ""
echo ""