GithubHelp home page GithubHelp logo

illusori / space-engineers-zi-light-profiles Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 5 KB

Space Engineers - Zephyr Industries Light Profiles

License: MIT License

C# 100.00%
space-engineers space-engineers-script

space-engineers-zi-light-profiles's Introduction

space-engineers-zi-light-profiles

Space Engineers - Zephyr Industries Light Profiles

Living in the Future(tm)

Ever wanted to change your lights to a new colour scheme, but don't want to lose all your old settings?

Zephyr Industries has what you need, I'm here to tell you about their great new product: Zephyr Industries Light Profiles.

Save your existing light configurations with a press of a button! Configure them to something new! Switch them back and forth! Life has never been so good, that's what Living in the Future(tm) means!

Instructions:

  • Place on a Programmable Block.
  • Run the script with the name of a profile as the argument to switch to that profile.
  • When you switch profile, the current light settings are saved to the old profile for that light. (In the case of messing around with subgrids and docking and other stuff, this should "do the right thing".)
  • If the light is new to the script, it will save under the "original" profile.
  • Scans for new lights every 300 game updates. ~30-60s.
  • Saves and restores radius, intensity, falloff, blink interval, blink length, blink offset, light offset, colour and on/off state.

Notes:

  • Messes with CustomData on the light, other scripts that mess with this may clash.
  • Try the "Capac" profile for some fun times and the inspiration to finally get around to writing this script.
  • Set your light profiles to different intensities and put them on a button bar: you now have a dimmer switch.
  • Use sensors to change to an "alert" profile when intruders are detected, and reset again afterwards.

Contributing:

Zephyr Industries Light Profiles is open source, under an MIT license. You can contribute to or copy the code at https://github.com/illusori/space-engineers-zi-light-profiles.

space-engineers-zi-light-profiles's People

Contributors

illusori avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.