Alternatively, you can open the Source console window and use the connect command to spectate a certain game. The default SourceTV port number is 27020, but may be changed. It should always be included in the given SourceTV IP address, since commonly this port number is different from the default game server port number 27015. When spectating a game that is broadcast via SourceTV, the camera position and camera mode is chosen either by the auto-director or a camera man. Spectators can't switch spectator modes or players to follow as they could do HLTV, this feature was removed to reduce network bandwidth significantly.
SourceTV demos still allow to switch modes and free roaming while playback. SourceTV is fully integrated into the Source Engine and not a separate tool like HLTV anymore.
To start broadcasting a game, the game server must enable SourceTV before the map is started by setting tv_enable 1. That will create a SourceTV server instance which can be seen in-game as a bot joining the spectator team. The SourceTV server is living in the same process as the game server and is called the SourceTV master server. The SourceTV master server buffers all game data and events and broadcasts them with a certain delay to prevent cheating.
The auto-director is a Mod specific module that chooses the camera mode and position based on interesting game events (like player killed, bomb exploded etc). Additionally a human spectator can become a camera man and override the auto-director camera with his own view. SourceTV spectators then connect to the same IP address as the game server but using a different port for SourceTV, usually 27020. The port number can be changed with the tv_port console variable. To setup a SourceTV relay proxy, start a Source Dedicated Server process without a running a map.
Here an example how to create a SourceTV relay: The tv_relay command connects the relay proxy to another SourceTV server/proxy. Game Time 05:01, Mod "cstrike", Map "de_dust", Players 7 The status of your local proxy can always be checked with the tv_status command. Total slot and spectator numbers are the accumulated numbers from all connected relay proxies. If a relay proxies loses connection to it's server, you can try to reconnect quickly with tv_retry.
– Game servers with GOTV enabled and GOTV relays that need to support external clients connecting on GOTV port must set tv_advertise_watchable 1 To stop broadcasting and disconnect all clients, execute tv_stop. The camera view in SourceTV is usually controlled by the auto-director module. Also a player, who joined the spectator team on the game server can become a camera man by pressing the USE key (usually 'E'). This will turn on his view as camera view for all spectators. Save the file, and start your server.The camera man can choose any spectator mode (First Person, Free Roaming etc), switch to any player or move around freely. Navigate to /garrysmod/cfg/mount.cfg and open it:Ĭopy the following and make sure your mount.cfg looks like this:
Now that css has been downloaded, we need to mount it to the server. Navigating inside, you should see the following if successful:
It's recommended to install this content to avoid bugs and visual errors as a result of not mounting it.įind CSS Content under Game Content and click 'Install'Īllow a few moments for the download to complete, navigate to your file manager, and enter your /garrysmod/ directory and look for the following folder:Įnter the folder and you'll see the following files:Ĭlick the dropdown menu icon beside Materials and click ' Move 'Ĭlick on File Management on the left hand side of the panel to return to the /home/container/ directory, and you should see the new cstrike folder. For information on installing a gamemode, such as DarkRP, refer here. When you first load up your server and join in-game, you'll likely find your chatbox spammed with a warning about mounting CSS Content on your server if you have DarkRP installed. Before beginning the process, turn your server OFF to prevent download and install issues.