From f4cba18c6549a4258b55eb7800e36ed6e2a4d599 Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Tue, 28 Nov 2023 16:34:48 +0800 Subject: [PATCH] treewide: overhaul --- autoexec.cfg | 242 ++++++++++++++++++++++---------------------------- jumpthrow.cfg | 3 + 2 files changed, 111 insertions(+), 134 deletions(-) diff --git a/autoexec.cfg b/autoexec.cfg index 42f3ba0..9160966 100755 --- a/autoexec.cfg +++ b/autoexec.cfg @@ -1,152 +1,127 @@ -// CS:GO autoexec // -// launch arguments: -novid -nojoy +exec autoexec.cfg -// optional arguments: -perfectworld/-worldwide -// linux specific arguments: (prefix) mangohud gamemoderun %command% -// (remember to install: mangohud gamemode) +// CS2 autoexec +// +// Launch arguments: gamemoderun %command% +exec autoexec.cfg +// +// https://github.com/Guanran928/csgo-autoexec +// thanks @jounim! https://steamcommunity.com/sharedfiles/filedetails/?id=3035701443 // -// ========alias======== -// alias +duckjump "+jump; +duck" -// alias -duckjump "-jump; -duck" - -volume 0.5 +// Alias +alias +duckjump "+jump; +duck" +alias -duckjump "-jump; -duck" alias +incvol "+sprint; volume 1" alias -incvol "-sprint; volume 0.5" - -alias incvoltoggle "toggle volume 1 0.5" - alias +switchknife slot3 alias -switchknife lastinv -// ========perfomance settings======== -fps_max "" -// r_drawparticles "1" -// ========binds======== +// Sensitivity +// https://www.reddit.com/r/GlobalOffensive/comments/43urd4/why_0818933027098955175_is_the_best_zoom/ +sensitivity "1.62479" +zoom_sensitivity_ratio "0.818933027098955175" + + + +// Binds unbindall -bind "1" "slot1" -bind "2" "slot2" -bind "3" "slot8" // smoke -bind "4" "slot10" // molly -bind "5" "slot5" -bind "0" "slot12" -bind "a" "+left" -bind "b" "buymenu" -bind "c" "toggle cl_righthand" -bind "d" "+right" -bind "e" "+use" -bind "f" "+lookatweapon" -bind "g" "drop" -bind "k" "+voicerecord" -bind "j" "toggle voice_enable" -bind "l" "toggle m_yaw 0.022 50" -bind "m" "teammenu" -bind "q" "+switchknife" -bind "r" "+reload" -bind "s" "+back" -bind "t" "+spray_menu" -bind "u" "messagemode2" -bind "v" "toggle cl_crosshairsize 1 1024" -bind "w" "+forward" -bind "x" "slot7" -bind "y" "messagemode" -bind "z" "slot4" -bind "`" "toggleconsole" -bind "CAPSLOCK" "incvoltoggle" -// bind "SPACE" "+duckjump" -bind "SPACE" "+jump" -bind "TAB" "+showscores" -bind "ESCAPE" "cancelselect" -bind "DEL" "mute" -bind "PAUSE" "pause" -bind "SHIFT" "+incvol" -bind "ALT" "radio2" -//bind "ALT" "sv_cheats 1; noclip" -//bind "ALT" "+switchknife" -bind "CTRL" "+duck" +cl_use_opens_buy_menu "1" + +// Movement binds +bind "w" "+forward" +bind "a" "+left" +bind "s" "+back" +bind "d" "+right" +bind "CTRL" "+duck" +bind "SHIFT" "+incvol" +bind "SPACE" "+duckjump" +bind "MWHEELUP" "+jump" +bind "MWHEELDOWN" "+jump" +bind "MOUSE_X" "yaw" +bind "MOUSE_Y" "pitch" +bind "MOUSE3" "exec jumpthrow.cfg" + + +// Weapon binds +bind "MOUSE1" "+attack" +bind "MOUSE2" "+attack2" +bind "r" "+reload" +bind "e" "+use" +bind "f" "+lookatweapon" +bind "g" "drop" + + +// UI binds +bind "TAB" "+showscores" +bind "ESCAPE" "cancelselect" +bind "`" "toggleconsole" +bind "b" "buymenu" +bind "m" "teammenu" +bind "t" "+spray_menu" + + +// Slot binds +bind "1" "slot1" // primary +bind "2" "slot2" // secondary + +bind "3" "slot8" // smoke +bind "4" "slot10" // molly +bind "z" "slot6" // he +bind "x" "slot7" // flash + +bind "MOUSE4" "slot3" // knife +bind "5" "slot5" // c4 +bind "0" "slot12" // healthshot +bind "q" "+switchknife" // quick switch + + +// Communication binds +// Text +bind "y" "messagemode" // all chat +bind "u" "messagemode2" // team chat + +// Voice +bind "j" "toggle voice_modenable" +bind "k" "+voicerecord" +bind "MOUSE5" "+voicerecord" + +// Others +bind "ALT" "player_ping" +bind "c" "radio2" + + +// Misc binds bind "LEFTARROW" "+turnleft" bind "RIGHTARROW" "+turnright" -bind "F3" "autobuy" -bind "F4" "rebuy" -bind "F6" "save quick" -bind "F7" "load quick" -bind "F10" "quit prompt" -bind "MOUSE1" "+attack" -bind "MOUSE2" "+attack2" -bind "MOUSE3" "exec jumpthrow.cfg" // valve borked the ability to bind multiple events - // to a single keybind :shrug: -bind "MOUSE4" "slot3" -bind "MOUSE5" "+voicerecord" -bind "MWHEELUP" "+jump" -bind "MWHEELDOWN" "+jump" -bind "MOUSE_X" "yaw" -bind "MOUSE_Y" "pitch" +bind "v" "toggle cl_crosshairsize 1 1024" +bind "l" "toggle m_yaw 0.022 50" -// ========crosshair 2======== -// cl_crosshair_drawoutline "1" -// cl_crosshair_dynamic_maxdist_splitratio "0" -// cl_crosshair_dynamic_splitalpha_innermod "1" -// cl_crosshair_dynamic_splitalpha_outermod "1" -// cl_crosshair_dynamic_splitdist "4" -// cl_crosshair_friendly_warning "1" -// cl_crosshair_outlinethickness "1" -// cl_crosshair_sniper_show_normal_inaccuracy "0" -// cl_crosshair_sniper_width "1" -// cl_crosshair_t "0" -// cl_crosshairalpha "255" -// cl_crosshaircolor "4" -// cl_crosshaircolor_b "50" -// cl_crosshaircolor_g "250" -// cl_crosshaircolor_r "50" -// cl_crosshairdot "1" -// cl_crosshairgap "-2" -// cl_crosshairgap_useweaponvalue "0" -// cl_crosshairsize "0.5" -// cl_crosshairstyle "5" -// cl_crosshairthickness "0.5" -// cl_crosshairusealpha "0" -// ========crosshair 1======== -// cl_crosshair_drawoutline "0" -// 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" -// cl_crosshair_friendly_warning "1" -// cl_crosshair_outlinethickness "1" -// cl_crosshair_sniper_show_normal_inaccuracy "0" -// cl_crosshair_sniper_width "1" -// cl_crosshair_t "0" -// cl_crosshairalpha "255" -// cl_crosshaircolor "4" -// cl_crosshaircolor_b "50" -// cl_crosshaircolor_g "250" -// cl_crosshaircolor_r "50" -// cl_crosshairdot "1" -// cl_crosshairgap "-5" -// cl_crosshairgap_useweaponvalue "0" -// cl_crosshairsize "1.2" -// cl_crosshairstyle "4" -// cl_crosshairthickness "0.5" -// cl_crosshairusealpha "0" +// Audio +volume "0.5" +snd_menumusic_volume "0" +snd_roundstart_volume "0" +snd_roundaction_volume +snd_roundend_volume "0" +snd_mvp_volume "0" +snd_mapobjective_volume "0" +snd_tensecondwarning_volume "0.04" +snd_deathcamera_volume "0" +snd_voipvolume "0.25" -hud_showtargetid "1" + +// Video +fps_max "0" -// ========sensitivity======== -sensitivity "1.62479" -// sensitivity "1.4" -// sensitivity "1.39948" -// sensitivity "1.716426666666667" - -// ========radar======== +// HUD +// Radar HUD cl_radar_always_centered "0" cl_radar_icon_scale_min "0.5" cl_radar_rotate "0" @@ -154,15 +129,14 @@ cl_radar_scale "0.3" cl_radar_square_with_scoreboard "1" -// ========hud======== -cl_hud_color "3" // Cyan hud -cl_showloadout "1" // hud do not autohide -cl_autohelp "1" // disable game instructor -gameinstructor_enable "0" // unsure +// Misc HUD +cl_hud_color "3" // Cyan +cl_showloadout "1" +cl_autohelp "1" +gameinstructor_enable "0" +hud_showtargetid "1" -// ========others======== -// cl_clanid "42791804" // cxk clan -cl_use_opens_buy_menu "1" // use "e" to open buy menu +// Apply config host_writeconfig diff --git a/jumpthrow.cfg b/jumpthrow.cfg index 9da9737..278299e 100755 --- a/jumpthrow.cfg +++ b/jumpthrow.cfg @@ -1,3 +1,6 @@ +// valve borked the ability to bind multiple events +// to a single keybind :shrug: + +jump -attack -attack2