Charles Posté(e) le 3 juin 2019 Share Posté(e) le 3 juin 2019 First of all you need to add to your server.cfg: tv_enable 1 tv_delay 30 tv_advertise_watchable 1 please tweak tv_delay to your desired value, we recommend a minimum value of your round times You can start recording demos by typing in the your client console, you can replace demoname with your desired name: rcon tv_record demoname to stop record type: rcon tv_stoprecord You can check which port gotv is running on by typing status in console e.g. hostname: Gameserver by pkrhosting.co.uk version : 1.33.4.0/13340 5687 secure udp/ip : 94.23.154.241:29060 os : Linux type : community dedicated map : de_dust2 gotv: port 27024, delay 105.0s players : 1 humans, 1 bots (11/11 max) (not hibernating) here you can see that gotv is running on port 27024 so to connect you would type in console connect 94.23.154.241:27024 A full list of GO TV commands which can be saved in your server.cfg are as follows: tv_enable <0|1> Activates SourceTV on local game server, SourceTV bot will appear as spectator client after next changelevel (master only). tv_name <name> Sets SourceTV name as it appears in server browser and scoreboard (master only). tv_title <text> Sets a SourceTV broadcast title shown in the spectator GUI tv_maxclients <0..255> Sets maximum client number for local SourceTV server/proxy (default 128). tv_stop Stops broadcasting the game via SourceTV. tv_status Shows SourceTV specific information. tv_clients Shows a list of all spectator clients connect to local SourceTV server tv_msg <text> Send a HUD message to all connected SourceTV spectator clients tv_retry Reconnects the SourceTV relay proxy to last known address (relay only). tv_autoretry <0|1> If enabled, SourceTV relay proxies try to reconnect to last known server after connection was lost. tv_timeout <seconds> Sets SourceTV relay proxy connection timeout in seconds. If a connection times out, the relay proxy tries to reconnect automatically. tv_delay <seconds> Source TV broadcast delay in seconds (master only). tv_delaymapchange <0|1> Delays the map change on game server until rest of buffered game has been broadcasted tv_port <port> Set the SourceTV host port (default 27020). Must be set as srcds start parameter. tv_maxrate <bytes> Sets the maximum bandwidth spend per client in bytes/second (default 5000) tv_snapshotrate <n> Sets world snapshots broadcasted per second by SourceTV (master only). tv_password <password> Sets required password for connecting spectators. tv_relaypassword <password> Sets required password for connecting relay proxies. tv_record <filename> Starts a SourceTV demo recording that records all entities & events (master only) tv_stoprecord Stops SourceTV demo recording (master only) tv_autorecord <0|1> Automatically records every game, demo file name format is auto-YYYYMMDD-hhmm-map.dem tv_debug <0|1> Shows additional debugging messages tv_dispatchmode <0|1|2> Sets Source client dispatch mode for connecting clients: 0=never, 1=if appropriate, 2=always tv_overrideroot <0|1> Overrides the master IP broadcast to spectators with a local IP. tv_relayvoice <0|1> If enabled, allow player voice chat if broadcasted (master only) tv_transmitall <0|1> By default entities and events outside of the auto-director view are removed from SourceTV broadcasts to save bandwidth. If tv_transmitall is enabled, the whole game is transmitted and spectators can switch their view to any player they want. This option increases bandwidth requirement per spectator client by factor 2 to 3. tv_chattimelimit <seconds> Limits spectators to chat only every n seconds tv_chatgroup <name> Allows spectators to choose their chat group. If no name if given the current chat group is shown (client only) tv_nochat <0|1> Disables other spectators chat lines (client only) tv_allow_static_shots <0|1> Allows auto-director to choose fixed camera shots (master only) tv_allow_camera_man <0|1> Allows spectator clients on game server to become SourceTV camera men (master only)tv_enable <0|1> Activates SourceTV on local game server, SourceTV bot will appear as spectator client after next changelevel (master only). tv_name <name> Sets SourceTV name as it appears in server browser and scoreboard (master only). tv_title <text> Sets a SourceTV broadcast title shown in the spectator GUI tv_maxclients <0..255> Sets maximum client number for local SourceTV server/proxy (default 128). tv_stop Stops broadcasting the game via SourceTV. tv_status Shows SourceTV specific information. tv_clients Shows a list of all spectator clients connect to local SourceTV server tv_msg <text> Send a HUD message to all connected SourceTV spectator clients tv_retry Reconnects the SourceTV relay proxy to last known address (relay only). tv_autoretry <0|1> If enabled, SourceTV relay proxies try to reconnect to last known server after connection was lost. tv_timeout <seconds> Sets SourceTV relay proxy connection timeout in seconds. If a connection times out, the relay proxy tries to reconnect automatically. tv_delay <seconds> Source TV broadcast delay in seconds (master only). tv_delaymapchange <0|1> Delays the map change on game server until rest of buffered game has been broadcasted tv_port <port> Set the SourceTV host port (default 27020). Must be set as srcds start parameter. tv_maxrate <bytes> Sets the maximum bandwidth spend per client in bytes/second (default 5000) tv_snapshotrate <n> Sets world snapshots broadcasted per second by SourceTV (master only). tv_password <password> Sets required password for connecting spectators. tv_relaypassword <password> Sets required password for connecting relay proxies. tv_record <filename> Starts a SourceTV demo recording that records all entities & events (master only) tv_stoprecord Stops SourceTV demo recording (master only) tv_autorecord <0|1> Automatically records every game, demo file name format is auto-YYYYMMDD-hhmm-map.dem tv_debug <0|1> Shows additional debugging messages tv_dispatchmode <0|1|2> Sets Source client dispatch mode for connecting clients: 0=never, 1=if appropriate, 2=always tv_overrideroot <0|1> Overrides the master IP broadcast to spectators with a local IP. tv_relayvoice <0|1> If enabled, allow player voice chat if broadcasted (master only) tv_transmitall <0|1> By default entities and events outside of the auto-director view are removed from SourceTV broadcasts to save bandwidth. If tv_transmitall is enabled, the whole game is transmitted and spectators can switch their view to any player they want. This option increases bandwidth requirement per spectator client by factor 2 to 3. tv_chattimelimit <seconds> Limits spectators to chat only every n seconds tv_chatgroup <name> Allows spectators to choose their chat group. If no name if given the current chat group is shown (client only) tv_nochat <0|1> Disables other spectators chat lines (client only) tv_allow_static_shots <0|1> Allows auto-director to choose fixed camera shots (master only) tv_allow_camera_man <0|1> Allows spectator clients on game server to become SourceTV camera men (master only) Lien vers le commentaire Partager sur d’autres sites More sharing options...
Messages recommandés