Skip to content

Commit

Permalink
CUP Norwegian Armed Forces (#335)
Browse files Browse the repository at this point in the history
* CUP Norwegian Armed Forces

* Fixes/Flushing

For some reason the "script_component.hpp" wasn't available in the Templates folder. So, I added that back.

* F-16C Price Update to Match Sheet

* Vehicle Prices Match to Sheet

---------

Co-authored-by: stutpip123 <[email protected]>
  • Loading branch information
Azodion and stutpip123 authored Oct 21, 2024
1 parent d21eb36 commit 098855a
Show file tree
Hide file tree
Showing 9 changed files with 2,698 additions and 0 deletions.
1,239 changes: 1,239 additions & 0 deletions A3A/addons/core/Templates/Templates/CUP/CUP_AI_NorAF_Arctic.sqf

Large diffs are not rendered by default.

1,349 changes: 1,349 additions & 0 deletions A3A/addons/core/Templates/Templates/CUP/CUP_AI_NorAF_Temperate.sqf

Large diffs are not rendered by default.

25 changes: 25 additions & 0 deletions A3A/addons/core/Templates/Templates/CUP/templates.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -258,4 +258,29 @@
flagTexture = "a3\data_f_enoch\flags\flag_enoch_co.paa";
name = "CUP LDF";
file = "CUP_AI_LDF";
};

//CUP NorAF

class NorAF_Base : CUP_Base
{
requiredAddons[] = {"CUP_Creatures_People_Civil_Russia", "CUP_BaseConfigs", "CUP_AirVehicles_Core", "Flex_CUP_NOR_Faction"}; // units, weapons, vehicles
//requiredAddons[] = {"CUP_AirVehicles_Core"}; // vehicles requires units & weapons
priority = 61;
};

class CUP_NorAF_Temperate : NorAF_Base
{
side = "Occ";
flagTexture = "\A3\ui_f\data\map\markers\flags\Norway_ca.paa";
name = "CUP NorAF Temperate";
file = "CUP_AI_NorAF_Temperate";
climate[] = {"temperate","tropical"};
};

class CUP_NorAF_Arctic : CUP_NorAF_Temperate
{
name = "CUP NorAF Arctic";
file = "CUP_AI_NorAF_Arctic";
climate[] = {"arctic"};
};
2 changes: 2 additions & 0 deletions A3A/addons/core/Templates/script_component.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#define COMPONENT templates
#include "\x\A3A\addons\core\Includes\script_mod.hpp"
45 changes: 45 additions & 0 deletions A3A/addons/ultimate/config/plane/cfgPlaneLoadouts.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,21 @@ class planeLoadouts
bombRacks[] = {"sab_fl_bomb_bay_weapon","sab_fl_fritzx_weapon"};
diveParams[] = {1000, 300, 100, 55, 15, {0,0}};
};

//CUP NorAF
class Flex_CUP_NOR_F35B
{
loadout[] = {"","","","PylonMissile_1Rnd_BombCluster_03_F","CUP_PylonPod_1Rnd_Mk82_M","","CUP_PylonPod_1Rnd_Mk82_M","PylonMissile_1Rnd_BombCluster_03_F","","",""};
bombRacks[] = {"CUP_Vblauncher_Mk82_veh", "BombCluster_03_F"};
diveParams[] = {1000, 300, 100, 55, 15, {0,0}};
};
class F16C_NATO50
{
loadout[] = {"","","FIR_CBU87_P_1rnd_M","FIR_GBU56_P_1rnd_M","","FIR_SniperXR_HTS_P_1rnd_M","FIR_GBU56_P_1rnd_M","FIR_CBU87_P_1rnd_M","",""};
mainGun = "FIR_M61A2";
bombRacks[] = {"FIR_CBU87", "FIR_GBU56"};
diveParams[] = {1000, 300, 100, 55, 15, {0,0}};
};
};

class CAS
Expand Down Expand Up @@ -596,6 +611,22 @@ class planeLoadouts
mainGun = "LS93_Cannon";
rocketLauncher[] = {"TS5_ProtonLauncher","TS5A_ProtonLauncher"};
};

//CUP NorAF
class Flex_CUP_NOR_F35B
{
loadout[] = {"","","","CUP_PylonPod_1Rnd_GBU12_M","CUP_PylonPod_1Rnd_GBU12_M","","CUP_PylonPod_1Rnd_GBU12_M","CUP_PylonPod_1Rnd_GBU12_M","","",""};
bombRacks[] = {"CUP_Vblauncher_GBU12_veh"};
diveParams[] = {1000, 300, 100, 55, 15, {0,0}};
};
class F16C_NATO50
{
loadout[] = {"","","FIR_AGM65L_P_1rnd_M","FIR_GBU56_P_1rnd_M","","FIR_SniperXR_HTS_P_1rnd_M","FIR_GBU56_P_1rnd_M","FIR_AGM65L_P_1rnd_M","",""};
mainGun = "FIR_M61A2";
bombRacks[] = {"FIR_GBU56"};
missileLauncher[] = {"FIR_AGM65"};
diveParams[] = {1000, 300, 100, 55, 15, {0,0}};
};
};

