Xenon HUD

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

Astrobe
---- E L I T E ----
---- E L I T E ----
Posts: 584
Joined: Sun Jul 21, 2013 12:26 pm

Re: Xenon HUD

Post by Astrobe » Sat Oct 15, 2016 1:08 pm

Modified version 1.5.1 here:
https://drive.google.com/open?id=0B7mL1 ... G1OdlE3ZFU

What I've done:
- simplified masslock status computation
- used a customLight dial instead of text label (all three HUD variants: normal, alt and hi-constrast)
- removed the "masslock equipment" that was no more needed
- commented out a missile timer line that appeared to be no more needed

The indicator is right next to the joystick sensitivity indicator. I'll let you tweak the colours and alignment. I'm terrible at graphics stuff.

I've just realized that I don't check for the "disable masslock" option so the indicator should appear always; and since I removed the "masslock equipment" there's no easy way to have the option working again. Making the dial transparent by default should do the trick I guess. Sorry about that. I leave it as is because in my opinion the option is now superfluous; the dial shouldn't annoy anyone.

PS: there's a minor issue with the docking HUD. Removing the "playerIsDocking" term in the checkWeaponsOnline function solves it. Also, the test for alertCondition is probably counter-productive now (assuming that alertMassLock just returns a flag held by the game engine and doesn't hide heavy computations).

User avatar
phkb
Commodore
Commodore
Posts: 2313
Joined: Tue Jan 21, 2014 10:37 pm
Location: [p]laying [h]ard and [k]icking [b]utt somewhere in G7...

Re: Xenon HUD

Post by phkb » Tue Oct 18, 2016 4:20 am

Thanks for contributing to this, Astrobe.

Version 1.5.2 is now available via the download manager. It's pretty much the content you supplied, with a couple of minor code tweaks.

User avatar
tsoj
Dangerous
Dangerous
Posts: 66
Joined: Wed May 18, 2016 8:19 pm

Re: Xenon UI OXP

Post by tsoj » Sat Nov 19, 2016 8:18 pm

Hi,
i downloaded your HUD and i find it very nice, great job!
If i make an Witchspacejump and i am in the view-mode (where the HUD disapears, but i think that's intended, or am i wrong?), the HUD disapears when i make the jump, and if i toggle HUD again with 'o', the the blue thread cross isn't there where it should be (nowhere).
By the way, i'm using Linux.

User avatar
phkb
Commodore
Commodore
Posts: 2313
Joined: Tue Jan 21, 2014 10:37 pm
Location: [p]laying [h]ard and [k]icking [b]utt somewhere in G7...

Re: Xenon UI OXP

Post by phkb » Sat Nov 19, 2016 10:23 pm

(Moderators: Can you move this post and the previous one to the Xenon HUD thread?)

The easiest way to reset the crosshairs on the HUD is to just switch from one view to another. So in the interim while I investigate the other issue that should work.

There is a bug in the game (which has been fixed in v1.85) that shows itself when using Xenon HUD if your view is not on the forward view when you enter hyperspace. Essentially the HUD doesn't receive notification that the view has changed and so whatever the crosshairs are displaying when you enter hyperspace are shown on the forward view. Again, a quick flip from one view to another will fix this.

I'll test the scenario you've outlined and report back. Thanks for letting me know.

User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 13567
Joined: Sat Jul 04, 2009 9:31 pm
Location: Corke's Drift
Contact:

Re: Xenon UI OXP

Post by Cody » Sun Nov 20, 2016 12:13 am

phkb wrote:Moderators: Can you move this post and the previous one to the Xenon HUD thread?
Best to use the Report function for such requests - and supply a target link, perhaps.

User avatar
gsagostinho
---- E L I T E ----
---- E L I T E ----
Posts: 558
Joined: Sun Jul 19, 2015 1:09 pm

Re: Xenon HUD

Post by gsagostinho » Sat Jul 01, 2017 9:58 pm

@phkb what do you think about adding a central dot to the crosshairs, as I did for myself (see: http://bb.aegidian.org/viewtopic.php?p=257349#p257354 )? With weapons offline, it is quite difficult to precisely point to a target that is far away or that is small such as a cargo container.

User avatar
phkb
Commodore
Commodore
Posts: 2313
Joined: Tue Jan 21, 2014 10:37 pm
Location: [p]laying [h]ard and [k]icking [b]utt somewhere in G7...

Re: Xenon HUD

Post by phkb » Sat Jul 01, 2017 11:13 pm

Thanks gsagostinho, I'll add a dot in the next release.

User avatar
gsagostinho
---- E L I T E ----
---- E L I T E ----
Posts: 558
Joined: Sun Jul 19, 2015 1:09 pm

Re: Xenon HUD

Post by gsagostinho » Sun Jul 02, 2017 5:31 pm

Great, many thanks!

User avatar
phkb
Commodore
Commodore
Posts: 2313
Joined: Tue Jan 21, 2014 10:37 pm
Location: [p]laying [h]ard and [k]icking [b]utt somewhere in G7...

Re: Xenon HUD

Post by phkb » Thu Jul 27, 2017 1:11 am

Version 1.5.4 has just been released. In this version:
  • Moved positions of comm log and message gui when docked.
  • Corrected some rgb_color values in the HUD plist files.
  • Added "background_automatic" to the message_gui so it will fade out in hi-contrast mode (Oolite 1.85/86 only).
  • Fixed script error that could occur when player ejects.
  • Updates for new events in Oolite v1.85/6.
  • Added central "dot" to a couple of the crosshairs to help with aiming.
  • Code refactoring.
Download via the expansion pack manager.

User avatar
phkb
Commodore
Commodore
Posts: 2313
Joined: Tue Jan 21, 2014 10:37 pm
Location: [p]laying [h]ard and [k]icking [b]utt somewhere in G7...

Re: Xenon HUD

Post by phkb » Thu Aug 17, 2017 8:06 am

Version 1.5.5 has just been released. In this version:
  • Fixed issue where switching HUD's during flight may not award all required Xenon HUD equipment.
  • Improved HUDSelector integration.
  • Some attempts at performance improvements.

Astrobe
---- E L I T E ----
---- E L I T E ----
Posts: 584
Joined: Sun Jul 21, 2013 12:26 pm

Re: Xenon HUD

Post by Astrobe » Sat Aug 26, 2017 9:48 am

Version 1.5.6 fails to install.

User avatar
phkb
Commodore
Commodore
Posts: 2313
Joined: Tue Jan 21, 2014 10:37 pm
Location: [p]laying [h]ard and [k]icking [b]utt somewhere in G7...

Re: Xenon HUD

Post by phkb » Sat Aug 26, 2017 10:04 am

Sorry, hadn't updated the version number in the manifest file. Should be fixed now, though. Can you confirm?

Astrobe
---- E L I T E ----
---- E L I T E ----
Posts: 584
Joined: Sun Jul 21, 2013 12:26 pm

Re: Xenon HUD

Post by Astrobe » Sat Aug 26, 2017 11:31 am

It's ok now. BTW what's new in this version?

User avatar
phkb
Commodore
Commodore
Posts: 2313
Joined: Tue Jan 21, 2014 10:37 pm
Location: [p]laying [h]ard and [k]icking [b]utt somewhere in G7...

Re: Xenon HUD

Post by phkb » Sat Aug 26, 2017 11:54 am

Bug fixes and performance improvements mostly.

User avatar
phkb
Commodore
Commodore
Posts: 2313
Joined: Tue Jan 21, 2014 10:37 pm
Location: [p]laying [h]ard and [k]icking [b]utt somewhere in G7...

Re: Xenon HUD

Post by phkb » Wed Sep 06, 2017 10:07 pm

New version 1.5.7 just released. In this version:
  • Better armour integration for forthcoming Ship Configuration release.
  • Stopped the "View Mode" equipment item from being removed unnecessarily.
  • Made use of the new "weaponsSystemsOnline" event to improve timer code performance.
  • Made use of the "playerDockingClearanceExpired" event to avoid the use of a timer, for better performance.
  • Fixed issue where the sun glare filter was being reset even though the "Glare Clarifier" was installed.
  • More code cleanup.

Post Reply