Big-Onche / Tesseract-Sauerbraten

Cube 2: Sauerbraten ported to Tesseract
4 stars 2 forks source link

Add scoreboard with support for multiple teams #26

Closed SalatielSauer closed 4 months ago

SalatielSauer commented 4 months ago

This is an attempt to support multiple teams on the scoreboard like in Sauer (https://github.com/Big-Onche/Tesseract-Sauerbraten/issues/9).

2024-05-19_10 50 37_venice_insta-team 2024-05-19_11 20 17_complex_insta-team 2024-05-19_10 55 12_coop-edit

The changes adjust the value that the getclientteam command returns and add getteams and getteamplayers. (it also replaces the default.cfg bind for the tab key, which probably requires a restore of the configs to take effect)

Frags, Score and Ping can be disabled/enabled with hidefrags, showscore and showping. I'm still not 100% confident that something isn't broken, so feel free to point it out if you find any issue!