Jump to content

Is it possible to display the full decimal/float value for armor rating on the ui?


Recommended Posts

Hello, the armor ratings for various pieces of armor in the game are defined by a number with precision up to the hundredths place, however the UI only shows up to the ones place. This makes it annoying to determine whether an armor piece is superior to another without doing trial and error with several pieces. I find this process a little ridiculous, so I was interested if anyone else ran into this issue and had a solution.

Link to comment
Share on other sites

I'm not sure the decimals really matter, as zombies deal integer damage, not floats. Your health also doesn't show floats, so no matter what it will be rounded up or down depending.

With that said, you can add:

display_type="Decimal"

 

to the <display_entry name="PhysicalDamageResist" title_key="statPhysicalDamageResist"/>

on the display of  armor in ui_display.xml. That would make it show as a decimal.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...