Page 1 of 1

Sky Problem [Solved]

Posted: Thu Nov 04, 2010 6:10 pm
by acryptozoo
hey GT
i was trying to make a custom sky
i got the sjy's tga file to the right size and such
edited the sky file and munged and got no errors
but ingame the enitre sky is black
any ideas why its doing that

Sky file
Hidden/Spoiler:
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("GSC_sky.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);
}

Re: Sky Problem

Posted: Fri Nov 05, 2010 10:04 am
by DarthD.U.C.K.
did you use the original sky belonging to the dome as base for yours or another sky? if the texture doenst fit on the model the sky can be black/glowing sometimes.

Re: Sky Problem

Posted: Fri Nov 05, 2010 2:35 pm
by acryptozoo
DarthD.U.C.K. wrote:did you use the original sky belonging to the dome as base for yours or another sky? if the texture doenst fit on the model the sky can be black/glowing sometimes.
It was on an new Tga.

Re: Sky Problem

Posted: Fri Nov 05, 2010 2:51 pm
by DarthD.U.C.K.
is the resolution/ratio the same as the original texture's?

Re: Sky Problem

Posted: Fri Nov 05, 2010 3:06 pm
by acryptozoo
yes 512x1024

Re: Sky Problem

Posted: Fri Nov 05, 2010 3:32 pm
by AQT
Don't you mean 1024X256? Or did you scale up a 512X256 to 1024X512? Anyway, if you open up tat2_sky_dome.msh in a hex editor or Notepad and search for .tga, does GSC_sky.tga come up? If not, there's your problem. The texture won't simply show up if you reference it in your .sky file. You must edit the skydome MSH so that it uses that texture name.

Re: Sky Problem

Posted: Fri Nov 05, 2010 4:05 pm
by acryptozoo
AQT wrote:Don't you mean 1024X256? Or did you scale up a 512X256 to 1024X512? Anyway, if you open up tat2_sky_dome.msh in a hex editor or Notepad and search for .tga, does GSC_sky.tga come up? If not, there's your problem. The texture won't simply show up if you reference it in your .sky file. You must edit the skydome MSH so that it uses that texture name.

thanks AQT the tat2_sky_dome.msh thing worked