Hi!
-I am trying to make a biome that generates a world with a single giant mountain somewhere near the middle of the map, and surrounded only by small hills/mini-mountains, and vast planes.
I’d appreciate the help (=
Anorien biome .Json: anorien.zip (2.6 KB)
I mostly get this pattern, though I change the parameters/variables
A biome generating a high mountain like the one below would be fine! (=
I have come so far as getting the mountains high, but I just can’t seem
to make the terrain around it low, and with less mountains…
{
"alias": "stonehearth:biome:anorien",
"display_name": "i18n(don_mod:data.biome.anorien.display_name)",
"description": "i18n(don_mod:data.biome.anorien.description)",
"random_location_names": [
"i18n(don_mod:data.biome.anorien.random_location_names.000)",
"i18n(don_mod:data.biome.anorien.random_location_names.001)",
"i18n(don_mod:data.biome.anorien.random_location_names.002)",
"i18n(don_mod:data.biome.anorien.random_location_names.003)"
],
"image": "file(images/anorien_400x300.png)",
"story_board_image": "file(images/anorien_story_board.png)",
"game_mode_images": {
"stonehearth:game_mode:normal": "file(images/anorien_story_normal.png)"
},
"mining_loot_table": "file(anorien_mining_loot_table.json)",
"__comment": "parameters for generating forest, flora, and water",
"ring_tesselation": {
"dirt": [
{
"width": 8,
"name": "dirt_edge_1"
}
],
"grass": [
{
"width": 4,
"name": "grass_edge_1"
},
{
"width": 6,
"name": "grass_edge_2"
}
],
"grass_hills": [
{
"width": 3,
"name": "grass_hills_edge_1"
},
{
"width": 5,
"name": "grass_hills_edge_2"
}
]
},
"season": "spring",
"palettes": {
"spring": {
"null": "#ff00ff",
"unknown": "#25221a",
"bedrock": "#514e45",
"rock_layer_1": "#6B6860",
"rock_layer_2": "#76726b",
"rock_layer_3": "#82807b",
"rock_layer_4": "#918d86",
"rock_layer_5": "#b3b0aa",
"rock_layer_6": "#c1c0bb",
"rock_layer_7": "#c1c0bb",
"rock_layer_8": "#c1c0bb",
"soil_light": "#918154",
"soil_dark": "#807147",
"dirt": "#B3A16E",
"dirt_edge_1": "#A29161",
"grass": "#8BB270",
"grass_edge_1": "#AFCC7C",
"grass_edge_2": "#9DBF76",
"grass_hills": "#75b370",
"grass_hills_edge_1": "#99ce7c",
"grass_hills_edge_2": "#87c076",
"copper_ore": "#c87533",
"tin_ore": "#b0a080",
"iron_ore": "#90b0d0",
"silver_ore": "#cccccc",
"gold_ore": "#ffd700",
"coal": "#021c24"
}
},
"terrain": {
"__comment": "minimum height for surface of terrain",
"noise_map_settings": {
"octaves": 4,
"persistence_ratio": 0.015,
"bandlimit": 1,
"__comment": "can stretch the terrain vertically to allow for long mountain ridges",
"aspect_ratio": 1
},
"plains_percentage": 40,
"height_base": 36,
"__comments": {
"valley_count": "offset of layers from base",
"step_count": "number of layers",
"step_size": "size of layer, for foothills and mountains this has to be multiple of 5"
},
"plains": {
"step_size": 1,
"valley_count": 2,
"step_count": 4
},
"foothills": {
"step_size": 5,
"step_count": 1
},
"mountains": {
"step_size": 25,
"step_count": 7
}
},
"terrain_detailer": {
"mountains": {
"__comment": "determines the height of the first layer",
"depth_function": {
"octaves": 4,
"persistence_ratio": 0.2,
"amplitude": 1,
"layer_thickness": 1,
"layer_count": 2,
"__comment": "determines how many adjacent blocks have the same depth",
"unit_length": 1
},
"height_function": {
"octaves": 6,
"persistence_ratio": 0.1,
"amplitude": 25,
"layer_thickness": 1,
"__comment": "determines how many adjacent blocks have the same depth",
"unit_length": 9
}
},
"foothills": {
"depth_function": {
"octaves": 4,
"persistence_ratio": 0.2,
"amplitude": 2.5,
"layer_thickness": 1,
"layer_count": 2,
"unit_length": 6
},
"height_function": {
"octaves": 4,
"persistence_ratio": 0.1,
"amplitude": 2.5,
"layer_thickness": 3,
"unit_length": 8
}
},
"plains": {
"depth_function": {
"layer_thickness": 1,
"layer_count": 1,
"unit_length": 8
},
"height_function": {
"layer_thickness": 1,
"unit_length": 8
}
}
},
"landscape": {
"placement_table": {
"stonehearth:trees:oak:small": {
"placement_type": "dense",
"parameters": {
"grid_multiple": 2,
"item_density": 0.5,
"exclusion_radius": 2
},
"mountains": {
"placement_type": "single",
"parameters": {
"ground_radius": 2,
"exclusion_radius": 3
}
}
},
"stonehearth:trees:oak:medium": {
"placement_type": "single",
"parameters": {
"ground_radius": 2,
"exclusion_radius": 4
}
},
"stonehearth:trees:oak:large": {
"placement_type": "single",
"parameters": {
"ground_radius": 3,
"exclusion_radius": 5
}
},
"stonehearth:trees:oak:ancient": {
"placement_type": "single",
"parameters": {
"ground_radius": 4,
"exclusion_radius": 8
}
},
"stonehearth:trees:pine:small": {
"placement_type": "dense",
"parameters": {
"grid_multiple": 2,
"item_density": 0.5,
"exclusion_radius": 2
},
"mountains": {
"placement_type": "single",
"parameters": {
"ground_radius": 1,
"exclusion_radius": 3
}
}
},
"stonehearth:trees:pine:medium": {
"placement_type": "single",
"parameters": {
"ground_radius": 1,
"exclusion_radius": 4
},
"mountains": {
"placement_type": "single",
"parameters": {
"ground_radius": 1,
"exclusion_radius": 3
}
}
},
"stonehearth:trees:pine:large": {
"placement_type": "single",
"parameters": {
"ground_radius": 2,
"exclusion_radius": 5
}
},
"stonehearth:plants:brightbell": {
"placement_type": "dense",
"parameters": {
"grid_multiple": 4,
"item_density": 0.1,
"exclusion_radius": 1
},
"mountains": {
"placement_type": "single",
"parameters": {
"ground_radius": 1,
"exclusion_radius": 3
}
}
},
"stonehearth:plants:frostsnap": {
"placement_type": "dense",
"parameters": {
"grid_multiple": 4,
"item_density": 0.2,
"exclusion_radius": 1
}
},
"stonehearth:plants:silkweed": {
"placement_type": "dense",
"parameters": {
"grid_multiple": 4,
"item_density": 0.1,
"exclusion_radius": 1
}
},
"stonehearth:plants:berry_bush": {
"placement_type": "pattern",
"parameters": {
"min_rows": 2,
"max_rows": 2,
"min_cols": 2,
"max_cols": 3,
"item_spacing": 5,
"item_density": 0.9
}
},
"stonehearth:boulder:small": {
"placement_type": "dense",
"parameters": {
"grid_multiple": 4,
"item_density": 0.1,
"exclusion_radius": 1
}
},
"stonehearth:boulder:medium_1": {
"placement_type": "single",
"parameters": {
"ground_radius": 1,
"exclusion_radius": 2
}
},
"stonehearth:boulder:medium_2": {
"placement_type": "single",
"parameters": {
"ground_radius": 1,
"exclusion_radius": 2
}
},
"stonehearth:boulder:medium_3": {
"placement_type": "single",
"parameters": {
"ground_radius": 1,
"exclusion_radius": 2
}
},
"stonehearth:boulder:large_1": {
"placement_type": "single",
"parameters": {
"ground_radius": 2,
"exclusion_radius": 3
}
},
"stonehearth:boulder:large_2": {
"placement_type": "single",
"parameters": {
"ground_radius": 2,
"exclusion_radius": 3
}
}
},
"trees": {
"__comment": "tree size variance. anything above 0 will be considered as tree placement, and the size of the tree is determined within the sizes node declared above",
"sizes": {
"stonehearth:trees:oak": {
"small": 0,
"medium": 4,
"large": 8,
"ancient": {
"percentage": 6
}
},
"stonehearth:trees:pine": {
"small": 0,
"medium": 4,
"large": 13
}
},
"weights": {
"plains": {
"1": {
"stonehearth:trees:oak": 1
}
},
"foothills": {
"1": {
"stonehearth:trees:oak": 1,
"stonehearth:trees:pine": 3
},
"2": {
"stonehearth:trees:oak": 1,
"stonehearth:trees:pine": 2
}
},
"mountains": {
"1": {
"stonehearth:trees:pine": 4
},
"2": {
"stonehearth:trees:pine": 2
}
}
},
"noise_map_parameters": {
"__comment": "gaussian function",
"mean_offset": {
"__comment": "boundary of terrain type",
"boundary": -5,
"water": 40
},
"terrain_based": {
"plains": {
"1": {
"density": 0,
"mean": -40,
"std_dev": 0
},
"2": {
"density": 1,
"mean": -5,
"std_dev": 50
}
},
"foothills": {
"1": {
"density": 0.9,
"mean": 15,
"std_dev": 15
},
"2": {
"density": 0.7,
"mean": 8,
"std_dev": 20
}
},
"mountains": {
"1": {
"density": 0.7,
"mean": 8,
"std_dev": 20
},
"2": {
"density": 0.5,
"mean": 0,
"std_dev": 30
},
"3": {
"density": 0.3,
"mean": -8,
"std_dev": 40
}
}
}
}
},
"berries": {
"placement": {
"function": "gaussian",
"mean": -50,
"std_dev": 30,
"__comment": "offset of mean near different terrain/landscape",
"mean_offset": {
"tree": 100,
"water": 0,
"boundary": 0
},
"density": {
"plains": 0.6,
"foothills": 0.8,
"mountains": 0
}
}
},
"scattered": {
"plants": {
"__comment": "for example, a small probability with a large density would be more clustered than a large probability with small density.",
"weights": {
"plains": {
"1": {
"stonehearth:plants:brightbell": 1,
"stonehearth:plants:silkweed": 1.5
}
},
"foothills": {
"1": {
"stonehearth:plants:frostsnap": 1,
"stonehearth:plants:brightbell": 7,
"stonehearth:plants:silkweed": 1
},
"2": {
"stonehearth:plants:frostsnap": 1,
"stonehearth:plants:brightbell": 1
}
},
"mountains": {
"1": {
"stonehearth:plants:frostsnap": 1
},
"3": {
"stonehearth:plants:frostsnap": 1
}
}
},
"noise_map_parameters": {
"terrain_based": {
"plains": {
"1": {
"probability": 0,
"density": 0.6
},
"2": {
"probability": 0.35,
"density": 0.8
}
},
"foothills": {
"1": {
"probability": 0.35,
"density": 0.7
}
},
"mountains": {
"1": {
"probability": 0.2,
"density": 0.7
}
}
}
}
},
"boulders": {
"noise_map_parameters": {
"__comment": "Same as noise map parameters of plants. this is after trees, water, berries and plants are generated",
"terrain_based": {
"plains": {
"1": {
"probability": 0,
"density": 0.5
},
"2": {
"probability": 0.35,
"density": 0.7
}
},
"foothills": {
"1": {
"probability": 0.15,
"density": 0.8
}
},
"mountains": {
"1": {
"probability": 0,
"density": 0.8
}
}
}
},
"__comments": "approximation of percentage thresholds of boulder sizes",
"cutoffs": {
"small": 0.2,
"medium": 0.4
}
}
},
"water": {
"__comment": "placement of water bodies occur at positive samples, parameters are for a standard simplex noise generator",
"depth": {
"shallow": 5,
"deep": 10
},
"noise_map_settings": {
"__comment": "simplex noise function",
"persistence_ratio": 0.01,
"bandlimit": 4,
"octaves": 4,
"range": 80,
"aspect_ratio": 1.2,
"mean": {
"plains": -5,
"foothills": -20,
"mountains": -18
}
}
}
}
}