-
Notifications
You must be signed in to change notification settings - Fork 21
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
Radiation progress bar is misaligned with certain aspect ratios #125
Comments
The radiation progress indicator is only misaligned in 5:4 mode; with widescreen resolutions, it's already properly aligned. Thanks for supplying the 5:4 fix. Committed in 7adee9b. |
I jumped the gun. The radiation progress indicator is misaligned for 16:9 resolutions, too, not just 5:4. I wrongly concluded that the indicator isn't misaligned with any widescreen resolution on the basis that it is properly aligned with 16:10. |
@Georgiy-Timoshin Your fix for 16:9 breaks the alignment for 16:10. And your fix for 4:3 (e.g. 1024x768) actually breaks 4:3 but fixes 5:4 (e.g. 1280x1024). In summary:
|
You didn't notice, but there's also a new texture for the inventory(ui_hud2_rad01_over_new) and a fixed one for the hud on top of the arrow. |
Here is a table with the required positions of HUD element ui_hud2_rad01_progress in order for it to appear properly aligned under each of the four aforementioned aspect ratios:
|
Moved the texture covering the radiation detector from "ui_hud.dds" to "ui_ingame2_common.dds". This will allow you to use "transparent inventory" without problems. The texture that is replaced in the "transparent inventory" mod (ui_ingame2_common.dds) does not have this insert and therefore everything will look the same. |
Radiation detector dial overlay fixed in 13e5122. I'm not sure how to fix the vertical misalignment of the red radiation progress bar across different aspect ratios, however. The game seems to have been made with 4:3 and 16:10 in mind and the progress bar doesn't scale correctly to 5:4 and 16:9. |
textures overlapped: |
Thanks - included in 78d11f1. |
@Decane Speaking of widescreen - can you also include this fix for scope textures? They are slightly stretched on 16:9. |
Alex_Demolisher on ModDB sent me a nearly identical widescreen scopes fix in 2018 — the only difference being that his had width 129 instead of 128 for each @vlad54rus your fix has the same problem: |
Why not make 5:4/16:10 support a separate install, similarly to how Widescreen Patch used to be? |
Fixes for the radiation indicator in the hud and inventory
![ss_admin_02-12-21_19-10-23_(escape)](https://user-images.githubusercontent.com/38873082/107750006-1d907e80-6d67-11eb-8ec2-fb29617979a8.jpg)
![ss_admin_02-12-21_19-10-29_(escape)](https://user-images.githubusercontent.com/38873082/107750012-21240580-6d67-11eb-9ed9-52326b0e3395.jpg)
Not perfect better than it was. For 4x3 and 16x9.
gamedata.zip
P.S. Google Translate)
The text was updated successfully, but these errors were encountered: