-
Member
Change HUD Scale
I play D3 in 800x600 resolution so my hud scale is "wrong" as you can see. Is there anything I can do to the hud scale match with the resolution?
https://i.imgur.com/HIYaBKy.jpg
-
Contributor
Locate \plugins\Default\ResourceOverGlobePlugin.cs and find values in section PaintTopInGame like:
for health
Code:
glowTexture.Draw(uiRect.Left + uiRect.Width * 0.6f - uiRect.Height * 0.4f, uiRect.Top + uiRect.Height * 0.32f - uiRect.Height * 0.4f, uiRect.Height * 0.8f, uiRect.Height * 0.8f, opacityMultiplier: 0.7f);
HealthDecorator.Paint(uiRect.Left + uiRect.Width * 0.2f, uiRect.Top + uiRect.Height * 0.26f, uiRect.Width * 0.8f, uiRect.Height * 0.15f, HorizontalAlign.Center);
for second resource (DH in your case)
Code:
case HeroClass.DemonHunter:
HatredValueDecorator.Paint(uiRect.Left, uiRect.Top + uiRect.Height * 0.30f, uiRect.Width * 0.5f, uiRect.Height * 0.15f, HorizontalAlign.Center);
DisciplineValueDecorator.Paint(uiRect.Left + uiRect.Width * 0.5f, uiRect.Top + uiRect.Height * 0.30f, uiRect.Width * 0.5f, uiRect.Height * 0.15f, HorizontalAlign.Center);
HatredRegenDecorator.Paint(uiRect.Left, uiRect.Top + uiRect.Height * 0.43f, uiRect.Width * 0.5f, uiRect.Height * 0.15f, HorizontalAlign.Center);
DisciplineRegenDecorator.Paint(uiRect.Left + uiRect.Width * 0.5f, uiRect.Top + uiRect.Height * 0.43f, uiRect.Width * 0.5f, uiRect.Height * 0.15f, HorizontalAlign.Center);
and you need to manipulate width value.
That because you're using a resolution that no one else has been using for 15 years
If I helped you, click "Give Thanks!"
-
Post Thanks / Like - 1 Thanks
olvr (1 members gave Thanks to MrOne for this useful post)
-
Member
Thank you very much. But the thing is not just my health bar or resource bar are wrong, everything is a little to the side. Will I have to fix it everything manually?
Originally Posted by
MrOne
That because you're using a resolution that no one else has been using for 15 years
Yeah my notebook is very old and I have difficulties to buy a new one right now so the only res I can play with higher fps is 800x600
-
Contributor
Probably no, everyone use 16:9 ratio when make plugins. 16:9 aspect ratio - Wikipedia
If I helped you, click "Give Thanks!"