Page 1 of 2

HELP! My sky erased!

Posted: Wed Aug 24, 2005 4:29 pm
by Delta_57_Dash
Ok, my sky doesn't appear in-game, as seen here:
Image

The contents of my sky file:
SkyInfo()
{
ObjectVisibility(40.000000, 80.000000, 1600.000000);
FogColor(252, 252, 252);
FogRange(0.000000, 3000.000000);
NearSceneRange(50.0, 220.0, 60.0, 300.0);
FarSceneRange(450.000000, 1000.0);
AmbientColor(120, 101, 76);
TopDirectionalAmbientColor(120, 101, 76);
BottomDirectionalAmbientColor(126, 70, 35);
CharacterAmbientColor(209,156,73);
VehicleAmbientColor(189, 136, 53);
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);
}



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

DomeModel()
{
Geometry("geo_sky_arena");
Offset(-20.0);
MovementScale(0.995);
}
DomeModel()
{
Geometry("geo_sky_spire");
Offset(-20.0);
MovementScale(0.995);
}
DomeModel()
{
Geometry("geo_sky_dome_rim");
Offset(10.0);
MovementScale(0.995);
}

LowResTerrain()
{
Texture("geo1");
PatchResolution(7);
FogNear(300.0);
FogFar(700.0);
FogColor(142,82,38, 128);
DetailTexture("geo1_far_detail");
DetailTextureScale(0.25);
}
}


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



any help as to why it is completely black would be most appreciated!

Posted: Wed Aug 24, 2005 4:36 pm
by -_-
video card problem>?

Posted: Wed Aug 24, 2005 4:48 pm
by Nimlot
What does the munge log say?

Posted: Wed Aug 24, 2005 4:52 pm
by Delta_57_Dash
nothing, as always :cry:

Posted: Wed Aug 24, 2005 5:20 pm
by Bobafett16
it just plain erased?,did u try re-doing your sky file w/ a diffeant tex?

Posted: Wed Aug 24, 2005 5:39 pm
by PR-0927
Your sky file was reset. Or, maybe you are missing the files referenced in your "World1" folder. Double-check them all.

- Majin Revan

Posted: Wed Aug 24, 2005 6:27 pm
by Delta_57_Dash
It's all there wahhh I moved the mod1.sky file and renamed it but I STILL have a black sky... this happened ever since I changed the object visibility higher, then back

Posted: Wed Aug 24, 2005 7:21 pm
by Delta_57_Dash
Ok, I took the Mod1.sky file, renamed it to Rogue1.sky, and put it in my world folder in place of the other one, but, THE SKY IS STILL BLACK!

in addition, I have this lil problem of nothing, absolutely NOTHING being localized... not even the on screen buttons, I mean the thing is totally messed up, the spawn button says like game.localization.spawn or whatever, and the loading screen says [null] instead of Loading...

Posted: Wed Aug 24, 2005 9:48 pm
by CarbineImpulse
If it can't find the texture, be it for sky or whatever it leaves a white block, so if it couldn't find your sky texture then that's what you'd get, a white sky. Have you tried tinkering with the NearSceneRange and FarSceneRange settings? Have you also tried using BFBuilder Pro to totally make a new map from scratch to see if the black sky effect is also an issue (this might help to establish video card problems on your PC).

oh and 1 decimal place will do on your values... 128.000038 is a little too precise! :D hope you all get sorted out ok soon. :)

Posted: Wed Aug 24, 2005 10:01 pm
by Kyross
Carbine, have you ever tried editing skies in bfbuilder pro? If it can't find the sky, it goes black. Not white. White is limited to objects.

Posted: Wed Aug 24, 2005 10:11 pm
by Delta_57_Dash
Ok, fixed localization problem, but the sky is still black...

Posted: Wed Aug 24, 2005 10:25 pm
by SteveK14
Delta_57_Dash wrote:Ok, I took the Mod1.sky file, renamed it to Rogue1.sky, and put it in my world folder in place of the other one, but, THE SKY IS STILL BLACK!

