Space Engineers

Space Engineers

Not enough ratings
Digital Clock
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
22.065 KB
28 Jul, 2018 @ 3:16pm
9 Apr, 2019 @ 11:48am
3 Change Notes ( view )

Subscribe to download
Digital Clock

Description
Setup

Required blocks:

FIRST and at all points henceforth - make sure all blocks are set to be owned by you.

1. Programming Block
The programming block needs to be loaded with "Digital Clock"
2. LCD panel
Add the tag "[DCLOCK]" anywhere in the front or back of LCD panel(s) name.

Done.

Customizable colors

LCD panel, CustomData (example):

color = red
backgroundcolor = black

Table of available named colors:

http://www.nbdtech.com/images/blog/20080427/AllColors.png
8 Comments
pro100tv 24 Dec, 2021 @ 4:25am 
Works great! Thank you!
Corpsy 8 May, 2021 @ 11:49am 
forgot! and add into the documentation:
//to example of LCD CustomData:
UTC = +3
//0 = your Local time, -2 = minus 2 hours, +2 or 2 = plus two hours

o/
Corpsy 8 May, 2021 @ 11:43am 
Dear Speedy Gonzales! Best clock-script, BESTEST style of programming!!! But for me need multiclocking: time in Moscow, time in Bangkok, for example...
May be add into script the pseudo UTC support? Like below:
---8<------------------------------------------------------------------------------
//to class TextPanel:
int UTC;

//to func void LoadConfig():
case "UTC":
if (!(int.TryParse(v, out UTC)))
UTC = 0;
break;

//to func void Show(Action<string> f)
DateTime bbb = DateTime.Now.AddHours(UTC);

int Second = bbb.Second;
string Hour = bbb.ToString("HH");
string Minute = bbb.ToString("mm");
--------------------------------------------------------------------------------------
Thanx anyway! One more, urs programming skill is very cool! o/ from Russia ))
ramphaleom 30 Oct, 2020 @ 11:59pm 
simple et pratique , Merci :)
Wolf 15 Jul, 2019 @ 2:49am 
Hello there, could you implement a setting for time zones please ? my server isn't hosted on the same time zone as the players and myself, and I can't figure shit about C# in that case ^^
Lanyx 16 Apr, 2019 @ 11:17am 
Nice
woostyboy 7 Sep, 2018 @ 7:24am 
Great work! Could this be used to show info other than time?
Morphik 29 Jul, 2018 @ 8:46am 
Very well done!