Files
PythonInUnreal/Content/Python/terrain_config.json
T
2026-09-05 03:19:55 +02:00

72 lines
1.7 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"
],
"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
}
],
"explicit_placements": [
{
"name": "LandmarkTree_Overlook",
"mesh": "/Game/ImportedAssets/Trees/SM_tree01",
"location": [1200.0, 800.0, 0.0],
"snap_to_terrain": true,
"rotation": [0.0, 0.0, 30.0],
"scale": 2.5
},
{
"name": "RockCairn_Waypoint",
"mesh": "/Game/ImportedAssets/Rocks/SM_rock1",
"location": [-1500.0, -600.0, 0.0],
"snap_to_terrain": true,
"rotation": [0.0, 0.0, 0.0],
"scale": [1.0, 1.0, 1.8]
}
]
}