View Single Post
Author Message
vbearn
Junior Member
Join Date: Jan 2014
Old 01-15-2014 , 12:11   SourceTV for Dota 2
Reply With Quote #1

SourceTV for Dota 2


Here is the guide to enable SourceTV feauture on Dota2 local srcds server. (for instructions to setup dota 2 local servers, see https://github.com/Matheus28/SourceM...a-local-server )

SourceTV's advantages over Spectator Mode:
  • a customizable delay (in seconds) for watchers
  • ability to restrict watcher's chat, voice message, ... with currently playing users
  • record games for later reviews
  • ...

Instructions:

1. Put these lines in your server.cfg file (\dota\cfg\server.cfg)

Code:
sv_hibernate_when_empty 0
tv_maxclients 16 // max source tv clients
tv_name YourSourceTVName
tv_delay 20 // delay in seconds for watching the game
tv_port 27020 // source tv port
tv_autorecord 1 // automatically records every game
tv_secret_code 0
2. Start srcds.exe with these command line arguments (order is important)

Code:
srcds.exe -console -game dota +maxplayers 10 +exec server.cfg +tv_enable 1 +map dota
3. Check tv status by typing this command into server:

Code:
tv_status
4. Connect Dota2 Clients to your server by using:
Code:
connect [serverip]:27020
for those who want a complete introduction to SourceTV, here's a good starting point:
https://developer.valvesoftware.com/wiki/SourceTV
vbearn is offline