Jump to content

A beginner's guide to Kopernicus - The basics


Recommended Posts

My texture is not loading in scaled space. Here is my config:

@Kopernicus:AFTER[KOPERNICUS]
{
	mainMenuBody = Nok
	Body
	{
		name = Nok
		Template
		{
			name = Eeloo
			removeAllPQSMods = true
		}
		Properties
		{
			despcription = Nok is a frozen planet at the edge of the Kerbol System. The scientist who discovered it beleived it was a snowball being thrown at him and promptly hid behind a desk. As a result of this incident, the astronomical community has voted to sentence Nok to 100 years in prison, although no arrest has yet been made.
			radius = 190000
			geeASL = 0.20
			rotationPeriod = 45000
			rotates = true
			tidallyLocked = false
			initialRotation = 0
			isHomeWorld = false
			timewarpAltitudeLimits = 0 2500 5000 20000 20000 50000 150000 500000
			ScienceValues
			{
				landedDataValue = 7
				splashedDataValue = 1
				flyingLowDataValue = 6
				flyingHighDataValue = 5
				inSpaceLowDataValue = 5
				inSpaceHighDataValue = 3
				recoveryValue = 9
				flyingAltitudeThreshold = 5000
				spaceAltitudeThreshhold = 200000
			}
			
		}
		Orbit
		{
			referenceBody = Sun
			color = 1,1,1,0.5
			inclination = 9.72
			eccentricity = 0.19
			semiMajorAxis = 200000000000
			longitudeOfAscendingNode = 0
			argumentOfPeriapsis = 0
			meanAnomalyAtEpoch = 0
			epoch = 0
		}
		ScaledVersion
		{
			type = Vacuum
			fadeStart = 0
			fadeEnd = 0
			Material
			{
				texture = Nok/PluginData/NokColor.dds
				normals = Nok/PluginData/NokNormal.dds
				shininess = 0
				specular = 0.0,0.0,0.0,1.0
			}
		}
		PQS
		{
			Mods
			{
				VertexHeightMap
				{
					map = Nok/PluginData/NokHeight.dds
					offset = 100
					deformity = 500
					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
						}
					}
				}
			}
		}
	}
}

 

Edited by KingKerb
Link to comment
Share on other sites

  • 1 month later...
On 1/20/2020 at 11:21 AM, KingKerb said:

My texture is not loading in scaled space. Here is my config:

@Kopernicus:AFTER[KOPERNICUS]
{
	mainMenuBody = Nok
	Body
	{
		name = Nok
		Template
		{
			name = Eeloo
			removeAllPQSMods = true
		}
		Properties
		{
			despcription = Nok is a frozen planet at the edge of the Kerbol System. The scientist who discovered it beleived it was a snowball being thrown at him and promptly hid behind a desk. As a result of this incident, the astronomical community has voted to sentence Nok to 100 years in prison, although no arrest has yet been made.
			radius = 190000
			geeASL = 0.20
			rotationPeriod = 45000
			rotates = true
			tidallyLocked = false
			initialRotation = 0
			isHomeWorld = false
			timewarpAltitudeLimits = 0 2500 5000 20000 20000 50000 150000 500000
			ScienceValues
			{
				landedDataValue = 7
				splashedDataValue = 1
				flyingLowDataValue = 6
				flyingHighDataValue = 5
				inSpaceLowDataValue = 5
				inSpaceHighDataValue = 3
				recoveryValue = 9
				flyingAltitudeThreshold = 5000
				spaceAltitudeThreshhold = 200000
			}
			
		}
		Orbit
		{
			referenceBody = Sun
			color = 1,1,1,0.5
			inclination = 9.72
			eccentricity = 0.19
			semiMajorAxis = 200000000000
			longitudeOfAscendingNode = 0
			argumentOfPeriapsis = 0
			meanAnomalyAtEpoch = 0
			epoch = 0
		}
		ScaledVersion
		{
			type = Vacuum
			fadeStart = 0
			fadeEnd = 0
			Material
			{
				texture = Nok/PluginData/NokColor.dds
				normals = Nok/PluginData/NokNormal.dds
				shininess = 0
				specular = 0.0,0.0,0.0,1.0
			}
		}
		PQS
		{
			Mods
			{
				VertexHeightMap
				{
					map = Nok/PluginData/NokHeight.dds
					offset = 100
					deformity = 500
					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
						}
					}
				}
			}
		}
	}
}

 

