Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Randomly places and rotates decals onto a map.
- RandomMapDecal
- {
- seed = 358943
- //Seed for the "random" placement and size distribution.
- colorMap = MyTerrificMod/PluginData/MunarCraterPeakWithEjecta.png
- blend = 0.6
- //The color map is blended in at 60%.
- heightMap = MyTerrificMod/PluginData/MunarCraterPeak.png
- //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.
- minRadius = 600
- maxRadius = 1000
- //There will be craters anywhere between 600 meters and 1 kilometers in radius.
- minDeformity = 300
- maxDeformity = 400
- //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).
- frequency = 15
- //There will be 15 copies of the decal.
- order = 10
- }
- //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