Skip to content
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

End-game leaderboard stretches on ultrawide #120

Open
1 task done
TheLetterZed opened this issue Dec 23, 2023 · 5 comments
Open
1 task done

End-game leaderboard stretches on ultrawide #120

TheLetterZed opened this issue Dec 23, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@TheLetterZed
Copy link
Contributor

TheLetterZed commented Dec 23, 2023

  • i am not using any additional mods that might overwrite any hud files (things like portraits and stuff of the sort)

Describe the Issue
When the match finishes, the end-game leaderboard stretches to fill the entire screen on ultrawide.

To Reproduce (gamemode/loadout etc)
Steps to reproduce the behavior:

  1. Play a casual game with an ultra-wide resolution (eg. 3440x1440)
  2. Wait for the match to finish
  3. The end-game leaderboard stretches to fill the whole screen.

Expected behavior
I expect this to have a similar size to how it looks on a regular resolution. It should not expand to become wider on ultrawide screens.

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 11
  • Resolution (and Aspect Ratio, eg. 1280x960 4:3): 3440x1080,

TF2 Specific Info (please complete the following information):

  • HUD Version (either commit # or release version):
    3d27916
  • Customizations Applied (if any, if none type "none"): none
  • Other Mods in tf/custom? if so, which ones?: none
@TheLetterZed TheLetterZed added the bug Something isn't working label Dec 23, 2023
@tekunotri
Copy link
Collaborator

tekunotri commented Dec 24, 2023

i would try and recreate this but sadly i do not own a ultrawide, have you tried playing a full match on default hud to see if the end-game lb stretches on it too?

if that's the case, it might be working as intended since afaik the endgame leaderboard isn't edited at all

@TheLetterZed
Copy link
Contributor Author

Yeah, it's the same on vanilla. I guess this is more of a feature request then. 😅

image

@tekunotri tekunotri added enhancement New feature or request and removed bug Something isn't working labels Dec 24, 2023
@TheLetterZed
Copy link
Contributor Author

I think we can add this with the MatchSummary field in hudlayout.res:

"MatchSummary"
{
"fieldName" "MatchSummary"
"visible" "0"
"enabled" "1"
"xpos" "0"
"ypos" "0"
"wide" "f0"
"tall" "f0"
}

I'm not sure what values to pick for width and height - ideally this is restricted to a square or a 16:9 rectangle centered in the middle. Wasn't sure which sizing variable made sense here. I'll play around with it next time I'm playing.

@TheLetterZed
Copy link
Contributor Author

Could also incorporate this kind of fix so that the scoreboard isn't cut off at the top too: https://steamcommunity.com/sharedfiles/filedetails/?id=3116281066

tekunotri added a commit that referenced this issue Jan 14, 2024
@tekunotri
Copy link
Collaborator

tekunotri commented Jan 14, 2024

probably doesent fix the ultrawide stuff but might fix the scoreboard cutoff

cant test rn because i dont feel like playing a full casual match

please test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants