Add weather audio cues

This commit is contained in:
2026-05-16 01:58:05 -07:00
parent dddac97658
commit 08a1df6ebe
7 changed files with 324 additions and 4 deletions
+8 -1
View File
@@ -74,6 +74,13 @@ DEMO_ACTORS = [
"fixed_z": 12000.0,
"rotation": unreal.Rotator(-42.0, -35.0, 0.0),
},
{
"label": "AGR_DemoWeatherAudioController",
"class": unreal.AgrarianWeatherAudioController,
"location_xy": unreal.Vector(-18000.0, -7000.0, 0.0),
"fixed_z": 11800.0,
"rotation": unreal.Rotator(0.0, 0.0, 0.0),
},
{
"label": "AGR_DemoNoticeActor",
"class": unreal.AgrarianDemoNoticeActor,
@@ -322,7 +329,7 @@ def spawn_foliage_actor(height_values):
reserved_points = [
spec["location_xy"]
for spec in DEMO_ACTORS
if spec["label"] not in {"AGR_DemoSkyLightingController", "AGR_DemoNoticeActor"}
if spec["label"] not in {"AGR_DemoSkyLightingController", "AGR_DemoWeatherAudioController", "AGR_DemoNoticeActor"}
]
foliage_actor = unreal.AgrarianEditorAutomationLibrary.spawn_actor_in_editor_world(