Space Engineers

Space Engineers

Ingame Clock on LCD Panel
48 Comments
RougeSable Feb 10 @ 9:24am 
Hi! Does anyone found another stopwatch script please?
BNett2001 Apr 18, 2023 @ 11:22am 
I can't wait until you add the stopwatch function. There aren't many choices out there.
Pegas519 Jun 25, 2022 @ 10:30am 
This script uses C# basic mechanics, any API change wouldn't affect this script, unless a new c# version that changes how time is called is changed. Unlikely to happen.
purre Jun 24, 2022 @ 10:26am 
Forget it mosfet, I was drunk! Great script, thank you!
mosfet  [author] Jun 24, 2022 @ 3:40am 
I havent started Space Engineers in years... Can you specify which step is too complicated?
Pegas519 Nov 19, 2020 @ 7:54pm 
This script displays real life time, not relative to planet time.
Geert-Jan Mar 28, 2018 @ 3:09pm 
@Max, this script is from 2015 and never updated. That might be the problem the time does not show correct.
Max Feb 12, 2018 @ 12:10pm 
21:00 and the sun rises... bruh wtf?
Decimal Nov 5, 2016 @ 10:28am 
I actually fixed the problem. I just had the timer block increase and decrease the font size at the same time so it updates it's texture and bypasses the weird bug.
Decimal Nov 5, 2016 @ 10:21am 
I'm having a really strange problem though I'm not sure wether that's an actual game bug or caused by the script. Because the time onlly changes while I'm changing settings of the lcd panel (like font size or color), otherwise it's just... stuck. I think it just doesn't update the texture of the screen because it still changes the text in terminal. You have any clue?
(I'm using the Dx9 32-bit version, maybe that's the reason)
mosfet  [author] Jun 15, 2016 @ 2:43pm 
well it would be possible to center it in both directions but one would have to decrease the font size by a significant amount, then add some whitespaces at the beginning of the line and skip some lines before printing the actual time. i dont think it would look that nice. i already tried my best to use the most of the screens display.
squirt_reynolds Jun 5, 2016 @ 2:53am 
Awesome script! I really love the simplicity of it....

Two simple questions 1) Is there a way to center the time in the middle of the LCD/text panel? and 2) is there a way to display a title on the screen, such as "Earth Time"?

Thanks again, and great work!
Patê de Cocô Jan 28, 2016 @ 10:09am 
Solved, it has to be set to "Show text on screen". :(
Patê de Cocô Jan 28, 2016 @ 10:08am 
I've tried to load again, but it still doesn't show the time. All items are signed to me, script was loaded but it still showing "online". What could be wrong?
On the LCD, it has time couting over the "Edit Public Text" but it doesn't show on screen.
mosfet  [author] Jan 10, 2016 @ 8:13am 
with mods an analog clock is possible, with scripts not. could you fix all your problems or is there still something not working?
Para Jan 10, 2016 @ 7:28am 
Howdy,Thanks 4 quick response. first time 4 me 2 do on script´s. so its my fold thats not working but now i got it. . the server time is 1h and 5 min bevor real time. aaannnd i like my new clock :).... is it posibele to create an analog clock?
mosfet  [author] Jan 10, 2016 @ 4:43am 
the seconds are missing? could you get me a screenshot of that?
what exactly do you mean be german time? if you look into the script, you will see some variables for adjusting the clocks time. with them you can change the time as you wish.
Para Jan 10, 2016 @ 2:18am 
Howdy, i need a hint. first, seconds missing?? and, how to manage to get german time?
mosfet  [author] Dec 23, 2015 @ 10:11am 
I shortly looked into this and couldnt find a way to display the ingame time via ingame scripts. maybe this is possible with a mod.
mosfet  [author] Dec 23, 2015 @ 4:45am 
I may look into this :)
Nixeen Dec 23, 2015 @ 12:08am 
Can you make a script to show the time of the world?
Ziffidel Nov 5, 2015 @ 1:44pm 
Awsome Ingamescript. was kinda confusing at first but really cool!
ShieldKnight857 Aug 4, 2015 @ 1:35pm 
Thanks for your help. It was the programmable block changed to Nobody. Thanks!
mosfet  [author] Aug 4, 2015 @ 12:54pm 
are you sure that you named the panel correctly and that you are the owner of all the block that are involved with the clock (lcd panel, programmable block,timer etc)
ShieldKnight857 Aug 3, 2015 @ 1:39pm 
Still blank (black). I saved the game, quit, and reloaded. Nothing happened.
mosfet  [author] Aug 3, 2015 @ 1:16pm 
With blank you mean black? Normally it helps to save the game, quit and reload it.
ShieldKnight857 Aug 2, 2015 @ 1:40pm 
I can't get it to work. I read the description three times and tried many different things. The text panel just shows blank. I didn't do the argument part. Any ideas on if I'm missing something?
Professor Nipples Jun 9, 2015 @ 11:57am 
Thanks man! I thought maybe it was the server time (dedicated server) but it's 2hr faster than sever time as well. Thanks for the workaround!
mosfet  [author] Jun 9, 2015 @ 11:25am 
@OMoo: Nothing changes, you just leave the argument empty.

@Professor Nipples: Space Engineers has some problems with the lcd screens. somethimes they just stay black. as you said, just save the game and reload it. At the moment i have no idea why it is 4 hours behind your time. Normally it should just get the system time (which is the time you set for your pc). I made a workaround for such cases. Look in the "Config" Section in the script.
Professor Nipples Jun 8, 2015 @ 7:02am 
Ok so it worked on a reload...but it's 4hrs behind my pc time. Same issue I had with mmaster config time. Any ideas??
Professor Nipples Jun 7, 2015 @ 7:05pm 
does the lcd need bto be "timepanel" in quotes? tried it both ays but the screen stayed black for some reason. no error on the pgrm blackand timers were loopng correctly. I am a script dimwit though...so it's probably something simple.
Professor Nipples Jun 7, 2015 @ 2:55pm 
I love it...question though...can the time be centered on the panel? It's justified to the top right now
ShieldKnight857 May 25, 2015 @ 5:33am 
How do you do this with the new argument they added to the programmable block?
delta07™ Apr 23, 2015 @ 8:40pm 
unlike scytale i dislike 24hr :P. but i like how there is the option. love this thing :) thanks
scytale Apr 21, 2015 @ 7:26am 
thanks, awesome little plugin, to never get lost in time while playing se (that happens way too often :D). can't wait for the 24hr fromat though, I really dislike the 12hrs =/
Blackbomber Apr 20, 2015 @ 7:05pm 
@[907G]Stardriver907 Im aware of how time works in space, but thanks.
Stardriver907 Apr 20, 2015 @ 11:32am 
@Blackbomber200 - Time is a reference. If you need several people to do something in a coordinated fashion, time provides the coordinates. Otherwise, it only means something when you are on a planet with spin, and your clock would tell you how long it takes for the planet to make one revolution. That's the part that doesn't matter in space.
mosfet  [author] Apr 20, 2015 @ 4:31am 
well, time is always the same^^ we just use abstract methods to measure and express it.
Blackbomber Apr 19, 2015 @ 11:04pm 
But time is not the same in space as it is on planets.....
戈伊達 Apr 19, 2015 @ 12:51pm 
Remarks:
- To let it smoothly display the current time, i am running it with *1 Timers triggering the programmable Block and triggering *now itself. no lags
𝑴𝑨€𝑺𝑻𝑹𝑶™ Apr 19, 2015 @ 5:13am 
very good, nice work
Quegga Apr 19, 2015 @ 2:16am 
nice one. kept it simple and works perfectly :)
mosfet  [author] Apr 18, 2015 @ 4:01pm 
noted this as to-do :)
i will finish some to-do's the next days, at the moment i am addicted to gta5 ;D
sober667 Apr 18, 2015 @ 2:12pm 
Could u add allarm to it so it rings at centarin time?
mosfet  [author] Apr 18, 2015 @ 1:00pm 
yes thats right, i didnt think of it. with scripts simple and small as this, running the script and triggering the timer by itself shouldnt cause any problems.
sober667 Apr 18, 2015 @ 11:39am 
If u want smooth add to timer comand triger now and start so it will run faster than after 1 s
it works well with lot s of scripts
mosfet  [author] Apr 17, 2015 @ 1:38am 
yes, but if you are just interested in an ingame clock, there is no need for the huge overhead. The Configurable LCD Panels script has a few thousand lines of code, this snippet here has 8.
Parszywy Lisi Bobek Apr 16, 2015 @ 10:10pm 
Configurable LCD Panels script has the same - Time command