-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathautoexec.cfg
310 lines (249 loc) · 14.3 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
// C:\Program Files (x86)\Steam\userdata\-usercode-\730\local\cfg
// CS:GO configuration and aliases
// Maxim / BananaGaming 2020
// With this autoexec I'm using the following mods
// Text Color Mod: https://bananagaming.tv/textcolormod.php
// Improved Radio Mod: https://bananagaming.tv/improvedradiomod.php
// Content
// 1. Main Settings
// 2. Bindings
// 3. Crosshair
// 4. Hud
// 5. Radar
// 6. Mouse
// 7. Viewmodel
// 8. Bob
// 9. Network
// 10. Netgraph
// 11. FPS & Video
// 12. Sound
// 13. Other
// 14. Scripts
// 15. Store Settings
////////////////////////// 1. Main Settings
con_enable "1" // Enables console
cl_autowepswitch "0" // Disable auto-weapon switch
cl_join_advertise "2" // Let friends join your community servers
echo Main Settings Loaded [X] // Loading confirmation in console
////////////////////////// 2. Bindings
bind "w" "+forward; r_cleardecals" // Clear decals while moving forward
bind "a" "+moveleft; r_cleardecals" // Clear decals while moving left
bind "s" "+back; r_cleardecals" // Clear decals while moving backward
bind "d" "+moveright; r_cleardecals" // Clear decals while moving right
bind "." "toggleconsole" // Binds console to the "." key
bind "c" "+voicerecord" // Use voice with "c"
bind "v" "radio2" // Use radio2 with "v"
bind "mwheelup" "+jump" // For them bhops
bind "mwheeldown" "+jump" // For them bhops
// bind "mouse4" "togglecrosshair" // Alignment crosshair (For Nades) (Binded on Scripts Part)
// bind "mouse5" "+jumpthrow" // Jumpthrow (For Nades) (Binded on Scripts Part)
// bind "F4" "ignoremsg" // Toggle messages from enemies, team or both
// bind "F5" "say ❤" // Chat message
// bind "F6" "say ✌(ツ)ว" // Chat message
// bind "F7" "say ( ͡° ͜ʖ ͡°)" // Chat message
// bind "F8" "say 🍌" // Chat message
// unbind "i" // To not accidentally enable hud fade
echo Bindings Loaded [X] // Loading confirmation in console
////////////////////////// 3. Crosshair
cl_crosshair_drawoutline "1.000000"
cl_crosshair_dynamic_maxdist_splitratio "0.300000"
cl_crosshair_dynamic_splitalpha_innermod "1"
cl_crosshair_dynamic_splitalpha_outermod "0.500000"
cl_crosshair_dynamic_splitdist "7"
cl_crosshair_friendly_warning "1"
cl_crosshair_outlinethickness "0.250000"
cl_crosshair_sniper_show_normal_inaccuracy "0"
cl_crosshair_sniper_width "1"
cl_crosshair_t "0.000000"
cl_crosshairalpha "255"
cl_crosshaircolor "5"
cl_crosshaircolor_b "0"
cl_crosshaircolor_g "255"
cl_crosshaircolor_r "255"
cl_crosshairdot "0"
cl_crosshairgap "-3.000000"
cl_crosshairgap_useweaponvalue "0"
cl_crosshairsize "1.500000"
cl_crosshairstyle "4.000000"
cl_crosshairthickness "0.500000"
cl_crosshairusealpha "1"
cl_fixedcrosshairgap "-6.000000"
echo Crosshair Loaded [X] // Loading confirmation in console
////////////////////////// 4. Hud
hud_scaling "0.95" // Scales hud elements to maximum value
hud_showtargetid "1" // Enables display of target names, important
cl_disablefreezecam "1" // Disables freezecam
cl_hud_bomb_under_radar "1" // Draws bomb under radar, convenient
cl_hud_color "8" // Makes the hud color green (THIS CHANGES THE HUD COLOR)
cl_hud_playercount_showcount "0" // Shows player avatars instead of numbers left
cl_hud_playercount_pos "0" // Puts player information in the bottom instead of top
cl_hud_healthammo_style "0" // Reverted hud style due to hidden burst mode
cl_hud_background_alpha "0.6" // Hidden but still visible black bars, easy on the eyes
cl_showloadout "1" // So it doesnt fade out the weapon slots, very annoying otherwise
cl_show_clan_in_death_notice "0" // Tagname will not show in death notices
cl_teamid_overhead_mode "2" // Always show team behind walls with equipment
cl_showhelp "0" // Removes on-screen help
cl_autohelp "0" // Removes automatic help
gameinstructor_enable "0" // Removes in-game instructions
safezonex "1" // Screen width percentage for the hud
safezoney "1" // Screen height percentage for the hud
echo Hud Settings Loaded [X] //Loading confirmation in console
////////////////////////// 5. Radar (Optimized radar settings)
cl_teammate_colors_show "1" // Show teammates as separate colors without letter
cl_hud_radar_scale "1" // Optimized Radar size
cl_radar_scale "0.4" // Radar map scaled down to fit all maps
cl_radar_always_centered "0" // Centers map instead of player
cl_radar_icon_scale_min "1" // Minimum player icon scale
echo Radar Settings Loaded [X] // Loading confirmation in console
////////////////////////// 6. Mouse ("Raw Input" & "No Acceleration")
m_rawinput "1" // Enable Raw Input for perfect precision (Raw input is unavailable on OSX)
m_mouseaccel2 "0" // Disables windows mouse acceleration initial threshold, safety precaution
m_mouseaccel1 "0" // Disables windows mouse acceleration initial threshold, safety precaution
m_customaccel "0" // Custom mouse acceleration disabled
m_mousespeed "0" // Windows mouse acceleration disabled, just for precaution
zoom_sensitivity_ratio_mouse "0.818933027098955175" // Adjusts your zoom sensitivity to act as your true sensitivity, default value is 1
echo Mouse Settings Loaded [X] // Loading confirmation in console
////////////////////////// 7. Viewmodel
viewmodel_offset_x "2" // Changes viewmodel view in X scale
viewmodel_offset_y "2" // Changes viewmodel view in Y scale
viewmodel_offset_z "-2" // Changes viewmodel view in Z scale
viewmodel_fov "68" // Highest viewmodel FOV
viewmodel_recoil "0" // Disable viewmodel reactions to weapon recoil & aimpunch (from Update: 2018-03-01)
echo Viewmodel Settings Loaded [X] // Loading confirmation in console
////////////////////////// 8. Bob (Less weapon movement)
cl_bob_lower_amt "5" // How much the viewmodel lowers when running, set to lowest for less distraction
cl_bobamt_lat "0.1" // How much the viewmodel moves side to side when running, set to lowest for less distraction
cl_bobamt_vert "0.1" // How much the viewmodel moves up and down when running, set to lowest for less distraction
cl_bobcycle "0.98" // The frequency at which the viewmodel bobs, set to default
cl_viewmodel_shift_left_amt "0.5" // Lowers the crouching animation of the viewmodel
cl_viewmodel_shift_right_amt "0.25" // Lowers the crouching animation of the viewmodel
echo Bob Settings Loaded [X] // Loading confirmation in console
////////////////////////// 9. Network (settings are optimized for high speed connection)
rate "786432" // Your download rate to the server. Max rate: "786432"
cl_cmdrate "128" // Max number of command packets sent to server per second
cl_updaterate "128" // Number of packets per second you are requesting from the server
cl_interp "0.007813" // Sets the interpolation amount, currently on the lowest value
cl_interp_ratio "1" // Sets the interpolation amount (final amount is cl_interp_ratio / cl_updaterate)
cl_lagcompensation "1" // Lag compensation helps by eliminating combat latency from client side view
cl_predict "1" // Skip waiting for server feedback and simulate client side movement in real-time
cl_predictweapons "1" // Skip waiting for server feedback and perform client side prediction of weapon effects
mm_dedicated_search_maxping "50" // Maxping Search in Matchmaking (increase this value if you can't find any games)
echo Network Settings Loaded [X] // Loading confirmation in console
////////////////////////// 10. Netgraph
net_graph "0" // Disables netgraph by default
net_graphheight "0" // Changes height
net_graphpos "2" // Positioning of Net Graph
net_graphproportionalfont "1" // Makes font larger
echo Netgraph Settings Loaded [X] // Loading confirmation in console
////////////////////////// 11. FPS & Video
fps_max "0" // Max frames per second (0 = uncapped)
fps_max_menu "0" // Max frames per second in main-menu (0 = uncapped)
mat_monitorgamma "1.6" // Sets brightness level to highest
mat_monitorgamma_tv_enabled "0" // Turn off TV Mode for less off-set light
mat_powersavingsmode "0" // Disables power saving mode
mat_queue_mode "-1" // The queue/thread mode, setting this to -1 is default for your system
r_dynamic "0" // Affects dynamic lighting, turned off for more FPS
echo FPS & Video Settings Loaded [X] // Loading confirmation in console
////////////////////////// 12. Sound (and music, does not affect overall volume)
voice_scale "0.4" // Turn down volume of other players to 40% (RECOMMENDED)
snd_deathcamera_volume "0.05" // Volume of the death camera music
snd_dzmusic_volume "0" // Volume of the Danger Zone victory music
snd_mapobjective_volume "0" // Volume of map objective music
snd_menumusic_volume "0.15" // Volume of the main menu music
snd_music_selection "2" // Tracking rotating music for players with no music packs equipped
snd_musicvolume_multiplier_inoverlay "0.25" // Music volume multiplier when Steam Overlay is active
snd_mute_mvp_music_live_players "0" // MVP music is muted if players from both teams are still alive
snd_mvp_volume "0" // Volume of the MVP music
snd_roundend_volume "0" // Volume of round end music
snd_roundstart_volume "0" // Volume of round start music
snd_tensecondwarning_volume "0.05" // 10 Second warning music, enabled on 3% volume to hear if there's time to defuse
echo Sound Settings Loaded [X] // Loading confirmation in console
////////////////////////// 13. Other
cl_use_opens_buy_menu "0" // Disable button E from opening buy-menu (Useful when picking up weapons in spawn)
r_drawtracers_firstperson "0" // Remove first person tracers, does not impact gameplay, just makes it easier to spray
spec_replay_autostart "0" // Disable "Auto-start Killer Replay" when available
echo Other Settings Loaded [X] // Loading confirmation in console
////////////////////////// 14. Scripts
// Alignment crosshair (For Nades)
alias "togglecrosshair" "togglecrosshair_on"
alias "togglecrosshair_on" "cl_crosshairsize 1337; cl_crosshairdot 1; cl_crosshairgap 10; alias togglecrosshair "togglecrosshair_off""
alias "togglecrosshair_off" "cl_crosshairsize 1.5; cl_crosshairdot 0; cl_crosshairgap -3.0; alias togglecrosshair "togglecrosshair_on"
bind "mouse4" "togglecrosshair"
// Jumpthrow (For Nades)
alias "+jumpthrow" "+jump; -attack"
alias "-jumpthrow" "-jump"
bind "mouse5" "+jumpthrow"
// Load whatever gamemode you want with the "map" command. Examples: "map de_dust2; competitive" or "map dz_sirocco; dangerzone"
alias "casual" "game_type 0; game_mode 0"
alias "comp" "game_type 0; game_mode 1"
alias "wingman" "game_type 0; game_mode 2"
alias "ar" "game_type 1; game_mode 0"
alias "demolition" "game_type 1; game_mode 1"
alias "dm" "game_type 1; game_mode 2"
alias "dz" "game_type 6; game_mode 0"
alias "custom" "game_type 3; game_mode 0"
// Useful shortcuts for popular commands in console
alias "d" "disconnect"
alias "q" "quit;exit"
alias "r" "retry"
alias "rs" "mp_restartgame 1"
// Show FPS with scoreboard in the top-left corner (less performance load than netgraph)
alias "+fps" "+score; cl_showfps 1"
alias "-fps" "-score; cl_showfps 0"
bind "tab" "+fps"
// Toggle netgraph
alias "togglenet" "togglenet_on"
alias "togglenet_on" "net_graph 1; alias togglenet "togglenet_off""
alias "togglenet_off" "net_graph 0; alias togglenet "togglenet_on""
// Toggle voice
alias "togglevoice" "togglevoice_off"
alias "togglevoice_off" "voice_enable 0; playvol buttons\blip1 0.5; alias togglevoice togglevoice_on"
alias "togglevoice_on" "voice_enable 1; playvol buttons\blip2 0.5; alias togglevoice togglevoice_off"
// Advanced Bind Script - by Maxim aka BananaGaming
// Part 1
alias defZ "bind z radio"
alias defX "bind x slot12"
alias defQ "bind q lastinv"
alias defE "bind e +use"
alias defR "bind r +reload"
alias defF "bind f +lookatweapon"
alias defG "bind g drop"
alias defC "bind c +voicerecord"
alias defv "bind v radio2"
alias def1 "bind 1 slot1"
alias def2 "bind 2 slot2"
alias def3 "bind 3 slot3"
// Part 2
alias keyZ "bind z customZ"
alias keyX "bind x customX"
alias keyQ "bind q customQ"
alias keyE "bind e customE"
alias keyR "bind r customR"
alias keyF "bind f customF"
alias keyG "bind g customG"
alias keyC "bind c customC"
alias keyV "bind v customV"
alias key1 "bind 1 custom1"
alias key2 "bind 2 custom2"
alias key3 "bind 3 custom3"
// Part 3
alias customZ "god"
alias customX "noclip"
alias customQ "use weapon_flashbang"
alias customE "use weapon_hegrenade"
alias customR "use weapon_decoy; use weapon_molotov; use weapon_incgrenade"
alias customF "use weapon_smokegrenade"
alias customG "use weapon_c4; drop"
alias customC "togglevoice"
alias customV "togglenet"
alias custom1 "autobuy"
alias custom2 "buy flashbang; buy smokegrenade"
alias custom3 "buy flashbang; buy smokegrenade; buy molotov; buy flashbang; buy defuser"
// Part 4
alias +keybinds "keyZ; keyX; keyQ; keyE; keyR; keyF; keyG; keyC; keyV; key1; key2; key3"
alias -keybinds "defZ; defX; defQ; defE; defR; defF; defG; defC; defV; def1; def2; def3"
// Part 5 - Bind key to trigger secondary command
bind "alt" "+keybinds"
echo Scripts Loaded [X] // Loading confirmation in console
////////////////////////// 15. Store Settings
host_writeconfig // Store current settings to config.cfg