Increase buffer around landing-zone

This aims to specifically tackle the issue where AI helicopters tend to crash into the depot of the pickup-zone
Resolves #138
This commit is contained in:
Raffson 2024-01-21 22:36:00 +01:00
parent 6a002a7d43
commit 8ae63796cf
No known key found for this signature in database
GPG Key ID: B0402B2C9B764D99

View File

@ -10,7 +10,7 @@ class LandingZoneBuilder(PydcsWaypointBuilder):
# Create a landing task, currently only for Helos!
# Calculate a landing point with a small buffer to prevent AI from landing
# directly at the static ammo depot and exploding
landing_point = waypoint.position.random_point_within(15, 5)
landing_point = waypoint.position.random_point_within(30, 20)
# Use Land Task with 30s duration for helos
waypoint.add_task(Land(landing_point, duration=30))
if waypoint.name == "DROPOFFZONE":