The geomorphs are easy to make. Start with a fill, which looks like this.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
{act = 'fill', node = 'air', coords = {1, 15, 21, 4, 10, 20}},
The coordinates are pairs describing the x, y, and z extents of the fill. In this case, we have a box at (x=1, y=21, z=10) with width (x)=15, height=4, and depth (z)=20. It will fill the box with air, creating a room.
Using many of those items, I constructed this:
You can, of course, specify any node to fill with. You can also specify a param2 setting to rotate a node (see the minetest lua_api.txt for specifics on rotation). However, rotation will not work correctly except in the y-axis (param2 < 4). I may add double-rotations later, but don't count on it.
Fills can specify a "line" or "floor" parameter, which creates a shell of the specified node around (usually) an air fill or a floor under it. This lets you place something other than stone in the walls, floor, and ceiling.
Finally, you can specify a "random" number to place things through a volume at random. The number is the denominator of the fraction of the volume you want filled (e.g. 2 for half the volume).
The "act" parameter can also be "stair" or "ladder". See the plans.lua file for examples. Stairs are placed with stone underneath and air overhead. Ladders require special rotation, which ranges from param2 = 2 to 5 (see my examples). Otherwise, they work just like fills.
My method for making geomorphs is to diagram them in
Inkscape on a document set to 80x80 pixels, like so:
This lets you see exactly what you're going to get. Plus, since each box is an svg object, you can select it and look at the inkscape toolbar to see its exact coordinates for entry into a fill item.
I've attached the
Inkscape document I use as a starter for all my plans.