Sky Issues in Space

Post everything from general questions, to modding questions, to map WIPs to releases. (SWBF1 only)

Moderator: Moderators

Locked
YTF
First Lance Corporal
First Lance Corporal
Posts: 124
Joined: Thu Jul 10, 2008 3:53 pm

Sky Issues in Space

Post by YTF »

I'm having issues with the sky in my space map. When I bump my NearSceneRange and FarSceneRange too high, I can see the capital ships just fine, but my sky goes all black. Then when I lower them, the sky reappears, but my capital ships are shaded orange because they're too far away (is the orange because of the Geo lowres terrain texture?). Does anyone know any way to see as far off in the distance as possible, but at the same time keeping the sky from disappearing?

Here's my .sky file. I copied the Space Endor skydomes from the BF2 assets and used them in place of the original Geo ones.
Hidden/Spoiler:
SkyInfo()
{
ObjectVisibility(400.000000, 800.000000, 160000.000000);
FogColor(252, 252, 252);
FogRange(0.000000, 000.000000);
NearSceneRange(50.0, 220.0, 60.0, 300.0);
FarSceneRange(450.000000, 1000.0);
AmbientColor(120, 121, 136);
TopDirectionalAmbientColor(120, 121, 136);
BottomDirectionalAmbientColor(126, 120, 135);
CharacterAmbientColor(149,156,173);
VehicleAmbientColor(149, 146, 163);
Enable(1559);
FogRamp(3);
}

SunInfo()
{
Angle(140.000005, -10.000011);
Color(120, 120, 120);
Texture("");
Degree(90.000011);
BackAngle(180.000022, 0.000000);
BackColor(128, 128, 128);
BackDegree(0.000000);
}





DomeInfo()
{
Texture("SKY_Geonosis.tga");
Angle(190.000005);
Ambient(128.000038, 128.000038, 128.000038);
Filter(1);
Threshold(150);
Intensity(50);

Softness(1);
SoftnessParam(60);

PC()
{
TerrainBumpTexture("geo1_bump", 1.0);
}


TerrainEnable(0);
DomeModel()
{
Geometry("spa1_sky");
}
DomeModel()
{
Geometry("spa13_sky_horizon");
}
DomeModel()
{
Geometry("spa13_sky_nebula1");
}
DomeModel()
{
Geometry("spa13_sky_Endor");
}
DomeModel()
{
Geometry("spa13_sky_landmass");
}
DomeModel()
{
Geometry("spa13_sky_planetclouds");
}

DomeModel()
{
Geometry("spa13_sky_planethaze");
}
DomeModel()
{
Geometry("spa3_sky_explosions");
rotationspeed(0.001, 0,1.0,0);
Effect("spa_sfx_skydomeexplosions", "hp_1", 1.0);
Effect("spa_sfx_skydomeexplosions", "hp_3", 3.0);
Effect("spa_sfx_skydomeexplosions", "hp_4", 1.0);
Effect("spa_sfx_skydomeexplosions", "hp_5", 1.0);
Effect("spa_sfx_skydomeexplosions", "hp_7", 1.0);
Effect("spa_sfx_skydomeexplosions", "hp_9", 1.0);
Effect("spa_sfx_skydomeexplosions", "hp_11", 3.0);
Effect("spa_sfx_skydomeexplosions", "hp_13", 1.0);

}

LowResTerrain()
{
Texture("geo1");
PatchResolution(7);
FogNear(300.0);
FogFar(700.0);
FogColor(122,112,138, 128);
DetailTexture("geo1_far_detail");
DetailTextureScale(0.25);
}
}


//Big rep flyer
SkyObject()
{
Geometry("rep_fly_assault_DOME");
NumObjects(4);
Height(200, 300);
VelocityZ(20, 50);
Distance(1500);
InDirectionFactor(2);
}

//Rep fighters
SkyObject()
{
Geometry("rep_fly_gunship_DOME");
NumObjects(20);
Height(80, 140);
VelocityZ(80, 120);
VelocityY(-10, 10);
Distance(600);
InDirectionFactor(0.5);
}


SkyObject()
{
Geometry("rep_fly_assault_DOME");
NumObjects(2);
Height(350, 500);
VelocityZ(30, 50);
Distance(2500);
InDirectionFactor(2.5);
}

SkyObject()
{
Geometry("cis_fly_fedlander_DOME");
NumObjects(2);
Height(350, 500);
VelocityZ(30, 50);
Distance(2500);
InDirectionFactor(2.5);
}



//CIS fighters
SkyObject()
{
Geometry("cis_fly_droidfighter_DOME");
NumObjects(20);
Height(80, 140);
VelocityZ(80, 100);
VelocityY(-10, 10);
Distance(300);
InDirectionFactor(0.5);
}

//CIS rockets
SkyObject()
{
Geometry("cis_fly_techounion_DOME");
NumObjects(8);
Height(0, 0);
VelocityY(10, 12);
Acceleration(0.0, 2.0, 0.0);
Distance(1000);
LifeTime(80.0);
}
User avatar
ANDEWEGET
Ancient Force
Ancient Force
Posts: 1266
Joined: Tue Apr 01, 2008 8:42 am
Location: Germany
Contact:

Re: Sky Issues in Space

Post by ANDEWEGET »

try to change every orange tga in your world folder to grey :)
YTF
First Lance Corporal
First Lance Corporal
Posts: 124
Joined: Thu Jul 10, 2008 3:53 pm

Re: Sky Issues in Space

Post by YTF »

Thanks anyways, but I just fiddled around with the settings until I got something I liked. This can be locked now.
Locked