From 6b3a295a2a433b2a29474c20e17e3eab2446b732 Mon Sep 17 00:00:00 2001 From: Chris Cardozo Date: Mon, 5 Oct 2020 18:47:06 -0400 Subject: [PATCH] A few small updates Support for new settings for pirate missions. --- @blckeagls_EDEN/addons/3EDEN_plugin.pbo | Bin 137360 -> 137888 bytes .../3EDEN_plugin/Export/fn_exportDynamic.sqf | 18 +++++++++++++++++- .../3EDEN_plugin/Export/fn_exportStatic.sqf | 1 - .../addons/3EDEN_plugin/config.cpp | 4 ++-- 4 files changed, 19 insertions(+), 4 deletions(-) diff --git a/@blckeagls_EDEN/addons/3EDEN_plugin.pbo b/@blckeagls_EDEN/addons/3EDEN_plugin.pbo index 3d7074220714d3dc2c6544f2122304901d075fb8..1068d5221b0469a044945c373c3d762314aa7113 100644 GIT binary patch delta 684 zcmaJ;J!lj`6n6Zv$wP7nEg3+W;JJo zE5s&Mz+$x!YyuVr45EjP7WRUbeFWRHu(=}Q?%s;pzb;~JQ_~) zhZErR>byFYG*uPV1K&la(^@rbuVu7J5HRk0S3~Al%xfFV)LHWRN|y`j=EqPL@!TjP zV*t+fibh?=jY3gZs+HLiE|h1Ki_H}PLp zV-0mkKwRFC4b!o%IfV0@#HBJ$>(MG%QDZ@J;z_DlN$w=c^H&5Btd-)T+oAlQ+VgLF zOmMlG8Z)Iv$2P$A@x%w1P#0}vnAyAItzfjLfb-F>=iumc%4t&(-}*lXLW4Mtf4@dt z(x&OuEft)>(6=nUXwPSMCJhK(vi1kawo38n^#?G15W@b?4Iri?whK;N;qjMgb13$? zMr{&00(qfp(g683;-Tr1fO#}_O9Z~d5fP}vg5;xJ#yRsn9_d>^y1`qaNtQCwK7t7i wS?pe{zmMdXEpVa#@ExF9|J!%)Og}aJI9c!Y9v^x2>E-*o%U?h5KKSwUHwTH=-~a#s delta 199 zcmZ3mm1Dw2jtRQVGSZnF4H(7v?z%I8!FHL<_`B|t?Zp&%*Be5F?ki@-uiu<2R>>i3 zZq3WZ$(fQ^lB!^AKyFF4HGZWb~T;x|31PLMJ~ZrPx2s zJ+Y`Lvp7FbCpWPI#ttq?EXhnR)+wnhNG(Pe+-}#ySfV}MU^%16_P!mAsRr9WzF?ef bC^CCz(Zh1PQ}%Z3x;9%b#|s{Ja=!%tf2c*w diff --git a/@blckeagls_EDEN/addons/3EDEN_plugin/Export/fn_exportDynamic.sqf b/@blckeagls_EDEN/addons/3EDEN_plugin/Export/fn_exportDynamic.sqf index 48fedeb..b392993 100644 --- a/@blckeagls_EDEN/addons/3EDEN_plugin/Export/fn_exportDynamic.sqf +++ b/@blckeagls_EDEN/addons/3EDEN_plugin/Export/fn_exportDynamic.sqf @@ -152,7 +152,21 @@ for "_i" from 1 to (count _landscape) do private _allowDamage = (_building get3DENAttribute "allowDamage") select 0; private _enableSimulation = (_building get3DENAttribute "enableSimulation") select 0; diag_log format["_exportDynamic-garisonedPos: _building %1 | damage %2 | simulation %3",_building,_allowDamage,_enableSimulation]; - _garisonedPos pushBack format[' ["%1",%2,%3,%4,%5,%6,%7,%8,%9]',typeOf _building,(getPosATL _building) vectorDiff CENTER,getDir _building,_allowDamage,_enableSimulation,oddsOfGarrison,maxGarrisonStatics,typesGarrisonStatics,maxGarrisonUnits]; + /* + // From blck_fnc_garrisonBuilding_RelPosSystem + // ["Land_Unfinished_Building_02_F",[-21.8763,-45.978,-0.00213432],0,true,true,0.67,3,[],4], + _x params["_bldClassName","_bldRelPos","_bldDir","_s","_d","_p","_noStatics","_typesStatics","_noUnits"]; + */ + _garisonedPos pushBack format[' ["%1",%2,%3,%4,%5,%6,%7,%8,%9]', + typeOf _building, + (getPosATL _building) vectorDiff CENTER, + getDir _building, + _allowDamage, + _enableSimulation, + oddsOfGarrison, + maxGarrisonStatics, + typesGarrisonStatics, + maxGarrisonUnits]; } else { _landscape pushBack _building; }; @@ -400,6 +414,8 @@ _lines pushBack format["_maxNoAI = blck_MaxAI_%1;",blck_MissionDifficulty]; _lines pushBack format["_noAIGroups = blck_AIGrps_%1;",blck_MissionDifficulty]; _lines pushBack format["_noVehiclePatrols = blck_SpawnVeh_%1;",blck_MissionDifficulty]; _lines pushBack format["_noEmplacedWeapons = blck_SpawnEmplaced_%1;",blck_MissionDifficulty]; +_lines pushBack "_submarinePatrols = 0; // Default number of submarine patrols at pirate missions"; +_lines pushBack "_scubaPatrols = 0; // Default number of scuba diver patrols at pirate missions"; _lines pushBack ""; _lines pushBack '#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf";'; diff --git a/@blckeagls_EDEN/addons/3EDEN_plugin/Export/fn_exportStatic.sqf b/@blckeagls_EDEN/addons/3EDEN_plugin/Export/fn_exportStatic.sqf index 8e0d600..b4aef16 100644 --- a/@blckeagls_EDEN/addons/3EDEN_plugin/Export/fn_exportStatic.sqf +++ b/@blckeagls_EDEN/addons/3EDEN_plugin/Export/fn_exportStatic.sqf @@ -291,7 +291,6 @@ _lines pushBack ""; _lines pushBack "/*"; _lines pushBack " Use the parameters below to customize your mission - see the template or blck_configs.sqf for details about each them"; _lines pushBack "*/"; - _linse pushBack "_useMines = blck_useMines;"; _lines pushBack "_uniforms = blck_SkinList;"; _lines pushBack "_headgear = blck_headgear;"; diff --git a/@blckeagls_EDEN/addons/3EDEN_plugin/config.cpp b/@blckeagls_EDEN/addons/3EDEN_plugin/config.cpp index 72a2777..295f753 100644 --- a/@blckeagls_EDEN/addons/3EDEN_plugin/config.cpp +++ b/@blckeagls_EDEN/addons/3EDEN_plugin/config.cpp @@ -52,8 +52,8 @@ class CfgBlck3DEN class CfgVersion { version = 1.0; - build = 7; - date = "09/21/20"; + build = 8; + date = "10/05/20"; }; };