ThatTonybo / BeamAdvisor

ETS2/ATS inspired information+navigation widget for BeamNG.drive
6 stars 4 forks source link

Temperature setting issues and change reduced frame alignment suggestion #3

Open MrPerruche opened 2 years ago

MrPerruche commented 2 years ago

Temperature setting issues When it is set on Farenheight it display celcius. When it is set on Celcius, it will turn celcius (which the mod thinks it is farenheight) and turn it into whatever the mod thinks it is celcius.

Change reduced frame alignment suggestion Reduced UI looks bad in bottom corners. Here is how it currently looks (and when "top" setting is enabled if added) Img 1 With new option, set to "bottom" it will looks like this (Although even lower) dsqdqsddqsdaaabbbbbb

ThatTonybo commented 2 years ago

Frame alignment is intentional - it's how it works in ETS2. It simply trims off the bottom area.

I'll take a look into the temp unit and see if something's happening.

O1LER commented 2 years ago

To fix temp calculation, change the fahrenheit to celcius calculation around: image To this: image

ThatTonybo commented 2 years ago

Does BeamNG provide temperatures in Celcius always?

O1LER commented 2 years ago

You are right, it changes with what the user sets in the options. So as long as the game is set to °F your calculation is correct, when its set to °C mine is. So theres got to be another solution

ThatTonybo commented 2 years ago

Okay, that makes sense. Changing units in the settings does break it. I'll see if there's some kind of way to work out what units the player has selected, so I can try fix the temperature issue. I'm keeping that new code in mind though and will use it once I figure the units out. Thanks for putting it through.