confOS/games/cs2/autoexec.cfg
2023-09-28 11:56:51 +02:00

47 lines
1.5 KiB
INI

// Update this script, run this in cmd:
// PowerShell -Command "Invoke-WebRequest -Uri https://git.mylloon.fr/Anri/confOS/raw/branch/main/games/csgo/autoexec.cfg -OutFile '%ProgramFiles(x86)%\Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo\cfg\autoexec.cfg'"
// Load custom config
exec myconfig
// Harry Potter
unbind "KP_MINUS"
bind "KP_MINUS" "disconnect"
// Change hand
unbind "a"
bind "a" "toggle cl_righthand 0 1"
// jumpthrow
alias "+jumpthrow" "+jump; -attack"
alias "-jumpthrow" "-jump"
unbind "x"
bind "x" "+jumpthrow"
// FPS in tab
net_graphpos "2"
net_graphheight "250"
net_graphproportionalfont "0"
alias "+scorenet" "+showscores; net_graph 1"
alias "-scorenet" "-showscores; net_graph 0"
unbind "TAB"
bind "TAB" "+scorenet"
// Noclip
unbind "p"
bind "p" "sv_cheats 1; noclip"
// Load custom game script
alias "cg" "exec customgame"
// Reload script
unbind "SEMICOLON"
bind "SEMICOLON" "exec autoexec"
// Save settings
host_writeconfig
// Debug message
echo "========================================================================================================================================================================"
echo "======================================================================== LOADED CONFIGURATION ! ========================================================================"
echo "========================================================================================================================================================================"