Stationeers

Stationeers

29 ratings
Clock V2
3
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
120.272 KB
13 Jan, 2021 @ 5:19am
1 Change Note ( view )

Subscribe to download
Clock V2

Description
24h clock.

Requires display and a solar sensor.

The solar sensor must be placed on the ceiling with the dataport facing north if you are in the northern hemisphere (Mars, Europa, Vulcan). I haven't tested the moon but it might have to be on a north facing wall with the dataport facing up. If anyone tests this just drop a comment so i can update the description.

My first version of this just used the horizontal angle for the calculation but the minutes would get shorter during midday and midnight and time would slow at dawn and dusk.

This uses horizontal and vertical solar angles and trigonometry to more accurately calculate the time​ so that the passage of time remains constant during the day.

Q. "How does this help me over the other clocks on the workshop?"
A. It doesn't. I just felt like building it. Did I mention the trigonometry?
16 Comments
DeviousNope 16 Apr @ 12:57am 
this doesn't work, guess imma have to make my own
DaVidoSS 16 Dec, 2023 @ 5:38am 
Unfortunately last update makes this briliant clock dead
Solus 20 Nov, 2023 @ 5:29pm 
I had the same problem at first until I realized that by "on the ceiling" they mean that from the perspective of being in a room - so not "on the roof outside, at your feet, with the panel facing up" but "on the ceiling inside, over your head, with the panel facing down". Hope that helps & thanks for yet another good script to learn from, CowsAreEvil!
Estal 2 Sep, 2023 @ 8:29am 
Any idea why my clock is counting down instead of up?
LoboFH 27 Oct, 2022 @ 12:18pm 
On Venus needs to be in a wall facing south with dataport facing down
tufted titmouse 30 Dec, 2021 @ 5:17pm 
On Mimas you need to put it on the ceiling and point it South.
nizzemancer 2 Nov, 2021 @ 1:14am 
subscribed for trigonometry
Mars Mullo 21 Aug, 2021 @ 8:29pm 
For some reason straight out of the box on the Mun it works with the sensor connection down on a south facing wall.
The Pez 19 Jun, 2021 @ 8:30pm 
I managed to do it finally lol, I'll link this code in my post. It now works on any wall, floor or ceiling with any data port. You just have to define 2 conditions at the start of the code.

Maybe one day I might find out why you multiply the sine's together to correct for the different speed at which the angles change.
CowsAreEvil  [author] 18 Jun, 2021 @ 6:25pm 
I would need a lot of diagrams and better editing software to explain this one, so there will not be a video. If you want to change the position of the sensor you just need to adjust the angles read from the sensor before executing the conversion.