Skyfile FarSceneRange is in old format

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
User avatar
ps2owner
Corporal
Corporal
Posts: 155
Joined: Wed Jun 23, 2010 8:25 pm

Skyfile FarSceneRange is in old format

Post 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.
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: Skyfile FarSceneRange is in old format

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