The most likely culprit is your file paths being wrong, but just to be sure, upload Nok.body.log (found in KSP Root/Logs/Kopernicus, where KSP root is the folder with the game executable in it).

Link to comment
Share on other sites

  • 1 month later...

Hello. In the development of my planet pack I stumbled across two errors: first, the ground textures won't show up, second, this:

https://docs.google.com/document/d/1UNEv5q7NRJsOwzoTnnQKbA014ZRDufk0U_TuyDjhJlU/edit

 PLEASE HELP!!!! :confused:

Sorry for my (kinda) bad English, it's not my native language.

Edited by E for Earthling
Link to comment
Share on other sites

  • 3 weeks later...
  • 2 months later...
  • 3 months later...

Hello i want to make a planet but it is not loading 

This is the config

Spoiler

@Kopernicus:AFTER[KOPERNICUS]
{
    Body
    {
        name = Deg
        cacheFile = FFX planet expansion/Cache/Deg.bin
        Template
        {
            name = Mun
            removeAllPQSMods = true
        }
        Properties
        {
            description = A planet orbiting The sun
            radius = 620000
            geeASL = 1.2
            isHomeWorld = false
            rotates = true
            tidallyLocked = false
            rotationPeriod = 24400
            timewarpAltitudeLimits = 0 30000 30000 30000 300000 200000 400000 700000
            ScienceValues
            {
                landedDataValue = 5
                splashedDataValue = 1
                flyingLowDataValue = 6
                flyingHighDataValue = 5
                inSpaceLowDataValue = 4
                inSpaceHighDataValue = 2
                recoveryValue = 7
                flyingAltitudeThreshold = 12000
                spaceAltitudeThreshold = 160000
            }
        Orbit //Orbit properties
        {
            referenceBody = Sun
            color = 0.5,0.1,0.3,1
            inclination = 5 
            eccentricity = 0.05 
            semiMajorAxis = 9500000000 
            longitudeOfAscendingNode = 7 
            argumentOfPeriapsis = 10
            meanAnomalyAtEpoch = 7
            epoch = 3 
        }
        PQS
        {
            Mods
            {
                VertexSimplexHeightAbsolute
                {
                    name = HeightMod1
                    seed = 982
                    deformity = 5000
                    octaves = 3
                    persistence = 0.5
                    frequency = 1
                    enabled = true
                    order = 2
                }
                VertexSimplexHeightAbsolute
                {
                    name = HeightMod2
                    seed = 654
                    deformity = 10000
                    octaves = 3
                    persistence = 0.5
                    frequency = 1
                    enabled = true
                    order = 3
                }
                VertexSimplexHeightAbsolute
                {
                    name = HeightMod3
                    seed = 765
                    deformity = 15000
                    octaves = 3
                    persistence = 0.5
                    frequency = 1
                    enabled = true
                    order = 4
                }
                HeightColorMap
                {
                    blend = 0.7
                    enabled = true
                    order = 10 
                    LandClasses
                    {
                        Class
                        {
                            name = Base
                            altitudeStart = 0
                            altitudeEnd = 0.1
                            color = 0.3,0.2,0.4,1.0
                            lerpToNext = true
                        }
                        Class
                        {
                            name = Low
                            altitudeStart = 0.1
                            altitudeEnd = 0.6
                            color = 0.5,0.3,0.3,1.0
                            lerpToNext = true
                        }
                        Class
                        {
                            name = Mid
                            altitudeStart = 0.6
                            altitudeEnd = 0.8
                            color = 0.7,0.5,0.2,1.0
                            lerpToNext = true
                        }
                        Class
                        {
                            name = High
                            altitudeStart = 0.8
                            altitudeEnd = 2
                            color = 1.0,1.0,1.0,0.8
                            lerpToNext = false
                            
                        }
                    }
                }
            }
        }
    }
}    

I did intal kopornicus and kittopia.

Link to comment
Share on other sites

  • 2 weeks later...
On 10/25/2020 at 8:41 PM, ffx said:

Hello i want to make a planet but it is not loading 

This is the config

  Hide contents

@Kopernicus:AFTER[KOPERNICUS]
{
    Body
    {
        name = Deg
        cacheFile = FFX planet expansion/Cache/Deg.bin
        Template
        {
            name = Mun
            removeAllPQSMods = true
        }
        Properties
        {
            description = A planet orbiting The sun
            radius = 620000
            geeASL = 1.2
            isHomeWorld = false
            rotates = true
            tidallyLocked = false
            rotationPeriod = 24400
            timewarpAltitudeLimits = 0 30000 30000 30000 300000 200000 400000 700000
            ScienceValues
            {
                landedDataValue = 5
                splashedDataValue = 1
                flyingLowDataValue = 6
                flyingHighDataValue = 5
                inSpaceLowDataValue = 4
                inSpaceHighDataValue = 2
                recoveryValue = 7
                flyingAltitudeThreshold = 12000
                spaceAltitudeThreshold = 160000
            }
        Orbit //Orbit properties
        {
            referenceBody = Sun
            color = 0.5,0.1,0.3,1
            inclination = 5 
            eccentricity = 0.05 
            semiMajorAxis = 9500000000 
            longitudeOfAscendingNode = 7 
            argumentOfPeriapsis = 10
            meanAnomalyAtEpoch = 7
            epoch = 3 
        }
        PQS
        {
            Mods
            {
                VertexSimplexHeightAbsolute
                {
                    name = HeightMod1
                    seed = 982
                    deformity = 5000
                    octaves = 3
                    persistence = 0.5
                    frequency = 1
                    enabled = true
                    order = 2
                }
                VertexSimplexHeightAbsolute
                {
                    name = HeightMod2
                    seed = 654
                    deformity = 10000
                    octaves = 3
                    persistence = 0.5
                    frequency = 1
                    enabled = true
                    order = 3
                }
                VertexSimplexHeightAbsolute
                {
                    name = HeightMod3
                    seed = 765
                    deformity = 15000
                    octaves = 3
                    persistence = 0.5
                    frequency = 1
                    enabled = true
                    order = 4
                }
                HeightColorMap
                {
                    blend = 0.7
                    enabled = true
                    order = 10 
                    LandClasses
                    {
                        Class
                        {
                            name = Base
                            altitudeStart = 0
                            altitudeEnd = 0.1
                            color = 0.3,0.2,0.4,1.0
                            lerpToNext = true
                        }
                        Class
                        {
                            name = Low
                            altitudeStart = 0.1
                            altitudeEnd = 0.6
                            color = 0.5,0.3,0.3,1.0
                            lerpToNext = true
                        }
                        Class
                        {
                            name = Mid
                            altitudeStart = 0.6
                            altitudeEnd = 0.8
                            color = 0.7,0.5,0.2,1.0
                            lerpToNext = true
                        }
                        Class
                        {
                            name = High
                            altitudeStart = 0.8
                            altitudeEnd = 2
                            color = 1.0,1.0,1.0,0.8
                            lerpToNext = false
                            
                        }
                    }
                }
            }
        }
    }
}    

I did intal kopornicus and kittopia.

@ffxIt appears that you have mentioned the PQS mod "VertexSimplexHeighAbsolute" three times, that could be the problem.

Edited by LazyBoi29
Link to comment
Share on other sites

On 1/21/2020 at 1:21 AM, KingKerb said:

My texture is not loading in scaled space. Here is my config:


@Kopernicus:AFTER[KOPERNICUS]
{
	mainMenuBody = Nok
	Body
	{
		name = Nok
		Template
		{
			name = Eeloo
			removeAllPQSMods = true
		}
		Properties
		{
			despcription = Nok is a frozen planet at the edge of the Kerbol System. The scientist who discovered it beleived it was a snowball being thrown at him and promptly hid behind a desk. As a result of this incident, the astronomical community has voted to sentence Nok to 100 years in prison, although no arrest has yet been made.
			radius = 190000
			geeASL = 0.20
			rotationPeriod = 45000
			rotates = true
			tidallyLocked = false
			initialRotation = 0
			isHomeWorld = false
			timewarpAltitudeLimits = 0 2500 5000 20000 20000 50000 150000 500000
			ScienceValues
			{
				landedDataValue = 7
				splashedDataValue = 1
				flyingLowDataValue = 6
				flyingHighDataValue = 5
				inSpaceLowDataValue = 5
				inSpaceHighDataValue = 3
				recoveryValue = 9
				flyingAltitudeThreshold = 5000
				spaceAltitudeThreshhold = 200000
			}
			
		}
		Orbit
		{
			referenceBody = Sun
			color = 1,1,1,0.5
			inclination = 9.72
			eccentricity = 0.19
			semiMajorAxis = 200000000000
			longitudeOfAscendingNode = 0
			argumentOfPeriapsis = 0
			meanAnomalyAtEpoch = 0
			epoch = 0
		}
		ScaledVersion
		{
			type = Vacuum
			fadeStart = 0
			fadeEnd = 0
			Material
			{
				texture = Nok/PluginData/NokColor.dds
				normals = Nok/PluginData/NokNormal.dds
				shininess = 0
				specular = 0.0,0.0,0.0,1.0
			}
		}
		PQS
		{
			Mods
			{
				VertexHeightMap
				{
					map = Nok/PluginData/NokHeight.dds
					offset = 100
					deformity = 500
					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
						}
					}
				}
			}
		}
	}
}

 

