tyfon7 / UIFixes

Small QOL fixes for SPTarkov
MIT License
8 stars 1 forks source link

Can this UI be Fix/Improve? #19

Closed SGZ-Creations closed 1 month ago

SGZ-Creations commented 1 month ago

Hey Is this a UI element you can fix or improve?

So i where using SVM to have this happen tho you think there's anything within this that you can do to make the bar stay within the same length as it usually do if it has 100?

Cursed Durrability Bar

SVM Individual item Change Code:

Kalashnikov PKM 7.62x54R machine gun

64637076203536ad5600c990:Durability:10000 64637076203536ad5600c990:MaxDurability:10000

tyfon7 commented 1 month ago

I can keep it from overflowing the window, but I can't make it "accurate"... the client assumes all weapons have 100 maximum possible durability. Technically that's supposed to be read from the template's TemplateDurability field, but in practice the code just has 100 hardcoded everywhere.

tyfon7 commented 1 month ago

Fixed in next update

SGZ-Creations commented 1 month ago

Thanks