Hey every one, Ive done a little research and I've noticed that there hasn't yet been a fully functioning Day to Night cycle script. Or at least not that I have found.
The problem that people have faced is that the skybox is unable to change in the middle of a level, without having to go to a loading screen first. So here lies the problem. How do we seamlessly make the level switch from day to night without a loading screen and without making a drastic transition?
I might have found a solution to the problem, although I am not a scripter so I may be wrong. This may not be impossible, but then yet again, maybe it isnt. My idea is that what if you make a sky box that has sunrise, afternoon, eavening, and night time photos all in the same skybox. So if you were to just imagine making the skybox flat, you would see the color and objects in the sky slowly fade into the next. Then all you would have to do is make the skybox endlessly rotate at the speed in which the player desires.
For sunlight, now that we have the script to make a light basically follow a waypoint, you can have a long waypoint in which specific colored lights would follow in accordance to the sky box. Such as a white light for day time, orange-ish light for evening and a grey light for night. The lights would all move at the same rate the skybox rotates, making it seem as if the time of day is shifting right before the player.
I know this is a lot of very vague and imaginative ideas, but I think with a good group of scripters, this might be very possible. And this could open up a huge new element to our games.