GregroxMun

random map decal suggestion

Dec 30th, 2016
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. //Randomly places and rotates decals onto a map.
  2. RandomMapDecal
  3. {
  4. seed = 358943
  5. //Seed for the "random" placement and size distribution.
  6. colorMap = MyTerrificMod/PluginData/MunarCraterPeakWithEjecta.png
  7. blend = 0.6
  8. //The color map is blended in at 60%.
  9. heightMap = MyTerrificMod/PluginData/MunarCraterPeak.png
  10. //The heightmap and colormap for each decal is set as a crater map. Each decal's height and color are rotated and placed the same.
  11. minRadius = 600
  12. maxRadius = 1000
  13. //There will be craters anywhere between 600 meters and 1 kilometers in radius.
  14. minDeformity = 300
  15. maxDeformity = 400
  16. //The smallest craters will have a depth of 300 meters, the biggest will be 400 meters deep, and a crater that is 800 (halfway between 600 and 1000) meters in radius will have a depth of 350 meters (halfway between 300 and 400).
  17. frequency = 15
  18. //There will be 15 copies of the decal.
  19. order = 10
  20. }
  21. //This can be used in combination with more of these pqsmods, perhaps with different heightmaps, to add craters in a more realistic distribution of sizes and locations. Real craters don't form nice and orderly voronoi cells.
Add Comment
Please, Sign In to add comment