From dee52083d359434fc3ac51a871c1b836d092d2ac Mon Sep 17 00:00:00 2001 From: hybrid Date: Thu, 11 Jun 2026 19:55:41 +0300 Subject: init --- Common/Config/Config_Squads.sqf | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Common/Config/Config_Squads.sqf (limited to 'Common/Config/Config_Squads.sqf') diff --git a/Common/Config/Config_Squads.sqf b/Common/Config/Config_Squads.sqf new file mode 100644 index 0000000..6ccd08f --- /dev/null +++ b/Common/Config/Config_Squads.sqf @@ -0,0 +1,19 @@ +Private ['_squads']; + +//--- West +_squads = Call Compile PreprocessFile Format["Common\Config\Core_Squads\%1\Squad_%2.sqf",WFBE_V_West_SquadsRootVersion,WFBE_V_West_SquadsFaction]; +['WFBE_WESTAITEAMTEMPLATES',_squads select 0,true] Call SetNamespace; +['WFBE_WESTAITEAMTEMPLATEREQUIRES',_squads select 1,true] Call SetNamespace; +['WFBE_WESTAITEAMTYPES',_squads select 2,true] Call SetNamespace; +['WFBE_WESTAITEAMUPGRADES',_squads select 3,true] Call SetNamespace; +['WFBE_WESTAITEAMTEMPLATEDESCRIPTIONS',_squads select 4,true] Call SetNamespace; + +//--- East. +_squads = Call Compile PreprocessFile Format["Common\Config\Core_Squads\%1\Squad_%2.sqf",WFBE_V_East_SquadsRootVersion,WFBE_V_East_SquadsFaction]; +['WFBE_EASTAITEAMTEMPLATES',_squads select 0,true] Call SetNamespace; +['WFBE_EASTAITEAMTEMPLATEREQUIRES',_squads select 1,true] Call SetNamespace; +['WFBE_EASTAITEAMTYPES',_squads select 2,true] Call SetNamespace; +['WFBE_EASTAITEAMUPGRADES',_squads select 3,true] Call SetNamespace; +['WFBE_EASTAITEAMTEMPLATEDESCRIPTIONS',_squads select 4,true] Call SetNamespace; + +diag_log Format ["[WFBE (INIT)][frameno:%1 | ticktime:%2] Config_Squads: Initialization (West: %3 | East: %4) - [Done]",diag_frameno,diag_tickTime,WFBE_V_West_SquadsFaction,WFBE_V_East_SquadsFaction]; \ No newline at end of file -- cgit v1.3.1