Add separated file for config

This commit is contained in:
Mylloon 2023-03-25 23:05:30 +01:00
parent f986c4c758
commit 318fb36c93
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 32 additions and 3 deletions

View file

@ -1,6 +1,9 @@
// Update this script, run this in cmd: // 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\csgo\cfg\autoexec.cfg'" // 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\csgo\cfg\autoexec.cfg'"
// Load custom config
exec config
// Harry Potter // Harry Potter
unbind "KP_MINUS" unbind "KP_MINUS"
bind "KP_MINUS" "disconnect" bind "KP_MINUS" "disconnect"
@ -28,9 +31,6 @@ bind "TAB" "+scorenet"
unbind "p" unbind "p"
bind "p" "sv_cheats 1; noclip" bind "p" "sv_cheats 1; noclip"
// Reload and clear residuals
bind "r" "+reload; r_cleardecals"
// Load custom game script // Load custom game script
alias "cg" "exec customgame" alias "cg" "exec customgame"

29
games/csgo/config.cfg Normal file
View file

@ -0,0 +1,29 @@
// Update this script, run this in cmd:
// PowerShell -Command "Invoke-WebRequest -Uri https://git.mylloon.fr/Anri/confOS/raw/branch/main/games/csgo/config.cfg -OutFile '%ProgramFiles(x86)%\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\cfg\config.cfg'"
// Deplacements
unbind "z"
unbind "q"
unbind "w"
unbind "a"
unbind "s"
unbind "d"
bind "z" "+forward"
bind "q" "+moveleft"
bind "s" "+back"
bind "d" "+moveright"
// Crouch
unbind "CTRL"
unbind "c"
bind "c" "+duck"
// Inspect + Drop
unbind "f"
unbind "g"
bind "f" "drop"
bind "g" "+lookatweapon"
// Reload and clear residuals
unbind "r"
bind "r" "+reload; r_cleardecals"