OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: raggy99 on 23 Jan 2004, 06:10:28
-
How do i make it rain on my rescue mission
if posible a thunder storm but heavy rain would be ok.
Thanks in advance
-
time setrain amountofrain
time is the time in seconds in which the weather will smoohtly change to the given value.
setrain being the command.
amountofrain is the value from 0 to 1. 0 no rain. 1 max rain.
You will also have to have some clouds in order for the setrain command to work.
time setovercast amountofclouds
time again in seconds
setovercast, the command.
amountofclouds is the value from 0 to 1. again 0 no clouds and 1 max clouds.
If I remember correctly the value of setovercast must be above 0.7 for the rain to start falling (maybe it's 0.8).
All of these commands and more (like the setfog) can be found in the official command reference. www.ofpec.com/editors/ references section.
-
is there an easier way
thanks anyway
-
there is no easier way really
but i'll give u an example
make a trigger
and put this in the on activation field
0 setrain 1;0 setovercast 1
this will give u heavy rain and lots of clouds
i also reckon u should download CAT_SHIT_ONE's weather effects but i cant remember where i downloaded it ::)
-
Of course you can change the weather default settings in the editor you can do it, but if you want to keep changing the weather mid in your mission, you have to use the commands. And this IS the easiest way, nothing hard about it.
The weather settings can be found in the editors top right corner. Click on the small window there. It's the same window where you can adjust the side which resistance is friendly to and the time and description..
-
is there an easier way
thanks anyway
Maybe you should consider just playing the game and not editing.
-
that aint encouraging, or however you spell it :P
Be nice, i guess he just strated editing... ::)
-
Make sure you have the Trigger as activated my Anyone.. Or put it in one of the units Init feild..
Just making sure :)
- Ben
-
0 setrain 1; o setovercast 1; osetfog1
There can't be any easier way can there? ::)