Author Topic: RELEASE - The Lost 2_ HUD: Rebuilt! - Updated June 3 2017  (Read 3031 times)

0 Members and 1 Guest are viewing this topic.

Offline Axem

  • Administrator
  • 211
RELEASE - The Lost 2_ HUD: Rebuilt! - Updated June 3 2017
Hidden in the sparky_hi VP are a bunch of hud ani files that start with 2_. In the interface section, 2_ mean files that are meant for 1024x768 resolution. So its my guess that the 2_ hud files were meant for a 1024x768 hud, but Volition never actually used the files (aside from the radar and center reticle stuff).

I've been meaning to build up this hud again, but some things were still hard coded. With some of the recent additions to the hud gauge code, I now had all of the pieces to do it!

One year later edit: Here are some nicer pics to show it off! These pics have my amazing scripted message gauge!




Here's a link so you can try yourself.

(Shout out to TheDagger for his cool redone HUD art that I used!)

Update: June 3 2017:
HUD now scales up when used on resolutions above 1080p (so 4k users can rejoice)

FS2 style HUD:

You only need one, don't install both!
Install one of the two in your MediaVPs 2014 folder

2HUD.vp
A low maintenance handy vp version.

Ax2HUD.vp
Includes my Message Script which makes message more readable.


FS1 style HUD:
Install in your FS Port Media VPs folder

Ax2HUD-FS1
Includes my Message Script which makes message more readable.


Hidden Text: Old dev post • Show
First let's see what this new hud looks like in the intended 1024x768 resolution...
http://lazymodders.fsmods.net/axemart/FreeSpace/2Hud/screen0422.jpg
Takes you right back to the 640x480 days...

Now lets go take a look in the 1920x1080 realm...
http://lazymodders.fsmods.net/axemart/FreeSpace/2Hud/screen0414.jpg
http://lazymodders.fsmods.net/axemart/FreeSpace/2Hud/screen0416.jpg
http://lazymodders.fsmods.net/axemart/FreeSpace/2Hud/screen0417.jpg
http://lazymodders.fsmods.net/axemart/FreeSpace/2Hud/screen0420.jpg

2_HUD_BETA1!!! OOOOLD

The hud file is named mv_root-hdg.tbm so it'll override the mediavps stuff, and there's a few fixed hud gauges included to make things work correctly.

I'd call this a Beta Release right now, let me know if there are any overlapping gauges, something I missed, or other helpful suggestions. Hopefully this should make for easier reading of the gauges...

***Note this won't work with my scripted message gauge! You'll get 2 headanis appearing. I'll... find a way to fix that later...****
« Last Edit: June 15, 2017, 07:53:40 pm by Axem »

 

Offline niffiwan

  • 211
  • Eluder Class
Re: The Lost 2_ HUD: Rebuilt!
nice work!  :yes:
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Linux OBS Packages: FSO 3.7.0 | FSO BP Build | wxLauncher (?) | PCS2 (?) | wxVPView (?)
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...

 

Offline The Dagger

  • 29
  • I like zod ships
Re: The Lost 2_ HUD: Rebuilt!
I'm pretty sure that FSO uses the files with the 2_ prefix as high-def files since my Slighty better HUD replaces ONLY those files (and it works without table changes).

 

Offline Axem

  • Administrator
  • 211
Re: The Lost 2_ HUD: Rebuilt!
Sort of.

Quote
(aside from the radar and center reticle stuff).

The stuff you have in your VP are some of the few files the game does use for "hi def", but this mod now uses other files present that the game didn't actually use before such as the 2_directives, 2_escorts, and other gauges that are along the sides.

