Forums Index >> Modding >> help with fog...



Page : <1> :


How do I get the fog to become "lighter"? As in repent's mods, when you go in the fog you can see stuff while you'e in it.
In my case, the fog is so dense and packed that all I can see is a slight outline of the tank and thats it. Please help.


Tuesday, March 15, 2005 at 7:49:54 AM

From www.maxworks.com
Translated Mission File - I have translated most of the Mission File and defined each line of code.

 


fogColor = "0.1 0.3 0.6 1.0"; <----------Fog color "red green blue alpha". The example is Sea-Blue , "1 1 1 1" is black &, "9 9 9 1" is white
fogVolume1 = "1 1 3"; <------------------The density and range of the fog. In order: density-bottom-top. 1 = no visibility 180 = low visibility
fogVolume2 = "200 4 8"; <----------------You can have 3 levels of fog but they are the same color. This example is a river with water and haze.
fogVolume3 = "180 50 112"; <-------------This example is the third and higher level of fog with low visibility.

 

EXAMPLE:

 


fogColor = "0.300000 0.500000 0.100000 1.000000";
fogVolume1 = "50 1 20";
fogVolume2 = "100 30 60";
fogVolume3 = "200 80 120";

 


Would give you 3 levels (from 1-20, 30-60 & 80-120) of swampy green thin mist. Thickest at the bottom (50) and almost wispy at the top (200).

MAX

Last edited: Tuesday, March 15, 2005 at 12:51:56 PM

Tuesday, March 15, 2005 at 12:31:15 PM

Page : <1> :

insert quote insert url insert email insert image bold italic underline superscript subscript horizontal rule : : Help on using forum codes

Add comment:

HTML is disabled within comments, but ZBB Code is enabled.

Back to the top

Web site designed, maintained and funded by -z- and Dan MacDonald