Dual Universe Creators
Welcome Pilots! Click here for info on the site and how to submit your ships.
We're now on Twitter!
Follow the latest designs and DU news at
@CreatorsDu
Help us build Utopia II! Join the station discord
Join DiscordLUA Touchscreen Examples
Hadron
Script
Give your favorite ships a touch of class with our DRM free touch screens (as seen on the Eclipse). Backgrounds are PNG since LUA drawings have no graphical editor. I am no LUA expert but the original code was provided by NQ-Deckard who (in my opinion) is! (DU-Forums) Simple LUA editing knowledge is required. Tinker with the values and you will quickly understand what is going on. It should be noted that "--" uncomments a line. Thanks to Suppe and his instructions in the screen code. Simple to deploy as you can omit the forcefields (the only T3 elements in the blueprint). All code is updated for LUA revamp. 09.2022 Have fun and LUA-fy your ships! VR: Hadron HQ Alioth
AR Mining Unit Manager
DivenDerp
Script
AR board script for managing and monitoring your mining units Github: https://github.com/DapperDucky/AR-Mining-Unit-Manager Demo Video: https://www.youtube.com/watch?v=T6S5lU59Y_E
Simple AGG screen UI
Banned
Script
Simple AGG touch screen control UI. Far left slider controls the altitude, the "Alt Lock" button prevents it from being moved accidentally. Min is 1km and max is 10km. There are also 2 lock buttons to prevent the Agg power button from accidentally being toggled. The 2nd slider moves to display current current agg base altitude and the center box shows it also. The right box shows your ships current altitude. The script can be customized if needed (may be an additional fee depending on complexity) Future proof, uses new lua UI changes. Setup includes: Control board, any size screen, Databank (optional, but sometimes displays inconsistencies)
DeadGunner Suite
Deadrank
Script
Free fully featured PvP/PvE combat HUD that is open source and free to the public. Can be found here: https://github.com/Deadrank/DeadRank-DU
HoneyComb Information
Credence
Script
Screen showing the stats and values of every Honeycomb in game. Great for display or shipbuilders. - Now DRM FREE! Copy to your own screens. - Option for screen flipping. --- Discord --- https://discord.gg/KcafbTSwMp --Free Download Link--- https://www.nexusmods.com/dualuniverse/mods/5 --- In Game Buy Locations --- Locura Shipyard @ ( ::pos{0,2,29.8110,107.2521,5.2659} ) Exchange @ Yellow Hall Booth 6 ( ::pos{0,0,-19010.3356,113355.2043,-74225.1859} ) --- VR Locations -- View Units: Locura Shipyard -- Other VR Locations -- Locura Exchange Store
Poor man's refiner
Cozzmo
Script
Simple script making your refiners to automatically cycle through t1 recipes when they are out of resources. Helps if you're just starting and have only one refiner or if you want to make your refiner more efficient. Just copy this into your onStatusChanged(3) filter on your refiner (assuming you named that slot "refiner") ``` --- status 3 -> jammed, no materials -- 198782496, -- hematite -> iron -- 2240749601, -- bauxite -> aluminum -- 159858782, -- coal -> carbon -- 2589986891, -- qurtz -> silicon local currentItem = refiner.getOutputs() -- linked list to cycle possible recipes local refinedOres = {} refinedOres[198782496] = 2240749601; refinedOres[2240749601] = 159858782; refinedOres[159858782] = 2589986891; refinedOres[2589986891] = 198782496; refiner.stop(true) refiner.setOutput(refinedOres[currentItem[1].id]) refiner.startRun() ```
ATMO_PVP
Baxton Aeronautics
Script
HI everybody, I'm glad to present to you my old script pvp made in BETA, I take me some times to update it for the release. the fight works only under 1000 m distance between every opponents Installation : ------------- you have 2 reciever, 2 emetter and 1 transponder you have to define the channel for each one ! PUBLIC FIGHT CODE --------------------------- >>>name your ship !<<< receiver_1 = public2 receiver_2 = public1 emetter_1 = public2 emetter_2 = public1 transponder = publicAll -- in lua parameter -- canalemitter_1 = public1 canalemitter_2 = public2 video : https://www.youtube.com/watch?v=Xuu7uFORS6A dispencer at this position : ::pos{0,27,13.7056,23.2530,59.6596} vr = baxton aeronotics its 500000 h per ship enjoy !
Diven's System Map
DivenDerp
Script
YouTube Demo: https://youtu.be/SsrcFBkUe-g An interactive map of the solar system. Display distance, Ore, Gravity, updating ships position, warp pipes, safe zone, trajectory, and a warp animation. More locations can be added to the map by request. For a working demonstration on a static core visit "Divens Lua Bazzar" at your nearest surrogate station Contact Me in game [Player Name: DivenDerp] or via Discord [Diven Desu#5809]
Diven's Fuel Hub
DivenDerp
Script
A board that monitors and broadcast fuel info to a screen/databank/emitter. Simply connect 1-9 fuel tanks, 1-9 screens, and/or 1-9 emitters.
Atmo Engine L Information
Credence
Script
Screen showing the stats and values of every atmospheric large engine in game. Great for display or shipbuilders. We now have another screen at https://du-creators.org/makers/Credence/ship/Locura%20Atmo%20Engine%20Information A massive upgrade over this screen. Shows every atmo engine in game with interactive screen. - Now DRM FREE! Copy to your own screens. - Option for screen flipping. --- Discord --- https://discord.gg/KcafbTSwMp --Github Link--- https://github.com/LocuraDU/DU-Locura-Information-Screens --- Buy Locations --- Locura Shipyard @ ( ::pos{0,2,29.8110,107.2521,5.2659} ) Exchange @ Yellow Hall Booth 6 ( ::pos{0,0,-19010.3356,113355.2043,-74225.1859} ) --- VR Locations -- View Units: Locura Shipyard -- Other VR Locations -- Locura Exchange Store
Shield Control
Ravenis
Script
This script offers all shield functions on any size screen or screens. It uses touch buttons and is well tested. If you are interested, join my scripting discord at https://discord.gg/ttajxhZYXY
Waypointer
Fox Syndicate Scripts
Script
Essentially, this script provides an AR overlay to your world to view waypoints you have set with Archaegeo's script, in addition to the planets around you. Like all AR scripts made with the AR projection library, there are specific conditions under which this script functions correctly. If you are on a planet, assuming you aren't in a cockpit in another ship, the script should function flawlessly. It will only work in a seat on the construct the programming board was deployed in, and only if you correctly calibrate said seat, assuming you have "freelook" enabled. What freelook enables is a way to track where your camera is looking purely based on your mouse movement. Of course, this comes with one major downside: it won't work in the third person. Nor will it work if you don't calibrate your pitch and heading. Calibration takes place in the form of looking either up or down, pushing your mouse past the limit you can look and then looking either left or right. The accuracy is around 1 degree when looking straight on if the calibration was done properly. (Inaccuracy is purely a result of the mouse capture not being absolutely perfect) In space, as long as you are on the ship the programming board was activated on, it should function for both in a seat, walking around and jetpacking. Note that for walking around, you need to calibrate your pitch. There are a couple more settings to change around if you want to. However, that is about all you need to know. To use the script, copy the JSON file contents found in the link below and select something like "paste Lua script" using a programming board. Connect the programming board to the core, and activate! If you have some saved waypoints using Archaegeo's script, connect the databank to it, and it should load his script's waypoints as well. Link: https://github.com/EasternGamer/AR-Library/blob/experimental/NewWaypointer.json Disclaimer: I coded this, however, Archaegeo provided the idea, hence when starting the script he is credited and used to host the script.
Factory Monitor Expanded
Bartas
Script
An expanded version of my Factory Monitoring Screen for people with crazy big factories. Basic version resulted in text overlaps and eventually script crash due to 50k characters limit per screen. This version displays Metalworks, Electronics and Glass industry on screen 1, 3D Printers, Chemical Industry, Refinersm Honeycomb and Smelters on screen 2 and, finally, Assemblers on screen 3. I figured out it should be a proper setup for most big factories tho I know some of you are crazy :P Simply connect core and 3 (or 9) screens (in any order) to Programing Board and run the script. I humbly suggest setting refresh rate (In Lua settings) to 5 to avoid possible laggy situations with a lot of industry running. Script comes with industry locator. Type help in Lua Tab to see available commands. grab it here: https://github.com/BartasRS/Factory-Monitoring-Expanded As always, tips are appreciated but not required. Enjoy
Safe Travel Infos
Ater Omen
Script
A visual representation of your ship distance from the warp tunnel between two planets. Fly safe during your missions! It also shows the safe zone, and simulate your ship trajectorys to let you know where you're heading. Script and presentation here : https://github.com/rhoffsch42/DualUniverse-public/tree/master/safe_travel_infos
DU Lua CLI - Toolkit for Lua development
Wolfe Labs
Script
A small Node.js CLI built to ease the development of Lua scripts, from small to large ones. https://github.com/wolfe-labs/DU-LuaC ⭐ Features: • Project files and management, with configurable link types • Multiple source file support, compiled to Lua, JSON, YAML and CONF • Code on your favorite IDE or editor, be it VS Code, IntelliJ IDEA, Atom or even Notepad! • Automatic code completion support when used with EmmyLua on VS Code and IntelliJ IDEA • Multiple build targets, such as development and production, allowing control over minification, etc. • Multiple entry-point support, allowing you to use a single codebase to code multiple components of a build, such as different Programming Boards, seats, etc. • Support for code libraries, both built using the compiler and outside it • Integration with GitHub Actions available • Built-in helpers for linked element detection and event handling, no need to worry about multiple filters anymore! • Copy output JSON/YAML code directly to your clipboard, speed up your workflow! 📋 Requirements: • Node.js 18 or LTS • Tested on both Windows and Linux 🚗 Getting Started: 1. Install our CLI tool via `npm i -g @wolfe-labs/du-luac` 2. Run `du-lua create hello-world` to create a new project folder or just go into an existing one and run `du-lua init` then follow the prompts 3. When ready, run `du-lua script-add main` to create your main Lua file 4. Run `du-lua target-add` to create a new build target 5. Run `du-lua build` to compile your project You should now be ready to build your next big thing! ℹ️ Source and Documentation URL: https://github.com/wolfe-labs/DU-LuaC/