Search the Community
Showing results for tags 'autoconf'.
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.
Hello, noveans! õ/ Today I bring you a project I've been working on for a while now, that intends on making Lua development quicker and more organized! About: This tool was initially built as a wrapper around hdparm's excellent wrap.lua script, which among many things allowed developing scripts outside DU, automating the creation of JSON config files, making events easier to work with, etc, and eventually evolved into a tool on its own. Basically, the CLI is a small command-line that allows you to create Lua projects from all sizes and shapes, be it a simple greeting script up or a multi-project system. Main Features: - Support for Lua scrpts with code distributed over multiple files, accessible via require statements, also supports multiple entry-points per project (multiple PBs or render scripts) - Support for importing of external packages via the CLI or from LUA_PATH - Support for render scripts - Support for minification and (experimental) compression - Support for code completion (intellisense) on Visual Studio Code and IntelliJ Idea, requires EmmyLua installed in both cases - Element link management built-in, allows you to indicate what each of the linked elements should be named as and its type - Autoconfig export in JSON, YAML and CONF formats - Syntax checks at compilation time - Optional helpers for linked element management, etc Website / Documentation / Source-code: https://github.com/wolfe-labs/du-luac Requisites and Installation: - You will need to have the Node.js runtime installed! Version 16 LTS is recommended. - For some functions to work, it's ideal to have Git installed too. Lua is optional. - Install via the command: npm i -g @wolfe-labs/du-luac - After installing, you should be able to run the CLI via the command: du-lua