Page 1 of 1

How to make thick fog?

Posted: Sun Aug 17, 2014 6:07 am
by Flash
I'm using the Dagobah fog, and just wondering, how do I make it thicker? I want to make it harder to see, because then it fits my map better. Thanks

Re: How to make thick fog?

Posted: Fri Aug 29, 2014 4:43 pm
by hunpeter12
Try setting ParticleDensity(60.0) to a higher value. You can also increase ParticleSize if you want.
But if you're using the dag1_prop_mist.odf then I think you can increase NumParticles or decrease the MaxDistance (I'm not sure about the last two. Try playing
around with the values and see what happens)

Re: How to make thick fog?

Posted: Fri Aug 29, 2014 5:57 pm
by Marth8880
Try putting this in your .fx file if you want thick fog throughout your entire map:

Code: Select all

Effect("FogCloud")
{
	Enable(1);
	Texture("fluffy");
	Range(0.0, 200.0);
	Color(218, 222, 230, 245);
	Velocity(1.0, 0.0);
	Rotation(0.01);
	Height(40.0);
	ParticleSize(90.0);
	ParticleDensity(235.0);
}
(You'll need fluffy.tga from here: https://www.dropbox.com/s/x8cnfd3j5a5eg63/fluffy.tga )

Re: How to make thick fog?

Posted: Sat Aug 30, 2014 4:00 am
by thelegend
Hm..I thought the fluffy.tga were in dataXXX/ common/ effects (or in msh).

Re: How to make thick fog?

Posted: Sat Aug 30, 2014 4:02 am
by Marth8880
Ah, that's where it was? You can use that one, too; I couldn't find it in the stock assets (I was only looking in the world assets directory) so I just included the one I use with PIO, which is the same one.