-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathautoexec.cfg
More file actions
209 lines (190 loc) · 12.2 KB
/
Copy pathautoexec.cfg
File metadata and controls
209 lines (190 loc) · 12.2 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
//counter-strike configuration file
echo "<< START: autoexec.cfg"
echo "#####################################################"
echo "## Counter-Strike 2 | autoexec.cfg ##"
echo "## last change: 05.10.2023 | CS2-Version: 1.39.5.6 ##"
echo "## https://github.com/Bene-GG/counterstrike ##"
echo "#####################################################"
// IMPORTANT COMMANDS (check/change/delete!)
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sensitivity "1.1" // mouse sensitivity
volume "0.33" // master volume
snd_voipvolume "0.061061" // ingame voice volume (others) - min:"0",max:"1",25%="0.061061" - Default: "1"
cl_color "2" // player color 0=blue,1=green,2=yellow,3=orange,4=purple
bind "MOUSE4" "player_ping" // ping position
bind "MOUSE5" "+voicerecord" // ingame voice hotkey - Default: K
engine_low_latency_sleep_after_client_tick "0" // Default: "0"
fps_max "300" // fps limit
r_fullscreen_gamma "2.5" // Gamma - min:"1.0",max:"4.0" - Default: 2.2
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// NADE BINDS (and related changes to make it work)
//~~~~~~~~~~~~~~~~~~~~~~~~~~~
bind "H" "+lookatweapon" // Inspect changed because flashbang is on F - Default: F
bind "I" "slot12" // Healthshot - Default: X
bind "J" "radio1" // Command Radio Mesasges - Default: None
bind "K" "radio2" // Standard Radio Messages - Default: None
bind "L" "radio3" // Report Radio Messages - Default: None
bind "F" "slot7" // Flashbang
bind "X" "slot8" // Smoke
bind "C" "slot10" // Molotov/Incendiary
//~~~~~~~~~~~~~~~~~~~~~~~~~~~
// GENERAL
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cl_hide_avatar_images "0" // 0=Display player avatars,1=Hide player avatars - Default: "0"
cl_allow_animated_avatars "0" // 0=Disallow animated avatars,1=Allow animated avatars - Default: "1"
cl_show_equipped_character_for_player_avatars "0" // Display agent skin as avatar: 0=off,1=on - Default: "0"
cl_teamid_overhead_mode "2" // display team id over teammates: 1=pips,2=pips+name+equipment
cl_teamid_overhead_colors_show "1" // display player name in player color: 0=off,1=on
cl_dm_buyrandomweapons "0" // random weapons in deathmatch: 0=disabled,1=enabled
cl_show_clan_in_death_notice "0" // display team tag in death notices (once implemented in CS2)
mm_dedicated_search_maxping "25" // maximum ping for servers,minimum: "25" - Default: "150"
r_show_build_info "0" // 0=Hide build info in lower left corner,1=Show build info - Build information. Leave this enabled when submitting bug screenshots and videos, please! - Default: "1"
cl_ping_fade_deadzone "1000" // Distance from the crosshair over which the ping is completely invisible - Default: "60"
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Network
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rate "786432" // available network bandwith - min:"98304",max:"786432"
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// HUD
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cl_showloadout "1" // display inventory permanently
cl_hud_radar_scale "1.2" // radar size default 1
cl_hud_color "2" // 0=team color,1=white,2=bright white,3=light blue,4=blue,5=purple,6=red,7=orange,8=bright yellow,9=green,10=aqua,11=pink
hud_scaling "0" // 0,1,2 - HUD size
cl_teammate_colors_show "2" // Radar: 0: no teammate icon colors 1: coloured icons 2: also display color letters
cl_radar_always_centered "0" // default 1
cl_radar_scale "0.35" // radar zoom 0.25-1
cl_radar_rotate "1" // rotate radar
cl_radar_icon_scale_min "0.4" // Icon size 0.4 - 1
hud_showtargetid "1"
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// SOUND
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
speaker_config "2" // Default "-1"
snd_mute_losefocus "0" // "0": do not mute game while tabbed out,"1": mute game while tabbed out - Default: "1"
// Volume (same order as ingame settings)
snd_menumusic_volume "0"
snd_roundstart_volume "0"
snd_roundend_volume "0"
snd_mapobjective_volume "0"
snd_tensecondwarning_volume "0"
snd_deathcamera_volume "0"
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// MISC. BINDS
//~~~~~~~~~~~~~~~~~~~~~~~~~~~
bind "END" "kill"
bind "HOME" "disconnect"
//~~~~~~~~~~~~~~~~~~~~~~~~~~~
// BUYSCRIPT
//~~~~~~~~~~~~~~~~~~~~~~~~~~~
// buy and sell aliases
alias "buy_r1" "buy item 14";alias "buy_flash" "buy item 26";alias "buy_he" "buy item 28";alias "buy_smoke" "buy item 27";alias "buy_molotov" "buy item 29";alias "buy_decoy" "buy item 30";alias "buy_r2" "buy item 15";alias "buy_p4" "buy item 5";alias "buy_p2" "buy item 3";alias "buy_p5" "buy item 6";alias "buy_defusekit" "buy item 35";alias "buy_r5" "buy item 18";alias "buy_m1" "buy item 8";alias "buy_m2" "buy item 9";alias "buy_kevlar" "buy item 32";alias "buy_kevlarhelmet" "buy item 33";alias "buy_r4" "buy item 17";alias "buy_p3" "buy item 4"
alias "sell_r1" "sellback 14";alias "sell_flash" "sellback 26";alias "sell_he" "sellback 28";alias "sell_smoke" "sellback 27";alias "sell_molotov" "sellback 29";alias "sell_decoy" "sellback 30";alias "sell_r2" "sellback 15";alias "sell_p4" "sellback 5";alias "sell_p2" "sellback 3";alias "sell_p5" "sellback 6";alias "sell_defusekit" "sellback 35";alias "sell_r5" "sellback 18";alias "sell_m1" "sellback 8";alias "sell_m2" "sellback 9";alias "sell_kevlar" "sellback 32";alias "sell_kevlarhelmet" "sellback 33";alias "sell_r4" "sellback 17";alias "sell_p3" "sellback 4"
// bind buy and sell aliases
alias "bind_KP_0_buy" "bind KP_0 buy_r1; slot2; slot1; slot3;";alias "bind_KP_0_sell" "bind KP_0 sell_r1; slot2; slot1; slot3;";alias "bind_KP_1_buy" "bind KP_1 buy_flash; slot2; slot1; slot3;";alias "bind_KP_1_sell" "bind KP_1 sell_flash; slot2; slot1; slot3;";alias "bind_KP_2_buy" "bind KP_2 buy_he; slot2; slot1; slot3;";alias "bind_KP_2_sell" "bind KP_2 sell_he; slot2; slot1; slot3;";alias "bind_KP_3_buy" "bind KP_3 buy_smoke; slot2; slot1; slot3;";alias "bind_KP_3_sell" "bind KP_3 sell_smoke; slot2; slot1; slot3;";alias "bind_KP_4_buy" "bind KP_4 buy_molotov; slot2; slot1; slot3;";alias "bind_KP_4_sell" "bind KP_4 sell_molotov; slot2; slot1; slot3;";alias "bind_KP_5_buy" "bind KP_5 buy_decoy; slot2; slot1; slot3;";alias "bind_KP_5_sell" "bind KP_5 sell_decoy; slot2; slot1; slot3;";alias "bind_KP_6_buy" "bind KP_6 buy_r2; slot2; slot1; slot3;";alias "bind_KP_6_sell" "bind KP_6 sell_r2; slot2; slot1; slot3;";alias "bind_KP_7_buy" "bind KP_7 buy_p4; slot2; slot1; slot3;";alias "bind_KP_7_sell" "bind KP_7 sell_p4;sell_p3; slot2; slot1; slot3;";alias "bind_KP_8_buy" "bind KP_8 buy_p2; slot2; slot1; slot3;";alias "bind_KP_8_sell" "bind KP_8 sell_p2; slot2; slot1; slot3;";alias "bind_KP_9_buy" "bind KP_9 buy_p5; slot2; slot1; slot3;";alias "bind_KP_9_sell" "bind KP_9 sell_p5; slot2; slot1; slot3;";alias "bind_KP_MINUS_buy" "bind KP_MINUS buy_defusekit; slot2; slot1; slot3;";alias "bind_KP_MINUS_sell" "bind KP_MINUS sell_defusekit; slot2; slot1; slot3;";alias "bind_KP_PLUS_buy" "bind KP_PLUS buy_r5; slot2; slot1; slot3;";alias "bind_KP_PLUS_sell" "bind KP_PLUS sell_r5;sell_r4; slot2; slot1; slot3;";alias "bind_KP_DIVIDE_buy" "bind KP_DIVIDE buy_m1; slot2; slot1; slot3;";alias "bind_KP_DIVIDE_sell" "bind KP_DIVIDE sell_m1; slot2; slot1; slot3;";alias "bind_KP_MULTIPLY_buy" "bind KP_MULTIPLY buy_m2; slot2; slot1; slot3;";alias "bind_KP_MULTIPLY_sell" "bind KP_MULTIPLY sell_m2; slot2; slot1; slot3;";alias "bind_KP_DEL_buy" "bind KP_DEL buy_kevlar; slot2; slot1; slot3;";alias "bind_KP_DEL_sell" "bind KP_DEL sell_kevlar; slot2; slot1; slot3;";alias "bind_KP_ENTER_buy" "bind KP_ENTER buy_kevlarhelmet; slot2; slot1; slot3;";alias "bind_KP_ENTER_sell" "bind KP_ENTER sell_kevlarhelmet; slot2; slot1; slot3;"
// sell modifier
alias "+sellmodifier" "bind_KP_0_sell;bind_KP_1_sell;bind_KP_2_sell;bind_KP_3_sell;bind_KP_4_sell;bind_KP_5_sell;bind_KP_6_sell;bind_KP_7_sell;bind_KP_8_sell;bind_KP_9_sell;bind_KP_MINUS_sell;bind_KP_PLUS_sell;bind_KP_DIVIDE_sell;bind_KP_MULTIPLY_sell;bind_KP_DEL_sell;bind_KP_ENTER_sell"
alias "-sellmodifier" "bind_KP_0_buy;bind_KP_1_buy;bind_KP_2_buy;bind_KP_3_buy;bind_KP_4_buy;bind_KP_5_buy;bind_KP_6_buy;bind_KP_7_buy;bind_KP_8_buy;bind_KP_9_buy;bind_KP_MINUS_buy;bind_KP_PLUS_buy;bind_KP_DIVIDE_buy;bind_KP_MULTIPLY_buy;bind_KP_DEL_buy;bind_KP_ENTER_buy"
bind "DOWNARROW" "+sellmodifier"
// normal binds
bind "KP_0" "buy_r1; slot2; slot1; slot3;"
bind "KP_1" "buy_flash; slot2; slot1; slot3;"
bind "KP_2" "buy_he; slot2; slot1; slot3;"
bind "KP_3" "buy_smoke; slot2; slot1; slot3;"
bind "KP_4" "buy_molotov; slot2; slot1; slot3;"
bind "KP_5" "buy_decoy; slot2; slot1; slot3;"
bind "KP_6" "buy_r2; slot2; slot1; slot3;"
bind "KP_7" "buy_p4; slot2; slot1; slot3;"
bind "KP_8" "buy_p2; slot2; slot1; slot3;"
bind "KP_9" "buy_p5; slot2; slot1; slot3;"
bind "KP_MINUS" "buy_defusekit; slot2; slot1; slot3;"
bind "KP_PLUS" "buy_r5; slot2; slot1; slot3;"
bind "KP_DIVIDE" "buy_m1; slot2; slot1; slot3;"
bind "KP_MULTIPLY" "buy_m2; slot2; slot1; slot3;"
bind "KP_DEL" "buy_kevlar; slot2; slot1; slot3;"
bind "KP_ENTER" "buy_kevlarhelmet; slot2; slot1; slot3;"
// buy modifier binds
alias "bind_KP_7_buy_p4" "bind KP_7 buy_p4;slot2; slot1; slot3;"
alias "bind_KP_7_buy_p3" "bind KP_7 buy_p3;slot2; slot1; slot3;"
alias "bind_KP_PLUS_buy_r5" "bind KP_PLUS buy_r5;slot2; slot1; slot3;"
alias "bind_KP_PLUS_buy_r4" "bind KP_PLUS buy_r4;slot2; slot1; slot3;"
alias "+buymodifier" "bind_KP_7_buy_p3;bind_KP_PLUS_buy_r4"
alias "-buymodifier" "bind_KP_7_buy_p4;bind_KP_PLUS_buy_r5"
bind "RIGHTARROW" "+buymodifier"
//~~~~~~~~~~~~~~~~~~~~~~~~~~~
// MOUSE
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
zoom_sensitivity_ratio "0.818933027098955175"
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// MOUSE BINDS
//~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Follow Recoil Toggle START
alias "+shootfolrec" "cl_crosshair_recoil true;"
alias "-shootfolrec" "-attack;cl_crosshair_recoil false;"
bind "MOUSE1" "+attack" // default bind to fix spectate controls display
bind "MOUSE1" "+attack;+shootfolrec;-use"
bind "1" "slot1; bind mouse1 +attack;+shootfolrec;-use"
bind "2" "slot2; bind mouse1 +attack;-shootfolrec;-use"
bind "MWHEELUP" "slot1; bind mouse1 +attack;+shootfolrec;-use"
bind "MWHEELDOWN" "slot2; bind mouse1 +attack;-shootfolrec;-use"
// Follow Recoil Toggle END
bind "MOUSE3" "+radialradio"
cl_radial_radio_tab_0_text_1 "#Chatwheel_requestspend"
cl_radial_radio_tab_0_text_2 "#Chatwheel_requestweapon"
cl_radial_radio_tab_0_text_3 "#Chatwheel_bplan"
cl_radial_radio_tab_0_text_4 "#Chatwheel_multipleenemieshere"
cl_radial_radio_tab_0_text_5 "#Chatwheel_midplan"
cl_radial_radio_tab_0_text_6 "#Chatwheel_oneenemyhere"
cl_radial_radio_tab_0_text_7 "#Chatwheel_aplan"
cl_radial_radio_tab_0_text_8 "#Chatwheel_requestecoround"
//~~~~~~~~~~~~~~~~~~~~~~~~~~~
// VIEWMODEL (use viewmodel_presetpos to set back to defaults)
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
viewmodel_presetpos "0" // 0:custom,1:desktop,2:couch,3:classic - Default: 1
viewmodel_fov "54.0"
viewmodel_offset_x "-1.4"
viewmodel_offset_y "2.0"
viewmodel_offset_z "-2.0"
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// NADE LINEUP CROSSHAIR (change values in -nlhair to your the ones from your real crosshair!)
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
alias "+nlhair" "cl_crosshair_t 0;cl_crosshairgap -4;cl_crosshairsize 5000.0"
alias "-nlhair" "cl_crosshair_t 0;cl_crosshairgap -0.5;cl_crosshairsize 2.0"
bind "T" "+nlhair"
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// CROSSHAIR
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cl_crosshair_drawoutline "1"
cl_crosshair_dynamic_maxdist_splitratio "1.000000"
cl_crosshair_dynamic_splitalpha_innermod "0.000000"
cl_crosshair_dynamic_splitalpha_outermod "1.000000"
cl_crosshair_dynamic_splitdist "3"
cl_crosshair_outlinethickness "1.000000"
cl_crosshair_recoil "0"
cl_crosshair_sniper_show_normal_inaccuracy "0"
cl_crosshair_sniper_width "2"
cl_crosshair_t "0"
cl_crosshairalpha "255"
cl_crosshaircolor "5"
cl_crosshaircolor_b "255"
cl_crosshaircolor_g "255"
cl_crosshaircolor_r "255"
cl_crosshairdot "0"
cl_crosshairgap "-0.5"
cl_crosshairgap_useweaponvalue "0"
cl_crosshairsize "2.0"
cl_crosshairstyle "4"
cl_crosshairthickness "0.5"
cl_crosshairusealpha "0"
cl_debounce_zoom "true"
cl_fixedcrosshairgap "3.000000"
cl_crosshair_friendly_warning "2" //0: always off, 1: only on default crosshair styles, 2: always on
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// FUN
//~~~~~~~~~~~~~~~~~~~~~~~~~~~
bind "N" "say Ok."
bind "]" "say Yes." // ´ next to backspace on QWERTZ layout
//~~~~~~~~~~~~~~~~~~~~~~~~~~~
echo "<< END: Autoexec.cfg"
play ambient/creatures/chicken_death_02
host_writeconfig