Advertisement

Author Topic: [SOLVED] How to change Timing and weather of a mission or Intro?  (Read 231 times)

0 Members and 1 Guest are viewing this topic.

Offline ahmed117

  • Members
  • *
  • The 3d!t0R -=I.S.I=-
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:
« Last Edit: 03 Feb 2012, 16:36:25 by ahmed117 »
The 3d!t0R            -=O.F.P.E.C=-                                                         -=I.S.I=-

Offline Gruntage

  • Moderator
  • *****
  • How do I get outta this chickensh*t outfit?
Re: How to change Timing and weather of a mission or Intro?
« Reply #1 on: 03 Feb 2012, 10:08:48 »
Code: [Select]
skiptime _lengthoftime
That command is used to 'skiptime' in a mission. _lengthoftime is replaced with number hours (.5 for 30 minutes)

Code: [Select]
0 setovercast 1
...will make the weather cloudy. 0 for transition time, and 1 for severity of weather

Code: [Select]
0 setfog 1
...same as above, only for fog

Hope that helps

Code: [Select]
0 setrain 1
same as above, only for rain

Hope that helps
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

Offline ahmed117

  • Members
  • *
  • The 3d!t0R -=I.S.I=-
Re: How to change Timing and weather of a mission or Intro?
« 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?
The 3d!t0R            -=O.F.P.E.C=-                                                         -=I.S.I=-

Offline Gruntage

  • Moderator
  • *****
  • How do I get outta this chickensh*t outfit?
Re: How to change Timing and weather of a mission or Intro?
« 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: [Select]
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.
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