Full sky not loading [Solved]

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
MidnightSpirit
Second Lance Corporal
Second Lance Corporal
Posts: 100
Joined: Mon Aug 15, 2011 1:29 pm
Games I'm Playing :: BF2
xbox live or psn: ApocryphicDeath

Full sky not loading [Solved]

Post by MidnightSpirit »

So on my Geonosis map that I am making the sky seems to be malfunctioning.
The problem is that the top dome of the sky will load but the lower rim will not.
I checked the sky file and I have everything listed in there including geo_sky_dome_rim.msh
When I open the level in zero editor the sky appears full.
I did a manual clean twice as well.

Zero Editor:
Hidden/Spoiler:
Image
In-game:
Hidden/Spoiler:
Image
.Sky file:
Hidden/Spoiler:
[code]
SkyInfo()
{
Enable(1);
FogColor(0,0,0);
FogRange(0.0, 0.0);

PS2()
{
NearSceneRange(0.2, 180.0, 200.0);
FarSceneRange(500.0);

NearSplitScreenRange(0.5, 180.0, 200.0);
FarSplitScreenRange(500.0);

}
PC()
{
NearSceneRange(50.0, 220.0, 60.0, 300.0);
FarSceneRange(450.000000, 1000.0);
}
XBOX()
{
NearSceneRange(0.5, 210.0, 680.0);
FarSceneRange(700.0);
NearSplitScreenRange(0.5, 180.0, 200.0);
FarSplitScreenRange(700.0);

}
}

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("geo_sky.tga");
Angle(190.000005);
Ambient(128.000038, 128.000038, 128.000038);
Softness(1);
SoftnessParam(60);


DomeModel()
{
Geometry("geo_sky_dome");
Offset(0.0);
MovementScale(0.995);
}
DomeModel()
{
Geometry("geo_sky_dome_rim");
Offset(0.0);
MovementScale(0.995);
}

DomeModel()
{
Geometry("geo_sky_dome_arena");
Offset(0.0);
MovementScale(0.995);
}

DomeModel()
{
Geometry("geo_sky_spire");
Offset(0.0);
MovementScale(0.995);
}

DomeModel()
{
Geometry("geo_sky_dome_2");
Offset(0.0);
MovementScale(0.995);
}

DomeModel()
{
Geometry("geo_sky_explosions");
rotationspeed(0.003, 0,1.0,0);
Effect("spa_sfx_skydomeexplosions", "hp_sky_1", 1.0);


Effect("spa_sfx_skydomeexplosions", "hp_sky_4", 1.0);
Effect("spa_sfx_skydomeexplosions", "hp_sky_5", 1.0);

Effect("spa_sfx_skydomeexplosions", "hp_sky_7", 1.0);
Effect("spa_sfx_skydomeexplosions", "hp_sky_8", 1.0);
Effect("spa_sfx_skydomeexplosions", "hp_sky_9", 1.0);
Effect("spa_sfx_skydomeexplosions", "hp_sky_10", 1.0);
Effect("spa_sfx_skydomeexplosions", "hp_sky_11", 1.0);
Effect("spa_sfx_skydomeexplosions", "hp_sky_12", 1.0);

Effect("spa_sfx_skydomeexplosions", "hp_sky_14", 1.0);
Effect("spa_sfx_skydomeexplosions", "hp_sky_15", 1.0);


}

LowResTerrain()
{
Texture("geo1");
PatchResolution(8);
}
}


//Big rep flyer
SkyObject()
{
Geometry("rep_fly_assault_DOME");
NumObjects(2);
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);
}

//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);
}
[/code]
Last edited by MidnightSpirit on Wed Jan 08, 2014 8:39 pm, edited 3 times in total.
Noobasaurus
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2006
Joined: Tue Aug 17, 2010 5:56 pm

Re: Full sky not loading

Post by Noobasaurus »

Can you post your .sky file here please?
MidnightSpirit
Second Lance Corporal
Second Lance Corporal
Posts: 100
Joined: Mon Aug 15, 2011 1:29 pm
Games I'm Playing :: BF2
xbox live or psn: ApocryphicDeath

Re: Full sky not loading

Post by MidnightSpirit »

I tried applying the sky to an different map and ran into the same problem
User avatar
edge123455
Private Second Class
Posts: 73
Joined: Wed May 18, 2011 7:07 pm
Projects :: Hoth Battlefield
xbox live or psn: No gamertag set

Re: Full sky not loading

Post by edge123455 »

1) Are you sure you have the dome texture imported to your world folder?

2) Did you modify or rename the texture?

Most likely you did not import the texture for the dome model. Which might be the texture for the "geo_sky_spire" msh.

If there is no tga with a similar name open the msh file with the hex editor to check which tga it needs. Copy it from the assets to your world folder.

Do this with all the domemodels listed in your sky file.
MidnightSpirit
Second Lance Corporal
Second Lance Corporal
Posts: 100
Joined: Mon Aug 15, 2011 1:29 pm
Games I'm Playing :: BF2
xbox live or psn: ApocryphicDeath

Re: Full sky not loading

Post by MidnightSpirit »

So why is it working in ZE but not ingame?

Doesn't really matter because finding their appropriate tgas worked. I never though their tgas would have such different names from the msh files.
Post Reply