confOS/games/cs2/autoexec.cfg
2024-09-14 15:34:54 +02:00

46 lines
1.6 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'"
// Scan code: https://europe1.discourse-cdn.com/arduino/original/4X/1/1/4/114781aa9e26c56002ed8f611a9b3554dc2e0f52.png
// Load custom config
exec myconfig
// Harry Potter
unbind "scancode77"
bind "scancode77" "disconnect"
// Change hand
unbind "scancode20"
bind "scancode20" "switchhands"
// FPS in tab // CS2: Not working in endscreen
// alias "+scorenet" "+showscores; cl_showfps 1"
// alias "-scorenet" "-showscores; cl_showfps 0"
// unbind "scancode43"
// bind "scancode43" "+scorenet"
// Noclip
unbind "scancode19"
bind "scancode19" "sv_cheats 1; noclip"
// Left and right
alias "+ll" "+turnleft"
alias "-ll" "-turnleft"
alias "+rr" "+turnright"
alias "-rr" "-turnright"
// Load custom game script
alias "cg" "exec customgame"
// Reload script
unbind "scancode78"
bind "scancode78" "exec autoexec"
// Save settings
host_writeconfig
// Debug message
echo "========================================================================================================================================================================"
echo "======================================================================== LOADED CONFIGURATION ! ========================================================================"
echo "========================================================================================================================================================================"