Jump to content

Planet does not appear in-game


Recommended Posts

Hello KSP Forum. Recently, I followed instructions on how to create a planet. When I finished up my script and went in-game, I was met with nothing but a few red rings where the world was meant to be. There is an image below, and my script.

ifiqR0h.jpg

@Kopernicus:AFTER[KOPERNICUS]
{
    Body
    {
        name = Stratastrophe
        cacheFile = StratastropheSystem/CacheFiles/Stratastrophe.bin
        flightGlobalsIndex = 10
        Properties
        {
            description = Stratastrophe Description
            radius = 950000 
            geeASL = 1.67 
            rotationPeriod = 27500
            rotates = true 
            tidallyLocked = false
            initialRotation = 0
            isHomeWorld = false 
            timewarpAltitudeLimits = 0 30000 30000 60000 300000 300000 400000 700000
            ScienceValues
            {
                landedDataValue = 2
                splashedDataValue = 1
                flyingLowDataValue = 11
                flyingHighDataValue = 8
                inSpaceLowDataValue = 7
                inSpaceHighDataValue = 6
                recoveryValue = 7
                flyingAltitudeThreshold = 65000
                spaceAltitudeThreshold = 140000
            }    
        }
        Orbit //Orbit properties
        {
            referenceBody = Sun
            color = 0.35,0,0,1
            inclination = 0.5 
            eccentricity = 0.02 
            semiMajorAxis = 27000000000 
            longitudeOfAscendingNode = 0 
            argumentOfPeriapsis = 0
            meanAnomalyAtEpoch = 0
            epoch = 0
        }
        ScaledVersion
        {
            type = Atmospheric
            fadeStart = 2000000
            fadeEnd = 2100000
            Material
            {
                texture = PluginData/stratastrophe_color.dds
                normals = PluginData/stratastrophe_normal.dds
                shininess = 0.1
                specular = 0.6,0.0,0.0,1.0
                rimPower = 3
                rimBlend = 0.2
                Gradient
                {
                    0.0 = 0.7,0.0,0.0,1
                    0.5 = 0.0,0.75,1.0,1
                    1.0 = 0.0196,0.0196,0.0196,1
                }
            }
        }
        Atmosphere
        {
            ambientColor = 0.7, 0.00, 0.0, 1
            lightColor = 0.2, 0.0, 0.0, 0.5
            enabled = true
            oxygen = true
            altitude = 90000.0
            pressureCurve
            {
                key = 0        121.59        -1.32825662337662E-02    -1.32825662337662E-02
                key = 2850    70.45212    1.08101766233766E-02    -1.08101766233766E-02
                key = 6700    38.35164    -6.61608311688312E-03    -6.61608311688312E-03
                key = 12550    19.50828    -3.70578701298701E-03    -3.70578701298701E-03

                key = 16400    9.81708        -1.89074805194805E-03    -1.89074805194805E-03
                key = 20250    4.94952        -9.4665974025974E-04    -9.4665974025974E-04
                key = 24100    2.5278        -4.7371948051948E-04    -4.7371948051948E-04
                key = 27950    1.30188        -2.38877922077922E-04    -2.38877922077922E-04
                key = 35000    0.68844        -1.20685714285714E-04    -1.20685714285714E-04
                key = 37650    0.3726        -6.2212987012987E-05    -6.2212987012987E-05
                key = 41500    0.2094        -3.29298701298701E-05    -3.29298701298701E-05

                key = 47850    0.11904        -1.80935064935065E-05    -1.80935064935065E-05
                key = 52200    0.07008        -1.02857142857143E-05    -1.02857142857143E-05
                key = 57050    0.03984        -6.21818181818182E-06    -6.21818181818182E-06
                key = 61900    0.0222        -3.63116883116883E-06    -3.63116883116883E-06
                key = 66750    0.01188        -2.07272727272727E-06    -2.07272727272727E-06
                key = 71600    0.00624        -1.13766233766234E-06    -1.13766233766234E-06
                key = 76450    0.00312        -6.07792207792208E-07    -6.07792207792208E-07
                key = 79300    0.00156        -3.42857142857143E-07     -3.42857142857143E-07
                key = 86150    0.00048        -2.02597402597403E-07    -2.02597402597403E-07
                key = 90000    0        -1.24675324675325E-07    -1.24675324675325E-07
            }
            pressureCurveIsNormalized = false
            temparatureSeaLevel = 288.15
            temparatureCurve
            {
                key = 0        288.15        -0.008333333766        -0.008333333766
                key = 9240    212.4633208    -0.001180336104        -0.001176697662
                key = 16170    212.4633208    0.001176697662        0.001176697662
                key = 23870    266.5252345    0.0006431355844        0.0006431355844
                key = 43120    266.5252345    -0.0008869198701    -0.0008869198701
                key = 61600    183.9579481    -0.001180336104        -0.001180336104
                key = 69300    183.9579481    0.0006152915584        0.0006152915584
                key = 77000    226.2245352    0.0009020832468        0.0009020832468
                key = 115500    0        -0.0005839079221    -0.0005839079221
            }
            temparatureSunMultCurve
            {
                key = 0            1    0            0
                key = 5923.076923    0.5    -0.00007792207792    -0.0001333050649
                key = 6526.656231    0    0            0
                key = 11883.45738    0    0            0
                key = 28045.35461    0.2    0            0
                key = 42527.78708    0.2    0            0
                key = 54071.53228    0    0            0
                key = 77000        0.4    0            0
            }
        }
        PQS
        {
            Mods
            {    
                VertexHeightMap
                {
                    map = PluginData/stratastrophe_height.dds
                    offset = -500
                    deformity = 3000.0
                    scaleDeformityByRadius = false
                    order = 20
                    enabled = true
                }
                VertexHeightNoiseVertHeightCurve2
                {
                    deformity = 100
                    ridgedAddSeed = 123456
                    ridgedAddFrequency = 12
                    ridgedAddLacunarity = 2
                    ridgedAddOctaves = 4
                    ridgedSubSeed = 654321
                    ridgedSubFrequency = 12
                    ridgedSubLacunarity = 2
                    ridgedSubOctaves = 4
                    simplexCurve
                    {
                        key = 0 0 0.1466263 0.1466263
                        key = 0.7922793 0.2448772 0.6761706 1.497418
                        key = 1 1 6.106985 6.106985
                    }
                    simplexHeightStart = 0
                    simplexHeightEnd = 6500
                    simplexSeed = 123456
                    simplexOctaves = 4
                    simplexPersistence = 0.6
                    simplexFrequency = 12
                    enabled = true
                    order = 200
                }
                HeightColorMap
                {
                    blend = 1
                    order = 500
                    enabled = true
                    LandClasses
                    {
                        Class
                        {
                            name = Bottom
                            altitudeStart = 0
                            altitudeEnd = 0.7
                            color = 0.1,0.1,0.1,1.0
                            lerpToNext = true
                        }
                        Class
                        {
                            name = Base
                            altitudeStart = 0.7
                            altitudeEnd = 0.75
                            color = 0.7,0.55,0.2,1.0
                            lerpToNext = true
                        }
                        Class
                        {
                            name = Low
                            altitudeStart = 0.75
                            altitudeEnd = 0.85
                            color = 0.7,0.6,0.4,1.0
                            lerpToNext = true
                        }
                        Class
                        {
                            name = Grad
                            altitudeStart = 0.85
                            altitudeEnd = 0.95
                            color = 1.0,0.9,0.7,1.0
                            lerpToNext = true
                        }
                        Class
                        {
                            name = High
                            altitudeStart = 0.95
                            altitudeEnd = 2
                            color = 0.95,0.95,0.9,1.0
                            lerpToNext = false
                        }
                    }
                }
            }
        }
    }
}    

 

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...