2023-03-15 11:39:11 +01:00
|
|
|
// Update this script, run this in cmd:
|
2023-09-28 11:56:51 +02:00
|
|
|
// 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'"
|
2023-03-15 11:39:11 +01:00
|
|
|
|
2023-03-26 16:24:01 +02:00
|
|
|
// Load custom config
|
2023-03-26 16:25:30 +02:00
|
|
|
exec myconfig
|
2023-03-25 23:05:30 +01:00
|
|
|
|
2023-03-15 10:37:02 +01:00
|
|
|
// Harry Potter
|
2023-03-15 11:39:11 +01:00
|
|
|
unbind "KP_MINUS"
|
2023-03-15 10:37:02 +01:00
|
|
|
bind "KP_MINUS" "disconnect"
|
|
|
|
|
2023-09-28 12:21:38 +02:00
|
|
|
// Change hand - CS2 doesn't support left hand yet
|
|
|
|
// unbind "a"
|
|
|
|
// bind "a" "toggle cl_righthand 0 1"
|
2023-03-15 11:39:11 +01:00
|
|
|
|
|
|
|
// FPS in tab
|
2023-09-28 12:08:00 +02:00
|
|
|
alias "+scorenet" "+showscores; cl_showfps 1 1"
|
|
|
|
alias "-scorenet" "-showscores; cl_showfps 1 0"
|
2023-03-15 11:39:11 +01:00
|
|
|
unbind "TAB"
|
|
|
|
bind "TAB" "+scorenet"
|
|
|
|
|
2023-03-15 12:13:39 +01:00
|
|
|
// Noclip
|
2023-03-15 12:40:20 +01:00
|
|
|
unbind "p"
|
2023-03-15 12:13:39 +01:00
|
|
|
bind "p" "sv_cheats 1; noclip"
|
|
|
|
|
2023-03-15 12:40:20 +01:00
|
|
|
// Load custom game script
|
|
|
|
alias "cg" "exec customgame"
|
|
|
|
|
2023-03-15 12:13:39 +01:00
|
|
|
// Reload script
|
|
|
|
unbind "SEMICOLON"
|
2023-03-15 12:40:20 +01:00
|
|
|
bind "SEMICOLON" "exec autoexec"
|
2023-03-15 12:13:39 +01:00
|
|
|
|
2023-03-26 16:31:37 +02:00
|
|
|
// Save settings
|
|
|
|
host_writeconfig
|
|
|
|
|
2023-03-15 11:39:11 +01:00
|
|
|
// Debug message
|
|
|
|
echo "========================================================================================================================================================================"
|
|
|
|
echo "======================================================================== LOADED CONFIGURATION ! ========================================================================"
|
|
|
|
echo "========================================================================================================================================================================"
|