Page 1 of 1

Skyfile FarSceneRange is in old format

Posted: Sat Mar 26, 2011 6:48 pm
by ps2owner
Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\SkyManager.cpp(122)
Skyfile FarSceneRange is in old format

Whats this mean?
Its the last entry in my log and my map crashes.

I haven't edited my .sky file.

Re: Skyfile FarSceneRange is in old format

Posted: Sat Mar 26, 2011 6:58 pm
by THEWULFMAN
That's harmless, and certainly isn't what is causing your ctd.
Its causes by how the stock custom map sky is set up.
To fix it. Open up your sky file, at the top it should look like this.

Code: Select all

SkyInfo()
{
	Enable(1);
	FogColor(85,108,142,128);
	PS2()
	{
		FogRange(0, 0);
		NearSceneRange(0.5, 85.0, 100.0);
		FarSceneRange(5000.0);
		SplitOptions()
		{
			PropClusterEnable(1);
			PropClusterFadeAdj(0.6);
			PropClusterDensity(0.1);
		}
	}
	XBOX()
	{
		FogRange(-200.0, 1300.0);
		NearSceneRange(0.5, 85.0, 100.0);
		FarSceneRange(3000.0);
		NearSplitScreenRange(0.2, 110.0, 160.0);
		FarSplitScreenRange(0.0);
		SplitOptions()
		{
			FogRange(5.0, 140.0);
			PropClusterEnable(0);
		}
	}
	PC()
	{
		NearSceneRange(30.0, 160.0, 40.0, 200.0);
		FarSceneRange(5000.0, 5000.0);

		FarSceneRange(5000.0);
		FogRange(-100.0, 600.0);
	}
	
}
Change it to this

Code: Select all

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

		FogRange(-100.0, 600.0);
	}
	
}
I also removed the unneeded ps2 and xbox stuff.