-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathautoexec.cfg
More file actions
585 lines (515 loc) · 31.5 KB
/
autoexec.cfg
File metadata and controls
585 lines (515 loc) · 31.5 KB
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
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
// https://git.io/csgoconfigs
// To install, run in powershell:
// . { iwr -useb https://git.io/csgosetupscript } | iex
//
// Launch options must be set manually for now.
// Launch options: -nod3d9ex1 -novid -nojoy +cl_forcepreload 1 -limitvsconst -forcenovsync -console -refresh 144 -tickrate 128 1 +cl_forcepreload 1 -allow_third_party_software
// *********************************************************************************************************************
// Rates
// *********************************************************************************************************************
rate "786432"
cl_cmdrate "128"
cl_updaterate "128"
//cl_interp "0" // Interpolation is client side, so the server is aware of the
// construction of data points with server side compensation calculated
// by a multitude of variables.
cl_interpolate "1"
cl_interp_ratio "2" // Will not protect from packet loss, but will help with lag
cl_lagcompensation "1"
net_client_steamdatagram_enable_override "0" // SDR beta but I want to go back to default values.
net_allow_multicast "1" // I am not sure how the server prioritizes multicast packets, but in my
// experience this is better left disabled.
net_steamcnx_allowrelay "1" // Allow steam connections to attempt to use relay servers as fallback
// Data passed from client to server is compressed using delta
// compression, synchronizing the differences only.
// Data packets are not sent with every single change made to some
// object; rather, snapshots (usually 20/sec)
// are made that contain all entity changes since the last update.
// Furthmore, not all entity changes are sent to all clients all the
// time: to keep the network bandwidth as low as possible, only entities
// that are of possible interest for a client (visible, audible etc.)
// are updated frequently.
net_scale "5"
net_maxroutable "1200.000000" // This is the window size of the packet.
net_steamcnx_enabled "1" // Value 2 forces use of steam server connections instead of raw UDP.
cl_predict "1"
cl_predictweapons "1"
// *********************************************************************************************************************
// Mouse
// *********************************************************************************************************************
// To adjust DPI and keep your same sensitivity:
// ((current DPI) * (in-game sensitivity)) / (maximum DPI) = (new sensitivity for max DPI)
// To adjust DPI:
// ((vertical pixels of in-game resolution) * 2.667) / (desired inches moved to complete a 180 turn) = (Required DPI)
// (((1200) * 2.667)) / 8) = 400 dpi.
//
// + We use the sensitivity command in many places, so it is better to have a macro for it for consistent use.
// eDPI = (sensitivity * DPI)
// Median eDPI of CS:GO Professional players is 840
alias _sensitivity "sensitivity 1.75"
alias _default_crosshair "apply_crosshair_code CSGO-aAAet-oNVSc-vkOph-J8ufp-zVx9H"
_sensitivity
_default_crosshair
zoom_sensitivity_ratio_mouse "1.4"
m_rawinput "1"
m_pitch "0.022"
m_yaw "0.022"
m_customaccel_exponent "1.052000"
m_customaccel_max "0"
m_customaccel_scale "0.04"
m_customaccel "0" // 0 -- no custom acceleration
// 1 -- ret = min(m_customaccel_max,
pow(raw_mouse_delta, m_customaccel_exponent)
* m_customaccel_scale + sensitivity)
// 2 -- x and y sensitivity are scaled by m_pitch and m_yaw
// 3 -- ret = (pow(raw_mouse_delta,
m_customaccel_exponent - 1) * sensitivity)
m_mouseaccel1 "0"
m_mouseaccel2 "0"
m_mousespeed "0" // m_rawinput 1 overrides this value anyways so it makes no difference
// *********************************************************************************************************************
// Video
// *********************************************************************************************************************
mat_monitorgamma "1.6"
mat_queue_mode "2" // Multicore rendering. [-1,0,1,2] - This setting determines the
// threading mode the material system uses. A value of -1 uses the
// default for your system, a value of 0 uses synchronous single thread,
// 1 uses queued single threaded mode, and value of 2 uses
// multi-threaded mode. Many users report performance increases on
// multi-core systems when setting this variable to a value of 2.
mat_queue_priority "1"
mat_powersavingsmode "0"
mat_monitorgamma_tv_enabled "0"
// mat_savechanges
fps_max "999" // Before joining a server, I change this manually to 100 and then we
// join about 10 times faster, and then I change it back.
fps_max_menu "145"
r_drawtracers "1"
r_drawtracers_firstperson "0"
r_drawtracers_movetonotintersect "1"
r_dynamic "1" // https://www.youtube.com/watch?v=tNbBNfNZX3w
r_eyegloss "1"
r_eyemove "1"
r_eyeshift_x "0"
r_eyeshift_y "0"
r_eyeshift_z "0"
r_eyesize "0"
muzzleflash_light "0"
// *********************************************************************************************************************
// Audio
// *********************************************************************************************************************
volume "1"
voice_enable "1"
voice_scale "0.2"
voice_mixer_volume "0.97"
voice_loopback "0"
voice_threshold "2000"
snd_mixahead "0.025" // Sound delay - The default is 0.025 - Buffer time the game gets to
// process game audio ahead of the currently displayed frame.
snd_pitchquality "1"
snd_ducking_off "1"
// Go into a local server, and in console do: sv_cheats 1; snd_debug_panlaw 1
// This will give you a visual representation of sound sources.
//
// Helpful note: The command 'stopsoundscape' Stops all soundscape processing and fades current looping sounds.
// This can be useful for environmental noises.
// Specifies the position in degrees of the virtual front left/right headphones (45 optional)
// Replace the value with the corresponding resolution you use.
// 43.2 (5:4 resolution)
// 45.0 (4:3 resolution)
// 50.2 (16:10 resolution)
// 53.2 (16:9 resolution)
snd_front_headphone_position "90" // Default 90.0
snd_headphone_pan_exponent "1.0" // 1.2 Makes sounds you are facing towards louder, distant sounds in the
// middle much better. Default 1.0
snd_rear_headphone_position "90" // Default 90
snd_headphone_pan_radial_weight "0.0" // This affects how the left-right volumes change. Default 0.0
snd_mute_losefocus "0" // mute game when alt-tabbed
dsp_enhance_stereo "0"
dsp_slow_cpu "0"
snd_menumusic_volume "0"
cl_mute_all_but_friends_and_party "0"
snd_tensecondwarning_volume "0.150000"
snd_roundend_volume "0.0"
snd_roundstart_volume "0"
// *********************************************************************************************************************
// HUD
// *********************************************************************************************************************
hud_scaling "0.950000"
hud_showtargetid "1"
cl_hud_background_alpha "0"
cl_hud_bomb_under_radar "0"
cl_hud_color "3"
cl_hud_healthammo_style "1"
cl_hud_playercount_pos "1"
cl_hud_playercount_showcount "1"
cl_hud_radar_scale "0.95"
cl_draw_only_deathnotices "0"
cl_righthand "1"
cl_showloadout "1"
cl_showpos "0"
cl_showfps "0"
cl_show_clan_in_death_notice "0"
// Alignment of hud.
safezonex "1"
safezoney "1"
// *********************************************************************************************************************
// Net graph
// *********************************************************************************************************************
net_graphheight "0"
net_graphmsecs "500"
net_graphpos "2"
net_graphproportionalfont "0"
net_graphshowinterp "1"
net_graphshowlatency "1"
net_graphsolid "0"
net_graphtext "1"
net_graphholdsvframerate "1"
cpu_frequency_monitoring "0"
// *********************************************************************************************************************
// Radar
// *********************************************************************************************************************
cl_radar_always_centered "1"
cl_radar_rotate "1"
cl_radar_scale "0.6"
cl_radar_icon_scale_min "0.6"
cl_radar_square_with_scoreboard "1"
// *********************************************************************************************************************
// Map overview
// *********************************************************************************************************************
// For when spectating, and easier to draw lines for timing when the grid is enabled (hold shift and draw)
mapoverview_allow_client_draw 1
mapoverview_icon_scale 1.5
mapoverview_allow_grid_usage 1
// *********************************************************************************************************************
// Viewmodel
// *********************************************************************************************************************
viewmodel_fov "65"
viewmodel_offset_x "2"
viewmodel_offset_y "2"
viewmodel_offset_z "-2"
// viewmodel_presetpos 0
cl_bob_lower_amt "5"
cl_bobamt_lat "0.1"
cl_bobamt_vert "0.1"
cl_bobcycle "0.98"
cl_viewmodel_shift_left_amt "0.5"
cl_viewmodel_shift_right_amt "0.25"
viewmodel_recoil 0.0
// *********************************************************************************************************************
// Misc
// *********************************************************************************************************************
developer "0"
con_enable "1"
con_filter_enable "2" // print console on screen
con_filter_text "damage" // highlight damage in console
con_filter_text_out "game:mapgroupname"
con_filter_text "game:map"
con_filter_text_out Player:
con_timestamp "1"
sv_maxrate "0"
cl_player_ping_mute "1"
+cl_show_team_equipment
// *********************************************************************************************************************
// Performance monitoring
// *********************************************************************************************************************
// If the displayed CPU frequency percentage drops below about 80-85% then you may have a problem with your CPU slowing
// down due to overheating.
alias perf_monitoring "bind UPARROW +showvprof; vprof_reset; vprof_reset_peaks; vprof_cachemiss; cpu_frequency_monitoring 2; net_graph 1; cl_showfps 5; con_logfile console.log"
// cpu_frequency_monitoring 0
// Fast alt-tab, in a sense.
// Added engine_no_focus_sleep convar (default value 50 milliseconds), which controls the amount of time the engine
// sleeps per frame when the game is not in focus.
engine_no_focus_sleep 25
// *********************************************************************************************************************
// General
// *********************************************************************************************************************
ui_steam_overlay_notification_position "topleft"
player_nevershow_communityservermessage "1"
mm_dedicated_search_maxping "100" // max ping for matchmaking games
gameinstructor_enable "0"
option_duck_method "0"
option_speed_method "0"
cl_forcepreload "1"
cl_downloadfilter "all"
cl_join_advertise "2" // let your friends join your community server without an invitation
cl_disablehtmlmotd "0" // This needs to be 0 for esea or cevo
cl_autohelp "1"
cl_showhelp "1"
cl_disablefreezecam "1"
spec_replay_autostart "0"
spec_show_xray "1"
cl_dm_buyrandomweapons "0"
cl_teammate_colors_show "1" // Value 2 Adds the first letter of the Colors name to the icons to aid
// color blind persons.
cl_autowepswitch "0" // auto weapon switch on pickup
cl_use_opens_buy_menu "1" // `e` opening buy menu
cl_scoreboard_mouse_enable_binding "+attack2" // Right click to enable mouse cursor.
closeonbuy "0"
hud_takesshots "1"
password ""
// *********************************************************************************************************************
// Autobuy (command 'autobuy')
// *********************************************************************************************************************
// If you accidentally press autobuy, might as well have this set correctly.
cl_autobuy "vesthelm vest m4a1 ak47 ump45 smokegrenade flashbang flashbang defuser hegrenade molotov incgrenade"
// Rebuy order (command 'rebuy')
// The order in which rebuy will attempt to repurchase items
cl_rebuy "vesthelm vest flashbang smokegrenade flashbang molotov incgrenade"
// *********************************************************************************************************************
// Binds
// *********************************************************************************************************************
//unbindall
unbind y
unbind u
unbind k
unbind f1
unbind f2
unbind f3
unbind f4
unbind f5
unbind f6
unbind f7
unbind f8
unbind mouse3
unbind home
unbind RSHIFT
bind v "+voicerecord"
bind w "+forward"
bind a "+moveleft"
bind s "+back"
bind d "+moveright"
bind l "give weapon_flashbang; give weapon_flashbang; give weapon_m4a1; give weapon_ak47; give weapon_awp; give weapon_smokegrenade; give weapon_hegrenade; give weapon_molotov"
bind r "+reload"
bind t "use weapon_molotov;use weapon_incgrenade"
bind g "drop"
bind b "buymenu;impulse 101" // impulse 101 Gives player full health, all weapons, and ammo. This is
// just set for servers with sv_cheats 1.
bind h "bot_place" // places bot
bind i "toggle cl_showloadout 0 1" // Toggle showing loadout, show_loadout_toggle doesn't work properly
bind o "toggle cl_showpos 0 1" // Toggle position showing
bind p "differences"
bind tab "+showscores"
bind shift "+speed"
bind ctrl "+duck"
bind space "+duckjump"
bind enter "messagemode"
bind \ "messagemode2"
bind del "echo Executing autoexec; exec autoexec"
bind ins "echo Warmup; warmup" // bot warmup
bind home "echo Starting local Deatchmatch!; local_dm;local_dm_bots;mp_restartgame 1;"
bind 0 "slot10"
bind 4 "slot4"
bind 5 "slot5"
bind 6 "slot6"
bind 7 "slot7"
bind 8 "slot8"
bind 9 "slot9"
bind - stup
bind = vtup
bind [ "incrementvar cl_radar_scale 0 1 -.05" // decrease radar scale
bind ] "incrementvar cl_radar_scale 0 1 +.05" // increase radar scale
bind MWHEELDOWN "+jump"
bind MWHEELUP "invprev"
bind MOUSE1 "+attack"
bind MOUSE2 "+attack2"
bind MOUSE3 "bhopon"
bind MOUSE4 "use weapon_knife;use weapon_smokegrenade"
bind MOUSE5 "use weapon_knife;use weapon_flashbang"
bind F1 "noclip;nadepractice"
bind F2 "noclip;practice"
bind F3 "autobuy"
bind F4 "rebuy"
// F5 thru F8 are used in watchdemo.cfg
bind F9 "perf_monitoring"
bind F10 "disconnect"
bind F11 "connect_dm"
bind SEMICOLON "+spray_menu"
bind RSHIFT "hrup"
bind j "getpos_exact"
bind k "human_readable;human_readable_ext;human_readable_ext2;human_readable_ext3;human_readable_ext4;echo;echo;key_listboundkeys"
bind "'" "+moveup"
bind "/" "+movedown"
bind "." "clutch"
bind DOWNARROW "toggle cl_righthand 0 1" // Toggle cl_righthand :)
bind UPARROW "toggle cl_crosshairsize 1.5 900"
bind RIGHTARROW "exec playerradio.cfg"
bind LEFTARROW "toggle volume 0.2 1"
bind RALT "callvote; hideoverviewmap" // Open the vote menu (hideoverviewmap is to close the map that opens
// because rALT also counts as CTRL).
// Really neat radial inventory.
bind "CAPSLOCK" "+quickinv" // Customize in radial_quickinventory.txt
cl_quickinventory_lastinv 1 // the Radial Weapon Menu key (+quickinv) selects your last weapon, just like lastinv command works.
// These are here for running a script to mess about with nade trajectories/velocities/history locally.
// influenced by splewis of csgo-practice-mode on github. thanks.
// https://github.com/splewis/csgo-practice-mode/blob/master/scripting/practicemode/grenade_utils.sp
// bind "RALT" "script NadePauseScript()"
// bind "RCTRL" "script NadePositionSave()"
// script_execute "dek/dek"
// script StartNadeScript()
// *********************************************************************************************************************
// Aliases
// *********************************************************************************************************************
// *********************************************************************************************************************
// Aliases for setting different video mode resolution.
// *********************************************************************************************************************
// mat_setvideomode sets the width, height, windowed state of the material system.
// we set the same video mode twice. first time sets windowed mode, and then second sets full screen.
// I don't know if this helps with crashing when trying to switch resolution during gameplay.
alias res_1024x768 "mat_setvideomode 1024 768 1; mat_setvideomode 1024 768 0"
alias res_1152x864 "mat_setvideomode 1152 864 1; mat_setvideomode 1152 864 0"
alias res_1280x960 "mat_setvideomode 1280 960 1; mat_setvideomode 1280 960 0"
alias res_1280x1024 "mat_setvideomode 1280 1024 1; mat_setvideomode 1280 1024 0"
alias _res "res_1024x768"
// Gives human readable output of our bindings.
alias human_readable "echo ******** KEY BINDINGS ****************;echo -------------------------------------------------------; bind t;bind i;bind o;bind p;bind [;bind ];bind -;bind =;bind F1;bind F2;bind F3;bind F4;bind F5;bind F6;bind F7;bind F8;bind F9;bind F10;bind F11;bind F12;bind h;bind del;bind ins;bind home;bind l;bind rshift;bind semicolon;bind mouse3;bind mouse4;bind mouse5;bind MWHEELDOWN;bind MWHEELUP;bind KP_ENTER;bind KP_PLUS;bind j;bind l;;bind x;bind space;bind alt;bind n;bind ."
alias human_readable_ext "echo alt+0 will run VoiceToggle, which toggles voice_enable on and off.;echo hrup(by default bind is RSHIFT) toggles radar HUD scaling. This is different from cl_radar_scale. alias drop_weapon buy p250, you can change that for when dropping teammates;echo -------------------------------------------------------;"
alias human_readable_ext2 "echo The plus sign(+) on your keypad will iterate through multiple crosshairs that are found in crosshairs.cfg."
alias human_readable_ext3 "echo alt+0 will toggle voice_enable;echo alt+9 will drop pistols to team mates;echo alt will strafe toggle(locks position of mouse)"
alias human_readable_ext3 "echo The minus(-) key will adjust voice_scale up and down with visual representation in console and a beep sound. The equals(=) key will adjust volume with a visual representation in console and a beep sound."
alias human_readable_ext4 "echo -------------------------------------------------------;echo key Z will bring up a visual buy menu;echo -------------------------------------------------------"
// Default 0-9 binds, kept for later use.
alias default0 "bind 0 slot10"
alias default1 "bind 1 slot1"
alias default2 "bind 2 slot2"
alias default3 "bind 3 slot3"
alias default4 "bind 4 slot4"
alias default5 "bind 5 slot5"
alias default6 "bind 6 slot6"
alias default7 "bind 7 slot7"
alias default8 "bind 8 slot8"
alias default9 "bind 9 slot9"
alias "+use_with_instructor" "+use;gameinstructor_enable 1"
alias "-use_with_instructor" "-use;gameinstructor_enable 0"
// *********************************************************************************************************************
// cl_hud_radar_scale iteration with console output and audible representation.
// *********************************************************************************************************************
// cl_hud_radar_scale cycle with pretty console print and sound for each press.
alias "hrmin" "cl_hud_radar_scale 0.80;echo |*__________| CL_HUD_RADAR_SCALE 0% (0.8); alias hrup hr1;alias hrdn hrmin"
alias "hr1" "playvol buttons\blip2 0.5;cl_hud_radar_scale 0.85;echo |_*_________| CL_HUD_RADAR_SCALE 10%; alias hrup hr2;alias hrdn hrmin"
alias "hr2" "playvol buttons\blip2 0.5;cl_hud_radar_scale 0.9;echo |__*________| CL_HUD_RADAR_SCALE 20%; alias hrup hr3;alias hrdn hr1"
alias "hr3" "playvol buttons\blip2 0.5;cl_hud_radar_scale 0.95;echo |___*_______| CL_HUD_RADAR_SCALE 30%; alias hrup hr4;alias hrdn hr2"
alias "hr4" "playvol buttons\blip2 0.5;cl_hud_radar_scale 1.0;echo |____*______| CL_HUD_RADAR_SCALE 40%; alias hrup hr5;alias hrdn hr3"
alias "hr5" "playvol buttons\blip2 0.5;cl_hud_radar_scale 1.05;echo |_____*_____| CL_HUD_RADAR_SCALE 50%; alias hrup hr6;alias hrdn hr4"
alias "hr6" "playvol buttons\blip2 0.5;cl_hud_radar_scale 1.1;echo |______*____| CL_HUD_RADAR_SCALE 60%; alias hrup hr7;alias hrdn hr5"
alias "hr7" "playvol buttons\blip2 0.5;cl_hud_radar_scale 1.15;echo |_______*___| CL_HUD_RADAR_SCALE 70%; alias hrup hr8;alias hrdn hr6"
alias "hr8" "playvol buttons\blip2 0.5;cl_hud_radar_scale 1.2;echo |________*__| CL_HUD_RADAR_SCALE 80%; alias hrup hr9;alias hrdn hr7"
alias "hr9" "playvol buttons\blip2 0.5;cl_hud_radar_scale 1.25;echo |_________*_| CL_HUD_RADAR_SCALE 90%; alias hrup hr10;alias hrdn hr8"
alias "hr10" "playvol buttons\blip2 0.5;cl_hud_radar_scale 1.3;echo |__________*| CL_HUD_RADAR_SCALE 100% (1.3); alias hrup hrmin; alias hrdn hr9"
alias "hrup" "hr1"
alias "hrdn" "hr1"
// *********************************************************************************************************************
// voice_scale cycle with pretty console print and example sound at that volume played.
// *********************************************************************************************************************
alias "stmin" "voice_scale 0;echo |*__________| VOICE_SCALE 0%; alias stup st1;alias stdn stmin"
alias "st1" "playvol buttons\blip2 0.1;voice_scale 0.1;echo |_*_________| VOICE_SCALE 10%; alias stup st2;alias stdn stmin"
alias "st2" "playvol buttons\blip2 0.2;voice_scale 0.2;echo |__*________| VOICE_SCALE 20%; alias stup st3;alias stdn st1"
alias "st3" "playvol buttons\blip2 0.3;voice_scale 0.3;echo |___*_______| VOICE_SCALE 30%; alias stup st4;alias stdn st2"
alias "st4" "playvol buttons\blip2 0.4;voice_scale 0.4;echo |____*______| VOICE_SCALE 40%; alias stup st5;alias stdn st3"
alias "st5" "playvol buttons\blip2 0.5;voice_scale 0.5;echo |_____*_____| VOICE_SCALE 50%; alias stup st6;alias stdn st4"
alias "st6" "playvol buttons\blip2 0.6;voice_scale 0.6;echo |______*____| VOICE_SCALE 60%; alias stup st7;alias stdn st5"
alias "st7" "playvol buttons\blip2 0.7;voice_scale 0.7;echo |_______*___| VOICE_SCALE 70%; alias stup st8;alias stdn st6"
alias "st8" "playvol buttons\blip2 0.8;voice_scale 0.8;echo |________*__| VOICE_SCALE 80%; alias stup st9;alias stdn st7"
alias "st9" "playvol buttons\blip2 0.9;voice_scale 0.9;echo |_________*_| VOICE_SCALE 90%; alias stup st10;alias stdn st8"
alias "st10" "playvol buttons\blip2 1;voice_scale 1;echo |__________*| VOICE_SCALE 100%; alias stup stmin; alias stdn st9"
alias "stup" "st1"
alias "stdn" "st1"
// *********************************************************************************************************************
// Volume cycle with pretty console print and example sound at that volume played.
// *********************************************************************************************************************
alias "vtmin" "volume 0;echo |*__________| VOLUME 0%; alias vtup vt1;alias vtdn vtmin"
alias "vt1" "playvol buttons\blip1 0.1;volume 0.1;echo |_*_________| VOLUME 10%; alias vtup vt2;alias vtdn vtmin"
alias "vt2" "playvol buttons\blip1 0.2;volume 0.2;echo |__*________| VOLUME 20%; alias vtup vt3;alias vtdn vt1"
alias "vt3" "playvol buttons\blip1 0.3;volume 0.3;echo |___*_______| VOLUME 30%; alias vtup vt4;alias vtdn vt2"
alias "vt4" "playvol buttons\blip1 0.4;volume 0.4;echo |____*______| VOLUME 40%; alias vtup vt5;alias vtdn vt3"
alias "vt5" "playvol buttons\blip1 0.5;volume 0.5;echo |_____*_____| VOLUME 50%; alias vtup vt6;alias vtdn vt4"
alias "vt6" "playvol buttons\blip1 0.6;volume 0.6;echo |______*____| VOLUME 60%; alias vtup vt7;alias vtdn vt5"
alias "vt7" "playvol buttons\blip1 0.7;volume 0.7;echo |_______*___| VOLUME 70%; alias vtup vt8;alias vtdn vt6"
alias "vt8" "playvol buttons\blip1 0.8;volume 0.8;echo |________*__| VOLUME 80%; alias vtup vt9;alias vtdn vt7"
alias "vt9" "playvol buttons\blip1 0.9;volume 0.9;echo |_________*_| VOLUME 90%; alias vtup vt10;alias vtdn vt8"
alias "vt10" "playvol buttons\blip1 1;volume 1;echo |__________*| VOLUME 100%; alias vtup vtmin; alias vtdn vt9"
alias "vtup" "vt1"
alias "vtdn" "vt1"
// Simple voice_scale on/off toggle, instead of cycling through.
alias "VoiceOn" "+togglevoice; alias VoiceToggle VoiceOff"
alias "VoiceOff" "-togglevoice; alias VoiceToggle VoiceOn"
alias "VoiceToggle" "VoiceOn"
alias "+togglevoice" "voice_enable 1; playvol buttons\blip2 0.5;echo voice_enable set to 1"
alias "-togglevoice" "voice_enable 0; playvol buttons\blip1 0.5;echo voice_enable set to 0"
// Unconventional naming of drop_weapon so its easy to remember and change in console.
// Just do "alias drop_weapon buy fiveseven" for example in console and then alt+9 to drop those weapons.
// Default is p250.
alias drop_weapon "buy p250"
alias "PistolDrop" "use weapon_knife;drop_weapon;drop;say_team drop_weapon"
alias "+alt0" "bind 0 VoiceToggle"
alias "-alt0" "default0" // ALT+0 to toggle voice on and off.
alias "+alt9" "bind 9 PistolDrop" // ALT+9 to drop what is defined in drop_weapon.
alias "-alt9" "default9"
alias "+altbinds" "+alt0;+alt9"
alias "-altbinds" "-alt0;-alt9"
alias "StrafeOn" "sensitivity 6; +strafe; alias StrafeToggle StrafeOff"
alias "StrafeOff" "_sensitivity; -strafe; alias StrafeToggle StrafeOn"
alias "StrafeToggle" "StrafeOn"
bind "ALT" "+altbinds;StrafeToggle"
alias "+leftknife" "cl_righthand 0; use weapon_knife"
alias "-leftknife" "cl_righthand 1; use weapon_knife"
alias "bhopon" "bind MWHEELDOWN +jump;bind MWHEELUP +jump;bind mouse3 bhopoff"
alias "bhopoff" "bind MWHEELDOWN +jump;bind MWHEELUP invprev;bind mouse3 bhopon"
alias "+jumpthrow" "+jump;-attack;-attack2"
alias "-jumpthrow" "-jump"
// Practice config for your local server. Press F2 to enable it. It also toggles noclip.
alias "practice" "sv_cheats 1;impulse 101;sv_showimpacts 0;sv_showimpacts_penetration 0;sv_showbullethits 0;sv_infinite_ammo 2;ammo_grenade_limit_total 6;sv_grenade_trajectory 1;sv_grenade_trajectory_dash 1;sv_grenade_trajectory_thickness 0.5;sv_grenade_trajectory_time 7;mp_freezetime 0;mp_roundtime_defuse 60;mp_buytime 9999;mp_buy_anywhere 1;mp_teammates_are_enemies 1;bot_stop 1;mp_warmup_end;mp_weapons_allow_typecount 5" // practice mode
// Good warmup config for local server. Press INS key to enable it.
alias "warmup" "sv_cheats 1;god;mp_warmup_start;mp_warmup_pausetimer 1;mp_autoteambalance 0;mp_limitteams 0;mp_buy_anywhere 1;mp_randomspawn 1;mp_spawnprotectiontime 0;mp_respawn_immunitytime 0;sv_infinite_ammo 1;bot_quota_mode normal;bot_difficulty 3;bot_dont_shoot 1;bot_kick;mp_restartgame 1;bot_add_ct;bot_add_ct;bot_add_ct;bot_add_ct;bot_add_ct;bot_add_ct;bot_add_ct;bot_add_ct;bot_add_ct;impulse 101;mp_weapons_allow_typecount 5" // bot warmup mode
// surfing aliases, I don't use these but they may be helpful to others.
alias "savepos" "writeip; con_logfile cfg/banned_ip.cfg; getpos_exact; con_logfile ."
alias "loadpos" "exec banned_ip"
alias "surf" "bind mouse4 +left;bind mouse5 +right;fps_max 300"
// Practice config for practice of nades. Press F1 to enable it. It also toggles noclip.
alias "nadepractice" "sv_cheats 1;bot_zombie 1;sv_infinite_ammo 1;ammo_grenade_limit_total 6;mp_warmup_end;mp_freezetime 0;mp_roundtime 60;mp_roundtime_defuse 60;sv_grenade_trajectory 1;sv_grenade_trajectory_dash 1;sv_grenade_trajectory_thickness 0.5;sv_grenade_trajectory_time 10;sv_showimpacts 1;mp_limitteams 0;mp_autoteambalance 0;mp_maxmoney 60000;mp_startmoney 60000;mp_buytime 9999;mp_buy_anywhere 1;mp_weapons_allow_typecount 5;"
// nice and simple local deathmatch
alias "local_dm_bots" "bot_add_t;bot_add_t;bot_add_t;bot_add_t;bot_add_t;bot_add_ct;bot_add_ct;bot_add_ct;bot_add_ct"
alias "local_dm" "bot_kick;sv_cheats 1;mp_warmup_end;mp_randomspawn 1;mp_buy_anywhere 1;mp_free_armor 2;mp_freezetime 0;mp_autoteambalance 0;mp_limitteams 0;mp_maxmoney 60000;mp_startmoney 60000;bot_randombuy 1;bot_dont_shoot 0;bot_difficulty 2;mp_respawn_on_death_ct 1;mp_respawn_on_death_t 1;mp_spawnprotectiontime 0;mp_respawn_immunitytime 0;mp_buytime 9999;mp_maxrounds 100;mp_roundtime_defuse 60;mp_roundtime 60;sv_infinite_ammo 1;mp_teammates_are_enemies 1"
// Decided I wanted duck+jump on spacebar since I mostly use wheeldown on mouse.
alias "+duckjump" "+duck; +longjump"
alias "-duckjump" "-duck; -longjump"
// Cancels forward momentum which improves your strafe
alias "+longjump" "+klook; +jump; -forward"
alias "-longjump" "-klook; -jump; -forward"
// Longer jump, with cast_ray which draws a line on the server(if sv_cheats enabled)
alias "+jumpthrow2" "+longjump;-attack;-attack2;cast_ray"
alias "-jumpthrow2" "-longjump"
// Just set dm_server = whatever in console before running 'connect_dm'.
// eg. alias dm_server="connect ffa.fragshack.com;connect_dm"
alias "dm_server" "connect pistol.tarik.gg"
alias "prac_server" "fps_max 100;connect practice.fataleffect.net;fps_max 400"
alias "retake_server" "fps_max 100;connect retake.fataleffect.net;fps_max 400"
alias "connect_dm" "cl_draw_only_deathnotices 1; volume 0.005; voice_enable 0; dm_server"
alias "_aim_redline" "rcon exec gamemode_competitive;rcon bot_kick;rcon mp_maxrounds 60;rcon mp_roundtime 1.45;rcon mp_freezetime 0;rcon mp_weapons_allow_map_placed 1;rcon mp_free_armor 2;rcon mp_ct_default_primary weapon_ak47;rcon mp_t_default_primary weapon_ak47;rcon mp_round_restart_delay 3;rcon mp_warmup_end;rcon mp_restartgame 1;rcon say :)"
// Game sound loudest, voice scale low, minimal hud junk(net_graph) and radar scale up -- Useful for clutch situations.
alias clutch "net_graph 0; cl_hud_radar_scale 0.8; cl_radar_scale 1;volume 1; voice_scale 0.1; cheer"
host_writeconfig // Write settings to config.cfg
clear // Clear out console
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!";
echo "██████╗!███████╗██╗!!██╗███████╗!!!!!██████╗!██████╗!███╗!!!██╗███████╗██╗!██████╗!";
echo "██╔══██╗██╔════╝██║!██╔╝██╔════╝!!!!██╔════╝██╔═══██╗████╗!!██║██╔════╝██║██╔════╝!";
echo "██║!!██║█████╗!!█████╔╝!███████╗!!!!██║!!!!!██║!!!██║██╔██╗!██║█████╗!!██║██║!!███╗";
echo "██║!!██║██╔══╝!!██╔═██╗!╚════██║!!!!██║!!!!!██║!!!██║██║╚██╗██║██╔══╝!!██║██║!!!██║";
echo "██████╔╝███████╗██║!!██╗███████║!!!!╚██████╗╚██████╔╝██║!╚████║██║!!!!!██║╚██████╔╝";
echo "╚═════╝!╚══════╝╚═╝!!╚═╝╚══════╝!!!!!╚═════╝!╚═════╝!╚═╝!!╚═══╝╚═╝!!!!!╚═╝!╚═════╝!";
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!";
echo "----- dek's autoexec cfg loaded -----"
execifexists buybinds.cfg
execifexists crosshairs.cfg
execifexists watchdemo.cfg
echo ""
echo "Press key 'K' in game to see a list of binds with details."
echo ""
echo "https://gitdek.github.io/CSGOConfigs/ for updates"
echo ""
echo -------------------------------------------------------
echo ""
echo ""
echo ""
host_writeconfig
playvol ui\item_drop5_legendary 0.5