@KingKerb You are missing some features in the scaledSpace, you might want recheck the tutorial.

Edited by LazyBoi29
Grammer
Link to comment
Share on other sites

  • 4 months later...

My planet is not loading but it has the marker on the map screen saying it is there but I can't see it. My config is below. Please help

@Kopernicus:AFTER[Kopernicus]
{
    Body
    {
        name = Tutora
        Template
        {
            name = Tylo
            removeOcean = true
            removeAllPQSMods = true
        }

        Orbit
        {
            referenceBody = Sun
            inclination = 0
            eccentricity = 0
            semiMajorAxis = 9000000000
            longitudeOfAscendingNode = 172.137
            argumentOfPeriapsis = 0
            meanAnomalyAtEpoch = 1.1
            epoch = 1
            color = 0.41,0.29,0.51,1.0
        }
        Properties
        {
            description = just work please
            radius = 20000
            geeASL = 0.06
            rotationPeriod = 46134.589375
            rotates = true
            tidallyLocked = false
            initialRotation = 0
            isHomeWorld = false
            timewarpAltitudeLimits = 0 1000 1200 1500 2000 3000 10000 20000
            ScienceValues
            {
                landedDataValue = 2
                inSpaceLowDataValue = 3
                inSpaceHighDataValue = 3
                recoveryValue = 4
                spaceAltitudeThreshold = 3000
            }
        }
        ScaledVersion
        {
            Type = Vacuum            
            fadeStart = 13500
            fadeEnd = 15000

            Material
            {
                texture = Tutora/PluginData/Tutora_colour.dds
                normals = Tutora/PluginData/Tutora_normals.dds
                shininess = 0
                specular = 0,0,0,0
                rimPower = 2
                rimBlend = 0.3
                Gradient
                {
                    0.0 = 0.9,0.9,1.0,1.0
                    0.5 = 0.6,0.6,0.8,1.0
                    0.9 = 0.3,0.3,0.4
                    1.0 = 0.05,0.05,0.09,1.0
                }
            }
        }
        PQS
        {
            
            minLevel = 2
            maxLevel = 8
            maxQuadLengthsPerFrame = 0.03
            fadeStart = 15000
            fadeEnd = 20000
            deactivateAltitude = 25000
            Material
            {
                saturation = 1
                contrast = 1
                tintColor = 0.95,1,1,1

                powerNear = 0.8
                powerFar = 0.6

                groundTexStart = 0
                groundTexEnd = 1000

                steepPower = 2
                steepTexStart = 0
                steepTexEnd = 50000
                steepTex = BUILTIN/terrain_rock00
                steepBumpMap = BUILTIN/RockyGround2
                steepNearTiling = 2000
                steepTiling = 20

                lowTex = BUILTIN/terrain_snow00
                lowBumpMap = BUILTIN/quiet
                lowNearTiling = 1000
                lowMultiFactor = 10
                lowBumpNearTiling = 1000
                lowBumpFarTiling = 10

                midTex = BUILTIN/terrain_snow00
                midBumpMap = BUILTIN/quiet
                midNearTiling = 1000
                midMultiFactor = 10
                midBumpNearTiling = 2000
                midBumpFarTiling = 20

                highTex = BUILTIN/terrain_snow00
                highBumpMap = BUILTIN/quiet
                highNearTiling = 1000
                highMultiFactor = 10
                highBumpNearTiling = 1000
                highBumpFarTiling = 10

                lowStart = 0
                lowEnd = 0.3
                highStart = 0.8
                highEnd = 1

                globalDensity = 0
            }
            Mods
            {
                VertexHeightMap
                {
                    map = Tutora/PluginData/Tutora_height.dds
                    offset = 0 
                    deformity = 3000
                    scaleDeformityByRadius = False
                    order = 20
                    enabled = True
                }
                VertexHeightNoise
                {
                    enabled = true
                    name = hello
                    order = 30
                    frequency = 23
                    deformity = 3000
                    seed = 32
                    lacunarity = 2
                    persistence = 0.5
                    octaves = 6
                    mode = Low
                    noiseType = RidgedMultifractal
                }
                VertexColorMap
                {
                    map = Tutora/PluginData/Tutora_colour.dds
                    order = 60
                    enabled = True
                }
            }
        }
    }
}

