Just a gigantic mountain was made when I used this mod. For n00bs like me: after installing the mod, create a new map - but don't start the game yet. First click "Select mods" and enable the "Just a mountain" mod. Then the mountain will be generated. Note that it works slightly differently depending on the version of mapgen, and there are a couple of settings added to control the position of the mountain.
In the code, I turned mountain_base_xdim and mountain_base_zdim into settings, and this mostly worked to change the size - however, the sides of the mountain are being cut off. This is probably because the starting height, perhaps other parameters in the calculation also need to be changed. A little bit of guidance on this would be much appreciated.
Also, I think this code could be an excellent starting point for a tutorial on mapgen coding. I'm trying to add random treasure chests and diamonds buried into the rock.
Just a gigantic mountain was made when I used this mod. For n00bs like me: after installing the mod, create a new map - but don't start the game yet. First click "Select mods" and enable the "Just a mountain" mod. Then the mountain will be generated. Note that it works slightly differently depending on the version of mapgen, and there are a couple of settings added to control the position of the mountain.
In the code, I turned
mountain_base_xdimandmountain_base_zdiminto settings, and this mostly worked to change the size - however, the sides of the mountain are being cut off. This is probably because the starting height, perhaps other parameters in the calculation also need to be changed. A little bit of guidance on this would be much appreciated.Also, I think this code could be an excellent starting point for a tutorial on mapgen coding. I'm trying to add random treasure chests and diamonds buried into the rock.