Author Topic: (UPDATING) Day/night + weather simulation.  (Read 40107 times)

You would know this... how?

Because I've been working with dynamic skyboxes for months now.


No no no, you didn't say something like "you dont know as much as me".
You said:
The subject matter I'm discussing with you is over your head.
Which is a direct evaluation of my knowledge, which no matter how much you know about the subject, how much I know about the subject is a different subject.

I type the command to make a new sky with an eval chat mod into my server. The server has just added a new sky without deleting the old one, this has not been done locally. I wait a few whole seconds, then eval to my server "missiongroup.getobject(2).delete();" while on a slate map.
I do not crash.

Explain this then.
« Last Edit: March 05, 2011, 06:17:43 PM by DrenDran »

The time elapsed between you and the server is short enough that the game does not render the skybox incorrectly.

if there is high latency the client has a chance of rendering the sky incorrect and crashing.
if there is high latency the client has a chance of rendering the sky incorrect and crashing.
if there is high latency the client has a chance of rendering the sky incorrect and crashing.
if there is high latency the client has a chance of rendering the sky incorrect and crashing.
if there is high latency the client has a chance of rendering the sky incorrect and crashing.
if there is high latency the client has a chance of rendering the sky incorrect and crashing.


I said, entire seconds.
At this point I'm sure that I could wait entire minutes to the same effect.
Either way, if my clients have entire seconds of latency they'd just have disconnected anyhow.

Creating two skyboxes does not crash the client.
Creating two skyboxes and deleting one does.

Creating two skyboxes does not crash the client.
Creating two skyboxes and deleting one does.
Oh come on, just read my posts.
I said I created a second skybox, waited a few (ten) seconds, and deleted the first one.
And I did not crash.

why would deleting a skybox crash the client? :/

why would deleting a skybox crash the client? :/
My point is that it doesn't.

I say that the client only crashes when there is no skybox at all.
And Iban is saying the client will crash if a skybox is deleted.

could that be how Age of time works?

could that be how Age of time works?
Wouldn't know.
But the mod does work.

do you think in a future version you could add a sun that actually goes all the way across the sky, and a moon too? maybe some stars?

do you think in a future version you could add a sun that actually goes all the way across the sky, and a moon too? maybe some stars?
While it seems possible, I could come across problems.
Also, I'm not sure how it'd be customized.

the moon would be one color the whole time, and the sun would need to change color as it crosses the sky
the stars would only show up during the night, and have the same color/light as the moon, basicly they would look like bright lights and provide light during the night, but only on certain nights

I'm at a loss for words.
It appears to have worked. I swear to god I've tried this method before in the past a thousand times over.
I would be pissed I was so flagrantly wrong, but I'm overjoyed that this might be an actual solution.
I just don't understand how I overlooked it. This was the first thing I tried to do. I have no idea what I was doing wrong.


I'll have to do some tests on a live server but in the mean time, congrats on simultaneously proving me wrong and fixing one of the largest issues I've ever had. This is fantastic.