Space Engineers

Space Engineers

Not enough ratings
Night Lights
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
942.000 B
31 Aug, 2017 @ 10:12am
1 Change Note ( view )

Subscribe to download
Night Lights

Description
Simple script made with the Visual Script Builder (http://dco.pe/vsb/) to turn off lights during the day and on at night. It is capable of turning any block on/off so you could also have it turn on extra reactors during the night.

This script uses a solar panel to determine if the sun is up.
Setup for this mod is fairly basic.

1. Place a solar panel and name it "Solar Monitor".
2. Place all blocks to be turned on/off in a group named "Night Lights".
3. Load this script into a programmable block.
4. Build a timer block and set its delay to something moderate, I keep mine set on 2 minutes.
5. Setup timer block actions to: "Run" the programmable block with default argument, then "Start" this timer block.
6. Start the timer block.
7 Comments
erik 19 Feb, 2023 @ 3:25pm 
une petite video sur le fonctionnent serais cool merci
Belfontan 5 Jan, 2021 @ 5:54pm 
Works pretty well
Thank you
CapitanDart  [author] 14 Jul, 2020 @ 8:51am 
@ftsak
I am sorry, but I have not played this game in a couple of years now. A recent update must have changed something. I do not know if or when I would be able to fix this.

For now, I would suggest to place a single panel somewhere on the same grid as the timer.
ftsak 12 Jul, 2020 @ 2:02am 
Hi,
Solar panels are not detected behind the Rotors.
A possible update?
woostyboy 5 Mar, 2020 @ 12:23am 
Simple and effective! Looking forward to giving this a try.
HeTiCu7 18 Feb, 2020 @ 6:13pm 
Thanks! This is exactly what I was looking for.
Glider On Ubuntu #LINUX 10 Dec, 2017 @ 3:23pm 
Thank's about this work!