Page 1 of 1

Objects sometimes not visible

Posted: Fri Jul 01, 2005 7:18 am
by Darth-Derkie
I have created a large building out of many single objects:
Image
But you can see the sky through the doors. You shouldn't because there is a wall behind the doors.

Image

The objects are not visible in the above screenshot, but when I look up, the objects become visible:
Image

Has this to do with the .sky file?

SkyInfo()
{
Enable(1559);
PS2()
{
FogColor(128, 128, 128);
FogRange(0.000000, 3000.000000);
NearSceneRange(0.95, 100.0, 130.0);
FarSceneRange(1000.0);
AmbientColor(105, 105, 105);
VehicleAmbientColor(105,105,105);
FogRamp(3);
}
XBOX()
{
FogColor(128, 128, 128);
FogRange(0.000000, 3000.000000);
NearSceneRange(0.95, 120.0, 160.0);
FarSceneRange(1000.0);
AmbientColor(108, 108, 108);
TopDirectionalAmbientColor(140, 140, 140);
BottomDirectionalAmbientColor(100, 120, 100);
}
PC()
{
FogColor(128, 128, 128);
FogRange(0.000000, 3000.000000);
NearSceneRange(90.0, 440.0, 120.0, 480.0);
FarSceneRange(300.000000, 1500.0);
AmbientColor(108, 108, 108);
TopDirectionalAmbientColor(140, 140, 140);
BottomDirectionalAmbientColor(100, 120, 100);
}
}

SunInfo()
{

PS2()
{
Angle(140.000000, 10.000000);
Color(210, 200, 190);
}
XBOX()
{
Angle(140.000000, -10.000000);
Color(210, 200, 190);
ShadowColor(210, 200, 190);
}
PC()
{
Angle(140.000000, -10.000000);
Color(210, 200, 190);
}

Texture("");
Degree(0.000000);
BackAngle(210.000042, 0.000000);
BackColor(0, 0, 0);
BackDegree(0.000000);
}

FlatInfo()
{
Height(300.000000, 200.000000);
Texture("");
Color(128, 255, 255, 0);
Modulate(0);
TextureSpeed(10.000000, 0.000000);
TileSize(1200.000000);
}

DomeInfo()
{
Angle(190.000005);
Ambient(256.000038, 256.000038, 256.000038);
Filter(1);
Threshold(50);
Intensity(50);
TerrainColorDarkening();

Softness(1);
SoftnessParam(60);

DomeModel()
{
Geometry("naboo1_sky_dome");
}
DomeModel()
{
Geometry("sky_water");
Offset(-40.0);
MovementScale(0.995);
}

DomeModel()
{
Geometry("sky_mountains");
Offset(-40.0);
MovementScale(0.995);
}

LowResTerrain()
{
Texture("naboo1");
DetailTexture("nab1_far_detail");
DetailTextureScale(0.25);
PatchResolution(9);
FogNear(700.0);
FogFar(1000.0);
FogColor(126,148,82, 128);
}
}

RE: Objects sometimes not visible

Posted: Sat Jul 02, 2005 11:03 am
by Astute
Hmm, while i'm not an expert on sky files, i'm guessing its because you don't have the ObjectVisibility setting.

PC()
{
ObjectVisibility(40.000000, 80.000000, 1500.000000);
FogColor(128, 128, 128);
FogRange(0.000000, 3000.000000);

Add it there above FogColor, mabye it will fix your problem

Posted: Sat Jul 02, 2005 3:57 pm
by Darth-Derkie
I tried that, but it didn't help

Posted: Thu Jul 14, 2005 7:22 am
by Darth-Derkie
I'm still having this problem. Does anyone have this problem when you play my map? (Nowhere: New City 1.2)