Link to comment
Share on other sites

  • 3 weeks later...
  • 4 weeks later...

I followed the tutorial, but the mod wont work, any ideas?
(the code)

Spoiler

@Kopernicus:AFTER[KOPERNICUS]
{
    Body
    {
        name = Lognic
        cacheFile = PlanetTest/Cache/Lognic.bin
        Template
        {
            name = Lognic
            removeAllPQSMods = true
            removeOcean = true
        }
        Properties //Physical properties
            description = Looks to be a former Super Kerbin, our scientists are puzzled on how a Super Kerbin could exist this far out, maybe the same reason Laythe is habital
            radius = 1500000 //Distance from the planet's core to it's surface. How 'big' is the planet?
            geeASL = 2.5 //Surface gravity in G's
            rotationPeriod = 32324.1375
            rotates = true //Important!
            tidallyLocked = false
            initialRotation = 0
            isHomeWorld = false //Very important!
            timewarpAltitudeLimits = 0 30000 30000 60000 300000 300000 400000 700000
            ScienceValues //Scientific expiriments value multiplier
            {
                landedDataValue = 10 //For expiriments taken on the surface
                splashedDataValue = 9 //For expiriments taken while splashed down
                flyingLowDataValue = 7 //For expiriments taken while flying in the lower atmosphere
                flyingHighDataValue = 6 //For expiriments taken while flying in the upper atmosphere
                inSpaceLowDataValue = 5 //For expiriments taken in space, close to your planet
                inSpaceHighDataValue = 4 //For expiriments taken in space, far away from your planet
                recoveryValue = 7 //Science multiplier for expiriment data taken from recovered vessels
                flyingAltitudeThreshold = 50000
                spaceAltitudeThreshold = 291,000
            }    
        }
        Orbit //Orbit properties
        {
            referenceBody = Sun
            color = 1,0,0,1
            inclination = 5 //Orbit inclination relative to referenceBody's equator
            eccentricity = 2 //Orbit eccentricity, how elliptical is the orbit?
            semiMajorAxis = 4563330 //Average distance to reference body
            longitudeOfAscendingNode = 0 //Position of ascending node relative to the surface of the reference body
            argumentOfPeriapsis = 0
            meanAnomalyAtEpoch = 0
            epoch = 0 //Position of your planet when it is first loaded. Not nessecary to give a number unless your planet shares it's orbit, can be used to create laplace resonances
        }
        ScaledVersion //Update scaledspace
        {
            type = Atmospheric
            fadeStart = 0
            fadeEnd = 0
            Material
            {
                texture = PlanetTest/TextureStuff/Lognic_color.dds //Texture map
                normals = PlanetTest/NormalStuff/Lognic_normal.dds //Normal map
                shininess = 0
                specular = 0.0,0.0,0.0,1.0
                rimPower = 3 //Atmosphere rim power
                rimBlend = 0.2 //Atmosphere rim blend
                Gradient //Atmosphere rim color defenitions
                {
                    0.0 = 0.06,0.06,0.06,1
                    0.5 = 0.05,0.05,0.05,1
                    1.0 = 0.0196,0.0196,0.0196,1
                }
            }
        }
        PQS
        {
            Mods
            {
            VertexHeightMap
                {
                    map = PlanetTest/Map/Lognic_height.dds
                    offset = -500
                    deformity = 2900.0
                    scaleDeformityByRadius = false
                    order = 20
                    enabled = true
                }
                {
                    map = PlanetTest/Map/Lognic_color.dds
                    order = 20
                    enabled = true
                }
                VertexHeightNoiseVertHeightCurve2
                {
                    deformity = 105
                    ridgedAddSeed = 153759
                    ridgedAddFrequency = 11
                    ridgedAddLacunarity = 2
                    ridgedAddOctaves = 4
                    ridgedSubSeed = 869463
                    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 = 296022
                    simplexOctaves = 4
                    simplexPersistence = 0.5
                    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
                        }
                    }
                }
            }
        }

 