class AA
Expand Down Expand Up @@ -819,5 +850,19 @@ class planeLoadouts
{
mainGun = "sab_fl_4x_hmg_weapon";
};

//CUP NorAF
class Flex_CUP_NOR_F35B //I Pray For Whoever Goes Up Against This
{
loadout[] = {"CUP_PylonPod_1Rnd_AIM_9L_LAU_Sidewinder_M",,"CUP_PylonPod_1Rnd_AIM_120_AMRAAM_M","CUP_PylonPod_1Rnd_AIM_120_AMRAAM_M","CUP_PylonPod_1Rnd_AIM_120_AMRAAM_INT_M","CUP_PylonPod_1Rnd_AIM_120_AMRAAM_INT_M","CUP_PylonWeapon_220Rnd_TE1_Red_Tracer_GAU22_M","CUP_PylonPod_1Rnd_AIM_120_AMRAAM_INT_M","CUP_PylonPod_1Rnd_AIM_120_AMRAAM_INT_M","CUP_PylonPod_1Rnd_AIM_120_AMRAAM_M","CUP_PylonPod_1Rnd_AIM_120_AMRAAM_M","CUP_PylonPod_1Rnd_AIM_9L_LAU_Sidewinder_M"};
mainGun = "CUP_Vacannon_GAU22_veh";
missileLauncher[] = {"CUP_Vmlauncher_AIM9L_veh_1Rnd","CUP_Vmlauncher_AIM120_veh"};
};
class F16C_NATO50
{
loadout[] = {"FIR_AIM120_P_1rnd_M","FIR_AIM9X_P_1rnd_M","FIR_AIM120_P_1rnd_M","","","FIR_Empty_P_1rnd_M","","FIR_AIM120_P_1rnd_M","FIR_AIM9X_P_1rnd_M","FIR_AIM120_P_1rnd_M"};
mainGun = "FIR_M61A2";
missileLauncher[] = {"FIR_AIM120","FIR_AIM9X"};
}
};
};
10 changes: 10 additions & 0 deletions A3A/addons/ultimate/config/trader/cfgTraderAddons.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -261,4 +261,14 @@
{
addons[] = {"sab_navallegends"};
vehicles = "vehicles_navleg";
};
class addons_FlexNorAF : addons_base
{
addons[] = {"Flex_CUP_NOR_Faction"};
vehicles = "CUP_NorAF_Vehicles";
};
class addons_FlexNorAFF16 : addons_base
{
addons[] = {"F16_Norwegian_Reskin"};
vehicles = "CUP_NorAF_F16";
};
22 changes: 22 additions & 0 deletions A3A/addons/ultimate/config/trader/vehicles/vehicles_NorAF.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
class CUP_NorAF_Vehicles : vehicles_base
{
ITEM(Flex_CUP_NOR_Dingo_MG, 9100, ARMEDCAR, VEHICLE_CONDITION_ARMEDCAR);
ITEM(Flex_CUP_NOR_Dingo_GL, 16600, ARMEDCAR, VEHICLE_CONDITION_ARMEDCAR);

ITEM(Flex_CUP_NOR_M113A3, 6600, APC, VEHICLE_CONDITION_APC);

ITEM(Flex_CUP_NOR_Leopard2A6, 49000, TANK, VEHICLE_CONDITION_TANK);

ITEM(Flex_CUP_NOR_F35B, 105725, PLANE, VEHICLE_CONDITION_PLANE);

ITEM(Flex_CUP_NOR_Bell412_Transport, 9000, HELI, VEHICLE_CONDITION_HELI);
ITEM(Flex_CUP_NOR_Bell412_Utility, 8100, HELI, VEHICLE_CONDITION_HELI);
ITEM(Flex_CUP_NOR_Bell412_Radar, 10600, HELI, VEHICLE_CONDITION_HELI);
ITEM(Flex_CUP_NOR_Merlin_HC3, 12200, HELI, VEHICLE_CONDITION_HELI);
ITEM(Flex_CUP_NOR_MH60S_Unarmed, 11900, HELI, VEHICLE_CONDITION_HELI);
ITEM(Flex_CUP_NOR_Bell412_Armed, 8900, HELI, VEHICLE_CONDITION_HELI);
ITEM(Flex_CUP_NOR_Bell412_Armed_AT, 14930, HELI, VEHICLE_CONDITION_HELI);
ITEM(Flex_CUP_NOR_Bell412_dynamicLoadout, 15315, HELI, VEHICLE_CONDITION_HELI);
ITEM(Flex_CUP_NOR_MH60S_Armed, 13280, HELI, VEHICLE_CONDITION_HELI);
ITEM(Flex_CUP_NOR_Merlin_HC3_Armed, 12805, HELI, VEHICLE_CONDITION_HELI);
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
class CUP_NorAF_F16 : vehicles_base
{
ITEM(F16C_NATO50, 91000, PLANE, VEHICLE_CONDITION_PLANE);
};
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,5 @@
#include "vehicles_navleg.hpp"
#include "vehicles_flyleg.hpp"
#include "vehicles_scrtwpns.hpp"
#include "vehicles_NorAF.hpp"
#include "vehicles_NorAFF16.hpp"

0 comments on commit 098855a

Please sign in to comment.