GregroxMun

Laythe.cfg

Nov 22nd, 2015
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.18 KB | None | 0 0
  1. @Kopernicus:FOR[AlternisKerbol]
  2. {
  3. @Body[Laythe]
  4. {
  5. @Atmosphere
  6. {
  7. // effectively the ambient lighting color for all objects on the ground of this body (provides a slight tint)
  8. ambientColor = 0.075,0.08,0.095,1
  9.  
  10. // sets the waveLength property in the AtmosphereFromGround component of the scaled version
  11. // From my picking around in the KSP assemblies, it seems this is fed to the shader in this way:
  12. //
  13. // shader.invWaveLength = Color( 1 / r^4, 1 / g^4, 1 / b^4, 0.5);
  14. //
  15. // Obviously the code for the shader is not available, and I don't feel like picking through ARB shader IL so we'll need
  16. // to figure this out experiementally.
  17. lightColor = 0.730, 0.70, 0.640, 0.5
  18.  
  19. AtmosphereFromGround
  20. {
  21. outerRadiusMult = 1.032
  22. innerRadiusMult = 0.958
  23. waveLenth = 0.730, 0.70, 0.640, 0.5
  24. }
  25. }
  26. @Orbit
  27. {
  28. color = RGBA(38.25, 63.75, 12.75, 255)
  29. }
  30. @Properties
  31. {
  32. //tidallyLocked = true
  33.  
  34. biomeMap = AlternisKerbol/Laythe/PluginData/LaytheBiomes.png
  35.  
  36. Biomes
  37. {
  38. Biome
  39. {
  40. name = Ocean
  41. value = 1.0
  42. color = 0,0,0,1
  43. }
  44. Biome
  45. {
  46. name = Land
  47. value = 1.4
  48. color = 1,1,1,1
  49. }
  50. }
  51. @ScienceValues
  52. {
  53. landedDataValue = 3
  54. splashedDataValue = 3
  55. flyingLowDataValue = 2.5
  56. flyingHighDataValue = 2
  57. inSpaceLowDataValue = 1.5
  58. inSpaceHighDataValue = 1
  59. recoveryValue = 3
  60. }
  61. 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)
  62. }
  63. @ScaledVersion
  64. {
  65. Material
  66. {
  67. normals = AlternisKerbol/Laythe/Textures/Laythe_Normal
  68. texture = AlternisKerbol/Laythe/Textures/Laythe_Color
  69.  
  70. Gradient
  71. {
  72. 0.0 = 0.72549,0.81961,0.83529,1
  73. 0.6 = 0.0549,0.0784,0.141,1
  74. 1.0 = 0.0196,0.0196,0.0196,1
  75. }
  76. }
  77. }
  78. @Template
  79. {
  80. removeOcean = true
  81. }
  82. Ocean
  83. {
  84. maxQuadLengthsPerFrame = 0.03
  85. minLevel = 2
  86. maxLevel = 12
  87. minDetailDistance = 8
  88. oceanColor = #1E2028
  89.  
  90. Material
  91. {
  92. colorFromSpace = #1E2028
  93. color = 0.117,0.125,0.156,1.000
  94. shininess = 0.08
  95. }
  96.  
  97. FallbackMaterial
  98. {
  99. colorFromSpace = #1E2028
  100. color = 0.117,0.125,0.156,1.000
  101. }
  102.  
  103. Mods
  104. {
  105. AerialPerspectiveMaterial
  106. {
  107. globalDensity = -0.00001
  108. heightFalloff = 6.75
  109. atmosphereDepth = 150000
  110. DEBUG_SetEveryFrame = true
  111. cameraAlt = 0
  112. cameraAtmosAlt = 0
  113. heightDensAtViewer = 0
  114. enabled = true
  115. order = 100
  116. }
  117.  
  118. OceanFX
  119. {
  120.  
  121. framesPerSecond = 1
  122. spaceAltitude = 150000
  123. blendA = 0
  124. blendB = 0
  125. texBlend = 0
  126. angle = 0
  127. specColor = 0.117,0.125,0.156,1.000
  128. oceanOpacity = 0
  129. spaceSurfaceBlend = 0
  130. enabled = true
  131. order = 100
  132. }
  133. }
  134. }
  135. @PQS
  136. {
  137. materialType = AtmosphericMain
  138. Material
  139. {
  140. saturation = 1
  141. contrast = 4
  142. //tintColor = 0.173, 0.173, 0.173, 0.482
  143.  
  144. powerNear = 0.75
  145. powerFar = 0.75
  146.  
  147. groundTexStart = 0
  148. groundTexEnd = 10000
  149.  
  150. steepPower = 4
  151. steepTexStart = 10000
  152. steepTexEnd = 100000
  153. steepTex = BUILTIN/terrain_rock00
  154. steepBumpMap = BUILTIN/Cliff (Layered Rock)_NRM
  155. steepNearTiling = 1000
  156. steepTiling = 100
  157.  
  158. lowTex = BUILTIN/terrain_sand00
  159. lowBumpMap = BUILTIN/Waterbump
  160. lowNearTiling = 4000
  161. lowMultiFactor = 10
  162. lowBumpNearTiling = 4000
  163. lowBumpFarTiling = 10
  164.  
  165. midTex = BUILTIN/terrain_grass00_new
  166. midBumpMap = BUILTIN/cloud_normal
  167. midNearTiling = 4000
  168. midMultiFactor = 100
  169. midBumpNearTiling = 1000
  170. midBumpFarTiling = 100
  171.  
  172. highTex = BUILTIN/terrain_snow00
  173. highBumpMap = BUILTIN/05_NORMAL
  174. highNearTiling = 4000
  175. highMultiFactor = 4
  176. highBumpNearTiling = 2000
  177. highBumpFarTiling = 4
  178.  
  179. lowStart = 0.02
  180. lowEnd = 0.1
  181. highStart = 0.5
  182. highEnd = 1
  183.  
  184. globalDensity = -8E-06
  185. fogColorRamp = BUILTIN/AerialRampKerbin
  186. }
  187.  
  188. Mods
  189. {
  190. //VertexColorMap
  191. //{
  192. //map = AlternisKerbol/Laythe/Textures/newlaythe_dif.png
  193. //enabled = true
  194. //order = 200
  195. //}
  196. AltitudeAlpha
  197. {
  198. atmosphereDepth = 6000
  199. }
  200. VertexHeightMap
  201. {
  202. map = AlternisKerbol/Laythe/PluginData/laythe_newheight.png
  203. offset = -400
  204. deformity = 7000
  205. enabled = true
  206. }
  207. VertexHeightNoise
  208. {
  209. deformity = 250
  210. frequency = 8
  211. enabled = true
  212. }
  213.  
  214. LandControl
  215. {
  216. enabled = true
  217. useHeightMap = false
  218. order = 1000
  219. landClasses
  220. {
  221. Class
  222. {
  223. name = Mud
  224. color = 0.35, 0.25, 0.2, 1
  225. noiseColor = 0.26, 0.27, 0.15, 1
  226. noiseBlend = 0.8
  227. noiseFrequency = 20
  228. }
  229. Class
  230. {
  231. name = BaseLand
  232. color = 0.005040453, 0.006251684, 0.001055055, 1
  233. noiseColor = 0.14, 0.15, 0.02, 1
  234. noiseBlend = 0.2
  235. }
  236. Class
  237. {
  238. name = IceCaps
  239. latitudeRange
  240. {
  241. startStart = -10
  242. startEnd = -10
  243. endStart = 0.09
  244. endEnd = 0.1
  245. }
  246. }
  247. }
  248. }
  249. }
  250. }
  251. }
  252. }
  253.  
  254. @Kopernicus:FOR[AlternisKerbol]:NEEDS[GalacticNeighborhood]
  255. {
  256. @Body[Laythe]
  257. {
  258. @Properties
  259. {
  260. %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.
  261. }
  262. }
  263. }
Advertisement
Add Comment
Please, Sign In to add comment