Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Kopernicus:FOR[AlternisKerbol]
- {
- @Body[Laythe]
- {
- @Atmosphere
- {
- // effectively the ambient lighting color for all objects on the ground of this body (provides a slight tint)
- ambientColor = 0.075,0.08,0.095,1
- // sets the waveLength property in the AtmosphereFromGround component of the scaled version
- // From my picking around in the KSP assemblies, it seems this is fed to the shader in this way:
- //
- // shader.invWaveLength = Color( 1 / r^4, 1 / g^4, 1 / b^4, 0.5);
- //
- // Obviously the code for the shader is not available, and I don't feel like picking through ARB shader IL so we'll need
- // to figure this out experiementally.
- lightColor = 0.730, 0.70, 0.640, 0.5
- AtmosphereFromGround
- {
- outerRadiusMult = 1.032
- innerRadiusMult = 0.958
- waveLenth = 0.730, 0.70, 0.640, 0.5
- }
- }
- @Orbit
- {
- color = RGBA(38.25, 63.75, 12.75, 255)
- }
- @Properties
- {
- //tidallyLocked = true
- biomeMap = AlternisKerbol/Laythe/PluginData/LaytheBiomes.png
- Biomes
- {
- Biome
- {
- name = Ocean
- value = 1.0
- color = 0,0,0,1
- }
- Biome
- {
- name = Land
- value = 1.4
- color = 1,1,1,1
- }
- }
- @ScienceValues
- {
- landedDataValue = 3
- splashedDataValue = 3
- flyingLowDataValue = 2.5
- flyingHighDataValue = 2
- inSpaceLowDataValue = 1.5
- inSpaceHighDataValue = 1
- recoveryValue = 3
- }
- description = Long known as Kerbin's sister moon, Laythe was seeded with life hundreds of millions of years ago when a large asteroid struck Kerbin - catapulting boulders with various life forms into orbit around Jool. Given its proximity to Kerbin, some of this impact debris found its way to Laythe, depositing a precious cargo of microbes and, according to some theories, whole plant seeds. This life quickly spread across the moon, until it became the lush green world we know today.(There are, however, fringe theorists who believe that life started on Laythe and was brought to Kerbin, but that's just absurd)
- }
- @ScaledVersion
- {
- Material
- {
- normals = AlternisKerbol/Laythe/Textures/Laythe_Normal
- texture = AlternisKerbol/Laythe/Textures/Laythe_Color
- Gradient
- {
- 0.0 = 0.72549,0.81961,0.83529,1
- 0.6 = 0.0549,0.0784,0.141,1
- 1.0 = 0.0196,0.0196,0.0196,1
- }
- }
- }
- @Template
- {
- removeOcean = true
- }
- Ocean
- {
- maxQuadLengthsPerFrame = 0.03
- minLevel = 2
- maxLevel = 12
- minDetailDistance = 8
- oceanColor = #1E2028
- Material
- {
- colorFromSpace = #1E2028
- color = 0.117,0.125,0.156,1.000
- shininess = 0.08
- }
- FallbackMaterial
- {
- colorFromSpace = #1E2028
- color = 0.117,0.125,0.156,1.000
- }
- Mods
- {
- AerialPerspectiveMaterial
- {
- globalDensity = -0.00001
- heightFalloff = 6.75
- atmosphereDepth = 150000
- DEBUG_SetEveryFrame = true
- cameraAlt = 0
- cameraAtmosAlt = 0
- heightDensAtViewer = 0
- enabled = true
- order = 100
- }
- OceanFX
- {
- framesPerSecond = 1
- spaceAltitude = 150000
- blendA = 0
- blendB = 0
- texBlend = 0
- angle = 0
- specColor = 0.117,0.125,0.156,1.000
- oceanOpacity = 0
- spaceSurfaceBlend = 0
- enabled = true
- order = 100
- }
- }
- }
- @PQS
- {
- materialType = AtmosphericMain
- Material
- {
- saturation = 1
- contrast = 4
- //tintColor = 0.173, 0.173, 0.173, 0.482
- powerNear = 0.75
- powerFar = 0.75
- groundTexStart = 0
- groundTexEnd = 10000
- steepPower = 4
- steepTexStart = 10000
- steepTexEnd = 100000
- steepTex = BUILTIN/terrain_rock00
- steepBumpMap = BUILTIN/Cliff (Layered Rock)_NRM
- steepNearTiling = 1000
- steepTiling = 100
- lowTex = BUILTIN/terrain_sand00
- lowBumpMap = BUILTIN/Waterbump
- lowNearTiling = 4000
- lowMultiFactor = 10
- lowBumpNearTiling = 4000
- lowBumpFarTiling = 10
- midTex = BUILTIN/terrain_grass00_new
- midBumpMap = BUILTIN/cloud_normal
- midNearTiling = 4000
- midMultiFactor = 100
- midBumpNearTiling = 1000
- midBumpFarTiling = 100
- highTex = BUILTIN/terrain_snow00
- highBumpMap = BUILTIN/05_NORMAL
- highNearTiling = 4000
- highMultiFactor = 4
- highBumpNearTiling = 2000
- highBumpFarTiling = 4
- lowStart = 0.02
- lowEnd = 0.1
- highStart = 0.5
- highEnd = 1
- globalDensity = -8E-06
- fogColorRamp = BUILTIN/AerialRampKerbin
- }
- Mods
- {
- //VertexColorMap
- //{
- //map = AlternisKerbol/Laythe/Textures/newlaythe_dif.png
- //enabled = true
- //order = 200
- //}
- AltitudeAlpha
- {
- atmosphereDepth = 6000
- }
- VertexHeightMap
- {
- map = AlternisKerbol/Laythe/PluginData/laythe_newheight.png
- offset = -400
- deformity = 7000
- enabled = true
- }
- VertexHeightNoise
- {
- deformity = 250
- frequency = 8
- enabled = true
- }
- LandControl
- {
- enabled = true
- useHeightMap = false
- order = 1000
- landClasses
- {
- Class
- {
- name = Mud
- color = 0.35, 0.25, 0.2, 1
- noiseColor = 0.26, 0.27, 0.15, 1
- noiseBlend = 0.8
- noiseFrequency = 20
- }
- Class
- {
- name = BaseLand
- color = 0.005040453, 0.006251684, 0.001055055, 1
- noiseColor = 0.14, 0.15, 0.02, 1
- noiseBlend = 0.2
- }
- Class
- {
- name = IceCaps
- latitudeRange
- {
- startStart = -10
- startEnd = -10
- endStart = 0.09
- endEnd = 0.1
- }
- }
- }
- }
- }
- }
- }
- }
- @Kopernicus:FOR[AlternisKerbol]:NEEDS[GalacticNeighborhood]
- {
- @Body[Laythe]
- {
- @Properties
- {
- %description = Pansper is a large moon orbiting Meander. It has an oxygen atmosphere and a blue-green surface, indicating quite strongly the presence of life. It is believed that, due to the oxygen concentrations in Pansper compared to its sister moon Kibren, life started on Kibren and was brought to Pansper by means of swapping asteroids, although it is entirely possible that life started on Pansper and then went to Kibren. Either way, Panspermia's a heckuva thing.
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment