Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
NedFox

Rain or thunderstorms

Recommended Posts

Posted this a week ago in the wrong forum :-( No answers, so I'll just ask again (hopefully in the proper forum now).

I was asked if there was a way of doing this : Making a nice May-rain, a cracking January thunderstorm etc..

But AFAIK there is only an on/off option ?

SetOvercast and SetRain ?

Can someone tell me if there is an extra option for this, or is it hard-coded into OFP ?

TIA,

NedFox <TZW>

Share this post


Link to post
Share on other sites
Posted this a week ago in the wrong forum :-( No answers, so I'll just ask again (hopefully in the proper forum now).

I was asked if there was a way of doing this : Making a nice May-rain, a cracking January thunderstorm etc..

But AFAIK there is only an on/off option ?

SetOvercast and SetRain ?

Can someone tell me if there is an extra option for this, or is it hard-coded into OFP ?

TIA,

NedFox <TZW>

you can change weather and rain in "runtime" using scripts/triggres:

Overcast:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">time setOvercast overcast

Operand types:

   time: Number

   overcast: Number

Type of returned value:

   Nothing

Description:

   Set overcast to given value smoothly during given time (in seconds). Zero time means immediate change. Zero overcast means clear (sunny) weather, with overcast one storms and rain is very likely.

Example:

   1800 setOvercast 0.5

Rain:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

time setRain rainDensity

Operand types:

   time: Number

   rainDensity: Number

Compatibility:

   Version 1.75 required.

Type of returned value:

   Nothing

Description:

   Set rain density smoothly during given time (in seconds). Zero time means immediate change. Rain zero is no rain, rain one in maximum rain. Rain is not possible when overcast is smaller than 0.7.

Example:

   60 rain 1

This is very good for reference, since it's the command reference, OFP's own java-doc

http://www.flashpoint1985.com/docs/comref_102002/data/comref.html

/Taurus

Share this post


Link to post
Share on other sites
Thx for the info..

no problem, if you doesnt' find out how to use it, just reply to this thread again and I will try to compile an working example for u

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  

×