summaryrefslogtreecommitdiffstats
path: root/Common/Config/Config_Allies.sqf
diff options
context:
space:
mode:
authorhybrid <hybrid@hybridlabs.pro>2026-06-11 19:57:23 +0300
committerhybrid <hybrid@hybridlabs.pro>2026-06-11 19:57:23 +0300
commit3533c3aa9393fc6350178b196c813dc636ec9cf6 (patch)
tree2f96a879c3935dea18e73410926b03c7eef1a751 /Common/Config/Config_Allies.sqf
downloada2wf_isladuala-3533c3aa9393fc6350178b196c813dc636ec9cf6.tar.gz
a2wf_isladuala-3533c3aa9393fc6350178b196c813dc636ec9cf6.tar.bz2
a2wf_isladuala-3533c3aa9393fc6350178b196c813dc636ec9cf6.zip
init
Diffstat (limited to 'Common/Config/Config_Allies.sqf')
-rw-r--r--Common/Config/Config_Allies.sqf37
1 files changed, 37 insertions, 0 deletions
diff --git a/Common/Config/Config_Allies.sqf b/Common/Config/Config_Allies.sqf
new file mode 100644
index 0000000..c6ae3b0
--- /dev/null
+++ b/Common/Config/Config_Allies.sqf
@@ -0,0 +1,37 @@
+Private ["_eallies","_efolder","_u","_wallies","_wfolder"];
+
+//--- Folders and Faction.
+_eallies = "INS";
+_efolder = "Vanilla";
+_wallies = "CDF";
+_wfolder = "Vanilla";
+
+//--- West Allies.
+['WFBE_WESTALLIESCREW','CDF_Soldier_Crew',true] Call SetNamespace;
+['WFBE_WESTALLIESSOLDIER','CDF_Soldier',true] Call SetNamespace;
+['WFBE_WESTALLIESPILOT','CDF_Soldier_Pilot',true] Call SetNamespace;
+
+_u = Call Compile preprocessFile Format ["Common\Config\Core_Units\%1\Units_Barracks_%2.sqf",_wfolder,_wallies];
+['WFBE_WESTALLIESBARRACKSUNITS',_u,true] Call SetNamespace;
+_u = Call Compile preprocessFile Format ["Common\Config\Core_Units\%1\Units_Light_%2.sqf",_wfolder,_wallies];
+['WFBE_WESTALLIESLIGHTUNITS',_u,true] Call SetNamespace;
+_u = Call Compile preprocessFile Format ["Common\Config\Core_Units\%1\Units_Heavy_%2.sqf",_wfolder,_wallies];
+['WFBE_WESTALLIESHEAVYUNITS',_u,true] Call SetNamespace;
+_u = Call Compile preprocessFile Format ["Common\Config\Core_Units\%1\Units_Aircraft_%2.sqf",_wfolder,_wallies];
+['WFBE_WESTALLIESAIRCRAFTUNITS',_u,true] Call SetNamespace;
+
+//--- East Allies.
+['WFBE_EASTALLIESCREW','Ins_Soldier_Crew',true] Call SetNamespace;
+['WFBE_EASTALLIESSOLDIER','Ins_Soldier_1',true] Call SetNamespace;
+['WFBE_EASTALLIESPILOT','Ins_Soldier_Pilot',true] Call SetNamespace;
+
+_u = Call Compile preprocessFile Format ["Common\Config\Core_Units\%1\Units_Barracks_%2.sqf",_efolder,_eallies];
+['WFBE_EASTALLIESBARRACKSUNITS',_u,true] Call SetNamespace;
+_u = Call Compile preprocessFile Format ["Common\Config\Core_Units\%1\Units_Light_%2.sqf",_efolder,_eallies];
+['WFBE_EASTALLIESLIGHTUNITS',_u,true] Call SetNamespace;
+_u = Call Compile preprocessFile Format ["Common\Config\Core_Units\%1\Units_Heavy_%2.sqf",_efolder,_eallies];
+['WFBE_EASTALLIESHEAVYUNITS',_u,true] Call SetNamespace;
+_u = Call Compile preprocessFile Format ["Common\Config\Core_Units\%1\Units_Aircraft_%2.sqf",_efolder,_eallies];
+['WFBE_EASTALLIESAIRCRAFTUNITS',_u,true] Call SetNamespace;
+
+diag_log Format ["[WFBE (INIT)][frameno:%1 | ticktime:%2] Config_Allies: Initialization (West: %3 | East: %4) - [Done]",diag_frameno,diag_tickTime,_wallies,_eallies]; \ No newline at end of file