-
Notifications
You must be signed in to change notification settings - Fork 0
/
autoexec.cfg
278 lines (219 loc) · 16.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
// ~~~~~~~~ How to use this config ~~~~~~~~~~~~
// https://github.com/leporel/csgo-cfg
// Move this file to ..\SteamApps\common\Counter-Strike Global Offensive\game\csgo\cfg
// after enter in game console - "exec autoexec2.cfg"
// and you will see new available commands
// you can change alias like you want,
// for example, you can make 'cfg' alias for your settings
//
// Alias is a command that is used to give a command or a chain of commands a custom name. Look at it like creating your own console commands using existing commands.
// Bind is the command you use to link a console command to a key.
//~~~~~~~~~~~~~~~~~~~~~~ Personal settings ~~~~~~~~~~~~~~~~~~~~~
// My cs2 setup
// on lover res I have better KDA, on native res I play better 1vs1
// launch options: -novid -console
// Monitor: reduce motion blur[off], brightness [91], contrast [70], saturation [170%]
alias cfg "sens; vpro1; cl_sniper_auto_rezoom 0; cl_debounce_zoom 1; cl_sanitize_muted_players 1; snd_use_hrtf 1; cl_hud_color 3; cl_crosshair_sniper_width 1; cl_crosshair_sniper_show_normal_inaccuracy 0;"
alias snd "voice_mixer_volume 0.91; volume 0.24; snd_musicvolume 0;"
alias sens "m_rawinput 1; zoom_sensitivity_ratio_mouse 1; m_pitch 0.022; m_yaw 0.022; m_mouseaccel1 0; m_mouseaccel2 0; m_customaccel_scale 0.04; m_customaccel 0; m_customaccel_exponent 1.0;"
alias low_sens "m_customaccel 3; m_customaccel_exponent 1.05;"
// for low sens: m_customaccel 3; m_customaccel_exponent 1.05;
// alias sens "sens_temp; m_rawinput 1; sensitivity 1.15; m_customaccel 0; m_customaccel_exponent 1.05; zoom_sensitivity_ratio_mouse 1;"
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//~~~~~~~~~~~~~~~~~~~~~~ Crosshair ~~~~~~~~~~~~~~~~~~~~~
// cl_fixedcrosshairgap -3;
// cl_crosshairalpha 255;
alias color1 "cl_crosshaircolor 1; cl_crosshaircolor_g 240; cl_crosshaircolor_r 0; cl_crosshaircolor_b 0;"
alias color2 "cl_crosshaircolor 4; cl_crosshaircolor_g 195; cl_crosshaircolor_r 27; cl_crosshaircolor_b 144;"
alias color3 "cl_crosshaircolor 5; cl_crosshaircolor_g 0; cl_crosshaircolor_r 240; cl_crosshaircolor_b 240;"
alias color4 "cl_crosshaircolor 5; cl_crosshaircolor_g 0; cl_crosshaircolor_r 255; cl_crosshaircolor_b 0;"
alias color5 "cl_crosshaircolor 5; cl_crosshaircolor_g 240; cl_crosshaircolor_r 240; cl_crosshaircolor_b 240;"
alias color6 "cl_crosshaircolor 5; cl_crosshaircolor_g 245; cl_crosshaircolor_r 245; cl_crosshaircolor_b 0;"
alias color7 "cl_crosshaircolor 5; cl_crosshaircolor_g 0; cl_crosshaircolor_r 0; cl_crosshaircolor_b 0;"
//
alias cross0 "cl_crosshairsize 1; cl_crosshairgap -1; cl_crosshairthickness 0; cl_crosshairdot 1; cl_crosshairstyle 5; cl_crosshairalpha 250; cl_crosshairgap_useweaponvalue 0; cl_crosshairusealpha 1; cl_crosshair_drawoutline 0; cl_crosshairscale 120; cl_crosshair_dynamic_maxdist_splitratio 0.35; cl_crosshair_dynamic_splitalpha_innermod 1; cl_crosshair_dynamic_splitalpha_outermod 0.5; cl_crosshair_dynamic_splitdist 7;"
//
alias cross1 "cl_crosshairalpha 255; cl_crosshairstyle 4; cl_crosshairgap_useweaponvalue 0; cl_crosshairsize -1; cl_crosshairgap -4; cl_crosshairdot 1; cl_crosshairthickness 1; cl_crosshair_drawoutline 1; cl_crosshair_outlinethickness 1; cl_crosshairusealpha 1; cl_crosshair_t 0;"
//
alias cross2 "cl_crosshairalpha 255; cl_crosshairstyle 2; cl_crosshairsize 3; cl_crosshairgap -4; cl_crosshairthickness 0; cl_crosshair_dynamic_maxdist_splitratio "0.2"; cl_crosshair_dynamic_splitalpha_innermod "0.4"; cl_crosshair_dynamic_splitalpha_outermod "0.95"; cl_crosshair_dynamic_splitdist "0"; cl_crosshair_t 0;"
//
alias cross3 "cl_crosshairalpha 255; cl_crosshairstyle 4; cl_crosshairgap_useweaponvalue 0; cl_crosshairsize 5; cl_crosshairgap -1; cl_crosshairdot 0; cl_crosshairthickness 1; cl_crosshair_drawoutline 0; cl_crosshair_outlinethickness 1; cl_crosshairusealpha 1; cl_crosshair_t 0;"
//
alias cross4 "cl_crosshairalpha 255; cl_crosshairstyle 4; cl_crosshairgap_useweaponvalue 0; cl_crosshairsize 2.5; cl_crosshairgap -2; cl_crosshairdot 0; cl_crosshairthickness 1; cl_crosshair_drawoutline 0; cl_crosshair_outlinethickness 1; cl_crosshairusealpha 1; cl_crosshair_t 0;"
//
alias cross5 "cl_crosshairalpha 255; cl_crosshairstyle 4; cl_crosshairgap_useweaponvalue 0; cl_crosshairsize 3.5; cl_crosshairgap -1; cl_crosshairdot 0; cl_crosshairthickness 0.5; cl_crosshair_drawoutline 1; cl_crosshair_outlinethickness 1; cl_crosshairusealpha 1; cl_crosshair_t 0;"
//
alias cross6 "cl_crosshairalpha 255; cl_crosshairstyle 4; cl_crosshairgap_useweaponvalue 0; cl_crosshairsize 3; cl_crosshairgap -2; cl_crosshairdot 0; cl_crosshairthickness 0.5; cl_crosshair_drawoutline 1; cl_crosshair_outlinethickness 1; cl_crosshairusealpha 1; cl_crosshair_t 0;"
//
alias cross7 "cl_crosshairalpha 250; cl_crosshairstyle 4; cl_crosshairgap_useweaponvalue 0; cl_crosshairsize 2; cl_crosshairgap -1; cl_crosshairdot 0; cl_crosshairthickness 0.5; cl_crosshair_drawoutline 1; cl_crosshair_outlinethickness 1; cl_crosshairusealpha 1; cl_crosshair_t 0;"
//
alias cross8 "cl_crosshairalpha 255; cl_crosshairstyle 4; cl_crosshairgap_useweaponvalue 0; cl_crosshairsize 2; cl_crosshairgap -1; cl_crosshairdot 0; cl_crosshairthickness 1; cl_crosshair_drawoutline 1; cl_crosshair_outlinethickness 1; cl_crosshairusealpha 1; cl_crosshair_t 0;"
//
alias cross9 "cl_crosshairalpha 255; cl_crosshairstyle 4; cl_crosshairgap_useweaponvalue 0; cl_crosshairsize 3.5; cl_crosshairgap -2; cl_crosshairdot 0; cl_crosshairthickness 1.5; cl_crosshair_drawoutline 1; cl_crosshair_outlinethickness 1; cl_crosshairusealpha 1; cl_crosshair_t 0;"
alias cross10 "cl_crosshairusealpha 1; cl_crosshairstyle 4; cl_crosshair_outlinethickness 1; cl_crosshair_drawoutline 0; cl_crosshairgap_useweaponvalue 0; cl_crosshairalpha 255; cl_crosshairdot 0; cl_crosshairgap 0; cl_crosshairsize 3.5; cl_crosshairthickness 0.5; cl_crosshair_t 0;"
alias cross11 "cl_crosshairstyle 1; cl_fixedcrosshairgap -3;"
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bind "-" "comcross"
alias comcross "comcross1"
alias comcross1 "cross4; cl_crosshairstyle 4; cl_crosshairalpha 255; cl_crosshairgap 0; cl_crosshair_drawoutline 1; cl_crosshairsize 2.5; cl_crosshairthickness 0; alias comcross comcross2"
alias comcross2 "cross4; cl_crosshairstyle 4; cl_crosshairgap -2; cl_crosshairthickness 0.5; cl_crosshairsize 3.5; alias comcross comcross3"
alias comcross3 "cross10; cl_fixedcrosshairgap -5; alias comcross comcross4"
alias comcross4 "cross4; cl_crosshairstyle 4; cl_crosshairdot 0; cl_crosshairgap -3; cl_crosshairsize 1; cl_crosshairusealpha 1; cl_crosshairthickness 1; cl_crosshair_outlinethickness 1; cl_crosshair_drawoutline 0; alias comcross comcross5"
alias comcross5 "cross4; cl_crosshairstyle 4; cl_crosshairgap -1; cl_crosshairsize 2; cl_crosshairthickness 0.5; cl_crosshair_drawoutline 0; cl_crosshair_outlinethickness 0.5; alias comcross comcross6"
alias comcross6 "cross6; cl_crosshairgap 1; cl_crosshairsize 3.5; cl_crosshairthickness 0.5; alias comcross comcross7"
alias comcross7 "cross4; cl_crosshairgap -2; cl_crosshairsize 3.5; alias comcross comcross8"
alias comcross8 "cross4; cl_crosshairalpha 255; cl_crosshairsize 1.5; cl_crosshairgap -2; cl_crosshairthickness 0.5; cl_crosshair_drawoutline 1; alias comcross comcross9"
alias comcross9 "cross4; cl_crosshairstyle 2; cl_crosshairgap -1; cl_crosshairsize 3; cl_crosshairthickness 0; cl_crosshair_drawoutline 1; cl_crosshair_dynamic_maxdist_splitratio 0; cl_crosshair_dynamic_splitalpha_innermod 1; cl_crosshair_dynamic_splitalpha_outermod 0.5; cl_crosshair_dynamic_splitdist 5; alias comcross comcross1;"
alias kek "cl_crosshairsize 33; cl_crosshairthickness 2.5; cl_crosshairgap -2; cl_crosshairalpha 125;"
alias invert "cl_crosshairstyle 2; cl_crosshairgap_useweaponvalue 0; cl_crosshairsize 3; cl_crosshairgap -9; cl_crosshairdot 0; cl_crosshairthickness 0.5; cl_crosshair_drawoutline 1; cl_crosshair_outlinethickness 1; cl_crosshairusealpha 1; cl_crosshair_dynamic_maxdist_splitratio "0.2"; cl_crosshair_dynamic_splitalpha_innermod "0.4"; cl_crosshair_dynamic_splitalpha_outermod "0.95"; cl_crosshair_dynamic_splitdist "0";"
//~~~~~~~~~~~~~~~~~~~~~ viewmodel ~~~~~~~~~~~~~~~~~~~~~
// cl_righthand 0
alias vpro1 "viewmodel_fov "68"; viewmodel_presetpos "3"; viewmodel_offset_x "2.5"; viewmodel_offset_y "0"; viewmodel_offset_z "-1.5";";
alias vpro2 "viewmodel_fov 65; viewmodel_offset_x 2; viewmodel_offset_y 1.5; viewmodel_offset_z -1; viewmodel_presetpos 0; viewmodel_recoil 0; cl_righthand 1;"
alias vpro3 "viewmodel_fov 60; viewmodel_offset_x 1; viewmodel_offset_y 1; viewmodel_offset_z -1.5; viewmodel_presetpos 1; viewmodel_recoil 0; cl_righthand 1;"
alias vmid "viewmodel_fov "60"; viewmodel_presetpos "0"; viewmodel_offset_x "-1"; viewmodel_offset_y "-2"; viewmodel_offset_z "-2";";
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//~~~~~~~~~~~~~~~~~~~~~~ General ~~~~~~~~~~~~~~~~~~~~~
cl_radar_scale 0.4
hud_scaling 1.0
r_drawtracers_firstperson 0
hud_showtargetid 0
cl_join_advertise 2
cl_teamid_overhead_mode 0
cl_use_opens_buy_menu 0
cl_teamid_overhead_colors_show 1
cl_teamcounter_playercount_instead_of_avatars 1
rate 786432
cl_updaterate 128
// cl_cmdrate 128
cl_interp 0
cl_interp_ratio 1
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//~~~~~~~~~~~~~~~~~~~~~ boost fps(usually placebo) and binds ~~~~~~~~~~~~~~~~~~~~~
fps_max 450
fps_max_ui 60
cl_downloadfilter nosounds
func_break_max_pieces 0
gameinstructor_enable 0
spec_replay_autostart 0
// bind "TAB" "+ng";
alias "+ng" "+showscores; net_graph 1";
alias "-ng" "-showscores; net_graph 0";
alias he "sv_cheats 1; sv_grenade_trajectory_prac_pipreview 1; sv_infinite_ammo 1; sv_showimpacts 1; mp_roundtime_defuse 15;"
alias warp "sv_cheats 1; mp_buy_anywhere 1; mp_buytime 60000; mp_autoteambalance 0; mp_limitteams 123; mp_warmuptime 9600; mp_spawnprotectiontime 0; mp_forcecamera 0; mp_startmoney 16000; mp_maxmoney 50000; mp_autokick 0; mp_warmup_start; mp_timelimit 35; mp_respawn_immunitytime 0;"
alias respawn "mp_warmup_end; sv_cheats 1; mp_autoteambalance 0; mp_freezetime 0; mp_maxrounds 666; mp_round_restart_delay 0; mp_limitteams 123; mp_spawnprotectiontime 0; mp_forcecamera 0; mp_startmoney 16000; mp_maxmoney 50000; mp_autokick 0; mp_timelimit 35; mp_respawn_immunitytime 0;"
alias competitive "mp_humanteam any; mp_warmup_end; bot_quota 0; bot_kick; bot_join_after_player 0; mp_solid_teammates 1; mp_free_armor 0; mp_friendlyfire 2; compepetive1;"
alias competitive1 "mp_ignore_round_win_conditions 0; mp_forcecamera 1; mp_friendlyfire 2; mp_maxrounds 30; ff_damage_reduction_grenade 0.85; ff_damage_reduction_bullets 0.33; ff_damage_reduction_other 0.4; ff_damage_reduction_grenade_self 1; ammo_grenade_limit_total 5; compepetive2;"
alias competitive2 "mp_halftime 1; sv_cheats 0; sv_competitive_official_5v5 1; mp_startmoney 800; mp_maxmoney 16000; mp_roundtime 1.55; mp_round_restart_delay 6; mp_buy_anywhere 0; mp_buytime 10;"
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
echo "";
echo "";
echo " $$\ $$\ ";
echo " $$ | $$ | ";
echo " $$ | $$$$$$\ $$$$$$\ $$$$$$\ $$$$$$\ $$$$$$\ $$ | ";
echo " $$ |$$ __$$\ $$ __$$\ $$ __$$\ $$ __$$\ $$ __$$\ $$ | ";
echo " $$ |$$$$$$$$ |$$ / $$ |$$ / $$ |$$ | \__|$$$$$$$$ |$$ | ";
echo " $$ |$$ ____|$$ | $$ |$$ | $$ |$$ | $$ ____|$$ | ";
echo " $$ |\$$$$$$$\ $$$$$$$ |\$$$$$$ |$$ | \$$$$$$$\ $$ | ";
echo " \__| \_______|$$ ____/ \______/ \__| \_______|\__| ";
echo " $$ | ";
echo " $$ | ";
echo " \__| ";
echo " ";
echo " ";
echo " ";
echo " $$$$$$\ $$\ ";
echo " $$ __$$\ \__| ";
echo " $$$$$$$\ $$$$$$\ $$$$$$$\ $$ / \__|$$\ $$$$$$\ ";
echo "$$ _____|$$ __$$\ $$ __$$\ $$$$\ $$ |$$ __$$\ ";
echo "$$ / $$ / $$ |$$ | $$ |$$ _| $$ |$$ / $$ |";
echo "$$ | $$ | $$ |$$ | $$ |$$ | $$ |$$ | $$ |";
echo "\$$$$$$$\ \$$$$$$ |$$ | $$ |$$ | $$ |\$$$$$$$ |";
echo " \_______| \______/ \__| \__|\__| \__| \____$$ |";
echo " $$\ $$ |";
echo " \$$$$$$ |";
echo " https://www.twitch.tv/leporel \______/";
echo "
echo "Changes applied";
echo "---------------------- Console commands ----------------------";
echo "'vpro1', 'vpro2', 'vmid' - change the view model";
echo "'cross0' - 'cross10': change crosshair presets";
echo "'comcross1' - 'comcross5': common used crosshairs by me";
echo "'color0' - 'color9': change crosshair color";
echo "'he' - show grenade trajectory, showimpacts, infinite ammo";
echo "'warp' - unlimited war time";
echo "'respawn' - fast spawn and stop war time";
echo "'compepetive' - MM setting, after enter:'game_type 0; game_mode 1; changelevel de_dust2;'";
echo "'cfg' - apply pre-setup settings"
echo "'low_sens' - accsel for lower sens"
echo "'sens' - for normal sens"
echo "------------------------------------------------------";
//~~~~~~~~~~~~~~~~~~~~~ Crosshair Binds ~~~~~~~~~~~~~~~~~~~~~
bind l drawoutline;
alias drawoutline "bind l drawoutline1; cl_crosshair_drawoutline 0;"
alias drawoutline1 "bind l drawoutline2; cl_crosshair_drawoutline 1; cl_crosshair_outlinethickness 0.5;"
alias drawoutline2 "bind l drawoutline; cl_crosshair_drawoutline 1; cl_crosshair_outlinethickness 1;"
bind k "incrementvar cl_crosshairthickness 0.5 2 0.5";
bind "uparrow" "incrementvar cl_crosshairgap -25 2 1; incrementvar cl_fixedcrosshairgap -15 1 1"
bind "rightarrow" "incrementvar cl_crosshairsize 0.5 6 0.5"
bind "downarrow" "incrementvar cl_crosshairgap -25 2 -1; incrementvar cl_fixedcrosshairgap -15 1 -1;"
bind "leftarrow" "incrementvar cl_crosshairsize 0.5 6 -0.5"
bind o "toggle cl_crosshairalpha 255 240 220 200 175"
bind i "toggle cl_crosshair_t 1 0"
bind j "incrementvar cl_crosshairstyle 4 5 1"
bind = switchcross;
alias switchcross "cross0; bind = switchcross1;";
alias switchcross1 "cross1; bind = switchcross2;";
alias switchcross2 "cross2; bind = switchcross3;";
alias switchcross3 "cross3; bind = switchcross4;";
alias switchcross4 "cross4; bind = switchcross5;";
alias switchcross5 "cross5; bind = switchcross6;";
alias switchcross6 "cross6; bind = switchcross7;";
alias switchcross7 "cross7; bind = switchcross8;";
alias switchcross8 "cross8; bind = switchcross9;";
alias switchcross9 "cross9; bind = switchcross10;";
alias switchcross10 "cross10; bind = switchcross11;";
alias switchcross11 "cross11; bind = switchcross;";
bind p switchcolor;
alias switchcolor "color1; bind p switchcolor1;";
alias switchcolor1 "color2; bind p switchcolor2;";
alias switchcolor2 "color3; bind p switchcolor3;";
alias switchcolor3 "color4; bind p switchcolor4;";
alias switchcolor4 "color5; bind p switchcolor5;";
alias switchcolor5 "color6; bind p switchcolor6;";
alias switchcolor6 "color7; bind p switchcolor;";
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//~~~~~~~~~~~~~~~~~~~~~ game binds ~~~~~~~~~~~~~~~~~~~~~
bind "mouse3" "+show"
alias +show "+cl_show_team_equipment; bind \ -show"
alias -show "-cl_show_team_equipment; bind \ +show"
bind "'" "vm1"
alias vm1 "vpro1; bind ' vm2"
alias vm2 "vpro2; bind ' vm3"
alias vm3 "vpro3; bind ' vm4"
alias vm4 "vmid; bind ' vm1"
// bind mouse5 "use weapon_smokegrenade"
// bind mouse4 "use weapon_flashbang"
// bind 2 "slot2; commoncross1;" bind 1 "slot1; commoncross3; cl_crosshairstyle 5;"
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
echo " ";
echo "--- crosshairs and game binds aplied";
echo " ";
echo "---------------------- Bind Keys ---------------------- "
echo "press '=' - change crosshair presets";
echo "press '-' - change common crosshair";
echo " ";
echo "For personal crosshair setup:";
echo " leftarrow / rightarrow - change size";
echo " uparrow / downarrow - change gap";
echo " p - change color";
echo " k - change thickness";
echo " l - on/off outline";
echo " i - on/off top line";
echo " j - crosshair dynamic on/off";
echo " o - crosshair alpha";
echo "";
echo " mouse3 - show teammates weapon";
echo " ' - change the view model";
echo "";
host_writeconfig