Compiling-lighting, and 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
jc71corvette
Private
Posts: 5
Joined: Fri Oct 09, 2009 9:26 pm

Compiling-lighting, and fog?

Post by jc71corvette »

I am making a map. To get a good visual for you, the map is set at dusk, foggy. How do I light this map? How do I add fog? What values would you sugguest?
neillomax
Lieutenant General
Posts: 880
Joined: Thu Jun 23, 2005 6:57 am

Post by neillomax »

Look through this. If you need help or can't find what you want, ask again.

/tutorials.php?category=All
jc71corvette
Private
Posts: 5
Joined: Fri Oct 09, 2009 9:26 pm

Post by jc71corvette »

nothing about fog

and theres a way to compile a map with light options...thats where im getting at, how do i do it
neillomax
Lieutenant General
Posts: 880
Joined: Thu Jun 23, 2005 6:57 am

Post by neillomax »

$world farplane 3000....... or what ever
$world farplane color .33 .33 .33...... this should be grey if I remember right.

3000 would be the distance you see before the fog takes effect. less, it gets closer, denser.

I use to use mapbuilder for compiling.... look at the settings there.... also use search function here...... should be plenty on the subject..

I don't map any more so really can't provide enough info.
jc71corvette
Private
Posts: 5
Joined: Fri Oct 09, 2009 9:26 pm

Post by jc71corvette »

is that entered with scripts? hows that done
neillomax
Lieutenant General
Posts: 880
Joined: Thu Jun 23, 2005 6:57 am

Post by neillomax »

Both.... while in radiant with a brush selected hit the "N" key. This will bring up the entity inspector. There are 2 boxes on the bottom. In the top one type world farplane and in the value box type 3000. then hit enter. ANd then you can try farplane color in the top box and .33 .33 .33 in the value box. Hit enter, deselect brush and save and compile.
You can script this in also......

The light thing. If you want an even "light" across the entire map select a brush, hit "N" and in the upper box type ambientlight..... all one word. In the value box type 70 70 70 for full sun. You can try 10 10 10 to see what the difference will be.

It's been a while so I hope this info is correct.
jc71corvette
Private
Posts: 5
Joined: Fri Oct 09, 2009 9:26 pm

Post by jc71corvette »

thanks! the light works
but that fog didnt work
neillomax
Lieutenant General
Posts: 880
Joined: Thu Jun 23, 2005 6:57 am

Post by neillomax »

Did you have a brush selected while you were doing it like you did with the light ?

also try worldfarplane...... all one word and try $worldfraplane and farplane
Post Reply