Fog?

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
Flubber
Sergeant
Posts: 67
Joined: Mon May 24, 2004 5:44 pm
Location: Florida

Fog?

Post by Flubber »

How do you make fog, I think you make it with vis and big boxes, is this right?

That radar thing was fun to make!
User avatar
At0miC
General
Posts: 1164
Joined: Fri Feb 27, 2004 11:29 pm
Location: The Netherlands

Post by At0miC »

The mohaa engine only has 'farplane' as fog,

Put this in your .scr under main:

$world farplane 1000 // Higher count would give less fog
$world farplane_color ".6 .6 .6" // Give the farplane a color (red green blue)
$world farplane_cull 0
Flubber
Sergeant
Posts: 67
Joined: Mon May 24, 2004 5:44 pm
Location: Florida

Post by Flubber »

Where do u put the color, and wut color do u prefer for dday sky?
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

color

Post by tltrude »

As Atomic said,

$world farplane_color ( .6 .6 .6 )


If all three numbers are the same, the color will come out gray. If the three numbers are close to 1.0, the gray will be lighter, and closer to 0.0 will make the color darker. Normally gray fog is slightly blue, so this would do that.


$world farplane_color ( .33 .33 .334 )
Tom Trude,

Image
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post by Rookie One.pl »

Fog settings from obj/obj_team3 (Omaha):

Code: Select all

$world farplane 7500
$world farplane_color (0.675 0.663 0.651)
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
Post Reply