1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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];
|