Fog Color

Tantalus

Newbie
Joined
Nov 24, 2004
Messages
789
Reaction score
0
I'm working on a mod, but i can't find out how to change the fogcolor. I have tried fog_color , but it doesnt change. Could someone help please?
 
Tantalus said:
could u give a more direct link, please?
:rolleyes: Links dont get any more direct. We dont have your answers. Go ask your questions that forum.
 
f|uke said:
:rolleyes: Links dont get any more direct. We dont have your answers. Go ask your questions that forum.

Sorry, I misunderstood what you meant. Thanks!
 
fog_color #R #G #B - color of the fog in RGB, i.e. 'fog_color 255 0 0' for red
fog_start # - where the fog starts in relation to the player.
fog_end # - where the fog ends in relation to the player (where it becomes solid)

The start/end values determin exactly the distance the fog exists between having no fog and being completely opaque fog. having a start value of 50 and an end value of 100 makes there be no fog out to 50 units in front of the player, then a 50 unit area where it gradually becomes completely foggy. 100+ units away from the player cant be seen. Having a start value of -1000 and an end value of 10000 makes there be noticable fog around you but it never completely becomes opaque. Want less fog near the player but more in the distance? up the start value and lower the end value.

For testing purposes in HL2 maps, after (or before) you put the values in type 'fog_override 1'. typing 'fog_override 0' after that brings back the default map fog. also make sure the map you're playing on has 'fog_enable 1' on. All this applies also to the fog_xxxskybox commands.
 
Back
Top