mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Revert helicopter escort aggressiveness hack
AI got a little better, at least that's what tests in AFG showed. The main issue is that helicopters tended to attack static objects, which we obviously don't want...
This commit is contained in:
parent
e280763a39
commit
9cca4e8244
@ -8,7 +8,6 @@ from dcs.task import (
|
|||||||
OptECMUsing,
|
OptECMUsing,
|
||||||
OptFormation,
|
OptFormation,
|
||||||
Targets,
|
Targets,
|
||||||
OptROE,
|
|
||||||
SetUnlimitedFuelCommand,
|
SetUnlimitedFuelCommand,
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -94,12 +93,6 @@ class JoinPointBuilder(PydcsWaypointBuilder):
|
|||||||
max_dist: float = 30.0,
|
max_dist: float = 30.0,
|
||||||
vertical_spacing: float = 2000.0,
|
vertical_spacing: float = 2000.0,
|
||||||
) -> None:
|
) -> None:
|
||||||
if self.flight.is_helo:
|
|
||||||
# Make helicopters a bit more aggressive
|
|
||||||
waypoint.tasks.append(OptROE(value=OptROE.Values.OpenFireWeaponFree))
|
|
||||||
else:
|
|
||||||
waypoint.tasks.append(OptROE(value=OptROE.Values.OpenFire))
|
|
||||||
|
|
||||||
rx = (random.random() + 0.1) * 333
|
rx = (random.random() + 0.1) * 333
|
||||||
ry = feet(vertical_spacing).meters
|
ry = feet(vertical_spacing).meters
|
||||||
rz = (random.random() + 0.1) * 166 * random.choice([-1, 1])
|
rz = (random.random() + 0.1) * 166 * random.choice([-1, 1])
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user