Design layered shapes
parent
efc7ddb4e5
commit
0b18b33674
157
mapgen.lua
157
mapgen.lua
|
@ -22,55 +22,101 @@ end
|
||||||
|
|
||||||
-- SHAPES
|
-- SHAPES
|
||||||
|
|
||||||
|
-- Layer 1: Deepslate layer
|
||||||
|
|
||||||
ns_cavegen.register_shape({
|
ns_cavegen.register_shape({
|
||||||
name = "ns_vl_caves:bubbles_many",
|
name = "ns_vl_caves:layer_1_bulbs",
|
||||||
noise_params = {
|
noise_params = {
|
||||||
offset = 0,
|
offset = 0,
|
||||||
scale = 0.8,
|
scale = 1,
|
||||||
spread = { x = 30, y = 30, z = 30 },
|
spread = { x = 30, y = 10, z = 30 },
|
||||||
seed = 364802,
|
seed = 90658795,
|
||||||
octaves = 1,
|
octaves = 3,
|
||||||
persistence = 0.2,
|
persistence = 0.75,
|
||||||
lacunarity = 1.0,
|
lacunarity = 0.8,
|
||||||
flags = "eased",
|
|
||||||
},
|
|
||||||
connectivity_point = 44,
|
|
||||||
verticality_point = 37,
|
|
||||||
})
|
|
||||||
ns_cavegen.register_shape({
|
|
||||||
name = "ns_vl_caves:bubbles",
|
|
||||||
noise_params = {
|
|
||||||
offset = 0.2,
|
|
||||||
scale = 0.6,
|
|
||||||
spread = { x = 100, y = 100, z = 100 },
|
|
||||||
seed = 248039,
|
|
||||||
octaves = 2,
|
|
||||||
persistence = 0.6,
|
|
||||||
lacunarity = 2.0,
|
|
||||||
flags = "eased"
|
flags = "eased"
|
||||||
},
|
},
|
||||||
connectivity_point = 10,
|
y_max = -100,
|
||||||
verticality_point = 20,
|
y_min = -900,
|
||||||
|
connectivity_point = 71,
|
||||||
|
verticality_point = 43,
|
||||||
|
})
|
||||||
|
ns_cavegen.register_shape({
|
||||||
|
name = "ns_vl_caves:layer_1_pods",
|
||||||
|
noise_params = {
|
||||||
|
offset = -10,
|
||||||
|
scale = 11,
|
||||||
|
spread = { x = 5, y = 10, z = 5 },
|
||||||
|
seed = 90658795,
|
||||||
|
octaves = 2,
|
||||||
|
persistence = 0.75,
|
||||||
|
lacunarity = 0.8,
|
||||||
|
flags = "eased"
|
||||||
|
},
|
||||||
|
y_max = -100,
|
||||||
|
y_min = -900,
|
||||||
|
connectivity_point = 8,
|
||||||
|
verticality_point = 23,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
-- Layer 2: Leagueschist layer
|
||||||
|
|
||||||
ns_cavegen.register_shape({
|
ns_cavegen.register_shape({
|
||||||
name = "ns_vl_caves:cliffs",
|
name = "ns_vl_caves:layer_2_bulbs",
|
||||||
noise_params = {
|
noise_params = {
|
||||||
offset = -0.3,
|
offset = 0,
|
||||||
scale = 0.7,
|
scale = 1,
|
||||||
spread = { x = 40, y = 300, z = 10 },
|
spread = { x = 30, y = 10, z = 30 },
|
||||||
seed = 1012434,
|
seed = 90658795,
|
||||||
octaves = 3,
|
octaves = 3,
|
||||||
persistence = 0.3,
|
persistence = 0.75,
|
||||||
lacunarity = 3.0,
|
lacunarity = 0.8,
|
||||||
|
flags = "eased"
|
||||||
|
},
|
||||||
|
y_max = -1000,
|
||||||
|
y_min = -1950,
|
||||||
|
connectivity_point = 71,
|
||||||
|
verticality_point = 43,
|
||||||
|
})
|
||||||
|
ns_cavegen.register_shape({
|
||||||
|
name = "ns_vl_caves:layer_2_swirls",
|
||||||
|
noise_params = {
|
||||||
|
offset = 0,
|
||||||
|
scale = 1,
|
||||||
|
spread = { x = 10, y = 50, z = 10 },
|
||||||
|
seed = 19220,
|
||||||
|
octaves = 3,
|
||||||
|
persistence = 0.9,
|
||||||
|
lacunarity = 0.9,
|
||||||
flags = "eased",
|
flags = "eased",
|
||||||
},
|
},
|
||||||
connectivity_point = 18,
|
y_max = -900,
|
||||||
verticality_point = 96,
|
y_min = -2100,
|
||||||
|
connectivity_point = 38,
|
||||||
|
verticality_point = 63,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
-- Layer 3: Bandgneiss layer
|
||||||
|
|
||||||
ns_cavegen.register_shape({
|
ns_cavegen.register_shape({
|
||||||
name = "ns_vl_caves:horizontal_spaghetti",
|
name = "ns_vl_caves:layer_3_cliffs",
|
||||||
|
noise_params = {
|
||||||
|
offset = 0,
|
||||||
|
scale = 1,
|
||||||
|
spread = { x = 50, y = 200, z = 50 },
|
||||||
|
seed = 1854392,
|
||||||
|
octaves = 3,
|
||||||
|
persistence = 0.8,
|
||||||
|
lacunarity = 3.0,
|
||||||
|
flags = "",
|
||||||
|
},
|
||||||
|
y_max = -1500,
|
||||||
|
y_min = -3000,
|
||||||
|
connectivity_point = 45,
|
||||||
|
verticality_point = 89,
|
||||||
|
})
|
||||||
|
ns_cavegen.register_shape({
|
||||||
|
name = "ns_vl_caves:layer_3_horizontal_spaghetti",
|
||||||
noise_params = {
|
noise_params = {
|
||||||
offset = -0.3,
|
offset = -0.3,
|
||||||
scale = 0.7,
|
scale = 0.7,
|
||||||
|
@ -81,12 +127,30 @@ ns_cavegen.register_shape({
|
||||||
lacunarity = 3.0,
|
lacunarity = 3.0,
|
||||||
flags = "eased",
|
flags = "eased",
|
||||||
},
|
},
|
||||||
|
y_max = -2250,
|
||||||
|
y_min = -3000,
|
||||||
connectivity_point = 83,
|
connectivity_point = 83,
|
||||||
verticality_point = 5,
|
verticality_point = 5,
|
||||||
})
|
})
|
||||||
|
|
||||||
ns_cavegen.register_shape({
|
ns_cavegen.register_shape({
|
||||||
name = "ns_vl_caves:sideways_spaghetti",
|
name = "ns_vl_caves:layer_3_open_space",
|
||||||
|
noise_params = {
|
||||||
|
offset = 0.75,
|
||||||
|
scale = 0.3,
|
||||||
|
spread = { x = 100, y = 100, z = 100 },
|
||||||
|
seed = 333078,
|
||||||
|
octaves = 1,
|
||||||
|
persistence = 0.1,
|
||||||
|
lacunarity = 10.0,
|
||||||
|
flags = "",
|
||||||
|
},
|
||||||
|
y_max = -2250,
|
||||||
|
y_min = -2800,
|
||||||
|
connectivity_point = 100,
|
||||||
|
verticality_point = 100,
|
||||||
|
})
|
||||||
|
ns_cavegen.register_shape({
|
||||||
|
name = "ns_vl_caves:layer_3_sideways_spaghetti",
|
||||||
noise_params = {
|
noise_params = {
|
||||||
offset = -0.3,
|
offset = -0.3,
|
||||||
scale = 0.7,
|
scale = 0.7,
|
||||||
|
@ -97,10 +161,31 @@ ns_cavegen.register_shape({
|
||||||
lacunarity = 3.0,
|
lacunarity = 3.0,
|
||||||
flags = "eased",
|
flags = "eased",
|
||||||
},
|
},
|
||||||
|
y_min = -2250,
|
||||||
|
y_max = -3000,
|
||||||
connectivity_point = 82,
|
connectivity_point = 82,
|
||||||
verticality_point = 4,
|
verticality_point = 4,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
-- ns_cavegen.register_shape({
|
||||||
|
-- name = "ns_vl_caves:bubbles",
|
||||||
|
-- noise_params = {
|
||||||
|
-- offset = 0.2,
|
||||||
|
-- scale = 0.6,
|
||||||
|
-- spread = { x = 100, y = 100, z = 100 },
|
||||||
|
-- seed = 248039,
|
||||||
|
-- octaves = 2,
|
||||||
|
-- persistence = 0.6,
|
||||||
|
-- lacunarity = 2.0,
|
||||||
|
-- flags = "eased"
|
||||||
|
-- },
|
||||||
|
-- connectivity_point = 10,
|
||||||
|
-- verticality_point = 20,
|
||||||
|
-- })
|
||||||
|
|
||||||
-- BIOMES
|
-- BIOMES
|
||||||
|
|
||||||
-- ns_cavegen.register_biome({
|
-- ns_cavegen.register_biome({
|
||||||
|
|
Loading…
Reference in New Issue