Author Topic: DayCycle file help  (Read 1496 times)

I see that in daycycle files we can use
DIRECTCOLOR, AMBIENTCOLOR, SKYCOLOR, FOGCOLOR, SHADOWCOLOR, and SUNFLARECOLOR.
Is there any way to use other Environment variables like FogDistance or SunFlareSize?

Also, daycycle's use linear interpolation to blend between the fraction steps right? Not some other interpolation?


Definitely helps and I'm assuming that means i cannot edit other variables besides the ones i listed.
Is there a function that i can package that is called during the same time steps at the blockland environment (so i could make the values change on my own)?

Definitely helps and I'm assuming that means i cannot edit other variables besides the ones i listed.
Is there a function that i can package that is called during the same time steps at the blockland environment (so i could make the values change on my own)?
I'm not 100% sure but I think there are one or two variables that have been added to game after I wrote that guide. I'm fairly certain that there is a function like that. Ask on the Coding Help forum to get your answer.

So I was looking at the diagram in that topic a bunch. Are you sure 0.6-0.9 is where it speeds up? Do you have any data on the time that it takes the sun to do a half rotation or get to the part where it speeds up? I've been playing with the math and I can't get it to accurately predict the sun in the sky.

So I was looking at the diagram in that topic a bunch. Are you sure 0.6-0.9 is where it speeds up? Do you have any data on the time that it takes the sun to do a half rotation or get to the part where it speeds up? I've been playing with the math and I can't get it to accurately predict the sun in the sky.
The values in the diagram are day cycle FRACTION values. I eyeballed the double speed time but it's probably only off by 0.005-0.01 units. I'll verify the values later today.

Remember that the day length value changes the day cycle speed.

Edit: The values in my old thread might be more off than I though. I'll redo the math using a 3D model rather than a skybox.
« Last Edit: August 09, 2013, 06:15:25 AM by Demian »