@Kopernicus:FOR[OPX-SarnusPlus]
{
	Body
    {
		name = Phabus
		cacheFile = OPX-SarnusPlus/Cache/Phabus.bin
		Template
		{
			name = Bop
			removeAllPQSMods = true
		}
        Orbit
        {
            referenceBody = Sarnus
            semiMajorAxis = 1296000000
            inclination = 151.78
            eccentricity = 0.1562
            longitudeOfAscendingNode = 14.381449
            argumentOfPeriapsis = 281.103195
            meanAnomalyAtEpochD = 31.776215
            color = 0.4, 0.3, 0.2, 1.0
	    iconTexture = OPX-UrlumPlus/Textures/PluginData/Large.png
        }
        Properties
        {
			displayName = #LOC_OPX-SP_Phabus_Name
            description = #LOC_OPX-SP_Phabus_Desc
            radius = 10650
            geeASL = 0.00648
			rotates = True
            rotationPeriod = 33384
			tidallyLocked = false
			isHomeWorld = false
			timewarpAltitudeLimits = 0 0 0 0 0 0 0 0
			ScienceValues
			{
				landedDataValue = 18
				inSpaceLowDataValue = 16
				inSpaceHighDataValue = 14
				recoveryValue = 14
				spaceAltitudeThreshold = 15000
			}
			biomeMap = OPX-SarnusPlus/Textures/PluginData/Phabus_Biome.png
			Biomes
            {
                Biome
				{
					name = Impact Craters
					displayName = #LOC_OPX-SP_Phabus_Biome_IC
					value = 1
					color = #000000
				}
					Biome
					{
					name = Lowlands
					displayName = #LOC_OPX-SP_Phabus_Biome_L
					value = 1
					color = #212121
				}
				Biome
				{
					name = Midlands
					displayName = #LOC_OPX-SP_Phabus_Biome_M
					value = 1
					color = #454545
				}
				Biome
				{
					name = Slopes
					displayName = #LOC_OPX-SP_Phabus_Biome_S
					value = 1
					color = #747673
				}
				Biome
				{
					name = Highlands
					displayName = #LOC_OPX-SP_Phabus_Biome_H
					value = 1
					color = #a6a2a0
				}
				Biome
				{
					name = Peaks
					displayName = #LOC_OPX-SP_Phabus_Biome_P
					value = 1
					color = #ffffff
				}
			}
		}     
        ScaledVersion
        {
            type = Vacuum
            fadeStart = 10000
			fadeEnd = 14000
            Material
            {
                texture = OPX-SarnusPlus/Textures/PluginData/Phabus_Color.png
                normals = OPX-SarnusPlus/Textures/PluginData/Phabus_Normal.png
                shininess = 0
                specular = 0,0,0,1
            }
        }
		PQS
        {
			fadeStart = 10000
			fadeEnd = 14000
			deactivateAltitude = 14000
			minLevel = 2
			maxLevel = 7	
			materialType = Vacuum
			Material
			{
				saturation = 1
				contrast = 1
				tintColor = 1,1,1,0
				texTiling = 80
				texPower = 0.75
				multiPower = 0.75
				groundTexStart = 0
				groundTexEnd = 20000
				steepTiling = 150
				steepPower = 2
				steepTexStart = 200000
				steepTexEnd = 300000
				mainTex = BUILTIN/RockyGround
				mainTexScale = 1,1
				mainTexOffset = 0,0
				steepTex = OPX-SarnusPlus/Textures/PluginData/cliff2.dds
				steepTexNrm = OPX-SarnusPlus/Textures/PluginData/cliff2_normal.dds
				steepTexScale = 1,1
				steepTexOffset = 0,0
				mainStart = 0
				mainEnd = 1
				planetOpacity = 1
			}
            Mods
            {
			    LandControl
				{
					altitudeBlend = 0
					altitudeFrequency = 1
					altitudeOctaves = 1
					altitudePersistance = 1
					altitudeSeed = 1
					createColors = False
					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 = 9999986
					enabled = True
					altitudeSimplex
					{
						frequency = 1
						octaves = 1
						persistence = 1
					}
					latitudeSimplex
					{
						frequency = 1
						octaves = 1
						persistence = 1
					}
					longitudeSimplex
					{
						frequency = 1
						octaves = 1
						persistence = 1
					}
					landClasses
					{
						Class
			            {
							alterApparentHeight = 0
							alterRealHeight = 0
							color = 0.694029808,0.631407022,0.473202139,1
							coverageBlend = 1
							coverageFrequency = 2
							coverageOctaves = 4
							coveragePersistance = 0.5
							coverageSeed = 121214
							name = Base
							latDelta = 1
							latitudeDouble = True
							lonDelta = 1
							minimumRealHeight = 0
							noiseBlend = 0.5
							noiseColor = 0.604477644,0.582080245,0.454414994,1
							noiseFrequency = 8
							noiseOctaves = 4
							noisePersistance = 0.5
							noiseSeed = 453737
							delete = False
							altitudeRange
							{
								endEnd = 0.0199999995529652
								endStart = 0.00499999988824129
								startEnd = 0
								startStart = -0.0500000007450581
							}
							coverageSimplex
							{
								frequency = 2
								octaves = 4
								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 = 8
								octaves = 4
								persistence = 0.5
							}
							scatters
							{
								Scatter
								{
									density = 0.5
									scatterName = Rock00
								}
							}
						}
					}
					scatters
					{
						Scatter
						{
							materialType = BumpedDiffuse
							mesh = BUILTIN/boulder
							castShadows = True
							densityFactor = 0.55
							maxCache = 512
							maxCacheDelta = 32
							maxLevelOffset = 0
							maxScale = 0.8
							maxScatter = 50
							maxSpeed = 1000
							minScale = 0.1
							recieveShadows = True
							name = Rock00
							seed = 231123
							verticalOffset = -1.25
							delete = False
							collide = True
							science = False
							Material
							{
								color = 0.33,0.28,0.21,1
								mainTex = OPX-SarnusPlus/Textures/PluginData/rock
								mainTexScale = 1,1
								mainTexOffset = 0,0
								bumpMap = OPX-SarnusPlus/Textures/PluginData/rock_normal
								bumpMapScale = 1,1
								bumpMapOffset = 0,0
							}
							Experiment
							{
							}
						}
					}
				}
                VertexColorMap
                {
                    map = OPX-SarnusPlus/Textures/PluginData/Phabus_Color.png
                    order = 500
                    enabled = true
                }
                VertexHeightMap
                {
                    map = OPX-SarnusPlus/Textures/PluginData/Phabus_Height.png
                    offset = 0
                    deformity = 1800
                    scaleDeformityByRadius = false
                    order = 20
                    enabled = true
                }
				VertexHeightOffset
				{
					offset = 500
					enabled = true
					order = 100
				}
				VoronoiCraters
				{
					deformation = 200
					voronoiSeed = 824
					voronoiDisplacement = 0
					voronoiFrequency = 3
					CraterCurve
					{
						key = -0.9982381 -0.7411783 -0.06500059 -0.06500059
						key = -0.9332262 -0.7678316 -0.2176399 -0.2176399
						key = -0.8990405 -0.7433339 -2.560626 -2.560626
						key = -0.7445966 -0.8581167 0.4436148 0.4436148
						key = -0.4499771 -0.1392395 5.289535 5.289535
						key = -0.4015177 0.2551735 9.069458 -2.149609
						key = -0.2297457 0.002857953 -0.4453675 -0.4453675
						key = 0.2724952 0.00423781 -0.01884932 -0.01884932
						key = 0.9998434 -0.004090764 0.01397126 0.01397126
					}
					simplexSeed = 123123
					simplexOctaves = 3
					simplexPersistence = 0.5
					simplexFrequency = 120
					jitter = 0.1
					jitterHeight = 3
					JitterCurve
					{
						key = -1.000701 0.4278412 0.1577609 0.1577609
						key = -0.7884969 0.09487452 -0.7739663 -0.7739663
						key = -0.6091803 0.072019 0.123537 0.123537
						key = -0.3930514 0.3903495 3.300831 3.300831
						key = -0.3584836 0.8643304 0.07139917 0.07139917
						key = -0.2988068 0.002564805 -0.01814346 -0.01814346
						key = 0.9970253 0.003401639 0 0
					}
					rFactor = 1
					rOffset = 1
					colorOpacity = 0.7
					DebugColorMapping = False
					enabled = True
					order = 100
				}
				VertexSimplexNoiseColor
				{
					seed = 123
					blend = 1
					colorStart = 0.2, 0.15, 0.1, 1.0
					colorEnd = 0.5, 0.45, 0.4, 1.0
					octaves = 20
					persistence = 0.5
					frequency = 3
					enabled = true
					order = 100
				}
			}
		}
	}
}
