Skip to content

Instantly share code, notes, and snippets.

@kus
Last active August 11, 2024 15:29
Show Gist options
  • Save kus/d4bf1d28dc832d6fb98a047aedb9fb4c to your computer and use it in GitHub Desktop.
Save kus/d4bf1d28dc832d6fb98a047aedb9fb4c to your computer and use it in GitHub Desktop.
CS:GO Private Competitive Game with death cam and GOTV demo
// Kus' CS:GO Private Competitive Game with death cam and GOTV demo config
// Source: https://gist.github.com/kus/d4bf1d28dc832d6fb98a047aedb9fb4c
// Copy to C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\cfg
// To record GOTV demo 'tv_record name' and it will be saved to C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\name.dem
// Which you can watch by opening console anywhere in CS:GO and type 'playdemo name' and hit enter
echo "How to host a CS:GO Private Competitive Game:"
echo " - Make a private casual lobby and invite everyone
echo " - BEFORE you start the game open console and run 'exec comp' to enable GOTV for death cam and recording the game"
echo " - When everyone is in the lobby start it"
echo " - Wait until everyone has joined the game"
echo " - If you want to change level 'changelevel de_dust2'"
echo " - Open console and run 'exec comp' to set the competitive game settings"
// Change game mode to Competitive
game_type 0
game_mode 1
// Enable GOTV for death cam and demo
tv_enable 1
// Execute competitive config settings
exec gamemode_competitive
// Kick bots
bot_kick
// Restrict dead players to team
mp_forcecamera 1
// Enable kill cam
spec_replay_enable 1
spec_replay_bot 1
// Disable auto team balance
mp_autoteambalance 0
mp_limitteams 10
// Dead players can hear all dead enemy communication (voice, chat)
sv_talk_enemy_dead 1
// Living players can hear all living enemy communication (voice, chat)
sv_talk_enemy_living 1
// Restart game to activate new settings
mp_restartgame 1
// Force start warmup (if you are restarting match)
mp_warmup_start
echo "Kus' Competitive config loaded! Use 'mp_warmup_end' to end warmup. 'tv_record name' to record GOTV demo"
@katyyyyyydk
Copy link

katyyyyyydk commented Jul 16, 2024

Make sure to check Bo3.gg's Match Center for the most up-to-date news and information on Counter-Strike: Global Offensive. We give the most latest schedules, live scores, and updates thirty seconds ahead of the official broadcast, so you are constantly informed. Check out the stats of your favorite team or individual performance at cs2 scoreboard. Since the material on the site is directly derived from reliable sources, you may trust it. Go to Bo3.gg for all of your needs for Counter-Strike: Global Offensive. Seize any chance that comes your way!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment