Files
PythonInUnreal/Content/Python/terrain_config.json
T
2026-09-05 02:41:29 +02:00

56 lines
1.3 KiB
JSON

{
"terrain": {
"location": [0.0, 0.0, 0.0],
"size_x": 8000.0,
"size_y": 8000.0,
"resolution": 96,
"height_scale": 600.0,
"dest_path": "/Game/ImportedAssets/Terrain",
"asset_name": "SM_ProceduralTerrain",
"noise": {
"seed": 1337,
"octaves": 5,
"frequency": 0.00035,
"lacunarity": 2.0,
"gain": 0.5
}
},
"scatter_layers": [
{
"name": "Trees",
"meshes": [
"/Game/ImportedAssets/Trees/SM_tree01",
"/Game/ImportedAssets/Trees/SM_tree02",
"/Game/ImportedAssets/Trees/SM_tree03",
"/Game/ImportedAssets/Trees/SM_tree04"
],
"count": 250,
"min_height": -50.0,
"max_height": 350.0,
"max_slope_degrees": 25.0,
"min_scale": 0.85,
"max_scale": 1.3,
"align_to_normal": true,
"min_spacing": 250.0,
"seed": 7
},
{
"name": "Rocks",
"meshes": [
"/Game/ImportedAssets/Rocks/SM_rock1",
"/Game/ImportedAssets/Rocks/SM_rock2",
"/Game/ImportedAssets/Rocks/SM_rock3"
],
"count": 150,
"min_height": -100.0,
"max_height": 600.0,
"max_slope_degrees": 45.0,
"min_scale": 0.5,
"max_scale": 2.0,
"align_to_normal": true,
"min_spacing": 150.0,
"seed": 42
}
]
}