Advertisement
GregroxMun

AsteroidGeneratorSettingsRandom

Aug 2nd, 2016
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. AsteroidGeneratorSettingsRandom
  2. {
  3. Radius = 16
  4. //Radius in kilometers
  5. Density = 1.2
  6. //1.1 for icy, 2 for rocky, 4 for rocky/metallic, 6 for metallic. Multiply for 10 to get Kerbalized version.
  7. //density times radius is gravity (in relative units)
  8. }
  9. @Kopernicus:FOR[Vernians]
  10. {
  11. Body
  12. {
  13. name = Random
  14. Template
  15. {
  16. name = Gilly
  17. }
  18. Properties
  19. {
  20. radius = 1
  21. @radius *= #$@AsteroidGeneratorSettingsRandom/Radius$
  22. @radius *= 1000
  23. geeASL = 1
  24. @geeASL *= #$@AsteroidGeneratorSettingsRandom/Radius$
  25. @geeASL /= 6371
  26. @geeASL *= #$@AsteroidGeneratorSettingsRandom/Density$
  27. }
  28. Orbit
  29. {
  30. referenceBody = Nartes
  31. }
  32. }
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement