Skip to content

[TF2] Add a ConVar to be always first in the MvM scoreboard #1373

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

irql-notlessorequal
Copy link

@irql-notlessorequal irql-notlessorequal commented Jun 23, 2025

This adds a ConVar (cl_mvm_scoreboard_player_always_first) that when enabled will change the logic of CTFHudMannVsMachineScoreboard::UpdatePlayerList to always populate the index of ourselves first, allowing the player to see their score in MvM and if using a custom HUD their own stats.

Useful for community MvM gamemodes utilizing more than six defenders.

Draft until I can get SRCDS to work on the Source SDK...

This changes the behaviour of CTFHudMannVsMachineScoreboard::UpdatePlayerList to process the client
index first in the new extracted function CTFHudMannVsMachineScoreboard::PopulatePlayerListEntry, allowing
the client to see some stats again like their score or if using a custom HUD their stats again.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant