Xenon HUD
Moderators: winston, another_commander
Re: Xenon HUD
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).
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).
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4830
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Re: Xenon HUD
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.
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.
Re: Xenon UI OXP
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.
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.
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4830
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Re: Xenon UI OXP
(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.
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.
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: Xenon UI OXP
Best to use the Report function for such requests - and supply a target link, perhaps.phkb wrote:Moderators: Can you move this post and the previous one to the Xenon HUD thread?
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
And any survivors, their debts I will certainly pay. There's always a way!
- gsagostinho
- ---- E L I T E ----
- Posts: 573
- Joined: Sun Jul 19, 2015 1:09 pm
Re: Xenon HUD
@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.
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4830
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Re: Xenon HUD
Thanks gsagostinho, I'll add a dot in the next release.
- gsagostinho
- ---- E L I T E ----
- Posts: 573
- Joined: Sun Jul 19, 2015 1:09 pm
Re: Xenon HUD
Great, many thanks!
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4830
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Re: Xenon HUD
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.
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4830
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Re: Xenon HUD
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.
Re: Xenon HUD
Version 1.5.6 fails to install.
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4830
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Re: Xenon HUD
Sorry, hadn't updated the version number in the manifest file. Should be fixed now, though. Can you confirm?
Re: Xenon HUD
It's ok now. BTW what's new in this version?
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4830
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Re: Xenon HUD
Bug fixes and performance improvements mostly.
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4830
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Re: Xenon HUD
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.