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~ ~ ~ ~ ~ ~ ~ //
  14. alias m "toggle snd_mute_losefocus"
  15. alias cheats "sv_cheats 1"
  16. alias nades "buy smokegrenade;buy flashbang;buy hegrenade;"
  17. alias dd2 "map de_dust2;exec gamemode_casual;mp_freezetime 0;mp_buytime 9999;sv_infinite_ammo 2"
  18. alias mpr "mp_restartgame 1"
  19. alias fr "mp_freezetime 0"
  20. alias inf "sv_cheats 1;sv_infinite_ammo 1"
  21. alias msg ignoremsg
  22. alias rad ignorerad
  23. alias afk0 "-forward; -left; -turnleft"
  24. alias afk1 "+forward; +left; +turnleft"
  25. alias sound_success "playvol common\bugreporter_succeeded 1"
  26. alias sound_success_2 "playvol buttons\blip2` 0.5"
  27. alias sound_failure "playvol buttons\weapon_cant_buy 0.3"
  28. alias d "disconnect"
  29.  
  30. alias ptt_off "unbind mouse3;echo ptt_off;bind p ptt_on;alias p ptt_on;playvol buttons\blip2 0.5"
  31. alias ptt_on "bind mouse3 +voicerecord;bind n +voicerecord;echo ptt_on;bind p ptt_off;alias p ptt_off;playvol buttons\blip2 0.5"
  32. alias p "ptt_off"
  33. bind p ppt_off
  34.  
  35. // ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ //
  36. // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BINDS ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ //
  37. // ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ //
  38.  
  39. bind mwheelup ""
  40. bind mwheeldown +jump
  41. bind mouse1 +attack
  42. bind mouse2 +attack2
  43. bind mouse3 +voicerecord
  44. bind mouse4 +turnleft
  45. bind mouse5 +turnright
  46.  
  47. bind ` toggleconsole
  48. bind TAB +showscores
  49.  
  50. bind w +forward
  51. bind a +left
  52. bind s +back
  53. bind d +right
  54.  
  55. bind alt +turnright
  56. bind mouse4 +turnleft
  57. bind shift +sprint
  58.  
  59. alias "+radarbombfind" "+use; cl_radar_always_centered 0;"
  60. alias "-radarbombfind" "-use; cl_radar_always_centered 1;"
  61. bind e +radarbombfind
  62.  
  63. alias "+fastersens" "sensitivity 0.45;cl_crosshairsize 2; cl_crosshairgap 3;"
  64. alias "-fastersens" "sensitivity 0.26; cl_crosshairsize 0; cl_crosshairgap -3;"
  65. bind alt +fastersens
  66.  
  67. bind r +reload
  68.  
  69. alias +fixawp "slot3;"
  70. alias -fixawp "slot2;slot1;"
  71. alias fixawp "slot2;slot1"
  72. bind q +fixawp
  73. // bind q lastinv
  74.  
  75. bind g drop
  76. bind ' radaroff
  77. unbind \
  78. bind x player_ping
  79. bind z noclip
  80. bind b buymenu
  81. bind n +voicerecord
  82. bind m teammenu
  83. bind . messagemode2
  84. bind / messagemode
  85. bind SHIFT +sprint
  86. bind ctrl +duck
  87. bind Space +jump
  88.  
  89. bind F1 "voice_modenable 1;sound_success_2;echo VOICE_ON"
  90. bind F2 "voice_modenable 0;sound_failure;echo VOICE_OFF"
  91.  
  92. bind F3 "" // Steam Overlay
  93. bind F4 "" // Steam Screenshot
  94. bind F6 ""
  95. bind F7 "" // Buy AWP cuz of AHK (see below)
  96. bind F8 ""
  97. bind F9 ""
  98. bind F10 "volume 0"
  99.  
  100. bind 1 slot1
  101. bind 2 slot2
  102. bind 3 slot3
  103. bind 4 slot6
  104. bind 5 slot5
  105. bind 6 slot12 // Healthshot
  106. bind 8 ""
  107. bind 9 slot9
  108. bind 0 slot10
  109.  
  110. // Drop C4 command
  111. // alias +c4drop "use weapon_knife;slot5"
  112. // alias -c4drop "drop"
  113. // bind KP_ENTER +c4drop
  114. // bind capslock +c4drop
  115. // bind enter +c4drop
  116. // alias c4drop "use weapon_knife;use weapon_c4;drop;slot2;slot1"
  117. // bind KP_ENTER c4drop
  118. // unbind KP_ENTER
  119.  
  120. bind leftarrow spec_prev
  121. bind rightarrow spec_next
  122. bind f10 "volume 0"
  123. bind f11 "incrementvar volume 0 1 -0.1"
  124. bind f12 "incrementvar volume 0 1 0.1"
  125.  
  126. bind semicolon "incrementvar cl_radar_scale 0.25 1 0.05"
  127. bind ' "incrementvar cl_radar_scale 0.25 1 -0.05"
  128.  
  129. // clear all smokes and nades
  130. bind i "ent_fire smokegrenade_projectile kill;ent_fire molotov_projectile kill;ent_fire flashbang_projectile kill;ent_fire hegrenade_projectile kill;ent_fire decoy_projectile kill;stopsound"
  131.  
  132. // ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ //
  133. // ~~~~~~~~~~~~~~~~~~~~~~ CROSSHAIR COMMANDS ~~~~~~~~~~~~~~~~~~~~~~~~~ //
  134. // ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ //
  135. // Style:
  136. alias s0 "cl_crosshairstyle 0"
  137. alias s1 "cl_crosshairstyle 1"
  138. alias s2 "cl_crosshairstyle 2"
  139. alias s3 "cl_crosshairstyle 3"
  140. alias s4 "cl_crosshairstyle 4"
  141. alias s5 "cl_crosshairstyle 5"
  142. bind 7 "toggle cl_crosshairstyle 1 2 3 4 5"
  143. bind 8 "toggle cl_crosshairstyle 5 4 3 2 1"
  144.  
  145. // Alpha:
  146. bind [ "toggle cl_crosshairalpha 255 200 175 100 50 0"
  147. bind ] "toggle cl_crosshairalpha 0 50 100 175 200 255"
  148.  
  149. // Size:
  150. bind = "incrementvar cl_crosshairsize 0 15 0.5"
  151. bind - "incrementvar cl_crosshairsize 0 15 -0.5"
  152.  
  153. // Gap:
  154. bind 0 "incrementvar cl_crosshairgap -10 10 1"
  155. bind 9 "incrementvar cl_crosshairgap -10 10 -1"
  156.  
  157. // Outline:
  158. bind o "toggle cl_crosshair_outlinethickness 0 0.5 1" // 0.5 not available yet
  159.  
  160. // Colors:
  161. bind j "incrementvar cl_crosshaircolor 0 5 1"
  162. bind k "incrementvar cl_crosshaircolor 0 5 -1"
  163.  
  164. // Dot:
  165. bind p "toggle cl_crosshairdot 0 1"
  166.  
  167. // Thickness:
  168. bind u "toggle cl_crosshairthickness 0 1 2"
  169.  
  170. // ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ //
  171. // ~~~~~~~~~~~~~~~~~~~~~~~~~~ HUD VARs ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ //
  172. // ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ //
  173. cl_crosshair_sniper_width 0
  174. cl_teammate_colors_show 1
  175. hud_showtargetid 1
  176. cl_radar_rotate 1
  177. cl_radar_square_with_scoreboard 0
  178. cl_radar_scale 0.3
  179. cl_radar_icon_scale_min 0.8
  180. cl_radar_always_centered 1
  181.  
  182. // ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ //
  183. // ~~~~~~~~~~~~~~~~~~~~~~~~~~ SOUND VARs ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ //
  184. // ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ //
  185. snd_mixahead 0.05
  186. snd_deathcamera_volume 0.0
  187. snd_mapobjective_volume 0.0
  188. snd_menumusic_volume 0.0
  189. snd_roundend_volume 0.0
  190. snd_roundstart_volume 0.0
  191. snd_tensecondwarning_volume 0.2
  192. voice_loopback 0
  193. snd_headphone_eq 1
  194.  
  195. // ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ //
  196. // ~~~~~~~~~~~~~~~~~~~~~~~~~~ MISC VARs ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ //
  197. // ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ //
  198. spec_usenumberkeys_nobinds 0
  199. option_duck_method 0
  200. option_speed_method 0
  201. engine_no_focus_sleep 0
  202. weapon_reticle_knife_show 1
  203. ui_steam_overlay_notification_position topleft
  204. player_nevershow_communityservermessage 1
  205. net_client_steamdatagram_enable_override -1
  206. cl_drawhud_force_radar 1
  207. con_enable 1
  208. mm_queue_show_stats 1
  209. gameinstructor_enable 0
  210. cl_autohelp 0
  211. cl_dm_buyrandomweapons 0
  212. cl_mute_enemy_team 1
  213. cl_use_opens_buy_menu 0
  214. cl_join_advertise 2
  215. fps_max 400
  216. viewmodel_presetpos 3
  217. cl_scoreboard_mouse_enable_binding +reload
  218.  
  219. // ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ //
  220. // ~~~~~~~~~~~~~~~~~~~~~~~~~ Keyboard Buy ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ //
  221. // ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ //
  222. bind backspace "buy defuser";
  223.  
  224. bind del "buy rifle1";
  225. bind ins "buy rifle4";
  226. bind F7 "buy awp"; // cuz ins is converted to printscreen on my pc, in cs2 I make it into F7 with ahk
  227.  
  228. bind home "buy vesthelm";
  229. bind end "buy vest";
  230.  
  231. bind pgdn "buy secondary3";
  232. bind pgup "buy deagle";
  233.  
  234. bind uparrow "buy molotov";
  235. bind leftarrow "buy smokegrenade";
  236. bind downarrow "buy flashbang";
  237. bind rightarrow "buy hegrenade";
  238.  
  239. // Backspace For Defuser
  240. // ====================================
  241. // AWP VESTHELM DEAGLE
  242. //
  243. // AK VEST FIVESEVEN
  244. //
  245. //
  246. // MOLOTOV
  247. // NADE FLASH SMOKE
  248. // ====================================
  249.  
  250. // ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ //
  251. // ~~~~~~~~~~~~~~~~~~~~~~~~ WEAPON ALIASES ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ //
  252. // ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ //
  253. alias szlock "give weapon_glock"
  254. alias p2000 "give weapon_hkp2000"
  255. alias scout "give weapon_ssg08"
  256. alias autoshotty "give weapon_xm1014"
  257. alias mac10 "give weapon_max10"
  258. alias aug "give weapon_aug"
  259. alias dualies "give weapon_elite"
  260. alias fiveseven "give weapon_fiveseven"
  261. alias ump "give weapon_ump45"
  262. alias sg "give weapon_sg550"
  263. alias szalil "give weapon_galilar"
  264. alias famas "give weapon_famas"
  265. alias awp "give weapon_awp"
  266. alias m249 "give weapon_m249"
  267. alias m4 "give weapon_m4a1"
  268. alias tmp "give weapon_tmp"
  269. alias sz3sg1 "give weapon_g3sg1"
  270. alias deagle "give weapon_deagle"
  271. alias ak "give weapon_ak47"
  272. alias p90 "give weapon_p90"
  273. alias bizon "give weapon_bizon"
  274. alias mag7 "give weapon_mag7"
  275. alias negev "give weapon_negev"
  276. alias sawedoff "give weapon_sawedoff"
  277. alias tec9 "give weapon_tec9"
  278. alias mp7 "give weapon_mp7"
  279. alias mp9 "give weapon_mp9"
  280. alias nova "give weapon_nova"
  281. alias p250 "give weapon_p250"
  282. alias scar17 "give weapon_scar17"
  283. alias scar20 "give weapon_scar20"
  284. alias flash "give weapon_flashbang"
  285. alias smoke "give weapon_smokegrenade"
  286. alias nade "give weapon_hegrenade"
  287. alias moly "give weapon_molotov"
  288. alias decoy "give weapon_decoydecoy"
  289. alias zues "give weapon_zues"
  290. alias taser "give weapon_taser"
  291.  
  292. // Afk alias
  293. alias afk0 "-forward; -left; -turnleft"
  294. alias afk1 "+forward; +left; +turnleft"
  295.  
  296. // Simple crosshair follow recoil when spraying only
  297. // alias +shootr "+attack;cl_crosshair_recoil 1;"
  298. // alias -shootr "cl_crosshair_recoil 0;-attack;"
  299. // bind mouse1 "+shootr"
  300.  
  301. // Crosshair follow recoil when spraying only with Primaries (disabled on pistols)
  302. bind mouse1 "+attack"
  303. alias "+darky_shootR" "+attack;cl_crosshair_recoil 1"
  304. alias "-darky_shootR" "-attack;cl_crosshair_recoil 0"
  305. alias "darky_toggle_on" "bind mouse1 +darky_shootR; alias darky_toggle darky_toggle_off"
  306. alias "darky_toggle_off" "bind mouse1 +attack; alias darky_toggle darky_toggle_on"
  307. alias "darky_toggle" "darky_toggle_on;"
  308. bind 1 "slot1; darky_toggle_on; alias darky_toggle darky_toggle_off"
  309. bind 2 "slot2; darky_toggle_off; alias darky_toggle darky_toggle_on"
  310. bind 3 "slot3; darky_toggle"
  311. bind 5 "slot5; darky_toggle"
  312. bind q "+fixawp; darky_toggle_on"
  313.  
  314. // Disabling crosshair follow
  315. bind 1 slot1
  316. bind 2 slot2
  317. bind 3 slot3
  318. bind 5 slot5
  319. bind q "+fixawp"
  320.  
  321. // ========== Quality of Life settings ==========
  322. hud_showtargetid 1 // Enables display of target names (red text)
  323. r_show_build_info 1 // Disable build info text bottom left
  324. r_csgo_water_effects 1 // 0 for better FPS near water
  325. r_csgo_water_refraction 1 // 0 for better FPS near water - was getting a lot of errors tho, so trying 1
  326.  
  327. // ========== auto nade-inspect binds ==========
  328. bind 4 "slot6;+lookatweapon;-lookatweapon" // HE grenade
  329. bind f "slot7;buy flashbang;+lookatweapon;-lookatweapon" // Flashbang
  330. bind c "slot8;+lookatweapon;-lookatweapon" // Smoke grenade
  331. bind t "slot10;buy molotov;+lookatweapon;-lookatweapon" // Molotov
  332.  
  333. // ========== drop c4 ==========
  334. alias +c4 slot5;
  335. alias -c4 drop;
  336. bind y +c4;
  337.  
  338. bind l "incrementvar r_fullscreen_gamma 1.4 1.9 0.05"
  339.  
  340. host_writeconfig
  341.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement