mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
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:
parent
6a002a7d43
commit
8ae63796cf
@ -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":
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user