Jump to content

A little help.


wolpie

Recommended Posts

I'm very new to Kopernicus modding so.. I do not know how to make a planet.

I've followed all instructions correctly yet the custom planet I made does not show up. Why is this happening?

And here's the source code.

@Kopernicus
{
    Body
    {
        name = Amaterasu
        cacheFile = Amaterasu/Cache/Amaterasu.bin
        Template
        {
            name = Kerbin
            removeAllPQSMods = false
        }
        Properties
        {
            description = Made by me! An earthlike planet that just entered here for no reason whatsoever.
            radius = 556463
            geeASL = 1
            rotationPeriod = 86400
        }
        Orbit
        {
          referenceBody = Sunorc
          color = 0.7,0.7,0.7,1
          inclination = 0.2
          eccentricity = 0
          semiMajorAxis = 20699834256
          longitudeOfAscendingNode = 40
          argumentOfPeriapsis = 9
          meanAnomalyAtEpoch = 0
          epoch = 30000000000000
        }
        ScaledVersion
        {
            type = AtmosphericStandard
            fadeStart = 13000
            fadeEnd = 55000
            sphericalModel = False
            deferMesh = False
            invisible = False
            Material
            {
                texture = Amaterasu/PluginData/AmaterasuClr.dds
                normals = Amaterasu/PluginData/AmaterasuNrm.dds
                color = 1,1,1,1
                specColor = 0.0745098069,0.0666666701,0.0509803966,1
                shininess = 0
            }
                
        }
        Atmosphere
        {
            enabled = True // Whether the body has an atmosphere
            oxygen = True // Whether the atmosphere contains oxygen
            staticDensityASL = 1.22497705725583 // Atmospheric density at sea level. Used to calculate the parameters of the atmosphere if no curves are used
            adiabaticIndex = 1.39999997615814 // A thermodynamic property of the gas, also known as heat capacity ratio
            atmosphereDepth = 70000 // The height of the atmosphere
            gasMassLapseRate = 8.33518264702189
            atmosphereMolarMass = 0.0289644002914429 // The mass in kilograms of one mole of gas
            pressureCurveIsNormalized = False // Whether the pressure curve should use absolute (0 - atmosphereDepth) or relative (0 - 1) values
            shockTemperatureMultiplier = 1 // Multiplies the External/Shock Temperature by this value. This is relevant for aerodynamic heating
            staticPressureASL = 101.324996948242 // The static pressure at sea level. Used to calculate the parameters of the atmosphere if no curves are used
            temperatureCurveIsNormalized = False // Whether the temperature curve should use absolute (0 - atmosphereDepth) or relative (0 - 1) values
            temperatureLapseRate = 0.0041
            temperatureSeaLevel = 287 // The static temperature at sea level. Used to calculate the parameters of the atmosphere if no curves are used
            ambientColor = 0.243137255,0.250980407,0.254901975,1 // All objects inside of the atmosphere will slightly shine in this color
            lightColor = 0.649999976,0.569999993,0.474999994,0.5 // Same as waveLength in AtmosphereFromGround
            addAFG = True
            pressureCurve // Assigns a pressure value to a height value inside of the atmosphere
            {
                key = 0 101.325 0 -0.01501631
                key = 1241.025 84.02916 -0.01289846 -0.01289826
                key = 2439.593 69.68138 -0.01107876 -0.01107859
                key = 3597.11 57.78001 -0.009515483 -0.009515338
                key = 4714.942 47.90862 -0.00817254 -0.008172415
                key = 5794.409 39.72148 -0.00701892 -0.007018813
                key = 6836.791 32.93169 -0.006027969 -0.006027877
                key = 7843.328 27.30109 -0.005176778 -0.0051767
                key = 8815.22 22.63206 -0.004445662 -0.004445578
                key = 10786.42 15.3684 -0.003016528 -0.00301646
                key = 12101.4 11.87313 -0.002329273 -0.00232922
                key = 13417.05 9.172798 -0.001798594 -0.001798554
                key = 16678.47 4.842261 -0.0009448537 -0.0009448319
                key = 21143.1 2.050097 -0.0003894095 -0.0003894005
                key = 26977.92 0.6905929 -0.0001252565 -0.0001252534
                key = 33593.82 0.2201734 -3.626878E-05 -3.626788E-05
                key = 42081.87 0.05768469 -9.063159E-06 -9.062975E-06
                key = 49312.13 0.01753794 -3.029397E-06 -3.029335E-06
                key = 56669.95 0.004591824 -8.827175E-07 -8.826996E-07
                key = 62300.84 0.001497072 -3.077091E-07 -3.077031E-07
                key = 70000 0 0 0
            }
            temperatureCurve // Assigns a base temperature value to a height value inside of the atmosphere
            {
                key = 0 288.15 0 -0.008125
                key = 8815.22 216.65 -0.008096968 0
                key = 16050.39 216.65 0 0.001242164
                key = 25729.23 228.65 0.001237475 0.003464929
                key = 37879.44 270.65 0.00344855 0
                key = 41129.24 270.65 0 -0.003444189
                key = 57440.13 214.65 -0.003422425 -0.002444589
                key = 68797.88 186.946 -0.002433851 0
                key = 70000 186.946 0 0
            }
            temperatureSunMultCurve // How the temperature modifiers vary by altitude, in the form of a multiplier
            {
                key = 0 1 0 0
                key = 8815.22 0.3 -5.91316E-05 -5.91316E-05
                key = 16050.39 0 0 0
                key = 25729.23 0 0 0
                key = 37879.44 0.2 0 0
                key = 57440.13 0.2 0 0
                key = 63902.72 1 0.0001012837 0.0001012837
                key = 70000 1.2 0 0
            }
            temperatureLatitudeBiasCurve // Latitudinal temperature modifier
            {
                key = 0 17 0 -0.3316494
                key = 10 12 -0.65 -0.65
                key = 18 6.36371 -0.4502313 -0.4502313
                key = 30 0 -1.3 -1.3
                key = 35 -10 -1.65 -1.65
                key = 45 -23 -1.05 -1.05
                key = 55 -31 -0.6 -0.6
                key = 70 -37 -0.6689383 -0.6689383
                key = 90 -50 -0.02418368 0
            }
            temperatureLatitudeSunMultCurve // Day - night temperature modifier by latitude
            {
                key = 0 9 0 0.1554984
                key = 40 14.2 0.08154097 0.08154097
                key = 55 14.9 -0.006055089 -0.006055089
                key = 68 12.16518 -0.2710912 -0.2710912
                key = 76 8.582909 -0.6021729 -0.6021729
                key = 90 5 0 0
            }
            temperatureAxialSunBiasCurve // Seasonal temperature modifier by true anomaly
            {
                key = 0 0 0 0
            }
            temperatureAxialSunMultCurve // How the seasonal temperature modifier varies by latitude
            {
                key = 0 0 0 0
            }
            temperatureEccentricityBiasCurve // Orbital eccentricity temperature modifier
            {
                key = 0 0 0 0
            }
            AtmosphereFromGround // The atmosphere effect that is seen on the horizon
            {
                DEBUG_alwaysUpdateAll = False // Whether all parameters should get recalculated and reapplied every frame.
                doScale = True // Whether the atmosphere mesh should be scaled automatically.
                innerRadius = 599625 // The lower bound of the atmosphere effect.
                invWaveLength = 5.60204554,9.47328472,19.6438026,0.5
                outerRadius = 615000 // The upper bound of the atmosphere effect.
                samples = 4
                transformScale = 1.02499998,1.02499998,1.02499998 // The scale of the atmosphere mesh in all three directions. Automatically set if doScale is enabled.
                waveLength = 0.649999976,0.569999993,0.474999994,0.5
                outerRadiusMult = 1.025 // A multiplier that automatically sets outerRadius based on the planets radius.
                innerRadiusMult = 0.975 // A multiplier that automatically sets innerRadius based on the planets radius.
            }
        PQS
        {
            fadeStart = 21500
            fadeEnd = 143500
            minLevel = 2
            maxLevel = 9
            materialType = AtmosphericTriplanarZoomRotation
            Material
            {
                colorLerpModifier = 1
                atlasTiling = 100000
                factor = 14.6
                factorBlendWidth = 0.05
                factorRotation = 30
                saturation = 1.15
                contrast = 1.5
                tintColor = 0.0399999991,0.0399999991,0.0399999991,0.482352942
                specularColor = 0.128999993,0.128999993,0.128999993,1
                albedoBrightness = 1.15
                steepPower = 3
                steepTexStart = 10000
                steepTexEnd = 150000
                steepTex = BUILTIN/terrain_rock00
                steepTexScale = 1,1
                steepTexOffset = 0,0
                steepBumpMap = BUILTIN/Cliff (Layered Rock)_NRM
                steepBumpMapScale = 1,1
                steepBumpMapOffset = 0,0
                steepNearTiling = 1000
                steepTiling = 100
                globalDensity = -8E-06
                fogColorRamp = BUILTIN/AerialRampKerbin2
                fogColorRampScale = 1,1
                fogColorRampOffset = 0,0
                planetOpacity = 0
                oceanFogDistance = 1000
            }
            Mods
            {
                VertexHeightMap
                {
                    map = Amaterasu/PluginData/AmaterasuHeight.dds
                    offset = 0
                    deformity = 561
                    scaleDeformityByRadius = false
                    order = 100
                }
                VertexColorMap
                {
                    map = Amaterasu/PluginData/AmaterasuClr.dds
                    order = 20
                    enabled = true
                }
                VertexHeightNoiseVertHeightCurve2
                {
                    deformity = 4000
                    ridgedAddFrequency = 48
                    ridgedAddLacunarity = 4
                    ridgedAddOctaves = 6
                    ridgedAddSeed = 1384047773
                    ridgedMode = Low
                    ridgedSubFrequency = 32
                    ridgedSubLacunarity = 4
                    ridgedSubOctaves = 6
                    ridgedSubSeed = 2113370706
                    simplexFrequency = 32
                    simplexHeightEnd = 4600
                    simplexHeightStart = 800
                    simplexOctaves = 4
                    simplexPersistence = 0.600000023841858
                    simplexSeed = 248775058
                    order = 32
                    enabled = True
                    name = _HeightNoise
                    simplexCurve
                    {
                        key = 0 0 0 0
                        key = 0.9328867 0.4808467 1.659658 1.659658
                        key = 1 1 3.005844 3.005844
                    }
                    
            }
        }
        Ocean
        {
            ocean = True
            oceanColor = 0.0705882385,0.101960786,0.156862751,1
            oceanHeight = 0
            density = 1
            minLevel = 2
            maxLevel = 8
            minDetailDistance = 8
            maxQuadLengthsPerFrame = 0.03
            Material
            {
                color = 0.450980395,0.525490224,0.525490224,1
                colorFromSpace = 0.141176477,0.231372565,0.278431386,1
                specColor = 1,1,1,1
                shininess = 0.697751
                gloss = 0.2
                tiling = 1000
                waterTex = BUILTIN/sea-water1
                waterTexScale = 1,1
                waterTexOffset = 0,0
                waterTex1 = BUILTIN/sea-water2
                waterTex1Scale = 1,1
                waterTex1Offset = 0,0
                bTiling = 800
                bumpMap = BUILTIN/quiet
                bumpMapScale = 1,1
                bumpMapOffset = 0,0
                displacement = 0.05
                texDisplacement = -0.31
                dispFreq = 0.15
                mix = 0.3677657
                oceanOpacity = 0.5
                falloffPower = 1.1
                falloffExp = 2
                fogColor = 0.917910457,0.917910457,1,1
                heightFallOff = 0.2
                globalDensity = -8E-06
                atmosphereDepth = 70000
                fogColorRamp = BUILTIN/AerialRampKerbin2
                fogColorRampScale = 1,1
                fogColorRampOffset = 0,0
                fadeStart = 20000
                fadeEnd = 60000
                planetOpacity = 1
                normalXYFudge = 1.4
                normalZFudge = 1.18
            }
            FallbackMaterial
            {
                color = 0.494117647,0.552941203,0.627451003,1
                colorFromSpace = 0.0509803928,0.164705887,0.215686277,1
                specColor = 1,1,1,1
                shininess = 1
                gloss = 0.4327519
                tiling = 1000
                waterTex = BUILTIN/sea-water2
                waterTexScale = 1,1
                waterTexOffset = 0,0
                waterTex1 = BUILTIN/sea-water3
                waterTex1Scale = 1,1
                waterTex1Offset = 0,0
                fadeStart = 20000
                fadeEnd = 60000
                planetOpacity = 0
            }
            Fog
            {
                afgAltMult = 0.05
                afgBase = 0.6
                afgLerp = False
                afgMin = 0.05
                fogColorEnd = 0,0.0850000009,0.122500002,1
                fogColorStart = 0,0.340000004,0.49000001,1
                fogDensityAltScalar = -0.0008
                fogDensityEnd = 0.025
                fogDensityExponent = 1
                fogDensityPQSMult = 0.02
                fogDensityStart = 0.005
                skyColorMult = 1.1
                skyColorOpacityAltMult = 15
                skyColorOpacityBase = 0.25
                sunAltMult = 0.01
                sunBase = 0.5
                sunMin = 0.05
                useFog = True
            }
            Mods
            {
                AerialPerspectiveMaterial
                {
                    atmosphereDepth = 5000
                    DEBUG_SetEveryFrame = False
                    globalDensity = -7.5E-06
                    heightFalloff = 0.2
                    oceanDepth = 0
                    order = 100
                    enabled = True
                    name = _Material_AerialPerspective
                }
                RemoveQuadMap
                {
                    map = BUILTIN/kerbin_height_new
                    deformity = 0
                    maxHeight = 0.1
                    minHeight = 0
                    order = 100
                    enabled = False
                    name = QuadRemoveMap
                }
                OceanFX
                {
                    angle = 0
                    blendA = 0
                    blendB = 0
                    framesPerSecond = 10
                    oceanOpacity = 0
                    spaceAltitude = 0
                    spaceSurfaceBlend = 0
                    specColor = 0,0,0,0
                    texBlend = 0.468605
                    txIndex = -2147483648
                    order = 100
                    enabled = True
                    name = OceanFX
                    Watermain
                    {
                        value = BUILTIN/sea-water1
                        value = BUILTIN/sea-water2
                        value = BUILTIN/sea-water3
                        value = BUILTIN/sea-water4
                        value = BUILTIN/sea-water5
                        value = BUILTIN/sea-water6
                        value = BUILTIN/sea-water7
                        value = BUILTIN/sea-water8
                        value = BUILTIN/sea-water1
                    }

    }
}

Link to comment
Share on other sites

4 hours ago, wolpie said:
                       value = BUILTIN/sea-water1
                    }

    }
}

 

I doubt that this is the only problem here, but one thing that jumps out at me is that you're missing about three "}" lines at the end here. That kind of syntax error would mean that the config nodes you're creating aren't being closed out properly, and who knows whether KSP or ModuleManager would freak out about that.

Link to comment
Share on other sites

20 hours ago, HebaruSan said:

I doubt that this is the only problem here, but one thing that jumps out at me is that you're missing about three "}" lines at the end here. That kind of syntax error would mean that the config nodes you're creating aren't being closed out properly, and who knows whether KSP or ModuleManager would freak out about that.

fixed that and still didn't appear, is there anything else wrong? also heres the updated script, but only the end section


                        value = BUILTIN/sea-water1
                        value = BUILTIN/sea-water2
                        value = BUILTIN/sea-water3
                        value = BUILTIN/sea-water4
                        value = BUILTIN/sea-water5
                        value = BUILTIN/sea-water6
                        value = BUILTIN/sea-water7
                        value = BUILTIN/sea-water8
                        value = BUILTIN/sea-water1
                    }
                }
            }
        }
    }
}

 

Link to comment
Share on other sites

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...