-
Notifications
You must be signed in to change notification settings - Fork 20
Display takeover player name in scoreboard/feed #1395
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
Display takeover player name in scoreboard/feed #1395
Conversation
|
TODO: figure out if going the route of setting the clan name in the scoreboard works better. |
658aa38 to
51d2ab8
Compare
|
(EDIT: Updated screenshots and context after implementing Helper for displaying full takeover context names) With this iteration that modifies the scoreboard and killfeed, this is what the scoreboard looks like:
These were my settings for setting an excess amount of characters:
Note that with this current iteration of the PR, I am displaying the clan tag in the former-spectator's name, but not in the taken-over bot name. Let me know of your opinions on the formatting. This is what the killfeed looks like with takeover name:
Note that the clan tag is not displayed. I believe this is similar to the clan tag not being displayed with normal names. This is what ghost cap looks like:
I made similar refactors for VIP mode, but forgive me for not testing that without the presence of official VIP maps. As another example, self
Another example is if someone else kills you while you are taking over another player:
|
|
Based on feedback from Discord, rearranged the scoreboard such that it looks like you are assuming the identity of the taken over player: bot_takeover_scoreboard_swap_invisibly.mp4Under the hood, your scoreboard entry imitates the player you are hijacking, while that hijacked player's entry imitates your stats. Known name change coverage gaps:
The reason I have omitted changing those names is because I think it's debatable whether such replacements are more useful than confusing. The argument for changing the scoreboard and killfeed names is to highlight how scores are transferred from hijacker to hijacked. (To recap earlier discussion, this is a balancing decision to mitigate the scenario of a high skill player using bots to farm experience through multiple lives in the same round, such that they consolidate experience into a single player to purchase high cost loadouts early in a match.) It may actually be confusing to override the squad team names, because then it adds noise with picking out a teammate's name in the heat of action. If there is a desire for name overrides for those cases, I suggest implementing them in a separate PR after discussion. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does "SAT" mean?
Or rather what does it stand for, if anything
I meant this to mean SATellite to imply another GITS reference. Other suggestions from Discord include "LNK" for upLiNK, or "RC" for remote control. Maybe we should poll to community and tweak this 3 letter label later? |
|
I would remove most of the changes in this pr, including the operator thing, the ping changes, move GetPlayerNameWithTakeoverContext to somewhere in c_neo_player, make sure the name returned by it is less than or equal to MAX_PLAYER_NAME_LENGTH and just call it wherever we want to display a player's name with the controller, including in the squad list and in the spectator gui. I wouldn't worry about casters, I don't expect bots to be used in tournaments, and not being consistent by changing how the name is displayed in all these locations is just gonna confuse the player further. |
a19aa90 to
d2da76c
Compare
25c3a7e to
ba48f6c
Compare
ba48f6c to
fc70aeb
Compare
When a spectator takes over another player, display their name with the format of: "target_name (spectator_name)" Swap stats on the scoreboard when taking over another player This has the effect of making it seem like a spectator really took the place of a bot/player, while their original scoreboard place looks like them but deceased. Helper for displaying full takeover context names If a player is taken over by a spectator, display the full context of the takeover relationship in the killfeed, whether the taken over player is a killer, victim, or goal captor. Get spec display class at takeover, not death Restore spectator's class after bot takeover
26d5fe2 to
b2150ab
Compare
DESTROYGIRL
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems to work fine, and is easy to understand for me. I personally would not copy the profile picture over but we are far past the bikesheddery at this point
Also see my comment about m_iClassAtTimeOfDeath naming suggestion








Description
When a spectator takes over another player, display their name with the format of: "target_name (spectator_name)"
Also rearranges the scoreboard such that it looks like a takeover player is taking the place of the possessed player/bot on the scoreboard.
Toolchain
Linked Issues