Space Engineers

Space Engineers

78 ratings
Day And Night Clock (Script)
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
5.584 KB
31 Mar, 2017 @ 11:41pm
25 Jun, 2017 @ 3:02am
8 Change Notes ( view )

Subscribe to download
Day And Night Clock (Script)

Description
Script version of Day and Night Clock

WORLD VERSIN is HERE

How to Setup?
This scripot designed for stations. It will not work properly if it is installed on a ship and moved.

Set Block
- 1 Solar panel, set Custom Data to " clock ".
- 1 Corner LCD, set Custom Data to " clock ".
- 1 Programable block, put in this script, and compile it.
- 1 Timer Block, setting "Start" and "Trigger Now" itself, and Programmable block "Run with Default Argument".
Any power source.

Operation
Press timer "Start" button. and wait for the sun to go around.
The time is automatically adjusted and operation starts.

Usage notes

1.This script designed for stations. It will not work properly if it is installed on a ship and moved.

2.Automatically adjust the time at sunrise and sunset. At this time the clock time may be displayed somewhat advanced or delayed

3.Do not shield the solar panel from the sun. If that is the case, wait a day and it will be adjusted automatically.
35 Comments
LazyMaestro 12 Apr, 2020 @ 4:56pm 
Thanks for making this. However I think it need an update after a Keen change to LCDs
Sangrias 15 Dec, 2019 @ 1:54am 
Can´t load it in the programmable block
starmind 5 Feb, 2018 @ 5:23am 
Is this still working fine ? seems it often reset the values and now i have a display like 128:55 AM
Jostar980 26 Jun, 2017 @ 2:07am 
@Sunoko still not working, perhaps I should record the problem so you can see
Jostar980 26 Jun, 2017 @ 12:29am 
@Sunoko Will try again as soon as I have time
Sunoko  [author] 25 Jun, 2017 @ 3:09am 
@Tiger @Jostar980 Sorry, nevermind about 2. Probably I solved the problem. Will it work this time?
Jostar980 24 Jun, 2017 @ 5:03pm 
@Sunoko I am trying to use two panels both with clock in custom data as listed. Im not sure what you mean with #2 and I am playing with the english client as I am Australian :steamhappy:
Tiger 24 Jun, 2017 @ 7:10am 
I don't understand what you mean for #2 below... but for #3, yes, I am using the English game version.
Sunoko  [author] 24 Jun, 2017 @ 4:56am 
@Jostar980 hmm...Strange. It work fine for me.
I added few display information in programmable brock for find problem.
1. Solar Panel Count : are more than 1? If not, the content written in the custom data is incorrect.
2. Total Output : number Is stable? If not, That is a problem I have not found...
3. Are you playing with English client? If not... I don't know why doesnt work correctry, I will find out what it is.
Jostar980 23 Jun, 2017 @ 11:37pm 
It doesn't seem to work correctly for me. It changes time and day/ night very quickly and continuesly. It says day length is 20s when in fact it is 20min. I have even set up an automatic solar tracking system for the panels and the clock still doesn't work :(