Skip to content

Conversation

@DESTROYGIRL
Copy link
Contributor

Description

Playtesters expressed confusion regarding the teams icon/score swapping sides, as currently the local player's team is always left.
This can cause it to become misaligned with the scoreboard and not appear where the player expected their team's score to be

Toolchain

  • Windows MSVC VS2022

@DESTROYGIRL DESTROYGIRL requested review from a team and removed request for a team September 1, 2025 16:31
@DESTROYGIRL
Copy link
Contributor Author

Is a menu option justified for this, if so how to describe it

@DESTROYGIRL DESTROYGIRL marked this pull request as ready for review September 1, 2025 16:35
@sunzenshen sunzenshen requested a review from a team September 2, 2025 04:32
sunzenshen
sunzenshen previously approved these changes Sep 3, 2025
@sunzenshen sunzenshen requested a review from a team September 3, 2025 05:55
@sunzenshen
Copy link
Contributor

Is a menu option justified for this, if so how to describe it

To be honest, I'm also in the camp that the whole swapping behavior was confusing, since the scoreboard doesn't swap, so I'm not concerned about a menu option.

@AdamTadeusz
Copy link
Contributor

AdamTadeusz commented Sep 3, 2025

In the original the squad is always on the left, so I made the new squad ui stick to that. When making the central ui I was inspired by games like counter strike and rainbow six siege. In rainbow six siege the player's team is always on the left and the enemy team on the right, including the score.

https://youtu.be/0VoCUBKT8QY?si=RmU45oWyB_PDQALq&t=1299

Notably counter strike does maintain the CT - T order regardless of the player's team, but I think the current behavior makes more sense, I would rather instead switch the teams in the scoreboard to align with the top element.

The scoreboard in r6s does resemble the og scoreboard more than the nt;re scoreboard with a single column and the player's team on top and the enemy on the bottom.

@Agiel
Copy link
Contributor

Agiel commented Sep 3, 2025

Worth noting that the "X vs Y" text in the og comp plugin also has your team always on the left.

@DESTROYGIRL
Copy link
Contributor Author

I think the current behavior makes more sense, I would rather instead switch the teams in the scoreboard to align with the top element.

Sure, we can switch the default to enabled if you plan on implementing that but I think we should still keep this as an option regardless

@DESTROYGIRL DESTROYGIRL changed the title Make the round info HUD not swap team sides by default Option to make the round info HUD not swap team sides Sep 3, 2025
@sunzenshen
Copy link
Contributor

Notably counter strike does maintain the CT - T order regardless of the player's team, but I think the current behavior makes more sense, I would rather instead switch the teams in the scoreboard to align with the top element.

The opposite swap between the top UI element and the scoreboard was what confused me, so adding a scoreboard flip makes sense to me.

sunzenshen
sunzenshen previously approved these changes Sep 7, 2025
Copy link
Contributor

@sunzenshen sunzenshen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The lack of score board swap is kind of confusing to me, but at least the top round info HUD appears to work as intended. Maybe scoreboard swap could be handled in a different PR.

@sunzenshen sunzenshen requested a review from a team September 7, 2025 05:51
@DESTROYGIRL DESTROYGIRL added the UI/HUD Relates to the HUD, NeoUI, menus, etc label Sep 7, 2025
@AdamTadeusz
Copy link
Contributor

Would just making the scoreboard switch sides depending on the local player's team be sufficient?

@DESTROYGIRL
Copy link
Contributor Author

Would just making the scoreboard switch sides depending on the local player's team be sufficient?

Both options would be nice AKA I was going to leave that part for a different PR

@AdamTadeusz
Copy link
Contributor

too much choice imo

@DESTROYGIRL
Copy link
Contributor Author

It's binary, on or off
Either the sides flip for scoreboard and round hud or they dont

@DESTROYGIRL
Copy link
Contributor Author

I'll just draft this until I can do the scoreboard too then

@DESTROYGIRL DESTROYGIRL marked this pull request as draft September 11, 2025 14:34
@AdamTadeusz
Copy link
Contributor

@DESTROYGIRL
Copy link
Contributor Author

Swagnado

@AdamTadeusz
Copy link
Contributor

AdamTadeusz commented Sep 11, 2025

you would need to define the convar controlling whether the sides switch or not in neo_scoreboard instead, so that you can add a callback which corrects the position of the two columns instantly instead of on the next hud_reloadscheme or local player team change, since the scoreboard positioning is more event based

or keep it where it is actually and just get the scoreboard hud element in the callback

(edit) the macro you're looking for is GET_NAMED_HUDELEMENT

@DESTROYGIRL DESTROYGIRL marked this pull request as ready for review September 11, 2025 16:51
@DESTROYGIRL DESTROYGIRL changed the title Option to make the round info HUD not swap team sides Option to make the round info and scoreboard HUD not swap team sides Sep 11, 2025
AdamTadeusz
AdamTadeusz previously approved these changes Sep 12, 2025
Copy link
Contributor

@sunzenshen sunzenshen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm:

Image Image

cl_neo_hud_team_swap_sides 0

Image Image

@DESTROYGIRL DESTROYGIRL merged commit 8a27515 into NeotokyoRebuild:master Sep 13, 2025
7 checks passed
@DESTROYGIRL DESTROYGIRL deleted the ui_swapsides branch September 13, 2025 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

UI/HUD Relates to the HUD, NeoUI, menus, etc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants