Stationeers

Stationeers

29 个评价
Clock V2
3
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
120.272 KB
2021 年 1 月 13 日 上午 5:19
1 项改动说明 ( 查看 )

订阅以下载
Clock V2

描述
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 条留言
DeviousNope 4 月 16 日 上午 12:57 
this doesn't work, guess imma have to make my own
DaVidoSS 2023 年 12 月 16 日 上午 5:38 
Unfortunately last update makes this briliant clock dead
Solus 2023 年 11 月 20 日 下午 5:29 
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 2023 年 9 月 2 日 上午 8:29 
Any idea why my clock is counting down instead of up?
LoboFH 2022 年 10 月 27 日 下午 12:18 
On Venus needs to be in a wall facing south with dataport facing down
tufted titmouse 2021 年 12 月 30 日 下午 5:17 
On Mimas you need to put it on the ceiling and point it South.
nizzemancer 2021 年 11 月 2 日 上午 1:14 
subscribed for trigonometry
Mars Mullo 2021 年 8 月 21 日 下午 8:29 
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 2021 年 6 月 19 日 下午 8:30 
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  [作者] 2021 年 6 月 18 日 下午 6:25 
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.