From 5724d7ca759033d2f40a8a09cfb12d8b45d49c53 Mon Sep 17 00:00:00 2001 From: Mike-MF Date: Sat, 3 Feb 2024 17:11:45 +0000 Subject: [PATCH] Hidden Units - Hide UNA Faction (#211) --- addons/hidden_units/CfgFactionClasses.hpp | 3 + addons/hidden_units/CfgGroups_West.hpp | 24 ++++ addons/hidden_units/CfgVehicles.hpp | 1 + .../hidden_units/CfgVehicles_Baseclasses.hpp | 31 +++++ addons/hidden_units/Vanilla_Units/una.hpp | 122 ++++++++++++++++++ 5 files changed, 181 insertions(+) create mode 100644 addons/hidden_units/Vanilla_Units/una.hpp diff --git a/addons/hidden_units/CfgFactionClasses.hpp b/addons/hidden_units/CfgFactionClasses.hpp index 64dbc0bd..7afe606a 100644 --- a/addons/hidden_units/CfgFactionClasses.hpp +++ b/addons/hidden_units/CfgFactionClasses.hpp @@ -2,6 +2,9 @@ class CfgFactionClasses { class BLU_CTRG_F { displayName = "DEPRECATED"; }; + class BLU_UN_lxWS { + displayName = "DEPRECATED"; + }; // CUP Factions class CUP_B_USMC { diff --git a/addons/hidden_units/CfgGroups_West.hpp b/addons/hidden_units/CfgGroups_West.hpp index bf7febf2..6bb5a54b 100644 --- a/addons/hidden_units/CfgGroups_West.hpp +++ b/addons/hidden_units/CfgGroups_West.hpp @@ -14,6 +14,30 @@ class BLU_CTRG_F { }; }; +// UNA; Replaced by UN +class BLU_UN_lxWS { + class Infantry { + name = "DEPRECATED"; + delete BUNA_InfSquad_lxWS; + delete BUNA_InfSentry_lxWS; + }; + class Motorized { + name = "DEPRECATED"; + delete BUNA_MotInf_Team; + delete BUNA_MotInf_Reinforce; + }; + class Mechanized { + name = "DEPRECATED"; + delete BUNA_MechInfSquad; + delete BUNA_MechInf_Support; + }; + class Armored { + name = "DEPRECATED"; + delete BUNA_TankPlatoon; + delete BUNA_TankSection; + }; +}; + // CUP class CUP_B_CZ { class Motorized { diff --git a/addons/hidden_units/CfgVehicles.hpp b/addons/hidden_units/CfgVehicles.hpp index e8386d33..e5d959d0 100644 --- a/addons/hidden_units/CfgVehicles.hpp +++ b/addons/hidden_units/CfgVehicles.hpp @@ -21,6 +21,7 @@ class CfgVehicles { #include "Vanilla_Units\ctrg.hpp" #include "Vanilla_Units\sfia.hpp" + #include "Vanilla_Units\una.hpp" #include "CfgVehicles_Turrets.hpp" }; diff --git a/addons/hidden_units/CfgVehicles_Baseclasses.hpp b/addons/hidden_units/CfgVehicles_Baseclasses.hpp index 03c4efa9..8cb9c7f3 100644 --- a/addons/hidden_units/CfgVehicles_Baseclasses.hpp +++ b/addons/hidden_units/CfgVehicles_Baseclasses.hpp @@ -55,6 +55,37 @@ class I_SFIA_APC_Tracked_02_cannon_lxWS; class I_SFIA_APC_Tracked_02_AA_lxWS; class I_SFIA_Truck_02_aa_lxWS; +// UNA +class B_soldier_AR_F; +class B_Soldier_F; +class B_medic_F; +class B_crew_F; +class B_engineer_F; +class B_Soldier_GL_F; +class B_Helipilot_F; +class B_officer_F; +class B_soldier_repair_F; +class B_Soldier_lite_F; +class B_Soldier_TL_F; + +// Vehicles +class APC_Wheeled_01_command_base_lxWS; +class APC_Wheeled_02_hmg_base_lxws; +class APC_Wheeled_02_unarmed_base_lxws; +class B_Truck_01_mover_F; +class B_Truck_01_ammo_F; +class B_Truck_01_box_F; +class B_Truck_01_fuel_F; +class B_Truck_01_medical_F; +class B_Truck_01_Repair_F; +class B_Truck_01_transport_F; +class B_Truck_01_covered_F; +class B_MRAP_01_F; +class Offroad_01_base_lxWS; +class Offroad_01_armor_base_lxWS; +class Heli_Transport_02_base_F; +class I_MBT_03_cannon_F; + // CUP // Units class CUP_BAF_Soldier_DPM_Base; diff --git a/addons/hidden_units/Vanilla_Units/una.hpp b/addons/hidden_units/Vanilla_Units/una.hpp new file mode 100644 index 00000000..688d637c --- /dev/null +++ b/addons/hidden_units/Vanilla_Units/una.hpp @@ -0,0 +1,122 @@ +class B_UN_soldier_AR_lxWS: B_soldier_AR_F { + scope = 1; + scopeCurator = 1; +}; +class B_UN_HeavyGunner_lxWS: B_UN_soldier_AR_lxWS { + scope = 1; + scopeCurator = 1; +}; +class B_UN_Soldier_lxWS: B_Soldier_F { + scope = 1; + scopeCurator = 1; +}; +class B_UN_Soldier_unarmed_lxWS: B_UN_Soldier_lxWS { + scope = 1; + scopeCurator = 1; +}; +class B_UN_survivor_lxWS: B_UN_Soldier_lxWS { + scope = 1; + scopeCurator = 1; +}; +class B_UN_medic_lxWS: B_medic_F { + scope = 1; + scopeCurator = 1; +}; +class B_UN_crew_lxWS: B_crew_F { + scope = 1; + scopeCurator = 1; +}; +class B_UN_engineer_lxWS: B_engineer_F { + scope = 1; + scopeCurator = 1; +}; +class B_UN_Soldier_GL_lxWS: B_Soldier_GL_F { + scope = 1; + scopeCurator = 1; +}; +class B_UN_Helipilot_lxWS: B_Helipilot_F { + scope = 1; + scopeCurator = 1; +}; +class B_UN_officer_lxWS: B_officer_F { + scope = 1; + scopeCurator = 1; +}; +class B_UN_soldier_repair_lxWS: B_soldier_repair_F { + scope = 1; + scopeCurator = 1; +}; +class B_UN_Soldier_lite_lxWS: B_Soldier_lite_F { + scope = 1; + scopeCurator = 1; +}; +class B_UN_Soldier_TL_lxWS: B_Soldier_TL_F { + scope = 1; + scopeCurator = 1; +}; + +// Vehicles +class B_UN_APC_Wheeled_01_command_lxWS: APC_Wheeled_01_command_base_lxWS { + scope = 1; + scopeCurator = 1; +}; +class B_UNA_APC_Wheeled_02_hmg_lxWS: APC_Wheeled_02_hmg_base_lxws { + scope = 1; + scopeCurator = 1; +}; +class B_UNA_APC_Wheeled_02_unarmed_lxWS: APC_Wheeled_02_unarmed_base_lxws { + scope = 1; + scopeCurator = 1; +}; +class B_UN_Truck_01_mover_lxWS: B_Truck_01_mover_F { + scope = 1; + scopeCurator = 1; +}; +class B_UN_Truck_01_ammo_lxWS: B_Truck_01_ammo_F { + scope = 1; + scopeCurator = 1; +}; +class B_UN_Truck_01_box_lxWS: B_Truck_01_box_F { + scope = 1; + scopeCurator = 1; +}; +class B_UN_Truck_01_fuel_lxWS: B_Truck_01_fuel_F { + scope = 1; + scopeCurator = 1; +}; +class B_UN_Truck_01_medical_lxWS: B_Truck_01_medical_F { + scope = 1; + scopeCurator = 1; +}; +class B_UN_Truck_01_Repair_lxWS: B_Truck_01_Repair_F { + scope = 1; + scopeCurator = 1; +}; +class B_UN_Truck_01_transport_lxWS: B_Truck_01_transport_F { + scope = 1; + scopeCurator = 1; +}; +class B_UN_Truck_01_covered_lxWS: B_Truck_01_covered_F { + scope = 1; + scopeCurator = 1; +}; +class B_UN_MRAP_01_lxWS: B_MRAP_01_F { + scope = 1; + scopeCurator = 1; +}; +class B_UN_Offroad_lxWS: Offroad_01_base_lxWS { + scope = 1; + scopeCurator = 1; +}; +class B_UN_Offroad_Armor_lxWS: Offroad_01_armor_base_lxWS { + scope = 1; + scopeCurator = 1; +}; +class B_UN_Heli_Transport_02_lxWS: Heli_Transport_02_base_F { + scope = 1; + scopeCurator = 1; +}; +class B_MBT_03_cannon_lxWS: I_MBT_03_cannon_F { + scope = 1; + scopeCurator = 1; +};