NeotokyoRebuild / neo

NEOTOKYO Rebuild - Source SDK 2013 mod of NEOTOKYO
https://neotokyorebuild.github.io/
Other
15 stars 12 forks source link

Ammo transparency #325

Closed AdamTadeusz closed 2 months ago

Rainyan commented 2 months ago

@AdamTadeusz Can you explain what this PR is fixing in more detail please?

I'm assuming it has something to do with the ammo HUD, but here's what I'm seeing before this PR:

20240604133515_1

And here's what I'm seeing after the PR:

20240604133712_1

And I can't figure out what the change is.

In these two screenshots, I compared this PR commit, and the build from one commit before it (i.e. HEAD~1 relative to this PR).

AdamTadeusz commented 2 months ago

@Rainyan So first off change the value of digit_xpos in the old neotokyo hud_layout.res to something like 24 (now that we changed how nt assets are mounted we can make our own and it should use that one instead of the old one). Notice that the bullets that are in the magazine are a really bright white compared to the other white hud elements. This is because the decals for the expended rounds (a few examples in the very bottom right of your screenshots) are painted over the rounds that are still in the magazine, making their opacity higher and thus making them brighter. This fix instead paints the expended rounds to the right of the rounds still in the magazine

image

So these ^ are slightly brighter than these

image