Difference between revisions of "Xenon HUD"
(→Version History) |
|||
(18 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | [[image:XenonHUD_Sample.png|right| |
+ | [[image:XenonHUD_Sample.png|right|700px]] |
==Overview== |
==Overview== |
||
Line 12: | Line 12: | ||
* Automatically hides the HUD when an external view is selected, then unhides it again when a standard view is selected. |
* Automatically hides the HUD when an external view is selected, then unhides it again when a standard view is selected. |
||
* Corrects the issue with the witchspace destination component on the HUD. This now shows the next witchspace destination, not the final destination. |
* Corrects the issue with the witchspace destination component on the HUD. This now shows the next witchspace destination, not the final destination. |
||
− | * Compatible with HUDSelector. |
+ | * Compatible with [[HUDSelector]]. |
* Compatible with 16:10 and 16:9 format displays. |
* Compatible with 16:10 and 16:9 format displays. |
||
* Compatible with 4:3 format displays automatically (MFD slot 7 is dropped in this configuration). |
* Compatible with 4:3 format displays automatically (MFD slot 7 is dropped in this configuration). |
||
Line 20: | Line 20: | ||
* Mass-lock indicator. |
* Mass-lock indicator. |
||
* Cloak indicator. |
* Cloak indicator. |
||
+ | * Amber color option. |
||
This OXP requires Oolite version 1.82. |
This OXP requires Oolite version 1.82. |
||
Line 46: | Line 47: | ||
===Hi-Contrast Mode=== |
===Hi-Contrast Mode=== |
||
The Xenon HUD comes with two operation modes: normal and hi-contrast. The hi-contrast mode can be useful when sun-skimming, when glare from the sun can otherwise obscure instrumentation. To switch between the modes, first prime the "Xenon HUD Mode Selector" by pressing "Shift-N" until it appears as the primed equipment. Then, press the "N" key to activate first the hi-contrast mode, then again to revert back to normal mode. |
The Xenon HUD comes with two operation modes: normal and hi-contrast. The hi-contrast mode can be useful when sun-skimming, when glare from the sun can otherwise obscure instrumentation. To switch between the modes, first prime the "Xenon HUD Mode Selector" by pressing "Shift-N" until it appears as the primed equipment. Then, press the "N" key to activate first the hi-contrast mode, then again to revert back to normal mode. |
||
− | [[image: |
+ | [[image:XenonHUD_NormalMode_v2.png|center|600px]]<br/> |
− | [[image: |
+ | [[image:XenonHUD_HiContrastMode_v2.png|center|600px]] |
Hi-contrast mode will automatically be turned off when you dock. |
Hi-contrast mode will automatically be turned off when you dock. |
||
+ | |||
+ | Note: Hi-Contrast mode can now be made automatic, turning on and off when the glare from the sun reaches a certain level. Use Library Config to enable this option. When enabled, the primable equipment will be removed. |
||
+ | |||
+ | ===Amber Color=== |
||
+ | It is possible to switch between the default blue color style, and an amber color style, using [[Library|Library Config]]. |
||
+ | [[image:XenonHUD_Amber_Sample.png|centre|600px]] |
||
===Crosshair Modes=== |
===Crosshair Modes=== |
||
Line 63: | Line 70: | ||
===MFD Layout=== |
===MFD Layout=== |
||
− | There are |
+ | There are nine MFD's available in this HUD by default, in the following configuration: |
− | [[image: |
+ | [[image:XenonHUD_MFDs_v2.png|center|600px]] |
Two of the MFD's have been given a slightly larger size, with the idea being that the two most important MFD's would be set there, with the less important ones fitting into other slots. |
Two of the MFD's have been given a slightly larger size, with the idea being that the two most important MFD's would be set there, with the less important ones fitting into other slots. |
||
Line 119: | Line 126: | ||
==Download== |
==Download== |
||
− | Download [[Media:XenonHUD.oxz|XenonHUD.oxz]] |
+ | Download [[Media:XenonHUD.oxz|XenonHUD.oxz]] v3.8.8 (downloaded {{#downloads:XenonHUD.oxz}} times). |
− | == |
+ | ==License== |
This work is licensed under the Creative Commons Attribution-Noncommercial-Share Alike 4.0 Unported License. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-sa/4.0/ |
This work is licensed under the Creative Commons Attribution-Noncommercial-Share Alike 4.0 Unported License. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-sa/4.0/ |
||
Line 129: | Line 136: | ||
==Version History== |
==Version History== |
||
+ | 3.8.8 |
||
+ | * Protection for invalid sun references in frame callback. |
||
+ | |||
+ | 3.8.7 |
||
+ | * Removed joystick sensitivity indicator. |
||
+ | * Improved calculations to determine when to auto-switch to Hi-Contrast mode. |
||
+ | |||
+ | 3.8.6 (beta) |
||
+ | * HUD warning elements will now switch off correctly when threat/event is gone. |
||
+ | * Auto-switch anti-flickering time set to 1 second (down from 2 seconds). |
||
+ | * Combat MFD speed value no longer visible on docking HUD. |
||
+ | * Better alignment of space compass elements. |
||
+ | * Added current status text (GREEN, YELLOW, RED) to HUD. |
||
+ | |||
+ | 3.8.5 (beta) |
||
+ | * Moved script.js to xenonhud.js (to reduce clutter in Config folder). |
||
+ | * Added code to prevent flickering when in auto-Hi-Contrast mode. |
||
+ | * Improved calculations to determine when to auto-switch to Hi-Contrast mode. |
||
+ | * Added some interfaces for Combat MFD values (speed, distance to space compass target). |
||
+ | |||
+ | 3.8.4 (beta) |
||
+ | * Added selected missile name to area under missile display (Oolite 1.89 required). |
||
+ | * Cleaned up warning/indicators around crosshairs. |
||
+ | |||
+ | 3.8.3 (beta) |
||
+ | * Fixed issue that was stopping the auto-Hi-Contrast mode from engaging correctly. |
||
+ | * Rearranged the warning indicators around the central HUD, and changed the masslock light into a similar label. |
||
+ | * Re-worked method for adding warning and indicator texts to the HUD. |
||
+ | |||
+ | 3.8.2 (beta) |
||
+ | * Better alignment of MFD underlays with MFD frames. |
||
+ | * Further increased the distance at which checking for Hi-Contrast mode begins. |
||
+ | * Attempt to correct issue where MFD underlay was shown even when no MFD was in the slot. |
||
+ | |||
+ | 3.8.1 (beta) |
||
+ | * Improved visibility of MFD's when in Hi-Contrast mode. |
||
+ | * Fixed issue with jump fuel required marker disappearing from fuel gauge when in Hi-Contrast mode. |
||
+ | * Reduced font size in comms log and message GUI panels. |
||
+ | * Slightly increased the distance at which checking for Hi-Contrast mode begins. |
||
+ | |||
+ | 3.8 (beta) |
||
+ | * Added 2 additional MFD slots, making 9 in total. |
||
+ | * When prime-able equipment is removed (via Library Config), the Hi-Contrast mode will be automatically engaged when glare increases (Oolite 1.89 required). |
||
+ | * Changing the setting for removing the prime-able equipment is now being saved correctly. |
||
+ | * Made Library OXP a requirement for the OXP. |
||
+ | |||
+ | 3.7 |
||
+ | * Improved integration with Ship Configuration F3 HUD selection process. |
||
+ | |||
+ | 3.6 |
||
+ | * Temperature bar wasn't switching to alert mode correctly in all situations. |
||
+ | |||
+ | 3.5 |
||
+ | * Temperature bar vanished when changing mode to "Crosshairs in yellow/red". |
||
+ | |||
+ | 3.4 |
||
+ | * Added "Simplified crosshairs" switch (available via Library Config), which turns off the circular brackets around the crosshairs. |
||
+ | * Mini crosshairs (used when crosshairs are off in red/yellow status) were not reappearing after a witchspace jump. |
||
+ | * Temperature change from low to medium was showing the temp bar even when crosshairs were off. |
||
+ | * Incorrect default crosshair image selected for unrecognised lasers when amber mode is on. |
||
+ | * Switched crosshair list to a dictionary for performance improvements. |
||
+ | * Scanner ultra zoom and non-linear settings were being overridden by HUD Selector in a new game. |
||
+ | |||
+ | 3.3 |
||
+ | * Wrong HUD color used on F3 screen when Ship Configuration in use. |
||
+ | |||
+ | 3.2 |
||
+ | * Some elements on the docked HUD were not being switched to amber color correctly. |
||
+ | * Some elements on the alternate HUD (used when viewing F5-F8 screens) were not being switched to amber color correctly. |
||
+ | * Target reticle now matches selected color scheme (blue or amber). |
||
+ | * Switched all white/grey elements to be the appropriate screen color (blue or amber), including scanner and MFD's. |
||
+ | * Crosshair information was not being correctly transferred to a new ship (standard purchase or via Ship Respray OXP). |
||
+ | |||
+ | 3.1 |
||
+ | * Ship Config armour values were not displaying correctly when they reached 0%. |
||
+ | * Added code to switch color of Manual Witchspace Alignment nav beacon (version 2.0 required). |
||
+ | |||
+ | 3.0 |
||
+ | * Added "Amber" color mode, which switches all standard blue-toned HUD elements to an amber color (selectable via Library Config). |
||
+ | * Added some missing centre points to some crosshair images. |
||
+ | * Compressed PNG images. |
||
+ | * Bug fixes. |
||
+ | |||
+ | 2.1.1 |
||
+ | * Cleanup of [[Ship Configuration]] interface when HUDs are switched with [[HUDSelector|HUD Selector]]. |
||
+ | * Added some missing functions to the [[HUDSelector|HUD Selector]] integration routine. |
||
+ | |||
+ | <div class="mw-collapsible mw-collapsed" data-expandtext="Show older" data-collapsetext="Hide older" style="overflow:auto;"> |
||
2.1.0 |
2.1.0 |
||
* Added equipment space and cargo space dials to the docked HUD, for improved integration with [[Ship Configuration]]. |
* Added equipment space and cargo space dials to the docked HUD, for improved integration with [[Ship Configuration]]. |
||
Line 301: | Line 396: | ||
1.0.0 |
1.0.0 |
||
* Initial release |
* Initial release |
||
+ | </div> |
||
==Quick Facts== |
==Quick Facts== |
||
Line 306: | Line 402: | ||
[[Image:IconLib.png|48px|right|link=Library|alt=Config options available through 'Library']] |
[[Image:IconLib.png|48px|right|link=Library|alt=Config options available through 'Library']] |
||
{{Infobox OXPb| title = XenonHUD.oxz |
{{Infobox OXPb| title = XenonHUD.oxz |
||
− | |version = |
+ | |version = 3.8.8 |
− | |release = |
+ | |release = 2021-08-08 |
− | |license = CC |
+ | |license = CC-BY-NC-SA 4.0 |
|features = HUDs Crosshairs |
|features = HUDs Crosshairs |
||
|category = HUDs OXPs |
|category = HUDs OXPs |
||
Line 317: | Line 413: | ||
==Gameplay and Balance indicator== |
==Gameplay and Balance indicator== |
||
[[Image:tag-colour-green.png]] |
[[Image:tag-colour-green.png]] |
||
+ | |||
+ | |||
+ | {{HUD-OXP}} |
Latest revision as of 06:45, 8 August 2021
Contents
Overview
Xenon Industries is proud to announce the release of their new product: The Xenon HUD. This HUD aims to simplify the layout and maximise the amount of screen available for viewing the action. It does this in the following ways:
- Grouping all important gauges around the HUD.
- Removing unnecessary labels.
- Reducing the alpha level of the HUD elements, and giving them a uniform colour (except in alert conditions), to enhance visibility of space objects.
- Moving other HUD elements (missile loadout, space compass) to the edges of the display.
- Keeping MFDs to the top half of the display and keeping their size down as much as possible.
- Improved polymer overlays provide a permanent 40% glare reduction on all views. (Note: Compatible with Glare Clarifier OXP and Glare Filter OXP - see below).
- Automatically hides the HUD when an external view is selected, then unhides it again when a standard view is selected.
- Corrects the issue with the witchspace destination component on the HUD. This now shows the next witchspace destination, not the final destination.
- Compatible with HUDSelector.
- Compatible with 16:10 and 16:9 format displays.
- Compatible with 4:3 format displays automatically (MFD slot 7 is dropped in this configuration).
- Primable equipment allows HUD to be switched to "hi-contrast" mode, which is useful when sun-skimming (see below).
- Incoming missile warning indicator.
- Fuel leak indicator.
- Mass-lock indicator.
- Cloak indicator.
- Amber color option.
This OXP requires Oolite version 1.82.
HUD Elements
In the following graphic, each component of the HUD has been highlighted. Labelling of the components around the crosshairs was deemed to be unnecessary as it only added distractions in a part of the screen the pilot needs clarity in.
It's worth pointing out that all energy-related gauges are grouped on the right side of the HUD, while speed, fuel, altitude and temp gauges are on the left. Also, the forward shields reduce downwards toward the centre line, while the aft shields reduce upwards toward the centre line.
Red Alert Condition
During red alert conditions, the crosshair surround will go red, and the energy, forward and aft shields, and laser temp gauges alpha level will increase slightly to give them prominence.
Docked and Inflight Variations
When docked, the HUD is minimised to only show fuel, missile status, witchspace destination and the clock:
During flight, when a GUI screen is selected, the HUD will reconfigure itself to put all gauges in the bottom left half of the screen:
Docking Mode
When docking clearance has been requested of a station, the HUD will switch into "docking" mode. In this mode most of the HUD elements are hidden, leaving only the speed bar in the bottom left corner, a simplified crosshair image, plus some guidelines to aid with docking alignment.
Docking mode will be automatically disengaged if the player comes under attack while docking, or if the docking clearance expires or is cancelled.
Hi-Contrast Mode
The Xenon HUD comes with two operation modes: normal and hi-contrast. The hi-contrast mode can be useful when sun-skimming, when glare from the sun can otherwise obscure instrumentation. To switch between the modes, first prime the "Xenon HUD Mode Selector" by pressing "Shift-N" until it appears as the primed equipment. Then, press the "N" key to activate first the hi-contrast mode, then again to revert back to normal mode.
Hi-contrast mode will automatically be turned off when you dock.
Note: Hi-Contrast mode can now be made automatic, turning on and off when the glare from the sun reaches a certain level. Use Library Config to enable this option. When enabled, the primable equipment will be removed.
Amber Color
It is possible to switch between the default blue color style, and an amber color style, using Library Config.
Crosshair Modes
The crosshairs can also be configured to operate in different conditions. With the "Xenon HUD Mode Selector" primed, press the "B" key to cycle through these options:
- "Crosshairs on in all conditions" (this is the default mode)
- "Crosshairs on in condition red only"
- "Crosshairs on in condition yellow and red only"
When the crosshairs are off, all gauges around the crosshairs will also be turned off, giving the pilot an completely unobstructed view of space.
The mode selected for the crosshairs will be stored and will remain in place after docking and launching, and will be saved in mission variables.
A special mode exists for when the player has requested docking clearance at a station. All gauges will be turned off, leaving only a simple crosshair image and the speed gauge to provide a clear view and aid in the docking process.
MFD Layout
There are nine MFD's available in this HUD by default, in the following configuration:
Two of the MFD's have been given a slightly larger size, with the idea being that the two most important MFD's would be set there, with the less important ones fitting into other slots.
Compatibility with other OXP's
Glare Filter Compatibility
If the Glare Filter OXP is installed it will be set to it's maximum setting ("High") whenever it is turned on. Attempting to set a low or medium level will be overridden, as both of these levels are at or below the default filter level provided by this OXP.
Glare Clarifier Compatibility
This OXP will detect when the Glare Glarifier OXP is installed, and will allow it to do it's work of providing 100% glare filtering.
3rd Party Laser Crosshairs
Other laser OXP's can configure the Xenon HUD to use a particular image file for their crossairs. The image file can be one of the ones supplied with the Xenon HUD, or included in their own OXP. To configure a crosshair image file for a particular laser you will need to do the following:
var xh = worldScripts.XenonHUD; xh.$customCrosshairs({laser:"EQ_WEAPON_MYLASER", filename:"crosshairs.png"});
Example: You have the Laser Cannons.oxz installed, and you want to use the military laser crosshairs for the "Lance & Ferman Military Cannon". You would need to do this:
var xh = worldScripts.XenonHUD; xh.$customCrosshairs({laser:"EQ_WEAPON_CANNON_4", filename:"xenon_crosshairs_military.png"});
The crosshairs for the built-in lasers are set up using this same mechanism, so you can also override the crosshair file for those lasers by doing the following:
var xh = worldScripts.XenonHUD; xh.$customCrosshairs({laser:"EQ_WEAPON_BEAM_LASER", filename:"xenon_crosshairs_alt3.png"});
The crosshair PNG files included in the OXP are:
- xenon_crosshairs_none.png
- xenon_crosshairs_pulse.png
- xenon_crosshairs_beam.png
- xenon_crosshairs_mining.png
- xenon_crosshairs_military.png
- xenon_crosshairs_other.png
- xenon_crosshairs_alt1.png
- xenon_crosshairs_alt2.png
- xenon_crosshairs_alt3.png
- xenon_crosshairs_alt4.png
- xenon_crosshairs_alt5.png
See the graphic below for examples of each crosshair type. The alternate crosshairs (those with "alt" in the filename) are provided purely for 3rd party OXP developers to make use of, if they feel that image suits the type of weapon they are creating.
You don't have to use the supplied images. If the laser OXP has its own crosshair PNG file, it can use that instead. Note that the image will be scaled to fit into a 50x50 window - smaller images will be scaled up (potentially making them look pixelated), and larger images will be scaled down (potentially losing fine detail).
Crosshairs
There are different crosshairs for each of the different weapon types. The following image lists each crosshair type, the weapon it is associated with, and the filename of the image.
The alternate crosshairs can be used by other OXP's to give their laser a particular look.
Installation
Place the 'XenonHUD.oxz' into your 'AddOns' folder and when you start the game, hold down 'Shift' until you see the spinning Cobra.
Alternatively, you can download the expansion using the expansion pack manager in the game itself.
Download
Download XenonHUD.oxz v3.8.8 (downloaded 3880 times).
License
This work is licensed under the Creative Commons Attribution-Noncommercial-Share Alike 4.0 Unported License. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-sa/4.0/
Crosshair image files based on work by Kay Pisarowitz. Released under GNU General Public License, version 2 (http://www.gnu.org/licenses/gpl-2.0.html).
Big thanks to Astrobe for suggesting and helping to implement the mass-lock indicator, and for tidying up my code.
Version History
3.8.8
- Protection for invalid sun references in frame callback.
3.8.7
- Removed joystick sensitivity indicator.
- Improved calculations to determine when to auto-switch to Hi-Contrast mode.
3.8.6 (beta)
- HUD warning elements will now switch off correctly when threat/event is gone.
- Auto-switch anti-flickering time set to 1 second (down from 2 seconds).
- Combat MFD speed value no longer visible on docking HUD.
- Better alignment of space compass elements.
- Added current status text (GREEN, YELLOW, RED) to HUD.
3.8.5 (beta)
- Moved script.js to xenonhud.js (to reduce clutter in Config folder).
- Added code to prevent flickering when in auto-Hi-Contrast mode.
- Improved calculations to determine when to auto-switch to Hi-Contrast mode.
- Added some interfaces for Combat MFD values (speed, distance to space compass target).
3.8.4 (beta)
- Added selected missile name to area under missile display (Oolite 1.89 required).
- Cleaned up warning/indicators around crosshairs.
3.8.3 (beta)
- Fixed issue that was stopping the auto-Hi-Contrast mode from engaging correctly.
- Rearranged the warning indicators around the central HUD, and changed the masslock light into a similar label.
- Re-worked method for adding warning and indicator texts to the HUD.
3.8.2 (beta)
- Better alignment of MFD underlays with MFD frames.
- Further increased the distance at which checking for Hi-Contrast mode begins.
- Attempt to correct issue where MFD underlay was shown even when no MFD was in the slot.
3.8.1 (beta)
- Improved visibility of MFD's when in Hi-Contrast mode.
- Fixed issue with jump fuel required marker disappearing from fuel gauge when in Hi-Contrast mode.
- Reduced font size in comms log and message GUI panels.
- Slightly increased the distance at which checking for Hi-Contrast mode begins.
3.8 (beta)
- Added 2 additional MFD slots, making 9 in total.
- When prime-able equipment is removed (via Library Config), the Hi-Contrast mode will be automatically engaged when glare increases (Oolite 1.89 required).
- Changing the setting for removing the prime-able equipment is now being saved correctly.
- Made Library OXP a requirement for the OXP.
3.7
- Improved integration with Ship Configuration F3 HUD selection process.
3.6
- Temperature bar wasn't switching to alert mode correctly in all situations.
3.5
- Temperature bar vanished when changing mode to "Crosshairs in yellow/red".
3.4
- Added "Simplified crosshairs" switch (available via Library Config), which turns off the circular brackets around the crosshairs.
- Mini crosshairs (used when crosshairs are off in red/yellow status) were not reappearing after a witchspace jump.
- Temperature change from low to medium was showing the temp bar even when crosshairs were off.
- Incorrect default crosshair image selected for unrecognised lasers when amber mode is on.
- Switched crosshair list to a dictionary for performance improvements.
- Scanner ultra zoom and non-linear settings were being overridden by HUD Selector in a new game.
3.3
- Wrong HUD color used on F3 screen when Ship Configuration in use.
3.2
- Some elements on the docked HUD were not being switched to amber color correctly.
- Some elements on the alternate HUD (used when viewing F5-F8 screens) were not being switched to amber color correctly.
- Target reticle now matches selected color scheme (blue or amber).
- Switched all white/grey elements to be the appropriate screen color (blue or amber), including scanner and MFD's.
- Crosshair information was not being correctly transferred to a new ship (standard purchase or via Ship Respray OXP).
3.1
- Ship Config armour values were not displaying correctly when they reached 0%.
- Added code to switch color of Manual Witchspace Alignment nav beacon (version 2.0 required).
3.0
- Added "Amber" color mode, which switches all standard blue-toned HUD elements to an amber color (selectable via Library Config).
- Added some missing centre points to some crosshair images.
- Compressed PNG images.
- Bug fixes.
2.1.1
- Cleanup of Ship Configuration interface when HUDs are switched with HUD Selector.
- Added some missing functions to the HUD Selector integration routine.
2.1.0
- Added equipment space and cargo space dials to the docked HUD, for improved integration with Ship Configuration.
- Added ability to turn off fuel leak warning and cloaking device indicator via Library Config.
- Added waypoint dial.
2.0.2
- Improved handling of player ship death scenarios.
- Improved startup scenario handling.
2.0.1
- Fixed background alpha colour of message gui on narrow mode HUD.
- Made narrow mode ratio trigger slightly wider to better avoid overlapping screen elements.
2.0.0
- Added a "narrow" HUD variant which will engage if the game window ratio becomes too narrow for the widescreen display. In narrow mode, the seventh MFD is dropped, and the comms log and message log are moved so they don't overlap other screen elements.
- Added a cloaking indicator to the central HUD.
- Really changed medium level cabin temp color to orange, returned medium laser temp back to blue.
1.5.12
- Changed medium level cabin temp color to orange.
- Restored the $xenonHUDActive function for backwards compatibility with other OXP's.
1.5.11
- Potential fix for issue where docking crosshairs are shown on top of normal HUD.
- Fixes for issues in interstellar space.
- Bug fixes.
1.5.10
- Better handling of situation when buying a new ship replaces the player's ship script object.
- Small tweaks for performance.
- Better handling of player ship destruction.
- Bug fixes.
1.5.9
- Fixed issue where scanner zoom setting was not being restored from a save game immediately after the game is launched. Note: the fix involves updating the default HUD to use the non-linear scanner with ultra zoom.
- Performance tweaks.
1.5.8
- Added fuel leak warning to HUD.
- Bug fixes.
- More code cleanup.
1.5.7
- 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.
1.5.6
- Better handling of player launching an escape pod.
- Code cleanup (thanks to gsagostinho and cag for the suggestions).
1.5.5
- Fixed issue where switching HUD's during flight may not award all required Xenon HUD equipment.
- Improved HUDSelector integration.
- Some attempts at performance improvements.
1.5.4
- 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.
1.5.3
- Updated method for determining player's next target system, to use new property "nextSystem".
- Improved integration with Glare Clarifier and Glare Filter.
- Removed hard-coded scanner range value.
1.5.2 (With thanks to Astrobe)
- Mass-lock indicator moved to be near the bottom of the scanner, rather than in the central HUD area.
- Improvements to mass-lock calculation process.
- Removed option to diable mass-lock indicator, as its position and constant presence shouldn't annoy anyone.
- Removed "viewscreen_only" setting on mass-lock element in the HUD plist files.
1.5.0
- Added a mass-lock indicator to the HUD.
- Added flag into Library Config to disable the mass-lock indicator.
- Fixed Library Config default setting for missile warning indicator.
1.4.1
- Added very small crosshairs to appear when standard crosshairs are turned off during green or yellow conditions.
- Added flags into Library Config to disable the docking HUD and the missile warning indicator.
- Added flags into Library Config to manually set the crosshair mode, and to disable the Mode selector primable equipment item.
- Fixed issue with hyperspace destination system being linked to the space compass, and not considering the presence of the ANA.
1.4.0
- Changed "==" comparisons to "===" for performance improvements.
- Added a incoming missile warning indicator.
- Code improvements and better integration with HUD Selector.
- Fixed issue with mission screens that use the short range or long range special backgrounds and overirde the player's target system. The player's real destination was being reset if the player went from the mission screen displaying the map directly to the F6 screen. It now waits a moment to allow mission screens to do their own cleanup before checking and reseting the destination.
- Better handling of scenario in interstellar space when player selects their originating system as their jump destination. Destination will now appear in HUD.
- Sound effects added for mode/activate functions of HUD.
1.3.9
- Added scanner_non_linear and scanner_ultra_zoom to HUD.
- Fixes to the message gui and comm log gui sections in hi-contrast mode.
- Fixes to the position of the message gui and comm log gui when switching between an in-flight view and a ship system view.
- Tweaks to the hi-contrast mode background colors for some elements.
- plist tidying.
1.3.8
- Fixed issue with the "show HUD on red alert only" option not engaging during red alert. The "alertHostiles" property was being incorrectly referenced against the player ship, not the player.
1.3.7
- Hi-contrast mode now automatically turns off after a witchspace jump.
- Added a check for when the player is in the middle of a jump countdown when attempting to change to/from hi-contrast mode. The HUD cannot be changed during a jump countdown.
- Destination system was not being correctly updated when player's destination was set via an OXP mission screen.
1.3.6
- Current docked station was not being updated upon docking.
1.3.5
- Added armour values (from IronHide or Ship Configuration) to the HUD.
- Added a "docked station" label to the docked HUD.
- Improvements to the hi-contrast mode, making MFD's more visible.
- If you launch using another HUD, then use HUD selector to change to the Xenon HUD, the HUD should now be displayed correctly.
- Trimmed some fat out of the equipment.plist file.
- Crosshair red alert mode now only triggers in combat red alert.
- Clock position on main display will now be more centred based on the font being used.
- Code cleanup.
1.3.4
- Fixed Javascript bug.
1.3.3
- Fixed issue where the wrong HUD was being shown after docking clearance is extended.
1.3.2
- Fixed issue where the check for weapons being online was being switched off after a witchspace jump.
- Small tweaks to positions of text labels.
- Code refactoring.
1.3.1
- Added a "current system" label to the docked HUD.
- Fixed issue where Xenon HUD would override other HUD's when docking.
1.3.0
- Crosshairs change when weapon systems are disabled.
- Better pause-screen handling with "viewscreen_only = 1" on all HUD applicable elements.
- Moved docking speed bar away from crosshairs.
- Added guidelines to docking HUD to aid with docking.
- Fixed Javascript error if player doesn't dock before time expires.
1.2.2
- Fixed issue where the mode was not being restored correctly when restoring the game.
1.2.1
- Fixed issue where docking crosshairs would remain visible if the alert condition changed while attempting to dock.
1.2.0
- Added a special HUD mode for docking, where most gauges are hidden, leaving only a simple crosshair and the speed gauge to aid in the docking process.
- Fixed issue where pausing and the resuming then game would not select the correct crosshair mode.
- Removed debug message.
- Removed redundant code from plist files.
- Made more compatible with HUD Vanisher.
- Added additional crosshair type (alt5).
1.1.1
- Fixed issue with Javascript error when in interstellar space.
1.1.0
- Fixed issue where HUD elements were shown on the paused/F2 screen.
- Converted crosshair-drawn guidelines into an image so it can be turned on/off with the rest of the HUD elements when paused.
- Added ability to turn off crosshair gauges in different conditions.
1.0.0
- Initial release
Quick Facts
Version | Released | License | Features | Category | Author(s) | Feedback |
---|---|---|---|---|---|---|
3.8.8 | 2021-08-08 | CC-BY-NC-SA 4.0 | HUDs Crosshairs | HUDs OXPs | phkb | Oolite BB |