hdparm Posted September 16, 2020 Posted September 16, 2020 About This is a basic autopilot script that can accelerate your construct towards a planet and later apply brakes to stop. Vertical space engines are used to control drift. Requirements Space brakes, 1.5+ g. Vertical space engines (pointing down), 0.3+ g. A remote controller or a separate hovercraft seat. Limitations No manual piloting. Use another script to get to space and to land. No collision avoidance. Make sure there are no planets, moons, asteroids, space stations or pirates between you and the destination. Planet positions are stored in the script. If NQ moves the planets, the script will have to be updated. Set-up With an auto-configuration schema (recommended) Download this file to Game\data\lua\autoconf\custom in your Dual Universe installation directory. By default it's C:\ProgramData\Dual Universe\Game\data\lua\autoconf\custom Right-click the control unit (a remote controller or a hovercraft seat) and select "Update custom autoconf list". This needs to be done only once. Right-click the control unit and select "Actions for this element", "Run custom autoconfigure", "Basic Space Autopilot". With a pasteable script configuration Open this link and copy everything to clipboard. Right-click the control unit (a remote control or a hover seat) and select "Actions for this element", "Paste Lua configuration from clipboard". The game should display a "Lua script loaded" message. If it did not, restart the game and copy the script configuration again. Link the core (required) and fuel tanks (optional) to the control unit. Credits Many planet positions were provided by @meigrafd from Hyperion. The script was bundled (amalgamated from multiple .lua files) using amalg. Change log 2020-09-23. Fixed heavy constructs not accelerating past 29997 km/h. A radar widget will be displayed if a PVP radar is linked (not available on remote controllers). Tested in r0.22.2. 2020-09-16. Posted the first version outside the NDA forums section. Tested in r0.21.6. Eviltek2099, Monk_NL, meigrafd and 2 others 5
realMod Posted September 19, 2020 Posted September 19, 2020 Hi, sounds great. Is there also another LUA script available for on planet autopilot, i.e. atmospheric flight? I want to automate the transport from home base to a market and back. Cheers realMoD
hdparm Posted September 19, 2020 Author Posted September 19, 2020 26 minutes ago, realMod said: Hi, sounds great. Is there also another LUA script available for on planet autopilot, i.e. atmospheric flight? Many autopilot scripts exist, but most are not shared publicly. You may have to script it yourself
Sunfyre Posted September 19, 2020 Posted September 19, 2020 @hdparm -- Love it. On a return flight to Sanctuary Moon, I noticed it still showed 100km to Sanctuary, however I was 30km from the surface. The difference caused me to be a bit high on speed as it didn't slow early enough. Is this user error, or is it possible the coordinates for Sanctuary Moon are off slightly? Thanks.
hdparm Posted September 19, 2020 Author Posted September 19, 2020 It's possible. What planet were you flying from? Could you record a video next time it happens? Also check the Lua chat tab for errors. EDIT: adding more vertical space engines apparently fixed this for Sunfyre.
Keimond Posted September 21, 2020 Posted September 21, 2020 Great job @hdparm do you think it's possible to make this work with a gravity engine ?
hdparm Posted September 22, 2020 Author Posted September 22, 2020 8 hours ago, Keimond said: do you think it's possible to make this work with a gravity engine ? This script stops your construct 80 km above a planet and holds it there with brakes. You lose less than 0.3 km of altitude per hour, so you can AFK for a day or two The script could be modified to use an AGG, but would it be useful?
Novean-57943 Posted February 25, 2021 Posted February 25, 2021 Still one of the most useful scripts i think
AtroKahn Posted October 11, 2022 Posted October 11, 2022 My favorite AP... Does this work with the release version of DU?
hdparm Posted October 11, 2022 Author Posted October 11, 2022 On 10/11/2022 at 1:30 PM, AtroKahn said: My favorite AP... Does this work with the release version of DU? It should still work, but not well. There have been many DU changes since the last script update. Speed limit now varies with construct mass, construct mass is no longer relativistic, planets are different. I plan to update the script this week or next. EDIT: script update will take somewhat longer than expected.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now