mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Use stored alignment for the F-14A.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1689
This commit is contained in:
parent
13d52803d6
commit
2699a38f7b
@ -39,6 +39,7 @@ Saves from 4.x are not compatible with 5.0.
|
|||||||
* **[Mission Generation]** AI carrier aircraft with a start time of T+0 will now start at T+1s to avoid traffic jams.
|
* **[Mission Generation]** AI carrier aircraft with a start time of T+0 will now start at T+1s to avoid traffic jams.
|
||||||
* **[Mission Generation]** Fixed cases of unused aircraft not being spawned at airfields as soon as any airport filled up.
|
* **[Mission Generation]** Fixed cases of unused aircraft not being spawned at airfields as soon as any airport filled up.
|
||||||
* **[Mission Generation]** Fixed cases with multiple client flights of the same airframe all received the same preset channels.
|
* **[Mission Generation]** Fixed cases with multiple client flights of the same airframe all received the same preset channels.
|
||||||
|
* **[Mission Generation]** F-14A is now generated with stored alignment.
|
||||||
* **[UI]** Selling of Units is now visible again in the UI dialog and shows the correct amount of sold units
|
* **[UI]** Selling of Units is now visible again in the UI dialog and shows the correct amount of sold units
|
||||||
* **[UI]** Fixed bug where an incompatible campaign could be generated if no action is taken on the campaign selection screen.
|
* **[UI]** Fixed bug where an incompatible campaign could be generated if no action is taken on the campaign selection screen.
|
||||||
|
|
||||||
|
|||||||
@ -6,7 +6,7 @@ from typing import Any, Optional, TYPE_CHECKING
|
|||||||
|
|
||||||
from dcs import Mission
|
from dcs import Mission
|
||||||
from dcs.flyingunit import FlyingUnit
|
from dcs.flyingunit import FlyingUnit
|
||||||
from dcs.planes import F_14B
|
from dcs.planes import F_14A_135_GR, F_14B
|
||||||
from dcs.unit import Skill
|
from dcs.unit import Skill
|
||||||
from dcs.unitgroup import FlyingGroup
|
from dcs.unitgroup import FlyingGroup
|
||||||
|
|
||||||
@ -117,6 +117,8 @@ class FlightGroupConfigurator:
|
|||||||
laser_codes.append(None)
|
laser_codes.append(None)
|
||||||
if unit.unit_type is F_14B:
|
if unit.unit_type is F_14B:
|
||||||
unit.set_property(F_14B.Properties.INSAlignmentStored.id, True)
|
unit.set_property(F_14B.Properties.INSAlignmentStored.id, True)
|
||||||
|
elif unit.unit_type is F_14A_135_GR:
|
||||||
|
unit.set_property(F_14A_135_GR.Properties.INSAlignmentStored.id, True)
|
||||||
|
|
||||||
def setup_radios(self) -> RadioFrequency:
|
def setup_radios(self) -> RadioFrequency:
|
||||||
if self.flight.flight_type in {FlightType.AEWC, FlightType.REFUELING}:
|
if self.flight.flight_type in {FlightType.AEWC, FlightType.REFUELING}:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user