From aa3d644f97478af6b6027439f311a6256d79bb17 Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Fri, 16 Jul 2021 15:27:32 -0700 Subject: [PATCH] Prevent empty cheek stations for the Hornet. This is a bit of a hack that makes the TGPs fall back to AIM-120s. It works okay because this only applies to a few cases: The A-10 gets an empty pylon. That's fine. Maybe later we can add multiple fallback paths and depth-first-search through them so that that pylon could carry bombs instead. The Viper has no replacemnt for that station. The jammer goes on the other fuselage station, the HTS isn't a replacement, and we don't have LANTIRN for the Viper. No weapons can be fit to those stations. What this helps is the Hornet, where any Gulf War scenario ends up with an empty cheek station because we don't have the NITE HAWK to fall back to. In this case we can instead fall back through the air-to-air missiles to fill the station. --- resources/weapons/pods/atflir.yaml | 3 +++ resources/weapons/pods/litening.yaml | 9 +++++++++ 2 files changed, 12 insertions(+) diff --git a/resources/weapons/pods/atflir.yaml b/resources/weapons/pods/atflir.yaml index 64ef6833..3733a299 100644 --- a/resources/weapons/pods/atflir.yaml +++ b/resources/weapons/pods/atflir.yaml @@ -1,4 +1,7 @@ name: AN/ASQ-228 ATFLIR year: 2003 +# A bit of a hack, but fixes the common case where the Hornet cheek station is +# empty because no TGP is available. +fallback: AIM-120C clsids: - "{AN_ASQ_228}" diff --git a/resources/weapons/pods/litening.yaml b/resources/weapons/pods/litening.yaml index 0ea9db08..e6fd5141 100644 --- a/resources/weapons/pods/litening.yaml +++ b/resources/weapons/pods/litening.yaml @@ -1,5 +1,14 @@ name: AN/AAQ-28 LITENING year: 1999 +# A bit of a hack, but fixes the common case where the Hornet cheek station is +# empty because no TGP is available. For the Viper this will have no effect +# because missiles can't be put on that station, but for the Viper an empty +# pylon is the correct replacement for a TGP anyway (the jammer goes on the +# other fuselage station, HTS isn't a good replacement, and we don't have +# LANTIRN for the Viper). +# +# For the A-10 an empty pylon is also fine. +fallback: AIM-120C clsids: - "{A111396E-D3E8-4b9c-8AC9-2432489304D5}" - "{AAQ-28_LEFT}"