Home   Help Search Login Register  

Author Topic: Rain  (Read 924 times)

0 Members and 1 Guest are viewing this topic.

raggy99

  • Guest
Rain
« 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

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Rain
« Reply #1 on: 23 Jan 2004, 07:28:14 »
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.
Not all is lost.

raggy99

  • Guest
Re:Rain
« Reply #2 on: 23 Jan 2004, 08:38:10 »
is there an easier way

thanks anyway

jepo

  • Guest
Re:Rain
« Reply #3 on: 23 Jan 2004, 10:04:26 »
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 ::)

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Rain
« Reply #4 on: 23 Jan 2004, 10:11:06 »
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..
Not all is lost.

deaddog

  • Guest
Re:Rain
« Reply #5 on: 23 Jan 2004, 15:06:57 »
is there an easier way

thanks anyway

Maybe you should consider just playing the game and not editing.

headshot_snipe

  • Guest
Re:Rain
« Reply #6 on: 23 Jan 2004, 15:23:02 »
that aint encouraging, or however you spell it :P
Be nice, i guess he just strated editing...   ::)


DBR_ONIX

  • Guest
Re:Rain
« Reply #7 on: 23 Jan 2004, 22:34:52 »
Make sure you have the Trigger as activated my Anyone.. Or put it in one of the units Init feild..
Just making sure :)
 - Ben

Offline The-Architect

  • Former Staff
  • ****
  • Bite my shiny metal...
    • Bob's Un-official Flashpoint Page
Re:Rain
« Reply #8 on: 25 Jan 2004, 08:41:28 »
0 setrain 1; o setovercast 1; osetfog1

There can't be any easier way can there? ::)
James Andrew Wilkinson 1977 - 2005 R.I.P.
"If it ain't the friggin' incoming it's the friggin' outgoing. Only difference is who gets the friggin' grease, and that ain't no friggin' difference at all."