Welcome, Guest Monday 21st April 2014, 13:55:38
   Home   Help Search Login Register  

OFPEC Forum

Author Topic: [SOLVED] How to change Timing and weather of a mission or Intro?  (Read 179 times)
0 Members and 1 Guest are viewing this topic.
ahmed117
*
Offline Offline


The 3d!t0R -=I.S.I=-


« on: 03 Feb 2012, 10:02:58 »

Guys, I was wondering when I played some remarkable missions, I noticed that the timing and weather of that mission was changing frequently, so I thought to apply this thing in my mission, But how it is possible..? Let me explain you:

As an example: we have a mission in which we are showing an Intro, In that Intro we are showing two scenes in first scene there is morning and clear weather, but in the second scene after "black out" there is night with heavy rain...  

so how can we do this, I would be very thankful if any one can tell me about this...  Scratch Chin
« Last Edit: 03 Feb 2012, 16:36:25 by ahmed117 » Logged

The 3d!t0R            -=O.F.P.E.C=-                                                         -=I.S.I=-
Gruntage
Moderator
*****
Offline Offline


How do I get outta this chickensh*t outfit?


« Reply #1 on: 03 Feb 2012, 10:08:48 »

Code:
skiptime _lengthoftime

That command is used to 'skiptime' in a mission. _lengthoftime is replaced with number hours (.5 for 30 minutes)

Code:
0 setovercast 1

...will make the weather cloudy. 0 for transition time, and 1 for severity of weather

Code:
0 setfog 1

...same as above, only for fog

Hope that helps

Code:
0 setrain 1

same as above, only for rain

Hope that helps
Logged

Some of the most memorable missions made involve the player doing very little...

"But one thing I can tell you from not just OFP but life in general:  criticism is directly proportional to quality. The more criticism a mission receives, the better the outcome" - macguba
ahmed117
*
Offline Offline


The 3d!t0R -=I.S.I=-


« Reply #2 on: 03 Feb 2012, 15:00:39 »

Sir, can you teach me how to use rain, I successfully applied the skip time command, and it really worked, but I am facing problems with the rain, please can you tell me that how do I use the heavy rain in Intro script?
Logged

The 3d!t0R            -=O.F.P.E.C=-                                                         -=I.S.I=-
Gruntage
Moderator
*****
Offline Offline


How do I get outta this chickensh*t outfit?


« Reply #3 on: 03 Feb 2012, 15:28:02 »

If you want heavy rain to appear during a certain length of time you'll need to do something like this:

Code:
5 setrain 1

This creates the heaviest amount of rain within 5 seconds. The first number represents how long it takes for the level of rain (in this case '1') to appear. 1 is the heaviest amount of rain, 0.5 is a moderate amount of rain.
Logged

Some of the most memorable missions made involve the player doing very little...

"But one thing I can tell you from not just OFP but life in general:  criticism is directly proportional to quality. The more criticism a mission receives, the better the outcome" - macguba
Pages: [1]   Go Up
  Send this topicPrint  
 
Jump to: