Native spectator overlay - #2071
Open
nullsystem wants to merge 17 commits into
Open
Conversation
Works with demos and live, native implementation of the competitve spectator overlay which have player cards side-to-side on screen. Features, coloring, and fades/animations as close to the likeness of the websocket overlay, but not completely exact. * TODO: Show full equipments (like in OG:NT websocket overlay) * TODO: Check Windows (fonts) * TODO: Check 720p, 1440p, 4k. Use x0.75/x0.5 from 1080p * TODO: Separate PR: Top area team name + logos * TODO: Separate PR: NeoUI setting UI to toggle + setup team name + logos
* Also moved x[round kills] to on top of avatar * Reorder XP/Death on NSF side
Mainly for higher res like 1440p and 2160p/4k
CAvatarImage altered so it generated a dead avatar variant where the colors is brightened, saturated, and grayscaled to red.
nullsystem
force-pushed
the
SpecOverlay
branch
from
August 17, 2026 22:08
f3bc20f to
2419363
Compare
nullsystem
marked this pull request as ready for review
August 17, 2026 22:36
The menu isn't scaled for higher res properly so just let it have its own variant of Default for now.
nullsystem
force-pushed
the
SpecOverlay
branch
from
August 18, 2026 00:10
e3fdbc6 to
4e4dd5a
Compare
AdamTadeusz
requested changes
Aug 18, 2026
AdamTadeusz
left a comment
Contributor
There was a problem hiding this comment.
doesn't compile with client server unity build disabled, missing include:
#include <vgui_controls/ImageList.h>
Collaborator
Author
|
@AdamTadeusz Fixed non-unity build and applied the more aliased looking outline for the round-kill + hp text. |
AdamTadeusz
previously approved these changes
Aug 19, 2026
Collaborator
Author
|
@AdamTadeusz New changes: c92eb32 |
AdamTadeusz
previously approved these changes
Aug 19, 2026
Now all CAvatarImage will also generate a dead texture as well as normal one at the same time rather than requiring a separate var + fetch. So one fetch for two avatar textures now. Also apply dead texture in scoreboard.
Collaborator
Author
AdamTadeusz
previously approved these changes
Aug 20, 2026
Similar to top hud spec binds but for overlay. Also the players order in card array now changed to make sure it's Jinrai team first always.
nullsystem
force-pushed
the
SpecOverlay
branch
from
August 21, 2026 00:38
ca26b69 to
be0a98f
Compare
Collaborator
Author
|
Added spec bindings for overlay: be0a98f Also most of |
Now both share the same binds but when overlay enabled will use overlay to deal with binds and disable top hud, if overlay disabled the top hud deals with it.
nullsystem
force-pushed
the
SpecOverlay
branch
from
August 21, 2026 18:18
f59bbda to
f3aa76a
Compare
Collaborator
Author
|
Binding now shared with top HUD: f3aa76a Disables top HUD if overlay's on and bindings deals to overlay. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Works with demos and live, native implementation of the competitve spectator overlay which have player cards side-to-side on screen. Features, coloring, and fades/animations as close to the likeness of the websocket overlay, but not completely exact.
Off by default, use
cl_neo_hud_spectator_overlay_enabled 1to turn it on.Toolchain