Space Engineers

Space Engineers

评价数不足
Zachnad0's Disco Lights Script! (ZDLS)
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
2.002 KB
2020 年 10 月 25 日 下午 9:46
1 项改动说明 ( 查看 )

订阅以下载
Zachnad0's Disco Lights Script! (ZDLS)

描述
This script lets you easily host your own disco by randomizing the colors which are displayed on each light (can be any type of light) and allow you to synchronize them too, if you choose to do so!

Instructions for setup and use:

1. Subscribe by clicking the button above.

2. Insert the script into the programmable block. To do that you: open your grid's terminal, go to the programmable block which you want to insert the script into, click 'edit', click browse scripts, find this script and then click 'copy to editor'.

3. Select all of your lights (can be of any type e.g: spotlights, rotating lights, etc.) and put them into a group called [Disco Lights], remove the square brackets and remember that it is case sensitive.

4. Now for the most complicated step: organisation of names and synchronization, if you want. ALL of your lights that are within the script MUST start with a [d] (non-case sensitive and without square brackets) and the second character MUST be a NUMBER, here are some examples: d7, D2, d3 lower deck light. Now, what the numbers actually do is designate which lights will be in sync with each other. These lights are still 100% random but will share the same color at the same time only if they have the same second number. Here is an example of a set of synchronized lights: d5, d5 2, D5 light in far yonder corner, D5 row 6...

5. Click 'run' = Have fun!

If you want to turn the lights on or off, you can do so normally without messing up the script.
This script is fully compatible and won't interfere with any others and should work with most modded lights too.