@Kopernicus:FOR[PyloSystem]
{
    Body
    {
        name = Pylo
        cacheFile = PyloSystem/Cache/Pylo.bin
        Template
        {
            name = Eeloo
            removeAllPQSMods = True
        }
        Properties
        {
            description = Pylo was discovered in the most unexpected way possible. Renowned astronomer Tyke Kerman had documented the orbits of every known planet at that time. He sought to document the elusive hypothetical planet Moho, which was said to orbit Kerbol at a distance so close that it was only observable during eclipses or transits. During the great eclipse of 1863, Tyke and his assistant Jan set up a telescope and began observing Kerbol for any telltale signs of Moho. Just as Tyke was about to record a possible planet during the eclipse, Jan accidentally bumped into Tyke, causing Tyke to lose sight of the possible planet. Tyke sought to rediscover this object and every evening would observe sunsets just to wait for Moho to appear. During a routine observation of Kerbol, Tyke noticed a possible planet just after sunset. He initially dismissed it as an optical illusion. However, the next day, the "planet" appeared again. Tyke was convinced he had discovered Moho. When Tyke calculated the orbit of this new planet, he realized that it couldn't possibly be the hypothetical Moho due to major discrepancies between the new planet's orbit and the predicted orbit of Moho. Thus, the alternative name Pylo became common in the years following its discovery.
            displayName = Pylo^N
            radius = 550000
            geeASL = 0.95
			initialRotation = 54
			tidallyLocked = False
			rotationPeriod = 29942.2909035468
			isHomeWorld = false
            timewarpAltitudeLimits = 0 69000 69000 70000 70000 100000 200000 300000
			biomeMap = PyloSystem/Textures/PluginData/PyloBiomes.png
			Biomes
			{
				Value
				{
					name = Lava
					displayName = Lava
					value = 0
					color = #ff2a00
				}
				Value
				{
					name = Lowlands
					displayName = Lowlands
					value = 0
					color = #3f2b21
				}
				Value
				{
					name = Midlands
					displayName = Midlands
					value = 0
					color = #473126
				}
				Value
				{
					name = Highlands
					displayName = Highlands
					value = 0
					color = #684a3f
				}
			}
            ScienceValues
			{
				landedDataValue = 8
				splashedDataValue = 90
				flyingLowDataValue = 8
				flyingHighDataValue = 6
				inSpaceLowDataValue = 7
				inSpaceHighDataValue = 6
				recoveryValue = 6
				flyingAltitudeThreshold = 12000
				spaceAltitudeThreshold = 225000
			}
        }
        Orbit
        {
            referenceBody = Sun
            semiMajorAxis = 5263138304
            inclination = 0.24
            eccentricity = 0.078
            longitudeOfAscendingNode = 112
			argumentOfPeriapsis = 32
			meanAnomalyAtEpoch = 45
			epoch = 0
			color = RGBA(75,75,75,200)
        }
		Rings
        {
            Ring
            {
                innerRadius = 9000
                outerRadius = 10000
                color = 1,1,1,1
                texture = PyloSystem/Textures/PluginData/PyloRings.png
                useNewShader = True
            }
        }
		Atmosphere
        {
            enabled = True
            oxygen = False
            altitude =	69000			
adiabaticIndex =	1.24			
atmosphereMolarMass =	0.042			
temperatureSeaLevel =	520			
staticPressureASL =	3.03975E+01			
temperatureCurve				
{				
key =	0	474	0.00000E+00	3.88425E-04
key =	5149	476	3.88425E-04	2.18293E-04
key =	9730	477	2.18293E-04	-1.57907E-03
key =	14163	470	-1.57907E-03	-2.34357E-03
key =	18430	460	-2.34357E-03	-3.40633E-03
key =	22540	446	-3.40633E-03	-4.03429E-03
key =	26506	430	-4.03429E-03	-4.17755E-03
key =	30336	414	-4.17755E-03	-4.31616E-03
key =	34043	398	-4.31616E-03	-3.89647E-03
key =	37636	384	-3.89647E-03	-4.01261E-03
key =	41125	370	-4.01261E-03	-3.53357E-03
key =	44521	358	-3.53357E-03	-3.62100E-03
key =	47835	346	-3.62100E-03	-3.08642E-03
key =	51075	336	-3.08642E-03	-2.83286E-03
key =	54252	327	-2.83286E-03	-2.56082E-03
key =	57376	319	-2.56082E-03	-2.27568E-03
key =	60452	312	-2.27568E-03	-1.97954E-03
key =	63483	306	-1.97954E-03	-2.00736E-03
key =	66472	300	-2.00736E-03	-1.58228E-03
key =	69000	296	-1.58228E-03	0.00000E+00				
}				
temperatureSunMultCurve				
{				
key =	0	1.000	0.00000E+00	-8.46766E-05
key =	5149	0.564	-8.46766E-05	-7.57477E-05
key =	9730	0.217	-7.57477E-05	-6.11324E-05
key =	14163	-0.054	-6.11324E-05	-4.12468E-05
key =	18430	-0.230	-4.12468E-05	-1.67883E-05
key =	22540	-0.299	-1.67883E-05	2.01715E-06
key =	26506	-0.291	2.01715E-06	7.31070E-06
key =	30336	-0.263	7.31070E-06	1.10602E-05
key =	34043	-0.222	1.10602E-05	1.41943E-05
key =	37636	-0.171	1.41943E-05	1.63371E-05
key =	41125	-0.114	1.63371E-05	1.70789E-05
key =	44521	-0.056	1.70789E-05	1.75015E-05
key =	47835	0.002	1.75015E-05	1.72840E-05
key =	51075	0.058	1.72840E-05	1.60529E-05
key =	54252	0.109	1.60529E-05	1.44046E-05
key =	57376	0.154	1.44046E-05	1.20286E-05
key =	60452	0.191	1.20286E-05	9.23788E-06
key =	63483	0.219	9.23788E-06	5.68752E-06
key =	66472	0.236	5.68752E-06	1.58228E-06
key =	69000	0.240	1.58228E-06	0.00000E+00				
}				
temperatureLatitudeBiasCurve				
{				
key =	0	20.35	0	0
key =	38	0	-1.0316	-1.0316
key =	90	-75.65	-1.6755	0
}				
temperatureLatitudeSunMultCurve				
{				
key =	0	107	0	0
key =	38	90.89	-0.8166	-0.8166
key =	90	31	-1.3265	0
}				
temperatureAxialSunBiasCurve				
{				
key =	0	0.01	0	-0.0018
key =	4	0	-0.0018	-0.0018
key =	94	-0.1	0	0
key =	184	0	0.0018	0.0018
key =	274	0.1	0	0
key =	360	0.01	-0.0018	0
}				
temperatureAxialSunMultCurve				
{				
key =	0	0	0	0
key =	38	0.5	0.02	0.02
key =	90	1	0	0
}				
temperatureEccentricityBiasCurve				
{				
key =	0	2.4	0	-4.8
key =	1	-2.4	-4.8	0
}				
pressureCurve				
{				
key =	0	3.03975E+01	0.00000E+00	-3.64398E-03
key =	5149	1.70938E+01	-2.12476E-03	-2.12476E-03
key =	9730	9.61253E+00	-1.23000E-03	-1.23000E-03
key =	14163	5.40552E+00	-7.20581E-04	-7.20581E-04
key =	18430	3.03975E+00	-4.21688E-04	-4.21688E-04
key =	22540	1.70938E+00	-2.46469E-04	-2.46469E-04
key =	26506	9.61253E-01	-1.43854E-04	-1.43854E-04
key =	30336	5.40552E-01	-8.38297E-05	-8.38297E-05
key =	34043	3.03975E-01	-4.87653E-05	-4.87653E-05
key =	37636	1.70938E-01	-2.83130E-05	-2.83130E-05
key =	41125	9.61253E-02	-1.64038E-05	-1.64038E-05
key =	44521	5.40552E-02	-9.48233E-06	-9.48233E-06
key =	47835	3.03975E-02	-5.46797E-06	-5.46797E-06
key =	51075	1.70938E-02	-3.14534E-06	-3.14534E-06
key =	54252	9.61253E-03	-1.80371E-06	-1.80371E-06
key =	57376	5.40552E-03	-1.03182E-06	-1.03182E-06
key =	60452	3.03975E-03	-5.89945E-07	-5.89945E-07
key =	63483	1.70938E-03	-3.37088E-07	-3.37088E-07
key =	66472	9.61253E-04	-1.92464E-07	-1.92464E-07
key =	69000	0.00000E+00	0.00000E+00	0.00000E+00			
}							
            AtmosphereFromGround // The atmosphere effect that is seen on the horizon.
			{
				DEBUG_alwaysUpdateAll = False
				doScale = True
				samples = 4
				transformScale = 1.03499997,1.03499997,1.03499997
				waveLength = 0.623077631,0.688461304,0.711538434,1
				outerRadiusMult = 1.025
				innerRadiusMult = 0.975
			}
        }
        ScaledVersion
        {
            type = Atmospheric
			fadeStart = 10000
			fadeEnd = 50000
            Material
            {
				color = 1,1,1,1
                specColor = 0,0,0,1
                shininess = 0
				rimPower = 3
                rimBlend = 0.9
                Gradient
                {
                    0.0 = RGBA(95,88,84,255)
                    0.05 = RGBA(72,67,64,255)
                    0.075 = RGBA(72,67,64,255)
                    0.1 = RGBA(61,44,41,255)
                    1.0 = RGBA(61,44,41,255)
                }
				normals = PyloSystem/Textures/PluginData/PyloNormal.png
            }
			VertexColorMapEmissive
			{
				map = PyloSystem/Textures/PluginData/PyloEmissive.png
				brightness = 1
				transparency = 0.5
			}
			OnDemand
			{
				texture = PyloSystem/Textures/PluginData/PyloColor.dds
			}
        }
        PQS
        {
            minDetailDistance = 8
			maxQuadLengthsPerFrame = 0.03
			fadeStart = 50000
			fadeEnd = 100000
			deactivateAltitude = 400000
			mapMaxHeight = 16000
			minLevel = 2
            maxLevel = 6
            materialType = AtmosphericTriplanarZoomRotation
			PhysicsMaterial
			{
				bounceCombine = Average
				frictionCombine = Maximum
				bounciness = 0
				staticFriction = 0.8
				dynamicFriction = 0.6
			}
			Material
			{
				factor = 8
				factorBlendWidth = 0.05
				factorRotation = 75
				saturation = 1
				contrast = 1
				tintColor = 1,1,1,0
				specularColor = 0.188235298,0.188235298,0.188235298,1
				albedoBrightness = 1
				steepPower = 1.5
				steepTexStart = 30000
				steepTexEnd = 60000
				steepTex = BUILTIN/MunCliff [Diffuse]
				steepTexScale = 1,1
				steepTexOffset = 0,0
				steepBumpMap = BUILTIN/MunCliff [Normal]
				steepBumpMapScale = 1,1
				steepBumpMapOffset = 0,0
				steepNearTiling = 500
				steepTiling = 350
				lowTexScale = 1,1
				lowTexOffset = 0,0
				lowTiling = 1
				midTex = BUILTIN/MunFloor [Diffuse]
				midTexScale = 1,1
				midTexOffset = 0,0
				midTiling = 150000
				midBumpMap = BUILTIN/MunFloor [Normal]
				midBumpMapScale = 1,1
				midBumpMapOffset = 0,0
				midBumpTiling = 150000
				highTexScale = 1,1
				highTexOffset = 0,0
				highTiling = 1.5
				lowStart = -1
				lowEnd = -1
				highStart = 1
				highEnd = 1
				globalDensity = 1
				fogColorRampScale = 1,1
				fogColorRampOffset = 0,0
				planetOpacity = 0.002323827
				oceanFogDistance = 1000
			}
			FallbackMaterial
			{
				saturation = 1
				contrast = 1
				tintColor = 1,1,1,0
				texTiling = 4000
				texPower = 0.75
				multiPower = 0.75
				groundTexStart = 0
				groundTexEnd = 6000
				multiFactor = 24
				mainTex = BUILTIN/RockyGround
				mainTexScale = 1,1
				mainTexOffset = 0,0
				planetOpacity = 1
			}
            Mods
            {
                VertexMitchellNetravaliHeightMap
                {
                    map = PyloSystem/Textures/PluginData/PyloHeight.png
					offset = -4000
					deformity = 9500
					scaleDeformityByRadius = False
					enabled = True
					order = 100
                }
				VertexHeightNoise
				{
					noiseType = Perlin
					deformity = 550
					frequency = 5
					persistence = 0.55
					seed = 789789
					lacunarity = 2
					octaves = 12
					enabled = true
					order = 104
				}
				VertexHeightNoise
				{
					noiseType = Billow
					deformity = 100
					frequency = 50
					persistence = 0.55
					seed = 678678
					lacunarity = 2
					octaves = 12
					enabled = true
					order = 105
				}
				VertexHeightNoiseVertHeightCurve2
				{
					deformity = 100
					ridgedAddSeed = 1
					ridgedAddFrequency = 40
					ridgedAddLacunarity = 2
					ridgedAddOctaves = 6
					ridgedMode = High
					ridgedSubSeed = 1
					ridgedSubFrequency = 5
					ridgedSubLacunarity = 2
					ridgedSubOctaves = 6
					simplexCurve
					{
						key = 0 0 0.1466263 0.1466263
						key = 0.7922793 0 0.6761706 1.497418
						key = 1 1 6.106985 6.106985
					}
					simplexHeightStart = -8000
					simplexHeightEnd = 1000
					simplexSeed = 234324
					simplexOctaves = 3
					simplexPersistence = 0.3
					simplexFrequency = 8
					enabled = true
					order = 105
				}
                VertexColorMap
                {
                    map = PyloSystem/Textures/PluginData/PyloColor.dds
                    order = 200
                    enabled = True
                }
				VertexColorMapEmissive
				{
					order = 999
					enabled = True
					map = PyloSystem/Textures/PluginData/PyloEmissive.png
					brightness = 1
					transparency = 0.5
				}
				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
					LandClasses
					{
						Value
						{
							name = Base
                            alterApparentHeight = 0
                            alterRealHeight = 0
                            color = 0,0,0,0
                            coverageBlend = 0
                            coverageFrequency = 1
                            coverageOctaves = 1
                            coveragePersistance = 1
                            coverageSeed = 123
                            latDelta = 1
                            latitudeDouble = False
                            lonDelta = 1
                            minimumRealHeight = 0
                            noiseBlend = 0
                            noiseColor = 0,0,0,0
                            noiseFrequency = 1
                            noiseOctaves = 1
                            noisePersistance = 1
                            noiseSeed = 321
                            delete = False
							altitudeRange
							{
                                startStart = 0
                                startEnd = 0
                                endStart = 1
                                endEnd = 1
                            }
							latitudeRange
                            {
                                startStart = 0
                                startEnd = 0
                                endStart = 1
                                endEnd = 1
                            }
                            longitudeRange
                            {
                                startStart = 0
                                startEnd = 0
                                endStart = 1
                                endEnd = 1
                            }
						}
					}
				}
            }
        }
		Ocean
		{
			ocean = True
			oceanColor = RGBA(255,42,0,255)
			oceanHeight = 0
			density = 3.6
			Material
			{
				color = RGBA(255,42,0,255)
				colorFromSpace = RGBA(255,42,0,255)
				specColor = 1,1,1,1
				shininess = 0.697751
				gloss = 0.2
				tiling = 1000
				waterTex = BUILTIN/sea-water1
				waterTexScale = 1,1
				waterTexOffset = 0,0
				waterTex1 = BUILTIN/sea-water2
				waterTex1Scale = 1,1
				waterTex1Offset = 0,0
				bTiling = 800
				bumpMap = BUILTIN/quiet
				bumpMapScale = 1,1
				bumpMapOffset = 0,0
				displacement = 0.05
				texDisplacement = -0.31
				dispFreq = 0.15
				mix = 0.2509193
				oceanOpacity = 0.8
				falloffPower = 1.1
				falloffExp = 2
				fogColor = 0.77,0.805,0.84,1
				heightFallOff = 0.2
				globalDensity = -8E-06
				atmosphereDepth = 70000
				fogColorRampScale = 1,1
				fogColorRampOffset = 0,0
				fadeStart = 20000
				fadeEnd = 60000
				planetOpacity = 0
				normalXYFudge = 1.4
				normalZFudge = 1.18
			}
			Mods
			{
				VertexColorMapEmissive
				{
					order = 999
					enabled = True
					map = PyloSystem/Textures/PluginData/PyloEmissive.png
					brightness = 1
					transparency = 0.5
				}
			}
		}
		HazardousBody
		{
			Item
			{
				ambientTemp = 2200
				biomeName = Lava
				AltitudeCurve
				{
					key = 550000 1.00 0.00E+00 -3.00E-02
					key = 550001 0.85 -3.00E-02 -2.67E-02
					key = 550002 0.70 -2.67E-02 -1.67E-02
					key = 550003 0.50 -1.67E-02 -1.00E-02
					key = 550004 0.40 -1.00E-02 -1.67E-02
					key = 550005 0.30 -1.67E-02 -2.00E-02
					key = 550006 0.00 -2.00E-02 0.00E+00
				}
			}
		}
    }
}