Jump to content

Photo

Timer of Construction Set Scripts versus in-game timer

scripting timer time in-game clock

  • Please log in to reply
4 replies to this topic

#1
DemonLord7654

DemonLord7654

    Fan

  • Supporter
  • PipPipPip
  • 313 posts

Hello,

 

I was wondering if anyone could help layout exactly how hours in the construction set correspond to the in-game hours.

 

For Example, BrumaGuardCastlePostDay02 is on duty at hour 6 and his watch lasts for 13 hours meaning that his watch ends on hour 19. When using the wait or sleep functions in-game, what time is hour six and nineteen? 6:00 am and 7:00 pm?

 

If anyone could make me a quick table of how the construction set hours correspond to in-game ones that would be fantastic! :) Also, which construction set hour is sunrise and which is sunset?

 

-DemonLord

 

 



#2
mixxa77

mixxa77

    Old hand

  • Members
  • PipPipPip
  • 602 posts

Hi,

 

the CS uses 24h format and the game uses am/pm, 6am is 06 in the CS , 6pm would be 18 in the CS.

 

So, as you said, the Bruma Guard starts his watch at 6am in-game, does it for 13 hours and then ends it once 7pm hour starts.

 

Not sure if there is a defined global hour for sunrise and sunset, extensive digging in the CS Wiki might yield an answer for that one: https://cs.elderscro...title=Main_Page


Edited by mixxa77, 18 March 2020 - 07:33 AM.


#3
mixxa77

mixxa77

    Old hand

  • Members
  • PipPipPip
  • 602 posts

So a table would look something like this:

CS - In-game

0 - 12am

1 - 1am

2 - 2am

3 - 3am

4 - 4am

5 - 5am

6 - 6am

7 - 7am

8 - 8am

9 - 9am

10 - 10am

11 - 11am

12 - 12pm

13 - 1pm

14 - 2pm

15 - 3pm

16 - 4pm

17 - 5pm

18 - 6pm

19 - 7pm

20 - 8pm

21 - 9pm

22 - 10pm

23 - 11pm



#4
QQuix

QQuix

    Old hand

  • Members
  • PipPipPip
  • 777 posts

Each worldspace has its own sunrise/sunset times, which are set in the worldspace Climate dialog.
 
To dynamically get these times in game, use GetClimateSunriseBegin and the other functions listed in this page.
 
I've never used these myself (and I do not have the game installed at the moment to check it), but I am pretty sure the parameter for the Get functions is a ref to the Climate object, not to the Weather, as the wiki says.
 
If you use these functions and confirm that the parameter is the Climate, please fix the wiki (or, at least, let me know and I will do it).



#5
DemonLord7654

DemonLord7654

    Fan

  • Supporter
  • PipPipPip
  • 313 posts

So a table would look something like this:

CS - In-game

0 - 12am

1 - 1am

2 - 2am

3 - 3am

4 - 4am

5 - 5am

6 - 6am

7 - 7am

8 - 8am

9 - 9am

10 - 10am

11 - 11am

12 - 12pm

13 - 1pm

14 - 2pm

15 - 3pm

16 - 4pm

17 - 5pm

18 - 6pm

19 - 7pm

20 - 8pm

21 - 9pm

22 - 10pm

23 - 11pm

 

 

 

Many thanks mixxa!


Edited by DemonLord7654, 18 March 2020 - 04:00 PM.






Also tagged with one or more of these keywords: scripting, timer, time, in-game, clock

Page loaded in: 1.015 seconds