Add weather audio cues
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user