Home   Help Search Login Register  

Author Topic: set weather (fog)  (Read 1080 times)

0 Members and 1 Guest are viewing this topic.

Offline supershooter

  • Members
  • *
  • 2+2=4
set weather (fog)
« on: 05 Apr 2005, 20:55:23 »
Hi

I have just downloaded midship island from www.ofp.info. The island is small and detailed, so to make it work I have to set the fog to certain level, this is what the readme says:

Settings : As lag increases with reduced cell size, the parameters
for fog and the view-slantrange are to be set as follows:

setviewdistance   141.4
fog (weather)   12/16
fog (forecast)   12/16

Can some one help beacuse this island looks pretty cool.

-supershooter

Offline RujiK

  • Members
  • *
  • KoKo Puh-Fizzles!
Re:set weather (fog)
« Reply #1 on: 05 Apr 2005, 21:30:46 »
Code: [Select]
0 setfog 0.75First number is the time it takes to set the fog (For fog roling in effect) and the second is the amount of fog. 1=complete fog.

Or
Quote
setviewdistance 500

This will make something simular to fog however its more of how good your units eyes are and doesnt make it look foggy.
« Last Edit: 05 Apr 2005, 21:31:02 by RujiK »
I like your approach, lets see your departure.
Download the New Flashlight Script!

Offline Pilot

  • Contributing Member
  • **
Re:set weather (fog)
« Reply #2 on: 05 Apr 2005, 21:40:24 »
I think what they are talking about are the sliders in the intel box.  Load up the island in the mission editor.  In the upper right hand corner, there is a box.  Click it.  A popup should appear.  Towards the bottom should be four sliders.  You will notice on each slider there are sixteen setting lines.  The first slider decides the weather, place this where you want it.  The second one decides fog.  Place this slider anywhere from the 12th to the 16th line to the right..  The third slider should look like the first one, and the fourth slider should look like the second one.  Hit preview.  As soon as the game is ready, hit escape-options-video settings.  Once there, you should see a slider that says visibility.  Move this all the way to the left.  You should now be ready to use the island.

I hope that helps you.  If my instructions are unclear, say so and I will try to clarify.

EDIT:
Beaten again, although Rujik's way requires an init file, mine doesn't.
« Last Edit: 05 Apr 2005, 21:41:29 by Student Pilot »

Offline Wadmann

  • OFPEC Patron
  • ****
  • I'm the next evolutionary step after a llama!
Re:set weather (fog)
« Reply #3 on: 05 Apr 2005, 22:13:18 »
Quote
although Rujik's way requires an init file

You can place a gamelogic on the map and put the fog code (positive about this one), and maybe even the viewdistance code (not sure about this one) in the init line.

Wadmann
Check out my Camouflage Collection! New items added 31 July 2005.

Offline Morglor9

  • Members
  • *
Re:set weather (fog)
« Reply #4 on: 06 Apr 2005, 00:00:04 »
you can also use setfog in a trigger. i did this once for a jungle mission: player enters jungle, fog turns on. player leaves jungle, fog turns off.
Cymbaline

Offline RujiK

  • Members
  • *
  • KoKo Puh-Fizzles!
Re:set weather (fog)
« Reply #5 on: 06 Apr 2005, 04:02:44 »
setviewdistance can also be used in a trigger, it just looks really dumb.
I like your approach, lets see your departure.
Download the New Flashlight Script!

Offline Pilot

  • Contributing Member
  • **
Re:set weather (fog)
« Reply #6 on: 06 Apr 2005, 04:26:04 »
Oh, well I learned something new!  You may want to go with Rujik's way as his way is much easier. 8)