How to make thick fog?

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
Flash
Posts: 3
Joined: Sat Aug 16, 2014 9:16 am
Projects :: No Mod project currently.
Games I'm Playing :: LoL
xbox live or psn: No gamertag set

How to make thick fog?

Post 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
hunpeter12
Command Sergeant Major
Command Sergeant Major
Posts: 260
Joined: Mon Apr 18, 2011 2:53 pm
Projects :: Underground City The Complex [WIP]
Games I'm Playing :: SWBF2

Re: How to make thick fog?

Post 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)
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: How to make thick fog?

Post 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 )
thelegend
Sith
Sith
Posts: 1433
Joined: Thu Jan 23, 2014 6:01 am
Projects :: Star Wars - Battlefront III Legacy
Games I'm Playing :: Swbf GTA CoD LoL KH
xbox live or psn: El_Fabricio#
Location: Right behind you :)

Re: How to make thick fog?

Post by thelegend »

Hm..I thought the fluffy.tga were in dataXXX/ common/ effects (or in msh).
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: How to make thick fog?

Post 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.
Post Reply