Jump to content

A beginner's guide to Kopernicus - The basics


Recommended Posts

46 minutes ago, WarriorSabe said:

I don't have any such service.

Dropbox and other's like Google drive are free.   Large Log files can make it difficult for some users to view the forums on various platforms.  

Link to comment
Share on other sites

8 minutes ago, Gargamel said:

Dropbox and other's like Google drive are free.   Large Log files can make it difficult for some users to view the forums on various platforms.  

I could have sworn I put it in a spoiler, but I'll try Google drive.

Link to comment
Share on other sites

  • 1 month later...

I attempted to create my first planet , and it looks completely fine in the Map View and in the Tracking Station. However, the planet is incredibly glitchy when I actually visit it. The prograde marker is sometimes pointing directly down at the planet, even when in orbit. The surface speed is either zero or ludicrously high. I attempted to make Jeb go into EVA, and the craft exploded. The surface of the planet looks fine, but it isn't solid, and crafts just continue to fall under it. Here is my config file:

@Kopernicus:AFTER[Kopernicus]
{
	Body
	{
		name = Tekcate
		cacheFile = Tekit/Cache/Tekcate.bin
		Template
		{
			name = Minmus
			removeAllPQSMods = true
		}
		Properties
		{
			description = This small rock orbits Kerbol between Kerbin and Duna. Some call it the smallest of the dwarf planets, some call it the king of the asteroids. Tekcate doesn't care.
			radius = 60000
			geeASL = 0.06
			isHomeWorld = false
			tidallyLocked = false
			rotates = true
			rotationPeriod = 51600
			timewarpAltitudeLimits = 0 1000 2000 5000 10000 70000 200000
			ScienceValues
			{
				landedDataValue = 6
				splashedDataValue = 1
				flyingLowDataValue = 1
				flyingHighDataValue = 1
				inSpaceLowDataValue = 7
				inSpaceHighDataValue = 5
				recoveryValue = 4
				flyingAltitudeThreshold = 2000
				spaceAltitudeThreshold = 25000
			}
			biomeMap = Tekit/TekcateBiomes.dds
			Biomes
			{
				Biome
				{
					name = Poles
					value = 1
					color = 0.5,0.5,0.5,1
				}
				Biome
				{
					name = Midlands
					value = 1
					color = 0.16078431372,0.16078431372,0.16078431372,1
				}
				Biome
				{
					name = Maria
					value = 1
					color = 0.5,0.20392156862,0,1
				}
			}
		}
		ScaledVersion
		{
			type = Vacuum
			Material
			{
				texture = Tekit/TekcateColor.dds
				normals = Tekit/TekcateNormal.dds
			}
		}
		Orbit
		{
			referenceBody = Sun
			semiMajorAxis = 17162997760
			inclination = 1
			eccentricity = 0.06
			longitudeOfAscendingNode = 0
			argumentOfPeriapsis = 0
			meanAnomalyAtEpoch = 0
			epoch = 0
			color = 0.5,0.25,0.0,1.0
		}
		PQS
		{
			Mods
			{
				VertexHeightMap
				{
					map = Tekit/TeckcateHeight.dds
					deformity= 4000
					scaleDeformityByRadius = false
					offset = -500
					enabled = true
					order = 20
				}
				VertexColorMap
				{
				map = Tekit/TekcateColor.dds
				enabled = true
				order = 20
				}
				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

2 hours ago, XenonMax said:

I attempted to create my first planet , and it looks completely fine in the Map View and in the Tracking Station. However, the planet is incredibly glitchy when I actually visit it. The prograde marker is sometimes pointing directly down at the planet, even when in orbit. The surface speed is either zero or ludicrously high. I attempted to make Jeb go into EVA, and the craft exploded. The surface of the planet looks fine, but it isn't solid, and crafts just continue to fall under it. Here is my config file:

 

I am not an expert, I am also at my first attempts.
However, try adding the section I put in bold and play a bit with max level detail (but don't overdo it)
This voice controls the resolution of the bumps. I can't tell you if it also fixes the other defects.

 

Quote

@Kopernicus:AFTER[Kopernicus]
{
    Body
    {
        name = Tekcate
        cacheFile = Tekit/Cache/Tekcate.bin
        Template
        {
            name = Minmus
            removeAllPQSMods = true
        }
        Properties
        {
            description = This small rock orbits Kerbol between Kerbin and Duna. Some call it the smallest of the dwarf planets, some call it the king of the asteroids. Tekcate doesn't care.
            radius = 60000
            geeASL = 0.06
            isHomeWorld = false
            tidallyLocked = false
            rotates = true
            rotationPeriod = 51600
            timewarpAltitudeLimits = 0 1000 2000 5000 10000 70000 200000
            ScienceValues
            {
                landedDataValue = 6
                splashedDataValue = 1
                flyingLowDataValue = 1
                flyingHighDataValue = 1
                inSpaceLowDataValue = 7
                inSpaceHighDataValue = 5
                recoveryValue = 4
                flyingAltitudeThreshold = 2000
                spaceAltitudeThreshold = 25000
            }
            biomeMap = Tekit/TekcateBiomes.dds
            Biomes
            {
                Biome
                {
                    name = Poles
                    value = 1
                    color = 0.5,0.5,0.5,1
                }
                Biome
                {
                    name = Midlands
                    value = 1
                    color = 0.16078431372,0.16078431372,0.16078431372,1
                }
                Biome
                {
                    name = Maria
                    value = 1
                    color = 0.5,0.20392156862,0,1
                }
            }
        }
        ScaledVersion
        {
            type = Vacuum
            Material
            {
                texture = Tekit/TekcateColor.dds
                normals = Tekit/TekcateNormal.dds
            }
        }
        Orbit
        {
            referenceBody = Sun
            semiMajorAxis = 17162997760
            inclination = 1
            eccentricity = 0.06
            longitudeOfAscendingNode = 0
            argumentOfPeriapsis = 0
            meanAnomalyAtEpoch = 0
            epoch = 0
            color = 0.5,0.25,0.0,1.0
        }
        PQS
        {
            minLevel = 2
            maxLevel = 7
            minDetailDistance = 8
            maxQuadLengthsPerFrame = 0.03
            fadeStart = 60000
            fadeEnd = 120000
            deactivateAltitude = 120750
            mapMaxHeight = 9000
            //materialType = AtmosphericOptimized
            PhysicsMaterial

            
Mods
            {
                VertexHeightMap
                {
                    map = Tekit/TeckcateHeight.dds
                    deformity= 4000
                    scaleDeformityByRadius = false
                    offset = -500
                    enabled = true
                    order = 20
                }
                VertexColorMap
                {
                map = Tekit/TekcateColor.dds
                enabled = true
                order = 20
                }
                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 Simog
Link to comment
Share on other sites

1 hour ago, XenonMax said:

They didn’t work, but thanks for offering help. Also, it doesn’t allow me to time warp. None of these glitches occur around other planets.

Other sections are missing, eg the material section of the PQS. Are You tried to use Kittopia and export the minmus config and edit that? There will be a lot more voices, some things you don't need and you'll have to add the template section manually. You can also make changes and see them in real time. Some don't work very well and force you to restart KSP. Always remember to export your planet before closing because nothing you change is saved in the cfg.
I did so at some point. Writing the cfg by hand, I couldn't even get it to appear on the map :-D

Edited by Simog
Link to comment
Share on other sites

@The White Guardian

I tried to create my first planet, and it looks pretty fine in the Map View and Tracking Station. However, when I try to send craft there, it's incredibly glitchy. The prograde marker is sometimes pointing directly down at the planet, even when in orbit. The surface speed is either zero or ludicrously high. I attempted to make Jeb go into EVA, and the craft exploded. The surface of the planet usually looks fine, but it isn't solid, and crafts just continue to fall under it. I am sometimes unable to timewarp and the altimeter barely works.

Here is my config file:

Spoiler

@Kopernicus:AFTER[Kopernicus]
{
	Body
	{
		name = Tekcate
		cacheFile = Tekit/Cache/Tekcate.bin
		Template
		{
			name = Minmus
			removeAllPQSMods = true
		}
		Properties
		{
			description = This small rock orbits Kerbol between Kerbin and Duna. Some call it the smallest of the dwarf planets, some call it the king of the asteroids. Tekcate doesn't care.
			radius = 60000
			geeASL = 0.06
			isHomeWorld = false
			tidallyLocked = false
			rotates = true
			rotationPeriod = 51600
			timewarpAltitudeLimits = 0 1000 2000 5000 10000 70000 200000
			ScienceValues
			{
				landedDataValue = 6
				splashedDataValue = 1
				flyingLowDataValue = 1
				flyingHighDataValue = 1
				inSpaceLowDataValue = 7
				inSpaceHighDataValue = 5
				recoveryValue = 4
				flyingAltitudeThreshold = 2000
				spaceAltitudeThreshold = 25000
			}
			biomeMap = Tekit/TekcateBiomes.dds
			Biomes
			{
				Biome
				{
					name = Poles
					value = 1
					color = 0.5,0.5,0.5,1
				}
				Biome
				{
					name = Midlands
					value = 1
					color = 0.16078431372,0.16078431372,0.16078431372,1
				}
				Biome
				{
					name = Maria
					value = 1
					color = 0.5,0.20392156862,0,1
				}
			}
		}
		ScaledVersion
		{
			type = Vacuum
			Material
			{
				texture = Tekit/TekcateColor.dds
				normals = Tekit/TekcateNormal.dds
				shininess = 0
				specular = 0.0,0.0,0.0,1.0
				rimPower = 3
				rimBlend = 0.2
				Gradient
				{
					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
				}
			}
		}
		Orbit
		{
			referenceBody = Sun
			semiMajorAxis = 17162997760
			inclination = 1
			eccentricity = 0.06
			longitudeOfAscendingNode = 0
			argumentOfPeriapsis = 0
			meanAnomalyAtEpoch = 0
			epoch = 0
			color = 0.5,0.25,0.0,1.0
		}
		PQS
		{
			minLevel = 2
			maxLevel = 7
			minDetailDistance = 8
			maxQuadLengthsPerFrame = 0.03
			fadeStart = 60000
			fadeEnd = 120000
			deactivatedAltitude = 120750
			mapMaxHeight = 9000
			//materialType = AtmosphericOptimized
			PhysicsMaterialS
			
			Mods
			{
				VertexHeightMap
				{
					map = Tekit/TeckcateHeight.dds
					deformity = 4000
					scaleDeformityByRadius = false
					offset = -500
					enabled = true
					order = 20
				}
				VertexColorMap
				{
				map = Tekit/TekcateColor.dds
				enabled = true
				order = 20
				}
				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

  • 2 months later...

I have been creating a realistic kerbalized Phobos & Deimos-based Duna system similar to Mars IRL.  with two new asteroids orbiting Duna and Ike + Eeloo as a binary system. I have landed on my first moon, Kerbos, before, but the surface is lifeless. How can I create craters and rocks / surface features? I would like help. :)

Edited by NWinXP
Link to comment
Share on other sites

17 hours ago, NWinXP said:

I have been creating a realistic kerbalized Phobos & Deimos-based Duna system similar to Mars IRL.  with two new asteroids orbiting Duna and Ike + Eeloo as a binary system. I have landed on my first moon, Kerbos, before, but the surface is lifeless. How can I create craters and rocks / surface features? I would like help. :)

You need an height map with the topography that you can draw by hand or use one found on the internet (there are many of the solar system). In practice it is a grayscale image where pure white represents the highest point and black the lowest point.
Example:

687474703a2f2f692e696d6775722e636f6d2f47

Or you can use the Voronoi Crater function of Kopernicus which creates procedural craters but I don't know how to use it.

Link to comment
Share on other sites

  • 2 weeks later...
  • 3 weeks later...
On 1/10/2016 at 6:30 PM, The White Guardian said:

The sphere of influence depends on the 'geeASL' of a planet (listed under 'Properties'). As far as I know there's no separate 'sphereOfInfluence' node.

There is a sphereOfInfluence setting that you type in the properties node.

 

Properties

{

...

sphereOfInfluence = your number in metres.

}

Link to comment
Share on other sites

  • 1 month later...

Hello, I have a problem. I will be very grateful if you answer me. I want to delete ALL the old Solar system, but I don’t know how to do it. I want to create an object that is the center of the new solar system, but I don’t know how to do it. Can you tell me how to do this? (I can't speak English so sorry for my English)

 

Link to comment
Share on other sites

1 hour ago, CharDreemur said:

... I want to delete ALL the old Solar system, but I don’t know how to do it. ...

 

You need to write a MM patch. This below delete mun in my Muun mod:

Spoiler

@Kopernicus:AFTER[Kopernicus]
{
    !Body[Mun] {}
}


You can add more strings "!Body", one for each body you want to delete, just change the name between the brackets

Edited by Simog
Link to comment
Share on other sites

2 minutes ago, Simog said:

Вам нужно написать a Мм патч. Это ниже удалить mun в моем muun mod:

  Скрыть содержимое

@Kopernicus:AFTER[Kopernicus]
{
!Тело[Мун] {}
}


Вы можете добавить больше строк "!Body", по одному для каждого тела, которое вы хотите удалить, просто измените имя между скобками

Thank!

Link to comment
Share on other sites

  • 4 weeks later...

So lately I have been experimenting with creating my first planet, but I have been having some problems. The planet works correctly in every way except that the planet is completely black. Any help would be appreciated.

Here is my Config Below:

Spoiler

@Kopernicus:AFTER[Kopernicus]
{
        Body
        {    
                name = Test
                cacheFile = PlanetPack/Cache/Test.bin
                Debug
                {
                        exportMesh = true
                        update = true
                }
                Template
                {
                        name = Moho
                        removeAllPQSMods = true
                }
                Properties
                {
                        description = tbd
                        radius = 350000
                        geeASL = 0.1
                        isHomeWorld = false
                        tidallyLocked = false
                        rotates = true
                        rotationPeriod = 10000
                        timewarpAltitudeLimits =  0 350 350 500 1000 2000 5000
                        useTheInName = False
                        displayName = Test^N
                        ScienceValues
                        {
                                landedDataValue = 2
                                splashedDataValue = 1
                                flyingLowDataValue = 1
                                flyingHighDataValue = 1
                                inSpaceLowDataValue = 8
                                inSpaceHighDataValue = 6
                                recoveryValue = 4
                                flyingAltitudeThreshold = 2000
                                spaceAltitudeThreshold = 5000
                        }
                }
                ScaledVersion
                {
                        type = Vacuum
                        Material
                        {
                                texture = PlanetPack/PluginData/Test_Color.dds
                                normals = PlanetPack/PluginData/Test_Normal.dds
                        }
                }
                Orbit
                {
                        referenceBody = Sun
                        semiMajorAxis = 25000000000
                        inclination = 10
                        eccentricity = 0.2
                        longitudeOfAscendingNode = 0
                        longitudeOfAscendingNode = 0
                        argumentOfPeriapsis = 0
                        meanAnomalyAtEpoch = 0
                        epoch = 0
                        color = 0.25,0.5,0.15,1.0
                }
                PQS
                {
                    Mods
                    {
                            VertexHeightMap
                            {
                                map = PlanetPack/PluginData/Test_Height.dds
                                offset = 0
                                deformity = 340
                                scaleDeformityByRadius = false
                                order = 1
                                enabled = true
                            }
                            VertexHeightNoise
                            {
                                deformity = 65
                                frequency = 2
                                octaves = 6
                                persistence = 0.3
                                seed = 0
                                noiseType = RidgedMultifractal
                                mode = Low
                                lacunarity = 3
                                order = 2
                                enabled = true
                            }
                            VertexSimplexHeightAbsolute
                            
                                deformity = 65
                                octaves = 6
                                persistence = 0.4
                                frequency = 2
                                seed = 1
                                enabled = true
                                order = 3
                            }        
                            LandControl
                            {
                                altitudeBlend = 0
                                altitudeFrequency = 1
                                altitudeOctaves = 1
                                altitudePersistance = 1
                                altitudeSeed = 1
                                createColors = True
                                createScatter = True
                                latitudeBlend = 0
                                latitudeFrequency = 1
                                latitudeOctaves = 1
                                latitudePersistance = 1
                                latitudeSeed = 1
                                longitudeBlend = 0
                                longitudeFrequency = 1
                                longitudeOctaves = 1
                                longitudePersistance = 1
                                longitudeSeed = 1
                                useHeightMap = False
                                vHeightMax = 10000
                                order = 999999
                                enabled = True
                                name = Scatter
                            }
                            Scatters
                            {
                                Value
                                {
                                    materialType = Diffuse
                                    mesh = BUILTIN/boulder
                                    castShadows = True
                                    densityFactor = 1
                                    material = BUILTIN/terrain_rock00
                                    maxCache = 512
                                    maxCacheDelta = 32
                                    maxLevelOffset = 0
                                    maxScale = 0.7
                                    maxScatter = 20
                                    maxSpeed = 250
                                    minScale = 0.2
                                    recieveShadows = False
                                    name = bouldertest
                                    seed = 231123
                                    verticalOffset = 0
                                    delete = False
                                    Material
                                    {
                                        color = 0.33,0.679104447,0.33,1
                                        mainTex = BUILTIN/lunar cliff face
                                    }
                                }
                        
                            }
                            landClasses
                            {
                                Class
                                {
                                    alterApparentHeight = 0
                                    alterRealHeight = 0
                                    coverageBlend = 1
                                    coverageFrequency = 35
                                    coverageOctaves = 8
                                    coveragePersistance = 0.5
                                    coverageSeed = 222
                                    name = BaseLand8
                                    latDelta = 1
                                    latitudeDouble = True
                                    lonDelta = 1
                                    minimumRealHeight = 0
                                    noiseBlend = 0.75
                                    noiseFrequency = 60
                                    noiseOctaves = 3
                                    noisePersistance = 0.9
                                    noiseSeed = 13276
                                    delete = False
                                    altitudeRange
                                    {
                                            endEnd = 1
                                            endStart = 0.45
                                            startEnd = 0.5
                                            startStart = 0
                                    }
                                    coverageSimplex
                                    {
                                            frequency = 6
                                            octaves = 8
                                            persistence = 0.5
                                    }
                                    latitudeDoubleRange
                                    {
                                            endEnd = 0.909999996423721
                                            endStart = 0.909999996423721
                                            startEnd = 0.399999976158142
                                            startStart = 0.399999976158142
                                    }
                                    latitudeRange
                                    {
                                            endEnd = 0.600000023841858
                                            endStart = 0.600000023841858
                                            startEnd = 0.0900000035762787
                                            startStart = 0.0900000035762787
                                    }
                                    longitudeRange
                                    {
                                            endEnd = 2
                                            endStart = 2
                                            startEnd = -1
                                            startStart = -1
                                    }
                                    noiseSimplex
                                    {
                                            frequency = 14
                                            octaves = 3    
                                            persistence = 0.899999976158142
                                    }
                                    scatters
                                    {
                                            Scatter
                                            {
                                                    density = 1
                                                    scatterName = bouldercustom
                                            }
                                    }
                                }        
                            }
                    }
                }
        }
}

 

Edited by DunaManiac
Link to comment
Share on other sites

35 minutes ago, DunaManiac said:

So lately I have been experimenting with creating my first planet, but I have been having some problems. The planet works correctly in every way except that the planet is completely black. Any help would be appreciated.

Here is my Config Below:


The entire section that applies the materials is missing. This below is that of mun and need to put it in the PQS section.
section that controls the texture tiling of the surface details (eg. sand, gravel, rocks) defined according to the height (you will have to do several tests to calibrate them by observing the planet in different points and find a compromise)

Spoiler

Material
{
saturation = 1
contrast = 1
tintColor = 1,1,1,0
powerNear = 0.75
powerFar = 0.75
groundTexStart = 0
groundTexEnd = 40000
steepPower = 1
steepTexStart = 20000
steepTexEnd = 50000
steepTex = BUILTIN/lunar cliff face
steepBumpMap = BUILTIN/Cliff (Layered Rock)_NRM
steepNearTiling = 1
steepTiling = 2
lowTex = BUILTIN/RockyGround
lowNearTiling = 1200
lowMultiFactor = 5
midTex = BUILTIN/RockyGround
midBumpMap = BUILTIN/RockyGround2
midNearTiling = 1000
midMultiFactor = 4
midBumpNearTiling = 1000
highTex = BUILTIN/RockyGround
highNearTiling = 800
highMultiFactor = 3
lowStart = 0.2
lowEnd = 0.4
highStart = 0.6
highEnd = 0.7
globalDensity = -8E-06
planetOpacity = 1
oceanFogDistance = 1000

}


The main texture is also missing (again from Mun): this goes under the PQS Mod section
This instead the general texture that is applied over the others to give a color to the surface. You can use the same texture as the scaled version
 

Spoiler
VertexColorMap
{
map = BUILTIN/munColorMap2
order = 10
enabled = True
name = _Color

}

 

Edited by Simog
Link to comment
Share on other sites

On 11/30/2019 at 5:16 PM, Simog said:


The entire section that applies the materials is missing. This below is that of mun and need to put it in the PQS section.
section that controls the texture tiling of the surface details (eg. sand, gravel, rocks) defined according to the height (you will have to do several tests to calibrate them by observing the planet in different points and find a compromise)

  Reveal hidden contents

Material
{
saturation = 1
contrast = 1
tintColor = 1,1,1,0
powerNear = 0.75
powerFar = 0.75
groundTexStart = 0
groundTexEnd = 40000
steepPower = 1
steepTexStart = 20000
steepTexEnd = 50000
steepTex = BUILTIN/lunar cliff face
steepBumpMap = BUILTIN/Cliff (Layered Rock)_NRM
steepNearTiling = 1
steepTiling = 2
lowTex = BUILTIN/RockyGround
lowNearTiling = 1200
lowMultiFactor = 5
midTex = BUILTIN/RockyGround
midBumpMap = BUILTIN/RockyGround2
midNearTiling = 1000
midMultiFactor = 4
midBumpNearTiling = 1000
highTex = BUILTIN/RockyGround
highNearTiling = 800
highMultiFactor = 3
lowStart = 0.2
lowEnd = 0.4
highStart = 0.6
highEnd = 0.7
globalDensity = -8E-06
planetOpacity = 1
oceanFogDistance = 1000

}


The main texture is also missing (again from Mun): this goes under the PQS Mod section
This instead the general texture that is applied over the others to give a color to the surface. You can use the same texture as the scaled version
 

  Reveal hidden contents
VertexColorMap
{
map = BUILTIN/munColorMap2
order = 10
enabled = True
name = _Color

}

 

So I did what you asked, and now Kerbal Space Program refuses to properly load the planet, here is the new config:

Spoiler

@Kopernicus:AFTER[Kopernicus]
{
        Body
        {    
                name = Test
                cacheFile = PlanetPack/Cache/Test.bin
                Debug
                {
                        exportMesh = true
                        update = true
                }
                Template
                {
                        name = Moho
                        removeAllPQSMods = true
                }
                Properties
                {
                        description = tbd
                        radius = 350000
                        geeASL = 0.1
                        isHomeWorld = false
                        tidallyLocked = false
                        rotates = true
                        rotationPeriod = 10000
                        timewarpAltitudeLimits =  0 350 350 500 1000 2000 5000
                        useTheInName = False
                        displayName = Test^N
                        ScienceValues
                        {
                                landedDataValue = 2
                                splashedDataValue = 1
                                flyingLowDataValue = 1
                                flyingHighDataValue = 1
                                inSpaceLowDataValue = 8
                                inSpaceHighDataValue = 6
                                recoveryValue = 4
                                flyingAltitudeThreshold = 2000
                                spaceAltitudeThreshold = 5000
                        }
                }
                ScaledVersion
                {
                        type = Vacuum
                        Material
                        {
                                texture = PlanetPack/PluginData/Test_Color.dds
                                normals = PlanetPack/PluginData/Test_Normal.dds
                        }
                }
                Orbit
                {
                        referenceBody = Sun
                        semiMajorAxis = 25000000000
                        inclination = 10
                        eccentricity = 0.2
                        longitudeOfAscendingNode = 0
                        longitudeOfAscendingNode = 0
                        argumentOfPeriapsis = 0
                        meanAnomalyAtEpoch = 0
                        epoch = 0
                        color = 0.25,0.5,0.15,1.0
                }
                PQS
                {
                    Material
                    {
                            saturation = 1
                            contrast = 1.6
                            tintColor = 1,1,1,0
                            powerNear = 0.5
                            powerFar = 0.5
                            groundTexStart = 0
                            groundTexEnd = 20000
                            steepPower = 1
                            steepTexStart = 0
                            steepTexEnd = 200000
                            steepTex = BUILTIN/RockyGround
                            steepBumpMap = BUILTIN/RockyGround2
                            steepNearTiling = 1000
                            steepTiling = 10
                            lowTex = BUILTIN/SandyGround
                            lowBumpMap = BUILTIN/quiet
                            lowNearTiling = 500
                            lowMultiFactor = 100
                            lowBumpNearTiling = 5000
                            lowBumpFarTiling = 1000
                            midTex = BUILTIN/distantground
                            midBumpMap = BUILTIN/quiet
                            midNearTiling = 500
                            midMultiFactor = 100
                            midBumpNearTiling = 500
                            midBumpFarTiling = 100
                            highTex = BUILTIN/terrain_snow00
                            highBumpMap = BUILTIN/quiet
                            highNearTiling = 500
                            highMultiFactor = 100
                            highBumpNearTiling = 500
                            highBumpFarTiling = 10
                            lowStart = 0
                            lowEnd = 0.3
                            highStart = 0.8
                            highEnd = 1
                            globalDensity = -8E-06
                            planetOpacity = 1
                    }
                    Mods
                    {
                            VertexHeightMap
                            {
                                map = PlanetPack/PluginData/Test_Height.dds
                                offset = 0
                                deformity = 340
                                scaleDeformityByRadius = false
                                order = 1
                                enabled = true
                            }
                            VertexColorMap
                            {
                                map = PlanetPack/PluginData/Test_Color.dds
                                order = 10
                                enabled = true
                            }
                            VertexHeightNoise
                            {
                                deformity = 65
                                frequency = 2
                                octaves = 6
                                persistence = 0.3
                                seed = 0
                                noiseType = RidgedMultifractal
                                mode = Low
                                lacunarity = 3
                                order = 2
                                enabled = true
                            }
                            VertexSimplexHeightAbsolute
                            {
                                deformity = 65
                                octaves = 6
                                persistence = 0.4
                                frequency = 2
                                seed = 1
                                enabled = true
                                order = 3
                            }        
                            LandControl
                            {
                                altitudeBlend = 0
                                altitudeFrequency = 1
                                altitudeOctaves = 1
                                altitudePersistance = 1
                                altitudeSeed = 1
                                createColors = True
                                createScatter = True
                                latitudeBlend = 0
                                latitudeFrequency = 1
                                latitudeOctaves = 1
                                latitudePersistance = 1
                                latitudeSeed = 1
                                longitudeBlend = 0
                                longitudeFrequency = 1
                                longitudeOctaves = 1
                                longitudePersistance = 1
                                longitudeSeed = 1
                                useHeightMap = False
                                vHeightMax = 10000
                                order = 999999
                                enabled = True
                                name = Scatter
                            }
                            Scatters
                            {
                                Value
                                {
                                    materialType = Diffuse
                                    mesh = BUILTIN/boulder
                                    castShadows = True
                                    densityFactor = 1
                                    material = BUILTIN/terrain_rock00
                                    maxCache = 512
                                    maxCacheDelta = 32
                                    maxLevelOffset = 0
                                    maxScale = 0.7
                                    maxScatter = 20
                                    maxSpeed = 250
                                    minScale = 0.2
                                    recieveShadows = False
                                    name = bouldertekova
                                    seed = 231123
                                    verticalOffset = 0
                                    delete = False
                                    Material
                                    {
                                            color = 0.33,0.679104447,0.33,1
                                            mainTex = BUILTIN/lunar cliff face
                                    }
                                }
                            }    
                            landClasses
                            {
                                Class
                                {
                                    alterApparentHeight = 0
                                    alterRealHeight = 0
                                    coverageBlend = 1
                                    coverageFrequency = 35
                                    coverageOctaves = 8
                                    coveragePersistance = 0.5
                                    coverageSeed = 222
                                    name = BaseLand8
                                    latDelta = 1
                                    latitudeDouble = True
                                    lonDelta = 1
                                    minimumRealHeight = 0
                                    noiseBlend = 0.75
                                    noiseFrequency = 60
                                    noiseOctaves = 3
                                    noisePersistance = 0.9
                                    noiseSeed = 13276
                                    delete = False
                                    altitudeRange
                                    {
                                            endEnd = 1
                                            endStart = 0.45
                                            startEnd = 0.5
                                            startStart = 0
                                    }
                                    coverageSimplex
                                    {
                                            frequency = 6
                                            octaves = 8
                                            persistence = 0.5
                                    }
                                    latitudeDoubleRange
                                    {
                                            endEnd = 0.909999996423721
                                            endStart = 0.909999996423721
                                            startEnd = 0.399999976158142
                                            startStart = 0.399999976158142
                                    }
                                    latitudeRange
                                    {
                                            endEnd = 0.600000023841858
                                            endStart = 0.600000023841858
                                            startEnd = 0.0900000035762787
                                            startStart = 0.0900000035762787
                                    }
                                    longitudeRange
                                    {
                                            endEnd = 2
                                            endStart = 2
                                            startEnd = -1
                                            startStart = -1
                                    }
                                    noiseSimplex
                                    {
                                            frequency = 14
                                            octaves = 3    
                                            persistence = 0.899999976158142
                                    }
                                    scatters
                                    {
                                            Scatter
                                            {
                                                    density = 1
                                                    scatterName = bouldercustom
                                            }
                                    }
                                }        
                            }
                    }
                }
        }
}

Here is the KSP.log, if it helps.

https://www.dropbox.com/s/1zyukx1ng5s8iyf/KSP.log?dl=0

EDIT: I restored my config to the older version, and apparently "VertexSimplexHeightAbsolute" was missing an opening bracket, and that was keeping it working in a broken state. This should not be possible!

EDIT 2: I applied all of your suggestions and it still does not work.

EDIT 3: In the log, I may have a clue as to why the textures are not working. I have an Null Reference:

Spoiler

[EXC 18:56:07.903] NullReferenceException: Object reference not set to an instance of an object
    PQSMod_VertexHeightMap.OnVertexBuildHeight (.VertexBuildData data)
    PQS.Mod_OnVertexBuildHeight (.VertexBuildData data, Boolean overrideQuadBuildCheck)
    PQS.GetSurfaceHeight (Vector3d radialVector, Boolean overrideQuadBuildCheck)
    PQS.GetSurfaceHeight (Vector3d radialVector)
    PQS.UpdateVisual ()
    PQS.StartSphere (Boolean force)
    PQS.Start ()

and it also spams:

[WRN 18:56:03.594] DontDestroyOnLoad only work for root GameObjects or components on root GameObjects.

There also seems to be a battle between loading and unloading textures in the Log, but it always ends in the texture being unloaded right before KSP loads.

[LOG 18:56:08.018] [OD] <--- ScaledSpaceDemand.UnloadTextures destroying PlanetPack/Test_Color.dds and PlanetPack/Test_Normal.dds

[LOG 18:56:08.061] [OD] --> ScaledSpaceDemand.LoadTextures loading PlanetPack/Test_Color.dds and PlanetPack/Test_Normal.dds

[LOG 18:56:14.080] [OD] <--- ScaledSpaceDemand.UnloadTextures destroying PlanetPack/Test_Color.dds and PlanetPack/Test_Normal.dds

So I seem to have a strange issue where the heightmap fails to load and the Color and Normal maps don't load.

 

 

Edited by DunaManiac
New Devolopment
Link to comment
Share on other sites

18 hours ago, DunaManiac said:

So I did what you asked, and now Kerbal Space Program refuses to properly load the planet, here is the new config:

Try to put this in PQS above materials:
 

Spoiler

minLevel = 2
            maxLevel = 7
            minDetailDistance = 8
            maxQuadLengthsPerFrame = 0.03
            fadeStart = 60000
            fadeEnd = 120000
            deactivateAltitude = 120750
            mapMaxHeight = 9000
            PhysicsMaterial
            {
                bounceCombine = Average
                frictionCombine = Maximum
                bounciness = 0
                staticFriction = 0.8
                dynamicFriction = 0.6
            }

 

Link to comment
Share on other sites

7 hours ago, Simog said:

Try to put this in PQS above materials:
 

  Reveal hidden contents

minLevel = 2
            maxLevel = 7
            minDetailDistance = 8
            maxQuadLengthsPerFrame = 0.03
            fadeStart = 60000
            fadeEnd = 120000
            deactivateAltitude = 120750
            mapMaxHeight = 9000
            PhysicsMaterial
            {
                bounceCombine = Average
                frictionCombine = Maximum
                bounciness = 0
                staticFriction = 0.8
                dynamicFriction = 0.6
            }

 

After more testing, I discovered that for some reason KSP was not loading the textures properly. I am not sure why.

Edited by DunaManiac
Link to comment
Share on other sites

20 hours ago, DunaManiac said:

After more testing, I discovered that for some reason KSP was not loading the textures properly. I am not sure why.

try to convert your texture to .png. if it works, you probably have an unsuitable DDS format (you need a DXT3 with mipmap, but for ksp1.8, if I have not misunderstood, it reads only dxt5. Then, perhaps it is convenient in this format. One less job to do when kopernicus will be made compatible with 1.8).
Remember to change the extension in the various calls in the cfg

 

Edited by Simog
Link to comment
Share on other sites

  • 1 month later...
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...