OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Anubis-LOC on 16 Sep 2002, 19:02:51

Title: FOG??
Post by: Anubis-LOC on 16 Sep 2002, 19:02:51
is it possible to create fog and adjust its density? I know i've seen this some where and cant find it again. Also, can it be limited to a cetain area?
Title: Re:FOG??
Post by: Black_Feather on 16 Sep 2002, 19:47:49
you set the fog like this

0 SetFog 1

the first number is how many seconds the fog will appear and the second is the fogs density, 1 is full fog 0 is none.
Title: Re:FOG??
Post by: Anubis-LOC on 16 Sep 2002, 20:15:31
Thanks Black_Feather    :D
Title: Re:FOG??
Post by: Bomberman on 16 Sep 2002, 21:58:34
i thinnk it would be cool if you could use the drop command with resistance to make "real" fog using smoke and stuff. SCRIPT?!
Title: Re:FOG??
Post by: US-NATO_Term on 16 Sep 2002, 22:51:12
or whe nur editying ur mission, and selecting what day it is and that crap, the first bar is weather, the second is fog, so the higher the bar the more foggy it will be :) but i dont know what the other 2 do at the bottom....... ???
Title: Re:FOG??
Post by: Softball on 17 Sep 2002, 00:41:03
The second weather bar is the "forcasted" weather.

For example, you could set the top 2 bars for sunny (Top top Slider to the far right) and no fog (Bottom Top Slider to the far left). Then if you wanted it to rain and become foggy after a certain amount of time, you would set the bottom top slider to the far left, and the bottom bottom slider to the right accordingly. The farther to the right the Bottom slider(both top and bottom) is, the more fog you will have, in game and forcasted.

Hope this helps.

--Softball
Title: Re:FOG??
Post by: Hit_Sqd_Maximus on 08 Oct 2002, 02:39:16
you set the fog like this

0 SetFog 1

the first number is how many seconds the fog will appear and the second is the fogs density, 1 is full fog 0 is none.

Put that in the description.ext? or the mission.sqm  ???
Title: Re:FOG??
Post by: Black_Feather on 08 Oct 2002, 04:29:30
you can activate it from a trigger or waypoints onactivation field or in a script.