Sky doesn't show up! [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
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:

Sky doesn't show up! [Solved]

Post by Marth8880 »

Hello,

I have added Tatooine's sky to my map but it doesn't show up in-game. It shows up in Zero Editor but not in the game, even after Munging! My sun shows up though...

Please help,
Thanks!
mswf
Master Bounty Hunter
Master Bounty Hunter
Posts: 1674
Joined: Tue Mar 31, 2009 3:40 pm
Location: Twello, The Netherlands
Contact:

Re: Sky doesn't show up!

Post by mswf »

Did you make sure you copied over the correct .tga's for the sky?
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Sky doesn't show up!

Post by AQT »

Your vague description of what you did and how you did it is not really helping. Please provide information on your .sky file, .fx file, and the contents of your world1 folder specifically the files that pertain to the .sky file.
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: Sky doesn't show up!

Post by Marth8880 »

Here's what I did:

I obtained tat2.sky, sky_tatooine.tga, sky_tatooine_flat.tga, and tat2_bump.tga and copied them all over into my map's World1 folder. Then I renamed tat2.sky to PIO.sky (where PIO is my modID). Here is the entire code for tat2.sky:
Hidden/Spoiler:
[code]SkyInfo()
{
Enable(1);

PS2()
{
NearSceneRange(0.100000, 70.000000, 100.000000);
NearSplitScreenRange(0.100000, 50.000000, 60.000000);
FarSceneRange(3000.000000);
}
PC()
{
NearSceneRange(100.0, 150.0, 150.0, 200.0);
FarSceneRange(200.000000, 1000.0);
}
XBOX()
{
NearSceneRange(0.200000, 90.000000, 130.000000);
NearSplitScreenRange(0.200000, 70.000000, 100.000000);
FarSceneRange(3000.000000);
}
}

DomeInfo()
{
Texture("SKY_Tatooine2.tga");
Angle(-90.000000);
Ambient(255.000000, 255.000000, 255.000000);
Filter(1);
Threshold(150);
Intensity(50);
TerrainColorDarkening();

Softness(1);
SoftnessParam(60);

XBOX()
{
TerrainBumpTexture("tat2_bump", 1.0);
}
PC()
{
TerrainBumpTexture("tat2_bump", 1.0);
}

DomeModel()
{
Geometry("tat2_sky_dome");
}

LowResTerrain()
{
Texture("tat2");
PatchResolution(4);
MaxDistance(3000);
}

}

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);
}

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

SkyObject()
{
Geometry("imp_fly_destroyer_DOME");
NumObjects(2);
Height(350, 500);
VelocityZ(30, 50);
Distance(2500);
InDirectionFactor(2.5);
}
[/code]
Am I missing any files? Because I don't think I am.
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Sky doesn't show up!

Post by AQT »

You are missing tat2_sky_dome.msh and as mswf pointed out, you have the incorrect TGA. It should be sky_tatooine2.tga
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: Sky doesn't show up!

Post by Marth8880 »

AQT wrote:You are missing tat2_sky_dome.msh and as mswf pointed out, you have the incorrect TGA. It should be sky_tatooine2.tga
Woops, I already had sky_tatooine2.tga, but I'll add the mesh in and tell you what happens.

EDIT:

Nope, doesn't work.
genaral_mitch
Jedi
Jedi
Posts: 1056
Joined: Fri Aug 14, 2009 12:32 am

Re: Sky doesn't show up!

Post by genaral_mitch »

Try a manual clean.
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: Sky doesn't show up!

Post by Marth8880 »

genaral_mitch wrote:Try a manual clean.
Even though I did one yesterday, okay.

EDIT:

YES!! Thank you so much, it worked!!!! You don't know how happy I am!
Post Reply