From 3533c3aa9393fc6350178b196c813dc636ec9cf6 Mon Sep 17 00:00:00 2001 From: hybrid Date: Thu, 11 Jun 2026 19:57:23 +0300 Subject: init --- Common/Config/Config_Allies.sqf | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Common/Config/Config_Allies.sqf (limited to 'Common/Config/Config_Allies.sqf') 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 -- cgit v1.3.1