As the original dynamic time of day menu is locked online, there is no way (currently) to change the time of day from morning-night online automatically.
I've got a working (yet unauthentic) morning, day, evening and night menu working online, and I was thinking I could set it to change the function every 10 minutes or so, via the clock.
Edit: For example I made a simple cycle like;
Code: Select all
:i function $test_func$
:i $exit_pause_menu$
:i call $morning_shadows$
:i $wait$%f(5.000000)$seconds$
:i call $day_shadows$
:i $wait$%f(5.000000)$seconds$
:i call $evening_shadows$
:i $wait$%f(5.000000)$seconds$
:i call $night_shadows$
:i $wait$%f(5.000000)$seconds$
:i $test_func$
:i endfunction
I put these in 5 second intervals so I could fraps it. When the time of day changes, it's very.. uh.. "solid". I mean that it changes from morning to day INSTANTLY, and it doesn't "Phase in". I've never come across anything like this, so I'm skeptical about its existence.. but is there a function that will allow another to be "phased in"? For example, morning disappears as day appears.
Thanks.
Also, I've not figured out what two variables do/mean.
I've come to the conclusion that $sun_phi$ probably means the coordinates of the sun, as it ascends like -10, 20, 180, 200, in the same order as morning to night.
But I'm unsure as to what $sun_theta$ means.