Add enable GOTV settings to CS:GO config

Open
#39 0 comments 2 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Domain
game-dev

Research direction

Start by locating csgoserver.cfg and the repository's CS:GO configuration files, then compare their existing GOTV settings with the requested cvars. Confirm where these settings belong and which values project conventions support. Done means the selected configuration enables the requested GOTV behavior, including tv_autorecord if adopted.

Written by the indexing model from the issue text.

Description

Short version:

//Enable GOTV
tv_enable 1
tv_delaymapchange 1
tv_delay 45
tv_deltacache 2
tv_dispatchmode 1
tv_maxclients 10
tv_maxrate 0
tv_overridemaster 0
tv_relayvoice 1
tv_snapshotrate 20
tv_timeout 60
tv_transmitall 1

Of course, you can tweak the values.

Without tv_enable 1 I can't see the GOTV in the LAN discovery.

ESL official GOTV settings:

https://play.eslgaming.com/download/26251762/

// ESL - www.eslgaming.com
// GOTV Config
// 14.01.2016


sv_hibernate_postgame_delay 180

tv_allow_camera_man 1        	// Auto director allows spectators to become camera man
tv_allow_static_shots 1        	// Auto director uses fixed level cameras for shots
tv_autorecord 1            	// Automatically records all games as GOTV demos.
tv_chatgroupsize 0        	// Set the default chat group size
tv_chattimelimit 8        	// Limits spectators to chat only every n seconds
tv_debug 0                	// GOTV debug info.
tv_delay 90                	// GOTV broadcast delay in seconds
tv_delaymapchange 1        	// Delays map change until broadcast is complete
tv_deltacache 2            	// Enable delta entity bit stream cache
tv_dispatchmode 1            	// Dispatch clients to relay proxies: 0=never, 1=if appropriate, 2=always
tv_enable 1                	// Activates GOTV on server.
tv_maxclients 10            	// Maximum client number on GOTV server.
tv_maxrate 20000            	// Max GOTV spectator bandwidth rate allowed, 0 == unlimited
tv_name "ESL - GOTV"    	// GOTV host name
tv_overridemaster 0        	// Overrides the GOTV master root address.
tv_port 27020            	// Host SourceTV port
tv_relaypassword schmetterling 	// GOTV password for relay proxies
tv_relayvoice 0            	// Relay voice data: 0=off, 1=on
tv_snapshotrate 24        	// Snapshots broadcasted per second
tv_timeout 60            	// GOTV connection timeout in seconds.
tv_title "ESL - GOTV"    	// Set title for GOTV spectator UI
tv_transmitall 1            	// Transmit all entities (not only director view)

say "> ESL GOTV Config loaded - 14.01.2016 <"

Or the best way to this is to include in the csgoserver.cfg?

And extra command which could be handy:

The folllowing cvars will automatically record server-side demos for all maps:

tv_autorecord 1
Dominant language
Lua
Stars
299
Forks
179
Avg merge
15h 14m
Merged PRs (30d)
14

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from GameServerManagers/Game-Server-Configs

All issues in GameServerManagers/Game-Server-Configs

Similar issues

More Lua issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.