Jump to content
Sign in to follow this  
NordKindchen

How to access new fog system

Recommended Posts

As can be seen in

The fog system has been improved by a lot!

Nevertheless I cant seem to be able to access this new fog. All I can find is one single slider in the editor and that of course is not sufficent to reproduce the fog shown in the video.

Any help?

Best regards!

Share this post


Link to post
Share on other sites

There's a new variation on the setFog scripting command that takes an array:

time [b]setFog[/b] [density, falloff, height]

For example:

0 setFog [0.8, 0.04, 0]

You can't do this in the editor yet, but hopefully that will be implemented.

Share this post


Link to post
Share on other sites

This is still dev build only, correct?

Share this post


Link to post
Share on other sites
Jman;2381643']Yes correct.

That's what I thought. Goodies to look forward to!

(thanks for your dedi server guide, BTW - it got me up and running way back when...)

Share this post


Link to post
Share on other sites

I'd appreciate some information on how to create a smooth thinning of fog over, say, 1 hour of in-game time. From this "0 setFog[1, 0.1, 0]" to "? setFog[0, 0, 0]?

Share this post


Link to post
Share on other sites
3600 setFog [0,0,0] for 1 hour transition

Just to explain this a little:

3600=seconds in one hour. SO if you want it to change in half an hour you choose 1800

Share this post


Link to post
Share on other sites

Thank you kindly for the explanation! :)

Share this post


Link to post
Share on other sites

Wow.

This is super sweet!

Some banana for you guys: :yay:

Share this post


Link to post
Share on other sites

I've been playing with fog all morning. It almost makes up for the loss of setVehicleInit!

Share this post


Link to post
Share on other sites

How do I create a mission with this fog settings when I cant use the editor for it? Where do I put the array?

Greetz!

Share this post


Link to post
Share on other sites

You can use it just like any other scripting command. Inside a trigger or init.sqf, for example.

Share this post


Link to post
Share on other sites

Now we just need fog that doesn't turn bright blue during the day! ;D This is awesome, thanks for the tip. It looks great with the right stuff tweaked, and it really adds to the look of the map. I may have to just keep a very faint fog on generally just to give distant valley's a good "valley" atmosphere when we get the big map :3 Maybe I'll go see if I can port some A2 stuff up like Clafghan and try out this system on there. Considering there are FOBs that can't see the bottom of the valley they are over, it should be interesting, if it doesn't crash and burn horribly.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×