Dual Universe HUD and Autopilot, with Atmospheric and Space features, and automatic interplanetary autopilot that will put you in a safe orbit for when you wake up
Features List |
Change Log |
Warnings |
Installation |
Usage / Hotkey Reference |
Variable Persistence |
Customization |
Examples and Tutorials |
No Autopilot Version |
Credits |
HUD (Heads-Up) | Autopilot | Brakes |
---|---|---|
Artificial horizon | Automatic braking | Brake-hold |
Altimeter | Autopilot to saved locations | Brake landings (brake force > construct mass) |
Pitch | Inter-planetary transit routes | Coast landings (brake force < construct mass) |
Roll | Orbital insertion | Auto-roll |
Yaw | Transit-to-orbit | Pitch lock |
Vertical speed indicator | LUA chat commands | Waypoint management |
Feature Details / Additional Features |
---|
Brake indicator / toggle. Brake is now a toggle and is on by default when entering the seat. There is an onscreen text indicator to show you when the brake is on. The brake can be set to work like default with an Edit LUA Parameter setting. |
Interplanetary Helper - Use Alt-1 and Alt-2 or SHIFT-R / SHIFT-T to cycle through target planets (incl. option SatNav locations). Shows distance, travel time (including acceleration, travel and braking - absolute total), brake time (current and max). Note that currently, Brake Time is inaccurate if you're inside atmosphere. Once you're in space, it will properly read the space brakes and give the correct values. Shows max mass for your ship on planet at sea level based on brakes. Note: If going to a planet with atmosphere, you must get the max mass reading while in atmosphere, and same if going to planet with no atmosphere. |
Activate Gyyro - Use Alt-9 to toggle your placed gyro on and off. When a gyro is on, the ship's perceived orientation shifts to the gyro's orientation vice the core's orientation. So if you mount the gyro facing up, up becomes forward if the gyro is on (orientation of gyro is important, which determines which axis are pointing where). |
Dodgin's Don't Die Rocket Governor - Set your speed with cruise control and press B to have your rocket engines fire up to that speed and no faster |
Auto-Land on Gear Down - Putting down your landing gear sets your hover height to 0, raising it sets it to max. Entering a vehicle with gear down sets the height to 0, entering a vehicle with the gear up sets it to max |
Door/Ramp Automation - Automatically closes doors/ramps when entering and opens them when exiting. Requires you to link these to the seat once, and it will remember and relink them each time you configure it afterward. No renaming required. |
(ButtonHUD) Buttons and custom controls - Custom implementations of virtual joystick and mouse controls, allowing you to use virtual joystick without that disgusting giant circle on your screen. Buttons to use many of the features. Buttons page appears when keeping SHIFT pressed (not in freelook mode). |
Atmospheric Package - Auto-Takeoff, Auto-Land, Altitude Hold and Follow Mode for Remote Controllers |
Fuel Tanks - These are no longer automatically slotted to seat. You still get fuel readouts under the minimap. If you want the standard fuel widget, you will need to link the fuel tank(s) to the seat one time and then run the autoconfig. Autoconfig also needs to be run whenever the number of tanks changes in the construct. |
AutoPilot - Use Alt-4 when you have a target selected with the Interplanetary Helper, and you are in space with clear line of sight to the target. The script will align to the optimal vector to place you in a 1 SU orbit from the target, accelerate, cut engines when appropriate, and brake until orbit is achieved. |
Glide Re-Entry - Recommended before activate: align ship prograde and slow down to 2000km/hr and be within 20km. Once activated: ship will angle down to -30 degrees and accelerate(slow) to Re-Entry speed (1050km/hr default). Once the ship reaches Re-Entry Altitude (default: 2500m) it will attempt to level off into altitude hold at that height. If glide re-entry is done as part of a saved location autopilot, the ship will then begin alignment and navigation to saved waypoint. |
Parachute Re-Entry - Recommend before activate: be within 20-30km of planet. Be at a stop or less than 3000km/hr. Once activated: Ship will angle down to -80 degrees and accelerate to 1050km/hr (re-entry speed). When atmosphere reaches 0.02, brake landing will activate. |
Trip odometers and information display. |
Fuel level displays for all types of fuel tanks. Ability to unslot fuel tanks to save slots. |
Altitude hold, pitch hold, auto-landing and takeoff functionality. |
Orbital alignment and maneuver assistants and orbital information widget which shows apoapsis, periapsis, apogee, perigee, eccentricity for the nearest planet, using these libraries: https://gitlab.com/JayleBreak/dualuniverse/-/tree/master/DUflightfiles/autoconf/custom |
Radar and periscope for situational awareness (only shown when applicable). |
Ability to hide the built-in display windows to keep your flight aesthetic clean and focused. |
Free-look mode (ALT as toggle). |
User Parameters for customization of your HUD elements (e.g. x/y screen position) and your flight preference to your ship capabilities. |
Save parameters between HUD version updates (requires linking of a databank!). |
Manual Control HotKey |
Ability to change HUD colors (RGB in PrimaryR, PrimaryG, PrimaryB) |
Stall Warning if your alignment drops below configured StallAngle (35 by default) - EVERY SHIP WILL BE DIFFERENT! |
This section is broken down into three parts. |
---|
1) Pre-installation notes. |
2) Instructions to locate the release (which also contains install instructions). |
3) Post-installation notes. |
Please read this section in its entirety before proceeding with the installation. |
Item | Key(s) | Brief Description |
---|---|---|
UI Overlay | Hold SHIFT | Displays the UI overlay with mouse-over buttons. Hover with mouse over a button (not click!) and let go of SHIFT to select it. |
Save Location | Hold SHIFT then selecting the Save Position mouseover | Will save the current location in the databank (if installed). This location may be selected by the autopilot option to automatically fly to the destination. It will not monitor for impeeding structures or ships. Monitor during use. Locations will be named by planet/moon and a number. |
Update Location | Hold SHIFT then selecting the Update Position mouseover | Select a previously saved location in the Interplanetary Helper to change its name with the name of the closest atmo radar target name. This is a workaround until manual editing/naming of locations is available. |
Free Look | ALT | Toggles free-look mode (mouse moves camera around ship, not flight input). Please note that your view does not auto center when exiting Free Look. Free Look must be enabled to zoom in 3rd person mode. |
Toggle HUD | Option 3, or ALT-3 | Toggles the primary hud display HUD on/off, i.e. if off the vanilla widgets will appear. |
Autopilot Destination / Destination Select | Option 1 and Option 2, ALT-1 and ALT-2 or SHIFT-R and SHIFT-T |
Cycles through autopilot destinations (planets / bodies / saved waypoints). |
Autopilot | Option 4, or ALT-4 | Ship will tilt up at preset max angle (30 by default) and fly to 50km altitude and then engage autopilot to selected planet/moon. Once it arrives it will establish orbit and align to prograde. If a saved location was chosen, it will glide entry in and then autopilot to location. NOTE: It does not check to see if anything is in front of you on ground (like normal) nor if your target planet is behind current planet even 50km in space. DO NOT USE if your ship cannot power out of atmosphere at 30 deg with 100% engines. USE WITH CAUTION FIRST TIME. Tested Alioth to Sanct and Sanct to Alioth repeatedly. |
Lock Pitch | Option 5, or ALT-5 | Will lock your target pitch at current pitch and attempt to maintain that pitch (this is different from Altitude Hold) Most other AP features will cancel Lock Pitch. |
Altitude Hold | Option 6, or ALT-6 | Toggles the altitude hold functionality. Tries to keep the current altitude in spite of planetary curvatore. Depending on ship's lift/force, the actual height may be less than the targeted height! Adjust altitude with (left) ALT-C (down) and (left) ALT-SPACE (up) in increments (growing increments if key is kept held down). |
Save / Clear Databank Settings | Option 7, or ALT-7 | Save or clear (double tap!) the currently saved configuration settings. |
Follow Me | Option 8, or ALT-8 | Engage follow mode if you are using Remote Control. |
Anti-Gravity Generator | ALT-G (default mapping) or HUD button |
Once engaged, hold ALT-C to lower target height or ALT-Space to raise target height. The AGG's actual height will only change at 4m/s up or down toward the target altitude. Initiate new target altitude before leaving seat and AGG will continue changing. |
Item | Detailed Description |
---|---|
User text input | To use, hit TAB and then ENTER to send messages to LUA Chat (this will not cause the known tab fps slideshow if the chat tab is open first). Currently supported commands: /commands - shows command list and help /G VariableName value - changes the global variablename (corresponding to the same-named LUA parameter) to the specified new value. Note: names are case-sensitive! Examples: /G AtmoSpeedLimit 1300 sets that LUA parameter to 1300km/h or /G circleRad 100 would shrink the artifical horizon down to 100 from default 400. /agg height - Sets the AGG target height to height (in meters). Note that it must still move to this height at 4m/s like normal. /addlocation savename waypointpaste - Adds a new saved location based on waypoint. The savename must not contain spaces/blanks! Not as accurate as going to location and using Save button. /setname name - renames the current selected saved postion to "name" |
UI Overlay | Hold SHIFT to show the UI overlay with buttons (not in freelook!). Mouse over a button and let go of SHIFT to select it (not clicking it). While holding SHIFT, press R/T (speedup/speeddown) to cycle between autopilot targets. |
Free Look | ALT is now a toggle for free-look. Because of the way we had to use Keyboard mode, it can't re-center when you lock it back, but that can be desirable in some situations |
Autopilot Destination / Destination Select | ALT-1 and ALT-2 (Option1 and Option2) to scroll between target planets for Autopilot and display. This also works using SHIFT-R and SHIFT-T to scroll. This widget will not display if no planet is selected (ie you must press one of these hotkeys after entering the seat in order to show the widget) |
HUD Toggle | ALT-3 toggles the HUD and other widgets off/on. Orbital display and autopilot information will still show if HUD is off. There is a parameter you can set to have HUD and Widgets on at same time. |
Autopilot | ALT-4 to engage Autopilot for interplanetary travel, if you are in space and have a planet targeted. Ensure you have a clear line of sight to the target. This will align to the target, realign slightly to point 200km to the side of the target, accelerate, cut engines when at max, start braking when appropriate, and hopefully achieve a stable orbit around the target. You can set your target orbit distance in parameters, default is 100km. Recommend do not go less then 35km. |
Lock Pitch | ALT-5 (Option 5) will lock your pitch at current pitch and attempt to maintain that pitch (this is different from Altitude Hold) Most other AP features will cancel Lock Pitch. |
Altitude Hold - | ALT-6 to toggle Altitude Hold. If used while flying (with gear up), this will attempt to hold at the altitude you turned it on at and put you in cruise control at current speed. You can modify target height with LALT+C (down) and LALT+spacebar (up). Cruise speed is modified like normal. Hitting ALT-6 again or tapping brake will stop Alt-Hold mode but leave you in cruise control. ALT-6 while landed (with gear down) to turn on Auto Takeoff - this is simply Altitude Hold that sets you to a paramater-defined distance above your starting position (default 1km). You must control your own thrust and release the brake to takeoff. G (Gear) is a very loaded key. While in atmosphere it will attempt to Brake Land if your brakes are strong enough (stop you and float to ground). If not it will attempt to coast land (angle down till slow enough and within hover/vbooster height then land). If in space it will initiate re-entry to a specific altitude (2500m by default) at a specific re-entry speed (1050km/hr default). You may modify the target values via Edit LUA Parameters, or use Alt-C and Alt-Spacebar to lower and raise target height, and mousewheel to change target cruise speed. |
Save/Clear Variables in Databank | ALT-7 to Wipe variables in a databank, you must press it a second time to confirm - Hitting ALT-7 2x will wipe all data except saved locations from databank. To wipe saved locations you must select them as a target and then use Clear button shown while holding shift. Or you can pick up the databank, remove dynamic properties, and then put it back down, this clears everything from it. |
Follow Mode | ALT-8 will toggle Follow Mode when using a Remote Controller. This makes your craft lift off and try to follow you wherever you go. It will not go below ground unless you dig out a big enough hole that it would naturally go down while hovering. |
Toggle Gyro | ALT-9 to toggle a linked gyro on or off. If a gyro is installed on your ship, this will change your ships perceived orientation from Core to Gyro. This is used to allow you to control flight based on gyro orientation and not core orientation. |
Radar | Radar indicates below minimap number of targets or if it is jammed (atmosphere in space or space in atmosphere). The radar widget only pops up if targets are detected. The periscope widget only pops up if you click a target and successfully identify it. All widgets close automagically. |
Return to Table of Contents |
As mentioned briefly above, your custom variables are saved between reloading configurations if you attach a databank to the ship (and use Alt+7 to save them). However, all variables in the program are saved in the databank when you exit the seat. This means it will be exactly as you left it - if you were landed when you got out, it won't jump off the ground when you get it.
This also means that when using autopilot, you can relatively easily move between a seat and Remote Controller; it will be down for a short time while you swap, but everything is saved and it will pick up where it left off.|
Right click the seat and go to Advanced -> Edit Lua Parameters to see them all. Mouse over a name to see its purpose and potential settings.
https://github.com/Dimencia/DU-Orbital-Hud/blob/master/ButtonHUD_example_1.png
https://github.com/Dimencia/DU-Orbital-Hud/blob/master/ButtonHUD_example_2.png
Rezoix and his HUD - https://github.com/Rezoix/DU-hud
JayleBreak and his orbital maths/atlas - https://gitlab.com/JayleBreak/dualuniverse/-/tree/master/DUflightfiles/autoconf/custom
Archeageo and his work on the HUD