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

[GTA SA] Weapon Icon Scaling #764

Closed
AeroWidescreen opened this issue Jan 3, 2020 · 9 comments
Closed

[GTA SA] Weapon Icon Scaling #764

AeroWidescreen opened this issue Jan 3, 2020 · 9 comments

Comments

@AeroWidescreen
Copy link
Collaborator

AeroWidescreen commented Jan 3, 2020

This topic has been discussed in the past. The weapon icon appears to be stretched vertically. I just started my GTA SA playthrough and I think it's very noticeable and annoying to see. I would like to know if either ThirteenAG or @gennariarmando would be interested in adding scaling options like what was done for the radar? Or at least a preset option.

Like this:

WeaponIconWidthScale = 1.0
WeaponIconHeightScale = 1.0

or this:

CorrectWeaponIconAspectRatio = 1

This is what it looks like with a custom height value. It's much better if you ask me. You'll also notice that the icon doesn't overlap with the "ammo" text anymore either.

Weapon Icon

@gennariarmando
Copy link
Collaborator

That's wrong, SA has already the right scale after the last rewrite of the plugin. The screenshot you show off it's not what the HUD has been designed to look like, the ammo font has to overlap the weapon icon.
If you still encountering issues, please download latest dev package here:
https://ci.appveyor.com/api/projects/ThirteenAG/widescreenfixespack/artifacts/GTASA.WidescreenFix.zip

Try testing it with the ini file shipped with, and no other modifications that could alter the HUD.

@AeroWidescreen
Copy link
Collaborator Author

I know that the oval radar, overlapped ammo text, and larger HUD is accurate to the original game. I'm not disputing that, but if there are options to adjust the radar width and height then why not for the weapon icon as well? Here's what the latest dev build looks like for me:

Stretched

Here's what the camera icon should look like based on the original texture:

Camera

And again, here's what it could look like if you added an option to adjust the weapon icon height:

Corrected

@gennariarmando
Copy link
Collaborator

I get your point, but in my opinion it looks just off. We'll see soon what to do with it.

@gennariarmando
Copy link
Collaborator

gennariarmando commented Jan 3, 2020

In the mean time you could try setting "HudHeightScale" to "0.9285715" which removes that feel of vertical squished rendering:

Grand Theft Auto  San Andreas Screenshot 2020 01 03 - 23 49 48 65

Grand Theft Auto  San Andreas Screenshot 2020 01 03 - 23 54 11 39

@AeroWidescreen
Copy link
Collaborator Author

AeroWidescreen commented Jan 4, 2020

Thanks. I'm OK with whatever you guys decide to do, since I know how to change it myself, but I'm sure other people would appreciate the choice.

This is what I did to change the weapon height if it helps you or anyone else reading this:

Old Value: 58.0 float
New Value: 47.0 float (same as width)

XXXXXXXX = memory address of your choice

0058D94D XXXXXXXX
0058D896 XXXXXXXX
XXXXXXXX 42680000 // 58.0f default: controls weapon icon height

This value shouldn't need to be changed for different aspect ratios, so 47.0 float should be fine for all.

@nipkownix
Copy link

I'd appreciate the option, by the way.

@longaru
Copy link

longaru commented Jan 15, 2020

Good idea _Aero .. thx .
If We look at X360 & Android version - Weapon icon don't stretched because have HUD design like VC PS2 with single icon at corner and not need for this step with stretch by R* .

S1

I think need to make HUD Resizer by You for III-VC-SA like Your NFS HUD Resizer + Add this fix for weapon icon ; )
A long of time I want to copy Xbox & PS2 HUD size and positions ... But this probably not possible without You :)

@ThirteenAG
Copy link
Owner

I added ProportionalWeaponIcon as an ini option to a dev build a while back.

@AeroWidescreen
Copy link
Collaborator Author

Holy crap, forgot about this. 4 years later, but thanks! I'll appreciate this when I play it again in the future lol.

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

No branches or pull requests

5 participants