Add Ground Zero water source

This commit is contained in:
2026-05-14 07:20:32 -07:00
parent 8d20a90e02
commit 65d43839c8
10 changed files with 182 additions and 5 deletions
+14
View File
@@ -179,6 +179,17 @@ BIOME_RESOURCE_ACTORS = [
]
WATER_SOURCE_ACTORS = [
{
"label": "AGR_GZ_FreshWaterSource_01",
"class_path": "/Game/Agrarian/Blueprints/World/BP_FreshWaterSource",
"location_xy": unreal.Vector(-7200.0, 10400.0, 0.0),
"z_offset": 36.0,
"rotation": unreal.Rotator(0.0, 0.0, 0.0),
},
]
FOLIAGE_ZONES = {
"trees": {
"count": 42,
@@ -395,6 +406,7 @@ def main():
labels = {spec["label"] for spec in DEMO_ACTORS}
labels.update(spec["label"] for spec in BIOME_RESOURCE_ACTORS)
labels.update(spec["label"] for spec in WATER_SOURCE_ACTORS)
labels.add(FOLIAGE_LABEL)
remove_existing_demo_actors(labels)
@@ -402,6 +414,8 @@ def main():
spawn_foliage_actor(height_values)
for spec in BIOME_RESOURCE_ACTORS:
spawn_demo_actor(spec, height_values)
for spec in WATER_SOURCE_ACTORS:
spawn_demo_actor(spec, height_values)
for spec in DEMO_ACTORS:
spawn_demo_actor(spec, height_values)