Skip to content

Instantly share code, notes, and snippets.

@kus
Last active July 16, 2024 13:57
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

thanks

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