in addition, I have this lil problem of nothing, absolutely NOTHING being localized... not even the on screen buttons, I mean the thing is totally messed up, the spawn button says like game.localization.spawn or whatever, and the loading screen says [null] instead of Loading...
You didn't mention the localization being out in our IM session last night. This happened to me as well. The munge logic is broken somewhere. You will have to look closely at the munge window, using the pause key on your keyboard to stop it and any key to return it to motion. There will be some point that it will say something like directory invalid or an error like that. Look at the file or directory it was munging right before that and there is where the munge logic breaks down. To verify, look in the addon folder and make sure that all LVL files have been produced. Look to another world addon map folder to compare which ones SHOULD be present. I have done this several times when I mistyped something while editing the munge files or even in the lua.

Steve

Posted: Wed Aug 24, 2005 10:27 pm
by CarbineImpulse
If it can't find the sky, it goes black. Not white. White is limited to objects.
Sorry Kyross but that's not the case. Create a world using BFBuilder pro. Ok now go into the world1 subfolder and delete the SKY_Geonosis.tga file this means that it won't be able to find it when it tries to. Ok so now you have deleted the sky texture. Clean then munge. then run. ta-da! white sky. feel free to give it a go :)

Posted: Wed Aug 24, 2005 10:30 pm
by SteveK14
CarbineImpulse wrote:
If it can't find the sky, it goes black. Not white. White is limited to objects.
Sorry Kyross but that's not the case. Create a world using BFBuilder pro. Ok now go into the world1 subfolder and delete the SKY_Geonosis.tga file this means that it won't be able to find it when it tries to. Ok so now you have deleted the sky texture. Clean then munge. then run. ta-da! white sky. feel free to give it a go :)
On SOME computers, depending on the graphics card, it actually goes black.

Steve

Posted: Wed Aug 24, 2005 10:31 pm
by -_-
SteveK14 wrote:
CarbineImpulse wrote:
If it can't find the sky, it goes black. Not white. White is limited to objects.
Sorry Kyross but that's not the case. Create a world using BFBuilder pro. Ok now go into the world1 subfolder and delete the SKY_Geonosis.tga file this means that it won't be able to find it when it tries to. Ok so now you have deleted the sky texture. Clean then munge. then run. ta-da! white sky. feel free to give it a go :)
On SOME computers, depending on the graphics card, it actually goes black.

Steve
Now taht Steve mentioned the Localization keys, i remember i once had a problem like that as well. It turned out i had an extra spacing in my sky file. Hope that helps.

Posted: Wed Aug 24, 2005 10:34 pm
by CarbineImpulse
Ahh, I guess kyross and I didn't realise that, so in our own way we're both right :) thanks for clearing that up steve :)

Posted: Thu Aug 25, 2005 8:49 am
by generaalgrievous
hi gijs the problem is the sky localieze tool pleas update that

Posted: Thu Aug 25, 2005 9:06 am
by Bobafett16
generaalgrievous wrote:hi gijs the problem is the sky localieze tool pleas update that
what do u mean?

Posted: Thu Aug 25, 2005 9:35 am
by Delta_57_Dash
Uhm... guys I don't think you understand, I went back to the default sky AND IT'S STILL BACK! I fixed the localization problem but the dead fact is that even with default sky renamed as Rogue1.sky I still have all black... and I really, really don't want to make this version inside a big building or at night...

Posted: Thu Aug 25, 2005 10:06 am
by SteveK14
Delta_57_Dash wrote:Uhm... guys I don't think you understand, I went back to the default sky AND IT'S STILL BACK! I fixed the localization problem but the dead fact is that even with default sky renamed as Rogue1.sky I still have all black... and I really, really don't want to make this version inside a big building or at night...
What steps did you take "fix' the localization problem?

Steve