Edited by DJDoesKSP
Link to comment
Share on other sites

1 hour ago, DJDoesKSP said:

I followed the tutorial, but the mod wont work, any ideas?
(the code)

  Reveal hidden contents

@Kopernicus:AFTER[KOPERNICUS]
{
    Body
    {
        name = Lognic
        cacheFile = PlanetTest/Cache/Lognic.bin
        Template
        {
            name = Lognic
            removeAllPQSMods = true
            removeOcean = true
        }
        Properties //Physical properties
            description = Looks to be a former Super Kerbin, our scientists are puzzled on how a Super Kerbin could exist this far out, maybe the same reason Laythe is habital
            radius = 1500000 //Distance from the planet's core to it's surface. How 'big' is the planet?
            geeASL = 2.5 //Surface gravity in G's
            rotationPeriod = 32324.1375
            rotates = true //Important!
            tidallyLocked = false
            initialRotation = 0
            isHomeWorld = false //Very important!
            timewarpAltitudeLimits = 0 30000 30000 60000 300000 300000 400000 700000
            ScienceValues //Scientific expiriments value multiplier
            {
                landedDataValue = 10 //For expiriments taken on the surface
                splashedDataValue = 9 //For expiriments taken while splashed down
                flyingLowDataValue = 7 //For expiriments taken while flying in the lower atmosphere
                flyingHighDataValue = 6 //For expiriments taken while flying in the upper atmosphere
                inSpaceLowDataValue = 5 //For expiriments taken in space, close to your planet
                inSpaceHighDataValue = 4 //For expiriments taken in space, far away from your planet
                recoveryValue = 7 //Science multiplier for expiriment data taken from recovered vessels
                flyingAltitudeThreshold = 50000
                spaceAltitudeThreshold = 291,000
            }    
        }
        Orbit //Orbit properties
        {
            referenceBody = Sun
            color = 1,0,0,1
            inclination = 5 //Orbit inclination relative to referenceBody's equator
            eccentricity = 2 //Orbit eccentricity, how elliptical is the orbit?
            semiMajorAxis = 4563330 //Average distance to reference body
            longitudeOfAscendingNode = 0 //Position of ascending node relative to the surface of the reference body
            argumentOfPeriapsis = 0
            meanAnomalyAtEpoch = 0
            epoch = 0 //Position of your planet when it is first loaded. Not nessecary to give a number unless your planet shares it's orbit, can be used to create laplace resonances
        }
        ScaledVersion //Update scaledspace
        {
            type = Atmospheric
            fadeStart = 0
            fadeEnd = 0
            Material
            {
                texture = PlanetTest/TextureStuff/Lognic_color.dds //Texture map
                normals = PlanetTest/NormalStuff/Lognic_normal.dds //Normal map
                shininess = 0
                specular = 0.0,0.0,0.0,1.0
                rimPower = 3 //Atmosphere rim power
                rimBlend = 0.2 //Atmosphere rim blend
                Gradient //Atmosphere rim color defenitions
                {
                    0.0 = 0.06,0.06,0.06,1
                    0.5 = 0.05,0.05,0.05,1
                    1.0 = 0.0196,0.0196,0.0196,1
                }
            }
        }
        PQS
        {
            Mods
            {
            VertexHeightMap
                {
                    map = PlanetTest/Map/Lognic_height.dds
                    offset = -500
                    deformity = 2900.0
                    scaleDeformityByRadius = false
                    order = 20
                    enabled = true
                }
                {
                    map = PlanetTest/Map/Lognic_color.dds
                    order = 20
                    enabled = true
                }
                VertexHeightNoiseVertHeightCurve2
                {
                    deformity = 105
                    ridgedAddSeed = 153759
                    ridgedAddFrequency = 11
                    ridgedAddLacunarity = 2
                    ridgedAddOctaves = 4
                    ridgedSubSeed = 869463
                    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 = 296022
                    simplexOctaves = 4
                    simplexPersistence = 0.5
                    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
                        }
                    }
                }
            }
        }

 