(Also I think people can probably use our stuff together for even higher quality stuff since you don't have any table edits to yours!)

 

Offline The Dagger

  • 29
  • I like zod ships
Re: The Lost 2_ HUD: Rebuilt!
Oh, great then! And thanks!

 

Offline Axem

  • Administrator
  • 211
Re: The Lost 2_ HUD: Rebuilt!
Ok, so here's a slightly more refined version. Things are more aligned and main message font size isn't as obnoxious. Also includes The Dagger's aforementioned hud art so its now 9% nicer as well!

It's in a handy VP so you could throw it in a MediaVPs 2014 folder of your choice and it should work with 99% of campaigns. Hopefully anyway.

2HUD.vp

Also here's a bonus Ax_2HUD release, includes my message script, which in my opinion makes messages 999% more readable. This should work with 90% of campaigns, there might be an odd ball on that doesn't. Also it might not work for cockpit mods, still not sure what's up with that.

Ax2HUD.vp

Just don't install them together. They do not get along!

 

Offline Thisisaverylongusername

  • 27
  • Your Friendly Neighborhood Lurker
Re: The Lost 2_ HUD: Rebuilt!
I'm on 1600*900 resolution and head anis aren't scaling to fit the HUD. I'm on 3.7.2 Final. Help?
If the opposite of pro is con, then is the opposite of progress Congress?

 

Offline Axem

  • Administrator
  • 211
Re: The Lost 2_ HUD: Rebuilt!
I guess I should have mentioned you need a recently nightly build to run this properly. There have been some new additions to the HUD code (like headani resizing) that got added. Sorry about that. :(

 

Offline Axem

  • Administrator
  • 211
Re: The Lost 2_ HUD: Rebuilt! - Updated March 13 2017
Hello! I updated this a bit. If you were using this with a nightly build, you may have noticed the scripted message gauge being much much brighter than usual. This now fixes that issue, and also has some new parameters so the weapons gauge with ballistic primaries looks correct.

 

Offline Admiral Nelson

  • Resurrecter of Campaigns
  • 211
  • The GTA expects that every man will do his duty.
Re: RELEASE - The Lost 2_ HUD: Rebuilt! - Updated March 13 2017
I notice that If I try and use this with a mod dependent on the fsport-mediavps the head ani is displayed at top left, where it is overwritten by the regular message flows.  If I place your vp (with the FS1 recticle added) in the fsport-mediavps folder, it works as expected.  It does not work when placed in the dependent mod folder (fsport-str is a good example).  I ask about it here since many old campaigns used empty message files to pad out the time the old style messages stayed on screen.  Now, when your box is used with such emptymessage files, it takes the length of that pad file into consideration in how long to display the box.  This behavior is much worse than to just use your inbuilt length calculation which is pretty good now.

All this leads to a mod packaging concern -- I'd like to get rid of those emptymessage files and use only your box, as it is 1000x better than the old method, but I don't have a way to force your vp to be present in the fsport mediavps folder.  I don't suppose you have any idea what causes this oddity, or how to cure it?
If a man consults whether he is to fight, when he has the power in his own hands, it is certain that his opinion is against fighting.

 

Offline Axem

  • Administrator
  • 211
Re: RELEASE - The Lost 2_ HUD: Rebuilt! - Updated March 13 2017
Okay, I'll look at fsport stuff and see how I can smartly override the files.

And what filename were they using for the empty message files? In the config file for the message box, I have a list of filenames that basically are known to be super short, like message beeps, so the script ignores the wave file length and goes back to the precalculated way. I can add some new filenames so those campaigns won't have that odd message behavior.

 

Offline Admiral Nelson

  • Resurrecter of Campaigns
  • 211
  • The GTA expects that every man will do his duty.
Re: RELEASE - The Lost 2_ HUD: Rebuilt! - Updated March 13 2017
Thanks, Axem.  Your message box is indispensable, at least IMO!  The files are "emptymsg.wav" and "Emptymsg_LNG.wav".  I've seen quite a few older campaigns with these...
If a man consults whether he is to fight, when he has the power in his own hands, it is certain that his opinion is against fighting.

 

Offline Axem

  • Administrator
  • 211
Re: RELEASE - The Lost 2_ HUD: Rebuilt! - Updated March 13 2017
Admiral Nelson, can you give this a try and see how it works out? In theory all you should need is the new hud gauge table, but I think just to make everything super foolproof, I just made a whole new package. It should work in a campaign's mod folder or a fsport-mediavps folder.

  

Offline Admiral Nelson

  • Resurrecter of Campaigns
  • 211
  • The GTA expects that every man will do his duty.
Re: RELEASE - The Lost 2_ HUD: Rebuilt! - Updated March 13 2017
Looks good from an initial test. :yes:  I appreciate the quick fix!
If a man consults whether he is to fight, when he has the power in his own hands, it is certain that his opinion is against fighting.

 

Offline hxazgalor

  • 25
  • Anything but Shivan
    • My Blog
Re: RELEASE - The Lost 2_ HUD: Rebuilt! - Updated March 13 2017
Axem, does that new fix work for FS2 as well? As in, will it work if I place it in the regular MediaVPs_2014 folder? Thanks :)
"Stars looking at a planet
Watching entropy and pain
And maybe start to wonder how
The chaos in our lives could pass as sane"
~ Switchfoot, 'Stars'

 

Offline Axem

  • Administrator
  • 211
Re: RELEASE - The Lost 2_ HUD: Rebuilt! - Updated March 13 2017
2HUD or Ax2HUD should go in your mediavps 2014 folder. Ax2HUD-FS1 should go in your fsport mediavps folder. Anywhere else and you might not get expected results. Let me know if something appears wrong!

 

Offline hxazgalor

  • 25
  • Anything but Shivan
    • My Blog
Re: RELEASE - The Lost 2_ HUD: Rebuilt! - Updated March 13 2017
Roger that. Thank you Axem! :)
"Stars looking at a planet
Watching entropy and pain
And maybe start to wonder how
The chaos in our lives could pass as sane"
~ Switchfoot, 'Stars'

 

