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.1 is based on Teeworlds 0.7.3.1.
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)