A3Armory / A3A_A3Wasteland_Sock.Altis

A3Wasteland is a harsh survival sandbox mission for Arma 3 where two teams and independent players fight for survival. This is a collaboration between GoT, TPG, KoS, 404Games, and others.
GNU Affero General Public License v3.0
0 stars 5 forks source link

Weather system #33

Open AgentRev opened 8 years ago

AgentRev commented 8 years ago

I would like to understand what are the motivations behind replacing the vanilla weather script with your current one.

AgentRev commented 8 years ago

I suggest we continue in this new issue I just made.

Gigatek1 commented 8 years ago

Close to a epic issue. lol

AgentRev commented 8 years ago

I think I'm gonna call simulWeatherSync each time the respawn menu opens... this should make cloud cover more consistent for all players

Gigatek1 commented 8 years ago

Cool, I'm down to test it. If you want we can just throw it on one server too.

Gigatek1 commented 8 years ago

I was thinking a few days ago about redoing the simple weather script and just use the setovercast setting and use the 4 arrays of weather options to be a progression of good to bad with a setvariable so it will only use the next progression. I figured maybe if you let the engine do its thing with the rest of the settings it might be synced. This probably would not have worked though. :smile:

AgentRev commented 8 years ago

if you let the engine do its thing

oh so you mean, nothing at all?

Gigatek1 commented 8 years ago

What I mean is, I have seen it rain and then have thunder/lightning if setovercast set high enough. It's just wishful thinking that the rest would follow and all would be synced lol

AgentRev commented 8 years ago

Thunder will happen whenever overcast is high enough, it's not managed by the DWS. Rain is not the problem in itself, it's because the DWS is not very well coded overall and it can't keep track of fog separately from the current readings. The fog during rain is something I implemented myself, it's not part of the game or the original DWS... I do not want rain without fog, because otherwise you still have perfect visibility when it's raining full power, which makes no sense. The DWS does not keep track of fog correctly, so rain is out of the question.

Gigatek1 commented 8 years ago

I'm going to miss those rainbows. On Jun 7, 2016 12:50 PM, "Agent Revolution" notifications@github.com wrote:

Thunder will happen whenever overcast is high enough, it's not managed by the DWS. Rain is not the problem in itself, it's because the DWS is not very well coded overall and it can't keep track of fog separately from the current readings. The fog during rain is something I implemented myself, it's not part of the game or the original DWS... I do not want rain without fog, because otherwise you still have perfect visibility when it's raining full power, which makes no sense. The DWS does not keep track of fog correctly, so rain is out of the question.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/A3Armory/A3A_A3Wasteland_Sock.Altis/issues/33#issuecomment-224393570, or mute the thread https://github.com/notifications/unsubscribe/AI6sJtOmcsX92kkOro3zYxxKba4aBfz8ks5qJctogaJpZM4ITSv4 .

AgentRev commented 8 years ago

Even with all of this, overcast syncing is still completely fubar engine-side. Rain tries to be constant server-wide, but not all players have the same overcast level, and cloud cover desyncs away really easily from overcast, so you have rain in the sun.

Gigatek1 commented 8 years ago

Yeah I really hate that. It totally kills the immersion. On Jun 7, 2016 12:53 PM, "Agent Revolution" notifications@github.com wrote:

Even with all of this, overcast syncing is still completely fubar. Rain tries to be constant server-wide, but not all players have the same overcast level, and cloud cover desyncs really easily from the overcast level, so you have rain in the sun.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/A3Armory/A3A_A3Wasteland_Sock.Altis/issues/33#issuecomment-224394555, or mute the thread https://github.com/notifications/unsubscribe/AI6sJhMB5nTpM07IAzX0kK072kBfvRoHks5qJcxMgaJpZM4ITSv4 .