Author Topic: Custom Wingmen HUD Gauge v3.0  (Read 26562 times)

0 Members and 1 Guest are viewing this topic.

Offline wookieejedi

  • 29
  • Intensify Forward Firepower
Re: Custom Wingmen HUD Gauge v3.0
The tricky part about this gauge is that it will change sizes based on the string lengths of the wing names. Thus that's the reason it is a more to the left, to account for if a longer name comes along. A good solution to this would be to put the gauge at the left side of the screen, but then folks might not be expecting it there.

Different campaigns and mods may have different sizes of HUDs based on what the modder did. This scripted gauge will not be affected unless the modder changes options within the script.

Thanks again, I've thought about making this a FSO feature, though then that makes the accessibility a bit more involved because instead of just downloading a script file that does everything, it would be up to each modder to edit the hud gauge table with all the new proper options and setup new image files.

  

Offline Iain Baker

  • 29
  • 'Sup?
    • Steam
    • Twitter
    • NOMAD's Reviews
Re: Custom Wingmen HUD Gauge v3.0
I thought that might be the case. Never mind, it works, that's the main thing.  :-)

Just a thought though - could the guage box be right justified, so that its right edge stays in the same screen location regardless of the length of the box, but the left edge expands leftwards towards the centreline of the screen to accommodate different name lengths?
Wanna check out my video games, technology and media website? If so, visit; https://www.nomadsreviews.co.uk/

Interested in hiring my freelance writing, proof-reading, editing, SEO, TTSO, Web Development or Social Media Management services? If so, please messege me at [email protected]

 

Offline wookieejedi

  • 29
  • Intensify Forward Firepower
Re: Custom Wingmen HUD Gauge v3.0
I've actually had that thought as well. Unfortunately for folks who want to move the gauge like they would any other HUD gauge I wanted to use the same convention as the HUD table, which is where everything is left justified  :lol:

If you're okay with the gauge being on the left side of the screen instead of the right then all you have to do is find the line
CustomWingGauge.origin = {x=0.88, y=0.25}
and change it to
CustomWingGauge.origin = {x=0.02, y=0.25}
 :)