Page 1 of 1

Fogging Help/opinion

Posted: Thu Jul 11, 2002 8:37 am
by kdja
Im adding fog to my map and wondered what was the best way im looking for an early morning feel.
$world farplane_color "0.752941 0.752941 0.752941"
level.fogplane = 6500 !
$world farplane level.fogplane

I add this into my script here>
level.script = maps/obj/dieppe.scr
exec global/ambient.scr dieppe

//$world farplane 5000
//$world farplane_color (.333 .333 .329)
IN HERE???????

Thx
kdja

Script

Posted: Thu Jul 11, 2002 2:10 pm
by tltrude
Well, you can add it with the script:


level.farplane = 6000
level.farplanecolor = (.7 .7 .55)

$world farplane 6000
$world farplane_color (.7 .7 .55)

Or, you can add it to any worldspawn brush (like the top sky brush). $World effects everything including indoors. But, level... can be changed by a trigger when the player goes into different areas.

try this too:

level.ambientlight = (7 6 4.6) // play with the colors to get what you want

Posted: Thu Jul 11, 2002 3:46 pm
by kdja
does it go in prespawn or spawn and does there need to be any sort of script origin in the map???

thx
kdja

Posted: Thu Jul 11, 2002 3:58 pm
by Moal
to the compiler
// means dont read this line

Posted: Thu Jul 11, 2002 4:41 pm
by kdja
LOl so when i compiled i compiled without the Fog ....lol
kdja