I looked in the logs and found this: [LOG 19:53:00]: [Kopernicus]: Configuration.Loader: Failed to load Body: Lognic: Exception has been thrown by the target of an invocation.
what does this mean?

Link to comment
Share on other sites

Hello,

I would like to make a rough model of Arrokoth for a New-Horizons mission, but I'm not really sure how to add the shape in, because it's a bit peculiar. Is a shape like this even possible with Kopernicus? Otherwise I'll just stick with putting Dres into it's orbit for the mission :)

Thanks in advance.

Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...
  • 2 months later...

WOW!  I never thought making planets was that easy.  Pro tip:  try to make planets as realistic as possible, I don't want to see planets with 0.0987 Gee but 28736 radius anymore.  Thanks so much for creating this tutorial :)

Link to comment
Share on other sites

  • 2 months later...

I have been trying to create planets this way for 2 months now and every single time the planet either doesn't appear at all, it appears but the surface is purple, or some other random problem.

 

Not gonna lie, Kopernicus physically could NOT be less intuitive.

Link to comment
Share on other sites

  • 3 weeks later...

Maybe its a problem with your scaled space. Normal maps can be hard sometimes. I recommend  you save your color files if they are .dds files with DXT5 compression, and DXT5nm for normal maps. The heightmap should be greyscale color, not RGB. Good luck!

