Distance fog problem

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
kingrexy
Recruit Womprat Killer
Posts: 7
Joined: Sun Nov 12, 2017 7:59 am
Projects :: No Mod project currently.
Games I'm Playing :: Battlefront 2
xbox live or psn: No gamertag set

Distance fog problem

Post by kingrexy »

I hate seeing far away things in my map looking all grey-ish like as if there is some fog or mist in the middle. How do I stop this fog thing or whatever distance thing this is from blocking my view?
LitFam
Sergeant Major
Sergeant Major
Posts: 234
Joined: Sat Feb 04, 2017 5:52 pm
Games I'm Playing :: SWBF II 2005
xbox live or psn: No gamertag set
Location: Milky Way, Solar System, Earth, Antarctica

Re: Distance fog problem

Post by LitFam »

I don’t have my computer right now, so this may not be accurate to remove the fog go to data_***\worlds\***\world1\***.fx

Open up the the ***.fx file and go to the fog section (should be the first thing you see) and change the 1 to a 0, then save the file, finally munge, so your changes work. This should remove the fog. :thumbs:

*** = your maps name

When I have my computer with me I will post a .fx file with no fog for a example.
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: Distance fog problem

Post by Marth8880 »

What LitFam is describing is the particle fog effects like seen on Dagobah, but this probably isn't what you're describing (though the info is still useful nonetheless).

What you want to remove is located in the map's .sky file.

See here:

Code: Select all

SkyInfo()
{
	Enable(1);
	FogColor(85,108,142,128);    // REMOVE THIS LINE
	PC()
	{
		NearSceneRange(30.0, 160.0, 40.0, 200.0);
		FarSceneRange(5000.0, 5000.0);

		FarSceneRange(5000.0);
		FogRange(-100.0, 600.0);    // REMOVE THIS LINE
	}
	
}
Post Reply