Jump to content

TheKnightArgent

Member
  • Posts

    1
  • Joined

  • Last visited

Reputation Activity

  1. Like
    TheKnightArgent reacted to hdparm in [Lua] [Script] Basic space-only autopilot   
    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.
×
×
  • Create New...