Jump to content
Sign in to follow this  
Sosna

Overcast weather without rain/thunder?

Recommended Posts

(Scripting noob here)

so far I tried:

0 setOvercast 1.0; 0 setRain 0.00;

overcast works but rain starts up within a min or two.

then I tried:

0 setOvercast 1.0; 3600 setRain 0.00;

it seems to keep the rain away (at least for the next hour) but thunder occurs, which I don't want.

Any solution?

Share this post


Link to post
Share on other sites

When you want a heavily clouded sky without thunder and rain, you should use

0 setovercast 0.69;

Share this post


Link to post
Share on other sites

Thanks, yes I've used this, but the sky is still very light.

Cloud cover should not be linked to rain/thunder, especially when the heaviest overcast is still very light compared to realistic ranges... o well.

Share this post


Link to post
Share on other sites

This trigger turned out to be useful to suppress rain. It deactivates rain as soon at it is about to start:

multiple activation
condition: rain > 0
on activation: [b]1[/b] setrain 0;

It seems as if 0 setrain 0 has no effect, but changing to zero rain within one second seems to work.

Nevertheless there will be thunder (which is not as annoying as a permanent rain sound).

Edit: Mkay. It is not possible to deactivate rain. At least in multiplayer it can not be prevented. Despite of the trigger rain > 0.

Either the command is bugged or they don't want rain to be influenced by the mapper/player :mad:

Edited by RogueTrooper

Share this post


Link to post
Share on other sites

But is it possible to make the thunder appear much more often?

Share this post


Link to post
Share on other sites

Don't think so. Don't hope so either :p

Sure you can deactivate rain, also in multiplayer. You just have to do it also on the clients. Not sure if you can deactivate thunder, other than having overcast < 0.9 or so. Rain won't kick in < 0.7 (not =<), but it will be *initialized* to whatever the value you give it, then the engine takes over. For full control over rain, you need to *initialize* it several times per second.

I wish there was a delay of a few seconds before the engine kicked in.

Share this post


Link to post
Share on other sites

This worked for me, I put this in the weather module...

0 setOvercast 1; 100000 setRain 0.1;

Plenty of low overhanging cloud grey cloud with no rain.

Edited by Freebie

Share this post


Link to post
Share on other sites

0 setOvercast 0.8;0=[] spawn {while {true} do {1 setRain 0;sleep 1}}

Share this post


Link to post
Share on other sites

Correct, but sleep 1 will only work well when preventing rain. It will be too slow when trying to force a decent amount of rain. Even 0.3 will produce a pulsating effect on visibility range, but 0.2 works well. This is in Domination (own edit) so I don't know if there is too much going on, meaning that sleep 0.2 could be a longer measured time.

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
Sign in to follow this  

×