Hard Light Productions Forums

Hosted Projects - FS2 Required => Blue Planet => Topic started by: infernaldragon5 on May 02, 2017, 05:21:33 pm

Title: HUD messed up?
Post by: infernaldragon5 on May 02, 2017, 05:21:33 pm
In particular, the arrows that show you what weapons and missiles are selected are missing.

The HUD seems to be messed up for Blueplanet in particular.  Tested out in the Freespace 2 overhaul campaign part of BPComplete, haven't tested in bluelanet proper yet (just updated my entire FS2 installation).  I had the too small of a HUD problem in regular Freespace 2, but was able to fix it with a mod that resized the HUD.  Blueplanet also had the too small HUD problem, and I installed the hud resize (called 2HUD or something) but the arrows that show your weapon selections are still missing.

Update:  Tested blue planet AoA too and it also had missing weapon selection indicators.  Also got some kind of LUA script error on first mission.
Title: Re: HUD messed up?
Post by: Axem on May 02, 2017, 05:33:28 pm
Can you copy and paste the lua error to pastebin (https://pastebin.com/index) and link it back?

There are updated files for the next update to BP that should fix the issue with missing symbols and whatnot. I should be able to cobble together a quick patch... in theory anyway. What build are you using? 3.7.4, 3.8 RC1 or a nightly?
Title: Re: HUD messed up?
Post by: infernaldragon5 on May 02, 2017, 05:47:40 pm
Lemme try that mission again and see if I can get the LUA error again.  I'm using 3.7.4 right now.  Used the FSO installer to update my files recently, which I think were originally from 2012 or 2013 I think.

Also, is there a way to post on these forums without going through 2 catchpas? xD.  This is getting annoying.
Title: Re: HUD messed up?
Post by: Axem on May 02, 2017, 05:52:25 pm
I think you just get captchas if you are a real new user. They should go away after a bit.
Title: Re: HUD messed up?
Post by: infernaldragon5 on May 02, 2017, 05:57:46 pm
Alright here's the link.

Pastbin:
https://pastebin.com/NnmkxaW6

screencap:
https://puu.sh/vDE9f/ee9b973117.png

Looks like it might be a mod incompatibility with the HUD mod I got, I'll try removing it and rebooting mission.
Title: Re: HUD messed up?
Post by: infernaldragon5 on May 02, 2017, 06:02:15 pm
Ok it was the hud mod and removing it did fix the LUA error and the weapon selection indicators missing but it brings me right back to square one where the HUD is way too small and it hurts my eyes to look at it.
Title: Re: HUD messed up?
Post by: infernaldragon5 on May 02, 2017, 06:25:44 pm
Ya, did a bit more testing and this game is pretty much unplayable at HD resolutions without some kind of HUD scaling mod, the one I tried seemingly incompatible with BP
Title: Re: HUD messed up?
Post by: Axem on May 02, 2017, 06:27:21 pm
Okay, I'll see what I can do for you!
Title: Re: HUD messed up?
Post by: infernaldragon5 on May 02, 2017, 06:41:05 pm
I think I fixed it.  Created a folder tables under data in bpcomplete.  in data/tables/ I created a file called mv_root-hdg.tbm and put the following text in it:

$Max Directives: 8
$Max Escort Ships: 13
$Scale Gauges: yes

Went to save as.  Clicked file type: all files.  File name mv_root-hdg.tbm .  Also did it with the .cpp extension too to be sure, since it wasn't working with .txt extension name.

Now the HUD doesn't make my eyes bleed lol.

UPDATE:  NVM, doesn't work.  It works for FSBlue but it gives me the LUA scripting error in AoA again.  It seems AoA is incompatible with hud mods period.
Title: Re: HUD messed up?
Post by: Axem on May 02, 2017, 09:52:04 pm
As an interim fix, try renaming that file you created from mv_root-hdg.tbm to something like fixesbug-hdg.tbm (it ending with -hdg.tbm is the only important part).

The problem is that the lua script is looking for a hud gauge that should be in the BP mv_root-hdg.tbm, and when something else is overriding it (like in the 2HUD mod or in your custom table) doesn't have it, then the script falls apart.

So in summary right now, remove 2HUD.vp from your BP folder (it can stay in your mediavps_2014 folder though), and make the hud gauge table that you tried to make have a name that isn't mv_root-hdg.tbm.

I'll try to have a more proper fix for you tomorrow. Sorry for the trouble.
Title: Re: HUD messed up?
Post by: infernaldragon5 on May 02, 2017, 11:08:05 pm
Worked perfectly!  And NP about the trouble, this game is good enough to be worth it =P

But yeah, it would be nice if BP was either compatible with other UI mods or had the scaling gauges baked into it.

Thanks for the help!
Title: Re: HUD messed up?
Post by: AdmiralRalwood on May 05, 2017, 11:52:48 am
As an interim fix, try renaming that file you created from mv_root-hdg.tbm to something like fixesbug-hdg.tbm (it ending with -hdg.tbm is the only important part).
Similarly, if you do that, the only line it needs is
Code: [Select]
$Scale Gauges: yes