confOS/games/cs2/autoexec.cfg
2024-06-27 09:01:28 +02:00

40 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'"
// Scan code: https://www.reddit.com/r/GlobalOffensive/comments/1ato9z8/new_key_bind_scancodes_visualized/#lightbox
// Load custom config
exec myconfig
// Harry Potter
unbind "scancode77"
bind "scancode77" "disconnect"
// Change hand - CS2 doesnt support left hand yet
// unbind "a"
// bind "a" "toggle cl_righthand 0 1"
// 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"
// Load custom game script
alias "cg" "exec customgame"
// Reload script
unbind "scancode54"
bind "scancode54" "exec autoexec"
// Save settings
host_writeconfig
// Debug message
echo "========================================================================================================================================================================"
echo "======================================================================== LOADED CONFIGURATION ! ========================================================================"
echo "========================================================================================================================================================================"