mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Fixed AI aircraft do not start datalink.
This commit is contained in:
parent
66d7435ed6
commit
91cf192d2e
@ -29,6 +29,7 @@
|
|||||||
* **[Mission Generator]** Base defense units were not controllable with Combined Arms
|
* **[Mission Generator]** Base defense units were not controllable with Combined Arms
|
||||||
* **[Mission Generator]** Tanker speed was too low
|
* **[Mission Generator]** Tanker speed was too low
|
||||||
* **[Mission Generator]** Tanker TACAN settings were wrong
|
* **[Mission Generator]** Tanker TACAN settings were wrong
|
||||||
|
* **[Mission Generator]** AI aircraft should start datalink (EPLRS)
|
||||||
* **[Mission Generator]** Fixed all flights starting "In flight" after playing a few missions (parking slot reset issue)
|
* **[Mission Generator]** Fixed all flights starting "In flight" after playing a few missions (parking slot reset issue)
|
||||||
* **[Mission Script/Performance]** Mission lua script will not listen to weapons fired event anymore and register every fired weapons. This should improve performance especially in WW2 scenarios or when rocket artillery is firing.
|
* **[Mission Script/Performance]** Mission lua script will not listen to weapons fired event anymore and register every fired weapons. This should improve performance especially in WW2 scenarios or when rocket artillery is firing.
|
||||||
* **[Campaign Generator]** Carrier name will now not appear for faction who do not have carriers
|
* **[Campaign Generator]** Carrier name will now not appear for faction who do not have carriers
|
||||||
|
|||||||
@ -429,6 +429,12 @@ class AircraftConflictGenerator:
|
|||||||
|
|
||||||
group.points[0].tasks.append(OptRTBOnBingoFuel(True))
|
group.points[0].tasks.append(OptRTBOnBingoFuel(True))
|
||||||
|
|
||||||
|
if hasattr(flight.unit_type, 'eplrs'):
|
||||||
|
if flight.unit_type.eplrs:
|
||||||
|
group.points[0].tasks.append(EPLRS(group.id))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
for i, point in enumerate(flight.points):
|
for i, point in enumerate(flight.points):
|
||||||
if not point.only_for_player or (point.only_for_player and flight.client_count > 0):
|
if not point.only_for_player or (point.only_for_player and flight.client_count > 0):
|
||||||
pt = group.add_waypoint(Point(point.x, point.y), point.alt)
|
pt = group.add_waypoint(Point(point.x, point.y), point.alt)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user