From 3db137347a0396dea1783c7da608463ec8765516 Mon Sep 17 00:00:00 2001 From: Rein Date: Sun, 3 Nov 2024 01:06:12 +0100 Subject: [PATCH] Update config.cpp Removed unnecessary setups --- .../AircraftLoadouts/Aegis/config.cpp | 53 ++++++------------- 1 file changed, 17 insertions(+), 36 deletions(-) diff --git a/A3A/addons/core/Templates/AircraftLoadouts/Aegis/config.cpp b/A3A/addons/core/Templates/AircraftLoadouts/Aegis/config.cpp index dd32162d35..8049785183 100644 --- a/A3A/addons/core/Templates/AircraftLoadouts/Aegis/config.cpp +++ b/A3A/addons/core/Templates/AircraftLoadouts/Aegis/config.cpp @@ -21,63 +21,44 @@ class A3A { class CASPlane { class baseCAS; - class B_Plane_CAS_01_dynamicLoadout_F : baseCAS { - loadout[] = {"PylonRack_7Rnd_Rocket_04_HE_F","PylonRack_7Rnd_Rocket_04_HE_F","PylonRack_7Rnd_Rocket_04_HE_F","PylonRack_3Rnd_LG_scalpel","PylonRack_3Rnd_LG_scalpel","PylonRack_3Rnd_LG_scalpel","PylonRack_3Rnd_LG_scalpel","PylonRack_7Rnd_Rocket_04_HE_F","PylonRack_7Rnd_Rocket_04_HE_F","PylonRack_7Rnd_Rocket_04_HE_F"}; - mainGun[] = {"Gatling_30mm_Plane_CAS_01_F"}; - rocketLauncher[] = {"Rocket_04_HE_Plane_CAS_01_F"}; - missileLauncher[] = {"Missile_AGM_02_Plane_CAS_01_F", "missiles_SCALPEL"}; - }; - class O_Plane_CAS_02_dynamicLoadout_F : baseCAS { - loadout[] = {"PylonMissile_1Rnd_LG_scalpel","PylonRack_19Rnd_Rocket_Skyfire","PylonRack_20Rnd_Rocket_03_AP_F","PylonRack_4Rnd_LG_scalpel","PylonRack_4Rnd_LG_scalpel","PylonRack_4Rnd_LG_scalpel","PylonRack_4Rnd_LG_scalpel","PylonRack_20Rnd_Rocket_03_AP_F","PylonRack_19Rnd_Rocket_Skyfire","PylonMissile_1Rnd_LG_scalpel"}; - mainGun[] = {"Cannon_30mm_Plane_CAS_02_F"}; - rocketLauncher[] = {"Rocket_03_AP_Plane_CAS_02_F", "rockets_Skyfire"}; - missileLauncher[] = {"missiles_SCALPEL"}; - }; + + class B_Plane_CAS_01_dynamicLoadout_F; + + class O_Plane_CAS_02_dynamicLoadout_F; class O_T_Plane_CAS_02_dynamicLoadout_ghex_F : O_Plane_CAS_02_dynamicLoadout_F{}; class O_R_Plane_CAS_02_dynamicLoadout_F : O_Plane_CAS_02_dynamicLoadout_F{}; - class I_Plane_Fighter_03_dynamicLoadout_F : baseCAS { - loadout[] = {"PylonRack_7Rnd_Rocket_04_AP_F","PylonRack_3Rnd_LG_scalpel","PylonRack_1Rnd_Missile_AGM_02_F","PylonWeapon_300Rnd_20mm_shells","PylonRack_1Rnd_Missile_AGM_02_F","PylonRack_3Rnd_LG_scalpel","PylonRack_7Rnd_Rocket_04_AP_F"}; - mainGun[] = {"Twin_Cannon_20mm"}; - rocketLauncher[] = {"Rocket_04_AP_Plane_CAS_01_F"}; - missileLauncher[] = {"Missile_AGM_02_Plane_CAS_01_F", "missiles_SCALPEL"}; - }; + class I_Plane_Fighter_03_dynamicLoadout_F; class a3a_Plane_Fighter_03_grey_F : I_Plane_Fighter_03_dynamicLoadout_F{}; class I_E_Plane_Fighter_04_F : baseCAS { - loadout[] = {["magazine_Fighter04_Gun20mm_AA_x120_red","PylonMissile_Missile_BIM9X_x1","PylonMissile_Missile_BIM9X_x1","PylonRack_Missile_AGM_02_x1","PylonRack_Missile_AGM_02_x1","PylonMissile_Bomb_GBU12_x1","PylonMissile_Bomb_GBU12_x1"]}; + loadout[] = {"magazine_Fighter04_Gun20mm_AA_x120_red","PylonRack_7Rnd_Rocket_04_HE_F","PylonRack_7Rnd_Rocket_04_HE_F","PylonRack_Missile_AGM_02_x2","PylonRack_Missile_AGM_02_x2"}; mainGun[] = {"weapon_Fighter_Gun20mm_AA"} - rocketLauncher[] = {"weapon_GBU12Launcher"}; - missileLauncher[] = {"weapon_AGM_65Launcher", "weapon_BIM9xLauncher"}; + rocketLauncher[] = {"Rocket_04_HE_Plane_CAS_01_F"}; + missileLauncher[] = {"weapon_AGM_65Launcher"}; }; class B_A_Plane_Fighter_05_F : baseCAS { - loadout[] = {"PylonRack_Missile_BIM9X_x1","PylonRack_Missile_BIM9X_x1","PylonRack_Missile_AGM_02_x1","PylonRack_Missile_AGM_02_x1","PylonRack_Bomb_SDB_x4","PylonRack_Bomb_SDB_x4","PylonMissile_Missile_AMRAAM_D_INT_x1","PylonMissile_Missile_AMRAAM_D_INT_x1","PylonRack_Bomb_SDB_x4","PylonRack_Bomb_SDB_x4","PylonWeapon_220Rnd_25mm_shells"}; + loadout[] = {"PylonRack_Missile_AGM_02_x1","PylonRack_Missile_AGM_02_x1","PylonRack_Missile_AGM_02_x1","PylonRack_Missile_AGM_02_x1","PylonRack_Missile_AGM_02_x1","PylonRack_Missile_AGM_02_x1","PylonRack_7Rnd_Rocket_04_HE_F","PylonRack_7Rnd_Rocket_04_HE_F","PylonRack_Missile_AGM_02_x1","PylonRack_Missile_AGM_02_x1","PylonWeapon_220Rnd_25mm_shells"}; mainGun[] = {"gatling_25mm"}; - rocketLauncher[] = {"weapon_SDBLauncher"}; - missileLauncher[] = {"weapon_AGM_65Launcher", "weapon_BIM9xLauncher", "weapon_AMRAAMLauncher"}; + rocketLauncher[] = {"Rocket_04_HE_Plane_CAS_01_F"}; + missileLauncher[] = {"weapon_AGM_65Launcher"}; }; }; class CAPPlane { class baseCAP; - class B_Plane_Fighter_01_F : baseCAP { - loadout[] = {"PylonRack_Missile_BIM9X_x2","PylonRack_Missile_BIM9X_x2","PylonRack_Missile_BIM9X_x2","PylonRack_Missile_BIM9X_x2","PylonMissile_Missile_BIM9X_x1","PylonMissile_Missile_BIM9X_x1","PylonMissile_Missile_AMRAAM_D_INT_x1","PylonMissile_Missile_AMRAAM_D_INT_x1","PylonMissile_Missile_AMRAAM_D_INT_x1","PylonMissile_Missile_AMRAAM_D_INT_x1","PylonMissile_Missile_AMRAAM_D_INT_x1","PylonMissile_Missile_AMRAAM_D_INT_x1"}; - }; - class O_Plane_Fighter_02_F : baseCAP { - loadout[] = {"PylonMissile_Missile_AA_R73_x1","PylonMissile_Missile_AA_R73_x1","PylonMissile_Missile_AA_R73_x1","PylonMissile_Missile_AA_R73_x1","PylonMissile_Missile_AA_R73_x1","PylonMissile_Missile_AA_R73_x1","PylonMissile_Missile_AA_R73_x1","PylonMissile_Missile_AA_R73_x1","PylonMissile_Missile_AA_R77_x1","PylonMissile_Missile_AA_R77_x1","PylonMissile_Missile_AA_R77_INT_x1","PylonMissile_Missile_AA_R77_INT_x1","PylonMissile_Missile_AA_R77_INT_x1"}; - }; + + class B_Plane_Fighter_01_F; + + class O_Plane_Fighter_02_F; class O_T_Plane_Fighter_02_ghex_F : O_Plane_Fighter_02_F{}; class O_R_Plane_Fighter_02_F : O_Plane_Fighter_02_F{}; - class I_Plane_Fighter_04_F : baseCAP { - loadout[] = {"PylonMissile_Missile_BIM9X_x1","PylonMissile_Missile_BIM9X_x1","PylonRack_Missile_AMRAAM_C_x1","PylonRack_Missile_AMRAAM_C_x1","PylonRack_Missile_BIM9X_x2","PylonRack_Missile_BIM9X_x2"}; - }; + class I_Plane_Fighter_04_F; class I_E_Plane_Fighter_04_F : I_Plane_Fighter_04_F {}; - class I_Plane_Fighter_03_dynamicLoadout_F : baseCAP { - loadout[] = {"PylonRack_1Rnd_AAA_missiles","PylonRack_1Rnd_Missile_AA_04_F","PylonRack_1Rnd_GAA_missiles","PylonWeapon_300Rnd_20mm_shells","PylonRack_1Rnd_GAA_missiles","PylonRack_1Rnd_Missile_AA_04_F","PylonRack_1Rnd_AAA_missiles"}; - }; + class I_Plane_Fighter_03_dynamicLoadout_F; class a3a_Plane_Fighter_03_grey_F : I_Plane_Fighter_03_dynamicLoadout_F{}; class B_Plane_Fighter_05_F : baseCAP {