Black Horizon in Map?

Started by swgaming1015, May 13, 2016, 10:21:43 AM

Previous topic - Next topic
May 13, 2016, 10:21:43 AM Last Edit: May 13, 2016, 10:33:42 AM by swgaming1015
I'm making a Sail Barge Assult map but I can't get the horizon to look right. The horizon and the surrounding mountains are black and don't have a texture. Here's a video showing the problem:

https://youtu.be/b2I6YGeUKr4

I assume this has something to do with the tat1_far_detail.tga file. I have referenced this file in my world sky file but nothing has changed.

Here's my world 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_Tatooine1.tga");
    Angle(190.000005);
    Ambient(128.000038, 128.000038, 128.000038);
    Filter(1);
    Threshold(150);
    Intensity(50);
    Softness(1);
    SoftnessParam(60);
    PC()
    {
        TerrainBumpTexture("tat1_bump", 1.0);
    }

    DomeModel()
    {
        Geometry("tat1_sky_dome");
    }
    DomeModel()
    {
        Geometry("tat1_skyrocks_01");
        Offset(100.0);
        MovementScale(0.995);
    }
    DomeModel()
    {
        Geometry("tat1_skyrocks_02");
        Offset(110.0);
        MovementScale(0.995);
    }
    DomeModel()
    {
        Geometry("");
        Offset(10.0);
        MovementScale(0.995);
    }
    LowResTerrain()
    {
        Texture("tat1");
        PatchResolution(5);
        FogNear(300.0);
        FogFar(700.0);
        FogColor(142,82,38, 128);
        DetailTexture("tat1_far_detail");
        DetailTextureScale(0.25);
    }
}

//Big rep flyer
SkyObject()
{
    Geometry("");
    NumObjects(2);
    Height(200, 300);
    VelocityZ(20, 50);
    Distance(1500);
    InDirectionFactor(2);
}
//Rep fighters
SkyObject()
{
    Geometry("");
    NumObjects(20);
    Height(80, 140);
    VelocityZ(80, 120);
    VelocityY(-10, 10);
    Distance(600);
    InDirectionFactor(0.5);
}
//CIS fighters
SkyObject()
{
    Geometry("");
    NumObjects(20);
    Height(80, 140);
    VelocityZ(80, 100);
    VelocityY(-10, 10);
    Distance(300);
    InDirectionFactor(0.5);
}
//CIS rockets
SkyObject()
{
    Geometry("");
    NumObjects(8);
    Height(0, 0);
    VelocityY(10, 12);
    Acceleration(0.0, 2.0, 0.0);
    Distance(1000);
    LifeTime(80.0);
}


Lastly, the files in the World1/PC folder of my map are as follows:

SKY_Tatooine1.tga
SKY_Tatooine1.tga.option
tat1_bump.tga
tat1_bump.tga.option
tat1_far_detail.tga
tat1_lowresterrain.tga
tat1_lowresterrain.tga.option
tat1_sky_dome.msh
tat1_sky_dome.msh.option
tat1_skyrocks_01.msh
tat1_skyrocks_01.msh.option
tat1_skyrocks_02.msh
tat1_skyrocks_02.msh.option

Any help is appreciated!

Ok im not sure but try this method first and tell me is it working.

Find this in your sky file that you posted here:

LowResTerrain()
    {
        Texture("tat1");
        PatchResolution(5);
        FogNear(300.0);
        FogFar(700.0);
        FogColor(142,82,38, 128);
        DetailTexture("tat1_far_detail");
        DetailTextureScale(0.25);
    }
}



and change the fogFar parameters to something more than 700.Change it just for testing purposes to something like 2000 and tell me what is happening.

I changed the "FogFar" parameter to 1200 and 2000 and both had the same interesting result. The Geo1 texture in the distance is no longer visible but the mountains and horizon are still black. When I move closer to the mountains they regain their texture but any mountains in the distance stay black.

Then i think this is something to do with the terrain_bump texture....but i see you have it in your sky file so i really dont know.When you created for first time this map did you touched something else in the sky file?Or maybe you touched something with the colors inside the zero editor?If you can't fix this just get  some other world folder from the assets folder and copy all the files from their world1 folder and put them in your.Then just rename the other sky file with the name of your original and you will have different sky settings,but probably you like the Tatooine one.

May 13, 2016, 03:56:15 PM #4 Last Edit: May 13, 2016, 03:58:08 PM by swgaming1015
I'll probably try that then. It's interesting that you think it might be to do with the terrain_bump texture because now that you mention it, I had some problems with that to begin with. I never put tat1_bump in the detail box in zeroeditor ( it turned the whole map ground black for some reason ) but instead put tat1_detail1.tga in the detail box. Could it be something to do with that?

Hmmm.Remove the detail and try.If this problem is still there try cleaning your map and munge again everything.If the problem is still there i suggest you to start your map from the begining if you are still at early stage of development and this time do not touch too much your sky file.For example i touch only at the start the parameters for the distance nothing more  :shrug: