From 68d4c9bbd80ed2e6528244569c79676b87295bd1 Mon Sep 17 00:00:00 2001 From: hybrid Date: Thu, 11 Jun 2026 19:54:45 +0300 Subject: init --- .../Core_Structures/Arrowhead/Structures_TKA.sqf | 162 ++++++++++++++++++++ .../Core_Structures/Arrowhead/Structures_US.sqf | 166 ++++++++++++++++++++ .../Core_Structures/CombinedOps/Structures_CDF.sqf | 161 ++++++++++++++++++++ .../Core_Structures/CombinedOps/Structures_INS.sqf | 162 ++++++++++++++++++++ .../Core_Structures/CombinedOps/Structures_TKA.sqf | 163 ++++++++++++++++++++ .../Core_Structures/CombinedOps/Structures_US.sqf | 167 +++++++++++++++++++++ .../Core_Structures/Vanilla/Structures_CDF.sqf | 162 ++++++++++++++++++++ .../Core_Structures/Vanilla/Structures_INS.sqf | 163 ++++++++++++++++++++ .../Core_Structures/Vanilla/Structures_RU.sqf | 165 ++++++++++++++++++++ .../Core_Structures/Vanilla/Structures_USMC.sqf | 162 ++++++++++++++++++++ 10 files changed, 1633 insertions(+) create mode 100644 Common/Config/Core_Structures/Arrowhead/Structures_TKA.sqf create mode 100644 Common/Config/Core_Structures/Arrowhead/Structures_US.sqf create mode 100644 Common/Config/Core_Structures/CombinedOps/Structures_CDF.sqf create mode 100644 Common/Config/Core_Structures/CombinedOps/Structures_INS.sqf create mode 100644 Common/Config/Core_Structures/CombinedOps/Structures_TKA.sqf create mode 100644 Common/Config/Core_Structures/CombinedOps/Structures_US.sqf create mode 100644 Common/Config/Core_Structures/Vanilla/Structures_CDF.sqf create mode 100644 Common/Config/Core_Structures/Vanilla/Structures_INS.sqf create mode 100644 Common/Config/Core_Structures/Vanilla/Structures_RU.sqf create mode 100644 Common/Config/Core_Structures/Vanilla/Structures_USMC.sqf (limited to 'Common/Config/Core_Structures') diff --git a/Common/Config/Core_Structures/Arrowhead/Structures_TKA.sqf b/Common/Config/Core_Structures/Arrowhead/Structures_TKA.sqf new file mode 100644 index 0000000..a2dd569 --- /dev/null +++ b/Common/Config/Core_Structures/Arrowhead/Structures_TKA.sqf @@ -0,0 +1,162 @@ +Private ['_c','_count','_d','_dir','_dis','_n','_s','_t','_v']; + +/* Root Definition */ +EASTHQ = "BMP2_HQ_TK_unfolded_EP1"; +EASTBAR = "TK_WarfareBBarracks_EP1"; +EASTLVF = "TK_WarfareBLightFactory_EP1"; +EASTCC = "TK_WarfareBUAVterminal_EP1"; +EASTHEAVY = "TK_WarfareBHeavyFactory_EP1"; +EASTAIR = "TK_WarfareBAircraftFactory_EP1"; +EASTSP = "TK_WarfareBVehicleServicePoint_EP1"; +EASTAAR = "TK_WarfareBAntiAirRadar_EP1"; + +/* Flag Textures */ +['WFBE_EASTFLAG','\Ca\ca_e\Data\flag_tka_co.paa',true] Call SetNamespace; + +/* Mash used after being deployed */ +['WFBE_EASTFARP','CampEast_EP1',true] Call SetNamespace; + +/* Construction Crates */ +['WFBE_EASTCONSTRUCTIONSITE','TK_WarfareBContructionSite_EP1',true] Call SetNamespace; + +/* Structures */ +_v = ["Headquarters"]; +_n = [EASTHQ]; +_d = [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = [('WFBE_HQDEPLOYPRICE' Call GetNamespace)]; +_t = [if (WF_Debug) then {1} else {30}]; +_s = ["HQSite"]; +_dis = [15]; +_dir = [0]; + +_v = _v + ["Barracks"]; +_n = _n + [EASTBAR]; +_d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = _c + [200]; +_t = _t + [if (WF_Debug) then {1} else {70}]; +_s = _s + ["SmallSite"]; +_dis = _dis + [18]; +_dir = _dir + [90]; + +_v = _v + ["Light"]; +_n = _n + [EASTLVF]; +_d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = _c + [600]; +_t = _t + [if (WF_Debug) then {1} else {90}]; +_s = _s + ["MediumSite"]; +_dis = _dis + [25]; +_dir = _dir + [90]; + +_v = _v + ["CommandCenter"]; +_n = _n + [EASTCC]; +_d = _d + [localize "STR_WF_CommandCenter_RU"]; +_c = _c + [1200]; +_t = _t + [if (WF_Debug) then {1} else {110}]; +_s = _s + ["SmallSite"]; +_dis = _dis + [20]; +_dir = _dir + [90]; + +_v = _v + ["Heavy"]; +_n = _n + [EASTHEAVY]; +_d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = _c + [2800]; +_t = _t + [if (WF_Debug) then {1} else {130}]; +_s = _s + ["MediumSite"]; +_dis = _dis + [25]; +_dir = _dir + [90]; + +_v = _v + ["Aircraft"]; +_n = _n + [EASTAIR]; +_d = _d + [localize "STR_WF_AircraftFactory"]; +_c = _c + [4400]; +_t = _t + [if (WF_Debug) then {1} else {150}]; +_s = _s + ["SmallSite"]; +_dis = _dis + [21]; +_dir = _dir + [90]; + +_v = _v + ["ServicePoint"]; +_n = _n + [EASTSP]; +_d = _d + [localize "STR_WF_MAIN_ServicePoint"]; +_c = _c + [700]; +_t = _t + [if (WF_Debug) then {1} else {70}]; +_s = _s + ["SmallSite"]; +_dis = _dis + [21]; +_dir = _dir + [90]; + +if (paramAARadar) then { + _v = _v + ["AARadar"]; + _n = _n + [EASTAAR]; + _d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; + _c = _c + [3200]; + _t = _t + [if (WF_Debug) then {1} else {280}]; + _s = _s + ["MediumSite"]; + _dis = _dis + [21]; + _dir = _dir + [90]; +}; + +for [{_count = count _v - 1},{_count >= 0},{_count = _count - 1}] do { + [Format["WFBE_EAST%1TYPE",_v select _count],_count,true] Call SetNamespace; +}; + +['WFBE_EASTMHQNAME','BMP2_HQ_TK_EP1',true] Call SetNamespace; + +['WFBE_EASTSTRUCTURES',_v,true] Call SetNamespace; +['WFBE_EASTSTRUCTURENAMES',_n,true] Call SetNamespace; +['WFBE_EASTSTRUCTUREDESCRIPTIONS',_d,true] Call SetNamespace; +['WFBE_EASTSTRUCTURECOSTS',_c,true] Call SetNamespace; +['WFBE_EASTSTRUCTURETIMES',_t,true] Call SetNamespace; +['WFBE_EASTSTRUCTUREDISTANCES',_dis,true] Call SetNamespace; +['WFBE_EASTSTRUCTUREDIRECTIONS',_dir,true] Call SetNamespace; +['WFBE_EASTSTRUCTURESCRIPTS',_s,true] Call SetNamespace; + +/* Defenses */ +_n = ["WarfareBMGNest_PK_TK_EP1"]; +_n = _n + ["SearchLight_TK_EP1"]; +_n = _n + ["KORD_TK_EP1"]; +_n = _n + ["KORD_high_TK_EP1"]; +_n = _n + ["AGS_TK_EP1"]; +_n = _n + ["SPG9_TK_INS_EP1"]; +_n = _n + ["Metis_TK_EP1"]; +_n = _n + ["Igla_AA_pod_TK_EP1"]; +_n = _n + ["ZU23_TK_EP1"]; +_n = _n + ["2b14_82mm_TK_EP1"]; +_n = _n + ["D30_TK_EP1"]; +_n = _n + ["Land_HBarrier3"]; +_n = _n + ["Land_HBarrier5"]; +_n = _n + ["Land_HBarrier_large"]; +_n = _n + ["TK_WarfareBBarrier5x_EP1"]; +_n = _n + ["TK_WarfareBBarrier10x_EP1"]; +_n = _n + ["TK_WarfareBBarrier10xTall_EP1"]; +_n = _n + ["MASH_EP1"]; +_n = _n + ["Land_fort_bagfence_long"]; +_n = _n + ["Land_fort_bagfence_corner"]; +_n = _n + ["Land_fort_bagfence_round"]; +_n = _n + ["Land_fortified_nest_small_EP1"]; +_n = _n + ["Land_fort_rampart_EP1"]; +_n = _n + ["Land_fort_artillery_nest_EP1"]; +_n = _n + ["Hhedgehog_concreteBig"]; +_n = _n + ["Hedgehog_EP1"]; +_n = _n + ["Land_CamoNet_EAST_EP1"]; +_n = _n + ["Land_CamoNetVar_EAST_EP1"]; +_n = _n + ["Land_CamoNetB_EAST_EP1"]; +_n = _n + ["Sign_Danger"]; +_n = _n + ["HeliH"]; +_n = _n + ["Fort_RazorWire"]; +_n = _n + ["Concrete_Wall_EP1"]; +_n = _n + ["Land_Campfire"]; +_n = _n + ["TKOrdnanceBox_EP1"]; +_n = _n + ["TKVehicleBox_EP1"]; +_n = _n + ["TKBasicAmmunitionBox_EP1"]; +_n = _n + ["TKBasicWeapons_EP1"]; +_n = _n + ["TKLaunchers_EP1"]; +_n = _n + ["TKSpecialWeapons_EP1"]; + +/* Class used for AI, AI will attempt to build those */ +['WFBE_EASTDEFENSES_MG',['KORD_high_TK_EP1'],true] Call SetNamespace; +['WFBE_EASTDEFENSES_GL',['AGS_TK_EP1'],true] Call SetNamespace; +['WFBE_EASTDEFENSES_AAPOD',['Igla_AA_pod_TK_EP1','ZU23_TK_EP1'],true] Call SetNamespace; +['WFBE_EASTDEFENSES_ATPOD',['Metis_TK_EP1','SPG9_TK_INS_EP1'],true] Call SetNamespace; +['WFBE_EASTDEFENSES_CANNON',['D30_TK_EP1'],true] Call SetNamespace; +['WFBE_EASTDEFENSES_MASH',['MASH_EP1'],true] Call SetNamespace; + +['WFBE_EASTDEFENSENAMES',_n,true] Call SetNamespace; \ No newline at end of file diff --git a/Common/Config/Core_Structures/Arrowhead/Structures_US.sqf b/Common/Config/Core_Structures/Arrowhead/Structures_US.sqf new file mode 100644 index 0000000..cb59721 --- /dev/null +++ b/Common/Config/Core_Structures/Arrowhead/Structures_US.sqf @@ -0,0 +1,166 @@ +Private ['_c','_count','_d','_dir','_dis','_n','_s','_t','_v']; + +/* Root Definition */ +WESTHQ = "M1130_HQ_unfolded_EP1"; +WESTBAR = "US_WarfareBBarracks_EP1"; +WESTLVF = "US_WarfareBLightFactory_EP1"; +WESTCC = "US_WarfareBUAVterminal_EP1"; +WESTHEAVY = "US_WarfareBHeavyFactory_EP1"; +WESTAIR = "US_WarfareBAircraftFactory_EP1"; +WESTSP = "US_WarfareBVehicleServicePoint_EP1"; +WESTAAR = "US_WarfareBAntiAirRadar_EP1"; + +/* Flag Textures */ +['WFBE_WESTFLAG','\Ca\ca_e\Data\flag_us_co.paa',true] Call SetNamespace; + +/* Mash used after being deployed */ +['WFBE_WESTFARP','Camp_EP1',true] Call SetNamespace; + +/* Construction Crates */ +['WFBE_WESTCONSTRUCTIONSITE','US_WarfareBContructionSite_EP1',true] Call SetNamespace; + +/* Structures */ +_v = ["Headquarters"]; +_n = [WESTHQ]; +_d = [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = [('WFBE_HQDEPLOYPRICE' Call GetNamespace)]; +_t = [if (WF_Debug) then {1} else {30}]; +_s = ["HQSite"]; +_dis = [15]; +_dir = [0]; + +_v = _v + ["Barracks"]; +_n = _n + [WESTBAR]; +_d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = _c + [200]; +_t = _t + [if (WF_Debug) then {1} else {70}]; +_s = _s + ["SmallSite"]; +_dis = _dis + [18]; +_dir = _dir + [90]; + +_v = _v + ["Light"]; +_n = _n + [WESTLVF]; +_d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = _c + [600]; +_t = _t + [if (WF_Debug) then {1} else {90}]; +_s = _s + ["MediumSite"]; +_dis = _dis + [25]; +_dir = _dir + [90]; + +_v = _v + ["CommandCenter"]; +_n = _n + [WESTCC]; +_d = _d + [localize "STR_WF_CommandCenter_USMC"]; +_c = _c + [1200]; +_t = _t + [if (WF_Debug) then {1} else {110}]; +_s = _s + ["SmallSite"]; +_dis = _dis + [20]; +_dir = _dir + [90]; + +_v = _v + ["Heavy"]; +_n = _n + [WESTHEAVY]; +_d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = _c + [2800]; +_t = _t + [if (WF_Debug) then {1} else {130}]; +_s = _s + ["MediumSite"]; +_dis = _dis + [25]; +_dir = _dir + [90]; + +_v = _v + ["Aircraft"]; +_n = _n + [WESTAIR]; +_d = _d + [localize "STR_WF_AircraftFactory"]; +_c = _c + [4400]; +_t = _t + [if (WF_Debug) then {1} else {150}]; +_s = _s + ["SmallSite"]; +_dis = _dis + [31]; +_dir = _dir + [90]; + +_v = _v + ["ServicePoint"]; +_n = _n + [WESTSP]; +_d = _d + [localize "STR_WF_MAIN_ServicePoint"]; +_c = _c + [700]; +_t = _t + [if (WF_Debug) then {1} else {70}]; +_s = _s + ["SmallSite"]; +_dis = _dis + [21]; +_dir = _dir + [90]; + +if (paramAARadar) then { + _v = _v + ["AARadar"]; + _n = _n + [WESTAAR]; + _d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; + _c = _c + [3200]; + _t = _t + [if (WF_Debug) then {1} else {280}]; + _s = _s + ["MediumSite"]; + _dis = _dis + [21]; + _dir = _dir + [90]; +}; + +for [{_count = count _v - 1},{_count >= 0},{_count = _count - 1}] do { + [Format["WFBE_WEST%1TYPE",_v select _count],_count,true] Call SetNamespace; +}; + +['WFBE_WESTMHQNAME','M1130_CV_EP1',true] Call SetNamespace; + +['WFBE_WESTSTRUCTURES',_v,true] Call SetNamespace; +['WFBE_WESTSTRUCTURENAMES',_n,true] Call SetNamespace; +['WFBE_WESTSTRUCTUREDESCRIPTIONS',_d,true] Call SetNamespace; +['WFBE_WESTSTRUCTURECOSTS',_c,true] Call SetNamespace; +['WFBE_WESTSTRUCTURETIMES',_t,true] Call SetNamespace; +['WFBE_WESTSTRUCTUREDISTANCES',_dis,true] Call SetNamespace; +['WFBE_WESTSTRUCTUREDIRECTIONS',_dir,true] Call SetNamespace; +['WFBE_WESTSTRUCTURESCRIPTS',_s,true] Call SetNamespace; + +/* Defenses */ +_n = ["WarfareBMGNest_M240_US_EP1"]; +_n = _n + ["M2HD_mini_TriPod_US_EP1"]; +_n = _n + ["SearchLight_US_EP1"]; +_n = _n + ["M2StaticMG_US_EP1"]; +if (paramDLCBAF) then { + _n = _n + ["BAF_GPMG_Minitripod_W"]; + _n = _n + ["BAF_GMG_Tripod_W"]; + _n = _n + ["BAF_L2A1_Minitripod_W"]; + _n = _n + ["BAF_L2A1_Tripod_W"]; +}; +_n = _n + ["MK19_TriPod_US_EP1"]; +_n = _n + ["TOW_TriPod_US_EP1"]; +_n = _n + ["Stinger_Pod_US_EP1"]; +_n = _n + ["M252_US_EP1"]; +_n = _n + ["M119_US_EP1"]; +_n = _n + ["Land_HBarrier3"]; +_n = _n + ["Land_HBarrier5"]; +_n = _n + ["Land_HBarrier_large"]; +_n = _n + ["US_WarfareBBarrier5x_EP1"]; +_n = _n + ["US_WarfareBBarrier10x_EP1"]; +_n = _n + ["US_WarfareBBarrier10xTall_EP1"]; +_n = _n + ["MASH_EP1"]; +_n = _n + ["Land_fort_bagfence_long"]; +_n = _n + ["Land_fort_bagfence_corner"]; +_n = _n + ["Land_fort_bagfence_round"]; +_n = _n + ["Land_fortified_nest_small_EP1"]; +_n = _n + ["Land_fort_rampart_EP1"]; +_n = _n + ["Land_fort_artillery_nest_EP1"]; +_n = _n + ["Hhedgehog_concreteBig"]; +_n = _n + ["Hedgehog_EP1"]; +_n = _n + ["Land_CamoNet_NATO_EP1"]; +_n = _n + ["Land_CamoNetVar_NATO_EP1"]; +_n = _n + ["Land_CamoNetB_NATO_EP1"]; +_n = _n + ["Sign_Danger"]; +_n = _n + ["HeliH"]; +_n = _n + ["Fort_RazorWire"]; +_n = _n + ["Concrete_Wall_EP1"]; +_n = _n + ["Land_Campfire"]; +_n = _n + ["USOrdnanceBox_EP1"]; +_n = _n + ["USVehicleBox_EP1"]; +_n = _n + ["USBasicAmmunitionBox_EP1"]; +_n = _n + ["USBasicWeapons_EP1"]; +_n = _n + ["USLaunchers_EP1"]; +_n = _n + ["USSpecialWeapons_EP1"]; + +/* Class used for AI, AI will attempt to build those */ +['WFBE_WESTDEFENSES_MG',['M2StaticMG_US_EP1'],true] Call SetNamespace; +['WFBE_WESTDEFENSES_GL',['MK19_TriPod_US_EP1'],true] Call SetNamespace; +['WFBE_WESTDEFENSES_AAPOD',['Stinger_Pod_US_EP1'],true] Call SetNamespace; +['WFBE_WESTDEFENSES_ATPOD',['TOW_TriPod_US_EP1'],true] Call SetNamespace; +['WFBE_WESTDEFENSES_CANNON',['M119_US_EP1'],true] Call SetNamespace; +['WFBE_WESTDEFENSES_MASH',['MASH_EP1'],true] Call SetNamespace; + +['WFBE_WESTDEFENSENAMES',_n,true] Call SetNamespace; \ No newline at end of file diff --git a/Common/Config/Core_Structures/CombinedOps/Structures_CDF.sqf b/Common/Config/Core_Structures/CombinedOps/Structures_CDF.sqf new file mode 100644 index 0000000..265eb8c --- /dev/null +++ b/Common/Config/Core_Structures/CombinedOps/Structures_CDF.sqf @@ -0,0 +1,161 @@ +Private ['_c','_count','_d','_dir','_dis','_n','_s','_t','_v']; + +/* Root Definition */ +WESTHQ = "BMP2_HQ_CDF_unfolded"; +WESTBAR = "CDF_WarfareBBarracks"; +WESTLVF = "CDF_WarfareBLightFactory"; +WESTCC = "CDF_WarfareBUAVterminal"; +WESTHEAVY = "CDF_WarfareBHeavyFactory"; +WESTAIR = "CDF_WarfareBAircraftFactory"; +WESTSP = "CDF_WarfareBVehicleServicePoint"; +WESTAAR = "CDF_WarfareBAntiAirRadar"; + +/* Flag Textures */ +['WFBE_WESTFLAG','\ca\ca_e\data\flag_cdf_co.paa',true] Call SetNamespace; + +/* Mash used after being deployed */ +['WFBE_WESTFARP','Camp',true] Call SetNamespace; + +/* Construction Crates */ +['WFBE_WESTCONSTRUCTIONSITE','CDF_WarfareBContructionSite',true] Call SetNamespace; + +/* Structures */ +_v = ["Headquarters"]; +_n = [WESTHQ]; +_d = [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = [('WFBE_HQDEPLOYPRICE' Call GetNamespace)]; +_t = [if (WF_Debug) then {1} else {30}]; +_s = ["HQSite"]; +_dis = [15]; +_dir = [0]; + +_v = _v + ["Barracks"]; +_n = _n + [WESTBAR]; +_d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = _c + [200]; +_t = _t + [if (WF_Debug) then {1} else {70}]; +_s = _s + ["SmallSite"]; +_dis = _dis + [18]; +_dir = _dir + [90]; + +_v = _v + ["Light"]; +_n = _n + [WESTLVF]; +_d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = _c + [600]; +_t = _t + [if (WF_Debug) then {1} else {90}]; +_s = _s + ["MediumSite"]; +_dis = _dis + [25]; +_dir = _dir + [90]; + +_v = _v + ["CommandCenter"]; +_n = _n + [WESTCC]; +_d = _d + [localize "STR_WF_CommandCenter_USMC"]; +_c = _c + [1200]; +_t = _t + [if (WF_Debug) then {1} else {110}]; +_s = _s + ["SmallSite"]; +_dis = _dis + [20]; +_dir = _dir + [90]; + +_v = _v + ["Heavy"]; +_n = _n + [WESTHEAVY]; +_d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = _c + [2800]; +_t = _t + [if (WF_Debug) then {1} else {130}]; +_s = _s + ["MediumSite"]; +_dis = _dis + [25]; +_dir = _dir + [90]; + +_v = _v + ["Aircraft"]; +_n = _n + [WESTAIR]; +_d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = _c + [4400]; +_t = _t + [if (WF_Debug) then {1} else {150}]; +_s = _s + ["SmallSite"]; +_dis = _dis + [31]; +_dir = _dir + [90]; + +_v = _v + ["ServicePoint"]; +_n = _n + [WESTSP]; +_d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = _c + [700]; +_t = _t + [if (WF_Debug) then {1} else {70}]; +_s = _s + ["SmallSite"]; +_dis = _dis + [21]; +_dir = _dir + [90]; + +if (paramAARadar) then { + _v = _v + ["AARadar"]; + _n = _n + [WESTAAR]; + _d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; + _c = _c + [3200]; + _t = _t + [if (WF_Debug) then {1} else {280}]; + _s = _s + ["MediumSite"]; + _dis = _dis + [21]; + _dir = _dir + [90]; +}; + +for [{_count = count _v - 1},{_count >= 0},{_count = _count - 1}] do { + [Format["WFBE_WEST%1TYPE",_v select _count],_count,true] Call SetNamespace; +}; + +['WFBE_WESTMHQNAME','BMP2_HQ_CDF',true] Call SetNamespace; + +['WFBE_WESTSTRUCTURES',_v,true] Call SetNamespace; +['WFBE_WESTSTRUCTURENAMES',_n,true] Call SetNamespace; +['WFBE_WESTSTRUCTUREDESCRIPTIONS',_d,true] Call SetNamespace; +['WFBE_WESTSTRUCTURECOSTS',_c,true] Call SetNamespace; +['WFBE_WESTSTRUCTURETIMES',_t,true] Call SetNamespace; +['WFBE_WESTSTRUCTUREDISTANCES',_dis,true] Call SetNamespace; +['WFBE_WESTSTRUCTUREDIRECTIONS',_dir,true] Call SetNamespace; +['WFBE_WESTSTRUCTURESCRIPTS',_s,true] Call SetNamespace; + +/* Defenses */ +_n = ["CDF_WarfareBMGNest_PK"]; +_n = _n + ["DSHkM_Mini_TriPod_CDF"]; +_n = _n + ["DSHKM_CDF"]; +_n = _n + ["SearchLight_CDF"]; +_n = _n + ["AGS_CDF"]; +_n = _n + ["SPG9_CDF"]; +_n = _n + ["ZU23_CDF"]; +_n = _n + ["2b14_82mm_CDF"]; +_n = _n + ["D30_CDF"]; +_n = _n + ["Land_HBarrier3"]; +_n = _n + ["Land_HBarrier5"]; +_n = _n + ["Land_HBarrier_large"]; +_n = _n + ["Base_WarfareBBarrier5x"]; +_n = _n + ["Base_WarfareBBarrier10x"]; +_n = _n + ["Base_WarfareBBarrier10xTall"]; +_n = _n + ["MASH_EP1"]; +_n = _n + ["Land_fort_bagfence_long"]; +_n = _n + ["Land_fort_bagfence_corner"]; +_n = _n + ["Land_fort_bagfence_round"]; +_n = _n + [if (WF_Camo) then {"Land_fortified_nest_small"} else {"Land_fortified_nest_small_EP1"}]; +_n = _n + [if (WF_Camo) then {"Land_fort_rampart"} else {"Land_fort_rampart_EP1"}]; +_n = _n + [if (WF_Camo) then {"Land_fort_artillery_nest"} else {"Land_fort_artillery_nest_EP1"}]; +_n = _n + ["Hhedgehog_concreteBig"]; +_n = _n + ["Hedgehog_EP1"]; +_n = _n + [if (WF_Camo) then {"Land_CamoNet_NATO"} else {"Land_CamoNet_NATO_EP1"}]; +_n = _n + [if (WF_Camo) then {"Land_CamoNetVar_NATO"} else {"Land_CamoNetVar_NATO_EP1"}]; +_n = _n + [if (WF_Camo) then {"Land_CamoNetB_NATO"} else {"Land_CamoNetB_NATO_EP1"}]; +_n = _n + ["Sign_Danger"]; +_n = _n + ["HeliH"]; +_n = _n + ["Fort_RazorWire"]; +_n = _n + ["Land_Ind_IlluminantTower"]; +_n = _n + ["Concrete_Wall_EP1"]; +_n = _n + ["Land_Campfire"]; +_n = _n + ["RUOrdnanceBox"]; +_n = _n + ["RUVehicleBox"]; +_n = _n + ["RUBasicAmmunitionBox"]; +_n = _n + ["RUBasicWeaponsBox"]; +_n = _n + ["RULaunchersBox"]; +_n = _n + ["RUSpecialWeaponsBox"]; + +/* Class used for AI, AI will attempt to build those */ +['WFBE_WESTDEFENSES_MG',['DSHKM_CDF'],true] Call SetNamespace; +['WFBE_WESTDEFENSES_GL',['AGS_CDF'],true] Call SetNamespace; +['WFBE_WESTDEFENSES_AAPOD',['ZU23_CDF'],true] Call SetNamespace; +['WFBE_WESTDEFENSES_ATPOD',['SPG9_CDF'],true] Call SetNamespace; +['WFBE_WESTDEFENSES_CANNON',['D30_CDF'],true] Call SetNamespace; +['WFBE_WESTDEFENSES_MASH',['MASH'],true] Call SetNamespace; + +['WFBE_WESTDEFENSENAMES',_n,true] Call SetNamespace; \ No newline at end of file diff --git a/Common/Config/Core_Structures/CombinedOps/Structures_INS.sqf b/Common/Config/Core_Structures/CombinedOps/Structures_INS.sqf new file mode 100644 index 0000000..9be1133 --- /dev/null +++ b/Common/Config/Core_Structures/CombinedOps/Structures_INS.sqf @@ -0,0 +1,162 @@ +Private ['_c','_count','_d','_dir','_dis','_n','_s','_t','_v']; + +/* Root Definition */ +EASTHQ = "BMP2_HQ_INS_unfolded"; +EASTBAR = "Ins_WarfareBBarracks"; +EASTLVF = "Ins_WarfareBLightFactory"; +EASTCC = "INS_WarfareBUAVterminal"; +EASTHEAVY = "Ins_WarfareBHeavyFactory"; +EASTAIR = "INS_WarfareBAircraftFactory"; +EASTSP = "INS_WarfareBVehicleServicePoint"; +EASTAAR = "INS_WarfareBAntiAirRadar"; + +/* Flag Textures */ +['WFBE_EASTFLAG','\Ca\Data\flag_chdkz_co.paa',true] Call SetNamespace; + +/* Mash used after being deployed */ +['WFBE_EASTFARP','CampEast',true] Call SetNamespace; + +/* Construction Crates */ +['WFBE_EASTCONSTRUCTIONSITE','Ins_WarfareBContructionSite',true] Call SetNamespace; + +/* Structures */ +_v = ["Headquarters"]; +_n = [EASTHQ]; +_d = [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = [('WFBE_HQDEPLOYPRICE' Call GetNamespace)]; +_t = [if (WF_Debug) then {1} else {30}]; +_s = ["HQSite"]; +_dis = [15]; +_dir = [0]; + +_v = _v + ["Barracks"]; +_n = _n + [EASTBAR]; +_d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = _c + [200]; +_t = _t + [if (WF_Debug) then {1} else {70}]; +_s = _s + ["SmallSite"]; +_dis = _dis + [18]; +_dir = _dir + [90]; + +_v = _v + ["Light"]; +_n = _n + [EASTLVF]; +_d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = _c + [600]; +_t = _t + [if (WF_Debug) then {1} else {90}]; +_s = _s + ["MediumSite"]; +_dis = _dis + [25]; +_dir = _dir + [90]; + +_v = _v + ["CommandCenter"]; +_n = _n + [EASTCC]; +_d = _d + [localize "STR_WF_CommandCenter_RU"]; +_c = _c + [1200]; +_t = _t + [if (WF_Debug) then {1} else {110}]; +_s = _s + ["SmallSite"]; + +_dis = _dis + [20]; +_dir = _dir + [90]; + +_v = _v + ["Heavy"]; +_n = _n + [EASTHEAVY]; +_d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = _c + [2800]; +_t = _t + [if (WF_Debug) then {1} else {130}]; +_s = _s + ["MediumSite"]; +_dis = _dis + [25]; +_dir = _dir + [90]; + +_v = _v + ["Aircraft"]; +_n = _n + [EASTAIR]; +_d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = _c + [4400]; +_t = _t + [if (WF_Debug) then {1} else {150}]; +_s = _s + ["SmallSite"]; +_dis = _dis + [21]; +_dir = _dir + [90]; + +_v = _v + ["ServicePoint"]; +_n = _n + [EASTSP]; +_d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = _c + [700]; +_t = _t + [if (WF_Debug) then {1} else {70}]; +_s = _s + ["SmallSite"]; +_dis = _dis + [21]; +_dir = _dir + [90]; + +if (paramAARadar) then { + _v = _v + ["AARadar"]; + _n = _n + [EASTAAR]; + _d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; + _c = _c + [3200]; + _t = _t + [if (WF_Debug) then {1} else {280}]; + _s = _s + ["MediumSite"]; + _dis = _dis + [21]; + _dir = _dir + [90]; +}; + +for [{_count = count _v - 1},{_count >= 0},{_count = _count - 1}] do { + [Format["WFBE_EAST%1TYPE",_v select _count],_count,true] Call SetNamespace; +}; + +['WFBE_EASTMHQNAME','BMP2_HQ_INS',true] Call SetNamespace; + +['WFBE_EASTSTRUCTURES',_v,true] Call SetNamespace; +['WFBE_EASTSTRUCTURENAMES',_n,true] Call SetNamespace; +['WFBE_EASTSTRUCTUREDESCRIPTIONS',_d,true] Call SetNamespace; +['WFBE_EASTSTRUCTURECOSTS',_c,true] Call SetNamespace; +['WFBE_EASTSTRUCTURETIMES',_t,true] Call SetNamespace; +['WFBE_EASTSTRUCTUREDISTANCES',_dis,true] Call SetNamespace; +['WFBE_EASTSTRUCTUREDIRECTIONS',_dir,true] Call SetNamespace; +['WFBE_EASTSTRUCTURESCRIPTS',_s,true] Call SetNamespace; + +/* Defenses */ +_n = ["Ins_WarfareBMGNest_PK"]; +_n = _n + ["SearchLight_INS"]; +_n = _n + ["DSHkM_Mini_TriPod"]; +_n = _n + ["DSHKM_Ins"]; +_n = _n + ["AGS_Ins"]; +_n = _n + ["SPG9_Ins"]; +_n = _n + ["ZU23_Ins"]; +_n = _n + ["2b14_82mm_INS"]; +_n = _n + ["D30_Ins"]; +_n = _n + ["Land_HBarrier3"]; +_n = _n + ["Land_HBarrier5"]; +_n = _n + ["Land_HBarrier_large"]; +_n = _n + ["Base_WarfareBBarrier5x"]; +_n = _n + ["Base_WarfareBBarrier10x"]; +_n = _n + ["Base_WarfareBBarrier10xTall"]; +_n = _n + ["MASH_EP1"]; +_n = _n + ["Land_fort_bagfence_long"]; +_n = _n + ["Land_fort_bagfence_corner"]; +_n = _n + ["Land_fort_bagfence_round"]; +_n = _n + [if (WF_Camo) then {"Land_fortified_nest_small"} else {"Land_fortified_nest_small_EP1"}]; +_n = _n + [if (WF_Camo) then {"Land_fort_rampart"} else {"Land_fort_rampart_EP1"}]; +_n = _n + [if (WF_Camo) then {"Land_fort_artillery_nest"} else {"Land_fort_artillery_nest_EP1"}]; +_n = _n + ["Hhedgehog_concreteBig"]; +_n = _n + ["Hedgehog_EP1"]; +_n = _n + [if (WF_Camo) then {"Land_CamoNet_EAST"} else {"Land_CamoNet_EAST_EP1"}]; +_n = _n + [if (WF_Camo) then {"Land_CamoNetVar_EAST"} else {"Land_CamoNetVar_EAST_EP1"}]; +_n = _n + [if (WF_Camo) then {"Land_CamoNetB_EAST"} else {"Land_CamoNetB_EAST_EP1"}]; +_n = _n + ["Sign_Danger"]; +_n = _n + ["HeliH"]; +_n = _n + ["Fort_RazorWire"]; +_n = _n + ["Land_Ind_IlluminantTower"]; +_n = _n + ["Concrete_Wall_EP1"]; +_n = _n + ["Land_Campfire"]; +_n = _n + ["RUOrdnanceBox"]; +_n = _n + ["RUVehicleBox"]; +_n = _n + ["RUBasicAmmunitionBox"]; +_n = _n + ["RUBasicWeaponsBox"]; +_n = _n + ["RULaunchersBox"]; +_n = _n + ["RUSpecialWeaponsBox"]; + +/* Class used for AI, AI will attempt to build those */ +['WFBE_EASTDEFENSES_MG',['DSHKM_Ins'],true] Call SetNamespace; +['WFBE_EASTDEFENSES_GL',['AGS_Ins'],true] Call SetNamespace; +['WFBE_EASTDEFENSES_AAPOD',['ZU23_Ins'],true] Call SetNamespace; +['WFBE_EASTDEFENSES_ATPOD',['SPG9_Ins'],true] Call SetNamespace; +['WFBE_EASTDEFENSES_CANNON',['D30_Ins'],true] Call SetNamespace; +['WFBE_EASTDEFENSES_MASH',['MASH'],true] Call SetNamespace; + +['WFBE_EASTDEFENSENAMES',_n,true] Call SetNamespace; \ No newline at end of file diff --git a/Common/Config/Core_Structures/CombinedOps/Structures_TKA.sqf b/Common/Config/Core_Structures/CombinedOps/Structures_TKA.sqf new file mode 100644 index 0000000..d5c5220 --- /dev/null +++ b/Common/Config/Core_Structures/CombinedOps/Structures_TKA.sqf @@ -0,0 +1,163 @@ +Private ['_c','_count','_d','_dir','_dis','_n','_s','_t','_v']; + +/* Root Definition */ +EASTHQ = if (WF_Camo) then {"BTR90_HQ_unfolded"} else {"BTR90_HQ_unfolded"}; +EASTBAR = if (WF_Camo) then {"RU_WarfareBBarracks"} else {"TK_WarfareBBarracks_EP1"}; +EASTLVF = if (WF_Camo) then {"RU_WarfareBLightFactory"} else {"TK_WarfareBLightFactory_EP1"}; +EASTCC = if (WF_Camo) then {"RU_WarfareBUAVterminal"} else {"TK_WarfareBUAVterminal_EP1"}; +EASTHEAVY = if (WF_Camo) then {"RU_WarfareBHeavyFactory"} else {"TK_WarfareBHeavyFactory_EP1"}; +EASTAIR = if (WF_Camo) then {"RU_WarfareBAircraftFactory"} else {"TK_WarfareBAircraftFactory_EP1"}; +EASTSP = if (WF_Camo) then {"RU_WarfareBVehicleServicePoint"} else {"TK_WarfareBVehicleServicePoint_EP1"}; +EASTAAR = if (WF_Camo) then {"RU_WarfareBAntiAirRadar"} else {"TK_WarfareBAntiAirRadar_EP1"}; + +/* Flag Textures */ +['WFBE_EASTFLAG','\Ca\Data\flag_rus_co.paa',true] Call SetNamespace; + +/* Mash used after being deployed */ +['WFBE_EASTFARP','CampEast',true] Call SetNamespace; + +/* Construction Crates */ +['WFBE_EASTCONSTRUCTIONSITE','RU_WarfareBContructionSite',true] Call SetNamespace; + +/* Structures */ +_v = ["Headquarters"]; +_n = [EASTHQ]; +_d = [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = [('WFBE_HQDEPLOYPRICE' Call GetNamespace)]; +_t = [if (WF_Debug) then {1} else {30}]; +_s = ["HQSite"]; +_dis = [15]; +_dir = [0]; + +_v = _v + ["Barracks"]; +_n = _n + [EASTBAR]; +_d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = _c + [200]; +_t = _t + [if (WF_Debug) then {1} else {70}]; +_s = _s + ["SmallSite"]; +_dis = _dis + [18]; +_dir = _dir + [90]; + +_v = _v + ["Light"]; +_n = _n + [EASTLVF]; +_d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = _c + [600]; +_t = _t + [if (WF_Debug) then {1} else {90}]; +_s = _s + ["MediumSite"]; +_dis = _dis + [25]; +_dir = _dir + [90]; + +_v = _v + ["CommandCenter"]; +_n = _n + [EASTCC]; +_d = _d + [localize "STR_WF_CommandCenter_RU"]; +_c = _c + [1200]; +_t = _t + [if (WF_Debug) then {1} else {110}]; +_s = _s + ["SmallSite"]; +_dis = _dis + [20]; +_dir = _dir + [90]; + +_v = _v + ["Heavy"]; +_n = _n + [EASTHEAVY]; +_d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = _c + [2800]; +_t = _t + [if (WF_Debug) then {1} else {130}]; +_s = _s + ["MediumSite"]; +_dis = _dis + [25]; +_dir = _dir + [90]; + +_v = _v + ["Aircraft"]; +_n = _n + [EASTAIR]; +_d = _d + [localize "STR_WF_AircraftFactory"]; +_c = _c + [4400]; +_t = _t + [if (WF_Debug) then {1} else {150}]; +_s = _s + ["SmallSite"]; +_dis = _dis + [21]; +_dir = _dir + [90]; + +_v = _v + ["ServicePoint"]; +_n = _n + [EASTSP]; +_d = _d + [localize "STR_WF_MAIN_ServicePoint"]; +_c = _c + [700]; +_t = _t + [if (WF_Debug) then {1} else {70}]; +_s = _s + ["SmallSite"]; +_dis = _dis + [21]; +_dir = _dir + [90]; + +if (paramAARadar) then { + _v = _v + ["AARadar"]; + _n = _n + [EASTAAR]; + _d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; + _c = _c + [3200]; + _t = _t + [if (WF_Debug) then {1} else {280}]; + _s = _s + ["MediumSite"]; + _dis = _dis + [21]; + _dir = _dir + [90]; +}; + +for [{_count = count _v - 1},{_count >= 0},{_count = _count - 1}] do { + [Format["WFBE_EAST%1TYPE",_v select _count],_count,true] Call SetNamespace; +}; + +['WFBE_EASTMHQNAME','BTR90_HQ',true] Call SetNamespace; + +['WFBE_EASTSTRUCTURES',_v,true] Call SetNamespace; +['WFBE_EASTSTRUCTURENAMES',_n,true] Call SetNamespace; +['WFBE_EASTSTRUCTUREDESCRIPTIONS',_d,true] Call SetNamespace; +['WFBE_EASTSTRUCTURECOSTS',_c,true] Call SetNamespace; +['WFBE_EASTSTRUCTURETIMES',_t,true] Call SetNamespace; +['WFBE_EASTSTRUCTUREDISTANCES',_dis,true] Call SetNamespace; +['WFBE_EASTSTRUCTUREDIRECTIONS',_dir,true] Call SetNamespace; +['WFBE_EASTSTRUCTURESCRIPTS',_s,true] Call SetNamespace; + +/* Defenses */ +_n = ["RU_WarfareBMGNest_PK"]; +_n = _n + ["SearchLight_TK_EP1"]; +_n = _n + ["KORD_TK_EP1"]; +_n = _n + ["KORD_high_TK_EP1"]; +_n = _n + ["AGS_TK_EP1"]; +_n = _n + ["SPG9_TK_INS_EP1"]; +_n = _n + ["Metis_TK_EP1"]; +_n = _n + ["Igla_AA_pod_TK_EP1"]; +_n = _n + ["ZU23_TK_EP1"]; +_n = _n + ["2b14_82mm_TK_EP1"]; +_n = _n + ["D30_TK_EP1"]; +_n = _n + ["Land_HBarrier3"]; +_n = _n + ["Land_HBarrier5"]; +_n = _n + ["Land_HBarrier_large"]; +_n = _n + ["TK_WarfareBBarrier5x_EP1"]; +_n = _n + ["TK_WarfareBBarrier10x_EP1"]; +_n = _n + ["TK_WarfareBBarrier10xTall_EP1"]; +_n = _n + ["MASH_EP1"]; +_n = _n + ["Land_fort_bagfence_long"]; +_n = _n + ["Land_fort_bagfence_corner"]; +_n = _n + ["Land_fort_bagfence_round"]; +_n = _n + [if (WF_Camo) then {"Land_fortified_nest_small"} else {"Land_fortified_nest_small_EP1"}]; +_n = _n + [if (WF_Camo) then {"Land_fort_rampart"} else {"Land_fort_rampart_EP1"}]; +_n = _n + [if (WF_Camo) then {"Land_fort_artillery_nest"} else {"Land_fort_artillery_nest_EP1"}]; +_n = _n + ["Hhedgehog_concreteBig"]; +_n = _n + ["Hedgehog_EP1"]; +_n = _n + [if (WF_Camo) then {"Land_CamoNet_EAST"} else {"Land_CamoNet_EAST_EP1"}]; +_n = _n + [if (WF_Camo) then {"Land_CamoNetVar_EAST"} else {"Land_CamoNetVar_EAST_EP1"}]; +_n = _n + [if (WF_Camo) then {"Land_CamoNetB_EAST"} else {"Land_CamoNetB_EAST_EP1"}]; +_n = _n + ["Sign_Danger"]; +_n = _n + ["HeliH"]; +_n = _n + ["Fort_RazorWire"]; +_n = _n + ["Land_Ind_IlluminantTower"]; +_n = _n + ["Concrete_Wall_EP1"]; +_n = _n + ["Land_Campfire"]; +_n = _n + ["RUOrdnanceBox"]; +_n = _n + ["RUVehicleBox"]; +_n = _n + ["RUBasicAmmunitionBox"]; +_n = _n + ["RUBasicWeaponsBox"]; +_n = _n + ["RULaunchersBox"]; +_n = _n + ["RUSpecialWeaponsBox"]; + +/* Class used for AI, AI will attempt to build those */ +['WFBE_EASTDEFENSES_MG',['KORD_high_TK_EP1'],true] Call SetNamespace; +['WFBE_EASTDEFENSES_GL',['AGS_TK_EP1'],true] Call SetNamespace; +['WFBE_EASTDEFENSES_AAPOD',['Igla_AA_pod_TK_EP1','ZU23_TK_EP1'],true] Call SetNamespace; +['WFBE_EASTDEFENSES_ATPOD',['Metis_TK_EP1','SPG9_TK_INS_EP1'],true] Call SetNamespace; +['WFBE_EASTDEFENSES_CANNON',['D30_TK_EP1'],true] Call SetNamespace; +['WFBE_EASTDEFENSES_MASH',['MASH_EP1'],true] Call SetNamespace; + +['WFBE_EASTDEFENSENAMES',_n,true] Call SetNamespace; \ No newline at end of file diff --git a/Common/Config/Core_Structures/CombinedOps/Structures_US.sqf b/Common/Config/Core_Structures/CombinedOps/Structures_US.sqf new file mode 100644 index 0000000..d2071ab --- /dev/null +++ b/Common/Config/Core_Structures/CombinedOps/Structures_US.sqf @@ -0,0 +1,167 @@ +Private ['_c','_count','_d','_dir','_dis','_n','_s','_t','_v']; + +/* Root Definition */ +WESTHQ = if (WF_Camo) then {"LAV25_HQ_unfolded"} else {"M1130_HQ_unfolded_EP1"}; +WESTBAR = if (WF_Camo) then {"USMC_WarfareBBarracks"} else {"US_WarfareBBarracks_EP1"}; +WESTLVF = if (WF_Camo) then {"USMC_WarfareBLightFactory"} else {"US_WarfareBLightFactory_EP1"}; +WESTCC = if (WF_Camo) then {"USMC_WarfareBUAVterminal"} else {"US_WarfareBUAVterminal_EP1"}; +WESTHEAVY = if (WF_Camo) then {"USMC_WarfareBHeavyFactory"} else {"US_WarfareBHeavyFactory_EP1"}; +WESTAIR = if (WF_Camo) then {"USMC_WarfareBAircraftFactory"} else {"US_WarfareBAircraftFactory_EP1"}; +WESTSP = if (WF_Camo) then {"USMC_WarfareBVehicleServicePoint"} else {"US_WarfareBVehicleServicePoint_EP1"}; +WESTAAR = if (WF_Camo) then {"USMC_WarfareBAntiAirRadar"} else {"US_WarfareBAntiAirRadar_EP1"}; + +/* Flag Textures */ +['WFBE_WESTFLAG','\Ca\ca_e\Data\flag_us_co.paa',true] Call SetNamespace; + +/* Mash used after being deployed */ +['WFBE_WESTFARP','Camp_EP1',true] Call SetNamespace; + +/* Construction Crates */ +['WFBE_WESTCONSTRUCTIONSITE','US_WarfareBContructionSite_EP1',true] Call SetNamespace; + +/* Structures */ +_v = ["Headquarters"]; +_n = [WESTHQ]; +_d = [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = [('WFBE_HQDEPLOYPRICE' Call GetNamespace)]; +_t = [if (WF_Debug) then {1} else {30}]; +_s = ["HQSite"]; +_dis = [15]; +_dir = [0]; + +_v = _v + ["Barracks"]; +_n = _n + [WESTBAR]; +_d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = _c + [200]; +_t = _t + [if (WF_Debug) then {1} else {70}]; +_s = _s + ["SmallSite"]; +_dis = _dis + [18]; +_dir = _dir + [90]; + +_v = _v + ["Light"]; +_n = _n + [WESTLVF]; +_d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = _c + [600]; +_t = _t + [if (WF_Debug) then {1} else {90}]; +_s = _s + ["MediumSite"]; +_dis = _dis + [25]; +_dir = _dir + [90]; + +_v = _v + ["CommandCenter"]; +_n = _n + [WESTCC]; +_d = _d + [localize "STR_WF_CommandCenter_USMC"]; +_c = _c + [1200]; +_t = _t + [if (WF_Debug) then {1} else {110}]; +_s = _s + ["SmallSite"]; +_dis = _dis + [20]; +_dir = _dir + [90]; + +_v = _v + ["Heavy"]; +_n = _n + [WESTHEAVY]; +_d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = _c + [2800]; +_t = _t + [if (WF_Debug) then {1} else {130}]; +_s = _s + ["MediumSite"]; +_dis = _dis + [25]; +_dir = _dir + [90]; + +_v = _v + ["Aircraft"]; +_n = _n + [WESTAIR]; +_d = _d + [localize "STR_WF_AircraftFactory"]; +_c = _c + [4400]; +_t = _t + [if (WF_Debug) then {1} else {150}]; +_s = _s + ["SmallSite"]; +_dis = _dis + [31]; +_dir = _dir + [90]; + +_v = _v + ["ServicePoint"]; +_n = _n + [WESTSP]; +_d = _d + [localize "STR_WF_MAIN_ServicePoint"]; +_c = _c + [700]; +_t = _t + [if (WF_Debug) then {1} else {70}]; +_s = _s + ["SmallSite"]; +_dis = _dis + [21]; +_dir = _dir + [90]; + +if (paramAARadar) then { + _v = _v + ["AARadar"]; + _n = _n + [WESTAAR]; + _d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; + _c = _c + [3200]; + _t = _t + [if (WF_Debug) then {1} else {280}]; + _s = _s + ["MediumSite"]; + _dis = _dis + [21]; + _dir = _dir + [90]; +}; + +for [{_count = count _v - 1},{_count >= 0},{_count = _count - 1}] do { + [Format["WFBE_WEST%1TYPE",_v select _count],_count,true] Call SetNamespace; +}; + +['WFBE_WESTMHQNAME',if (WF_Camo) then {'LAV25_HQ'} else {'M1130_CV_EP1'},true] Call SetNamespace; + +['WFBE_WESTSTRUCTURES',_v,true] Call SetNamespace; +['WFBE_WESTSTRUCTURENAMES',_n,true] Call SetNamespace; +['WFBE_WESTSTRUCTUREDESCRIPTIONS',_d,true] Call SetNamespace; +['WFBE_WESTSTRUCTURECOSTS',_c,true] Call SetNamespace; +['WFBE_WESTSTRUCTURETIMES',_t,true] Call SetNamespace; +['WFBE_WESTSTRUCTUREDISTANCES',_dis,true] Call SetNamespace; +['WFBE_WESTSTRUCTUREDIRECTIONS',_dir,true] Call SetNamespace; +['WFBE_WESTSTRUCTURESCRIPTS',_s,true] Call SetNamespace; + +/* Defenses */ +_n = ["WarfareBMGNest_M240_US_EP1"]; +_n = _n + ["M2HD_mini_TriPod_US_EP1"]; +_n = _n + ["SearchLight_US_EP1"]; +_n = _n + ["M2StaticMG_US_EP1"]; +if (paramDLCBAF) then { + _n = _n + ["BAF_GPMG_Minitripod_W"]; + _n = _n + ["BAF_GMG_Tripod_W"]; + _n = _n + ["BAF_L2A1_Minitripod_W"]; + _n = _n + ["BAF_L2A1_Tripod_W"]; +}; +_n = _n + ["MK19_TriPod_US_EP1"]; +_n = _n + ["TOW_TriPod_US_EP1"]; +_n = _n + ["Stinger_Pod_US_EP1"]; +_n = _n + ["M252_US_EP1"]; +_n = _n + ["M119_US_EP1"]; +_n = _n + ["Land_HBarrier3"]; +_n = _n + ["Land_HBarrier5"]; +_n = _n + ["Land_HBarrier_large"]; +_n = _n + ["US_WarfareBBarrier5x_EP1"]; +_n = _n + ["US_WarfareBBarrier10x_EP1"]; +_n = _n + ["US_WarfareBBarrier10xTall_EP1"]; +_n = _n + ["MASH_EP1"]; +_n = _n + ["Land_fort_bagfence_long"]; +_n = _n + ["Land_fort_bagfence_corner"]; +_n = _n + ["Land_fort_bagfence_round"]; +_n = _n + [if (WF_Camo) then {"Land_fortified_nest_small"} else {"Land_fortified_nest_small_EP1"}]; +_n = _n + [if (WF_Camo) then {"Land_fort_rampart"} else {"Land_fort_rampart_EP1"}]; +_n = _n + [if (WF_Camo) then {"Land_fort_artillery_nest"} else {"Land_fort_artillery_nest_EP1"}]; +_n = _n + ["Hhedgehog_concreteBig"]; +_n = _n + ["Hedgehog_EP1"]; +_n = _n + [if (WF_Camo) then {"Land_CamoNet_NATO"} else {"Land_CamoNet_NATO_EP1"}]; +_n = _n + [if (WF_Camo) then {"Land_CamoNetVar_NATO"} else {"Land_CamoNetVar_NATO_EP1"}]; +_n = _n + [if (WF_Camo) then {"Land_CamoNetB_NATO"} else {"Land_CamoNetB_NATO_EP1"}]; +_n = _n + ["Sign_Danger"]; +_n = _n + ["HeliH"]; +_n = _n + ["Fort_RazorWire"]; +_n = _n + ["Land_Ind_IlluminantTower"]; +_n = _n + ["Concrete_Wall_EP1"]; +_n = _n + ["Land_Campfire"]; +_n = _n + ["USOrdnanceBox_EP1"]; +_n = _n + ["USVehicleBox_EP1"]; +_n = _n + ["USBasicAmmunitionBox_EP1"]; +_n = _n + ["USBasicWeapons_EP1"]; +_n = _n + ["USLaunchers_EP1"]; +_n = _n + ["USSpecialWeapons_EP1"]; + +/* Class used for AI, AI will attempt to build those */ +['WFBE_WESTDEFENSES_MG',['M2StaticMG_US_EP1'],true] Call SetNamespace; +['WFBE_WESTDEFENSES_GL',['MK19_TriPod_US_EP1'],true] Call SetNamespace; +['WFBE_WESTDEFENSES_AAPOD',['Stinger_Pod_US_EP1'],true] Call SetNamespace; +['WFBE_WESTDEFENSES_ATPOD',['TOW_TriPod_US_EP1'],true] Call SetNamespace; +['WFBE_WESTDEFENSES_CANNON',['M119_US_EP1'],true] Call SetNamespace; +['WFBE_WESTDEFENSES_MASH',['MASH_EP1'],true] Call SetNamespace; + +['WFBE_WESTDEFENSENAMES',_n,true] Call SetNamespace; \ No newline at end of file diff --git a/Common/Config/Core_Structures/Vanilla/Structures_CDF.sqf b/Common/Config/Core_Structures/Vanilla/Structures_CDF.sqf new file mode 100644 index 0000000..180aed1 --- /dev/null +++ b/Common/Config/Core_Structures/Vanilla/Structures_CDF.sqf @@ -0,0 +1,162 @@ +Private ['_c','_count','_d','_dir','_dis','_n','_s','_t','_v']; + +/* Root Definition */ +WESTHQ = "BMP2_HQ_CDF_unfolded"; +WESTBAR = "CDF_WarfareBBarracks"; +WESTLVF = "CDF_WarfareBLightFactory"; +WESTCC = "CDF_WarfareBUAVterminal"; +WESTHEAVY = "CDF_WarfareBHeavyFactory"; +WESTAIR = "CDF_WarfareBAircraftFactory"; +WESTSP = "CDF_WarfareBVehicleServicePoint"; +WESTAAR = "CDF_WarfareBAntiAirRadar"; + +/* Flag Textures */ +['WFBE_WESTFLAG','\Ca\Data\flag_chernarus_co.paa',true] Call SetNamespace; + +/* Mash used after being deployed */ +['WFBE_WESTFARP','Camp',true] Call SetNamespace; + +/* Construction Crates */ +['WFBE_WESTCONSTRUCTIONSITE','CDF_WarfareBContructionSite',true] Call SetNamespace; + +/* Structures */ +_v = ["Headquarters"]; +_n = [WESTHQ]; +_d = [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = [('WFBE_HQDEPLOYPRICE' Call GetNamespace)]; +_t = [if (WF_Debug) then {1} else {30}]; +_s = ["HQSite"]; +_dis = [15]; +_dir = [0]; + +_v = _v + ["Barracks"]; +_n = _n + [WESTBAR]; +_d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = _c + [200]; +_t = _t + [if (WF_Debug) then {1} else {70}]; +_s = _s + ["SmallSite"]; +_dis = _dis + [18]; +_dir = _dir + [90]; + +_v = _v + ["Light"]; +_n = _n + [WESTLVF]; +_d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = _c + [600]; +_t = _t + [if (WF_Debug) then {1} else {90}]; +_s = _s + ["MediumSite"]; +_dis = _dis + [25]; +_dir = _dir + [90]; + +_v = _v + ["CommandCenter"]; +_n = _n + [WESTCC]; +_d = _d + [localize "STR_WF_CommandCenter_USMC"]; +_c = _c + [1200]; +_t = _t + [if (WF_Debug) then {1} else {110}]; +_s = _s + ["SmallSite"]; +_dis = _dis + [20]; +_dir = _dir + [90]; + +_v = _v + ["Heavy"]; +_n = _n + [WESTHEAVY]; +_d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = _c + [2800]; +_t = _t + [if (WF_Debug) then {1} else {130}]; +_s = _s + ["MediumSite"]; +_dis = _dis + [25]; +_dir = _dir + [90]; + +_v = _v + ["Aircraft"]; +_n = _n + [WESTAIR]; +_d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = _c + [4400]; +_t = _t + [if (WF_Debug) then {1} else {150}]; +_s = _s + ["SmallSite"]; +_dis = _dis + [31]; +_dir = _dir + [90]; + +_v = _v + ["ServicePoint"]; +_n = _n + [WESTSP]; +_d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = _c + [700]; +_t = _t + [if (WF_Debug) then {1} else {70}]; +_s = _s + ["SmallSite"]; +_dis = _dis + [21]; +_dir = _dir + [90]; + +if (paramAARadar) then { + _v = _v + ["AARadar"]; + _n = _n + [WESTAAR]; + _d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; + _c = _c + [3200]; + _t = _t + [if (WF_Debug) then {1} else {280}]; + _s = _s + ["MediumSite"]; + _dis = _dis + [21]; + _dir = _dir + [90]; +}; + +for [{_count = count _v - 1},{_count >= 0},{_count = _count - 1}] do { + [Format["WFBE_WEST%1TYPE",_v select _count],_count,true] Call SetNamespace; +}; + +['WFBE_WESTMHQNAME','BMP2_HQ_CDF',true] Call SetNamespace; + +['WFBE_WESTSTRUCTURES',_v,true] Call SetNamespace; +['WFBE_WESTSTRUCTURENAMES',_n,true] Call SetNamespace; +['WFBE_WESTSTRUCTUREDESCRIPTIONS',_d,true] Call SetNamespace; +['WFBE_WESTSTRUCTURECOSTS',_c,true] Call SetNamespace; +['WFBE_WESTSTRUCTURETIMES',_t,true] Call SetNamespace; +['WFBE_WESTSTRUCTUREDISTANCES',_dis,true] Call SetNamespace; +['WFBE_WESTSTRUCTUREDIRECTIONS',_dir,true] Call SetNamespace; +['WFBE_WESTSTRUCTURESCRIPTS',_s,true] Call SetNamespace; + +/* Defenses */ +_n = ["CDF_WarfareBMGNest_PK"]; +_n = _n + ["DSHkM_Mini_TriPod_CDF"]; +_n = _n + ["DSHKM_CDF"]; +_n = _n + ["SearchLight_CDF"]; +_n = _n + ["AGS_CDF"]; +_n = _n + ["SPG9_CDF"]; +_n = _n + ["ZU23_CDF"]; +_n = _n + ["2b14_82mm_CDF"]; +_n = _n + ["D30_CDF"]; +_n = _n + ["Land_HBarrier3"]; +_n = _n + ["Land_HBarrier5"]; +_n = _n + ["Land_HBarrier_large"]; +_n = _n + ["Base_WarfareBBarrier5x"]; +_n = _n + ["Base_WarfareBBarrier10x"]; +_n = _n + ["Base_WarfareBBarrier10xTall"]; +_n = _n + ["MASH"]; +_n = _n + ["Land_fort_bagfence_long"]; +_n = _n + ["Land_fort_bagfence_corner"]; +_n = _n + ["Land_fort_bagfence_round"]; +_n = _n + ["Land_fortified_nest_small"]; +_n = _n + ["Land_fortified_nest_big"]; +_n = _n + ["Land_Fort_Watchtower"]; +_n = _n + ["Land_fort_rampart"]; +_n = _n + ["Land_fort_artillery_nest"]; +_n = _n + ["Hhedgehog_concreteBig"]; +_n = _n + ["Hedgehog"]; +_n = _n + ["Land_CamoNet_NATO"]; +_n = _n + ["Land_CamoNetVar_NATO"]; +_n = _n + ["Land_CamoNetB_NATO"]; +_n = _n + ["Sign_Danger"]; +_n = _n + ["HeliH"]; +_n = _n + ["Fort_RazorWire"]; +_n = _n + ["Land_Ind_IlluminantTower"]; +_n = _n + ["Land_Campfire"]; +_n = _n + ["RUOrdnanceBox"]; +_n = _n + ["RUVehicleBox"]; +_n = _n + ["RUBasicAmmunitionBox"]; +_n = _n + ["RUBasicWeaponsBox"]; +_n = _n + ["RULaunchersBox"]; +_n = _n + ["RUSpecialWeaponsBox"]; + +/* Class used for AI, AI will attempt to build those */ +['WFBE_WESTDEFENSES_MG',['DSHKM_CDF'],true] Call SetNamespace; +['WFBE_WESTDEFENSES_GL',['AGS_CDF'],true] Call SetNamespace; +['WFBE_WESTDEFENSES_AAPOD',['ZU23_CDF'],true] Call SetNamespace; +['WFBE_WESTDEFENSES_ATPOD',['SPG9_CDF'],true] Call SetNamespace; +['WFBE_WESTDEFENSES_CANNON',['D30_CDF'],true] Call SetNamespace; +['WFBE_WESTDEFENSES_MASH',['MASH'],true] Call SetNamespace; + +['WFBE_WESTDEFENSENAMES',_n,true] Call SetNamespace; \ No newline at end of file diff --git a/Common/Config/Core_Structures/Vanilla/Structures_INS.sqf b/Common/Config/Core_Structures/Vanilla/Structures_INS.sqf new file mode 100644 index 0000000..edfdf5d --- /dev/null +++ b/Common/Config/Core_Structures/Vanilla/Structures_INS.sqf @@ -0,0 +1,163 @@ +Private ['_c','_count','_d','_dir','_dis','_n','_s','_t','_v']; + +/* Root Definition */ +EASTHQ = "BMP2_HQ_INS_unfolded"; +EASTBAR = "Ins_WarfareBBarracks"; +EASTLVF = "Ins_WarfareBLightFactory"; +EASTCC = "INS_WarfareBUAVterminal"; +EASTHEAVY = "Ins_WarfareBHeavyFactory"; +EASTAIR = "INS_WarfareBAircraftFactory"; +EASTSP = "INS_WarfareBVehicleServicePoint"; +EASTAAR = "INS_WarfareBAntiAirRadar"; + +/* Flag Textures */ +['WFBE_EASTFLAG','\Ca\Data\flag_chdkz_co.paa',true] Call SetNamespace; + +/* Mash used after being deployed */ +['WFBE_EASTFARP','CampEast',true] Call SetNamespace; + +/* Construction Crates */ +['WFBE_EASTCONSTRUCTIONSITE','Ins_WarfareBContructionSite',true] Call SetNamespace; + +/* Structures */ +_v = ["Headquarters"]; +_n = [EASTHQ]; +_d = [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = [('WFBE_HQDEPLOYPRICE' Call GetNamespace)]; +_t = [if (WF_Debug) then {1} else {30}]; +_s = ["HQSite"]; +_dis = [15]; +_dir = [0]; + +_v = _v + ["Barracks"]; +_n = _n + [EASTBAR]; +_d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = _c + [200]; +_t = _t + [if (WF_Debug) then {1} else {70}]; +_s = _s + ["SmallSite"]; +_dis = _dis + [18]; +_dir = _dir + [90]; + +_v = _v + ["Light"]; +_n = _n + [EASTLVF]; +_d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = _c + [600]; +_t = _t + [if (WF_Debug) then {1} else {90}]; +_s = _s + ["MediumSite"]; +_dis = _dis + [25]; +_dir = _dir + [90]; + +_v = _v + ["CommandCenter"]; +_n = _n + [EASTCC]; +_d = _d + [localize "STR_WF_CommandCenter_RU"]; +_c = _c + [1200]; +_t = _t + [if (WF_Debug) then {1} else {110}]; +_s = _s + ["SmallSite"]; + +_dis = _dis + [20]; +_dir = _dir + [90]; + +_v = _v + ["Heavy"]; +_n = _n + [EASTHEAVY]; +_d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = _c + [2800]; +_t = _t + [if (WF_Debug) then {1} else {130}]; +_s = _s + ["MediumSite"]; +_dis = _dis + [25]; +_dir = _dir + [90]; + +_v = _v + ["Aircraft"]; +_n = _n + [EASTAIR]; +_d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = _c + [4400]; +_t = _t + [if (WF_Debug) then {1} else {150}]; +_s = _s + ["SmallSite"]; +_dis = _dis + [21]; +_dir = _dir + [90]; + +_v = _v + ["ServicePoint"]; +_n = _n + [EASTSP]; +_d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = _c + [700]; +_t = _t + [if (WF_Debug) then {1} else {70}]; +_s = _s + ["SmallSite"]; +_dis = _dis + [21]; +_dir = _dir + [90]; + +if (paramAARadar) then { + _v = _v + ["AARadar"]; + _n = _n + [EASTAAR]; + _d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; + _c = _c + [3200]; + _t = _t + [if (WF_Debug) then {1} else {280}]; + _s = _s + ["MediumSite"]; + _dis = _dis + [21]; + _dir = _dir + [90]; +}; + +for [{_count = count _v - 1},{_count >= 0},{_count = _count - 1}] do { + [Format["WFBE_EAST%1TYPE",_v select _count],_count,true] Call SetNamespace; +}; + +['WFBE_EASTMHQNAME','BMP2_HQ_INS',true] Call SetNamespace; + +['WFBE_EASTSTRUCTURES',_v,true] Call SetNamespace; +['WFBE_EASTSTRUCTURENAMES',_n,true] Call SetNamespace; +['WFBE_EASTSTRUCTUREDESCRIPTIONS',_d,true] Call SetNamespace; +['WFBE_EASTSTRUCTURECOSTS',_c,true] Call SetNamespace; +['WFBE_EASTSTRUCTURETIMES',_t,true] Call SetNamespace; +['WFBE_EASTSTRUCTUREDISTANCES',_dis,true] Call SetNamespace; +['WFBE_EASTSTRUCTUREDIRECTIONS',_dir,true] Call SetNamespace; +['WFBE_EASTSTRUCTURESCRIPTS',_s,true] Call SetNamespace; + +/* Defenses */ +_n = ["Ins_WarfareBMGNest_PK"]; +_n = _n + ["SearchLight_INS"]; +_n = _n + ["DSHkM_Mini_TriPod"]; +_n = _n + ["DSHKM_Ins"]; +_n = _n + ["AGS_Ins"]; +_n = _n + ["SPG9_Ins"]; +_n = _n + ["ZU23_Ins"]; +_n = _n + ["2b14_82mm_INS"]; +_n = _n + ["D30_Ins"]; +_n = _n + ["Land_HBarrier3"]; +_n = _n + ["Land_HBarrier5"]; +_n = _n + ["Land_HBarrier_large"]; +_n = _n + ["Base_WarfareBBarrier5x"]; +_n = _n + ["Base_WarfareBBarrier10x"]; +_n = _n + ["Base_WarfareBBarrier10xTall"]; +_n = _n + ["MASH"]; +_n = _n + ["Land_fort_bagfence_long"]; +_n = _n + ["Land_fort_bagfence_corner"]; +_n = _n + ["Land_fort_bagfence_round"]; +_n = _n + ["Land_fortified_nest_small"]; +_n = _n + ["Land_fortified_nest_big"]; +_n = _n + ["Land_Fort_Watchtower"]; +_n = _n + ["Land_fort_rampart"]; +_n = _n + ["Land_fort_artillery_nest"]; +_n = _n + ["Hhedgehog_concreteBig"]; +_n = _n + ["Hedgehog"]; +_n = _n + ["Land_CamoNet_EAST"]; +_n = _n + ["Land_CamoNetVar_EAST"]; +_n = _n + ["Land_CamoNetB_EAST"]; +_n = _n + ["Sign_Danger"]; +_n = _n + ["HeliH"]; +_n = _n + ["Fort_RazorWire"]; +_n = _n + ["Land_Ind_IlluminantTower"]; +_n = _n + ["Land_Campfire"]; +_n = _n + ["RUOrdnanceBox"]; +_n = _n + ["RUVehicleBox"]; +_n = _n + ["RUBasicAmmunitionBox"]; +_n = _n + ["RUBasicWeaponsBox"]; +_n = _n + ["RULaunchersBox"]; +_n = _n + ["RUSpecialWeaponsBox"]; + +/* Class used for AI, AI will attempt to build those */ +['WFBE_EASTDEFENSES_MG',['DSHKM_Ins'],true] Call SetNamespace; +['WFBE_EASTDEFENSES_GL',['AGS_Ins'],true] Call SetNamespace; +['WFBE_EASTDEFENSES_AAPOD',['ZU23_Ins'],true] Call SetNamespace; +['WFBE_EASTDEFENSES_ATPOD',['SPG9_Ins'],true] Call SetNamespace; +['WFBE_EASTDEFENSES_CANNON',['D30_Ins'],true] Call SetNamespace; +['WFBE_EASTDEFENSES_MASH',['MASH'],true] Call SetNamespace; + +['WFBE_EASTDEFENSENAMES',_n,true] Call SetNamespace; \ No newline at end of file diff --git a/Common/Config/Core_Structures/Vanilla/Structures_RU.sqf b/Common/Config/Core_Structures/Vanilla/Structures_RU.sqf new file mode 100644 index 0000000..c0d32f5 --- /dev/null +++ b/Common/Config/Core_Structures/Vanilla/Structures_RU.sqf @@ -0,0 +1,165 @@ +Private ['_c','_count','_d','_dir','_dis','_n','_s','_t','_v']; + +/* Root Definition */ +EASTHQ = "BTR90_HQ_unfolded"; +EASTBAR = "RU_WarfareBBarracks"; +EASTLVF = "RU_WarfareBLightFactory"; +EASTCC = "RU_WarfareBUAVterminal"; +EASTHEAVY = "RU_WarfareBHeavyFactory"; +EASTAIR = "RU_WarfareBAircraftFactory"; +EASTSP = "RU_WarfareBVehicleServicePoint"; +EASTAAR = "RU_WarfareBAntiAirRadar"; + +/* Flag Textures */ +['WFBE_EASTFLAG','\Ca\Data\flag_rus_co.paa',true] Call SetNamespace; + +/* Mash used after being deployed */ +['WFBE_EASTFARP','CampEast',true] Call SetNamespace; + +/* Construction Crates */ +['WFBE_EASTCONSTRUCTIONSITE','RU_WarfareBContructionSite',true] Call SetNamespace; + +/* Structures */ +_v = ["Headquarters"]; +_n = [EASTHQ]; +_d = [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = [('WFBE_HQDEPLOYPRICE' Call GetNamespace)]; +_t = [if (WF_Debug) then {1} else {30}]; +_s = ["HQSite"]; +_dis = [15]; +_dir = [0]; + +_v = _v + ["Barracks"]; +_n = _n + [EASTBAR]; +_d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = _c + [200]; +_t = _t + [if (WF_Debug) then {1} else {70}]; +_s = _s + ["SmallSite"]; +_dis = _dis + [18]; +_dir = _dir + [90]; + +_v = _v + ["Light"]; +_n = _n + [EASTLVF]; +_d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = _c + [600]; +_t = _t + [if (WF_Debug) then {1} else {90}]; +_s = _s + ["MediumSite"]; +_dis = _dis + [25]; +_dir = _dir + [90]; + +_v = _v + ["CommandCenter"]; +_n = _n + [EASTCC]; +_d = _d + [localize "STR_WF_CommandCenter_RU"]; +_c = _c + [1200]; +_t = _t + [if (WF_Debug) then {1} else {110}]; +_s = _s + ["SmallSite"]; + +_dis = _dis + [20]; +_dir = _dir + [90]; + +_v = _v + ["Heavy"]; +_n = _n + [EASTHEAVY]; +_d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = _c + [2800]; +_t = _t + [if (WF_Debug) then {1} else {130}]; +_s = _s + ["MediumSite"]; +_dis = _dis + [25]; +_dir = _dir + [90]; + +_v = _v + ["Aircraft"]; +_n = _n + [EASTAIR]; +_d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = _c + [4400]; +_t = _t + [if (WF_Debug) then {1} else {150}]; +_s = _s + ["SmallSite"]; +_dis = _dis + [21]; +_dir = _dir + [90]; + +_v = _v + ["ServicePoint"]; +_n = _n + [EASTSP]; +_d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = _c + [700]; +_t = _t + [if (WF_Debug) then {1} else {70}]; +_s = _s + ["SmallSite"]; +_dis = _dis + [21]; +_dir = _dir + [90]; + +if (paramAARadar) then { + _v = _v + ["AARadar"]; + _n = _n + [EASTAAR]; + _d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; + _c = _c + [3200]; + _t = _t + [if (WF_Debug) then {1} else {280}]; + _s = _s + ["MediumSite"]; + _dis = _dis + [21]; + _dir = _dir + [90]; +}; + +for [{_count = count _v - 1},{_count >= 0},{_count = _count - 1}] do { + [Format["WFBE_EAST%1TYPE",_v select _count],_count,true] Call SetNamespace; +}; + +['WFBE_EASTMHQNAME','BTR90_HQ',true] Call SetNamespace; + +['WFBE_EASTSTRUCTURES',_v,true] Call SetNamespace; +['WFBE_EASTSTRUCTURENAMES',_n,true] Call SetNamespace; +['WFBE_EASTSTRUCTUREDESCRIPTIONS',_d,true] Call SetNamespace; +['WFBE_EASTSTRUCTURECOSTS',_c,true] Call SetNamespace; +['WFBE_EASTSTRUCTURETIMES',_t,true] Call SetNamespace; +['WFBE_EASTSTRUCTUREDISTANCES',_dis,true] Call SetNamespace; +['WFBE_EASTSTRUCTUREDIRECTIONS',_dir,true] Call SetNamespace; +['WFBE_EASTSTRUCTURESCRIPTS',_s,true] Call SetNamespace; + +/* Defenses */ +_n = ["RU_WarfareBMGNest_PK"]; +_n = _n + ["SearchLight_RUS"]; +_n = _n + ["KORD"]; +_n = _n + ["KORD_high"]; +_n = _n + ["AGS_RU"]; +_n = _n + ["SPG9_Ins"]; +_n = _n + ["Metis"]; +_n = _n + ["Igla_AA_pod_East"]; +_n = _n + ["ZU23_Ins"]; +_n = _n + ["2b14_82mm"]; +_n = _n + ["D30_RU"]; +_n = _n + ["Land_HBarrier3"]; +_n = _n + ["Land_HBarrier5"]; +_n = _n + ["Land_HBarrier_large"]; +_n = _n + ["Base_WarfareBBarrier5x"]; +_n = _n + ["Base_WarfareBBarrier10x"]; +_n = _n + ["Base_WarfareBBarrier10xTall"]; +_n = _n + ["MASH"]; +_n = _n + ["Land_fort_bagfence_long"]; +_n = _n + ["Land_fort_bagfence_corner"]; +_n = _n + ["Land_fort_bagfence_round"]; +_n = _n + ["Land_fortified_nest_small"]; +_n = _n + ["Land_fortified_nest_big"]; +_n = _n + ["Land_Fort_Watchtower"]; +_n = _n + ["Land_fort_rampart"]; +_n = _n + ["Land_fort_artillery_nest"]; +_n = _n + ["Hhedgehog_concreteBig"]; +_n = _n + ["Hedgehog"]; +_n = _n + ["Land_CamoNet_EAST"]; +_n = _n + ["Land_CamoNetVar_EAST"]; +_n = _n + ["Land_CamoNetB_EAST"]; +_n = _n + ["Sign_Danger"]; +_n = _n + ["HeliH"]; +_n = _n + ["Fort_RazorWire"]; +_n = _n + ["Land_Ind_IlluminantTower"]; +_n = _n + ["Land_Campfire"]; +_n = _n + ["RUOrdnanceBox"]; +_n = _n + ["RUVehicleBox"]; +_n = _n + ["RUBasicAmmunitionBox"]; +_n = _n + ["RUBasicWeaponsBox"]; +_n = _n + ["RULaunchersBox"]; +_n = _n + ["RUSpecialWeaponsBox"]; + +/* Class used for AI, AI will attempt to build those */ +['WFBE_EASTDEFENSES_MG',['KORD_high'],true] Call SetNamespace; +['WFBE_EASTDEFENSES_GL',['AGS_RU'],true] Call SetNamespace; +['WFBE_EASTDEFENSES_AAPOD',['Igla_AA_pod_East','ZU23_Ins'],true] Call SetNamespace; +['WFBE_EASTDEFENSES_ATPOD',['Metis','SPG9_Ins'],true] Call SetNamespace; +['WFBE_EASTDEFENSES_CANNON',['D30_RU'],true] Call SetNamespace; +['WFBE_EASTDEFENSES_MASH',['MASH'],true] Call SetNamespace; + +['WFBE_EASTDEFENSENAMES',_n,true] Call SetNamespace; \ No newline at end of file diff --git a/Common/Config/Core_Structures/Vanilla/Structures_USMC.sqf b/Common/Config/Core_Structures/Vanilla/Structures_USMC.sqf new file mode 100644 index 0000000..16ad994 --- /dev/null +++ b/Common/Config/Core_Structures/Vanilla/Structures_USMC.sqf @@ -0,0 +1,162 @@ +Private ['_c','_count','_d','_dir','_dis','_n','_s','_t','_v']; + +/* Root Definition */ +WESTHQ = "LAV25_HQ_unfolded"; +WESTBAR = "USMC_WarfareBBarracks"; +WESTLVF = "USMC_WarfareBLightFactory"; +WESTCC = "USMC_WarfareBUAVterminal"; +WESTHEAVY = "USMC_WarfareBHeavyFactory"; +WESTAIR = "USMC_WarfareBAircraftFactory"; +WESTSP = "USMC_WarfareBVehicleServicePoint"; +WESTAAR = "USMC_WarfareBAntiAirRadar"; + +/* Flag Textures */ +['WFBE_WESTFLAG','\Ca\Data\flag_usa_co.paa',true] Call SetNamespace; + +/* Mash used after being deployed */ +['WFBE_WESTFARP','Camp',true] Call SetNamespace; + +/* Construction Crates */ +['WFBE_WESTCONSTRUCTIONSITE','USMC_WarfareBContructionSite',true] Call SetNamespace; + +/* Structures */ +_v = ["Headquarters"]; +_n = [WESTHQ]; +_d = [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = [('WFBE_HQDEPLOYPRICE' Call GetNamespace)]; +_t = [if (WF_Debug) then {1} else {30}]; +_s = ["HQSite"]; +_dis = [15]; +_dir = [0]; + +_v = _v + ["Barracks"]; +_n = _n + [WESTBAR]; +_d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = _c + [200]; +_t = _t + [if (WF_Debug) then {1} else {70}]; +_s = _s + ["SmallSite"]; +_dis = _dis + [18]; +_dir = _dir + [90]; + +_v = _v + ["Light"]; +_n = _n + [WESTLVF]; +_d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = _c + [600]; +_t = _t + [if (WF_Debug) then {1} else {90}]; +_s = _s + ["MediumSite"]; +_dis = _dis + [25]; +_dir = _dir + [90]; + +_v = _v + ["CommandCenter"]; +_n = _n + [WESTCC]; +_d = _d + [localize "STR_WF_CommandCenter_USMC"]; +_c = _c + [1200]; +_t = _t + [if (WF_Debug) then {1} else {110}]; +_s = _s + ["SmallSite"]; +_dis = _dis + [20]; +_dir = _dir + [90]; + +_v = _v + ["Heavy"]; +_n = _n + [WESTHEAVY]; +_d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = _c + [2800]; +_t = _t + [if (WF_Debug) then {1} else {130}]; +_s = _s + ["MediumSite"]; +_dis = _dis + [25]; +_dir = _dir + [90]; + +_v = _v + ["Aircraft"]; +_n = _n + [WESTAIR]; +_d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = _c + [4400]; +_t = _t + [if (WF_Debug) then {1} else {150}]; +_s = _s + ["SmallSite"]; +_dis = _dis + [31]; +_dir = _dir + [90]; + +_v = _v + ["ServicePoint"]; +_n = _n + [WESTSP]; +_d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; +_c = _c + [700]; +_t = _t + [if (WF_Debug) then {1} else {70}]; +_s = _s + ["SmallSite"]; +_dis = _dis + [21]; +_dir = _dir + [90]; + +if (paramAARadar) then { + _v = _v + ["AARadar"]; + _n = _n + [WESTAAR]; + _d = _d + [getText (configFile >> "CfgVehicles" >> (_n select (count _n - 1)) >> "displayName")]; + _c = _c + [3200]; + _t = _t + [if (WF_Debug) then {1} else {280}]; + _s = _s + ["MediumSite"]; + _dis = _dis + [21]; + _dir = _dir + [90]; +}; + +for [{_count = count _v - 1},{_count >= 0},{_count = _count - 1}] do { + [Format["WFBE_WEST%1TYPE",_v select _count],_count,true] Call SetNamespace; +}; + +['WFBE_WESTMHQNAME','LAV25_HQ',true] Call SetNamespace; + +['WFBE_WESTSTRUCTURES',_v,true] Call SetNamespace; +['WFBE_WESTSTRUCTURENAMES',_n,true] Call SetNamespace; +['WFBE_WESTSTRUCTUREDESCRIPTIONS',_d,true] Call SetNamespace; +['WFBE_WESTSTRUCTURECOSTS',_c,true] Call SetNamespace; +['WFBE_WESTSTRUCTURETIMES',_t,true] Call SetNamespace; +['WFBE_WESTSTRUCTUREDISTANCES',_dis,true] Call SetNamespace; +['WFBE_WESTSTRUCTUREDIRECTIONS',_dir,true] Call SetNamespace; +['WFBE_WESTSTRUCTURESCRIPTS',_s,true] Call SetNamespace; + +/* Defenses */ +_n = ["USMC_WarfareBMGNest_M240"]; +_n = _n + ["M2HD_mini_TriPod"]; +_n = _n + ["M2StaticMG"]; +_n = _n + ["SearchLight"]; +_n = _n + ["MK19_TriPod"]; +_n = _n + ["TOW_TriPod"]; +_n = _n + ["Stinger_Pod"]; +_n = _n + ["M252"]; +_n = _n + ["M119"]; +_n = _n + ["Land_HBarrier3"]; +_n = _n + ["Land_HBarrier5"]; +_n = _n + ["Land_HBarrier_large"]; +_n = _n + ["Base_WarfareBBarrier5x"]; +_n = _n + ["Base_WarfareBBarrier10x"]; +_n = _n + ["Base_WarfareBBarrier10xTall"]; +_n = _n + ["MASH"]; +_n = _n + ["Land_fort_bagfence_long"]; +_n = _n + ["Land_fort_bagfence_corner"]; +_n = _n + ["Land_fort_bagfence_round"]; +_n = _n + ["Land_fortified_nest_small"]; +_n = _n + ["Land_fortified_nest_big"]; +_n = _n + ["Land_Fort_Watchtower"]; +_n = _n + ["Land_fort_rampart"]; +_n = _n + ["Land_fort_artillery_nest"]; +_n = _n + ["Hhedgehog_concreteBig"]; +_n = _n + ["Hedgehog"]; +_n = _n + ["Land_CamoNet_NATO"]; +_n = _n + ["Land_CamoNetVar_NATO"]; +_n = _n + ["Land_CamoNetB_NATO"]; +_n = _n + ["Sign_Danger"]; +_n = _n + ["HeliH"]; +_n = _n + ["Fort_RazorWire"]; +_n = _n + ["Land_Ind_IlluminantTower"]; +_n = _n + ["Land_Campfire"]; +_n = _n + ["USOrdnanceBox"]; +_n = _n + ["USVehicleBox"]; +_n = _n + ["USBasicAmmunitionBox"]; +_n = _n + ["USBasicWeaponsBox"]; +_n = _n + ["USLaunchersBox"]; +_n = _n + ["USSpecialWeaponsBox"]; + +/* Class used for AI, AI will attempt to build those */ +['WFBE_WESTDEFENSES_MG',['M2StaticMG'],true] Call SetNamespace; +['WFBE_WESTDEFENSES_GL',['MK19_TriPod'],true] Call SetNamespace; +['WFBE_WESTDEFENSES_AAPOD',['Stinger_Pod'],true] Call SetNamespace; +['WFBE_WESTDEFENSES_ATPOD',['TOW_TriPod'],true] Call SetNamespace; +['WFBE_WESTDEFENSES_CANNON',['M119'],true] Call SetNamespace; +['WFBE_WESTDEFENSES_MASH',['MASH'],true] Call SetNamespace; + +['WFBE_WESTDEFENSENAMES',_n,true] Call SetNamespace; \ No newline at end of file -- cgit v1.3.1