1 (edited by Slayer *gV* 2019-01-04 17:02:20)

Topic: [CLIENT][SERVER] Streamer

Streamer

Streamer is a client and server modification to ease the streaming and ingame organization of tournaments. Both can be used without the other mod, but some features work best if used together. This mod was used for the Teeworlds Tournaments.
The current version 4.0 is based on Teeworlds 0.7.2.

https://i.imgur.com/OMN8chD.jpg


Client features
  • Health bars: Display the health+armor of all tees. (cl_hp_bar [0..1]) (Works exclusively with the server mod)

  • Zoom: Zoom in and out to give your viewers a better overview, or some epic catches. (Binds: +zoomin, +zoomout, zoomreset)

Client commands

Feature           Setting                   Description
——————————————————————————————————————————————————————————————————————————————————————————
Health bars:      "cl_hp_bar [0, 1]"           (0 = off, 1 = on; default: 1)
Zoom in:          "+zoomin"                    (Zooms one leven in. Best bound to a key.)
Zoom out:         "+zoomout"                   (Zooms one level out. Best bound to a key.)
Zoom reset:       "zoomreset"                  (Resets the zoom back to default. Best bound to a key.)

Server features
  • Spectator mute: Toggle to mute public-chat for spectators (sv_spectator_public_mute [0, 1])

  • Random maps: Command to change map to a random one (change_map_random [map1 map2 map3 ...])

  • Auto demos: For each tournament rounds, the server will automatically record a demo. If no demo name is given, a remarkable name will be chosen (f. e. on teamplay gametypes: vs_).

  • Tournament Rounds: Tournament rounds can be started, triggering the auto demo feature. Eventually more features to come! (start_tournament_round ?demo_name)

  • Reserved slots: Slots for players and for admins can be reserved, to make sure that all players and the tournament staff can join. (sv_reserved_slots_admin [0..] , sv_reserved_slots_admin_pass , sv_reserved_slots_players [0..] , sv_reserved_slots_players_pass )

  • Health streaming support: Sends the health+armor of each tee to streamer-clients, that they can be displayed as health bars.

  • Zoom streaming support: Sends distant game objects streamer-clients, that they can be properly displayed on larger zoom levels.

Server Settings

Feature           Setting                              Description
——————————————————————————————————————————————————————————————————————————————————————————
Spectator mute:   "sv_spectator_public_mute [0, 10]"   (0 = spectator can use the all chat, 1 = not; default: 1)
Random maps:      "change_map_random [map1 map2 ...]"  (Changes to one of the given maps)
Start round:      "start_tournament_round [?name]"     (Starts a new tournament round with 15 s warmup and starts recording a demo. The demo will be named after the given parameter, or generates one.)

Reserved slots:
    Admins:       "sv_reserved_slots_admin [0..]"      (Reserves x slots for admins, that are protected by the admin slot password)
    Admins pass:  "sv_reserved_slots_admin_pass s"     (Sets the password for admin slots)
    Players:      "sv_reserved_slots_players [0..]"    (Reserves x slots for players, that are protected by the player slot password)
    Players pass: "sv_reserved_slots_players_pass s"   (Sets the password for player slots)

Downloads

2

Re: [CLIENT][SERVER] Streamer

Cool! Suggestion: health information for other players should only be sent after a player has been authenticated (either password on connection or rcon)

Having troubles finding servers in the serverlist? Go to Pastebin (its a referer cause there is daily a new pastebin) and add the lines to your settings.cfg (in %APPDATA%\teeworlds). Then open teeworlds and go to the favorites tab. (Note however, standard teeworlds client can only show 256 favorites, use ddnet instead)

3

Re: [CLIENT][SERVER] Streamer

Cool!

Slayer *gV* wrote:
Server features
  • Spectator mute: Toggle to mute public-chat for spectators (sv_spectator_public_mute [0, 1])

Does that do the same as

sv_tournament_mode 2

?

Not Luck, Just Magic.

4

Re: [CLIENT][SERVER] Streamer

Dune wrote:

Cool!

Slayer *gV* wrote:
Server features
  • Spectator mute: Toggle to mute public-chat for spectators (sv_spectator_public_mute [0, 1])

Does that do the same as

sv_tournament_mode 2

?

There is a subtle difference: With "sv_tournament_mode 2" you still can use the CHAT_ALL when the match is not running (e. g. end phase, warmup phase).
With using the spectator mute, you can't at all.

That makes the ingame communication between the tournament stuff and the players less disruptive.