Add Ground Zero water source
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user