blue-nebula / base

Main repository of Blue Nebula, a fast-paced shooter with a unique parkour system. It is a fork of Red Eclipse and is free software.
https://blue-nebula.org
15 stars 6 forks source link

Introduce spectatorcolour #190

Open TheAssassin opened 3 years ago

TheAssassin commented 3 years ago

Right now, spectating people are assigned the same color in server browsers and the in-game chat as people in "team neutral". This color is managed in the variable /teamneutralcolour.

A very annoying disadvantage of this approach is that, from the server browser, you cannot differentiate between people who actively play, and people who idle or spectate otherwise (in ffa modes at least). To fix that, we should introduce a new variable and assign those a different color than for the "neutral team".

Protocol wise it should work in a backwards compatible manner. The team colors are sent for every player by the server anyway, at least on the "info port".

robalni commented 3 years ago

Yes, this is something I want. It has happened many times that I have clicked on a server to play ffa with someone and then noticed that the person was spectating.

MoonPadUSer commented 3 years ago

Yeah, that seems like a neat thing to have.