Page 1 of 1

Sky doesn't show up! [Solved]

Posted: Sun Feb 14, 2010 4:16 pm
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!

Re: Sky doesn't show up!

Posted: Sun Feb 14, 2010 4:17 pm
by mswf
Did you make sure you copied over the correct .tga's for the sky?

Re: Sky doesn't show up!

Posted: Sun Feb 14, 2010 4:20 pm
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.

Re: Sky doesn't show up!

Posted: Sun Feb 14, 2010 4:26 pm
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.

Re: Sky doesn't show up!

Posted: Sun Feb 14, 2010 4:36 pm
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

Re: Sky doesn't show up!

Posted: Sun Feb 14, 2010 4:38 pm
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.

Re: Sky doesn't show up!

Posted: Sun Feb 14, 2010 6:45 pm
by genaral_mitch
Try a manual clean.

Re: Sky doesn't show up!

Posted: Sun Feb 14, 2010 8:09 pm
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!