mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Follow-up on F-4E-45MC
- missing radio config - missing stored heading alignment
This commit is contained in:
parent
a1fa58326c
commit
7802ab992e
@ -39,6 +39,7 @@ from game.radio.channels import (
|
|||||||
ViggenRadioChannelAllocator,
|
ViggenRadioChannelAllocator,
|
||||||
ViperChannelNamer,
|
ViperChannelNamer,
|
||||||
WarthogChannelNamer,
|
WarthogChannelNamer,
|
||||||
|
PhantomChannelNamer,
|
||||||
)
|
)
|
||||||
from game.utils import (
|
from game.utils import (
|
||||||
Distance,
|
Distance,
|
||||||
@ -114,6 +115,7 @@ class RadioConfig:
|
|||||||
"apache": ApacheChannelNamer,
|
"apache": ApacheChannelNamer,
|
||||||
"a10c-legacy": LegacyWarthogChannelNamer,
|
"a10c-legacy": LegacyWarthogChannelNamer,
|
||||||
"a10c-ii": WarthogChannelNamer,
|
"a10c-ii": WarthogChannelNamer,
|
||||||
|
"phantom": PhantomChannelNamer,
|
||||||
}[config.get("namer", "default")]
|
}[config.get("namer", "default")]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -408,3 +408,16 @@ class WarthogChannelNamer(ChannelNamer):
|
|||||||
@classmethod
|
@classmethod
|
||||||
def name(cls) -> str:
|
def name(cls) -> str:
|
||||||
return "a10c-ii"
|
return "a10c-ii"
|
||||||
|
|
||||||
|
|
||||||
|
class PhantomChannelNamer(ChannelNamer):
|
||||||
|
"""Channel namer for the F-14."""
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
|
def channel_name(radio_id: int, channel_id: int) -> str:
|
||||||
|
radio_name = ["COMM", "AUX"][radio_id - 1]
|
||||||
|
return f"{radio_name} Ch {channel_id}"
|
||||||
|
|
||||||
|
@classmethod
|
||||||
|
def name(cls) -> str:
|
||||||
|
return "phantom"
|
||||||
|
|||||||
@ -18,6 +18,34 @@ variants:
|
|||||||
F-4E-45MC Phantom II: {}
|
F-4E-45MC Phantom II: {}
|
||||||
Phantom FGR.2: {}
|
Phantom FGR.2: {}
|
||||||
F-4EJ Phantom II: {}
|
F-4EJ Phantom II: {}
|
||||||
|
radios:
|
||||||
|
intra_flight: AN/ARC-164
|
||||||
|
inter_flight: AN/ARC-164
|
||||||
|
channels:
|
||||||
|
type: common
|
||||||
|
namer: phantom
|
||||||
|
intra_flight_radio_index: 2
|
||||||
|
inter_flight_radio_index: 1
|
||||||
|
default_overrides:
|
||||||
|
INSAlignmentStored: true
|
||||||
|
#Quality: 100
|
||||||
|
#Wear: 0
|
||||||
|
#UseReferenceAircraft: false
|
||||||
|
#IsNvgAllowed: true
|
||||||
|
#TacanChannel: 0
|
||||||
|
#TacanBand: 0
|
||||||
|
#VORILSFrequencyMHZ: 108
|
||||||
|
#VORILSFrequencyDecimalMHZ: 0
|
||||||
|
#KY28Key: 1
|
||||||
|
#ChaffDoubleDispense: false
|
||||||
|
#IffMode2Digit1: 0
|
||||||
|
#IffMode2Digit2: 0
|
||||||
|
#IffMode2Digit3: 0
|
||||||
|
#IffMode2Digit4: 0
|
||||||
|
#LaserCodeDigit1: 1
|
||||||
|
#LaserCodeDigit2: 6
|
||||||
|
#LaserCodeDigit3: 8
|
||||||
|
#LaserCodeDigit4: 8
|
||||||
tasks:
|
tasks:
|
||||||
Anti-ship: 110
|
Anti-ship: 110
|
||||||
BAI: 570
|
BAI: 570
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user