Jump to content
code34

Real Weather - dynamic weather for MP games

Recommended Posts

Hi everybody,

I have a mission where the player can use skipTime action to wait.

Using skiptime with this scipt, at one point I have only fog on screen. Is there a way to disable the fod or make the max around a lower value ?

I try edit the script and change all the values but didn't seem to work :/

Share this post


Link to post
Share on other sites

Hi everybody,

I have a mission where the player can use skipTime action to wait.

Using skiptime with this scipt, at one point I have only fog on screen. Is there a way to disable the fod or make the max around a lower value ?

I try edit the script and change all the values but didn't seem to work :/

This happens only sometimes right?  Arma usually causes different weather patterns throughout the time cycle.  So this is not happening because of the script.

 

What you can try is running from server:

'0 setfog 0 '

after your 'skiptime' command.  This script will then sync that weather command across all clients.  Hope that works/helps.

Share this post


Link to post
Share on other sites

This happens only sometimes right?  Arma usually causes different weather patterns throughout the time cycle.  So this is not happening because of the script.

 

What you can try is running from server:

'0 setfog 0 '

after your 'skiptime' command.  This script will then sync that weather command across all clients.  Hope that works/helps.

Yes sometimes it does sometimes i don't.

I did what you said, It's a sp mission so I just put this in a loot and for now it looks it is working :), thx

Share this post


Link to post
Share on other sites

Code34, I'm integrating this into my mission now. A few quick questions....

 

You say Turn on "manual" all weather parameters in the mission editor. Does this mean tick the 'manual override' boxes for the weather system in Eden editor? I notice that there is no manual override for fog or overcast. What should we do with them?

 

Thanks,

 

Paul

Share this post


Link to post
Share on other sites

Hi Paul :)

 

don't know with the new editor cause i dont use it. But in the oldest, you had to turn off all the parameters about meteo (forecast, rain etc) in the mission global description settings box.

Share this post


Link to post
Share on other sites

I think I've got it figured. Certainly, I'm not getting reports from players that the fog gets mega thick and never clears!

 

But one thing that's odd and I'm fairly sure is connected to Real Weather. Game time is speeded up six times when the script is running. Any ideas?

Share this post


Link to post
Share on other sites

@code34 I came back to this today, but still with speeded up time by a factor of 6.

 

 

Share this post


Link to post
Share on other sites

I can see why it does this;  Line 137 does settimemultiplier 6 during daylight and  24 during nightime. So my question is; Is this essential to the correct operation of the script, or can I set both ratios to 1 or even remark out that block of code?

Share this post


Link to post
Share on other sites

@Tankbuster

Change line 26: _realtime = false;   to   _realtime = true;

You can change the timeratio in line 42 & 43

 

@code34

nice script

Share this post


Link to post
Share on other sites

Ah! That'll do it. Nice one. Thank you. :)

 

Actually, there are a few changes that script could do with, putting in the new params command, for example. The new forceweatherchange command too. @code34, do you want to have a go or should I have look at it?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×