Offline ThatGuy

  • 21
Re: RELEASE - The Lost 2_ HUD: Rebuilt! - Updated March 13 2017
These HUDs are very nice! But I was wondering if it was possible to get the .vps with scaling enabled? I just got a 4k display and Freespace looks absolutely gorgeous on it (thanks to the hard work of this community), except for the HUD. I tried The Dagger's original assets that aren't using table modifications and those scale and look acceptable at 4k, but those don't have the fixes for reticule and other misaligned stuff. I tried editing these 2HUD VPs or using tables with them but I really don't know what I was doing wrong the scaling just never worked. :blah:

If I could get my hands on the original artwork I could make vector versions of them and output/tweak them for any resolution required (if it's not an obscure format) so there can be a good 4k (or more :eek2:) HUD...

 

Offline Axem

  • Administrator
  • 211
Re: RELEASE - The Lost 2_ HUD: Rebuilt! - Updated March 13 2017
Could you try putting the attached table in something like mediavps_2014/data/tables/ (make the folders if its not already made). I can't quite test it since I don't have a 4k setup, but this should force scaling if the screen resolution is above 1920x1080 (I mean that's all the table is, a single line that says that :p). Let me know if it works and I'll add it to the packages.
« Last Edit: June 02, 2017, 07:26:27 am by Axem »

 

Offline AdmiralRalwood

  • 211
  • Mister Subspace Strikes
    • Skype
    • Steam
    • Twitter
Re: RELEASE - The Lost 2_ HUD: Rebuilt! - Updated March 13 2017
scaleup-sct.tbm
Uh... did you mean to name that scaleup-hdg.tbm?
Ph'nglui mglw'nafh Codethulhu GitHub wgah'nagl fhtagn.

schrödinbug (noun) - a bug that manifests itself in running software after a programmer notices that the code should never have worked in the first place.

When you gaze long into BMPMAN, BMPMAN also gazes into you.

"I am one of the best FREDders on Earth" -General Battuta

<Aesaar> literary criticism is vladimir putin

<MageKing17> "There's probably a reason the code is the way it is" is a very dangerous line of thought. :P
<MageKing17> Because the "reason" often turns out to be "nobody noticed it was wrong".
(the very next day)
<MageKing17> this ****ing code did it to me again
<MageKing17> "That doesn't really make sense to me, but I'll assume it was being done for a reason."
<MageKing17> **** ME
<MageKing17> THE REASON IS PEOPLE ARE STUPID
<MageKing17> ESPECIALLY ME

<MageKing17> God damn, I do not understand how this is breaking.
<MageKing17> Everything points to "this should work fine", and yet it's clearly not working.
<MjnMixael> 2 hours later... "God damn, how did this ever work at all?!"
(...)
<MageKing17> so
<MageKing17> more than two hours
<MageKing17> but once again we have reached the inevitable conclusion
<MageKing17> How did this code ever work in the first place!?

<@The_E> Welcome to OpenGL, where standards compliance is optional, and error reporting inconsistent

<MageKing17> It was all working perfectly until I actually tried it on an actual mission.

<IronWorks> I am useful for FSO stuff again. This is a red-letter day!
* z64555 erases "Thursday" and rewrites it in red ink

<MageKing17> TIL the entire homing code is held up by shoestrings and duct tape, basically.