Facepunch / garrysmod-requests

Feature requests for Garry's Mod
86 stars 24 forks source link

Proper Menus, HUD & UI Scaling (or at Least Proper Borderless Support) for UHD Resolutions #2453

Closed GSUser43 closed 3 months ago

GSUser43 commented 3 months ago

Details

Everyone with a UHD resolution monitor and played Gmod before already knows that playing Gmod at these resolutions is a nightmare.

Gmod and Source games in general have terrible borderless windowed mode support for now, the window doesn't stretch over to the rest of your monitor's screen when you select borderless mode, instead, it just sits at the center of your screen with no way to move the window. This is an even worse support than the normal windowed mode.

I don't mind using 1080p or even 720p resolutions if Gmod had proper borderless windowed mode support to play it, pose something for a screenshot then switch to a UHD resolution merely to take that screenshot then switch back to 720p/1080p for another screenshot. But as I said, borderless support is terrible for now.

I don't know if it's just me, but Gmod feels like "borderless" when selecting the "full screen" option, but only if it's set to your monitor's native resolution (in my case, the monitor's native resolution is 4K so the menus, HUD & UI become very small), but if you select like full screen with 1080p resolution, the screen will blackout for a few seconds as in when entering exclusive full screen mode just like what the majority of games do. Borderless mode would be extremely handy for a game like Gmod where you constantly Alt+Tab and switch between playing the game, watching videos such as tutorials or subscribing to addons for it.

Any chance for a proper and official menus, HUD & UI scaling update by Facepunch? FYI, even some mods derived from Half-Life 1 such as Natural Selection 1 now have proper menus UI that scale at any resolution thanks to Half-Life 1's 25th Anniversary Update that added proper scaling for the menus, so I'm hoping for at least a major update for Half-Life 2 in the future that adds proper menus, HUD & UI scaling so that other Source games that are still being updated (Gmod being the most important out of them all) could possibly adapt from it. The extremely small menus, HUD & UI are the very reasons why the overwhelming majority of Gmod videos on YouTube are not anything higher than 1080p resolution.

Here are some suggestions:

  1. Give us either of the following options; "big" size like what it is at 720p, "normal" size (the default setting for everyone when they launch Gmod) like what it is at 1080p, and "small" size like what it is at 1440p (don't even consider the size at 4K, it's just unbearable for a game like Gmod where you constantly navigate through the menus to spawn things, change the tool gun and stuff). OR, a custom slider that adjusts the menus, HUD & UI sizes. Either a custom slider or the 3 options (big, normal and small) that scale correctly regardless of the current selected screen resolution.

  2. Separate size options for each of the menus, HUD and UI.

And here are some screenshots for comparison (took me quite a while switching between resolutions and taking screenshots at almost the same point and renaming the files in their respective orders):

"big" sizes (720p):

1  Maps 1280x720 2  Loading Screen 1280x720 3  Menus 1280x720 4  HUD 1280x720 5  Context Menu 1280x720 6  Playermodel Selector 1280x720 7  Spawn Menu 1280x720 8  Addons 1280x720 9  Addons Last Page 1280x720

"normal" sizes (1080p):

1  Maps 1920x1080 2  Loading Screen 1920x1080 3  Menus 1920x1080 4  HUD 1920x1080 5  Context Menu 1920x1080 6  Playermodel Selector 1920x1080 7  Spawn Menu 1920x1080 8  Addons 1920x1080 9  Addons Last Page  1920x1080

"small" sizes (1440p):

1  Maps 2560x1440 2  Loading Screen 2560x1440 3  Menus 2560x1440 4  HUD 2560x1440 5  Context Menu 2560x1440 6  Playermodel Selector 2560x1440 7  Spawn Menu 2560x1440 8  Addons 2560x1440 9  Addons Last Page 2560x1440

The extremely small sizes at 4K and why such option shouldn't exist:

1  Maps 3840x2160 2  Loading Screen 3840x2160 3  Menus 3840x2160 4  HUD 3840X2160 5  Context Menu 3840x2160 6  Playermodel Selector 3840x2160 7  Spawn Menu 3840x2160 8  Addons 3840x2160 9  Addons Last Page 3840x2160

FYI, I'm using the "BF Hud" addon not only because I like it, and also not only because it unfortunately doesn't scale well (it even unfortunately has worse scaling than the default HL2 HUD, the latter only has the text in it not scaling, while the other has the entire HUD not scaling), but also because I wanted to demonstrate how the HUD shrinks at UHD resolutions.

In case you're interested in it, you can find it in the Steam Workshop here (keep in mind that you have to enter the gzg_vignette 0 command each time you load a map to disable the vignette):

https://steamcommunity.com/sharedfiles/filedetails/?id=125867420

(I can also tell you the playermodels that I have in case you're interested in them).

Also, just in case you haven't noticed and maybe it's worth pointing out; the last screenshot in each of the respective size/resolution section that is the last page of my subscribed addons, only 720p has the last page of the addon being up to 65, every other size/resolution has the last page being up to 27 due to the former's big interface size (the arrows and dots to change the page get smaller the higher the resolution gets though).

### Tasks
robotboy655 commented 3 months ago

Duplicate of https://github.com/Facepunch/garrysmod-issues/issues/5123 Related: https://github.com/Facepunch/garrysmod-requests/issues/1048