VGUI2 Scoreboard TODO list
tmp64 opened this issue · 5 comments
- Add a label to spectators
- Mark muted players with icons (on top of avatars or in a separate column like in the original scoreboard)
- Allow server to change team scores as it is done in the original scoreboard
Hi
there bug in spectator list :
https://imgur.com/a/oXiAk4f
- hud_colortext 0/1
i mean this hud :
https://imgur.com/a/mHYGr2K
- ability to show sprites in HUD:
the sprite is not stabel in the screen when move.
Perhaps from this proposition you will understand what I mean:
http://aghl.ru/forum/viewtopic.php?f=32&t=689#p8672
https://www.youtube.com/watch?v=fHD0OuDdJdk
@abdobiskra I've opened #3 regarding sprites in HUD.
It would be nice if you said how to reproduce the spectator bug in issue #4
I will check colors in names later.
Moved to #4 (comment)
Please add the ability to hide spectator labels from regular players. It's needed to hide spectating admins.
That should be done on the server-side.
There are two ways a client can know that some player is spectating.
First is via "Spectator" message. It is sent when player is connecting to the server and when someone begins/ends spectating.
This message is also sent in hl.inc AMXX include.
Lines 4114 to 4126 in c2606b3
Lines 109 to 113 in c2606b3
Lines 128 to 132 in c2606b3
Second is using an obscure "feature" in team info. Every player has a team name and a team number (even in DM mode, in that case number is 0 and name is "Players"). But spectators have an empty team name.
BugfixedHL/cl_dll/vgui2/CScorePanel.cpp
Lines 312 to 315 in c2606b3
BugfixedHL/cl_dll/vgui2/CScorePanel.cpp
Lines 376 to 393 in c2606b3