rbjaxter / budhud

A Team Fortress 2 hud inspired by whayay's yahud and rays' rayshud.
MIT License
186 stars 89 forks source link

Refixed bh_player_healthcross_inset.res again :( #519

Closed PeanutKarver closed 1 month ago

PeanutKarver commented 1 month ago

Pinning PlayerStatusHealthImage to PlayerStatusHealthImageBG in #515 somehow broke the alignment of status effects to the health cross. I'm fixing it by changing it to the no-pin fix from #514.

1600x900 with 6 status effects (addcond 58; addcond 59; addcond 60; addcond 48; addcond 30; addcond 93)

Current: 20240729004227_1

Fixed: 20240729004306_1

Super Old (Before me): 20240729004256_1

I didn't know that pinning PlayerStatusHealthImage to PlayerStatusHealthImageBG would affect bh_PlayerStatusPin since its positioning is independent to them. None of the files I thought were relevant suggested that something like this could happen either. You might want to add a note inside the file stating that pinning PlayerStatusHealthImage to PlayerStatusHealthImageBG breaks bh_PlayerStatusPin for future reference.

If you really want to keep the pin, you'll have to adjust the bh_PlayerStatusPin xpos inside bh_player_healthcross_inset.res. I haven't tried that because from my experience, there's a chance that fixing it this way won't produce the exact same positioning as before.