@Kopernicus:FOR[LSR]
{
	Body
	{
		name = Mote
		Template
		{
			name = Laythe
			removeAllPQSMods = True
			removeOcean = True
		}
		Properties
		{
			description = 220km across and with a surface gravity less than the Mun's, this small world orbits beyond Eeloo and exists at just the right temperature to hold a dense atmosphere, and where the pressure is great enough, even oceans!
			displayName = Mote
			radius = 220000
			geeASL = 0.13
			rotates = True
			tidallyLocked = True
			initialRotation = 180
			albedo = 0.35
			emissivity = 0.9
			isHomeWorld = False
			timewarpAltitudeLimits = 0 91000 91000 92000 95000 120000 132000 222000
			navballSwitchRadiusMult = 0.04
			navballSwitchRadiusMultLow = 0.036
			sphereOfInfluence = 7000000
			ScienceValues
			{
				landedDataValue = 14
				splashedDataValue = 13
				flyingLowDataValue = 11
				flyingHighDataValue = 10
				inSpaceLowDataValue = 9
				inSpaceHighDataValue = 8
				recoveryValue = 8
				flyingAltitudeThreshold = 33000
				spaceAltitudeThreshold = 175000
			}
		}
		Orbit
		{
			referenceBody = Sun
			color = 0.4,0.4,0.7,1
			inclination = 10.7
			eccentricity = 0.115
			semiMajorAxis = 234887627398
			longitudeOfAscendingNode = 109
			argumentOfPeriapsis = 152
			meanAnomalyAtEpochD = 245
			epoch = 0
		}
		Rings
		{
			Ring
			{
				angle = 0
				outerRadius = 2000
				innerRadius = 1600
				texture = AtmosphericPluto/PluginData/ring.png
				color = 1,1,1,1
				lockRotation = True
				unlit = False
				useNewShader = True
				penumbraMultipler = 10.0
			}
		}		
		Atmosphere				
		{				
			enabled =	True			
			oxygen =	False			
			altitude =	91000			
			adiabaticIndex =	1.40			
			atmosphereMolarMass =	0.02801			
			temperatureSeaLevel =	67			
			staticPressureASL =	30.3975			
			temperatureCurve				
			{				
				key =	0	63	0.00000E+00	0.00000E+00
				key =	6131	63	0.00000E+00	0.00000E+00
				key =	12159	63	0.00000E+00	0.00000E+00
				key =	18092	63	0.00000E+00	-1.71057E-04
				key =	23938	62	-1.71057E-04	-1.73430E-04
				key =	29704	61	-1.73430E-04	-1.75531E-04
				key =	35401	60	-1.75531E-04	-1.77494E-04
				key =	41035	59	-1.77494E-04	-1.79147E-04
				key =	46617	58	-1.79147E-04	-1.80538E-04
				key =	52156	57	-1.80538E-04	-1.81653E-04
				key =	57661	56	-1.81653E-04	-1.82482E-04
				key =	63141	55	-1.82482E-04	-1.82916E-04
				key =	68608	54	-1.82916E-04	-1.83050E-04
				key =	74071	53	-1.83050E-04	-1.82815E-04
				key =	79541	52	-1.82815E-04	0.00000E+00
				key =	85026	52	0.00000E+00	0.00000E+00
				key =	91000	52	0.00000E+00	0.00000E+00				
			}				
			temperatureSunMultCurve				
			{				
				key =	0	1.000	0.00000E+00	-6.44267E-05
				key =	6131	0.605	-6.44267E-05	-5.83942E-05
				key =	12159	0.253	-5.83942E-05	-4.76993E-05
				key =	18092	-0.030	-4.76993E-05	-3.26719E-05
				key =	23938	-0.221	-3.26719E-05	-1.35276E-05
				key =	29704	-0.299	-1.35276E-05	2.10637E-06
				key =	35401	-0.287	2.10637E-06	7.27725E-06
				key =	41035	-0.246	7.27725E-06	1.11071E-05
				key =	46617	-0.184	1.11071E-05	1.39014E-05
				key =	52156	-0.107	1.39014E-05	1.56222E-05
				key =	57661	-0.021	1.56222E-05	1.62409E-05
				key =	63141	0.068	1.62409E-05	1.55478E-05
				key =	68608	0.153	1.55478E-05	1.42779E-05
				key =	74071	0.231	1.42779E-05	1.15174E-05
				key =	79541	0.294	1.15174E-05	7.83956E-06
				key =	85026	0.337	7.83956E-06	3.01306E-06
				key =	91000	0.355	3.01306E-06	0.00000E+00				
			}				
			temperatureLatitudeBiasCurve				
			{				
				key =	0	1.91	0	0
				key =	38	0	-0.0967	-0.0967
				key =	90	-7.09	-0.1571	0
			}				
			temperatureLatitudeSunMultCurve				
			{				
				key =	0	10	0	0
				key =	38	8.52	-0.0752	-0.0752
				key =	90	3	-0.1222	0
			}				
			temperatureAxialSunBiasCurve				
			{				
				key =	0	0	0	0				
			}				
			temperatureAxialSunMultCurve				
			{				
				key =	0	0	0	0				
			}				
			temperatureEccentricityBiasCurve				
			{				
				key =	0	0	0	0				
			}				
			pressureCurve				
			{				
				key =	0	3.03975E+01	0.00000E+00	-2.82942E-03
				key =	6131	1.70938E+01	-1.63250E-03	-1.63250E-03
				key =	12159	9.61253E+00	-9.40849E-04	-9.40849E-04
				key =	18092	5.40552E+00	-5.41575E-04	-5.41575E-04
				key =	23938	3.03975E+00	-3.11337E-04	-3.11337E-04
				key =	29704	1.70938E+00	-1.78729E-04	-1.78729E-04
				key =	35401	9.61253E-01	-1.02451E-04	-1.02451E-04
				key =	41035	5.40552E-01	-5.86353E-05	-5.86353E-05
				key =	46617	3.03975E-01	-3.35033E-05	-3.35033E-05
				key =	52156	1.70938E-01	-1.91104E-05	-1.91104E-05
				key =	57661	9.61253E-02	-1.08813E-05	-1.08813E-05
				key =	63141	5.40552E-02	-6.18427E-06	-6.18427E-06
				key =	68608	3.03975E-02	-3.50815E-06	-3.50815E-06
				key =	74071	1.70938E-02	-1.98624E-06	-1.98624E-06
				key =	79541	9.61253E-03	-1.12235E-06	-1.12235E-06
				key =	85026	5.40552E-03	-6.33472E-07	-6.33472E-07
				key =	91000	0.00000E+00	0.00000E+00	0.00000E+00				
			}				
			AtmosphereFromGround
			{
				waveLength = 0.65,0.61,0.55,0.5
				innerRadiusMult = 0.94
				outerRadiusMult = 1.06
				transformScale = 1.12,1.12,1.12
			}
		}			
		Ocean
		{
			density = 0.807
			minLevel = 1
			maxLevel = 6
			minDetailDistance = 8
			maxQuadLengthsPerFrame = 0.03
			oceanColor = 0.07,0.11,0.19,1
			Material
			{
				colorFromSpace = 0.07,0.11,0.19,1
				color = 0.07,0.11,0.19,1
				oceanOpacity = 0.85
				fogColor = 0.07,0.11,0.19,1
			}
			FallbackMaterial
			{
				color = 0.07,0.11,0.19,1
				colorFromSpace = 0.07,0.11,0.19,1
			}
			Mods
			{
				AerialPerspectiveMaterial
				{
					globalDensity = -0.00001
					heightFalloff = 6.75
					atmosphereDepth = 150000
					DEBUG_SetEveryFrame = True
					cameraAlt = 0
					cameraAtmosAlt = 0
					heightDensAtViewer = 0
					enabled = True
					order = 200
				}
				OceanFX
				{
					Watermain
					{
						waterTex-0 = BUILTIN/sea-water1
						waterTex-1 = BUILTIN/sea-water2
						waterTex-2 = BUILTIN/sea-water3
						waterTex-3 = BUILTIN/sea-water4
						waterTex-4 = BUILTIN/sea-water5
						waterTex-5 = BUILTIN/sea-water6
						waterTex-6 = BUILTIN/sea-water7
						waterTex-7 = BUILTIN/sea-water8
					}
					framesPerSecond = 1
					spaceAltitude = 50000
					blendA = 0
					blendB = 0
					texBlend = 0
					angle = 0
					specColor = 0.000,0.000,0.000,0.000
					oceanOpacity = 0
					spaceSurfaceBlend = 0
					enabled = True
					order = 200
				}
			}
			Fog
			{
				fogColorEnd = 0.02,0.033,0.052,1
				fogColorStart = 0.2,0.33,0.52,1
				skyColorOpacityBase = 0.7
			}
		}
		ScaledVersion
		{
			type = Atmospheric
			fadeStart = 40000
			fadeEnd = 50000
			Material
			{
				texture = AtmosphericPluto/PluginData/00.dds
				normals = AtmosphericPluto/PluginData/01.dds
				color = 1,1,1,1
				specColor = 0.15,0.15,0.15,1
				shininess = 0.17
				rimPower = 5
				rimBlend = 1
				localLightDirection = -0.6172,0.0227,-0.7865,0
			}
			OnDemand
			{
				texture = AtmosphericPluto/PluginData/00.dds
				normals = AtmosphericPluto/PluginData/01.dds
			}
		}
		PQS
		{
        		minLevel = 2
        		maxLevel = 8
        		minDetailDistance = 8
        		maxQuadLengthsPerFrame = 0.03
			fadeStart = 40000
			fadeEnd = 50000
			deactivateAltitude = 60000
			materialType = AtmosphericTriplanarZoomRotation
			Material
			{
				factor = 8
				factorBlendWidth = 0.05
				factorRotation = 135
				saturation = 1.1
				contrast = 1.2
				tintColor = 1,1,1,0
				specularColor = 0.1,0.1,0.1,1
				albedoBrightness = 1.3
				steepPower = 2
				steepTexStart = 10000
				steepTexEnd = 200000
				steepTex = BUILTIN/gillySteep_diffuse
				steepTexScale = 1,1
				steepTexOffset = 0,0
				steepBumpMap = BUILTIN/gillySteep_nrm
				steepBumpMapScale = 1,1
				steepBumpMapOffset = 0,0
				steepNearTiling = 150
				steepTiling = 60
				midTex = BUILTIN/Duna Floor [Diffuse]
				midTexScale = 1,1
				midTexOffset = 0,0
				midTiling = 30000
				midBumpMap = BUILTIN/Duna Floor [Normal]
				midBumpMapScale = 1,1
				midBumpMapOffset = 0,0
				midBumpTiling = 30000
				lowStart = -1
				lowEnd = -1
				highStart = 2
				highEnd = 2
				globalDensity = 1
				planetOpacity = 1
				oceanFogDistance = 1000
			}
			FallbackMaterial
			{
				saturation = 1
				contrast = 1.55
				tintColor = 1,1,1,0
				texTiling = 1000
				texPower = 0.4
				multiPower = 0.3
				groundTexStart = 20000
				groundTexEnd = 60000
				multiFactor = 0.5
				mainTex = BUILTIN/SandyGround
				mainTexScale = 1,1
				mainTexOffset = 0,0
				planetOpacity = 1
			}
			Mods
			{
				VertexHeightMap
				{
					map = AtmosphericPluto/PluginData/02.dds
					deformity = 4400
					scaleDeformityByRadius = false
					enabled = true
					order = 1
				}
				VertexColorMap
				{
					map = AtmosphericPluto/PluginData/00.dds
					enabled = true
					order = 1
				}
				VertexHeightOffset
				{
					offset = -900
					enabled = true
					order = 4
				}
				VertexSimplexHeight 
				{
                    			order = 5
                    			enabled = True
                    
					deformity = 70
					frequency = 21
					octaves = 8
					persistence = 0.86
					seed = 66482
				}
			}
		}
	}
}