port configuration to cs2

This commit is contained in:
Guanran Wang 2023-10-04 16:22:20 +08:00
parent 5051252098
commit 05379e1ff2
3 changed files with 23 additions and 42 deletions

View file

@ -1,9 +1,8 @@
// CS:GO autoexec
//
// launch arguments: -novid -nojoy +exec autoexec.cfg
// optional arguments: -perfectworld/-worldwide, -tickrate 128 +cl_updaterate 128 +cl_cmdrate 128
// linux specific arguments: (prefix ) mangohud gamemoderun %command%
// (arguments) -vulkan
// optional arguments: -perfectworld/-worldwide
// linux specific arguments: (prefix) mangohud gamemoderun %command%
// (remember to install: mangohud gamemode)
//
@ -13,8 +12,8 @@
// alias -duckjump "-jump; -duck"
volume 0.5
alias +incvol "+speed; volume 1"
alias -incvol "-speed; volume 0.5"
alias +incvol "+sprint; volume 1"
alias -incvol "-sprint; volume 0.5"
alias incvoltoggle "toggle volume 1 0.5"
@ -23,44 +22,39 @@ alias -switchknife lastinv
// ========perfomance settings========
fps_max ""
fps_max_menu ""
// r_dynamic "0"
// r_drawparticles "1"
// mat_disable_bloom "1"
// ========binds========
unbindall
bind "1" "slot1"
bind "2" "slot2"
bind "3" "use weapon_knife; use weapon_smokegrenade"
bind "4" "use weapon_knife; use weapon_molotov; use weapon_incgrenade"
bind "3" "slot8" // smoke
bind "4" "slot10" // molly
bind "5" "slot5"
bind "0" "slot12"
bind "a" "+moveleft"
bind "a" "+left"
bind "b" "buymenu"
bind "c" "toggle cl_righthand"
bind "d" "+moveright"
bind "e" "+use; r_cleardecals"
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 220.022"
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.2 1024"
bind "v" "toggle cl_crosshairsize 1 1024"
bind "w" "+forward"
bind "x" "use weapon_knife; use weapon_flashbang"
bind "x" "slot7"
bind "y" "messagemode"
bind "z" "slot4"
bind "`" "toggleconsole"
bind "," "buyammo1"
bind "." "buyammo2"
bind "CAPSLOCK" "incvoltoggle"
// bind "SPACE" "+duckjump"
bind "SPACE" "+jump"
@ -73,21 +67,23 @@ bind "ALT" "radio2"
//bind "ALT" "sv_cheats 1; noclip"
//bind "ALT" "+switchknife"
bind "CTRL" "+duck"
bind "LEFTARROW" "+left"
bind "RIGHTARROW" "+right"
bind "LEFTARROW" "+turnleft"
bind "RIGHTARROW" "+turnright"
bind "F3" "autobuy"
bind "F4" "rebuy"
bind "F5" "jpeg"
bind "F6" "save quick"
bind "F7" "load quick"
bind "F10" "quit prompt"
bind "MOUSE1" "+attack"
bind "MOUSE2" "+attack2"
bind "MOUSE3" "+jump; -attack; -attack2; -jump"
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"
// ========crosshair 2========
@ -148,8 +144,6 @@ sensitivity "1.62479"
// sensitivity "1.4"
// sensitivity "1.39948"
// sensitivity "1.716426666666667"
m_rawinput "1"
m_customaccel "0"
// ========radar========
@ -160,20 +154,10 @@ cl_radar_scale "0.3"
cl_radar_square_with_scoreboard "1"
// ========netgraph========
net_graph "1" // enable netgraph
net_graphproportionalfont "0" // small netgraph text
net_graphpos "2" // middle netgraph
// ========hud========
cl_hud_color "2" // Cyan hud
cl_hud_playercount_showcount "1" // minimize player pics
cl_hud_color "3" // Cyan hud
cl_showloadout "1" // hud do not autohide
cl_autohelp "1" // disable game instructor
cl_showhelp "0" // disable dropped item message
gameinstructor_enable "0" // unsure
@ -181,9 +165,4 @@ gameinstructor_enable "0" // unsure
// cl_clanid "42791804" // cxk clan
cl_use_opens_buy_menu "1" // use "e" to open buy menu
// ========viewmodel========
viewmodel_recoil "0" // disable viewmodel recoil
host_writeconfig

4
jumpthrow.cfg Executable file
View file

@ -0,0 +1,4 @@
+jump
-attack
-attack2
-jump

View file

@ -1,6 +1,4 @@
sv_cheats 1
sv_grenade_trajectory 1
sv_grenade_trajectory_time 10
sv_showimpacts 2
sv_infinite_ammo 1
ammo_grenade_limit_total 5