From 6616305b495f67032b4a67d2c63dc6f88b0fdda4 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Wed, 15 Mar 2023 12:40:20 +0100 Subject: [PATCH] add customgame script --- games/csgo/autoexec.cfg | 9 ++++++--- games/csgo/customgame.cfg | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 3 deletions(-) create mode 100644 games/csgo/customgame.cfg diff --git a/games/csgo/autoexec.cfg b/games/csgo/autoexec.cfg index a66a4ec..a1406da 100644 --- a/games/csgo/autoexec.cfg +++ b/games/csgo/autoexec.cfg @@ -10,7 +10,7 @@ unbind "a" bind "a" "toggle cl_righthand 0 1" // jumpthrow -alias "+jumpthrow" "+jump;-attack" +alias "+jumpthrow" "+jump; -attack" alias "-jumpthrow" "-jump" unbind "x" bind "x" "+jumpthrow" @@ -25,12 +25,15 @@ 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" -alias "rel_ae" "exec autoexec" -bind "SEMICOLON" "rel_ae" +bind "SEMICOLON" "exec autoexec" // Debug message echo "========================================================================================================================================================================" diff --git a/games/csgo/customgame.cfg b/games/csgo/customgame.cfg new file mode 100644 index 0000000..fd0ec44 --- /dev/null +++ b/games/csgo/customgame.cfg @@ -0,0 +1,34 @@ +// Update this script, run this in cmd: +// PowerShell -Command "Invoke-WebRequest -Uri https://git.mylloon.fr/Anri/confOS/raw/branch/main/games/csgo/customgame.cfg -OutFile '%ProgramFiles(x86)%\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\cfg\customgame.cfg'" + +// Allow cheats +sv_cheats "1" + +// Bunnyhop +sv_autobunnyhopping "1" +sv_enablebunnyhopping "1" + +// Kick bot and end the warmup +bot_kick +mp_warmup_end + +// Remove team size limitation +mp_limitteams "0" + +// 60 minutes per rounds +mp_roundtime "60" + +// Can always buy +mp_buy_anywhere "1" +mp_buytime "9999" + +// Infinite ammo +sv_infinite_ammo "2" + +// Bypass nades limitation +ammo_grenade_limit_total "5" + +// Debug message +echo "========================================================================================================================================================================" +echo "================================================================== LOADED CUSTOM GAME CONFIGURATION ! ==================================================================" +echo "========================================================================================================================================================================"