summaryrefslogtreecommitdiffstats
path: root/Common/Config/Config_Allies.sqf
diff options
context:
space:
mode:
authorhybrid <hybrid@hybridlabs.pro>2026-06-11 19:58:31 +0300
committerhybrid <hybrid@hybridlabs.pro>2026-06-11 19:58:31 +0300
commite670b4ed55c459a21090bd0178ceaaaf12d87989 (patch)
treeb6833d5e842475f0ee27f5f617096445fdd4e4a1 /Common/Config/Config_Allies.sqf
downloada2wf_fallujah-e670b4ed55c459a21090bd0178ceaaaf12d87989.tar.gz
a2wf_fallujah-e670b4ed55c459a21090bd0178ceaaaf12d87989.tar.bz2
a2wf_fallujah-e670b4ed55c459a21090bd0178ceaaaf12d87989.zip
init
Diffstat (limited to '')
-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