Link to comment
Share on other sites

  • 9 months later...

I'm trying to modify a planet in a pack. I'm satisfied with the color but want it to look more vibrant and "Soupier", it looks okayish at the very low altitudes but fades away into black nothingness too quickly during accent despite the static pressure being really high. Not game-breaking just looks odd.

What parameters do I need to modify and by how much?

Link to comment
Share on other sites

I'm getting an error called:

"Exception Was Recorded: Unable to read beyond the end of the stream."

Could someone help?

@Kopernicus:AFTER[KOPERNICUS]
{
	Body
	{
		name = Gonorix
		cacheFile = Gonorix/cache/Gonorix.bin
		identifier = Gonorix/Gonorix
		Debug 
        {
           exportMesh = true
           update = true
        }
		Template
		{
			name = Tylo
			removeAllPQSMods = true
		}
		Properties
		{
			description = How did it get here?
			radius = 7000000
			geeASL = 0.67
			rotationPeriod = 36000
			rotates = true
			tidallyLocked = false
			isHomeWorld = false
			timewarpAltitudeLimits = 0 30000 30000 60000 300000 300000 400000 700000
			ScienceValues
			{
				landedDataValue = 3 
				flyingLowDataValue = 10 
				flyingHighDataValue = 8 
				inSpaceLowDataValue = 10
				inSpaceHighDataValue = 8 
				recoveryValue = 12 
				flyingAltitudeThreshold = 12000
				spaceAltitudeThreshold = 140000
			}	
		}
		Orbit
		{
			refrenceBody = Sun 
			inclination = 0.5
			eccentricity = 0.02
			semiMajorAxis = 9000000000
			longitudeOfAscendingNode = 0
			argumentOfPeriapsis = 0
			meanAnomalyAtEpoch = 0
			epoch = 0
			color = 215,50,50,0.8
		}
		ScaledVersion
		{
			type = Vacuum
			fadeStart = 0
			fadeEnd = 0
			OnDemand
			{
				texture = Gonorix/PluginData/HightMap.dds
                normals = Gonorix/PluginData/Normals.dds
			}
			Material
			{
				color = 0.7,0.7,0.7,1
				specColor = 0.05,0.05,0.05,1
				shininess = 0.15
			}
		}
		PQS
		{
			Mods
			{
				VertexHeightMap
				{
					map = Gonorix/PluginData/HightMap.dds
					offset = -500
					deformity = 3000.0
					scaleDeformityByRadius = false
					order = 20
					enabled = true
				}
				VertexColorMap
				{
					map = Gonorix/PluginData/HightMap.dds
					order = 10
					enabled = True
				}
			}
		}
	}
}

 

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.

 Share

×
×
  • Create New...