Skip to content

A collection of useful scripts and learning tools for Lua programming in Dual Universe.

License

Notifications You must be signed in to change notification settings

Jason-Bloomer/DU-Lua-Scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DU-Lua-Scripts

A collection of potentially useful scripts and tools for Lua programming in Dual Universe.
Nothing super complicated here, but perhaps you find some of these scripts useful to learn from.

List of available open-source scripts:

  • Cellular Automata Art
    • A modified version of the GOL script that uses multiple conditional color sets. Looks cool, doesn't do anything.
  • Construct ID License Plate
    • Uses a construct's ID to generate a unique license plate with configurable display settings.
  • Conway's Game Of Life
    • GOL done in lua. Runs on an in-game screen. (currently not working)
  • Custom Font From Image
    • Uses sub-regions of an image to render text as if it were using a custom font. Supports custom colors, and per-character coloring.
  • Databank Key Viewer
    • Used to manually inspect the contents of a databank, when it contains many values or large tables. Output retains heirachical JSON structure.
  • Developer Utility Screen
    • General screen debug, built with basic re-usable example functions to serve most UI purposes.
  • Door Control
    • Touch-control screen with 4-digit passcode, for "securely" regulating access to doors or other elements.
  • Drawing Board 1.1
    • Draw images by hand on a screen using custom colors and a minimalistic UI.
  • DU Image To Lua-string Converter
    • Convert images to string which can be loaded and displayed by a single Screen element.
  • DU OpenMarket Advertisement
    • An advertisement billboard for DU OpenMarket, my Market API for DU. Cycles between 4 states.
  • Infinite Image Slideshow
    • Displays a slideshow of images, with support for an infinite number of them. Smooth scrolling transitions and configurable parameters.
  • Image To Movie
    • Uses sub-regions of multiple large images to display a quick frame sequence, which looks like an animation or movie clip. Adjustable parameters, supports a theoretically infinite number of images.
  • Item ID Scraper
    • Runs a loop which repeatedly checks the game server for a given item ID, and if the item exists, pulls its data and appends it to a screen's renderscript for copying.
  • Lighting RGB Control
    • Simple screen UI with 3 sliders which can interact with a PB to change the color of light elements.
  • Matrix Code Rain
    • Creates a "Matrix"-like scrolling backdrop, using a non-Cyrillic character set.
  • Nuclear Universe
    • Simple script that creates an unavoidable, impassable lag-field which can "permanently" trap players. Using this on other players is against TOS.
  • Particle System
    • 2d Particle simulation with adjustable parameters. Can be used to emulate snow or rain, or as an art-piece.
  • Proximity Detection Logger
    • Logs all available data about a player, whenever they cross a detection zone.
  • Remote Networking
    • A basic Remote Networking system for use with Emitters and Recievers. Allows you to send/retrieve data, and even run commands from a remote programming board.
  • Simple Game Skeleton
    • A barebones game using a remote controller, kind of like asteroids. WASD movement, Click to shoot at the cursor's position. Basic high-score record.
  • Telemeter Landing Visualizer
    • Uses telemeters (x36) to map the surface beneath your ship, and renders a wireframe projection of the data to a screen.
  • Terminal Emulator
    • Emulates an active terminal, scrolling text with editable technical jargon and color.
  • TYR Mining Unit Control Uplink
    • Displays calibrations and stats for up to 7 Mining Units. Updates in real-time.
  • TYR Ship Info Kiosk
    • Displays flight-stats and images of constructs, fully configurable. Screen ONLY, no order placement.
  • Voxelmancy Space Gyro Tool
    • Very simple script that maps 3 Gyroscope elements to 3 toggle keys, for building in space.

About

A collection of useful scripts and learning tools for Lua programming in Dual Universe.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published