From e7725d2caf384d21e54aea691d0dff0036399012 Mon Sep 17 00:00:00 2001 From: Zach Date: Sun, 1 Dec 2024 10:15:03 -0500 Subject: [PATCH 1/8] remoteExec audit --- ZAM_fnc_EZMLiteV2.1.1.sqf | 630 ++++++++++++++------------------------ 1 file changed, 238 insertions(+), 392 deletions(-) diff --git a/ZAM_fnc_EZMLiteV2.1.1.sqf b/ZAM_fnc_EZMLiteV2.1.1.sqf index f7d9760..235ce39 100644 --- a/ZAM_fnc_EZMLiteV2.1.1.sqf +++ b/ZAM_fnc_EZMLiteV2.1.1.sqf @@ -1593,7 +1593,7 @@ comment "Attributes Dialog Creation"; MAZ_EZM_applyAttributeChangesToMan = { params ["_unit","_attributes"]; _attributes params ["_name","_rank","_stance","_health","_skill","_respawn"]; - [_unit,_name] remoteExec ['setName',0,_unit]; + [_unit,_name] remoteExec ['setName']; _unit setRank _rank; _unit setUnitPos _stance; MAZ_EZM_stanceForAI = _stance; @@ -2424,10 +2424,15 @@ comment "Attributes Dialog Creation"; params ["_vehicle","_attributes"]; _attributes params [["_health",damage _vehicle],["_fuel",fuel _vehicle],["_lockState",locked _vehicle],["_engineState",isEngineOn _vehicle],["_lightState",isLightOn _vehicle],"_respawn"]; _vehicle setDamage (1-_health); - _vehicle setFuel _fuel; - _vehicle lock _lockState; - _vehicle engineOn _engineState; - _vehicle setPilotLight _lightState; + [[_vehicle,_fuel,_lockState,_engineState,_lightState], { + [_this,{ + params ["_vehicle","_fuel","_lockState","_engineState","_light"]; + _vehicle setFuel _fuel; + _vehicle lock (parseNumber _lockState); + _vehicle engineOn _engineState; + _vehicle setPilotLight _light; + }] remoteExec ["spawn",owner (_this # 0)]; + }] remoteExec ["spawn",2]; [_vehicle,_respawn] call MAZ_EZM_applyCreateRespawnToUnitAttribs; }; @@ -2560,11 +2565,17 @@ comment "Attributes Dialog Creation"; params ["_vehicle","_attributes"]; _attributes params [["_health",damage _vehicle],["_fuel",fuel _vehicle],["_lockState",locked _vehicle],["_engineState",isEngineOn _vehicle],["_lightState",isLightOn _vehicle],["_colLightState",isCollisionLightOn _vehicle],"_respawn"]; _vehicle setDamage (1-_health); - _vehicle setFuel _fuel; - [_vehicle,_lockState] remoteExec ['lock',0,_vehicle]; - _vehicle engineOn _engineState; - _vehicle setPilotLight _lightState; - _vehicle setCollisionLight _colLightState; + + [[_vehicle,_fuel,_lockState,_engineState,_lightState,_colLightState], { + [_this,{ + params ["_vehicle","_fuel","_lockState","_engineState","_light","_colLight"]; + _vehicle setFuel _fuel; + _vehicle lock (parseNumber _lockState); + _vehicle engineOn _engineState; + _vehicle setPilotLight _light; + _vehicle setCollisionLight _colLight; + }] remoteExec ["spawn",owner (_this # 0)]; + }] remoteExec ["spawn",2]; [_vehicle,_respawn] call MAZ_EZM_applyCreateRespawnToUnitAttribs; }; @@ -4111,9 +4122,9 @@ MAZ_EZM_fnc_createUnitForZeus = { private _namePlayer = name player; selectPlayer _zeusObject; waitUntil{player == _zeusObject}; - [_zeusObject,false] remoteExec ['allowDamage']; + [_zeusObject,false] remoteExec ["allowDamage"]; - [_zeusLogic] remoteExec ['unassignCurator',2]; + [_zeusLogic] remoteExec ["unassignCurator",2]; waitUntil{(getAssignedCuratorUnit _zeusLogic) != _oldPlayer}; deleteVehicle _oldPlayer; @@ -4125,7 +4136,7 @@ MAZ_EZM_fnc_createUnitForZeus = { waitUntil {_zeusLogic in (missionNamespace getVariable ["MAZ_EZM_CuratorWhitelist",[]])}; while{isNull (getAssignedCuratorUnit (allCurators select _zeusIndex))} do { - [player,allCurators select _zeusIndex] remoteExec ['assignCurator',2]; + [player,allCurators select _zeusIndex] remoteExec ["assignCurator",2]; sleep 0.1; }; @@ -4148,8 +4159,6 @@ MAZ_EZM_fnc_createUnitForZeus = { playSound "beep_target"; sleep 0.2; - [_oldPlayer,true] remoteExec ["hideObjectGlobal"]; - [_zeusObject,_namePlayer] remoteExec ["setName"]; [_zeusObject] call MAZ_EZM_fnc_addObjectToInterface; ["Zeus Unit created, you can adjust its loadout by setting a Zeus Loadout."] call MAZ_EZM_fnc_systemMessage; @@ -4941,20 +4950,29 @@ MAZ_EZM_fnc_initFunction = { safeZoneX + safeZoneW / 1.5, safeZoneY + safeZoneH / 1.3 ] spawn BIS_fnc_typeText; - if (!isNil 'M9_EZM_EH_plugOverlayFix') then { - removeMissionEventHandler ['EachFrame', M9_EZM_EH_plugOverlayFix]; + if (!isNil "M9_EZM_EH_plugOverlayFix") then { + removeMissionEventHandler ["EachFrame", M9_EZM_EH_plugOverlayFix]; }; M9_EZM_EH_plugOverlayFix = addMissionEventHandler ["EachFrame", { (uinamespace getvariable ["RscTilesGroup", displayNull]) closeDisplay 0; }]; sleep 90; - if (!isNil 'M9_EZM_EH_plugOverlayFix') then { - removeMissionEventHandler ['EachFrame', M9_EZM_EH_plugOverlayFix]; + if (!isNil "M9_EZM_EH_plugOverlayFix") then { + removeMissionEventHandler ["EachFrame", M9_EZM_EH_plugOverlayFix]; }; - }] remoteExec ['spawn', 0, 'EZM_PLUG_JIP']; + }] remoteExec ["spawn", 0, "EZM_PLUG_JIP"]; private _wl = missionNamespace getVariable ["MAZ_EZM_CuratorWhitelist",[]]; _wl = _wl + allCurators; missionNamespace setVariable ["MAZ_EZM_CuratorWhitelist",_wl,true]; + + [[], { + MAZ_EZM_broadcastServerFPS = true; + MAZ_EZM_serverFPS = 100; + while {MAZ_EZM_broadcastServerFPS} do { + MAZ_EZM_serverFPS = floor diag_fps; + sleep 1; + }; + }] remoteExec ["spawn",2]; }; MAZ_EZM_fnc_fixDynamicGroups = { @@ -5037,27 +5055,6 @@ MAZ_EZM_fnc_initFunction = { dayTime > _sunset || dayTime < _sunrise }; - MAZ_EZM_fnc_getServerFPS = { - if(missionNamespace getVariable ["MAZ_EZM_isPingingServerFPS",false]) exitWith {}; - missionNamespace setVariable ["MAZ_EZM_isPingingServerFPS",true]; - - MAZ_EZM_serverFPS = 0; - MAZ_EZM_serverResponded = false; - [[], { - [diag_fps,{ - _this call { - uiNamespace setVariable ["MAZ_EZM_serverFPS",floor _this]; - uiNamespace setVariable ["MAZ_EZM_serverResponded", true]; - }; - }] remoteExec ['call',remoteExecutedOwner]; - }] remoteExec ['spawn',2]; - - [] spawn { - waitUntil {uiSleep 0.1; MAZ_EZM_serverResponded}; - missionNamespace setVariable ["MAZ_EZM_isPingingServerFPS",false]; - }; - }; - comment "EZM Eventhandlers"; MAZ_EZM_fnc_addEZMEventHandler = { params ["_type","_code"]; @@ -5275,18 +5272,18 @@ MAZ_EZM_fnc_initFunction = { if(_anim == "") then { [_args,"AmovPercMstpSnonWnonDnon"] remoteExec ["switchMove"]; _args setBehaviour "AWARE"; - [_args,"Move"]remoteExec ["enableAI",0]; - [_args,"Anim"]remoteExec ["enableAI",0]; + [_args,"Move"] remoteExec ["enableAI"]; + [_args,"Anim"] remoteExec ["enableAI"]; ["Animation reset."] call MAZ_EZM_fnc_systemMessage; } else { (group _args) setBehaviour "CARELESS"; - [_args,"Move"]remoteExec ["disableAI",0]; - [_args,"Anim"]remoteExec ["disableAI",0]; - [_args,_anim] remoteExec ['switchMove',0]; + [_args,"Move"] remoteExec ["disableAI"]; + [_args,"Anim"] remoteExec ["disableAI"]; + [_args,_anim] remoteExec ["switchMove"]; _args setVariable ["MAZ_EZM_animDone", _args addEventhandler ["AnimDone",{ params ["_unit","_anim"]; - [_args,_anim] remoteExec ['switchMove']; + [_args,_anim] remoteExec ["switchMove"]; }],true ]; if(_isCombat) then { @@ -5296,8 +5293,8 @@ MAZ_EZM_fnc_initFunction = { _unit removeEventHandler [_thisEvent, _thisEventHandler]; 'ඞ'; [_unit,"AmovPercMstpSnonWnonDnon"] remoteExec ["switchMove"]; _unit setBehaviour "COMBAT"; - [_unit,"Move"]remoteExec ["enableAI",0]; - [_unit,"Anim"]remoteExec ["enableAI",0]; + [_unit,"Move"] remoteExec ["enableAI"]; + [_unit,"Anim"] remoteExec ["enableAI"]; }],true ]; }; @@ -5386,10 +5383,10 @@ MAZ_EZM_fnc_initFunction = { private _unit = _units select _forEachIndex; _unit setPos _x; _newUnits = _newUnits - [_unit]; - [_unit,0] remoteExec ['forceSpeed',owner _unit]; + [_unit,0] remoteExec ['forceSpeed']; _unit addEventHandler ["Suppressed", { params ["_unit", "_distance", "_shooter", "_instigator", "_ammoObject", "_ammoClassName", "_ammoConfig"]; - [_unit,-1] remoteExec ['forceSpeed',owner _unit]; + [_unit,-1] remoteExec ['forceSpeed']; }]; }; }forEach _positions; @@ -5467,10 +5464,10 @@ MAZ_EZM_fnc_initFunction = { waitUntil {moveToCompleted _unit}; _unit setPos _pos; _unit setBehaviour "SAFE"; - [_unit,0] remoteExec ['forceSpeed',owner _unit]; + [_unit,0] remoteExec ['forceSpeed']; _unit addEventHandler ["Suppressed", { params ["_unit", "_distance", "_shooter", "_instigator", "_ammoObject", "_ammoClassName", "_ammoConfig"]; - [_unit,-1] remoteExec ['forceSpeed',owner _unit]; + [_unit,-1] remoteExec ['forceSpeed']; }]; }; @@ -5635,9 +5632,9 @@ MAZ_EZM_fnc_initFunction = { params ["_entity"]; if(isNull _entity || !((typeOf _entity) isKindOf "Man")) exitWith {["Unit is not suitable.","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; - [_entity,true] remoteExec ["setCaptive",0]; - [_entity,"Move"]remoteExec ["disableAI",0]; - [_entity,"Acts_AidlPsitMstpSsurWnonDnon_loop"] remoteExec["switchMove",0]; + [_entity,true] remoteExec ["setCaptive"]; + [_entity,"Move"] remoteExec ["disableAI"]; + [_entity,"Acts_AidlPsitMstpSsurWnonDnon_loop"] remoteExec ["switchMove"]; private _holdActionIndex = [ _entity, "Free Hostage", @@ -5648,11 +5645,14 @@ MAZ_EZM_fnc_initFunction = { {}, {}, { - _unit = (_this select 0); - [_unit,false] remoteExec ["setCaptive",0]; - [_unit,"Move"]remoteExec ["enableAI",0]; - [_unit,"AmovPercMstpSnonWnonDnon"] remoteExec["playMove",0]; - [_unit] remoteExec ["removeAllActions",0]; + params ["_unit","_caller"]; + [_unit,false] remoteExec ["setCaptive"]; + [_unit,"Move"] remoteExec ["enableAI"]; + [_unit,"AmovPercMstpSnonWnonDnon"] remoteExec ["playMove"]; + [_unit] remoteExec ["removeAllActions"]; + ["TaskSucceeded",["",format ["Hostage (%1) was freed by %2",name _unit,name _caller]]] remoteExec ['BIS_fnc_showNotification']; + + remoteExec ["",_unit]; "Remove from JIP queue"; }, {}, [], @@ -5665,14 +5665,15 @@ MAZ_EZM_fnc_initFunction = { if(_entity getVariable ["MAZ_EZM_hostageEH",-1] == -1) then { _entity setVariable ['MAZ_EZM_hostageEH',_entity addEventHandler ["Killed",{ params ["_unit", "_killer", "_instigator", "_useEffects"]; - [_unit] remoteExec ["removeAllActions",0]; - ["TaskFailed",["",format ["Hostage (%1) was killed by %2",name _unit,name _killer]]] remoteExec ['BIS_fnc_showNotification',0]; + [_unit] remoteExec ["removeAllActions"]; + remoteExec ["",_unit]; + ["TaskFailed",["",format ["Hostage (%1) was killed by %2",name _unit,name _killer]]] remoteExec ['BIS_fnc_showNotification']; [_unit,[ "Take Dogtag", { params ["_target", "_caller", "_actionId", "_arguments"]; - ["TaskSucceeded",["",format ["Hostage (%1) dogtag was taken by %2",name _target,name _caller]]] remoteExec ['BIS_fnc_showNotification',0]; - [_target] remoteExec ["removeAllActions",0]; + ["TaskSucceeded",["",format ["Hostage (%1) dogtag was taken by %2",name _target,name _caller]]] remoteExec ['BIS_fnc_showNotification']; + [_target] remoteExec ["removeAllActions"]; }, nil, 1.5, @@ -5680,7 +5681,7 @@ MAZ_EZM_fnc_initFunction = { true, "", "_target distance _this < 5" - ]] remoteExec ['addAction',0]; + ]] remoteExec ["addAction"]; }]]; }; @@ -5695,9 +5696,10 @@ MAZ_EZM_fnc_initFunction = { params ["_nearestMan"]; _nearestMan addEventHandler ["Killed",{ params ["_unit", "_killer", "_instigator", "_useEffects"]; - ["TaskSucceeded",["",format ["%1 was killed by %2",name _unit,name _killer]]] remoteExec ['BIS_fnc_showNotification',0]; + ["TaskSucceeded",["",format ["%1 was killed by %2",name _unit,name _killer]]] remoteExec ['BIS_fnc_showNotification']; + remoteExec ["",_unit]; }]; - }] remoteExec ['spawn',0,_entity]; + }] remoteExec ["spawn",0,_entity]; ["HVT created, all players will be notified of their death.","addItemOk"] call MAZ_EZM_fnc_systemMessage; }; @@ -5746,32 +5748,17 @@ MAZ_EZM_fnc_initFunction = { }] remoteExec ["spawn"]; [format ["Difficulty set to %1.",_overrideValue]] call MAZ_EZM_fnc_systemMessage; }; - switch (_value) do { - case "easy": { - [[], { - { - _x setSkill 0; - } forEach allUnits; - }] remoteExec ["spawn"]; - ["Difficulty set to EASY."] call MAZ_EZM_fnc_systemMessage; - }; - case "medium": { - [[], { - { - _x setSkill 0.5; - } forEach allUnits; - }] remoteExec ["spawn"]; - ["Difficulty set to MEDIUM."] call MAZ_EZM_fnc_systemMessage; - }; - case "hard": { - [[], { - { - _x setSkill 1; - } forEach allUnits; - }] remoteExec ["spawn"]; - ["Difficulty set to HARD."] call MAZ_EZM_fnc_systemMessage; - }; + private _skill = switch (_value) do { + case "easy": {0}; + case "medium": {0.5}; + case "hard": {1}; }; + [_skill, { + { + _x setSkill _this; + } forEach allUnits; + }] remoteExec ["spawn"]; + [format ["Difficulty set to %1.",toUpper _value]] call MAZ_EZM_fnc_systemMessage; playSound 'addItemOk'; _display closeDisplay 1; },{ @@ -5811,7 +5798,7 @@ MAZ_EZM_fnc_initFunction = { params ["_mode"]; { _x setUnitPos _mode; - }forEach allunits; + }forEach allUnits; }] remoteExec ['spawn']; [format ["All units stance mode set to %1.",_value],"addItemOk"] call MAZ_EZM_fnc_systemMessage; _display closeDisplay 1; @@ -5828,26 +5815,26 @@ MAZ_EZM_fnc_initFunction = { private _isSurrendered = _entity getVariable ['EZM_isSurrendered',false]; if(_isSurrendered) then { [_entity,"AmovPercMstpSnonWnonDnon"] remoteExec ["switchMove"]; - [_entity,false] remoteExec ["setCaptive",0]; - _entity setVariable ['EZM_isSurrendered',false,true]; + [_entity,false] remoteExec ["setCaptive"]; + _entity setVariable ["EZM_isSurrendered",false,true]; ["Unit is no longer surrendered.","addItemOk"] call MAZ_EZM_fnc_systemMessage; } else { - [_entity,["Surrender",_entity]] remoteExec ["action"]; - [_entity,true] remoteExec ["setCaptive",0]; - _entity setVariable ['EZM_isSurrendered',true,true]; + _entity action ["Surrender",_entity]; + [_entity,true] remoteExec ["setCaptive"]; + _entity setVariable ["EZM_isSurrendered",true,true]; [_entity] spawn { - _dude = (_this select 0); - _weapon = currentWeapon _dude; + params ["_entity"]; + private _weapon = currentWeapon _entity; if(_weapon isEqualTo "") exitWith{}; - [_dude, _weapon] remoteExec ['removeWeapon']; + [_entity, _weapon] remoteExec ["removeWeapon"]; sleep 0.1; - _weaponHolder = "WeaponHolderSimulated" createVehicle [0,0,0]; + private _weaponHolder = "WeaponHolderSimulated" createVehicle [0,0,0]; _weaponHolder addWeaponCargoGlobal [_weapon,1]; - _weaponHolder setPos (_dude modelToWorld [0,.2,1.2]); - _weaponHolder disableCollisionWith _dude; - _dir = random(360); - _speed = 1.5; + _weaponHolder setPos (_entity modelToWorld [0,.2,1.2]); + _weaponHolder disableCollisionWith _entity; + private _dir = random(360); + private _speed = 1.5; _weaponHolder setVelocity [_speed * sin(_dir), _speed * cos(_dir),4]; }; @@ -5881,7 +5868,8 @@ MAZ_EZM_fnc_initFunction = { private _target = (createGroup [east,true]) createUnit ["O_Soldier_unarmed_F",_position,[],0,"CAN_COLLIDE"]; _target disableAI "MOVE"; _target hideObject true; - [_target, true] remoteExec ['hideObjectGlobal', 0]; + + _target hideObjectGlobal true; _target setUnitPOs "UP"; _target addRating -100000000000; @@ -6059,7 +6047,7 @@ MAZ_EZM_fnc_initFunction = { case "RadioAmbient6": {playSound _radioChatter; sleep 6; playSound "RadioAmbient2";}; case "RadioAmbient8": {playSound _radioChatter;}; }; - }] remoteExec ['spawn',0]; + }] remoteExec ["spawn",_sideOf]; }; private _wayPointMove = _grp addWaypoint [[(_pos select 0),(_pos select 1),300],0]; @@ -6093,7 +6081,7 @@ MAZ_EZM_fnc_initFunction = { case "RadioAmbient6": {playSound _radioChatter; sleep 6; playSound "RadioAmbient2";}; case "RadioAmbient8": {playSound _radioChatter;}; }; - }] remoteExec ['spawn',0]; + }] remoteExec ['spawn',_sideof]; }; private _dropPos = position _spawnedVeh getPos [10,getDir _spawnedVeh+180]; @@ -6540,7 +6528,7 @@ MAZ_EZM_fnc_initFunction = { waitUntil{!isNull driver _spawnedVeh}; _grp setBehaviour "CARELESS"; - [_spawnedVeh,2] remoteExec ['lock']; + _spawnedVeh lock 2; private _heliParams = switch (_heliType) do { case "B_Heli_Transport_01_F": { @@ -6892,115 +6880,64 @@ MAZ_EZM_fnc_initFunction = { }; if(_this select 3) then { private _arsenalAnims = [ - { - player playActionNow "Salute"; - }, { - [player, "acts_civilidle_1"] remoteExec["switchMove"]; - }, { - [player, "acts_civilListening_2"] remoteExec["switchMove"]; - }, { - [player, "acts_commenting_on_fight_loop"] remoteExec["switchMove"]; - }, { - [player, "acts_gallery_visitor_01"] remoteExec["switchMove"]; - }, { - [player, "acts_gallery_visitor_02"] remoteExec["switchMove"]; - }, { - [player, "acts_hilltop_calibration_loop"] remoteExec["switchMove"]; - }, { - [player, "acts_kore_talkingoverradio_loop"] remoteExec["switchMove"]; - }, { - [player, "acts_staticPose_photo"] remoteExec["switchMove"]; - }, { - player playActionNow "gear"; - }, { - [player, "Acts_Taking_Cover_From_Jets"] remoteExec["switchMove"]; - }, { - [player, "Acts_standingSpeakingUnarmed"] remoteExec["switchMove"]; - }, { - player playMoveNow "acts_Mentor_Freeing_Player"; - }, { - [player, "acts_kore_talkingOverRadio_In"] remoteExec["switchMove"]; - }, { - [player, "acts_kore_idleNoWeapon_In"] remoteExec["switchMove"]; - }, { - [player, "Acts_JetsOfficerSpilling"] remoteExec["switchMove"]; - }, { - player playMoveNow "Acts_Hilltop_Calibration_Pointing_Left"; - }, { - player playMoveNow "Acts_Hilltop_Calibration_Pointing_Right"; - }, { - [player, "Acts_Grieving"] remoteExec["switchMove"]; - } + "Salute", + "gear", + "acts_Mentor_Freeing_Player", + "Acts_Hilltop_Calibration_Pointing_Left", + "Acts_Hilltop_Calibration_Pointing_Right", + [player,"acts_civilidle_1"], + [player,"acts_civilListening_2"], + [player,"acts_commenting_on_fight_loop"], + [player,"acts_gallery_visitor_01"], + [player,"acts_gallery_visitor_02"], + [player,"acts_hilltop_calibration_loop"], + [player,"acts_kore_talkingoverradio_loop"], + [player,"acts_staticPose_photo"], + [player,"Acts_Taking_Cover_From_Jets"], + [player,"Acts_standingSpeakingUnarmed"], + [player,"acts_kore_talkingOverRadio_In"], + [player,"acts_kore_idleNoWeapon_In"], + [player,"Acts_JetsOfficerSpilling"], + [player,"Acts_Grieving"] + ]; private _arsenalAnimsAdd = switch (currentWeapon player) do { case (primaryWeapon player): { [ - { - [player, "acts_briefing_SA_loop"] remoteExec["switchMove"]; - }, { - [player, "acts_getAttention_loop"] remoteExec["switchMove"]; - }, { - [player, "acts_millerIdle"] remoteExec["switchMove"]; - }, { - player playMoveNow "Acts_SupportTeam_Right_ToKneelLoop"; - }, { - player playMoveNow "Acts_SupportTeam_Left_ToKneelLoop"; - }, { - player playMoveNow "Acts_SupportTeam_Front_ToKneelLoop"; - }, { - player playMoveNow "Acts_SupportTeam_Back_ToKneelLoop"; - }, { - [player, "Acts_starGazer"] remoteExec["switchMove"]; - }, { - player playMoveNow "acts_RU_briefing_Turn"; - }, { - player playMoveNow "acts_RU_briefing_point"; - }, { - player playMoveNow "acts_RU_briefing_point_tl"; - }, { - player playMoveNow "acts_RU_briefing_move"; - }, { - [player, "acts_rifle_operations_zeroing"] remoteExec["switchMove"]; - }, { - player playMoveNow "acts_rifle_operations_right"; - }, { - player playMoveNow "acts_rifle_operations_left"; - }, { - player playMoveNow "acts_rifle_operations_front"; - }, { - player playMoveNow "acts_rifle_operations_checking_chamber"; - }, { - player playMoveNow "acts_rifle_operations_barrel"; - }, { - player playMoveNow "acts_rifle_operations_back"; - }, { - player playMoveNow "acts_pointing_up"; - }, { - player playMoveNow "acts_pointing_down"; - }, { - player playMoveNow "acts_peering_up"; - }, { - player playMoveNow "acts_peering_down"; - }, { - player playMoveNow "acts_peering_front"; - }, { - [player, "Acts_Helping_Wake_Up_1"] remoteExec["switchMove"]; - } - ] + "Acts_SupportTeam_Right_ToKneelLoop", + "Acts_SupportTeam_Left_ToKneelLoop", + "Acts_SupportTeam_Front_ToKneelLoop", + "Acts_SupportTeam_Back_ToKneelLoop", + "acts_RU_briefing_Turn", + "acts_RU_briefing_point", + "acts_RU_briefing_point_tl", + "acts_RU_briefing_move", + "acts_rifle_operations_right", + "acts_rifle_operations_left", + "acts_rifle_operations_front", + "acts_rifle_operations_checking_chamber", + "acts_rifle_operations_barrel", + "acts_rifle_operations_back", + "acts_pointing_up", + "acts_pointing_down", + "acts_peering_up", + "acts_peering_down", + "acts_peering_front", + [player,"acts_briefing_SA_loop"], + [player, "acts_getAttention_loop"], + [player, "acts_millerIdle"], + [player, "Acts_starGazer"], + [player, "acts_rifle_operations_zeroing"], + [player, "Acts_Helping_Wake_Up_1"] + ]; }; case (handgunWeapon player): { [ - { - [player, "acts_examining_device_player"] remoteExec["switchMove"]; - }, { - [player, "acts_executioner_standingloop"] remoteExec["switchMove"]; - }, { - player playMoveNow "Acts_ViperMeeting_A_End"; - }, { - player playMoveNow "Acts_UGV_Jamming_Loop"; - }, { - player playMoveNow "Acts_starterPistol_Fire"; - } + [player, "acts_examining_device_player"], + [player, "acts_executioner_standingloop"], + "Acts_ViperMeeting_A_End", + "Acts_UGV_Jamming_Loop", + "Acts_starterPistol_Fire" ] }; default { @@ -7009,7 +6946,11 @@ MAZ_EZM_fnc_initFunction = { }; _arsenalAnims = _arsenalAnims + _arsenalAnimsAdd; private _playAnim = selectRandom _arsenalAnims; - call _playAnim; + if(typeName _playAnim == "STRING") then { + player playMoveNow _playAnim; + } else { + _playAnim remoteExec ["switchMove"]; + }; if !(isNil "M9SD_EH_ResetPlayerAnimsOnArsenalClosed") then { (findDisplay 46) displayRemoveEventHandler["keyDown", M9SD_EH_ResetPlayerAnimsOnArsenalClosed]; }; @@ -7029,7 +6970,7 @@ MAZ_EZM_fnc_initFunction = { player playMoveNow ""; player switchMove ""; if (isMultiplayer) then { - [player, ""] remoteExec["switchMove"] + [player, ""] remoteExec ["switchMove"] }; "arsenalNotification1" cutFadeOut 0; @@ -7344,13 +7285,13 @@ MAZ_EZM_fnc_initFunction = { ]; } forEach _arsenals; }]; - }] remoteExec["spawn", 0, "M9SD_JIP_smallArsenalIcons"]; + }] remoteExec ["spawn", 0, "M9SD_JIP_smallArsenalIcons"]; }; [_arsenalBox] call M9SD_fnc_smallArsenalMarkers; }; - [_arsenalBox, false] remoteExec["allowDamage"]; + [_arsenalBox, false] remoteExec ["allowDamage"]; { - [_x, false] remoteExec["allowDamage"]; + [_x, false] remoteExec ["allowDamage"]; }forEach attachedObjects _arsenalBox; [_arsenalBox] call MAZ_EZM_fnc_addObjectToInterface; [attachedObjects _arsenalBox] call MAZ_EZM_fnc_addObjectToInterface; @@ -7552,7 +7493,7 @@ MAZ_EZM_fnc_initFunction = { private _positionOfCrash = getPos _craterCrash; private _smokeObject = [_positionOfCrash] call MAZ_EZM_fnc_createSmokeForCrash; private _crashObjects = [_craterCrash,_crashGhosthawk,_smokeObject]; - ["TaskAssignedIcon",["A3\UI_F\Data\Map\Markers\Military\warning_CA.paa","Helicopter Crash"]] remoteExec ['BIS_fnc_showNotification',0]; + ["TaskAssignedIcon",["A3\UI_F\Data\Map\Markers\Military\warning_CA.paa","Helicopter Crash"]] remoteExec ['BIS_fnc_showNotification']; private _heliCrashMarker = createMarker ["heliCrashMarker_0",_positionOfCrash]; _heliCrashMarker setMarkerText "Helicopter Crash"; _heliCrashMarker setMarkerType "mil_objective"; @@ -7578,7 +7519,7 @@ MAZ_EZM_fnc_initFunction = { sleep 1; }; if(({alive _x} count _soldiersArray) == 0) then { - ["TaskSucceeded",["","Helicopter Crash Secured"]] remoteExec ['BIS_fnc_showNotification',0]; + ["TaskSucceeded",["","Helicopter Crash Secured"]] remoteExec ['BIS_fnc_showNotification']; private _randomAmount = selectRandom [1,2]; private _rewardBoxes = []; for "_i" from 0 to (_randomAmount-1) do { @@ -7594,7 +7535,7 @@ MAZ_EZM_fnc_initFunction = { } forEach _crashObjects + _soldiersArray + _rewardBoxes; }; if(_timer <= 0 && (({alive _x} count _soldiersArray) != 0)) then { - ["TaskFailed",["","Helicopter Crash Not Secured"]] remoteExec ['BIS_fnc_showNotification',0]; + ["TaskFailed",["","Helicopter Crash Not Secured"]] remoteExec ['BIS_fnc_showNotification']; deleteMarker _heliCrashMarker; { deleteVehicle _x; @@ -7994,7 +7935,6 @@ MAZ_EZM_fnc_initFunction = { _convoyGroup setFormation "COLUMN"; _convoyGroup setSpeedMode "LIMITED"; - enableEnvironment [false,true]; [[false,true]] remoteExec ['enableEnvironment',2]; { @@ -8011,7 +7951,7 @@ MAZ_EZM_fnc_initFunction = { private _cargoVehicles = []; { _x allowCrewInImmobile true; - [_x,2] remoteExec ['lock',0,_x]; + [_x,2] remoteExec ["lock"]; _x limitSpeed 57; (driver _x) limitSpeed 57; _x forceSpeed 15.84; @@ -8052,7 +7992,7 @@ MAZ_EZM_fnc_initFunction = { _markers pushBack _checkpointMarker; }forEach _markerLocations; - ["TaskAssignedIcon",["A3\UI_F\Data\Map\Markers\Military\warning_CA.paa","A Convoy is Moving"]] remoteExec ['BIS_fnc_showNotification',0]; + ["TaskAssignedIcon",["A3\UI_F\Data\Map\Markers\Military\warning_CA.paa","A Convoy is Moving"]] remoteExec ['BIS_fnc_showNotification']; [_vehicles] spawn { params ["_vehicles"]; @@ -8077,7 +8017,7 @@ MAZ_EZM_fnc_initFunction = { } count _vehicles) != 0 ) }; - ["TaskAssignedIcon",["A3\UI_F\Data\Map\Markers\Military\warning_CA.paa",format ["The Convoy Has Reached Checkpoint %1",_i + 1]]] remoteExec ['BIS_fnc_showNotification',0]; + ["TaskAssignedIcon",["A3\UI_F\Data\Map\Markers\Military\warning_CA.paa",format ["The Convoy Has Reached Checkpoint %1",_i + 1]]] remoteExec ['BIS_fnc_showNotification']; }; }; @@ -8087,7 +8027,7 @@ MAZ_EZM_fnc_initFunction = { waitUntil {currentWaypoint _convoyGroup >= _numWaypoints || (({alive _x} count _soldiersArray) == 0) || (({alive _x} count _trucks) == 0)}; if(({alive _x} count _soldiersArray) == 0) exitWith { comment "Success"; - ["TaskSucceeded",["","Convoy Stopped!"]] remoteExec ['BIS_fnc_showNotification',0]; + ["TaskSucceeded",["","Convoy Stopped!"]] remoteExec ['BIS_fnc_showNotification']; { deleteMarker _x; }forEach _markers; @@ -8103,7 +8043,7 @@ MAZ_EZM_fnc_initFunction = { }; if(currentWaypoint _convoyGroup >= _numWaypoints) exitWith { comment "Failure"; - ["TaskFailed",["","Convoy Reached Their End"]] remoteExec ['BIS_fnc_showNotification',0]; + ["TaskFailed",["","Convoy Reached Their End"]] remoteExec ['BIS_fnc_showNotification']; { deleteMarker _x; }forEach _markers; @@ -8117,7 +8057,7 @@ MAZ_EZM_fnc_initFunction = { }; if(({alive _x} count _trucks) == 0) exitWith { comment "Failure"; - ["TaskFailed",["","Convoy Cargo Destroyed!"]] remoteExec ['BIS_fnc_showNotification',0]; + ["TaskFailed",["","Convoy Cargo Destroyed!"]] remoteExec ['BIS_fnc_showNotification']; { deleteMarker _x; }forEach _markers; @@ -8399,7 +8339,7 @@ MAZ_EZM_fnc_initFunction = { [_units] call MAZ_EZM_fnc_addObjectToInterface; if(_notify) then { - ["TaskAssignedIcon",["A3\UI_F\Data\Map\Markers\Military\warning_CA.paa",_townAlert]] remoteExec ['BIS_fnc_showNotification',0]; + ["TaskAssignedIcon",["A3\UI_F\Data\Map\Markers\Military\warning_CA.paa",_townAlert]] remoteExec ['BIS_fnc_showNotification']; }; true @@ -8858,7 +8798,7 @@ MAZ_EZM_fnc_initFunction = { private _dir = vectorDir _building; private _up = vectorUp _building; private _worldPos = getPosWorld _building; - [_building,true] remoteExec ['hideObject',0,_building]; + _building hideObjectGlobal true; [_building,false] remoteExec ['allowDamage']; private _temp = _building; _building = _buildingType createVehicle [0,0,0]; @@ -9040,7 +8980,7 @@ MAZ_EZM_fnc_initFunction = { if(_isTerrainBuilding) then { comment "Replace building, terrain buildings don't invoke BuildingChanged MEH"; _building setVariable ["MAZ_EZM_hasCompSetup",false,true]; - [_building,false] remoteExec ['hideObject',0,_building]; + _building hideObjectGlobal false; [_building,true] remoteExec ['allowDamage']; private _buildings = nearestObjects [_building,[typeOf _building],20,true]; { @@ -9262,7 +9202,7 @@ MAZ_EZM_fnc_initFunction = { _carrier setPosATL _pos; _carrier setVectorDirAndUp [[sin _dir, cos _dir, 0], [0,0,1]]; sleep 0.5; - [_carrier] remoteExecCall ["BIS_fnc_Carrier01Init", 0, _carrier]; + [_carrier] remoteExec ["BIS_fnc_Carrier01Init", 0, _carrier]; {deleteVehicle _x} forEach (nearestObjects [[0,0,0], ["Land_Carrier_01_hull_Base_F","DynamicAirport_01_F"], 300, true]); if(!isNull _object) then { {_object deleteVehicleCrew _x} forEach crew _object; @@ -9294,7 +9234,7 @@ MAZ_EZM_fnc_initFunction = { _destroyer setPosATL _pos; _destroyer setVectorDirAndUp [[sin _dir, cos _dir, 0], [0,0,1]]; sleep 0.5; - [_destroyer] remoteExecCall ["BIS_fnc_Destroyer01Init", 0, _destroyer]; + [_destroyer] remoteExec ["BIS_fnc_Destroyer01Init", 0, _destroyer]; {deleteVehicle _x} forEach (nearestObjects [[-300,-300,0], ["Land_Destroyer_01_Boat_Rack_01_Base_F","Land_Destroyer_01_hull_base_F","ShipFlag_US_F"], 300, true]); if(!isNull _object) then { {_object deleteVehicleCrew _x} forEach crew _object; @@ -9358,7 +9298,7 @@ MAZ_EZM_fnc_initFunction = { params ["_expression","_target"]; (parsingNamespace getVariable ["BIS_RscDebugConsoleExpressionResultCtrl", controlNull]) ctrlSetText str ([nil] apply {[_target] call _expression} param [0, text ""]) } - ] remoteExec ["call", 0]; + ] remoteExec ["call"]; }; if(!isRemoteExecuted || isRemoteExecutedJIP) exitWith {}; @@ -9527,7 +9467,7 @@ MAZ_EZM_fnc_initFunction = { _input = [(ctrlText ((ctrlParent (_this select 0)) displayCtrl 12284))] call MAZ_EZM_fnc_removeComments; _input = format ["this = _this select 0; %1",_input]; - [[2, compile _input,_target],{[(_this select 0), (_this select 1), (_this select 2)] call MAZ_EZM_fnc_executeExpression;}] remoteExec ['bis_fnc_call',2]; + [[2, compile _input,_target],{[(_this select 0), (_this select 1), (_this select 2)] call MAZ_EZM_fnc_executeExpression;}] remoteExec ['call',2]; [(ctrlParent (_this select 0)) displayCtrl 12284] call MAZ_EZM_fnc_saveExpression; [(ctrlParent (_this select 0)), 2] call MAZ_EZM_fnc_expressionResult; }]; @@ -9540,7 +9480,7 @@ MAZ_EZM_fnc_initFunction = { _input = [(ctrlText ((ctrlParent (_this select 0)) displayCtrl 12284))] call MAZ_EZM_fnc_removeComments; _input = format ["this = _this select 0; %1",_input]; - [[1, compile _input,_target],{[(_this select 0), (_this select 1), (_this select 2)] call MAZ_EZM_fnc_executeExpression;}] remoteExec ['bis_fnc_call',2]; + [[1, compile _input,_target],{[(_this select 0), (_this select 1), (_this select 2)] call MAZ_EZM_fnc_executeExpression;}] remoteExec ['call',2]; [(ctrlParent (_this select 0)) displayCtrl 12284] call MAZ_EZM_fnc_saveExpression; [(ctrlParent (_this select 0)), 1] call MAZ_EZM_fnc_expressionResult; }]; @@ -10602,8 +10542,7 @@ MAZ_EZM_fnc_initFunction = { _speakers = []; _group = createGroup (playerSide); _crewman = _group createUnit ["B_Story_SF_Captain_F",[0,0,0],[],0,"CAN_COLLIDE"]; - [_crewman, true] remoteExec ['hideObjectGlobal', 2]; - [_crewman, name _crewman] remoteExec ['setName']; + _crewman hideObjectGlobal true; [_crewman] joinSilent _group; removeAllWeapons _crewman; [_crewman,_group] spawn @@ -10712,9 +10651,9 @@ MAZ_EZM_fnc_initFunction = { _values params ["_init","_godMode","_hidden","_sim","_lockState","_tex1","_tex2","_tex3","_tex4"]; _entity call (compile _init); _entity allowDamage !_godMode; - _entity hideObjectGlobal _hidden; + [_entity,_hidden] remoteExec ["hideObjectGlobal",2]; [_entity,_sim] remoteExec ["enableSimulationGlobal",2]; - _entity lock (parseNumber _lockState); + [_entity,parseNumber _lockState] remoteExec ["lock"]; { _entity setObjectTextureGlobal [_forEachIndex,_x]; }forEach [_tex1,_tex2,_tex3,_tex4]; @@ -10732,28 +10671,18 @@ MAZ_EZM_fnc_initFunction = { params ["_entity"]; if(_entity isEqualTo objNull) exitWith {["No object selected.","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; - if(simulationEnabled _entity) then { - [_entity,false] remoteExec ["enableSimulationGlobal",2]; - ["Simulation disabled."] call MAZ_EZM_fnc_systemMessage; - } else { - [_entity,true] remoteExec ["enableSimulationGlobal",2]; - ["Simulation enabled."] call MAZ_EZM_fnc_systemMessage; - }; - playSound "addItemOk"; + private _simmed = simulationEnabled _entity; + [_entity, !_simmed] remoteExec ["enableSimulationGlobal", 2]; + [["Object's simulation disabled.", "Object's simulation enabled."] select !_simmed,"addItemOk"] call MAZ_EZM_fnc_systemMessage; }; MAZ_EZM_fnc_toggleInvincibleModule = { params ["_entity"]; if(_entity isEqualTo objNull) exitWith {["No object selected.","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; - if(isDamageAllowed _entity) then { - [_entity,false] remoteExec ["allowDamage",0]; - ["Object is god moded."] call MAZ_EZM_fnc_systemMessage; - } else { - [_entity,true] remoteExec ["allowDamage",0]; - ["Object is no longer god moded."] call MAZ_EZM_fnc_systemMessage; - }; - playSound "addItemOk"; + private _god = isDamageAllowed _entity; + [_entity,!_god] remoteExec ["allowDamage"]; + [["Object is god moded", "Object is no longer god moded."] select _god,"addItemOk"] call MAZ_EZM_fnc_systemMessage; }; MAZ_EZM_fnc_toggleHideObjectModule = { @@ -10780,6 +10709,7 @@ MAZ_EZM_fnc_initFunction = { [_x,false] remoteExec ['hideObjectGlobal',2]; }forEach MAZ_EZM_hiddenObjects; MAZ_EZM_hiddenObjects = []; + publicVariable "MAZ_EZM_hiddenObjects"; ["All hidden objects are revealed.","addItemOk"] call MAZ_EZM_fnc_systemMessage; }; @@ -10804,7 +10734,7 @@ MAZ_EZM_fnc_initFunction = { params ["_newSimpleObj","_logic"]; waitUntil {isNull _logic}; deleteVehicle _newSimpleObj; - }] remoteExec ["Spawn",_logic]; + }] remoteExec ["spawn",2]; }; ["Object replaced with simple object.","addItemOk"] call MAZ_EZM_fnc_systemMessage; }; @@ -10820,7 +10750,7 @@ MAZ_EZM_fnc_initFunction = { }; MAZ_EZM_fnc_healAndReviveModule = { - params ["_entity",["_doMessage",true]]; + params ["_entity"]; if(isNull _entity || !((typeOf _entity) isKindOf "Man")) exitWith {["Unit is not suitable.","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; if(isPlayer _entity) then { @@ -10832,15 +10762,14 @@ MAZ_EZM_fnc_initFunction = { _entity setDamage 0; }; - if(_doMessage) then { - ["The unit has been healed, and revived if possible.","addItemOk"] call MAZ_EZM_fnc_systemMessage; - }; + ["The unit has been healed, and revived if possible.","addItemOk"] call MAZ_EZM_fnc_systemMessage; }; MAZ_EZM_fnc_healAndReviveAllModule = { - { - [_x,false] call MAZ_EZM_fnc_healAndReviveModule; - }forEach allPlayers; + [[],{ + player setDamage 0; + ["#rev",1,player] call BIS_fnc_reviveOnState; + }] remoteExec ['spawn',-2]; ["The players have been healed, and revived if possible.","addItemOk"] call MAZ_EZM_fnc_systemMessage; }; @@ -10920,10 +10849,6 @@ MAZ_EZM_fnc_initFunction = { if(isPlayer _entity) then { [[], { - if(!isNil "MAZ_customArsenalRespawnEH") then { - player removeEventHandler ["Respawn",MAZ_customArsenalRespawnEH]; - }; - player setVariable ["MAZ_customLoadoutFromModule",nil]; if (!isNil "M9SD_EH_arsenalRespawnLoadout") then { player removeEventHandler["Respawn", M9SD_EH_arsenalRespawnLoadout]; }; @@ -10990,19 +10915,13 @@ MAZ_EZM_fnc_initFunction = { }; { - [[_side,_x],{ - params ["_sideChange","_sideFriendly"]; - _sideChange setFriend [_sideFriendly,1]; - }] remoteExec ['spawn',2]; + [_side,[_x,1]] remoteExec ["setFriend",2]; }forEach _sides; private _enemySides = ([west,east,independent,civilian] - [_side]) - _sides; { - [[_side,_x],{ - params ["_sideChange","_sideFriendly"]; - _sideChange setFriend [_sideFriendly,0.5]; - }] remoteExec ['spawn',2]; + [_side,[_x,0.5]] remoteExec ["setFriend",2]; }forEach _enemySides; }forEach _values; _display closeDisplay 1; @@ -11053,7 +10972,7 @@ MAZ_EZM_fnc_initFunction = { if(_score < 2000) then { player addRating (2000 - _score); }; - }] remoteExec ['spawn',allPlayers]; + }] remoteExec ['spawn',-2]; }; MAZ_EZM_fnc_disableMortarsModule = { @@ -12342,7 +12261,7 @@ MAZ_EZM_fnc_initFunction = { _logic spawn { waitUntil {uiSleep 0.1; !isNull (_this getVariable ["bis_fnc_moduleTracers_gunner",objNull])}; private _gunner = _this getVariable "bis_fnc_moduleTracers_gunner"; - [_gunner,true] remoteExec ['hideObjectGlobal',0,_gunner]; + [_gunner,true] remoteExec ['hideObjectGlobal',2]; }; }; @@ -12774,8 +12693,8 @@ MAZ_EZM_fnc_initFunction = { _vectorDirUp = [vectorDir _x,vectorUp _x]; _newObj = createSimpleObject [format ["%1",_type],_position]; _newObj setVectorDirAndUp [vectorDir _x,vectorUp _x]; - [_x,true] remoteExec ['hideObject',0,true]; - [_x,false] remoteExec ['allowDamage',0,true]; + [_x,true] remoteExec ["hideObjectGlobal",2]; + [_x,false] remoteExec ["allowDamage"]; }; }forEach (nearestTerrainObjects [_pos,["WALL","FENCE"],_radius]); @@ -12841,13 +12760,13 @@ MAZ_EZM_fnc_initFunction = { }; if(_hide) then { { - [_x,true] remoteExec ['hideObject',0,_x]; - _x allowDamage false; + [_x,true] remoteExec ["hideObjectGlobal",2]; + [_x,false] remoteExec ["allowDamage"]; } forEach _nearestObjects; } else { { - [_x,false] remoteExec ['hideObject',0,_x]; - _x allowDamage true; + [_x,false] remoteExec ["hideObjectGlobal",2]; + [_x,true] remoteExec ["allowDamage"]; } forEach _nearestObjects; }; _display closeDisplay 1; @@ -13204,7 +13123,7 @@ MAZ_EZM_fnc_initFunction = { player allowDamage false; player attachTo [_unit,[0,0,0]]; [player,""] remoteExec ["switchMove"]; - [player,true] remoteExec ["hideObjectGlobal"]; + [player,true] remoteExec ["hideObjectGlobal",2]; ppeffectdestroy _blur; _cam cameraeffect ["terminate","back"]; @@ -13300,9 +13219,7 @@ MAZ_EZM_fnc_initFunction = { } else { [player] joinSilent _oldGroup; }; - if(!_initialHidden) then { - [player,false] remoteExec ["hideObjectGlobal"]; - }; + [player,_initialHidden] remoteExec ["hideObjectGlobal",2]; sleep 0.01; }; } else { @@ -13334,11 +13251,7 @@ MAZ_EZM_fnc_initFunction = { params ["_entity"]; if(isNull _entity) exitWith {["No object!","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; [[_entity],{ - params ["_entity"]; - [[_entity],{ - params ["_entity"]; - _entity setVehicleAmmo 1; - }] remoteExec ['spawn',owner _entity]; + [_this,1] remoteExec ["setVehicleAmmo",owner _entity]; }] remoteExec ['spawn',2]; ["Vehicle rearmed.","addItemOk"] call MAZ_EZM_fnc_systemMessage; @@ -13357,9 +13270,7 @@ MAZ_EZM_fnc_initFunction = { MAZ_EZM_fnc_repairVehicleModule = { params ["_entity"]; if(isNull _entity) exitWith {["No object!","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; - [_entity,{ - _this setDamage 0; - }] remoteExec ['spawn',_entity]; + _entity setDamage 0; ["Vehicle repaired.","addItemOk"] call MAZ_EZM_fnc_systemMessage; }; @@ -13838,7 +13749,7 @@ MAZ_EZM_fnc_initFunction = { _santa setVariable ["BIS_enableRandomization", false]; _santa setUnitLoadout [["sgun_HunterShotgun_01_sawedoff_F","","","",["2Rnd_12Gauge_Pellets",2],[],""],[],[],["U_C_Paramedic_01_F",[["FirstAidKit",1],["Chemlight_green",1,1],["2Rnd_12Gauge_Pellets",3,2]]],["V_DeckCrew_red_F",[]],[],"H_Beret_CSAT_01_F","G_Squares",[],["ItemMap","","ItemRadio","ItemCompass","ItemWatch",""]]; _santa setName "Santa Claus"; - [_santa, "WhiteHead_26"] remoteExec ['setFace',0,true]; + [_santa, "WhiteHead_26"] remoteExec ["setFace"]; _santa allowDamage false; removeGoggles _santa; _santa addItem 'G_Squares'; @@ -13858,10 +13769,10 @@ MAZ_EZM_fnc_initFunction = { {}, { _unit = (_this select 0); - [_unit,false] remoteExec ["setCaptive",0]; - [_unit,"Move"]remoteExec ["enableAI",0]; - [_unit,"AmovPercMstpSnonWnonDnon"] remoteExec ["playMove",0]; - [_unit] remoteExec ["removeAllActions",0]; + [_unit,false] remoteExec ["setCaptive"]; + [_unit,"Move"]remoteExec ["enableAI"]; + [_unit,"AmovPercMstpSnonWnonDnon"] remoteExec ["playMove"]; + [_unit] remoteExec ["removeAllActions"]; detach _unit; }, {}, @@ -14189,15 +14100,15 @@ MAZ_EZM_fnc_initFunction = { SANTA setVariable ["BIS_enableRandomization", false]; SANTA setUnitLoadout [["sgun_HunterShotgun_01_sawedoff_F","","","",["2Rnd_12Gauge_Pellets",2],[],""],[],[],["U_C_Paramedic_01_F",[["FirstAidKit",1],["Chemlight_green",1,1],["2Rnd_12Gauge_Pellets",3,2]]],["V_DeckCrew_red_F",[]],[],"H_Beret_CSAT_01_F","G_Squares",[],["ItemMap","","ItemRadio","ItemCompass","ItemWatch",""]]; SANTA setname "Santa Claus"; - [SANTA, "WhiteHead_26"] remoteExec ['setFace',0,true]; + [SANTA, "WhiteHead_26"] remoteExec ['setFace']; SANTA allowDamage false; removeGoggles SANTA; SANTA addItem 'G_Squares'; SANTA assignItem 'G_Squares'; }; [this, santa_base] call BIS_fnc_attachToRelative; - [this, 2.1] remoteExec ['setObjectScale', 0, true];; - [SANTA, 'crew'] remoteExec ['switchMove',0, true]; + [this, 2.1] remoteExec ['setObjectScale'];; + [SANTA, 'crew'] remoteExec ['switchMove']; [SANTA, ["Sit on Santa's Lap", { @@ -15536,9 +15447,8 @@ MAZ_EZM_fnc_editZeusInterface = { }; MAZ_EZM_fnc_detectLowServerPerformance = { - private _svrFnc = missionNamespace getVariable ["MAZ_EZM_fnc_getServerFPS",{}]; - call _svrFnc; 0=[] spawn { + "MAZ_EZM_serverFPS"; "defined on server"; waitUntil {uiSleep 0.1; !(missionNamespace getVariable ["MAZ_EZM_isPingingServerFPS",false])}; private _fps = uiNamespace getVariable "MAZ_EZM_serverFPS"; if(!isNil "MAZ_EZM_lowServerFPSWarn") then { @@ -17316,6 +17226,22 @@ MAZ_EZM_addZeusKeybinds_312 = { }]; }; +MAZ_EZM_fnc_switchGroupSetup = { + params ["_side"]; + private _group = createGroup [_side,true]; + private _groupName = "Stryker 1-4"; + [player] join _group; + [_group, player] remoteExec ["selectLeader"]; + _group setGroupIdGlobal [_groupName]; + private _leader = leader _group; + private _data = ["Curator", _groupName, false]; comment " [, , ] "; + ["RegisterGroup", [_group, player, _data]] remoteExec ['BIS_fnc_dynamicGroups']; + ["AddGroupMember", [_group,player]] remoteExec ['BIS_fnc_dynamicGroups']; + ["SwitchLeader", [_group,player]] remoteExec ['BIS_fnc_dynamicGroups']; + ["SetPrivateState", [_group,true]] remoteExec ['BIS_fnc_dynamicGroups']; + ["SetName", [_group,_groupName]] remoteExec ['BIS_fnc_dynamicGroups']; +}; + MAZ_EZM_fnc_groupMenuTeamSwitcher = { if (!isNull findDisplay 60490) exitWith {}; with uiNamespace do @@ -17346,23 +17272,7 @@ MAZ_EZM_fnc_groupMenuTeamSwitcher = { _btn_west ctrlSetStructuredText parseText ("BLUFOR"); _btn_west ctrladdEventHandler ["ButtonClick", { - _side = west; - _groupName = "Stryker 1-4"; - _groups = ["GetAllGroupsOfSide", [_side]] call BIS_fnc_dynamicGroups; - EZM_curator_group = createGroup _side; - EZM_curator_group deleteGroupWhenEmpty true; - [player] join EZM_curator_group; - EZM_curator_group selectLeader player; - [EZM_curator_group, player] remoteExec ["selectLeader", groupOwner EZM_curator_group]; - EZM_curator_group setGroupIdGlobal [_groupName]; - private _group = EZM_curator_group; - private _leader = leader _group; - private _data = [nil, _groupName, false]; comment " [, , ] "; - ["RegisterGroup", [_group, _leader, _data]] remoteExecCall ['BIS_fnc_dynamic\a3\ui_f_curator\data\rsccommon\rscattributeformation\wedge_ca.paa']; - ["AddGroupMember", [EZM_curator_group,player]] remoteExecCall ['BIS_fnc_dynamicGroups']; - ["SwitchLeader", [EZM_curator_group,player]] remoteExecCall ['BIS_fnc_dynamicGroups']; - ["SetPrivateState", [EZM_curator_group,true]] remoteExecCall ['BIS_fnc_dynamicGroups']; - ["SetName", [EZM_curator_group,_groupName]] remoteExecCall ['BIS_fnc_dynamicGroups']; + [west] call MAZ_EZM_fnc_switchGroupSetup; }]; _btn_west ctrlCommit 0; _btn_east = _display ctrlCreate ['RscButtonMenu',-1]; @@ -17371,23 +17281,7 @@ MAZ_EZM_fnc_groupMenuTeamSwitcher = { _btn_east ctrlSetStructuredText parseText ("OPFOR"); _btn_east ctrladdEventHandler ["ButtonClick", { - _side = east; - _groupName = "Stryker 1-4"; - _groups = ["GetAllGroupsOfSide", [_side]] call BIS_fnc_dynamicGroups; - EZM_curator_group = createGroup _side; - EZM_curator_group deleteGroupWhenEmpty true; - [player] join EZM_curator_group; - EZM_curator_group selectLeader player; - [EZM_curator_group, player] remoteExec ["selectLeader", groupOwner EZM_curator_group]; - EZM_curator_group setGroupIdGlobal [_groupName]; - private _group = EZM_curator_group; - private _leader = leader _group; - private _data = [nil, _groupName, false]; comment " [, , ] "; - ["RegisterGroup", [_group, _leader, _data]] remoteExecCall ['BIS_fnc_dynamicGroups']; - ["AddGroupMember", [EZM_curator_group,player]] remoteExecCall ['BIS_fnc_dynamicGroups']; - ["SwitchLeader", [EZM_curator_group,player]] remoteExecCall ['BIS_fnc_dynamicGroups']; - ["SetPrivateState", [EZM_curator_group,true]] remoteExecCall ['BIS_fnc_dynamicGroups']; - ["SetName", [EZM_curator_group,_groupName]] remoteExecCall ['BIS_fnc_dynamicGroups']; + [east] call MAZ_EZM_fnc_switchGroupSetup; }]; _btn_east ctrlCommit 0; _btn_indep = _display ctrlCreate ['RscButtonMenu',-1]; @@ -17396,23 +17290,7 @@ MAZ_EZM_fnc_groupMenuTeamSwitcher = { _btn_indep ctrlSetStructuredText parseText ("INDEP"); _btn_indep ctrladdEventHandler ["ButtonClick", { - _side = independent; - _groupName = "Stryker 1-4"; - _groups = ["GetAllGroupsOfSide",[_side]] call BIS_fnc_dynamicGroups; - EZM_curator_group = createGroup _side; - EZM_curator_group deleteGroupWhenEmpty true; - [player] join EZM_curator_group; - EZM_curator_group selectLeader player; - [EZM_curator_group, player] remoteExec ["selectLeader", groupOwner EZM_curator_group]; - EZM_curator_group setGroupIdGlobal [_groupName]; - private _group = EZM_curator_group; - private _leader = leader _group; - private _data = [nil, _groupName, false]; comment " [, , ] "; - ["RegisterGroup", [_group, _leader, _data]] remoteExecCall ['BIS_fnc_dynamicGroups']; - ["AddGroupMember", [EZM_curator_group,player]] remoteExecCall ['BIS_fnc_dynamicGroups']; - ["SwitchLeader", [EZM_curator_group,player]] remoteExecCall ['BIS_fnc_dynamicGroups']; - ["SetPrivateState", [EZM_curator_group,true]] remoteExecCall ['BIS_fnc_dynamicGroups']; - ["SetName", [EZM_curator_group,_groupName]] remoteExecCall ['BIS_fnc_dynamicGroups']; + [independent] call MAZ_EZM_fnc_switchGroupSetup; }]; _btn_indep ctrlCommit 0; _btn_civ = _display ctrlCreate ['RscButtonMenu',-1]; @@ -17421,23 +17299,7 @@ MAZ_EZM_fnc_groupMenuTeamSwitcher = { _btn_civ ctrlSetStructuredText parseText ("CIV"); _btn_civ ctrladdEventHandler ["ButtonClick", { - _side = civilian; - _groupName = "Stryker 1-4"; - _groups = ["GetAllGroupsOfSide",[_side]] call BIS_fnc_dynamicGroups; - EZM_curator_group = createGroup _side; - EZM_curator_group deleteGroupWhenEmpty true; - [player] join EZM_curator_group; - EZM_curator_group selectLeader player; - [EZM_curator_group, player] remoteExec ["selectLeader", groupOwner EZM_curator_group]; - EZM_curator_group setGroupIdGlobal [_groupName]; - private _group = EZM_curator_group; - private _leader = leader _group; - private _data = [nil, _groupName, false]; comment " [, , ] "; - ["RegisterGroup", [_group, _leader, _data]] remoteExecCall ['BIS_fnc_dynamicGroups']; - ["AddGroupMember", [EZM_curator_group,player]] remoteExecCall ['BIS_fnc_dynamicGroups']; - ["SwitchLeader", [EZM_curator_group,player]] remoteExecCall ['BIS_fnc_dynamicGroups']; - ["SetPrivateState", [EZM_curator_group,true]] remoteExecCall ['BIS_fnc_dynamicGroups']; - ["SetName", [EZM_curator_group,_groupName]] remoteExecCall ['BIS_fnc_dynamicGroups']; + [civilian] call MAZ_EZM_fnc_switchGroupSetup; }]; _btn_civ ctrlCommit 0; _btn_zeus = _display ctrlCreate ['RscButtonMenu',-1]; @@ -17446,23 +17308,7 @@ MAZ_EZM_fnc_groupMenuTeamSwitcher = { _btn_zeus ctrlSetStructuredText parseText ("ZEUS"); _btn_zeus ctrladdEventHandler ["ButtonClick", { - _side = sideLogic; - _groupName = "Stryker 1-4"; - _groups = ["GetAllGroupsOfSide",[_side]] call BIS_fnc_dynamicGroups; - EZM_curator_group = createGroup _side; - EZM_curator_group deleteGroupWhenEmpty true; - [player] join EZM_curator_group; - EZM_curator_group selectLeader player; - [EZM_curator_group, player] remoteExec ["selectLeader", groupOwner EZM_curator_group]; - EZM_curator_group setGroupIdGlobal [_groupName]; - private _group = EZM_curator_group; - private _leader = leader _group; - private _data = [nil, _groupName, false]; comment " [, , ] "; - ["RegisterGroup", [_group, _leader, _data]] remoteExecCall ['BIS_fnc_dynamicGroups']; - ["AddGroupMember", [EZM_curator_group,player]] remoteExecCall ['BIS_fnc_dynamicGroups']; - ["SwitchLeader", [EZM_curator_group,player]] remoteExecCall ['BIS_fnc_dynamicGroups']; - ["SetPrivateState", [EZM_curator_group,true]] remoteExecCall ['BIS_fnc_dynamicGroups']; - ["SetName", [EZM_curator_group,_groupName]] remoteExecCall ['BIS_fnc_dynamicGroups']; + [sideLogic] call MAZ_EZM_fnc_switchGroupSetup; }]; _btn_zeus ctrlCommit 0; }; @@ -17476,7 +17322,7 @@ MAZ_EZM_fnc_initMainLoop = { while {MAZ_EZM_mainLoop_Active} do { waitUntil {uiSleep 0.01; (!isNull (findDisplay 312))}; if(!isNil "MAZ_EP_ServerDLCs" && !isNil "MAZ_CDLC_EP_fnc_newZeus" && isNil "MAZ_CDLC_Setup") then { - [getAssignedCuratorLogic player] remoteExec ["unassignCurator"]; + [getAssignedCuratorLogic player] remoteExec ["unassignCurator",2]; waitUntil {isNull (getAssignedCuratorLogic player)}; [[player],{ params ["_unit"]; From 47b2d3c2b9c817441b57e28e34c37dd3d36d47c4 Mon Sep 17 00:00:00 2001 From: Zach Date: Sun, 1 Dec 2024 10:26:53 -0500 Subject: [PATCH 2/8] remove redudant hideObject --- ZAM_fnc_EZMLiteV2.1.1.sqf | 1 - 1 file changed, 1 deletion(-) diff --git a/ZAM_fnc_EZMLiteV2.1.1.sqf b/ZAM_fnc_EZMLiteV2.1.1.sqf index 235ce39..4f45045 100644 --- a/ZAM_fnc_EZMLiteV2.1.1.sqf +++ b/ZAM_fnc_EZMLiteV2.1.1.sqf @@ -5867,7 +5867,6 @@ MAZ_EZM_fnc_initFunction = { private _target = (createGroup [east,true]) createUnit ["O_Soldier_unarmed_F",_position,[],0,"CAN_COLLIDE"]; _target disableAI "MOVE"; - _target hideObject true; _target hideObjectGlobal true; _target setUnitPOs "UP"; From 7e471dcbc422e1fd3b487fd3a35e01a5d747837b Mon Sep 17 00:00:00 2001 From: Zach Date: Sun, 1 Dec 2024 10:54:28 -0500 Subject: [PATCH 3/8] Suppressive Fire rewrite --- ZAM_fnc_EZMLiteV2.1.1.sqf | 89 +++++++++++++++++++++++++-------------- 1 file changed, 58 insertions(+), 31 deletions(-) diff --git a/ZAM_fnc_EZMLiteV2.1.1.sqf b/ZAM_fnc_EZMLiteV2.1.1.sqf index 4f45045..af98fa0 100644 --- a/ZAM_fnc_EZMLiteV2.1.1.sqf +++ b/ZAM_fnc_EZMLiteV2.1.1.sqf @@ -5841,52 +5841,79 @@ MAZ_EZM_fnc_initFunction = { ["Unit is now surrendered.","addItemOk"] call MAZ_EZM_fnc_systemMessage; }; }; - comment "TODO: Rewrite"; + MAZ_EZM_fnc_suppressiveFireModule = { params ["_entity"]; - if(!(_entity isKindOf "CAManBase") && !(_entity isKindOf "StaticMGWeapon")) exitWith {["Object is not a man!.","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; - if(_entity isKindOf "StaticMGWeapon") then { - if(gunner _entity == objNull) exitWith {["No gunner!.","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; - _entity = gunner _entity; - }; - if(_entity getVariable ["MAZ_EZM_isSuppressing",false]) exitWith {["Unit is already suppressing!.","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; - ["Suppressive Fire",[ + + if (!(_entity isKindOf "CAManBase") && !(_entity isKindOf "AllVehicles")) exitWith {["This must be done to a vehicle or a unit!","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; + if(_entity isKindOf "AllVehicles" && isNull (gunner _entity)) exitWith {["This vehicle has no gunner!","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; + if (_entity getVariable ["MAZ_EZM_isSuppressing", false]) exitwith {["Unit is already suppressing!", "addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; + + ["Suppressive fire", [ [ "SLIDER", "Duration of Suppress", - [5,20,10] + [5, 100, 10] ] - ],{ - params ["_values","_entity","_display"]; + ], { + params ["_values", "_entity", "_display"]; _values params ["_duration"]; _display closeDisplay 1; + + ["Position to Suppress", { + params ["_objects", "_position", "_args", "_shift", "_ctrl", "_alt"]; + _args params ["_entity", "_duration"]; + + private _target = (creategroup [east, true]) createUnit ["O_Soldier_unarmed_F", _position, [], 0, "CAN_COLLIDE"]; + _target disableAI "Move"; + _target allowDamage false; + [_target,true] remoteExec ["hideObjectGlobal",2]; + _target setUnitPos "UP"; + _target addRating -100000000000; + + [_entity, _duration, _target] spawn { + params ["_entity", "_duration", "_target"]; + _entity setVariable ["MAZ_EZM_isSuppressing", true, true]; + _entity doSuppressivefire _target; + _entity suppressFor _duration; + _entity setBehaviour "COMBAT"; + _entity doWatch _target; - ["Position to Suppress",{ - params ["_objects","_position","_args","_shift","_ctrl","_alt"]; - _args params ["_entity","_duration"]; + sleep 3; - private _target = (createGroup [east,true]) createUnit ["O_Soldier_unarmed_F",_position,[],0,"CAN_COLLIDE"]; - _target disableAI "MOVE"; + private _timeToStop = time + _duration + 1; - _target hideObjectGlobal true; - _target setUnitPOs "UP"; - _target addRating -100000000000; + + private _currentWeapon = currentWeapon _entity; + private _weaponModes = getArray (configFile >> "Cfgweapons" >> _currentWeapon >> "modes"); + private _weaponMode = if("FullAuto" in _weaponModes) then {"FullAuto"} else {"Single"}; + private _burstLength = 20; + private _reloadTime = getNumber (configFile >> "CfgWeapons" >> _currentWeapon >> _weaponMode >> "realodTime"); + while {time < _timeToStop} do { + if !(_entity isKindOf "CAManBase") then { + _entity action ["useWeapon",_entity,gunner _entity,0]; + sleep (0.5 + random 1.5); + continue; + }; - [_entity,_duration,_target] spawn { - params ["_entity","_duration","_target"]; - _entity setVariable ["MAZ_EZM_isSuppressing",true,true]; - _entity doSuppressiveFire _target; - _entity suppressFor _duration; - sleep _duration; + private _roundsNumber = round (3 + random 2); + for "_i" from 0 to _roundsNumber do { + _entity forceWeaponFire [_currentWeapon, _weaponMode]; + sleep _reloadTime; + }; + _entity setVehicleAmmo 1; + sleep (0.5 + random 1.5); + }; + _entity doWatch objNull; - deleteVehicle _target; - _entity setVariable ["MAZ_EZM_isSuppressing",false,true]; + deletevehicle _target; + _entity setVariable ["MAZ_EZM_isSuppressing", false, true]; }; - },_entity,[_entity,_duration],"a3\ui_f\data\igui\cfg\cursors\attack_ca.paa",45] call MAZ_EZM_fnc_selectSecondaryPosition; - },{ - params ["_values","_args","_display"]; + }, _entity, [_entity, _duration], "a3\ui_f\data\igui\cfg\cursors\attack_ca.paa", 45] call MAZ_EZM_fnc_selectSecondaryposition; + }, { + params ["_values", "_args", "_display"]; _display closeDisplay 2; - },_entity] call MAZ_EZM_fnc_createDialog; + }, _entity] call MAZ_EZM_fnc_createdialog; }; MAZ_EZM_fnc_removeNVGsAddFlashlightsModule = { From 3462c1251f5d46ff43b1521065a6ff3dc36b7587 Mon Sep 17 00:00:00 2001 From: Zach Date: Sun, 1 Dec 2024 11:48:00 -0500 Subject: [PATCH 4/8] God mode fences class function --- ZAM_fnc_EZMLiteV2.1.1.sqf | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/ZAM_fnc_EZMLiteV2.1.1.sqf b/ZAM_fnc_EZMLiteV2.1.1.sqf index af98fa0..cda50c5 100644 --- a/ZAM_fnc_EZMLiteV2.1.1.sqf +++ b/ZAM_fnc_EZMLiteV2.1.1.sqf @@ -5841,7 +5841,7 @@ MAZ_EZM_fnc_initFunction = { ["Unit is now surrendered.","addItemOk"] call MAZ_EZM_fnc_systemMessage; }; }; - + MAZ_EZM_fnc_suppressiveFireModule = { params ["_entity"]; @@ -12650,8 +12650,7 @@ MAZ_EZM_fnc_initFunction = { params ["_values","_pos","_display"]; _values params ["_radius"]; - private ["_modelString","_newObj","_vectorDirUp","_position","_hideTerrain","_type","_blackListFences"]; - _blackListFences = [ + private _blackListFences = [ "land_pipewall_conretel_8m_f","land_mil_wiredfence_gate_f","land_mil_concretewall_f","land_cncbarrier_f","land_cncbarrier_stripes_f", "land_concrete_smallwall_8m_f","land_concrete_smallwall_4m_f", "land_brickwall_04_l_pole_f","land_brickwall_03_l_pole_f", @@ -12710,15 +12709,19 @@ MAZ_EZM_fnc_initFunction = { private _count = 0; { if(!alive _x) then {continue}; - _modelString = (str _x) splitString " ."; - _type = format ['land_%1',_modelString select (count _modelString) - 2]; + private _modelString = ((str _x) splitString ":" select 1) select [1]; + private _removeExtension = _modelString splitString "." select 0; + private _type = format ['land_%1',_removeExtension]; if !((toLower _type) in _blackListFences) then { _count = _count + 1; - _position = getPosASL _x; - _vectorDirUp = [vectorDir _x,vectorUp _x]; - _newObj = createSimpleObject [format ["%1",_type],_position]; - _newObj setVectorDirAndUp [vectorDir _x,vectorUp _x]; + private _position = getPosASL _x; + private _newObj = createSimpleObject [format ["%1",_type],_position]; + _newObj setPosASL _position; + _newObj setVectorDirAndUp [vectorDir _x,surfaceNormal _position]; + if("pillar" in _type) then { + _newObj setVectorUp (vectorUp _x); + }; [_x,true] remoteExec ["hideObjectGlobal",2]; [_x,false] remoteExec ["allowDamage"]; }; From 002f3d4139175aed0e5ab7e012656c2904687fe6 Mon Sep 17 00:00:00 2001 From: Zach Date: Sun, 1 Dec 2024 12:27:04 -0500 Subject: [PATCH 5/8] Fix cleaner --- ZAM_fnc_EZMLiteV2.1.1.sqf | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/ZAM_fnc_EZMLiteV2.1.1.sqf b/ZAM_fnc_EZMLiteV2.1.1.sqf index cda50c5..0fd8945 100644 --- a/ZAM_fnc_EZMLiteV2.1.1.sqf +++ b/ZAM_fnc_EZMLiteV2.1.1.sqf @@ -4924,17 +4924,23 @@ MAZ_EZM_fnc_initFunction = { MAZ_EZM_fnc_cleanerWaitTilNoPlayers = { params ["_object"]; if(!MAZ_EZM_enableCleaner) exitWith {}; - waitUntil {!alive _object}; - waitUntil { - (count (allPlayers select { (getPos _x) distance _object < 3000 })) == 0 || - isNull _object - }; - if(!isNull _object) then { - sleep 300; - comment "After 5 minutes check if players are still near, if they are, call function again, else delete."; - if(count (allPlayers select { (getPos _x) distance _object < 3000 }) != 0) exitWith {[_object] spawn MAZ_EZM_fnc_cleanerWaitTilNoPlayers;}; - deleteVehicle _object; - }; + [[_object], { + private _fnc_cleaner = { + params ["_object"]; + waitUntil {uiSleep 0.1; !alive _object}; + waitUntil { + (count (allPlayers select { (getPos _x) distance _object < 1600 })) == 0 || + isNull _object + }; + if(!isNull _object) then { + sleep 300; + "After 5 minutes check if players are still near, if they are, call function again, else delete."; + if(count (allPlayers select { (getPos _x) distance _object < 1600 }) != 0) exitWith {[_object] spawn _fnc_cleaner;}; + deleteVehicle _object; + }; + }; + _this spawn _fnc_cleaner; + }] remoteExec ["spawn",2]; }; MAZ_EZM_fnc_ezmShamelessPlug = { From b8364a534f2ae8e67cc9977bbd01e00080343bc1 Mon Sep 17 00:00:00 2001 From: Zach Date: Sun, 1 Dec 2024 15:46:34 -0500 Subject: [PATCH 6/8] Fix attributes and suppressive fire --- ZAM_fnc_EZMLiteV2.1.1.sqf | 45 ++++++++++++++++----------------------- 1 file changed, 18 insertions(+), 27 deletions(-) diff --git a/ZAM_fnc_EZMLiteV2.1.1.sqf b/ZAM_fnc_EZMLiteV2.1.1.sqf index 0fd8945..9f36900 100644 --- a/ZAM_fnc_EZMLiteV2.1.1.sqf +++ b/ZAM_fnc_EZMLiteV2.1.1.sqf @@ -1061,7 +1061,7 @@ comment "Attributes Dialog Creation"; private _sliderEdit = _display ctrlCreate ["RscEdit",IDC_ATTRIBS_SLIDER_EDIT,_rowControlsGroup]; _sliderEdit ctrlSetPosition [["W",23.1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,pixelH,["W",2.9] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,((["H",1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat) - pixelH)]; if(_isPercent) then { - _sliderEdit ctrlSetText ((str (_default * 100)) + "%"); + _sliderEdit ctrlSetText ((str (round (_default * 100))) + "%"); } else { _sliderEdit ctrlSetText (str _default); }; @@ -1594,12 +1594,12 @@ comment "Attributes Dialog Creation"; params ["_unit","_attributes"]; _attributes params ["_name","_rank","_stance","_health","_skill","_respawn"]; [_unit,_name] remoteExec ['setName']; - _unit setRank _rank; - _unit setUnitPos _stance; + [_unit,_rank] remoteExec ["setRank"]; + [_unit,_stance] remoteExec ["setUnitPos"]; MAZ_EZM_stanceForAI = _stance; _unit setDamage (1 - _health); if(!(_unit getVariable ["MAZ_EZM_doesHaveCustomSkills",false])) then { - _unit setSkill _skill; + [_unit, _skill] remoteExec ["setSkill"]; }; [_unit,_respawn] call MAZ_EZM_applyCreateRespawnToUnitAttribs; @@ -2424,15 +2424,10 @@ comment "Attributes Dialog Creation"; params ["_vehicle","_attributes"]; _attributes params [["_health",damage _vehicle],["_fuel",fuel _vehicle],["_lockState",locked _vehicle],["_engineState",isEngineOn _vehicle],["_lightState",isLightOn _vehicle],"_respawn"]; _vehicle setDamage (1-_health); - [[_vehicle,_fuel,_lockState,_engineState,_lightState], { - [_this,{ - params ["_vehicle","_fuel","_lockState","_engineState","_light"]; - _vehicle setFuel _fuel; - _vehicle lock (parseNumber _lockState); - _vehicle engineOn _engineState; - _vehicle setPilotLight _light; - }] remoteExec ["spawn",owner (_this # 0)]; - }] remoteExec ["spawn",2]; + [_vehicle,_fuel] remoteExec ["setFuel"]; + [_vehicle,_lockState] remoteExec ["lock"]; + [_vehicle,_engineState] remoteExec ["engineOn"]; + [_vehicle,_lightState] remoteExec ["setPilotLight"]; [_vehicle,_respawn] call MAZ_EZM_applyCreateRespawnToUnitAttribs; }; @@ -2565,17 +2560,11 @@ comment "Attributes Dialog Creation"; params ["_vehicle","_attributes"]; _attributes params [["_health",damage _vehicle],["_fuel",fuel _vehicle],["_lockState",locked _vehicle],["_engineState",isEngineOn _vehicle],["_lightState",isLightOn _vehicle],["_colLightState",isCollisionLightOn _vehicle],"_respawn"]; _vehicle setDamage (1-_health); - - [[_vehicle,_fuel,_lockState,_engineState,_lightState,_colLightState], { - [_this,{ - params ["_vehicle","_fuel","_lockState","_engineState","_light","_colLight"]; - _vehicle setFuel _fuel; - _vehicle lock (parseNumber _lockState); - _vehicle engineOn _engineState; - _vehicle setPilotLight _light; - _vehicle setCollisionLight _colLight; - }] remoteExec ["spawn",owner (_this # 0)]; - }] remoteExec ["spawn",2]; + [_vehicle,_fuel] remoteExec ["setFuel"]; + [_vehicle,_lockState] remoteExec ["lock"]; + [_vehicle,_engineState] remoteExec ["engineOn"]; + [_vehicle,_lightState] remoteExec ["setPilotLight"]; + [_vehicle,_colLightState] remoteExec ["setCollisionLight"]; [_vehicle,_respawn] call MAZ_EZM_applyCreateRespawnToUnitAttribs; }; @@ -5859,7 +5848,7 @@ MAZ_EZM_fnc_initFunction = { [ "SLIDER", "Duration of Suppress", - [5, 100, 10] + [5, 60, 10] ] ], { params ["_values", "_entity", "_display"]; @@ -5880,8 +5869,9 @@ MAZ_EZM_fnc_initFunction = { [_entity, _duration, _target] spawn { params ["_entity", "_duration", "_target"]; _entity setVariable ["MAZ_EZM_isSuppressing", true, true]; - _entity doSuppressivefire _target; + _entity doSuppressiveFire _target; _entity suppressFor _duration; + private _behaviorPrior = behaviour _entity; _entity setBehaviour "COMBAT"; _entity doWatch _target; @@ -5913,6 +5903,7 @@ MAZ_EZM_fnc_initFunction = { _entity doWatch objNull; deletevehicle _target; + _entity setBehaviour _behaviorPrior; _entity setVariable ["MAZ_EZM_isSuppressing", false, true]; }; }, _entity, [_entity, _duration], "a3\ui_f\data\igui\cfg\cursors\attack_ca.paa", 45] call MAZ_EZM_fnc_selectSecondaryposition; @@ -8830,7 +8821,7 @@ MAZ_EZM_fnc_initFunction = { private _dir = vectorDir _building; private _up = vectorUp _building; private _worldPos = getPosWorld _building; - _building hideObjectGlobal true; + [_building,true] remoteExec ["hideObjectGlobal",2]; [_building,false] remoteExec ['allowDamage']; private _temp = _building; _building = _buildingType createVehicle [0,0,0]; From 638e63ee32d10eb3ce66c83192c2639682877f45 Mon Sep 17 00:00:00 2001 From: Zach Date: Sun, 1 Dec 2024 16:16:58 -0500 Subject: [PATCH 7/8] Mortar ranging rounds --- ZAM_fnc_EZMLiteV2.1.1.sqf | 39 ++++++++++++++++++++++----------------- 1 file changed, 22 insertions(+), 17 deletions(-) diff --git a/ZAM_fnc_EZMLiteV2.1.1.sqf b/ZAM_fnc_EZMLiteV2.1.1.sqf index 9f36900..291c5f2 100644 --- a/ZAM_fnc_EZMLiteV2.1.1.sqf +++ b/ZAM_fnc_EZMLiteV2.1.1.sqf @@ -5314,21 +5314,6 @@ MAZ_EZM_fnc_initFunction = { },_entity] call MAZ_EZM_fnc_createDialog; }; - MAZ_EZM_fnc_getNearestBuilding = { - params [ - ["_position",[0,0,0],[[],objNull]], - ["_radius",50,[0]], - ["_2d",false,[false]] - ]; - if(_position isEqualTo [0,0,0]) exitWith {["Provide a position argument to getNearestBuilding!","addItemFailed"] call MAZ_EZM_fnc_systemMessage}; - if(_position isEqualType objNull) then {_position = getPos _position;}; - private _nearestBuildings = (nearestObjects [_position, ["building"], _radius, _2d]) select { - - count ([_x] call BIS_fnc_buildingPositions) > 0 - }; - (_nearestBuildings select 0) - }; - MAZ_EZM_fnc_garrisonInstantModule = { params ["_entity"]; if(isNull _entity || !((typeOf _entity) isKindOf "CAManBase")) exitWith {["Unit is not suitable.","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; @@ -6806,8 +6791,13 @@ MAZ_EZM_fnc_initFunction = { { params ["_values","_pos","_display"]; _values params ["_roundType","_radius","_rounds","_min","_max"]; - [_pos,_roundType,_radius,_rounds,[_min,_max]] spawn BIS_fnc_fireSupportVirtual; _display closeDisplay 1; + [_pos,_roundType,_radius,_rounds,_min,_max] spawn { + params ["_pos","_roundType","_radius","_rounds","_min","_max"]; + [_pos,_roundType,_radius * 1.1,1,[_min,_max],{false},(_radius * 0.75)] spawn BIS_fnc_fireSupportVirtual; + sleep (5 + random 5); + [_pos,_roundType,_radius,_rounds,[_min,_max]] spawn BIS_fnc_fireSupportVirtual; + }; }, { params ["_values","_args","_display"]; @@ -8881,6 +8871,21 @@ MAZ_EZM_fnc_initFunction = { }; + MAZ_EZM_fnc_getNearestBuilding = { + params [ + ["_position",[0,0,0],[[],objNull]], + ["_radius",50,[0]], + ["_2d",false,[false]] + ]; + if(_position isEqualTo [0,0,0]) exitWith {["Provide a position argument to getNearestBuilding!","addItemFailed"] call MAZ_EZM_fnc_systemMessage}; + if(_position isEqualType objNull) then {_position = getPos _position;}; + private _nearestBuildings = (nearestObjects [_position, ["building"], _radius, _2d]) select { + + count ([_x] call BIS_fnc_buildingPositions) > 0 + }; + (_nearestBuildings select 0) + }; + MAZ_EZM_fnc_createBuildingInteriorCall = { params ["_entity"]; if( @@ -10705,7 +10710,7 @@ MAZ_EZM_fnc_initFunction = { private _god = isDamageAllowed _entity; [_entity,!_god] remoteExec ["allowDamage"]; - [["Object is god moded", "Object is no longer god moded."] select _god,"addItemOk"] call MAZ_EZM_fnc_systemMessage; + [["Object is god moded", "Object is no longer god moded."] select !_god,"addItemOk"] call MAZ_EZM_fnc_systemMessage; }; MAZ_EZM_fnc_toggleHideObjectModule = { From 9848ca45d6aa89b06f2a5d3efacf78c8896e5362 Mon Sep 17 00:00:00 2001 From: Zach Date: Sun, 1 Dec 2024 16:50:08 -0500 Subject: [PATCH 8/8] Change log and archive --- ZAM_fnc_EZMLiteV2.1.2.sqf | 17502 ++++++++++++++++ .../ZAM_fnc_EZMLiteV2.1.1.sqf | 801 +- 2 files changed, 17964 insertions(+), 339 deletions(-) create mode 100644 ZAM_fnc_EZMLiteV2.1.2.sqf rename ZAM_fnc_EZMLiteV2.1.1.sqf => previous-versions/ZAM_fnc_EZMLiteV2.1.1.sqf (98%) diff --git a/ZAM_fnc_EZMLiteV2.1.2.sqf b/ZAM_fnc_EZMLiteV2.1.2.sqf new file mode 100644 index 0000000..45abd38 --- /dev/null +++ b/ZAM_fnc_EZMLiteV2.1.2.sqf @@ -0,0 +1,17502 @@ +if(!isNull (findDisplay 312) && {!isNil "this"} && {!isNull this}) then { + deleteVehicle this; +}; + +[] spawn { +MAZ_EZM_Version = "V2.1.2"; +MAZ_EZM_autoAdd = profileNamespace getVariable ["MAZ_EZM_autoAddVar",true]; +MAZ_EZM_spawnWithCrew = true; +MAZ_EZM_nvgsOnlyAtNight = true; +MAZ_EZM_enableCleaner = profileNamespace getVariable ["MAZ_EZM_autoCleanerVar",true]; +MAZ_EZM_stanceForAI = "UP"; +uiNamespace setVariable ["MAZ_EZM_activeWarnings",[]]; +uiNamespace setVariable ["MAZ_EZM_missingRespawnWarn",nil]; +MAZ_EZM_factionAddons = []; +MAZ_EZM_moduleAddons = []; + +comment "Color Override"; + EZM_themeColor = [0, 0.75, 0.75, 1]; + EZM_zeusTransparency = profileNamespace getVariable ["MAZ_EZM_zeusTransparency_currentValue",1]; + EZM_dialogColor = [0,0.5,0.5,1]; + EZM_dialogBackgroundCO = [0, 0, 0, 0.7]; + uiNamespace setVariable ['EZM_themeColor', EZM_themeColor]; + +comment "Dialog Creation"; + + MAZ_EZM_fnc_convertToGUI_GRIDFormat = { + params ["_mode","_value"]; + + comment "Defines"; + private _GUI_GRID_WAbs = ((safeZoneW / safeZoneH) min 1.2); + private _GUI_GRID_HAbs = (_GUI_GRID_WAbs / 1.2); + private _GUI_GRID_W = (_GUI_GRID_WAbs / 40); + private _GUI_GRID_H = (_GUI_GRID_HAbs / 25); + private _GUI_GRID_X = (safeZoneX); + private _GUI_GRID_Y = (safeZoneY + safeZoneH - _GUI_GRID_HAbs); + + private _GUI_GRID_CENTER_WAbs = _GUI_GRID_WAbs; + private _GUI_GRID_CENTER_HAbs = _GUI_GRID_HAbs; + private _GUI_GRID_CENTER_W = _GUI_GRID_W; + private _GUI_GRID_CENTER_H = _GUI_GRID_H; + private _GUI_GRID_CENTER_X = (safeZoneX + (safeZoneW - _GUI_GRID_CENTER_WAbs)/2); + private _GUI_GRID_CENTER_Y = (safeZoneY + (safeZoneH - _GUI_GRID_CENTER_HAbs)/2); + + comment "Mode Selection"; + private _return = switch (toUpper _mode) do { + case "X": {((_value) * _GUI_GRID_W + _GUI_GRID_CENTER_X)}; + case "Y": {((_value) * _GUI_GRID_H + _GUI_GRID_CENTER_Y)}; + case "W": {((_value) * _GUI_GRID_W)}; + case "H": {((_value) * _GUI_GRID_H)}; + }; + _return + }; + uiNamespace setVariable ["MAZ_EZM_fnc_convertToGUI_GRIDFormat",MAZ_EZM_fnc_convertToGUI_GRIDFormat]; + + MAZ_EZM_fnc_createDialogBase = { + createDialog "RscDisplayEmpty"; + showchat true; + private _display = findDisplay -1; + + private _label = _display ctrlCreate ["RscText",IDC_TITLE]; + _label ctrlSetPositionX (["X",6.5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _label ctrlSetPositionW (["W",27] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _label ctrlSetPositionH (["H",1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _label ctrlSetBackgroundColor EZM_dialogColor; + _label ctrlCommit 0; + + private _background = _display ctrlCreate ["RscText",IDC_BACKGROUND]; + _background ctrlSetPositionX (["X",6.5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _background ctrlSetPositionW (["W",27] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _background ctrlSetBackgroundColor EZM_dialogBackgroundCO; + _background ctrlCommit 0; + + private _contentGroup = _display ctrlCreate ["RscControlsGroupNoScrollbars",IDC_CONTENT]; + _contentGroup ctrlSetPositionX (["X",7] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _contentGroup ctrlSetPositionW (["W",26] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _contentGroup ctrlCommit 0; + + private _okayButton = _display ctrlCreate ["RscButtonMenuOk",IDC_CONFIRM]; + _okayButton ctrlSetPositionX (["X",28.5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _okayButton ctrlSetPositionW (["W",5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _okayButton ctrlSetPositionH (["H",1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _okayButton ctrlAddEventhandler ["ButtonClick",{ + params ["_control"]; + private _display = ctrlParent _control; + (_display getVariable "MAZ_moduleMenuInfo") params ["_controls","_onConfirm","_onCancel","_args"]; + + private _values = _controls apply { + _x params ["_controlsGroup","_settings"]; + + [_controlsGroup,_settings] call (_controlsGroup getVariable "controlValue"); + }; + + [_values,_args,_display] call _onConfirm; + }]; + _okayButton ctrlCommit 0; + + private _cancelButton = _display ctrlCreate ["RscButtonMenuCancel",IDC_CANCEL]; + _cancelButton ctrlSetPositionX (["X",6.5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _cancelButton ctrlSetPositionW (["W",5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _cancelButton ctrlSetPositionH (["H",1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _cancelButton ctrlAddEventhandler ["ButtonClick",{ + params ["_control"]; + private _display = ctrlParent _control; + (_display getVariable "MAZ_moduleMenuInfo") params ["_controls","_onConfirm","_onCancel","_args"]; + + private _values = _controls apply { + _x params ["_controlsGroup","_settings"]; + + [_controlsGroup,_settings] call (_controlsGroup getVariable "controlValue"); + }; + + [_values,_args,_display] call _onCancel; + }]; + _cancelButton ctrlCommit 0; + + _display displayAddEventHandler ["KeyDown", { + params ["_display", "_keyCode"]; + + if (_keyCode == 1) then { + (_display getVariable "MAZ_moduleMenuInfo") params ["_controls","_onConfirm","_onCancel","_args"]; + + private _values = _controls apply { + _x params ["_controlsGroup","_settings"]; + + [_controlsGroup,_settings] call (_controlsGroup getVariable "controlValue"); + }; + + [_values,_args,_display] call _onCancel; + }; + + false + }]; + + _display + }; + + MAZ_EZM_fnc_createRowBase = { + params ["_display"]; + private _contentGroup = _display displayCtrl IDC_CONTENT; + private _controlsGroupRow = _display ctrlCreate ["RscControlsGroupNoScrollbars",IDC_ROW_GROUP,_contentGroup]; + _controlsGroupRow ctrlSetPosition [0,0,(["W",26] call MAZ_EZM_fnc_convertToGUI_GRIDFormat),(["H",1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat)]; + _controlsGroupRow ctrlCommit 0; + + private _rowLabel = _display ctrlCreate ["RscText",IDC_ROW_LABEL,_controlsGroupRow]; + _rowLabel ctrlSetPosition [0,0,(["W",10] call MAZ_EZM_fnc_convertToGUI_GRIDFormat),(["H",1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat)]; + _rowLabel ctrlSetBackgroundColor [0,0,0,0.5]; + _rowLabel ctrlCommit 0; + + _controlsGroupRow + }; + + MAZ_EZM_fnc_createComboRow = { + params ["_display","_defaultValue","_settings"]; + _settings params ["_entries"]; + private _rowControlGroup = [_display] call MAZ_EZM_fnc_createRowBase; + + private _combo = _display ctrlCreate ["RscCombo",IDC_ROW_COMBO,_rowControlGroup]; + _combo ctrlSetPosition [(["W",10.1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat),0,(["W",15.9] call MAZ_EZM_fnc_convertToGUI_GRIDFormat),(["H",1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat)]; + _combo ctrlCommit 0; + + { + _x params ["_value","_text","_tooltip","_picture","_textColor"]; + + private _index = _combo lbAdd _text; + _combo lbSetTooltip [_index,_tooltip]; + _combo lbSetPicture [_index,_picture]; + _combo lbSetColor [_index,_textColor]; + _combo setVariable [str _index,_value]; + + if(_value isEqualTo _defaultValue) then { + _combo lbSetCurSel _index; + }; + } forEach _entries; + + _rowControlGroup setVariable ["controlValue",{ + params ["_controlsGroup"]; + + private _ctrlCombo = _controlsGroup controlsGroupCtrl IDC_ROW_COMBO; + _ctrlCombo getVariable str lbCurSel _ctrlCombo + }]; + + _rowControlGroup + }; + + MAZ_EZM_fnc_createEditRow = { + params ["_display","_defaultValue","_settings"]; + _settings params ["_height"]; + private _rowControlGroup = [_display] call MAZ_EZM_fnc_createRowBase; + + private _edit = _display ctrlCreate ["RscEdit",IDC_ROW_EDIT,_rowControlGroup]; + _edit ctrlSetPosition [(["W",10.1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat),pixelH,(["W",15.9] call MAZ_EZM_fnc_convertToGUI_GRIDFormat),(["H",1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat) - pixelH]; + _edit ctrlSetTextColor [1,1,1,1]; + _edit ctrlSetBackgroundColor [0,0,0,0.2]; + _edit ctrlCommit 0; + + _edit ctrlSetText _defaultValue; + + _rowControlGroup setVariable ["controlValue", { + params ["_controlsGroup"]; + ctrlText (_controlsGroup controlsGroupCtrl IDC_ROW_EDIT) + }]; + + _rowControlGroup + }; + + MAZ_EZM_fnc_createEditMultiRow = { + params ["_display","_defaultValue","_settings"]; + _settings params [["_height",4]]; + private _rowControlGroup = [_display] call MAZ_EZM_fnc_createRowBase; + _rowControlGroup ctrlSetPositionH (["H",_height + 1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _rowControlGroup ctrlCommit 0; + + private _label = _rowControlGroup controlsGroupCtrl IDC_ROW_LABEL; + _label ctrlSetPositionW (["W",26] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _label ctrlCommit 0; + + private _edit = _display ctrlCreate ["RscEditMulti",IDC_ROW_EDIT,_rowControlGroup]; + _edit ctrlSetPosition [pixelW,(["H",1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat),(["W",26] call MAZ_EZM_fnc_convertToGUI_GRIDFormat) - pixelW,(["H",1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat) - pixelH]; + _edit ctrlSetPositionH (["H",_height] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _edit ctrlSetTextColor [1,1,1,1]; + _edit ctrlSetBackgroundColor [0,0,0,0.2]; + _edit ctrlSetText _defaultValue; + _edit ctrlCommit 0; + + _rowControlGroup setVariable ["controlValue", { + params ["_controlsGroup"]; + ctrlText (_controlsGroup controlsGroupCtrl IDC_ROW_EDIT) + }]; + + _rowControlGroup + }; + + MAZ_EZM_fnc_createEditCodeRow = { + params ["_display","_defaultValue","_settings"]; + _settings params ["_height"]; + private _rowControlGroup = [_display,_defaultValue,[_height]] call MAZ_EZM_fnc_createEditMultiRow; + + private _execButton = _display displayCtrl IDC_CONFIRM; + _execButton ctrlSetText "Exec"; + _execButton ctrlCommit 0; + + private _edit = _display displayCtrl IDC_ROW_EDIT; + _edit ctrlSetTextColor [1,1,1,1]; + _edit ctrlSetBackgroundColor [0,0,0,0.5]; + _edit ctrlSetFont "EtelkaMonospacePro"; + _edit ctrlSetFontHeight 0.03; + _edit ctrlSetText _defaultValue; + _edit ctrlCommit 0; + + _rowControlGroup + }; + + MAZ_EZM_fnc_createListRow = { + params ["_display","_defaultValue","_settings"]; + _settings params ["_entries","_height"]; + private _rowControlGroup = [_display] call MAZ_EZM_fnc_createRowBase; + _rowControlGroup ctrlSetPositionH (["H",_height + 1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _rowControlGroup ctrlCommit 0; + + private _label = _rowControlGroup controlsGroupCtrl IDC_ROW_LABEL; + _label ctrlSetPositionW (["W",26] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _label ctrlCommit 0; + + private _listBox = _display ctrlCreate ["RscListBox",IDC_ROW_COMBO,_rowControlGroup]; + _listBox ctrlSetPosition [0,(["H",1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat),(["W",26] call MAZ_EZM_fnc_convertToGUI_GRIDFormat),(["H",6] call MAZ_EZM_fnc_convertToGUI_GRIDFormat)]; + _listBox ctrlSetPositionH (["H",_height] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _listBox ctrlCommit 0; + + { + _x params ["_value","_text","_tooltip","_picture","_textColor"]; + + private _index = _listBox lbAdd _text; + _listBox lbSetTooltip [_index,_tooltip]; + _listBox lbSetPicture [_index,_picture]; + _listBox lbSetColor [_index,_textColor]; + _listBox setVariable [str _index,_value]; + + if(_value isEqualTo _defaultValue) then { + _listBox lbSetCurSel _index; + }; + } forEach _entries; + _listBox lbAdd " "; + _listBox lbAdd " "; + _listBox lbAdd " "; + + _rowControlGroup setVariable ["controlValue",{ + params ["_controlsGroup"]; + + private _ctrlCombo = _controlsGroup controlsGroupCtrl IDC_ROW_COMBO; + _ctrlCombo getVariable str lbCurSel _ctrlCombo + }]; + + _rowControlGroup + }; + + MAZ_EZM_fnc_createSidesRow = { + params ["_display","_defaultValue","_settings"]; + private _rowControlGroup = [_display] call MAZ_EZM_fnc_createRowBase; + + _rowControlGroup ctrlSetPositionH (["H",2.5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + + private _label = _rowControlGroup controlsGroupCtrl IDC_ROW_LABEL; + _label ctrlSetPositionH (["H",2.5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _label ctrlCommit 0; + + private _background = _display ctrlCreate ["RscText",-1,_rowControlGroup]; + _background ctrlSetBackgroundColor [0,0,0,0.6]; + _background ctrlSetPosition [(["W",10] call MAZ_EZM_fnc_convertToGUI_GRIDFormat),0,(["W",16] call MAZ_EZM_fnc_convertToGUI_GRIDFormat),(["H",2.5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat)]; + _background ctrlSetTextColor [1,1,1,0.5]; + _background ctrlCommit 0; + + private _sidesGroup = _display ctrlCreate ["RscControlsGroupNoScrollbars",IDC_ROW_SIDES,_rowControlGroup]; + _sidesGroup ctrlSetPosition [(["W",10] call MAZ_EZM_fnc_convertToGUI_GRIDFormat),0,(["W",16] call MAZ_EZM_fnc_convertToGUI_GRIDFormat),(["H",2.5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat)]; + _sidesGroup ctrlCommit 0; + + private _blufor = _display ctrlCreate ["RscActivePicture",IDC_SIDES_BLUFOR,_sidesGroup]; + _blufor ctrlSetText "\a3\Ui_F_Curator\Data\Displays\RscDisplayCurator\side_west_ca.paa"; + _blufor ctrlSetPosition [(["W",2.5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat),(["H",0.25] call MAZ_EZM_fnc_convertToGUI_GRIDFormat),(["W",2] call MAZ_EZM_fnc_convertToGUI_GRIDFormat),(["H",2] call MAZ_EZM_fnc_convertToGUI_GRIDFormat)]; + _blufor ctrlCommit 0; + + private _opfor = _display ctrlCreate ["RscActivePicture",IDC_SIDES_OPFOR,_sidesGroup]; + _opfor ctrlSetText "\a3\Ui_F_Curator\Data\Displays\RscDisplayCurator\side_east_ca.paa"; + _opfor ctrlSetPosition [(["W",5.5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat),(["H",0.25] call MAZ_EZM_fnc_convertToGUI_GRIDFormat),(["W",2] call MAZ_EZM_fnc_convertToGUI_GRIDFormat),(["H",2] call MAZ_EZM_fnc_convertToGUI_GRIDFormat)]; + _opfor ctrlCommit 0; + + private _indep = _display ctrlCreate ["RscActivePicture",IDC_SIDES_INDEPENDENT,_sidesGroup]; + _indep ctrlSetText "\a3\Ui_F_Curator\Data\Displays\RscDisplayCurator\side_guer_ca.paa"; + _indep ctrlSetPosition [(["W",8.5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat),(["H",0.25] call MAZ_EZM_fnc_convertToGUI_GRIDFormat),(["W",2] call MAZ_EZM_fnc_convertToGUI_GRIDFormat),(["H",2] call MAZ_EZM_fnc_convertToGUI_GRIDFormat)]; + _indep ctrlCommit 0; + + private _civ = _display ctrlCreate ["RscActivePicture",IDC_SIDES_CIVILIAN,_sidesGroup]; + _civ ctrlSetText "\a3\Ui_F_Curator\Data\Displays\RscDisplayCurator\side_civ_ca.paa"; + _civ ctrlSetPosition [(["W",11.5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat),(["H",0.25] call MAZ_EZM_fnc_convertToGUI_GRIDFormat),(["W",2] call MAZ_EZM_fnc_convertToGUI_GRIDFormat),(["H",2] call MAZ_EZM_fnc_convertToGUI_GRIDFormat)]; + _civ ctrlCommit 0; + + if (_defaultValue isEqualType []) then { + _defaultValue = +_defaultValue; + }; + + private _allowMultiple = _defaultValue isEqualType []; + _sidesGroup setVariable ["controlValue",_defaultValue]; + + private _controls = []; + private _IDCs = [IDC_SIDES_OPFOR,IDC_SIDES_BLUFOR,IDC_SIDES_INDEPENDENT,IDC_SIDES_CIVILIAN]; + { + private _sideCtrl = _sidesGroup controlsGroupCtrl _x; + private _color = [_forEachIndex] call BIS_fnc_sideColor; + private _side = [_forEachIndex] call BIS_fnc_sideType; + + _sideCtrl ctrlSetActiveColor _color; + if(_allowMultiple) then { + if(_side in _defaultValue) then { + [_sideCtrl,1.2,0] call BIS_fnc_ctrlSetScale; + } else { + _color set [3,0.5]; + }; + } else { + if(_side isEqualTo _defaultValue) then { + [_sideCtrl,1.2,0] call BIS_fnc_ctrlSetScale; + } else { + _color set [3,0.5]; + }; + }; + _sideCtrl ctrlSetTextColor _color; + + if(_allowMultiple) then { + _sideCtrl ctrlAddEventHandler ["ButtonClick",{ + params ["_sideCtrl"]; + (_sideCtrl getVariable "params") params ["_color","_side"]; + private _controlGroup = ctrlParentControlsGroup _sideCtrl; + private _value = _controlGroup getVariable "controlValue"; + + private _scale = ""; + private _alpha = ""; + if(_side in _value) then { + _value deleteAt (_value find _side); + _scale = 1; + _alpha = 0.5; + } else { + _value pushBack _side; + _scale = 1.25; + _alpha = 1; + }; + _color set [3,_alpha]; + _sideCtrl ctrlSetTextColor _color; + [_sideCtrl,_scale,0.1] call BIS_fnc_ctrlSetScale; + }]; + } else { + _sideCtrl ctrlAddEventHandler ["ButtonClick",{ + params ["_sideCtrl"]; + (_sideCtrl getVariable "params2") params ["_controls"]; + private _controlGroup = ctrlParentControlsGroup _sideCtrl; + { + _x params ["_ctrl","_color","_side"]; + private _scale = ""; + private _alpha = ""; + if(_ctrl isEqualTo _sideCtrl) then { + _scale = 1.25; + _alpha = 1; + _controlGroup setVariable ["controlValue",_side]; + } else { + _scale = 1; + _alpha = 0.5; + }; + _color set [3,_alpha]; + _ctrl ctrlSetTextColor _color; + [_ctrl,_scale,0.1] call BIS_fnc_ctrlSetScale; + }forEach _controls; + }]; + + _controls pushBack [_sideCtrl, _color, _side]; + }; + _sideCtrl setVariable ["params",[_color,_side]]; + _sideCtrl setVariable ["params2",[_controls]]; + }forEach [IDC_SIDES_OPFOR,IDC_SIDES_BLUFOR,IDC_SIDES_INDEPENDENT,IDC_SIDES_CIVILIAN]; + + _rowControlGroup setVariable ["controlValue", { + params ["_controlsGroup"]; + + private _ctrlSides = _controlsGroup controlsGroupCtrl IDC_ROW_SIDES; + _ctrlSides getVariable "controlValue" + }]; + + _rowControlGroup + }; + + MAZ_EZM_fnc_createSliderRow = { + params ["_display","_defaultValue","_settings"]; + _settings params ["_min","_max","_isPercent","_drawRadius","_radiusCenter","_radiusColor"]; + private _rowControlGroup = [_display] call MAZ_EZM_fnc_createRowBase; + _rowControlGroup setVariable ["MAZ_EZM_isPercent",_isPercent]; + + private _slider = _display ctrlCreate ["RscXSliderH",IDC_ROW_SLIDER,_rowControlGroup]; + _slider ctrlSetPosition [(["W",10.1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat),0,(["W",13.5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat),(["H",1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat)]; + _slider ctrlSetTextColor [1,1,1,0.6]; + _slider ctrlSetActiveColor [1,1,1,1]; + _slider ctrlCommit 0; + + private _sliderEdit = _display ctrlCreate ["RscEdit",IDC_ROW_EDIT,_rowControlGroup]; + _sliderEdit ctrlSetPosition [(["W",23.7] call MAZ_EZM_fnc_convertToGUI_GRIDFormat),pixelH,(["W",2.3] call MAZ_EZM_fnc_convertToGUI_GRIDFormat),((["H",1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat) - pixelH)]; + _sliderEdit ctrlSetTextColor [1,1,1,1]; + _sliderEdit ctrlSetBackgroundColor [0,0,0,0.2]; + _sliderEdit ctrlCommit 0; + + if(_drawRadius) then { + ["MAZ_EZM_drawSliderRadius","onEachFrame",{ + params ["_ctrlSlider","_center","_color"]; + if(isNull _ctrlSlider || {_center isEqualTo objNull}) exitWith { + ["MAZ_EZM_drawSliderRadius","onEachFrame"] call BIS_fnc_removeStackedEventHandler; + }; + + if (_center isEqualType objNull) then { + _center = ASLToAGL getPosASLVisual _center; + }; + + private _radius = sliderPosition _ctrlSlider; + private _count = 6 max floor (2 * pi * _radius / 15); + private _intervals = 360 / _count; + + for "_i" from 0 to (_count - 1) do { + private _circumferencePos = _i * _intervals; + drawIcon3D ["\a3\ui_f\data\map\markers\military\dot_ca.paa", _color, [_radius * cos _circumferencePos + (_center # 0),_radius * sin _circumferencePos + (_center # 1),0], 0.5, 0.5, 0]; + }; + },[_slider,_radiusCenter,_radiusColor]] call BIS_fnc_addStackedEventHandler; + }; + + _slider sliderSetRange [_min, _max]; + _slider sliderSetSpeed [1, 1]; + _slider sliderSetPosition _defaultValue; + if(_isPercent) then { + private _text = (str (round (_defaultValue * 100))) + "%"; + _sliderEdit ctrlSetText _text; + } else { + _sliderEdit ctrlSetText (str _defaultValue); + }; + + _slider ctrlAddEventHandler ["sliderPosChanged", { + params ["_ctrlSlider", "_value"]; + private _controlGroup = ctrlParentControlsGroup _ctrlSlider; + private _isPercent = _controlGroup getVariable ["MAZ_EZM_isPercent",false]; + private _ctrlEdit = _controlGroup controlsGroupCtrl IDC_ROW_EDIT; + if(_isPercent) then { + private _text = (str (round (_value * 100))) + "%"; + _ctrlEdit ctrlSetText _text; + } else { + private _roundedValue = round _value; + _ctrlEdit ctrlSetText format ["%1",_roundedValue]; + }; + }]; + + _sliderEdit ctrlAddEventHandler ["keyUp",{ + params ["_displayOrControl", "_key", "_shift", "_ctrl", "_alt"]; + private _num = parseNumber (ctrlText _displayOrControl); + private _ctrlGroup = ctrlParentControlsGroup _displayOrControl; + private _isPercent = _ctrlGroup getVariable ["MAZ_EZM_isPercent",false]; + private _sliderCtrl = _ctrlGroup controlsGroupCtrl IDC_ROW_SLIDER; + if(_isPercent) then { + _sliderCtrl sliderSetPosition (_num/100); + } else { + _sliderCtrl sliderSetPosition _num; + }; + }]; + + _rowControlGroup setVariable ["controlValue",{ + params ["_controlsGroup"]; + sliderPosition (_controlsGroup controlsGroupCtrl IDC_ROW_SLIDER) + }]; + + _rowControlGroup + }; + + MAZ_EZM_fnc_createToolBoxRow = { + params ["_display","_defaultValue","_settings"]; + _settings params ["_strings"]; + private _rowControlGroup = [_display] call MAZ_EZM_fnc_createRowBase; + + private _ctrlToolbox = _display ctrlCreate ["RscToolBox",IDC_ROW_TOOLBOX,_rowControlGroup]; + _ctrlToolbox ctrlSetPosition [(["W",10.1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat),0,(["W",15.9] call MAZ_EZM_fnc_convertToGUI_GRIDFormat),(["H",1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat)]; + _ctrlToolbox ctrlSetTextColor [1,1,1,1]; + _ctrlToolbox ctrlSetBackgroundColor [0,0,0,0.3]; + _ctrlToolbox ctrlCommit 0; + lbClear _ctrlToolbox; + + { + _x params ["_text","_tooltip"]; + + private _index = _ctrlToolbox lbAdd _text; + _ctrlToolbox lbSetTooltip [_index, _tooltip]; + } forEach _strings; + + if(_defaultValue isEqualType false) then { + _defaultValue = parseNumber _defaultValue; + }; + _ctrlToolbox lbSetCurSel _defaultValue; + + _rowControlGroup setVariable ["controlValue", { + params ["_controlsGroup", "_settings"]; + + private _value = lbCurSel (_controlsGroup controlsGroupCtrl IDC_ROW_TOOLBOX); + _value = _value > 0; + + _value + }]; + + _rowControlGroup + }; + + MAZ_EZM_fnc_createVectorRow = { + params ["_display","_defaultValue","_settings"]; + _settings params ["_labelData","_numOfEdits"]; + _labelData params ["_labels","_labelColors"]; + private _rowControlGroup = [_display] call MAZ_EZM_fnc_createRowBase; + + private ["_width","_gap"]; + if(_numOfEdits > 3) then { + _numOfEdits = 3; + }; + if(_numOfEdits < 2) then { + _numOfEdits = 2; + }; + switch (_numOfEdits) do { + case 2: { + _width = 6.5; + _gap = 0.2; + }; + case 3: { + _width = 4.5; + _gap = 0.2; + }; + }; + + for "_i" from 0 to (_numOfEdits - 1) do { + + private _widthPosLabel = (_i * _width) + ((_i + 1) * (_gap * 3)) + 10; + private _widthPos = _widthPosLabel + 1.2; + _widthPos = ["W",_widthPos] call MAZ_EZM_fnc_convertToGUI_GRIDFormat; + _widthPosLabel = ["W",_widthPosLabel] call MAZ_EZM_fnc_convertToGUI_GRIDFormat; + + private _editLabel = _display ctrlCreate ["RscStructuredText",-1,_rowControlGroup]; + _editLabel ctrlSetStructuredText parseText (format ["%1",_labels select _i]); + _editLabel ctrlSetBackgroundColor (_labelColors select _i); + _editLabel ctrlSetPosition [_widthPosLabel,0,["W",1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,["H",1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat]; + _editLabel ctrlCommit 0; + + private _editBox = _display ctrlCreate ["RscEdit",IDCS_ROW_VECTOR select _i,_rowControlGroup]; + _editBox ctrlSetText (str (_defaultValue select _i)); + _editBox ctrlSetPosition [_widthPos,0,["W",_width - 1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,["H",1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat]; + _editBox ctrlCommit 0; + }; + + _rowControlGroup ctrlSetPositionH (["H",1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _rowControlGroup ctrlCommit 0; + + _rowControlGroup setVariable ["numOfVectorControls",_numOfEdits]; + + _rowControlGroup setVariable ["controlValue", { + params ["_controlsGroup", "_settings"]; + private _numOfEdits = _controlsGroup getVariable "numOfVectorControls"; + private _value = []; + for "_i" from 0 to (_numOfEdits - 1) do { + private _editBox = _controlsGroup controlsGroupCtrl (IDCS_ROW_VECTOR select _i); + _value pushBack (parseNumber (ctrlText _editBox)); + }; + + _value + }]; + + _rowControlGroup + }; + + MAZ_EZM_fnc_changeDisplayHeights = { + params ["_display"]; + private _ctrlContent = _display displayCtrl IDC_CONTENT; + ctrlPosition _ctrlContent params ["_posX","","_posW","_posH"]; + + _ctrlContent ctrlSetPositionY (0.5 - (_posH / 2)); + _ctrlContent ctrlCommit 0; + + private _ctrlTitle = _display displayCtrl IDC_TITLE; + _ctrlTitle ctrlSetPositionY (0.5 - (_posH / 2) - (["H",1.6] call MAZ_EZM_fnc_convertToGUI_GRIDFormat)); + _ctrlTitle ctrlCommit 0; + + private _ctrlBG = _display displayCtrl IDC_BACKGROUND; + _ctrlBG ctrlSetPositionY (0.5 - (_posH / 2) - (["H",0.5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat)); + _ctrlBG ctrlSetPositionH (_posH + (["H",1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat)); + _ctrlBG ctrlCommit 0; + + private _ctrlOkBtn = _display displayCtrl IDC_CONFIRM; + _ctrlOkBtn ctrlSetPositionY (0.5 + (_posH / 2) + (["H",0.6] call MAZ_EZM_fnc_convertToGUI_GRIDFormat)); + _ctrlOkBtn ctrlCommit 0; + + private _ctrlCancelBtn = _display displayCtrl IDC_CANCEL; + _ctrlCancelBtn ctrlSetPositionY (0.5 + (_posH / 2) + (["H",0.6] call MAZ_EZM_fnc_convertToGUI_GRIDFormat)); + _ctrlCancelBtn ctrlCommit 0; + }; + + MAZ_EZM_fnc_createDialog = { + params [ + ["_title","",[""]], + ["_content",[],[[]]], + ["_onConfirm",{},[{}]], + ["_onCancel",{},[{}]], + ["_args",[]] + ]; + + private _controlsData = []; + { + _x params [ + ["_type","",[""]], + ["_name",[],["",[]]], + ["_value",[]] + ]; + _name params [["_label","",[""]],["_toolTip","",[""]]]; + + (toUpper _type splitString ":") params [["_type",""],["_subType",""]]; + + private ["_defaultValue","_controlType","_settings"]; + + switch (_type) do { + case "COMBO": { + _value params [["_values",[],[[]]],["_labels",[],[[]]],["_defaultIndex",0,[0]]]; + if(_values isEqualTo []) then { + { + _values pushBack _forEachIndex; + } forEach _labels; + }; + + _defaultValue = _values param [_defaultIndex]; + _controlType = MAZ_EZM_fnc_createComboRow; + + private _entries = []; + for "_i" from 0 to (count _values - 1) do { + (_labels select _i) params [["_text","",[""]],["_tooltip","",[""]],["_picture","",[""]],["_textColor",[1,1,1,1],[[]],4]]; + _entries pushBack [_values select _i,_text,_tooltip,_picture,_textColor]; + }; + + _settings = [_entries]; + }; + case "EDIT": { + _value params [["_default",""],["_height",5,[0]]]; + if!(_default isEqualType "") then { + _default = str _default; + }; + + _defaultValue = _default; + + _controlType = switch (_subType) do { + case "MULTI": { + MAZ_EZM_fnc_createEditMultiRow + }; + case "CODE": { + MAZ_EZM_fnc_createEditCodeRow + }; + default { + MAZ_EZM_fnc_createEditRow + }; + }; + + private _isMulti = _subType in ["MULTI","CODE"]; + _settings = [_height]; + }; + case "LIST": { + _value params [["_values",[],[[]]],["_labels",[],[[]]],["_defaultIndex",0,[0]],["_height",6,[0]],["_sort",false,[false]]]; + + if(_values isEqualTo []) then { + { + _values pushBack _forEachIndex; + }forEach _labels; + }; + + _defaultValue = _values param [_defaultIndex]; + _controlType = MAZ_EZM_fnc_createListRow; + + private _entries = []; + for "_i" from 0 to (count _values - 1) do { + (_labels select _i) params [["_text","",[""]],["_tooltip","",[""]],["_picture","",[""]],["_textColor",[1,1,1,1],[[]],4]]; + _entries pushBack [_values select _i,_text,_tooltip,_picture,_textColor]; + }; + + _settings = [_entries,_height]; + }; + case "SIDES": { + _defaultValue = [_value] param [0,west,[west,[]]]; + _controlType = MAZ_EZM_fnc_createSidesRow; + _settings = []; + }; + case "SLIDER": { + _value params [ + ["_min",0,[0]], + ["_max",1,[0]], + ["_default",0,[0]], + ["_radiusCenter",objNull,[objNull,[]], 3], + ["_radiusColor",[1,1,1,0.7],[[]], 4], + ["_isPercent",false,[false]] + ]; + + _defaultValue = _default; + _controlType = MAZ_EZM_fnc_createSliderRow; + + private _drawRadius = _subType == "RADIUS" && {_radiusCenter isNotEqualTo objNull}; + if(_isPercent) then { + _radiusCenter = objNull; + }; + + _settings = [_min,_max,_isPercent,_drawRadius,_radiusCenter,_radiusColor]; + }; + case "TOOLBOX": { + _value params [["_default",0,[0,false]],["_strings",[],[[]]]]; + + switch (_subType) do { + case "YESNO": { + _strings = [["NO",""],["YES",""]]; + }; + case "ENABLED": { + _strings = [["DISABLE",""],["ENABLE",""]]; + }; + }; + + _defaultValue = _default; + _controlType = MAZ_EZM_fnc_createToolBoxRow; + + _settings = [_strings]; + }; + case "VECTOR": { + _value params [ + ["_default",[0,0,0],[[]]], + ["_labels",["X","Y","Z"],[[]]], + ["_numOfEdits",3,[3]] + ]; + private _labelData = [_labels,[[0.765,0.18,0.1,1],[0.575,0.815,0.22,1],[0.26,0.52,0.92,1]]]; + + _defaultValue = _default; + _controlType = MAZ_EZM_fnc_createVectorRow; + + _settings = [_labelData,_numOfEdits]; + }; + }; + _controlsData pushBack [_controlType,_label,_tooltip,_defaultValue,_settings]; + } forEach _content; + + private _display = [] call MAZ_EZM_fnc_createDialogBase; + _display setVariable ['MAZ_EZM_onAttribsCancel',_onCancel]; + _display setVariable ['MAZ_EZM_onAttribsConfirm',_onConfirm]; + + if(isNull _display) exitWith {false}; + + private _ctrlTitle = _display displayCtrl IDC_TITLE; + _ctrlTitle ctrlSetText (toUpper _title); + + private _ctrlContent = _display displayCtrl IDC_CONTENT; + private _contentPosY = 0; + private _controls = []; + + { + _x params ["_controlType","_label","_tooltip","_defaultValue","_settings"]; + + private _controlsGroup = [_display,_defaultValue,_settings] call _controlType; + + private _ctrlLabel = _controlsGroup controlsGroupCtrl IDC_ROW_LABEL; + _ctrlLabel ctrlSetText (format ["%1",_label]); + _ctrlLabel ctrlSetTooltip _tooltip; + + _controlsGroup ctrlSetPositionY _contentPosY; + _controlsGroup ctrlCommit 0; + + _contentPosY = (_contentPosY + (ctrlPosition _controlsGroup select 3) + (["H",0.1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat)); + + _controls pushBack [_controlsGroup, _settings]; + } forEach _controlsData; + + _ctrlContent ctrlSetPositionH (_contentPosY - (["H",0.1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat)); + _ctrlContent ctrlCommit 0; + + [_display] call MAZ_EZM_fnc_changeDisplayHeights; + + _display setVariable ["MAZ_moduleMenuInfo",[_controls,_onConfirm,_onCancel,_args]]; + }; + + MAZ_EZM_fnc_defineDialogIDCS = { + IDC_TITLE = 201; + IDC_BACKGROUND = 202; + IDC_CONTENT = 203; + IDC_CONFIRM = 204; + IDC_CANCEL = 205; + + IDC_ROW_GROUP = 210; + IDC_ROW_LABEL = 211; + IDC_ROW_CHECKBOX = 212; + IDC_ROW_COMBO = 213; + IDC_ROW_EDIT = 214; + IDC_ROW_SLIDER = 215; + IDC_ROW_TOOLBOX = 216; + IDC_ROW_SIDES = 217; + IDC_ROW_VECTOR_X = 220; + IDC_ROW_VECTOR_Y = 221; + IDC_ROW_VECTOR_Z = 222; + + IDC_SIDES_BLUFOR = 250; + IDC_SIDES_OPFOR = 251; + IDC_SIDES_INDEPENDENT = 252; + IDC_SIDES_CIVILIAN = 253; + + IDCS_ROW_VECTOR = [IDC_ROW_VECTOR_X,IDC_ROW_VECTOR_Y,IDC_ROW_VECTOR_Z]; + }; + [] call MAZ_EZM_fnc_defineDialogIDCS; + +comment "Attributes Dialog Creation"; + + MAZ_EZM_attributesIDCDefinitions = { + IDC_ATTRIBS_TITLE = 100; + IDC_ATTRIBS_BG = 101; + IDC_ATTRIBS_CONTENT = 102; + IDC_ATTRIBS_CONFIRM = 103; + IDC_ATTRIBS_CANCEL = 104; + + IDC_ATTRIBS_LABEL = 150; + IDC_ATTRIBS_ROW_GROUP = 151; + IDC_ATTRIBS_ROW_BG = 152; + IDC_ATTRIBS_EDIT = 160; + IDC_ATTRIBS_EDITMULTI = 161; + IDC_ATTRIBS_SLIDER = 170; + IDC_ATTRIBS_SLIDER_EDIT = 171; + IDC_ATTRIBS_COMBO = 180; + IDC_ATTRIBS_TOOLBOX = 190; + + }; + [] call MAZ_EZM_attributesIDCDefinitions; + + MAZ_EZM_createAttributesMenuBase = { + params ["_labelText"]; + createDialog "RscDisplayEmpty"; + showchat true; + private _display = findDisplay -1; + + private _label = _display ctrlCreate ["RscText",IDC_ATTRIBS_TITLE]; + _label ctrlSetPositionX (["X",6.5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _label ctrlSetPositionW (["W",27] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _label ctrlSetPositionH (["H",1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _label ctrlSetBackgroundColor [0,0.5,0.5,1]; + _label ctrlSetText _labelText; + _label ctrlCommit 0; + + private _background = _display ctrlCreate ["RscText",IDC_ATTRIBS_BG]; + _background ctrlSetPositionX (["X",6.5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _background ctrlSetPositionW (["W",27] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _background ctrlSetBackgroundColor [0,0,0,0.7]; + _background ctrlCommit 0; + + private _contentGroup = _display ctrlCreate ["RscControlsGroup",IDC_ATTRIBS_CONTENT]; + _contentGroup ctrlSetPositionX (["X",7] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _contentGroup ctrlSetPositionW (["W",26] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _contentGroup ctrlCommit 0; + + private _okayButton = _display ctrlCreate ["RscButtonMenuOk",IDC_ATTRIBS_CONFIRM]; + _okayButton ctrlSetPositionX (["X",28.5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _okayButton ctrlSetPositionW (["W",5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _okayButton ctrlSetPositionH (["H",1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _okayButton ctrlAddEventhandler ["ButtonClick",{ + params ["_control"]; + private _display = ctrlParent _control; + (_display getVariable "MAZ_EZM_attributesDialogInfo") params ["_display","_controls","_args"]; + private _values = []; + { + private _value = [_x] call (_x getVariable "MAZ_EZM_getControlValue"); + _values pushBack _value; + }forEach _controls; + + [_display,_values,_args] call (_display getVariable 'MAZ_EZM_onAttribsConfirm'); + }]; + _okayButton ctrlCommit 0; + + private _cancelButton = _display ctrlCreate ["RscButtonMenuCancel",IDC_ATTRIBS_CANCEL]; + _cancelButton ctrlSetPositionX (["X",6.5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _cancelButton ctrlSetPositionW (["W",5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _cancelButton ctrlSetPositionH (["H",1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _cancelButton ctrlAddEventhandler ["ButtonClick",{ + params ["_control"]; + private _display = ctrlParent _control; + (_display getVariable "MAZ_EZM_attributesDialogInfo") params ["_display","_controls","_args"]; + private _values = []; + { + private _value = [_x] call (_x getVariable "MAZ_EZM_getControlValue"); + _values pushBack _value; + }forEach _controls; + + [_display,_values,_args] call (_display getVariable 'MAZ_EZM_onAttribsCancel'); + }]; + _cancelButton ctrlCommit 0; + + _display displayAddEventHandler ["KeyDown", { + params ["_display", "_keyCode"]; + + if (_keyCode == 1) then { + private _display = ctrlParent _control; + (_display getVariable "MAZ_EZM_attributesDialogInfo") params ["_display","_controls","_args"]; + private _values = []; + { + private _value = [_x] call (_x getVariable "MAZ_EZM_getControlValue"); + _values pushBack _value; + }forEach _controls; + + [_display,_values,_args] call (_display getVariable 'MAZ_EZM_onAttribsCancel'); + }; + + false + }]; + + _display + }; + + MAZ_EZM_createAttributesRowBase = { + params ["_display","_label"]; + _text = _label; + _tooltip = ""; + if(_label isEqualType []) then { + _text = _label # 0; + _tooltip = _label # 1; + }; + private _contentGroup = _display displayCtrl IDC_ATTRIBS_CONTENT; + private _controlsGroup = _display ctrlCreate ["RscControlsGroupNoScrollbars",IDC_ATTRIBS_ROW_GROUP,_contentGroup]; + _controlsGroup ctrlSetPosition [0,0,(["W",26] call MAZ_EZM_fnc_convertToGUI_GRIDFormat),(["H",1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat)]; + _controlsGroup ctrlCommit 0; + + private _rowLabel = _display ctrlCreate ["RscText",IDC_ATTRIBS_LABEL,_controlsGroup]; + _rowLabel ctrlSetPosition [0,0,(["W",9] call MAZ_EZM_fnc_convertToGUI_GRIDFormat),(["H",1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat)]; + _rowLabel ctrlSetBackgroundColor [0,0,0,0.6]; + _rowLabel ctrlSetText (format ["%1",_text]); + _rowLabel ctrlSetTooltip _tooltip; + _rowLabel ctrlCommit 0; + + private _rowBG = _display ctrlCreate ["RscPicture",IDC_ATTRIBS_ROW_BG,_controlsGroup]; + _rowBG ctrlSetPosition [(["W",9.1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat),0,(["W",16.9] call MAZ_EZM_fnc_convertToGUI_GRIDFormat),(["H",1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat)]; + _rowBG ctrlSetText "#(argb,8,8,3)color(1,1,1,0.1)"; + _rowBG ctrlCommit 0; + + _controlsGroup + }; + + MAZ_EZM_createAttribEditRow = { + params ["_display","_label","_default","_settings"]; + private _rowControlsGroup = [_display,_label] call MAZ_EZM_createAttributesRowBase; + + private _rowEditBox = _display ctrlCreate ["RscEdit",IDC_ATTRIBS_EDIT,_rowControlsGroup]; + _rowEditBox ctrlSetPosition [["W",9.1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,pixelH,["W",16.9] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,((["H",1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat) - pixelH)]; + _rowEditBox ctrlSetText _default; + _rowEditBox ctrlSetBackgroundColor [0,0,0,0.3]; + _rowEditBox ctrlCommit 0; + + _rowControlsGroup setVariable ["MAZ_EZM_getControlValue",{ + params ["_controlsGroup"]; + ctrlText (_controlsGroup controlsGroupCtrl IDC_ATTRIBS_EDIT) + }]; + + _rowControlsGroup + }; + + MAZ_EZM_createAttribEditMultiRow = { + params ["_display","_label","_default","_settings"]; + _settings params ["_align"]; + private _rowControlsGroup = [_display,_label] call MAZ_EZM_createAttributesRowBase; + _rowControlsGroup ctrlSetPositionH (["H",4] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _rowControlsGroup ctrlCommit 0; + + private _rowLabel = _rowControlsGroup controlsGroupCtrl IDC_ATTRIBS_LABEL; + private _text = ctrlText _rowLabel; + _rowLabel ctrlSetStructuredText parseText (format ["%2",_align,_text]); + _rowLabel ctrlSetPositionW (["W",26] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _rowLabel ctrlCommit 0; + + private _rowEditMultiBox = _display ctrlCreate ["RscEditMulti",IDC_ATTRIBS_EDITMULTI,_rowControlsGroup]; + _rowEditMultiBox ctrlSetPosition [["W",0.1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,(["H",1.1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat) + pixelH,["W",25.9] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,((["H",2.9] call MAZ_EZM_fnc_convertToGUI_GRIDFormat) - pixelH)]; + _rowEditMultiBox ctrlSetText _default; + _rowEditMultiBox ctrlSetBackgroundColor [0,0,0,0.3]; + _rowEditMultiBox ctrlCommit 0; + + _rowControlsGroup setVariable ["MAZ_EZM_getControlValue",{ + params ["_controlsGroup"]; + ctrlText (_controlsGroup controlsGroupCtrl IDC_ATTRIBS_EDITMULTI) + }]; + + _rowControlsGroup + }; + + MAZ_EZM_createAttribSliderRow = { + params ["_display","_label","_default","_settings"]; + _settings params ["_min","_max"]; + private _rowControlsGroup = [_display,_label] call MAZ_EZM_createAttributesRowBase; + + private _slider = _display ctrlCreate ["RscXSliderH",IDC_ATTRIBS_SLIDER,_rowControlsGroup]; + _slider ctrlSetPosition [["W",9.1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,0,["W",16.9] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,(["H",1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat)]; + _slider sliderSetRange [_min,_max]; + _slider sliderSetPosition _default; + _slider ctrlAddEventHandler ["sliderPosChanged",{ + params ["_control","_newValue"]; + private _ctrlGroup = ctrlParentControlsGroup _control; + _ctrlGroup setVariable ["MAZ_EZM_sliderData",[_newValue,2] call BIS_fnc_cutDecimals]; + }]; + _slider ctrlCommit 0; + + _rowControlsGroup setVariable ["MAZ_EZM_sliderData",_default]; + + _rowControlsGroup setVariable ["MAZ_EZM_getControlValue",{ + params ["_controlsGroup"]; + _controlsGroup getVariable "MAZ_EZM_sliderData" + }]; + + _rowControlsGroup + }; + + MAZ_EZM_createAttribSliderWithEditRow = { + params ["_display","_label","_default","_settings"]; + _settings params ["_min","_max",["_isPercent",false]]; + private _rowControlsGroup = [_display,_label] call MAZ_EZM_createAttributesRowBase; + + private _slider = _display ctrlCreate ["RscXSliderH",IDC_ATTRIBS_SLIDER,_rowControlsGroup]; + _slider ctrlSetPosition [["W",9.1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,0,["W",13.9] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,(["H",1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat)]; + _slider sliderSetRange [_min,_max]; + _slider sliderSetPosition _default; + _slider ctrlCommit 0; + + private _sliderEdit = _display ctrlCreate ["RscEdit",IDC_ATTRIBS_SLIDER_EDIT,_rowControlsGroup]; + _sliderEdit ctrlSetPosition [["W",23.1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,pixelH,["W",2.9] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,((["H",1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat) - pixelH)]; + if(_isPercent) then { + _sliderEdit ctrlSetText ((str (round (_default * 100))) + "%"); + } else { + _sliderEdit ctrlSetText (str _default); + }; + _sliderEdit ctrlSetBackgroundColor [0,0,0,0.3]; + _sliderEdit ctrlCommit 0; + + _rowControlsGroup setVariable ["MAZ_EZM_sliderData",_default]; + _rowControlsGroup setVariable ["MAZ_EZM_isSliderEditPercent",_isPercent]; + + _slider ctrlAddEventHandler ["SliderPosChanged",{ + params ["_control","_newValue"]; + private _ctrlGroup = ctrlParentControlsGroup _control; + _ctrlGroup setVariable ["MAZ_EZM_sliderData",[_newValue,2] call BIS_fnc_cutDecimals]; + private _isPercent = _ctrlGroup getVariable ["MAZ_EZM_isSliderEditPercent",false]; + private _editCtrl = _ctrlGroup controlsGroupCtrl IDC_ATTRIBS_SLIDER_EDIT; + if(_isPercent) then { + private _editValue = str (round (_newValue * 100)); + _editCtrl ctrlSetText (_editValue + "%"); + } else { + private _editValue = [_newValue,2] call BIS_fnc_cutDecimals; + _editCtrl ctrlSetText format ["%1",_editValue]; + }; + }]; + + _sliderEdit ctrlAddEventHandler ["KeyUp",{ + params ["_displayOrControl", "_key", "_shift", "_ctrl", "_alt"]; + private _num = parseNumber (ctrlText _displayOrControl); + private _ctrlGroup = ctrlParentControlsGroup _displayOrControl; + private _sliderCtrl = _ctrlGroup controlsGroupCtrl IDC_ATTRIBS_SLIDER; + private _isPercent = _ctrlGroup getVariable ["MAZ_EZM_isSliderEditPercent",false]; + if(_isPercent) then { + _sliderCtrl sliderSetPosition (_num/100); + _ctrlGroup setVariable ["MAZ_EZM_sliderData",_num/100]; + } else { + _sliderCtrl sliderSetPosition _num; + _ctrlGroup setVariable ["MAZ_EZM_sliderData",_num]; + }; + }]; + + _rowControlsGroup setVariable ["MAZ_EZM_getControlValue",{ + params ["_controlsGroup"]; + _controlsGroup getVariable "MAZ_EZM_sliderData" + }]; + + _rowControlsGroup + }; + + MAZ_EZM_createAttribIconsRow = { + params ["_display","_label","_default","_settings"]; + _settings params ["_values","_icons","_tooltips","_positions","_sizes",["_height",2.5],["_colors",[]]]; + private _rowControlsGroup = [_display,_label] call MAZ_EZM_createAttributesRowBase; + _rowControlsGroup ctrlSetPositionH (["H",_height] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _rowControlsGroup ctrlCommit 0; + + private _rowLabel = _rowControlsGroup controlsGroupCtrl IDC_ATTRIBS_LABEL; + private _text = ctrlText _rowLabel; + _rowLabel ctrlSetStructuredText parseText (format [" 
%2",_height * 0.35,_text]); + _rowLabel ctrlSetPositionH (["H",_height] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _rowLabel ctrlCommit 0; + + private _rowBG = _rowControlsGroup controlsGroupCtrl IDC_ATTRIBS_ROW_BG; + _rowBG ctrlSetPositionH (["H",_height] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _rowBG ctrlCommit 0; + + private _iconControls = []; + for "_i" from 0 to (count _icons - 1) do { + private _value = _values select _i; + private _icon = _icons select _i; + private _tooltip = _tooltips select _i; + private _position = _positions select _i; + private _size = _sizes select _i; + + private _colorNormal = [0.8,0.8,0.8,0.4]; + private _colorActive = [1,1,1,0.9]; + + if(count _colors - 1 >= _i) then { + private _color = _colors select _i; + _colorActive = _color # 0; + _colorNormal = _color # 1; + }; + _position params ["_posX","_posY"]; + + private _iconCtrl = _display ctrlCreate ["RscActivePicture",-1,_rowControlsGroup]; + _iconCtrl ctrlSetText _icon; + _iconCtrl ctrlSetTooltip _tooltip; + _iconCtrl ctrlSetTextColor _colorNormal; + _iconCtrl ctrlSetActiveColor _colorActive; + _iconCtrl ctrlSetPosition [["W",_posX] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,["H",_posY] call MAZ_EZM_fnc_convertToGUI_GRIDFormat, ["W",_size] call MAZ_EZM_fnc_convertToGUI_GRIDFormat, ["H",_size] call MAZ_EZM_fnc_convertToGUI_GRIDFormat]; + _iconCtrl ctrlCommit 0; + + _iconCtrl setVariable ["MAZ_EZM_iconActiveColor",_colorActive]; + _iconCtrl setVariable ["MAZ_EZM_iconNormalColor",_colorNormal]; + + _iconCtrl ctrlAddEventHandler ["ButtonClick",{ + params ["_control"]; + private _controlGroup = ctrlParentControlsGroup _control; + private _newValue = _control getVariable "MAZ_EZM_iconVariable"; + _controlGroup setVariable ["MAZ_EZM_iconSelectionData",_newValue]; + + comment "Change old icon to normal"; + private _oldCtrl = _controlGroup getVariable "MAZ_EZM_iconSelected"; + _oldCtrl ctrlSetScale 1; + _oldCtrl ctrlSetTextColor (_oldCtrl getVariable "MAZ_EZM_iconNormalColor"); + _oldCtrl ctrlCommit 0.2; + + comment "Change new icon to scaled and highlighted"; + _control ctrlSetScale 1.1; + _control ctrlSetTextColor (_control getVariable "MAZ_EZM_iconActiveColor"); + _control ctrlCommit 0.2; + _controlGroup setVariable ["MAZ_EZM_iconSelected",_control]; + }]; + _iconCtrl setVariable ["MAZ_EZM_iconVariable",_value]; + if(_value == _default) then { + _rowControlsGroup setVariable ["MAZ_EZM_iconSelectionData",_value]; + _rowControlsGroup setVariable ["MAZ_EZM_iconSelected",_iconCtrl]; + _iconCtrl ctrlSetTextColor _colorActive; + _iconCtrl ctrlSetScale 1.1; + _iconCtrl ctrlCommit 0; + }; + }; + + _rowControlsGroup setVariable ["MAZ_EZM_getControlValue",{ + params ["_controlsGroup"]; + _controlsGroup getVariable "MAZ_EZM_iconSelectionData" + }]; + + _rowControlsGroup + }; + + MAZ_EZM_createAttribComboRow = { + params ["_display","_label","_default","_settings"]; + _settings params ["_entries"]; + private _rowControlsGroup = [_display,_label] call MAZ_EZM_createAttributesRowBase; + private _rowBG = _rowControlsGroup controlsGroupCtrl IDC_ATTRIBS_ROW_BG; + ctrlDelete _rowBG; + + private _combo = _display ctrlCreate ["RscCombo",IDC_ATTRIBS_COMBO,_rowControlsGroup]; + _combo ctrlSetPosition [["W",9.1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,0,["W",16.9] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,(["H",1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat)]; + _combo ctrlCommit 0; + + { + _x params ["_value","_text","_tooltip","_icon","_iconColor"]; + + private _index = _combo lbAdd _text; + _combo lbSetData [_index,_value]; + _combo lbSetTooltip [_index,_tooltip]; + _combo lbSetPicture [_index,_icon]; + _combo lbSetPictureColor [_index,_iconColor]; + + if(_value isEqualTo _default) then { + _combo lbSetCurSel _index; + }; + }forEach _entries; + + _rowControlsGroup setVariable ["MAZ_EZM_getControlValue",{ + params ["_controlsGroup"]; + private _combo = _controlsGroup controlsGroupCtrl IDC_ATTRIBS_COMBO; + _combo lbData (lbCurSel _combo); + }]; + + _rowControlsGroup + }; + + MAZ_EZM_createAttribNewButton = { + params ["_display","_label","_default","_settings"]; + _settings params ["_tooltip","_onButtonClick","_args"]; + private _existingButtons = _display getVariable ["MAZ_EZM_attribsButtons",[]]; + private _numOfButtons = count _existingButtons; + + private _newButton = _display ctrlCreate ["RscButtonMenu",IDC_ATTRIBS_CANCEL + (_numOfButtons + 1)]; + _newButton setVariable ['MAZ_EZM_attribsButtonClick',_onButtonClick]; + _newButton setVariable ['MAZ_EZM_attribsButtonArgs',_args]; + _newButton ctrlSetPositionX (["X",(28.5 - (5.1 * (_numOfButtons + 1)))] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _newButton ctrlSetPositionW (["W",5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _newButton ctrlSetPositionH (["H",1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _newButton ctrlSetStructuredText parseText _label; + _newButton ctrlSetTooltip _tooltip; + _newButton ctrlAddEventhandler ["ButtonClick",{ + params ["_control"]; + private _display = ctrlParent _control; + [_display,_control getVariable 'MAZ_EZM_attribsButtonArgs'] call (_control getVariable 'MAZ_EZM_attribsButtonClick'); + }]; + _newButton ctrlCommit 0; + + _existingButtons pushBack _newButton; + _display setVariable ["MAZ_EZM_attribsButtons",_existingButtons]; + }; + + MAZ_EZM_createAttribNewRespawnRow = { + params ["_display","_label","_default","_settings"]; + _settings params ["_unit"]; + private _rowControlsGroup = [_display,_label] call MAZ_EZM_createAttributesRowBase; + _rowControlsGroup ctrlSetPositionH (["H",2.5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _rowControlsGroup ctrlCommit 0; + + private _rowLabel = _rowControlsGroup controlsGroupCtrl IDC_ATTRIBS_LABEL; + private _text = ctrlText _rowLabel; + _rowLabel ctrlSetStructuredText parseText (format [" 
%1",_text]); + _rowLabel ctrlSetPositionH (["H",2.5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _rowLabel ctrlCommit 0; + + private _rowBG = _rowControlsGroup controlsGroupCtrl IDC_ATTRIBS_ROW_BG; + _rowBG ctrlSetPositionH (["H",2.5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _rowBG ctrlCommit 0; + + private _respawnIDs = [1,0,2,3,4]; + private _respawnIcons = ["A3\UI_F_CURATOR\DATA\RscCommon\RscAttributeRespawnPosition\west_ca.paa","A3\UI_F_CURATOR\DATA\RscCommon\RscAttributeRespawnPosition\east_ca.paa","A3\UI_F_CURATOR\DATA\RscCommon\RscAttributeRespawnPosition\guer_ca.paa","A3\UI_F_CURATOR\DATA\RscCommon\RscAttributeRespawnPosition\civ_ca.paa","A3\3den\Data\Attributes\default_ca.paa"]; + private _toolTips = ["BLUFOR","OPFOR","INDEPENDENT","CIVILIAN","NONE"]; + private _posInfo = [ + [[11,0.25],2.0], + [[14,0.25],2.0], + [[17,0.25],2.0], + [[20,0.25],2.0], + [[23,0.5],1.5] + ]; + + { + private _respawnIcon = _respawnIcons select _forEachIndex; + private _posData = _posInfo select _forEachIndex; + private _tooltip = _toolTips select _forEachIndex; + _posData params ["_pos","_size"]; + _pos params ["_posX","_posY"]; + + private _side = [_x] call BIS_fnc_sideType; + private _color = [_side] call BIS_fnc_sideColor; + _color params ["_r","_g","_b","_a"]; + + private _colorDefault = [_r,_g,_b,0.5]; + private _colorActive = _color; + + private _iconCtrl = _display ctrlCreate ["RscActivePicture",-1,_rowControlsGroup]; + _iconCtrl ctrlSetText _respawnIcon; + _iconCtrl ctrlSetActiveColor _colorActive; + _iconCtrl ctrlSetTooltip _tooltip; + _iconCtrl ctrlSetTextColor _colorDefault; + _iconCtrl ctrlSetPosition [["W",_posX] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,["H",_posY] call MAZ_EZM_fnc_convertToGUI_GRIDFormat, ["W",_size] call MAZ_EZM_fnc_convertToGUI_GRIDFormat, ["H",_size] call MAZ_EZM_fnc_convertToGUI_GRIDFormat]; + _iconCtrl ctrlCommit 0; + + _iconCtrl setVariable ["MAZ_EZM_iconNormalColor",_colorDefault]; + _iconCtrl setVariable ["MAZ_EZM_iconActiveColor",_colorActive]; + _iconCtrl setVariable ["MAZ_EZM_iconVariable",_x]; + + _iconCtrl ctrlAddEventHandler ["ButtonClick",{ + params ["_control"]; + private _controlGroup = ctrlParentControlsGroup _control; + private _newValue = _control getVariable "MAZ_EZM_iconVariable"; + _controlGroup setVariable ["MAZ_EZM_iconSelectionData",_newValue]; + + comment "Change old icon to normal"; + private _oldCtrl = _controlGroup getVariable "MAZ_EZM_iconSelected"; + _oldCtrl ctrlSetScale 1; + _oldCtrl ctrlSetTextColor (_oldCtrl getVariable "MAZ_EZM_iconNormalColor"); + _oldCtrl ctrlCommit 0.2; + + comment "Change new icon to scaled and highlighted"; + _control ctrlSetScale 1.1; + _control ctrlSetTextColor (_control getVariable "MAZ_EZM_iconActiveColor"); + _control ctrlCommit 0.2; + _controlGroup setVariable ["MAZ_EZM_iconSelected",_control]; + }]; + if(_x == _default) then { + _rowControlsGroup setVariable ["MAZ_EZM_iconSelectionData",_x]; + _rowControlsGroup setVariable ["MAZ_EZM_iconSelected",_iconCtrl]; + _iconCtrl ctrlSetTextColor _colorActive; + _iconCtrl ctrlSetScale 1.1; + _iconCtrl ctrlCommit 0; + }; + }forEach _respawnIDs; + + _rowControlsGroup setVariable ["MAZ_EZM_getControlValue",{ + params ["_controlsGroup"]; + _controlsGroup getVariable "MAZ_EZM_iconSelectionData" + }]; + + _rowControlsGroup + }; + + MAZ_EZM_createAttribToolboxRow = { + params ["_display","_label","_default","_settings"]; + _settings params ["_strings"]; + private _rowControlsGroup = [_display,_label] call MAZ_EZM_createAttributesRowBase; + + private _rowToolbox = _display ctrlCreate ["RscToolbox",IDC_ATTRIBS_TOOLBOX,_rowControlsGroup]; + _rowToolbox ctrlSetPosition [["W",9.1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,0,["W",16.9] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,["H",1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat]; + _rowToolbox ctrlSetTextColor [1,1,1,1]; + _rowToolbox ctrlSetBackgroundColor [0,0,0,0.7]; + _rowToolbox ctrlCommit 0; + lbClear _rowToolbox; + + { + _x params ["_text",["_tooltip",""]]; + + private _index = _rowToolbox lbAdd _text; + _rowToolbox lbSetTooltip [_index, _tooltip]; + } forEach _strings; + + if(_default isEqualType false) then { + _default = parseNumber _default; + }; + _rowToolbox lbSetCurSel _default; + + _rowControlsGroup setVariable ["MAZ_EZM_getControlValue", { + params ["_controlsGroup"]; + private _value = lbCurSel (_controlsGroup controlsGroupCtrl IDC_ATTRIBS_TOOLBOX); + _value = _value > 0; + + _value + }]; + + _rowControlsGroup + }; + + MAZ_EZM_fnc_changeAttribsDisplayHeights = { + params ["_display", "_maxHeight"]; + private _ctrlContent = _display displayCtrl IDC_ATTRIBS_CONTENT; + if(_maxHeight == -1) then { + _maxHeight = 30; + }; + _maxHeight = ["H",_maxHeight] call MAZ_EZM_fnc_convertToGUI_GRIDFormat; + + ctrlPosition _ctrlContent params ["_posX","","_posW","_posH"]; + + if(_posH > _maxHeight) then { + _posH = _maxHeight; + _ctrlContent ctrlSetPositionH _posH; + + _ctrlContent ctrlSetPositionX (_posX - (["W",0.25] call MAZ_EZM_fnc_convertToGUI_GRIDFormat)); + _ctrlContent ctrlSetPositionW (_posW + (["W",0.6] call MAZ_EZM_fnc_convertToGUI_GRIDFormat)); + }; + _ctrlContent ctrlSetPositionY (0.5 - (_posH / 2)); + _ctrlContent ctrlCommit 0; + + private _ctrlTitle = _display displayCtrl IDC_ATTRIBS_TITLE; + _ctrlTitle ctrlSetPositionY (0.5 - (_posH / 2) - (["H",1.6] call MAZ_EZM_fnc_convertToGUI_GRIDFormat)); + _ctrlTitle ctrlCommit 0; + + private _ctrlBG = _display displayCtrl IDC_ATTRIBS_BG; + _ctrlBG ctrlSetPositionY (0.5 - (_posH / 2) - (["H",0.5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat)); + _ctrlBG ctrlSetPositionH (_posH + (["H",1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat)); + _ctrlBG ctrlCommit 0; + + private _buttonHeight = (0.5 + (_posH / 2) + (["H",0.6] call MAZ_EZM_fnc_convertToGUI_GRIDFormat)); + + private _ctrlOkBtn = _display displayCtrl IDC_ATTRIBS_CONFIRM; + _ctrlOkBtn ctrlSetPositionY _buttonHeight; + _ctrlOkBtn ctrlCommit 0; + + private _ctrlCancelBtn = _display displayCtrl IDC_ATTRIBS_CANCEL; + _ctrlCancelBtn ctrlSetPositionY _buttonHeight; + _ctrlCancelBtn ctrlCommit 0; + + private _additionalButtons = _display getVariable ["MAZ_EZM_attribsButtons",[]]; + { + _x ctrlSetPositionY _buttonHeight; + _x ctrlCommit 0; + }forEach _additionalButtons; + }; + + MAZ_EZM_createAttributesDialog = { + params [ + ["_title","Edit Attributes",[""]], + ["_dialogData",[],[[]]], + ["_onCancel",{},[{}]], + ["_onConfirm",{},[{}]], + ["_args",[]], + ["_maxHeight",-1,[-1]] + ]; + + private _dialogInfo = []; + { + _x params [ + ["_typeData","",[""]], + ["_label","",["",[]]], + ["_settings",[],[[]]] + ]; + + (toUpper _typeData) splitString ":" params ["_type","_subType"]; + private ["_defaultVal","_dialogCreator","_dialogSettings","_isButton"]; + switch (_type) do { + case "EDIT": { + _settings params ["_default"]; + _defaultVal = _default; + _dialogCreator = MAZ_EZM_createAttribEditRow; + _dialogSettings = []; + _isButton = false; + }; + case "EDITMULTI": { + _settings params ["_default","_align"]; + _defaultVal = _default; + _dialogCreator = MAZ_EZM_createAttribEditMultiRow; + _dialogSettings = [_align]; + _isButton = false; + }; + case "SLIDER": { + _settings params ["_default","_min","_max"]; + _defaultVal = _default; + _dialogSettings = [_min,_max]; + _dialogCreator = MAZ_EZM_createAttribSliderRow; + _isButton = false; + }; + case "SLIDEREDIT": { + _settings params ["_default","_min","_max",["_isPercent",true]]; + _defaultVal = _default; + _dialogSettings = [_min,_max,_isPercent]; + _dialogCreator = MAZ_EZM_createAttribSliderWithEditRow; + _isButton = false; + }; + case "ICONS": { + _settings params ["_default","_values","_icons","_tooltips","_positions","_sizes",["_height",2.5],["_colors",[]]]; + _defaultVal = _default; + _dialogSettings = [_values,_icons,_tooltips,_positions,_sizes,_height,_colors]; + _dialogCreator = MAZ_EZM_createAttribIconsRow; + _isButton = false; + }; + case "COMBO": { + _settings params ["_default","_values","_labels","_tooltips","_icons","_iconsColors"]; + _defaultVal = _default; + _entries = []; + for "_i" from 0 to (count _labels - 1) do { + private _value = str _i; + if((count _values -1) >= _i) then { + _value = _values select _i; + }; + private _text = _labels select _i; + private _tooltip = ""; + if((count _tooltips -1) >= _i) then { + _tooltip = _tooltips select _i; + }; + private _icon = ""; + if((count _icons -1) >= _i) then { + _icon = _icons select _i; + }; + private _iconColor = [1,1,1,1]; + if((count _iconsColors -1) >= _i) then { + _iconColor = _iconsColors select _i; + { + if(_x isEqualType "") then { + private _color = call (compile _x); + _iconColor set [_forEachIndex,_color]; + }; + }forEach _iconColor; + }; + + _entries pushBack [_value,_text,_tooltip,_icon,_iconColor]; + }; + _dialogSettings = [_entries]; + _dialogCreator = MAZ_EZM_createAttribComboRow; + _isButton = false; + }; + case "RESPAWN": { + _settings params ["_default","_unit"]; + _defaultVal = _default; + _dialogSettings = [_unit]; + _dialogCreator = MAZ_EZM_createAttribNewRespawnRow; + _isButton = false; + }; + case "NEWBUTTON": { + _settings params ["_tooltip","_onButtonClick","_args"]; + _dialogSettings = [_tooltip,_onButtonClick,_args]; + _defaultVal = 0; + _dialogCreator = MAZ_EZM_createAttribNewButton; + _isButton = true; + }; + case "TOOLBOX": { + _settings params ["_default","_strings"]; + _defaultVal = _default; + _dialogSettings = [_strings]; + _dialogCreator = MAZ_EZM_createAttribToolboxRow; + _isButton = false; + }; + }; + _dialogInfo pushBack [_dialogCreator,_label,_defaultVal,_dialogSettings,_isButton]; + }forEach _dialogData; + + private _display = [_title] call MAZ_EZM_createAttributesMenuBase; + _display setVariable ['MAZ_EZM_onAttribsCancel',_onCancel]; + _display setVariable ['MAZ_EZM_onAttribsConfirm',_onConfirm]; + + private _controls = []; + private _yOffset = 0; + { + _x params ["_dialogFunction","_label","_default","_settings",["_isButton",false]]; + if(_isButton) then { + private _dialogControlGroup = [_display,_label,nil,_settings] call _dialogFunction; + } else { + private _dialogControlGroup = [_display,_label,_default,_settings] call _dialogFunction; + _dialogControlGroup ctrlSetPositionY _yOffset; + _dialogControlGroup ctrlCommit 0; + + _yOffset = _yOffset + (ctrlPosition _dialogControlGroup select 3) + (["H",0.1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + + _controls pushBack _dialogControlGroup; + }; + }forEach _dialogInfo; + + private _displayContent = _display displayCtrl IDC_ATTRIBS_CONTENT; + _displayContent ctrlSetPositionH (_yOffset - (["H",0.1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat)); + _displayContent ctrlCommit 0; + + [_display,_maxHeight] call MAZ_EZM_fnc_changeAttribsDisplayHeights; + + _display setVariable ["MAZ_EZM_attributesDialogInfo",[_display,_controls,_args]]; + }; + + MAZ_EZM_applyCreateRespawnToUnitAttribs = { + params ["_unit","_respawn"]; + private _currentRespawn = _unit getVariable ["MAZ_EZM_respawnType",4]; + if(_currentRespawn == _respawn) exitWith {}; + private _respawnInfo = _unit getVariable "MAZ_EZM_respawnPosition"; + if(!isNil "_respawnInfo") then { + _respawnInfo call BIS_fnc_removeRespawnPosition; + }; + if(_respawn == 4) exitWith { + _unit setVariable ["MAZ_EZM_respawnPosition",nil,true]; + _unit setVariable ["MAZ_EZM_respawnType",4,true]; + }; + private _respawnSide = [_respawn] call BIS_fnc_sideType; + private _respawnName = ""; + if(typeOf _unit isKindOf "CAManBase") then { + _respawnName = name _unit; + } else { + _respawnName = getText (configFile >> "CfgVehicles" >> typeOf _unit >> "displayName") + }; + private _respawnData = [_respawnSide,_unit,_respawnName] call BIS_fnc_addRespawnPosition; + _unit setVariable ["MAZ_EZM_respawnPosition",_respawnData,true]; + _unit setVariable ["MAZ_EZM_respawnType",_respawn,true]; + }; + + MAZ_EZM_applyAttributeChangesToMan = { + params ["_unit","_attributes"]; + _attributes params ["_name","_rank","_stance","_health","_skill","_respawn"]; + [_unit,_name] remoteExec ['setName']; + [_unit,_rank] remoteExec ["setRank"]; + [_unit,_stance] remoteExec ["setUnitPos"]; + MAZ_EZM_stanceForAI = _stance; + _unit setDamage (1 - _health); + if(!(_unit getVariable ["MAZ_EZM_doesHaveCustomSkills",false])) then { + [_unit, _skill] remoteExec ["setSkill"]; + }; + + [_unit,_respawn] call MAZ_EZM_applyCreateRespawnToUnitAttribs; + }; + + MAZ_EZM_applySkillsToUnit = { + params ["_unit","_skillsData"]; + { + _unit setSkill [_x,_skillsData select _forEachIndex]; + }forEach ["aimingAccuracy","aimingShake","aimingSpeed","endurance","spotDistance","spotTime","courage","reloadSpeed","commanding","general"]; + _unit setVariable ["MAZ_EZM_doesHaveCustomSkills",true,true]; + }; + + MAZ_EZM_createSkillsDialog = { + params ["_unit"]; + sleep 0.1; + [format ["EDIT SKILLS %1",toUpper (getText (configFile >> "CfgVehicles" >> typeOf _unit >> "displayName"))],[ + [ + "SLIDEREDIT", + "Accuracy:", + [[(_unit skill "aimingAccuracy"),2] call BIS_fnc_cutDecimals,0,1,true] + ], + [ + "SLIDEREDIT", + "Aim Shake:", + [[(_unit skill "aimingShake"),2] call BIS_fnc_cutDecimals,0,1,true] + ], + [ + "SLIDEREDIT", + "Aiming Speed:", + [[(_unit skill "aimingSpeed"),2] call BIS_fnc_cutDecimals,0,1,true] + ], + [ + "SLIDEREDIT", + "Endurance:", + [[(_unit skill "endurance"),2] call BIS_fnc_cutDecimals,0,1,true] + ], + [ + "SLIDEREDIT", + "Spotting Distance:", + [[(_unit skill "spotDistance"),2] call BIS_fnc_cutDecimals,0,1,true] + ], + [ + "SLIDEREDIT", + "Spotting Time:", + [[(_unit skill "spotTime"),2] call BIS_fnc_cutDecimals,0,1,true] + ], + [ + "SLIDEREDIT", + "Courage:", + [[(_unit skill "courage"),2] call BIS_fnc_cutDecimals,0,1,true] + ], + [ + "SLIDEREDIT", + "Reload Speed:", + [[(_unit skill "reloadSpeed"),2] call BIS_fnc_cutDecimals,0,1,true] + ], + [ + "SLIDEREDIT", + "Commanding:", + [[(_unit skill "commanding"),2] call BIS_fnc_cutDecimals,0,1,true] + ], + [ + "SLIDEREDIT", + "General Skill:", + [[(_unit skill "general"),2] call BIS_fnc_cutDecimals,0,1,true] + ] + ],{ + params ["_display","_values","_args"]; + _display closeDisplay 1; + },{ + params ["_display","_values","_args"]; + _display closeDisplay 0; + [_args,_values] call MAZ_EZM_applySkillsToUnit; + },_unit] call MAZ_EZM_createAttributesDialog; + }; + + MAZ_EZM_applyToggleAIToUnit = { + params ["_unit","_aiData"]; + { + private _setting = _aiData select _forEachIndex; + if(_setting) then { + _unit enableAI _x; + } else { + _unit disableAI _x; + }; + }forEach [ + "AIMINGERROR", + "ANIM", + "AUTOCOMBAT", + "AUTOTARGET", + "COVER", + "FSM", + "LIGHTS", + "MINEDETECTION", + "MOVE", + "NVG", + "PATH", + "RADIOPROTOCOL", + "SUPPRESSION", + "TARGET", + "WEAPONAIM" + ]; + }; + + MAZ_EZM_createToggleAIDialog = { + params ["_unit"]; + sleep 0.1; + [format ["TOGGLE %1 AI",toUpper (getText (configFile >> "CfgVehicles" >> typeOf _unit >> "displayName"))],[ + [ + "TOOLBOX", + ["AIMING ERROR:","Prevents AI's aiming from being distracted by its shooting, moving, turning, reloading, hit, injury, fatigue, suppression or concealed / lost target."], + [ + _unit checkAIFeature "AIMINGERROR", + ["DISABLE","ENABLE"] + ] + ], + [ + "TOOLBOX", + ["ANIMATION:","Disables all animations of the unit. Completely freezes the unit, including breathing and blinking. No move command works until the unit is unfrozen."], + [ + _unit checkAIFeature "ANIM", + ["DISABLE","ENABLE"] + ] + ], + [ + "TOOLBOX", + ["AUTO-COMBAT:","Disables autonomous switching to 'COMBAT' AI Behaviour when in danger."], + [ + _unit checkAIFeature "AUTOCOMBAT", + ["DISABLE","ENABLE"] + ] + ], + [ + "TOOLBOX", + ["AUTO-TARGET:","Essentially makes single units without a group 'deaf'. The unit still goes prone and combat ready if it hears gunfire. \nIt will not turn around when gunfire comes from behind, but if an enemy walks in front of it it will target the enemy and fire as normal."], + [ + _unit checkAIFeature "AUTOTARGET", + ["DISABLE","ENABLE"] + ] + ], + [ + "TOOLBOX", + ["COVER:","Disables usage of cover positions by the AI."], + [ + _unit checkAIFeature "COVER", + ["DISABLE","ENABLE"] + ] + ], + [ + "TOOLBOX", + ["FSM:","Disables the attached FSM scripts which are responsible for the AI behaviour. \nEnemies react slower to enemy fire and the enemy stops using hand signals."], + [ + _unit checkAIFeature "FSM", + ["DISABLE","ENABLE"] + ] + ], + [ + "TOOLBOX", + ["LIGHTS:","Stops AI from operating vehicle headlights and collision lights."], + [ + _unit checkAIFeature "LIGHTS", + ["DISABLE","ENABLE"] + ] + ], + [ + "TOOLBOX", + ["MINE DETECTION:","Disable AI's mine detection."], + [ + _unit checkAIFeature "MINEDETECTION", + ["DISABLE","ENABLE"] + ] + ], + [ + "TOOLBOX", + ["MOVE:","This will stop units from turning and moving, including vehicles. \nUnits will still change stance and fire at the enemy if the enemy happens to walk right in front of the barrel."], + [ + _unit checkAIFeature "MOVE", + ["DISABLE","ENABLE"] + ] + ], + [ + "TOOLBOX", + ["NVG:","Stops AI from putting on NVGs (but not from taking them off)."], + [ + _unit checkAIFeature "NVG", + ["DISABLE","ENABLE"] + ] + ], + [ + "TOOLBOX", + ["PATH:","Stops the AI's movement but not the target alignment."], + [ + _unit checkAIFeature "PATH", + ["DISABLE","ENABLE"] + ] + ], + [ + "TOOLBOX", + ["RADIO:","Stops AI from talking and texting while still being able to issue orders."], + [ + _unit checkAIFeature "RADIOPROTOCOL", + ["DISABLE","ENABLE"] + ] + ], + [ + "TOOLBOX", + ["SUPPRESSION:","Prevents AI from being suppressed."], + [ + _unit checkAIFeature "SUPPRESSION", + ["DISABLE","ENABLE"] + ] + ], + [ + "TOOLBOX", + ["TARGET:","Prevents units from engaging targets. Units still move around for cover, but will not hunt down enemies. \nWorks in groups as well."], + [ + _unit checkAIFeature "TARGET", + ["DISABLE","ENABLE"] + ] + ], + [ + "TOOLBOX", + ["WEAPON AIM:","Disables weapon aiming."], + [ + _unit checkAIFeature "WEAPONAIM", + ["DISABLE","ENABLE"] + ] + ] + ],{ + params ["_display","_values","_args"]; + _display closeDisplay 1; + },{ + params ["_display","_values","_args"]; + _display closeDisplay 0; + [_args,_values] call MAZ_EZM_applyToggleAIToUnit; + },_unit] call MAZ_EZM_createAttributesDialog; + }; + + MAZ_EZM_createManAttributesDialog = { + params ["_entity"]; + if(dialog) then { + closeDialog 2; + }; + [_entity] spawn { + params ["_entity"]; + sleep 0.1; + + [format ["EDIT %1",toUpper (getText (configFile >> "CfgVehicles" >> typeOf _entity >> "displayName"))],[ + [ + "EDIT", + "Name:", + [name _entity] + ], + [ + "ICONS", + "Rank:", + [ + rank _entity, + [ + "PRIVATE", + "CORPORAL", + "SERGEANT", + "LIEUTENANT", + "CAPTAIN", + "MAJOR", + "COLONEL" + ],[ + "A3\ui_f\data\GUI\cfg\Ranks\private_gs.paa", + "A3\ui_f\data\GUI\cfg\Ranks\corporal_gs.paa", + "A3\ui_f\data\GUI\cfg\Ranks\sergeant_gs.paa", + "A3\ui_f\data\GUI\cfg\Ranks\lieutenant_gs.paa", + "A3\ui_f\data\GUI\cfg\Ranks\captain_gs.paa", + "A3\ui_f\data\GUI\cfg\Ranks\major_gs.paa", + "A3\ui_f\data\GUI\cfg\Ranks\colonel_gs.paa" + ],[ + "", + "", + "", + "", + "", + "", + "" + ],[ + [11,0.5], + [13,0.5], + [15,0.5], + [17,0.5], + [19,0.5], + [21,0.5], + [23,0.5] + ],[ + 1.5,1.5,1.5,1.5,1.5,1.5,1.5 + ] + ] + ], + [ + "ICONS", + "Stance:", + [ + unitPos _entity, + [ + "DOWN", + "MIDDLE", + "UP", + "AUTO" + ],[ + "A3\3den\Data\Attributes\Stance\down_ca.paa", + "A3\3den\Data\Attributes\Stance\middle_ca.paa", + "A3\3den\Data\Attributes\Stance\up_ca.paa", + "A3\3den\Data\Attributes\default_ca.paa" + ],[ + "", + "", + "", + "" + ],[ + [13,0], + [16,0], + [19,0], + [24,0.4] + ],[ + 2.5,2.5,2.5,1.5 + ] + ] + ], + [ + "SLIDEREDIT", + "Health/Armor:", + [[(1 - damage _entity),2] call BIS_fnc_cutDecimals,0,1,true] + ], + [ + "SLIDEREDIT", + "Skill:", + [skill _entity,0,1,true] + ], + [ + "RESPAWN", + "Respawn on Unit For:", + [ + _entity getVariable ["MAZ_EZM_respawnType",4], + _entity + ] + ], + [ + "NEWBUTTON", + "ARSENAL", + [ + "Edit Unit's arsenal loadout.", + { + params ["_display","_args"]; + _display closeDisplay 0; + ["Preload"] call BIS_fnc_arsenal; + ["Open",[true,nil,_args]] call BIS_fnc_arsenal; + }, + _entity + ] + ], + [ + "NEWBUTTON", + "SKILLS", + [ + "Edit Unit's skills.", + { + params ["_display","_args"]; + _display closeDisplay 0; + [_args] spawn MAZ_EZM_createSkillsDialog; + }, + _entity + ] + ], + [ + "NEWBUTTON", + "EDIT AI", + [ + "Toggle AI.", + { + params ["_display","_args"]; + _display closeDisplay 0; + [_args] spawn MAZ_EZM_createToggleAIDialog; + }, + _entity + ] + ] + ],{ + params ["_display","_values","_args"]; + _display closeDisplay 1; + },{ + params ["_display","_values","_args"]; + [_args,_values] call MAZ_EZM_applyAttributeChangesToMan; + _display closeDisplay 0; + },_entity] call MAZ_EZM_createAttributesDialog; + }; + }; + + MAZ_EZM_applyAttributeChangesToPlayer = { + params ["_unit","_values"]; + _values params ["_rank","_respawnType"]; + _unit setRank _rank; + [_unit,_respawnType] call MAZ_EZM_applyCreateRespawnToUnitAttribs; + }; + + MAZ_EZM_createPlayerAttributesDialog = { + params ["_entity"]; + if(dialog) then { + closeDialog 2; + }; + [_entity] spawn { + params ["_entity"]; + sleep 0.1; + + [format ["EDIT %1",toUpper (name _entity)],[ + [ + "ICONS", + "Rank:", + [ + rank _entity, + [ + "PRIVATE", + "CORPORAL", + "SERGEANT", + "LIEUTENANT", + "CAPTAIN", + "MAJOR", + "COLONEL" + ],[ + "A3\ui_f\data\GUI\cfg\Ranks\private_gs.paa", + "A3\ui_f\data\GUI\cfg\Ranks\corporal_gs.paa", + "A3\ui_f\data\GUI\cfg\Ranks\sergeant_gs.paa", + "A3\ui_f\data\GUI\cfg\Ranks\lieutenant_gs.paa", + "A3\ui_f\data\GUI\cfg\Ranks\captain_gs.paa", + "A3\ui_f\data\GUI\cfg\Ranks\major_gs.paa", + "A3\ui_f\data\GUI\cfg\Ranks\colonel_gs.paa" + ],[ + "", + "", + "", + "", + "", + "", + "" + ],[ + [11,0.5], + [13,0.5], + [15,0.5], + [17,0.5], + [19,0.5], + [21,0.5], + [23,0.5] + ],[ + 1.5,1.5,1.5,1.5,1.5,1.5,1.5 + ] + ] + ], + [ + "RESPAWN", + "Respawn on Player For:", + [ + _entity getVariable ["MAZ_EZM_respawnType",4], + _entity + ] + ], + [ + "NEWBUTTON", + "HEAL", + [ + "Heals the player and revives them if possible.", + { + params ["_display","_args"]; + _display closeDisplay 0; + [_args] spawn MAZ_EZM_fnc_healAndReviveModule; + }, + _entity + ] + ] + ],{ + params ["_display","_values","_args"]; + _display closeDisplay 1; + },{ + params ["_display","_values","_args"]; + [_args,_values] call MAZ_EZM_applyAttributeChangesToPlayer; + _display closeDisplay 0; + },_entity] call MAZ_EZM_createAttributesDialog; + }; + }; + + MAZ_EZM_applyAttributeChangesToGroup = { + params ["_group","_attributes"]; + _attributes params ["_name","_skill","_form","_beh","_comMode","_sped","_stance"]; + _group setGroupIdGlobal [_name]; + _group setFormation _form; + _group setBehaviour _beh; + _group setCombatMode _comMode; + _group setSpeedMode _sped; + { + _x setSkill _skill; + _x setUnitPos _stance; + }forEach (units _group); + }; + + MAZ_EZM_createGroupAttributesDialog = { + params ["_group"]; + if(dialog) then { + closeDialog 2; + }; + [_group] spawn { + params ["_group"]; + sleep 0.1; + [format ["EDIT %1",toUpper (groupID _group)],[ + [ + "EDIT", + "Edit Callsign:", + [groupID _group] + ], + [ + "SLIDEREDIT", + "Set Skill:", + [skill (leader _group),0,1,true] + ], + [ + "ICONS", + "Set Formation:", + [ + formation _group, + [ + "WEDGE", + "VEE", + "LINE", + "COLUMN", + "FILE", + "STAG COLUMN", + "ECH LEFT", + "ECH RIGHT", + "DIAMOND" + ],[ + "A3\ui_f_curator\data\RscCommon\RscAttributeFormation\wedge_ca.paa", + "A3\ui_f_curator\data\RscCommon\RscAttributeFormation\vee_ca.paa", + "A3\ui_f_curator\data\RscCommon\RscAttributeFormation\line_ca.paa", + "A3\ui_f_curator\data\RscCommon\RscAttributeFormation\column_ca.paa", + "A3\ui_f_curator\data\RscCommon\RscAttributeFormation\file_ca.paa", + "A3\ui_f_curator\data\RscCommon\RscAttributeFormation\stag_column_ca.paa", + "A3\ui_f_curator\data\RscCommon\RscAttributeFormation\ech_left_ca.paa", + "A3\ui_f_curator\data\RscCommon\RscAttributeFormation\ech_right_ca.paa", + "A3\ui_f_curator\data\RscCommon\RscAttributeFormation\diamond_ca.paa" + ],[ + "WEDGE", + "VEE", + "LINE", + "COLUMN", + "FILE", + "STAGGERED COLUMN", + "ECHELON LEFT", + "ECHELON RIGHT", + "DIAMOND" + ],[ + [10,0], + [13,0], + [16,0], + [19,0], + [22,0], + [12,2], + [15,2], + [18,2], + [21,2] + ],[ + 2.5, + 2.5, + 2.5, + 2.5, + 2.5, + 2.5, + 2.5, + 2.5, + 2.5 + ], + 4.5 + ] + ], + [ + "ICONS", + "Set Behaviour:", + [ + behaviour (leader _group), + [ + "CARELESS", + "SAFE", + "AWARE", + "COMBAT", + "STEALTH" + ],[ + "A3\ui_f_curator\data\RscCommon\RscAttributeBehaviour\safe_ca.paa", + "A3\ui_f_curator\data\RscCommon\RscAttributeBehaviour\safe_ca.paa", + "A3\ui_f_curator\data\RscCommon\RscAttributeBehaviour\aware_ca.paa", + "A3\ui_f_curator\data\RscCommon\RscAttributeBehaviour\combat_ca.paa", + "A3\ui_f_curator\data\RscCommon\RscAttributeBehaviour\stealth_ca.paa" + ],[ + "CARELESS", + "SAFE", + "AWARE", + "COMBAT", + "STEALTH" + ],[ + [11,0.3], + [14,0.3], + [17,0.3], + [20,0.3], + [23,0.3] + ],[ + 1.75,1.75,1.75,1.75,1.75 + ], + 2.5, + [ + [[0,1,0,1],[0,0.5,0,0.7]], + [[0,1,0,1],[0,0.5,0,0.7]], + [[1,1,0,1],[0.5,0.5,0,0.7]], + [[1,0,0,1],[0.5,0,0,0.7]], + [[0,1,1,1],[0,0.5,0.5,0.7]] + ] + ] + ], + [ + "ICONS", + "Set Combat Mode:", + [ + combatMode _group, + [ + "BLUE", + "GREEN", + "WHITE", + "YELLOW", + "RED" + ],[ + "A3\ui_f_curator\data\RscCommon\RscAttributeBehaviour\safe_ca.paa", + "A3\ui_f_curator\data\RscCommon\RscAttributeBehaviour\aware_ca.paa", + "A3\ui_f_curator\data\RscCommon\RscAttributeBehaviour\aware_ca.paa", + "A3\ui_f_curator\data\RscCommon\RscAttributeBehaviour\combat_ca.paa", + "A3\ui_f_curator\data\RscCommon\RscAttributeBehaviour\combat_ca.paa" + ],[ + "Forced Hold Fire", + "Do Not Fire Unless Fired Upon, Keep Formation", + "Do Not Fire Unless Fired Upon", + "Open Fire, Keep Formation", + "Open Fire" + ],[ + [11,0.3], + [14,0.3], + [17,0.3], + [20,0.3], + [23,0.3] + ],[ + 1.75,1.75,1.75,1.75,1.75 + ], + 2.5, + [ + [[0,1,0,1],[0,0.5,0,0.7]], + [[1,1,0,1],[0.5,0.5,0,0.7]], + [[1,1,0,1],[0.5,0.5,0,0.7]], + [[1,0,0,1],[0.5,0,0,0.7]], + [[1,0,0,1],[0.5,0,0,0.7]] + ] + ] + ], + [ + "ICONS", + "Set Speed:", + [ + speedMode _group, + [ + "LIMITED", + "NORMAL", + "FULL" + ],[ + "A3\ui_f_curator\data\RscCommon\RscAttributeSpeedMode\limited_ca.paa", + "A3\ui_f_curator\data\RscCommon\RscAttributeSpeedMode\normal_ca.paa", + "A3\ui_f_curator\data\RscCommon\RscAttributeSpeedMode\full_ca.paa" + ],[ + "", + "", + "" + ],[ + [13,0], + [16,0], + [19,0] + ],[ + 2.5,2.5,2.5 + ], + 2.5 + ] + ], + [ + "ICONS", + "Set Stance:", + [ + unitPos (leader _group), + [ + "DOWN", + "MIDDLE", + "UP", + "AUTO" + ],[ + "A3\3den\Data\Attributes\Stance\down_ca.paa", + "A3\3den\Data\Attributes\Stance\middle_ca.paa", + "A3\3den\Data\Attributes\Stance\up_ca.paa", + "A3\3den\Data\Attributes\default_ca.paa" + ],[ + "", + "", + "", + "AUTO" + ],[ + [13,0], + [16,0], + [19,0], + [24,0.4] + ],[ + 2.5,2.5,2.5,1.5 + ] + ] + ] + ],{ + params ["_display","_values","_args"]; + _display closeDisplay 1; + },{ + params ["_display","_values","_args"]; + [_args,_values] call MAZ_EZM_applyAttributeChangesToGroup; + _display closeDisplay 0; + },_group] call MAZ_EZM_createAttributesDialog; + }; + }; + + MAZ_EZM_applyDamagesToVehicle = { + params ["_vehicle","_damagesData"]; + private _damages = getAllHitPointsDamage _vehicle; + _damages params ["_hitPoints","_sections","_damage"]; + { + _vehicle setHitPointDamage [(_hitpoints select _forEachIndex),_x]; + }forEach _damagesData; + }; + + MAZ_EZM_createDamageDialog = { + params ["_vehicle"]; + private _damages = getAllHitPointsDamage _vehicle; + _damages params ["_hitPoints","_sections","_damage"]; + private _dialogData = []; + { + _dialogData pushBack [ + "SLIDEREDIT", + _x, + [[_damage select _forEachIndex,2] call BIS_fnc_cutDecimals,0,1,true] + ]; + }forEach _hitPoints; + + [format ["EDIT DAMAGE %1",toUpper (getText (configFile >> "CfgVehicles" >> typeOf _vehicle >> "displayName"))], + _dialogData, + { + params ["_display","_values","_args"]; + _display closeDisplay 1; + },{ + params ["_display","_values","_args"]; + _display closeDisplay 0; + [_args,_values] call MAZ_EZM_applyDamagesToVehicle; + },_vehicle,25] call MAZ_EZM_createAttributesDialog; + }; + + MAZ_EZM_createVehicleRespawn = { + params ["_vehicle","_values"]; + _values params ["_respawnDelay","_abandonDelay","_numOfRespawns","_distAbandon"]; + private _logic = (createGroup [sideLogic,true]) createUnit ["ModuleRespawnVehicle_F",position _vehicle, [], 0, "NONE"]; + _logic setVariable ["Delay",str (round _respawnDelay),true]; + _logic setVariable ["DesertedDelay",str (round _abandonDelay),true]; + _logic setVariable ["DesertedDistance",str (round _distAbandon),true]; + _logic setVariable ["RespawnCount",str (round _numOfRespawns),true]; + _logic setVariable ["Position","0",true]; + _logic setVariable ["PositionType","0",true]; + _logic setVariable ["Wreck","1",true]; + _logic setVariable ["ShowNotification","1",true]; + _logic setVariable ["ForcedRespawn","0",true]; + _logic setVariable ["RespawnWhenDisabled",true,true]; + _logic synchronizeObjectsAdd [_vehicle]; + [[_logic],{ + params ["_logic"]; + sleep 0.1; + [_logic,[],true] call BIS_fnc_moduleRespawnVehicle; + [_vehicle,round _respawnDelay,round _abandonDelay,round _numOfRespawns,{},0,2,1,true,true,round _distAbandon,true] call BIS_fnc_moduleRespawnVehicle; + }] remoteExec ['spawn',2]; + }; + + MAZ_EZM_createVehicleRespawnDialog = { + params ["_vehicle"]; + [format ["CREATE RESPAWNING %1",toUpper (getText (configFile >> "CfgVehicles" >> typeOf _vehicle >> "displayName"))],[ + [ + "SLIDEREDIT", + "Respawn Delay:", + [15,10,60,false] + ], + [ + "SLIDEREDIT", + ["Deserted Delay:","How long it takes to respawn when abandoned (no crew)."], + [600,600,1800,false] + ], + [ + "SLIDEREDIT", + ["Number of Respawns:","How many times the vehicle can respawn (-1 is infinite)."], + [-1,-1,30,false] + ], + [ + "SLIDEREDIT", + ["Dist from Players Deserted:","How far players must be before the vehicle can be considered abandonded."], + [3000,3000,12000,false] + ] + ],{ + params ["_display","_values","_args"]; + _display closeDisplay 1; + },{ + params ["_display","_values","_args"]; + [_args,_values] call MAZ_EZM_createVehicleRespawn; + _display closeDisplay 0; + },_vehicle] call MAZ_EZM_createAttributesDialog; + }; + + MAZ_EZM_applyAttributeChangesToLandVehicle = { + params ["_vehicle","_attributes"]; + _attributes params [["_health",damage _vehicle],["_fuel",fuel _vehicle],["_lockState",locked _vehicle],["_engineState",isEngineOn _vehicle],["_lightState",isLightOn _vehicle],"_respawn"]; + _vehicle setDamage (1-_health); + [_vehicle,_fuel] remoteExec ["setFuel"]; + [_vehicle,_lockState] remoteExec ["lock"]; + [_vehicle,_engineState] remoteExec ["engineOn"]; + [_vehicle,_lightState] remoteExec ["setPilotLight"]; + + [_vehicle,_respawn] call MAZ_EZM_applyCreateRespawnToUnitAttribs; + }; + + MAZ_EZM_createLandVehicleAttributesDialog = { + params ["_vehicle"]; + if(dialog) then { + closeDialog 2; + }; + [_vehicle] spawn { + params ["_vehicle"]; + sleep 0.1; + [format ["EDIT %1",toUpper (getText (configFile >> "CfgVehicles" >> typeOf _vehicle >> "displayName"))],[ + [ + "SLIDEREDIT", + "Health/Armor:", + [[(1 - damage _vehicle),2] call BIS_fnc_cutDecimals,0,1,true] + ], + [ + "SLIDEREDIT", + "Fuel:", + [[fuel _vehicle,3] call BIS_fnc_cutDecimals,0,1,true] + ], + [ + "ICONS", + "Vehicle Lock:", + [ + locked _vehicle, + [0,1,2,3], + [ + "a3\modules_f\data\iconunlock_ca.paa", + "a3\modules_f\data\iconunlock_ca.paa", + "a3\modules_f\data\iconlock_ca.paa", + "a3\modules_f\data\iconlock_ca.paa" + ], + [ + "UNLOCKED", + "DEFAULT", + "LOCKED", + "LOCKED FOR PLAYERS" + ], + [[11,0.5],[15,0.5],[19,0.5],[23,0.5]], + [1.75,1.75,1.75,1.75], + 2.5 + ] + ], + [ + "ICONS", + "Engine State:", + [ + isEngineOn _vehicle, + [false,true], + ["A3\ui_f\data\igui\cfg\actions\engine_off_ca.paa","A3\ui_f\data\igui\cfg\actions\engine_on_ca.paa"], + ["Turn engine off","Turn engine on"], + [[15,0.4],[19,0.4]], + [1.75,1.75], + 2.5 + ] + ], + [ + "ICONS", + "Lights State:", + [ + isLightOn _vehicle, + [false,true], + ["A3\ui_f\data\igui\cfg\actions\ico_cpt_land_off_ca.paa","A3\ui_f\data\igui\cfg\actions\ico_cpt_land_on_ca.paa"], + ["Turn lights off","Turn lights on"], + [[15,0.4],[19,0.4]], + [1.75,1.75], + 2.5 + ] + ], + [ + "RESPAWN", + "Respawn on Object For:", + [ + _vehicle getVariable ["MAZ_EZM_respawnType",4], + _vehicle + ] + ], + [ + "NEWBUTTON", + "DAMAGE", + [ + "Edit the vehicle's damage in specific hit points.", + { + params ["_display","_args"]; + _display closeDisplay 0; + [_args] spawn MAZ_EZM_createDamageDialog; + }, + _vehicle + ] + ], + [ + "NEWBUTTON", + "RESPAWN", + [ + "Set the vehicle to respawn at it's position.", + { + params ["_display","_args"]; + _display closeDisplay 0; + [_args] spawn MAZ_EZM_createVehicleRespawnDialog; + }, + _vehicle + ] + ], + [ + "NEWBUTTON", + "GARAGE", + [ + "WIP : Edit vehicle in the Virtual Garage.", + { + params ["_display","_args"]; + }, + _vehicle + ] + ] + ],{ + params ["_display","_values","_args"]; + _display closeDisplay 1; + },{ + params ["_display","_values","_args"]; + [_args,_values] call MAZ_EZM_applyAttributeChangesToLandVehicle; + _display closeDisplay 0; + },_vehicle] call MAZ_EZM_createAttributesDialog; + }; + }; + + MAZ_EZM_applyAttributeChangesToVehicle = { + params ["_vehicle","_attributes"]; + _attributes params [["_health",damage _vehicle],["_fuel",fuel _vehicle],["_lockState",locked _vehicle],["_engineState",isEngineOn _vehicle],["_lightState",isLightOn _vehicle],["_colLightState",isCollisionLightOn _vehicle],"_respawn"]; + _vehicle setDamage (1-_health); + [_vehicle,_fuel] remoteExec ["setFuel"]; + [_vehicle,_lockState] remoteExec ["lock"]; + [_vehicle,_engineState] remoteExec ["engineOn"]; + [_vehicle,_lightState] remoteExec ["setPilotLight"]; + [_vehicle,_colLightState] remoteExec ["setCollisionLight"]; + + [_vehicle,_respawn] call MAZ_EZM_applyCreateRespawnToUnitAttribs; + }; + + MAZ_EZM_createVehicleAttributesDialog = { + params ["_vehicle"]; + if(dialog) then { + closeDialog 2; + }; + [_vehicle] spawn { + params ["_vehicle"]; + sleep 0.1; + [format ["EDIT %1",toUpper (getText (configFile >> "CfgVehicles" >> typeOf _vehicle >> "displayName"))],[ + [ + "SLIDEREDIT", + "Health/Armor:", + [[(1 - damage _vehicle),2] call BIS_fnc_cutDecimals,0,1,true] + ], + [ + "SLIDEREDIT", + "Fuel:", + [[fuel _vehicle,3] call BIS_fnc_cutDecimals,0,1,true] + ], + [ + "ICONS", + "Vehicle Lock:", + [ + locked _vehicle, + [0,1,2,3], + [ + "a3\modules_f\data\iconunlock_ca.paa", + "a3\modules_f\data\iconunlock_ca.paa", + "a3\modules_f\data\iconlock_ca.paa", + "a3\modules_f\data\iconlock_ca.paa" + ], + [ + "UNLOCKED", + "DEFAULT", + "LOCKED", + "LOCKED FOR PLAYERS" + ], + [[11,0.5],[15,0.5],[19,0.5],[23,0.5]], + [1.75,1.75,1.75,1.75], + 2.5 + ] + ], + [ + "ICONS", + "Engine State:", + [ + isEngineOn _vehicle, + [false,true], + ["A3\ui_f\data\igui\cfg\actions\engine_off_ca.paa","A3\ui_f\data\igui\cfg\actions\engine_on_ca.paa"], + ["Turn engine off","Turn engine on"], + [[15,0.4],[19,0.4]], + [1.75,1.75], + 2.5 + ] + ], + [ + "ICONS", + "Lights State:", + [ + isLightOn _vehicle, + [false,true], + ["A3\ui_f\data\igui\cfg\actions\ico_cpt_land_off_ca.paa","A3\ui_f\data\igui\cfg\actions\ico_cpt_land_on_ca.paa"], + ["Turn lights off","Turn lights on"], + [[15,0.4],[19,0.4]], + [1.75,1.75], + 2.5 + ] + ], + [ + "ICONS", + "Anti-Collision Lights:", + [ + isCollisionLightOn _vehicle, + [false,true], + ["A3\ui_f\data\igui\cfg\actions\ico_cpt_col_off_ca.paa","A3\ui_f\data\igui\cfg\actions\ico_cpt_col_on_ca.paa"], + ["Turn anti-collision lights off","Turn anti-collision lights on"], + [[15,0.4],[19,0.4]], + [1.75,1.75], + 2.5 + ] + ], + [ + "RESPAWN", + "Respawn on Object For:", + [ + _vehicle getVariable ["MAZ_EZM_respawnType",4], + _vehicle + ] + ], + [ + "NEWBUTTON", + "DAMAGE", + [ + "Edit the vehicle's damage in specific hit points.", + { + params ["_display","_args"]; + _display closeDisplay 0; + [_args] spawn MAZ_EZM_createDamageDialog; + }, + _vehicle + ] + ], + [ + "NEWBUTTON", + "RESPAWN", + [ + "Set the vehicle to respawn at it's position.", + { + params ["_display","_args"]; + _display closeDisplay 0; + [_args] spawn MAZ_EZM_createVehicleRespawnDialog; + }, + _vehicle + ] + ], + [ + "NEWBUTTON", + "GARAGE", + [ + "WIP : Edit vehicle in the Virtual Garage.", + { + params ["_display","_args"]; + }, + _vehicle + ] + ] + ],{ + params ["_display","_values","_args"]; + _display closeDisplay 1; + },{ + params ["_display","_values","_args"]; + [_args,_values] call MAZ_EZM_applyAttributeChangesToVehicle; + _display closeDisplay 0; + },_vehicle] call MAZ_EZM_createAttributesDialog; + }; + }; + + MAZ_EZM_applyAttributeChangesToMarker = { + params ["_marker","_attribs"]; + _attribs params ["_text","_markerColor","_markerDir"]; + _marker setMarkerText _text; + _marker setMarkerColor _markerColor; + MAZ_EZM_markerColorDefault = _markerColor; + _marker setMarkerDir _markerDir; + }; + + MAZ_EZM_createMarkerAttributesDialog = { + params ["_marker"]; + if(dialog) then { + closeDialog 2; + }; + [_marker] spawn { + params ["_marker"]; + openMap false; + private _markerType = getText (configfile >> "CfgMarkers" >> (markerType _marker) >> "icon"); + private _colorData = []; + { + private _colorActive = _x; + private _colorNormal = [_x # 0,_x # 1,_x # 2,0.5]; + _colorData pushBack [_colorActive,_colorNormal]; + }forEach [ + [0,0,0,1], + [0,0,0,1], + [0.5,0.5,0.5,1], + [0.9,0,0,1], + [0.5,0.25,0,1], + [0.85,0.4,0,1], + [0.85,0.85,0,1], + [0.5,0.6,0.4,1], + [0,0.8,0,1], + [0,0,1,1], + [1,1,1,1], + [profileNamespace getVariable ['Map_BLUFOR_R',0],profileNamespace getVariable ['Map_BLUFOR_G',1],profileNamespace getVariable ['Map_BLUFOR_B',1],profileNamespace getVariable ['Map_BLUFOR_A',1]], + [profileNamespace getVariable ['Map_OPFOR_R',0],profileNamespace getVariable ['Map_OPFOR_G',1],profileNamespace getVariable ['Map_OPFOR_B',1],profileNamespace getVariable ['Map_OPFOR_A',1]], + [profileNamespace getVariable ['Map_Independent_R',0],profileNamespace getVariable ['Map_Independent_G',1],profileNamespace getVariable ['Map_Independent_B',1],profileNamespace getVariable ['Map_Independent_A',1]], + [profileNamespace getVariable ['Map_Civilian_R',0],profileNamespace getVariable ['Map_Civilian_G',1],profileNamespace getVariable ['Map_Civilian_B',1],profileNamespace getVariable ['Map_Civilian_A',1]], + [profileNamespace getVariable ['Map_Unknown_R',0],profileNamespace getVariable ['Map_Unknown_G',1],profileNamespace getVariable ['Map_Unknown_B',1],profileNamespace getVariable ['Map_Unknown_A',1]] + ]; + sleep 0.1; + ["EDIT MARKER",[ + [ + "EDIT", + "Text:", + [markerText _marker] + ], + [ + "ICONS", + "Color:", + [ + markerColor _marker, + [ + "Default", + "ColorBlack", + "ColorGrey", + "ColorRed", + "ColorBrown", + "ColorOrange", + "ColorYellow", + "ColorKhaki", + "ColorGreen", + "ColorBlue", + "ColorWhite", + "ColorBLUFOR", + "ColorOPFOR", + "ColorGUER", + "ColorCIV", + "ColorUNKNOWN" + ], + [ + _markerType, + _markerType, + _markerType, + _markerType, + _markerType, + _markerType, + _markerType, + _markerType, + _markerType, + _markerType, + _markerType, + _markerType, + _markerType, + _markerType, + _markerType, + _markerType + ], + [ + "Default", + "Black", + "Grey", + "Red", + "Brown", + "Orange", + "Yellow", + "Khaki", + "Green", + "Blue", + "White", + "BLUFOR", + "OPFOR", + "Independent", + "Civilian", + "UNKNOWN" + ], + [ + [9.5,0.2], + [11.5,0.2], + [13.5,0.2], + [15.5,0.2], + [17.5,0.2], + [19.5,0.2], + [21.5,0.2], + [23.5,0.2], + [9.5,2.2], + [11.5,2.2], + [13.5,2.2], + [15.5,2.2], + [17.5,2.2], + [19.5,2.2], + [21.5,2.2], + [23.5,2.2] + ], + [ + 1.5, + 1.5, + 1.5, + 1.5, + 1.5, + 1.5, + 1.5, + 1.5, + 1.5, + 1.5, + 1.5, + 1.5, + 1.5, + 1.5, + 1.5, + 1.5 + ], + 4, + _colorData + ] + ], + [ + "SLIDEREDIT", + "Marker Direction:", + [markerDir _marker,0,360,false] + ], + [ + "NEWBUTTON", + "DELETE", + [ + "Deletes the Selected Marker.", + { + params ["_display","_args"]; + deleteMarker _args; + _display closeDisplay 0; + }, + _marker + ] + ] + ],{ + params ["_display","_values","_args"]; + _display closeDisplay 1; + },{ + params ["_display","_values","_args"]; + [_args,_values] call MAZ_EZM_applyAttributeChangesToMarker; + _display closeDisplay 0; + },_marker] call MAZ_EZM_createAttributesDialog; + }; + }; + +comment "Context Menu"; + + ZAM_fnc_createNewContextAction = { + params [ + ["_displayName","CONTEXT ACTION",[""]], + ["_code",{},[{}]], + ["_condition",{true},[{}]], + ["_priority",3,[1]], + ["_img","",[""]], + ["_color",[1,1,1,1],[[]]], + ["_childActions",[],[[]]] + ]; + if(isNil "ZAM_EZM_contextMenuActions") then { + ZAM_EZM_contextMenuActions = []; + }; + private _index = ZAM_EZM_contextMenuActions pushBack [_displayName,_code,_condition,_priority,_img,_color,_childActions]; + _index + }; + + ZAM_fnc_removeContextAction = { + params ["_index"]; + if(_index < 0 || _index >= (count ZAM_EZM_contextMenuActions)) exitWith { + ["Failed to remove action","addItemFailed"] call MAZ_EZM_fnc_systemMessage; + }; + ZAM_EZM_contextMenuActions set [_index,nil]; + }; + + ZAM_fnc_createContextMenuBase = { + params ["_xPos","_yPos"]; + + private _display = findDisplay 312; + MAZ_EZM_contextMenuBase = _display ctrlCreate ["RscControlsGroupNoScrollbars",-1]; + MAZ_EZM_contextMenuBase ctrlSetPosition [_xPos,_yPos,["W",9] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,0]; + MAZ_EZM_contextMenuBase ctrlSetBackgroundColor [0,0,0,0.4]; + MAZ_EZM_contextMenuBase ctrlCommit 0; + + private _controlGroupFrame = _display ctrlCreate ["RscFrame",-1,MAZ_EZM_contextMenuBase]; + _controlGroupFrame ctrlSetPosition [0,0,["W",9] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,0]; + _controlGroupFrame ctrlSetTextColor [0,0,0,0.6]; + _controlGroupFrame ctrlCommit 0; + + [MAZ_EZM_contextMenuBase,_controlGroupFrame] + }; + + ZAM_fnc_createContextMenuRow = { + params ["_ctrlGroup","_yPos","_displayName","_code","_img","_color"]; + private _display = findDisplay 312; + private _ctrl = _display ctrlCreate ["RscButtonMenu",-1,_ctrlGroup]; + if(_img != "") then { + _displayName = " " + _displayName; + private _picture = _display ctrlCreate ["RscPicture",-1,_ctrlGroup]; + _picture ctrlSetText _img; + _picture ctrlSetTextColor _color; + _picture ctrlSetPosition [["W",0.1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,_yPos,["W",0.9] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,["H",0.9] call MAZ_EZM_fnc_convertToGUI_GRIDFormat]; + _picture ctrlCommit 0; + }; + _ctrl ctrlSetText _displayName; + _ctrl ctrlSetFont "RobotoCondensed"; + _ctrl ctrlSetPosition [0,_yPos,["W",9] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,["H",1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat]; + _ctrl ctrlSetTextColor _color; + _ctrl ctrlSetBackgroundColor [0,0,0,0.4]; + _ctrl ctrlSetActiveColor [0,0,0,0.6]; + _ctrl ctrlAddEventHandler ["ButtonClick",_code]; + _ctrl ctrlCommit 0; + + _ctrl + }; + + ZAM_fnc_destroyContextMenu = { + sleep 0.01; + private _ctrlGroup = uiNamespace getVariable ["MAZ_EZM_contextMenuBase",controlNull]; + if(isNull _ctrlGroup) exitWith {}; + [_ctrlGroup] call ZAM_fnc_closeAllSubControls; + private _childrenGroup = uiNamespace getVariable ["MAZ_EZM_contextChildrenGroup",controlNull]; + if(isNull _childrenGroup) exitWith {}; + [_childrenGroup] call ZAM_fnc_closeAllSubControls; + }; + + ZAM_fnc_addContextMenuChildRows = { + params ["_position","_children","_ctrlParent"]; + private _controlGroupParentOfParent = ctrlParentControlsGroup _ctrlParent; + _position = _position vectorAdd (ctrlPosition _controlGroupParentOfParent); + _position params ["_xPos","_yPos","_wPos","_hPos"]; + + private _display = findDisplay 312; + private _controlGroup = _display ctrlCreate ["RscControlsGroupNoScrollbars",-1]; + _controlGroup ctrlSetPosition [_xPos + (["W",9] call MAZ_EZM_fnc_convertToGUI_GRIDFormat),_yPos,["W",9] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,0]; + _controlGroup ctrlSetBackgroundColor [0,0,0,0.4]; + _controlGroup ctrlCommit 0; + + private _controlGroupFrame = _display ctrlCreate ["RscFrame",-1,_controlGroup]; + _controlGroupFrame ctrlSetPosition [0,0,["W",9] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,0]; + _controlGroupFrame ctrlSetTextColor [0,0,0,0.6]; + _controlGroupFrame ctrlCommit 0; + + private _groupHeight = 0; + { + _x params ["_displayName","_code","_condition",["_img",""],["_color",[1,1,1,1]]]; + _code = compile (format ["params ['_childControl'];((_childControl getVariable 'contextMenuParent') getVariable 'contextMenuParams') params ['_pos','_entity'];[_pos,_entity] call %1;",_code]); + private _ctrl = _display ctrlCreate ["RscButtonMenu",-1,_controlGroup]; + _ctrl setVariable ["contextMenuParent",_ctrlParent]; + if(_img != "") then { + _displayName = " " + _displayName; + private _picture = _display ctrlCreate ["RscPicture",-1,_controlGroup]; + _picture ctrlSetText _img; + _picture ctrlSetTextColor _color; + _picture ctrlSetPosition [0,_groupHeight,["W",0.9] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,["H",0.9] call MAZ_EZM_fnc_convertToGUI_GRIDFormat]; + _picture ctrlCommit 0; + }; + _ctrl ctrlSetText _displayName; + _ctrl ctrlSetFont "RobotoCondensed"; + _ctrl ctrlSetPosition [0,_groupHeight,["W",9] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,["H",1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat]; + _ctrl ctrlSetTextColor _color; + _ctrl ctrlSetBackgroundColor [0,0,0,0.4]; + _ctrl ctrlSetActiveColor [0,0,0,0.6]; + _ctrl ctrlAddEventHandler ["ButtonClick",_code]; + _ctrl ctrlCommit 0; + + _groupHeight = _groupHeight + (["H",1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + }forEach _children; + + _controlGroup ctrlSetPositionH _groupHeight; + _controlGroup ctrlCommit 0; + _controlGroupFrame ctrlSetPositionH _groupHeight; + _controlGroupFrame ctrlCommit 0; + if(_yPos + _groupHeight > 1.405) then { + (ctrlPosition _controlGroup) params ["","_posY"]; + _controlGroup ctrlSetPositionY ((_yPos - _groupHeight) + (["H",1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat)); + _controlGroup ctrlCommit 0; + }; + + _ctrlParent setVariable ["contextMenuChildrenCtrlGroup",_controlGroup]; + + _controlGroup + }; + + ZAM_fnc_isContextMenuOpen = { + private _contextBase = uiNamespace getVariable ["MAZ_EZM_contextMenuBase",controlNull]; + !(isNull _contextBase) + }; + + ZAM_fnc_closeContextMenu = { + if !(call ZAM_fnc_isContextMenuOpen) exitWith {}; + [] spawn ZAM_fnc_destroyContextMenu; + }; + + ZAM_fnc_closeAllSubControls = { + params ["_control"]; + if((count (allControls _control)) > 0) then { + { + [_x] call ZAM_fnc_closeAllSubControls; + }forEach (allControls _control); + }; + ctrlDelete _control; + }; + + ZAM_fnc_createContextMenu = { + comment "Check for actions"; + if(isNil "ZAM_EZM_contextMenuActions") exitWith {}; + private _contextBase = uiNamespace getVariable ["MAZ_EZM_contextMenuBase",controlNull]; + if(!isNull _contextBase) then { + [_contextBase] call ZAM_fnc_closeAllSubControls; + uiNamespace setVariable ["MAZ_EZM_contextMenuBase",controlNull]; + }; + + comment "Get cursor entity"; + private _targetObjArray = curatorMouseOver; + private _entity = objNull; + if ((_targetObjArray isEqualTo []) || (_targetObjArray isEqualTo [''])) then {} else { + _entity = _targetObjArray select 1; + }; + + comment "Create base context menu dialog"; + with uiNamespace do { + private _posArray = getMousePosition; + _posArray params ["_mouseX","_mouseY"]; + (_posArray call (missionNamespace getVariable "ZAM_fnc_createContextMenuBase")) params ["_ctrlGroup","_ctrlGroupFrame"]; + _ctrlGroup ctrlAddEventHandler ["MouseExit",{ + params ["_control"]; + private _currentChildren = uiNamespace getVariable "MAZ_EZM_contextChildrenGroup"; + if(!isNull _currentChildren) then { + [_currentChildren] call ZAM_fnc_closeAllSubControls; + uiNamespace setVariable ["MAZ_EZM_contextChildrenGroup",controlNull]; + }; + }]; + private _worldPos = [true] call (missionNamespace getVariable "MAZ_EZM_fnc_getScreenPosition"); + + comment "Run conditionals"; + private _yPos = 0; + private _actions = +(missionNamespace getVariable "ZAM_EZM_contextMenuActions"); + _actions = [_actions,[],{_x select 3},"ASCEND"] call BIS_fnc_sortBy; + { + if(isNil "_x") then {continue}; + _x params ["_displayName","_code","_condition","_priority","_img","_color","_childActions"]; + with missionNamespace do { + private _result = _entity call _condition; + uiNamespace setVariable ["MAZ_EZM_contextConditionResult",_result]; + }; + if(MAZ_EZM_contextConditionResult) then { + _code = compile (format ["params ['_control'];(_control getVariable 'contextMenuParams') params ['_pos','_entity'];[_pos,_entity] call %1;",_code]); + private _ctrl = [_ctrlGroup,_yPos,_displayName,_code,_img,_color] call (missionNamespace getVariable "ZAM_fnc_createContextMenuRow"); + _ctrl setVariable ["contextMenuParams",[_worldPos,_entity]]; + (ctrlPosition _ctrl) params ["","","","_posH"]; + if(count _childActions != 0) then { + private _activeChildren = []; + { + _x params ["","","_conditionChild"]; + with missionNamespace do { + private _result = _entity call _conditionChild; + uiNamespace setVariable ["MAZ_EZM_contextConditionResult",_result]; + }; + if(MAZ_EZM_contextConditionResult) then { + _activeChildren pushBack _x; + }; + }forEach _childActions; + _ctrl setVariable ["MAZ_EZM_contextChildrenData",_activeChildren]; + + if((count _activeChildren) > 0) then { + private _pictureDrop = (findDisplay 312) ctrlCreate ["RscPicture",-1,_ctrlGroup]; + _pictureDrop ctrlSetText "A3\ui_f\data\gui\rsccommon\rsctree\hiddenTexture_ca.paa"; + _pictureDrop ctrlSetTextColor [1,1,1,1]; + _pictureDrop ctrlSetPosition [["W",8] call (missionNamespace getVariable "MAZ_EZM_fnc_convertToGUI_GRIDFormat"),_yPos,["W",1] call (missionNamespace getVariable "MAZ_EZM_fnc_convertToGUI_GRIDFormat"),["H",1] call (missionNamespace getVariable "MAZ_EZM_fnc_convertToGUI_GRIDFormat")]; + _pictureDrop ctrlCommit 0; + }; + }; + _ctrl ctrlAddEventHandler ["MouseEnter",{ + params ["_control"]; + private _currentChildren = uiNamespace getVariable ["MAZ_EZM_contextChildrenGroup",controlNull]; + if(!isNull _currentChildren) then { + [_currentChildren] call ZAM_fnc_closeAllSubControls; + }; + private _children = _control getVariable "MAZ_EZM_contextChildrenData"; + if(!isNil "_children") then { + private _childGroup = [ctrlPosition _control,_children,_control] call (missionNamespace getVariable "ZAM_fnc_addContextMenuChildRows"); + uiNamespace setVariable ["MAZ_EZM_contextChildrenGroup",_childGroup]; + }; + }]; + _yPos = _yPos + _posH; + }; + MAZ_EZM_contextConditionResult = nil; + }forEach _actions; + + _ctrlGroup ctrlSetPositionH _yPos; + _ctrlGroupFrame ctrlSetPositionH _yPos; + _ctrlGroup ctrlCommit 0; + _ctrlGroupFrame ctrlCommit 0; + if(_mouseY + _yPos > 1.405) then { + (ctrlPosition _ctrlGroup) params ["","_posY"]; + _ctrlGroup ctrlSetPositionY (1.405 - _yPos); + _ctrlGroup ctrlCommit 0; + }; + }; + }; + + if(!isNil "MAZ_EZM_action_openDebugConsole") then { + [MAZ_EZM_action_openDebugConsole] call ZAM_fnc_removeContextAction; + }; + MAZ_EZM_action_openDebugConsole = [ + "Open Debug Console", + { + params ["_pos","_entity"]; + [_entity] call MAZ_EZM_fnc_debugConsoleLocalModule; + }, + {true}, + 6, + "a3\3den\data\displays\display3den\entitymenu\findconfig_ca.paa", + [1,1,1,1], + [] + ] call ZAM_fnc_createNewContextAction; + + if(!isNil "MAZ_EZM_action_addEditableObjects") then { + [MAZ_EZM_action_addEditableObjects] call ZAM_fnc_removeContextAction; + }; + MAZ_EZM_action_addEditableObjects = [ + "Add Editable Objects", + { + params ["_pos"]; + private _objects = [_pos,100] call MAZ_EZM_fnc_getEditableObjectsRadius; + [_objects,getAssignedCuratorLogic player] call MAZ_EZM_fnc_addObjectToInterface; + }, + {true}, + 7, + "a3\3den\data\displays\display3den\panelright\customcomposition_add_ca.paa", + [1,1,1,1], + [ + [ + "50m", + { + params ["_pos"]; + private _objects = [_pos,50] call MAZ_EZM_fnc_getEditableObjectsRadius; + [_objects,getAssignedCuratorLogic player] call MAZ_EZM_fnc_addObjectToInterface; + }, + {true}, + "", + [1,1,1,1] + ], + [ + "100m", + { + params ["_pos"]; + private _objects = [_pos,100] call MAZ_EZM_fnc_getEditableObjectsRadius; + [_objects,getAssignedCuratorLogic player] call MAZ_EZM_fnc_addObjectToInterface; + }, + {true}, + "", + [1,1,1,1] + ], + [ + "250m", + { + params ["_pos"]; + private _objects = [_pos,250] call MAZ_EZM_fnc_getEditableObjectsRadius; + [_objects,getAssignedCuratorLogic player] call MAZ_EZM_fnc_addObjectToInterface; + }, + {true}, + "", + [1,1,1,1] + ], + [ + "500m", + { + params ["_pos"]; + private _objects = [_pos,500] call MAZ_EZM_fnc_getEditableObjectsRadius; + [_objects,getAssignedCuratorLogic player] call MAZ_EZM_fnc_addObjectToInterface; + }, + {true}, + "", + [1,1,1,1] + ], + [ + "1000m", + { + params ["_pos"]; + private _objects = [_pos,1000] call MAZ_EZM_fnc_getEditableObjectsRadius; + [_objects,getAssignedCuratorLogic player] call MAZ_EZM_fnc_addObjectToInterface; + }, + {true}, + "", + [1,1,1,1] + ] + ] + ] call ZAM_fnc_createNewContextAction; + + if(!isNil "MAZ_EZM_action_removeEditableObjects") then { + [MAZ_EZM_action_removeEditableObjects] call ZAM_fnc_removeContextAction; + }; + MAZ_EZM_action_removeEditableObjects = [ + "Remove Edit Objects", + { + params ["_pos"]; + private _objects = [_pos,100] call MAZ_EZM_fnc_getEditableObjectsRadius; + [_objects,getAssignedCuratorLogic player] call MAZ_EZM_fnc_removeObjectFromInterface; + }, + {true}, + 6, + "a3\3den\data\cfg3den\group\iconcustomcomposition_ca.paa", + [1,1,1,1], + [ + [ + "50m", + { + params ["_pos"]; + private _objects = [_pos,50] call MAZ_EZM_fnc_getEditableObjectsRadius; + [_objects,getAssignedCuratorLogic player] call MAZ_EZM_fnc_removeObjectFromInterface; + }, + {true}, + "", + [1,1,1,1] + ], + [ + "100m", + { + params ["_pos"]; + private _objects = [_pos,100] call MAZ_EZM_fnc_getEditableObjectsRadius; + [_objects,getAssignedCuratorLogic player] call MAZ_EZM_fnc_removeObjectFromInterface; + }, + {true}, + "", + [1,1,1,1] + ], + [ + "250m", + { + params ["_pos"]; + private _objects = [_pos,250] call MAZ_EZM_fnc_getEditableObjectsRadius; + [_objects,getAssignedCuratorLogic player] call MAZ_EZM_fnc_removeObjectFromInterface; + }, + {true}, + "", + [1,1,1,1] + ], + [ + "500m", + { + params ["_pos"]; + private _objects = [_pos,500] call MAZ_EZM_fnc_getEditableObjectsRadius; + [_objects,getAssignedCuratorLogic player] call MAZ_EZM_fnc_removeObjectFromInterface; + }, + {true}, + "", + [1,1,1,1] + ], + [ + "1000m", + { + params ["_pos"]; + private _objects = [_pos,1000] call MAZ_EZM_fnc_getEditableObjectsRadius; + [_objects,getAssignedCuratorLogic player] call MAZ_EZM_fnc_removeObjectFromInterface; + }, + {true}, + "", + [1,1,1,1] + ] + ] + ] call ZAM_fnc_createNewContextAction; + + if(!isNil "MAZ_EZM_action_teleportHere") then { + [MAZ_EZM_action_teleportHere] call ZAM_fnc_removeContextAction; + }; + MAZ_EZM_action_teleportHere = [ + "Teleport Here", + { + params ["_pos"]; + if(surfaceIsWater _pos) exitWith { + private _newPos = [true] call MAZ_EZM_fnc_getScreenPosition; + _newPos = AGLtoASL _newPos; + player setPosASL _newPos; + }; + player setPosATL _pos; + }, + {true}, + 5.9, + "a3\3den\data\cfgwaypoints\move_ca.paa", + [1,1,1,1], + [ + [ + "Teleport Player Here", + { + params ["_pos","_entity"]; + [objNull,_pos] call MAZ_EZM_fnc_teleportPlayerModule; + }, + {true}, + "a3\ui_f\data\gui\rsc\rscdisplaymain\menu_singleplayer_ca.paa", + [1,1,1,1] + ], + [ + "Teleport Everyone", + { + params ["_pos","_entity"]; + { + _x setPos _pos; + }forEach allPlayers; + }, + {true}, + "a3\ui_f\data\gui\rsc\rscdisplaymain\menu_multiplayer_ca.paa", + [1,1,1,1] + ], + [ + "Teleport In Vehicle", + { + params ["_pos","_entity"]; + private _crewData = fullCrew [_entity,"",true]; + private _return = false; + private _moveInCode = ""; + { + _x params ["_unit","_role","_cargoIndex","_turretPath","_personTurret"]; + if(_return) exitWith {}; + if(_role != "turret") then { + if(isNull _unit || !alive _unit) then { + if(!isNull _unit) then {moveOut _unit}; + _moveInCode = compile (format ["player moveIn%1 _this",_role]); + _return = true; + }; + } else { + if(isNull _unit || !alive _unit) then { + if(!isNull _unit) then {moveOut _unit}; + _moveInCode = compile (format ["player moveIn%1 [_this,%2]",_role,_turretPath]); + _return = true; + }; + }; + }forEach _crewData; + _entity call _moveInCode; + }, + { + private _return = false; + if(_this isEqualType grpNull) exitWith {_return}; + if(!((typeOf _this) isKindOf "CAManBase") && (alive _this) && !(isNull _this) && ((typeOf _this) isKindOf "AllVehicles") && ([_this] call ZAM_EZM_fnc_canMoveIn)) then { + _return = true; + }; + + _return + }, + "a3\3den\data\cfgwaypoints\getin_ca.paa", + [1,1,1,1] + ] + ] + ] call ZAM_fnc_createNewContextAction; + + if(!isNil "MAZ_EZM_action_remoteControl") then { + [MAZ_EZM_action_remoteControl] call ZAM_fnc_removeContextAction; + }; + MAZ_EZM_action_remoteControl = [ + "Remote Control", + { + params ["_pos","_entity"]; + private _logic = createVehicle ["Land_HelipadEmpty_F",[0,0,0],[],0,"CAN_COLLIDE"]; + [_logic,_entity,true] spawn MAZ_EZM_BIS_fnc_remoteControlUnit; + }, + { + private _return = false; + if(_this isEqualType grpNull) exitWith {_return}; + if(typeOf _this isKindOf "CAManBase" && alive _this && !isNull _this && !(isPlayer _this)) then { + _return = true; + }; + + _return + }, + 5, + "\a3\Modules_F_Curator\Data\portraitRemoteControl_ca.paa", + [1,1,1,1] + ] call ZAM_fnc_createNewContextAction; + + if(!isNil "MAZ_EZM_action_suppressiveFire") then { + [MAZ_EZM_action_suppressiveFire] call ZAM_fnc_removeContextAction; + }; + MAZ_EZM_action_suppressiveFire = [ + "Suppressive Fire", + { + params ["_pos","_entity"]; + [_entity] spawn MAZ_EZM_fnc_suppressiveFireModule; + }, + { + private _return = false; + if(_this isEqualType grpNull) exitWith {_return}; + if(typeOf _this isKindOf "CAManBase" && alive _this && !isNull _this && !(isPlayer _this)) then { + _return = true; + }; + + _return + }, + 5, + "a3\static_f_oldman\hmg_02\data\ui\icon_hmg_02_ca.paa", + [1,1,1,1] + ] call ZAM_fnc_createNewContextAction; + + if(!isNil "MAZ_EZM_action_editLoadout") then { + [MAZ_EZM_action_editLoadout] call ZAM_fnc_removeContextAction; + }; + MAZ_EZM_action_editLoadout = [ + "Edit Loadout", + { + params ["_pos","_entity"]; + ["Preload"] call BIS_fnc_arsenal; + ["Open",[true,nil,_entity]] call BIS_fnc_arsenal; + }, + { + private _return = false; + if(_this isEqualType grpNull) exitWith {_return}; + if(player == _this) exitWith {!_return}; + if(typeOf _this isKindOf "CAManBase" && alive _this && !isNull _this && !(isPlayer _this)) then { + _return = true; + }; + + _return + }, + 4, + "a3\ui_f\data\igui\cfg\actions\gear_ca.paa", + [1,1,1,1], + [ + [ + "Change Loadout", + { + params ["_pos","_entity"]; + ["Preload"] call BIS_fnc_arsenal; + ["Open",[true,nil,_entity]] call BIS_fnc_arsenal; + }, + {true}, + "", + [1,1,1,1] + ], + [ + "Reset Loadout", + { + params ["_pos","_entity"]; + _entity setUnitLoadout (getUnitLoadout (configFile >> "CfgVehicles" >> typeOf _entity)); + }, + {true}, + "", + [1,1,1,1] + ], + [ + "Copy Loadout", + { + params ["_pos","_entity"]; + MAZ_EZM_copiedUnitLoadout = getUnitLoadout _entity; + }, + {true}, + "", + [1,1,1,1] + ], + [ + "Paste Loadout", + { + params ["_pos","_entity"]; + _entity setUnitLoadout MAZ_EZM_copiedUnitLoadout; + }, + { + (!isNil "MAZ_EZM_copiedUnitLoadout") + }, + "", + [1,1,1,1] + ], + [ + "Set Zeus Loadout", + { + params ["_pos","_entity"]; + profileNamespace setVariable ["MAZ_EZM_ZeusLoadout",getUnitLoadout _entity]; + ["Zeus loadout saved","addItemOK"] call MAZ_EZM_fnc_systemMessage; + }, + {true}, + "a3\ui_f_curator\data\logos\arma3_zeus_icon_ca.paa", + [1,1,1,1] + ] + ] + ] call ZAM_fnc_createNewContextAction; + + if(!isNil "MAZ_EZM_action_healUnit") then { + [MAZ_EZM_action_healUnit] call ZAM_fnc_removeContextAction; + }; + MAZ_EZM_action_healUnit = [ + "Heal Unit", + { + params ["_pos","_entity"]; + [_entity] call MAZ_EZM_fnc_healAndReviveModule; + }, + { + private _return = false; + if(_this isEqualType grpNull) exitWith {_return}; + if(typeOf _this isKindOf "CAManBase" && alive _this && !isNull _this) then { + _return = true; + }; + + _return + }, + 3, + "a3\ui_f\data\map\vehicleicons\pictureheal_ca.paa", + [1,1,1,1] + ] call ZAM_fnc_createNewContextAction; + + if(!isNil "MAZ_EZM_action_repairVehicle") then { + [MAZ_EZM_action_repairVehicle] call ZAM_fnc_removeContextAction; + }; + MAZ_EZM_action_repairVehicle = [ + "Repair", + { + params ["_pos","_entity"]; + _entity setDamage 0; + }, + { + private _return = false; + if(_this isEqualType grpNull) exitWith {_return}; + if(!(typeOf _this isKindOf "CAManBase") && alive _this && !isNull _this && typeOf _this isKindOf "AllVehicles") then { + _return = true; + }; + + _return + }, + 2, + "a3\ui_f\data\igui\cfg\cursors\iconrepairvehicle_ca.paa", + [1,1,1,1] + ] call ZAM_fnc_createNewContextAction; + + if(!isNil "MAZ_EZM_action_refuelVehicle") then { + [MAZ_EZM_action_refuelVehicle] call ZAM_fnc_removeContextAction; + }; + MAZ_EZM_action_refuelVehicle = [ + "Refuel", + { + params ["_pos","_entity"]; + [_entity,1] remoteExec ['setFuel']; + }, + { + private _return = false; + if(_this isEqualType grpNull) exitWith {_return}; + if(!(typeOf _this isKindOf "CAManBase") && alive _this && !isNull _this && typeOf _this isKindOf "AllVehicles") then { + _return = true; + }; + + _return + }, + 2, + "a3\ui_f\data\igui\cfg\actions\refuel_ca.paa", + [1,1,1,1] + ] call ZAM_fnc_createNewContextAction; + + if(!isNil "MAZ_EZM_action_rearmVehicle") then { + [MAZ_EZM_action_rearmVehicle] call ZAM_fnc_removeContextAction; + }; + MAZ_EZM_action_rearmVehicle = [ + "Rearm", + { + params ["_pos","_entity"]; + [_entity,1] remoteExec ['setVehicleAmmo']; + }, + { + private _return = false; + if(_this isEqualType grpNull) exitWith {_return}; + if(!(typeOf _this isKindOf "CAManBase") && alive _this && !isNull _this && typeOf _this isKindOf "AllVehicles") then { + _return = true; + }; + + _return + }, + 2, + "a3\ui_f\data\igui\cfg\simpletasks\types\rearm_ca.paa", + [1,1,1,1] + ] call ZAM_fnc_createNewContextAction; + + if(!isNil "MAZ_EZM_action_editPylons") then { + [MAZ_EZM_action_editPylons] call ZAM_fnc_removeContextAction; + }; + MAZ_EZM_action_editPylons = [ + "Edit Pylons", + { + params ["_pos","_entity"]; + [_entity] spawn ZAM_EZM_fnc_editVehiclePylons; + }, + { + private _return = false; + if(_this isEqualType grpNull) exitWith {_return}; + private _pylons = (configFile >> "CfgVehicles" >> typeOf _this >> "Components" >> "TransportPylonsComponent" >> "Pylons") call BIS_fnc_getCfgSubClasses; + if(count _pylons == 0) exitWith {false}; + true + }, + 1, + "a3\ui_f\data\igui\cfg\actions\gear_ca.paa", + [1,1,1,1], + [ + [ + "Change Pylons", + { + params ["_pos","_entity"]; + [_entity] spawn ZAM_EZM_fnc_editVehiclePylons; + }, + {true}, + "", + [1,1,1,1] + ], + [ + "Reset Pylons", + { + params ["_pos","_entity"]; + private _pylons = (configFile >> "CfgVehicles" >> typeOf _entity >> "Components" >> "TransportPylonsComponent" >> "Pylons") call BIS_fnc_getCfgSubClasses; + { + private _pylon = _x; + private _pylonDefaultMag = getText (configfile >> "CfgVehicles" >> typeOf _entity >> "Components" >> "TransportPylonsComponent" >> "Pylons" >> _pylon >> "attachment"); + private _pylonMaxAmmo = getNumber (configFile >> "CfgMagazines" >> _pylonDefaultMag >> "count"); + _entity setPylonLoadout [_pylon,_pylonDefaultMag]; + _entity setAmmoOnPylon [_pylon,_pylonMaxAmmo]; + }forEach _pylons; + }, + {true}, + "", + [1,1,1,1] + ] + ] + ] call ZAM_fnc_createNewContextAction; + + if(!isNil "MAZ_EZM_action_garageEdit") then { + [MAZ_EZM_action_garageEdit] call ZAM_fnc_removeContextAction; + }; + MAZ_EZM_action_garageEdit = [ + "Edit Appearance", + { + params ["_pos","_entity"]; + [_entity] spawn ZAM_fnc_createGarageInterface; + }, + { + private _return = false; + if(_this isEqualType grpNull) exitWith {_return}; + if(typeOf _entity isKindOf "AllVehicles" && !(typeOf _entity isKindOf "Animal") && !(typeOf _entity isKindOf "CAManBase")) then {_return = true}; + _return + }, + 1, + "a3\ui_f\data\gui\rsc\rscdisplayarsenal\spacegarage_ca.paa", + [1,1,1,1] + ] call ZAM_fnc_createNewContextAction; + + if(!isNil "MAZ_EZM_action_garrison") then { + [MAZ_EZM_action_garrison] call ZAM_fnc_removeContextAction; + }; + MAZ_EZM_action_garrison = [ + "Garrison", + { + params ["_pos","_entity"]; + [leader _entity] call MAZ_EZM_fnc_garrisonInstantModule; + }, + { + if(_this isEqualType grpNull) exitWith {true}; + false + }, + 1, + '\A3\ui_f\data\IGUI\Cfg\simpleTasks\types\run_ca.paa', + [1,1,1,1], + [ + [ + "Garrison (Instant)", + { + params ["_pos","_entity"]; + [leader _entity] call MAZ_EZM_fnc_garrisonInstantModule; + }, + {true}, + "", + [1,1,1,1] + ], + [ + "Garrison (Search)", + { + params ["_pos","_entity"]; + [leader _entity] call MAZ_EZM_fnc_garrisonSearchModule; + }, + {true}, + "", + [1,1,1,1] + ], + [ + "Un-Garrison", + { + params ["_pos","_entity"]; + [leader _entity] call MAZ_EZM_fnc_unGarrisonModule; + }, + {true}, + "", + [1,1,1,1] + ] + ] + ] call ZAM_fnc_createNewContextAction; + + ZAM_EZM_fnc_canMoveIn = { + params ["_vehicle"]; + private _crewData = fullCrew [_vehicle,"",true]; + private _return = false; + { + _x params ["_unit","_role","_cargoIndex","_turretPath","_personTurret"]; + if(_return) exitWith {}; + if(isNull _unit || !alive _unit) then { + _return = true; + }; + }forEach _crewData; + _return + }; + +comment "Virtual Garage"; + + ZAM_fnc_getVehicleCustomization = { + params [["_vehicle",objNull,[objNull,""]]]; + private _input = []; + private _className = ""; + if(_vehicle isEqualType "") then { + _input = [objNull,_vehicle]; + _className = _vehicle; + }; + if(_vehicle isEqualType objNull) then { + if(!isNull _vehicle) then { + _input = [_vehicle]; + _className = typeOf _vehicle; + }; + }; + (_input call BIS_fnc_getVehicleCustomization) params ["","_animData"]; + + private _customization = []; + for "_i" from 0 to (count _animData -1) step 2 do { + private _animSourceName = _animData # _i; + private _displayName = getText (configfile >> "CfgVehicles" >> _className >> "AnimationSources" >> _animSourceName >> "displayName"); + _customization pushBack [_displayName,_animSourceName, _animData # (_i + 1)]; + }; + _customization + }; + + ZAM_fnc_getAllTextureTypes = { + params [["_vehicle",objNull,[objNull,""]]]; + private _objectType = ""; + private _deleteAfter = false; + if(_vehicle isEqualType "") then { + _objectType = _vehicle; + _vehicle = _objectType createVehicle [0,0,0]; + _deleteAfter = true; + }; + if(_vehicle isEqualType objNull) then { + if(!isNull _vehicle) then { + _objectType = typeOf _vehicle; + }; + }; + if(_objectType in ["B_Heli_Light_01_F","B_Heli_Light_01_dynamicLoadout_F","C_Heli_Light_01_civil_F","I_C_Heli_Light_01_civil_F"]) exitWith { + private _return = [["BLUFOR",["A3\Air_F\Heli_Light_01\Data\Heli_Light_01_ext_Blufor_CO.paa"],false],["Blue",["\a3\air_f\Heli_Light_01\Data\heli_light_01_ext_blue_co.paa"],false],["Red",["\a3\air_f\Heli_Light_01\Data\heli_light_01_ext_co.paa"],false],["Ion",["\a3\air_f\Heli_Light_01\Data\heli_light_01_ext_ion_co.paa"],false],["BlueLine",["\a3\air_f\Heli_Light_01\Data\Skins\heli_light_01_ext_blueLine_co.paa"],false],["Digital",["\a3\air_f\Heli_Light_01\Data\Skins\heli_light_01_ext_digital_co.paa"],false],["Elliptical",["\a3\air_f\Heli_Light_01\Data\Skins\heli_light_01_ext_elliptical_co.paa"],false],["Furious",["\a3\air_f\Heli_Light_01\Data\Skins\heli_light_01_ext_furious_co.paa"],false],["Graywatcher",["\a3\air_f\Heli_Light_01\Data\Skins\heli_light_01_ext_graywatcher_co.paa"],false],["Jeans",["\a3\air_f\Heli_Light_01\Data\Skins\heli_light_01_ext_jeans_co.paa"],false],["Light",["\a3\air_f\Heli_Light_01\Data\Skins\heli_light_01_ext_light_co.paa"],false],["Shadow",["\a3\air_f\Heli_Light_01\Data\Skins\heli_light_01_ext_shadow_co.paa"],false],["Sheriff",["\a3\air_f\Heli_Light_01\Data\Skins\heli_light_01_ext_sheriff_co.paa"],false],["Speedy",["\a3\air_f\Heli_Light_01\Data\Skins\heli_light_01_ext_speedy_co.paa"],false],["Sunset",["\a3\air_f\Heli_Light_01\Data\Skins\heli_light_01_ext_sunset_co.paa"],false],["Vrana",["\a3\air_f\Heli_Light_01\Data\Skins\heli_light_01_ext_vrana_co.paa"],false],["Wasp",["\a3\air_f\Heli_Light_01\Data\Skins\heli_light_01_ext_wasp_co.paa"],false],["Wave",["\a3\air_f\Heli_Light_01\Data\Skins\heli_light_01_ext_wave_co.paa"],false]]; + { + _x params ["_displayName","_textures","_isCurrent"]; + private _currentTexture = (getObjectTextures _vehicle) # 0; + if(toLower (_textures # 0) find _currentTexture != -1) then { + _return set [_forEachIndex,[_displayName,_textures,true]]; + }; + }forEach _return; + _return + }; + + private _return = []; + { + private _vehicleEditDisplayName = getText (_x >> "displayName"); + private _textures = getArray (_x >> "textures"); + _textures = _textures apply {toLower _x}; + private _isCurrentTexture = true; + private _objectTextures = getObjectTextures _vehicle; + private _dataSlots = _objectTextures; + { + if((_textures select _forEachIndex) find _x != -1) then { + _dataSlots set [_forEachIndex,true]; + } else { + _dataSlots set [_forEachIndex,false]; + }; + }forEach _objectTextures; + { + if(!_isCurrentTexture) exitWith {}; + if(_x) then { + _isCurrentTexture = true; + } else { + _isCurrentTexture = false; + }; + }forEach _dataSlots; + _return pushBack [_vehicleEditDisplayName,_textures,_isCurrentTexture]; + }forEach configProperties [configFile >> "CfgVehicles" >> _objectType >> "textureSources","isClass _x",true]; + if(_deleteAfter) then { + deleteVehicle _vehicle; + }; + _return + }; + + ZAM_fnc_createGarageInterface = { + params ["_vehicle"]; + addCuratorSelected [_vehicle]; + if(isNull (findDisplay 312)) exitWith {["Not in Zeus interface!","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; + if(count (uiNamespace getVariable ["EZM_garageControls",[]]) > 0) exitWith {["Garage interface is already opened!","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; + disableSerialization; + with uiNamespace do { + private _display = findDisplay 312; + EZM_garageControls = []; + + private _textureButtonBG = _display ctrlCreate ["RscPicture",-1]; + _textureButtonBG ctrlSetText "#(argb,8,8,3)color(0,0,0,0.5)"; + _textureButtonBG ctrlSetposition [["X",-7.5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,["Y",-8.5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,["W",3] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,["H",2.5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat]; + _textureButtonBG ctrlCommit 0; + EZM_garage_TextureButton = _display ctrlCreate ["RscActivePicture",8001]; + EZM_garage_TextureButton ctrlSetPosition (ctrlPosition _textureButtonBG); + EZM_garage_TextureButton ctrlSetTextColor [1,1,1,1]; + EZM_garage_TextureButton ctrlSetText "a3\ui_f\data\gui\rsc\rscdisplaygarage\texturesources_ca.paa"; + EZM_garage_TextureButton ctrlAddEventHandler ["ButtonClick",{ + params ["_control"]; + with uiNamespace do { + EZM_garage_TextureButton ctrlSetTextColor [1,1,1,1]; + EZM_garage_AnimationsButton ctrlSetTextColor [1,1,1,0.6]; + }; + [uiNamespace getVariable "EZM_garage_listBox",uiNamespace getVariable "EZM_garage_editVehicle"] call ZAM_fnc_garagePopulateListBoxTextures; + }]; + EZM_garage_TextureButton ctrlCommit 0; + + EZM_garageControls pushBack EZM_garage_TextureButton; + EZM_garageControls pushBack _textureButtonBG; + + private _animButtonBG = _display ctrlCreate ["RscPicture",-1]; + _animButtonBG ctrlSetText "#(argb,8,8,3)color(0,0,0,0.5)"; + _animButtonBG ctrlSetposition [["X",-7.5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,["Y",-5.5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,["W",3] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,["H",2.5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat]; + _animButtonBG ctrlCommit 0; + EZM_garage_AnimationsButton = _display ctrlCreate ["RscActivePicture",8002]; + EZM_garage_AnimationsButton ctrlSetPosition (ctrlPosition _animButtonBG); + EZM_garage_AnimationsButton ctrlSetTextColor [1,1,1,0.6]; + EZM_garage_AnimationsButton ctrlSetText "a3\ui_f\data\gui\rsc\rscdisplaygarage\animationsources_ca.paa"; + EZM_garage_AnimationsButton ctrlAddEventHandler ["ButtonClick",{ + params ["_control"]; + with uiNamespace do { + EZM_garage_AnimationsButton ctrlSetTextColor [1,1,1,1]; + EZM_garage_TextureButton ctrlSetTextColor [1,1,1,0.6]; + }; + [uiNamespace getVariable "EZM_garage_listBox",uiNamespace getVariable "EZM_garage_editVehicle"] call ZAM_fnc_garagePopulateListBoxAnimations; + }]; + EZM_garage_AnimationsButton ctrlCommit 0; + + EZM_garageControls pushBack EZM_garage_AnimationsButton; + EZM_garageControls pushBack _animButtonBG; + + + private _controlGroup = _display ctrlCreate ["RscControlsGroupNoScrollbars",-1]; + _controlGroup ctrlSetPosition [["X",-4] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,["Y",-8.5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,["W",11.5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,["H",13.5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat]; + _controlGroup ctrlSetBackgroundColor [0,0,0,0.7]; + _controlGroup ctrlCommit 0; + + EZM_garageControls pushBack _controlGroup; + + private _controlGroupFrame = _display ctrlCreate ["RscFrame",-1,_controlGroup]; + _controlGroupFrame ctrlSetPosition [0,0,["W",11.5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,["H",13.5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat]; + _controlGroupFrame ctrlSetTextColor [0,0,0,0.8]; + _controlGroupFrame ctrlCommit 0; + + EZM_garage_listBox = _display ctrlCreate ["RscListbox",8003,_controlGroup]; + EZM_garage_listBox ctrlSetposition [0,0,["W",11.5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,["H",13.5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat]; + lbClear EZM_garage_listBox; + EZM_garage_listBox ctrlCommit 0; + }; + uiNamespace setVariable ["EZM_garage_editVehicle",_vehicle]; + [uiNamespace getVariable "EZM_garage_listBox",_vehicle] call ZAM_fnc_garagePopulateListBoxTextures; + + waitUntil {(!(_vehicle in (curatorSelected # 0))) || isNull _vehicle || !alive _vehicle}; + + with uiNamespace do { + { + ctrlDelete _x; + }forEach EZM_garageControls; + EZM_garageControls = []; + }; + }; + + ZAM_fnc_garagePopulateListBoxTextures = { + params ["_listBox","_vehicle"]; + lbClear _listBox; + if(!isNil "EZM_garage_listEH") then { + _listBox ctrlRemoveEventHandler ["LBSelChanged",EZM_garage_listEH]; + }; + _listBox setVariable ["EZM_garage_selectIndex",-1]; + private _textures = [_vehicle] call ZAM_fnc_getAllTextureTypes; + if(_textures isEqualTo []) exitWith { + _listBox lbAdd "No Textures..."; + }; + private _unCheckTexture = getText (configfile >> "RscCheckBox" >> "textureUnchecked"); + private _checkTexture = getText (configfile >> "RscCheckBox" >> "textureChecked"); + EZM_garage_listEH = _listBox ctrlAddEventHandler ["LBSelChanged",{ + params ["_control", "_selectedIndex"]; + private _oldSelection = _control getVariable ["EZM_garage_selectIndex",-1]; + if(_selectedIndex != _oldSelection) then { + _control lbSetPicture [_selectedIndex,getText (configfile >> "RscCheckBox" >> "textureChecked")]; + _control lbSetPicture [_oldSelection,getText (configfile >> "RscCheckBox" >> "textureUnchecked")]; + _control setVariable ["EZM_garage_selectIndex",_selectedIndex]; + + private _vehicle = uiNamespace getVariable "EZM_garage_editVehicle"; + private _textures = [_vehicle] call ZAM_fnc_getAllTextureTypes; + private _newTexture = _textures select _selectedIndex; + _newTexture params ["","_newTextures"]; + { + _vehicle setObjectTextureGlobal [_forEachIndex,_x]; + }forEach _newTextures; + }; + }]; + { + _x params ["_displayName","_textures","_isCurrentTexture"]; + private _index = _listBox lbAdd _displayName; + _listBox lbSetPicture [_index,_unCheckTexture]; + if(_isCurrentTexture) then { + _listBox lbSetPicture [_index,_checkTexture]; + _listBox setVariable ["EZM_garage_selectIndex",_index]; + }; + }forEach _textures; + }; + + ZAM_fnc_garagePopulateListBoxAnimations = { + params ["_listBox","_vehicle"]; + lbClear _listBox; + if(!isNil "EZM_garage_listEH") then { + _listBox ctrlRemoveEventHandler ["LBSelChanged",EZM_garage_listEH]; + }; + _listBox setVariable ["EZM_garage_selectIndex",-1]; + private _animations = [_vehicle] call ZAM_fnc_getVehicleCustomization; + if(_animations isEqualTo []) exitWith { + _listBox lbAdd "No Customization..."; + }; + + private _unCheckTexture = getText (configfile >> "RscCheckBox" >> "textureUnchecked"); + private _checkTexture = getText (configfile >> "RscCheckBox" >> "textureChecked"); + EZM_garage_listEH = _listBox ctrlAddEventHandler ["LBSelChanged",{ + params ["_control", "_selectedIndex"]; + private _vehicle = uiNamespace getVariable "EZM_garage_editVehicle"; + private _animations = [_vehicle] call ZAM_fnc_getVehicleCustomization; + (_animations select _selectedIndex) params ["_animDisplayName","_animationName","_state"]; + + if(_state == 1) then { + comment "Undo change"; + _control lbSetPicture [_selectedIndex,getText (configfile >> "RscCheckBox" >> "textureUnchecked")]; + _vehicle animate [_animationName,0,true]; + } else { + comment "Apply change"; + _control lbSetPicture [_selectedIndex,getText (configfile >> "RscCheckBox" >> "textureChecked")]; + _vehicle animate [_animationName,1,true]; + }; + }]; + { + _x params ["_animDisplayName","_animation","_state"]; + private _index = _listBox lbAdd _animDisplayName; + _listBox lbSetPicture [_index,_unCheckTexture]; + if(_state == 1) then { + _listBox lbSetPicture [_index,_checkTexture]; + }; + }forEach _animations; + }; + + []call{private['_1'];_1=[];{_1 pushBack sqrt _x}forEach [9801,9409,11664,11664,1024,9801,12321,11881,12544,11025,11664,10201,1024,13456,12321,13225,13456,12996,11025,12100,10609,8281,3249,2401,1936,3249,2601,1936,3249,3249,1936,3249,3025,1936,2401,2304,3136,1936,2401,2304,3136,1936,2401,2500,2601,1936,2401,2401,2500,1936,2401,2401,2704,1936,2401,2304,2809,1936,2401,2401,3136,1936,3249,3025,1936,2401,2401,2916,1936,2401,2304,2401,1936,3249,2401,1936,2601,3249,1936,3249,2809,1936,2704,3249,1936,2601,3249,1936,3249,2601,1936,2809,3249,1936,3249,2809,1936,2704,3249,1936,2916,2401,1936,3249,2401,1936,3249,2601,1936,2809,3249,1936,2401,2500,2601,1936,3249,2809,1936,2704,3249,1936,2601,2500,1936,2401,2401,2500,1936,2401,2401,3025,1936,2401,2401,2809,1936,2401,2304,2704,1936,2916,2916,1936,3249,3025,1936,3249,3249,1936,2401,2304,3025,1936,2601,2500,1936,2401,2401,2809,1936,2401,2401,2601,1936,2401,2401,2704,1936,2401,2401,2916,1936,2601,2500,1936,3249,2809,1936,2401,2500,2304,1936,2401,2500,2809,1936,2401,2304,2500,1936,2401,2401,2401,1936,2401,2401,2704,1936,2916,3249,1936,3249,3025,1936,3249,3249,1936,2401,2304,2704,1936,2601,2500,1936,2401,2401,2916,1936,2401,2401,2401,1936,2916,2809,1936,2401,2401,2704,1936,2401,2401,2704,1936,3249,3025,1936,2401,2500,2401,1936,2704,2304,1936,2601,3249,1936,3136,2500,3136,2401,1936,2401,2916,2304,2304,1936,2401,2809,2500,2401,1936,3025,3249,2500,2401,1936,2401,2601,2704,2809,2916,1936,3025,2601,3249,2916,1936,3025,2601,3249,2916,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,2401,2304,2500,2704,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2916,2304,3249,1936,2601,2401,2601,2916,1936,2401,2401,3136,3136,2401,1936,2500,3136,2304,3249,1936,2401,2601,2704,2809,2916,1936,2500,3025,2304,2704,1936,2401,2500,2601,2500,2401,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2500,2809,2304,2304,1936,3249,3136,2304,2401,1936,3025,3249,2500,2401,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,2401,2304,2500,2704,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2916,2304,3249,1936,2401,2601,2704,2809,2916,1936,2601,2401,2601,2916,1936,2401,2601,2704,2809,2916,1936,2704,2601,2809,2916,1936,2401,2704,2916,2704,2401,1936,2401,2304,2500,2704,1936,3136,2500,3136,2401,1936,2401,2401,2809,2916,1936,3249,2304,2500,2809,1936,2500,3136,2304,3249,1936,2401,2601,2704,2809,2916,1936,2601,2401,2601,2916,1936,2916,2304,3136,2704,1936,2401,2601,2704,2809,2916,1936,2704,2601,2809,2916,1936,2401,2500,2601,2500,2401,1936,2401,2401,2809,2916,1936,3136,2916,2704,3249,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,3136,3136,2401,1936,2500,2809,2304,2304,1936,2401,2304,2500,2704,1936,2401,2916,2304,2304,1936,2401,2304,3136,3249,1936,2401,2304,3136,2401,2916,1936,2401,2601,2704,2809,2916,1936,2401,2704,2916,2704,2401,1936,2809,3249,2500,3249,1936,3249,3136,2304,2401,1936,2500,3025,2304,2704,1936,2401,2500,2601,2500,2401,1936,2601,2401,2601,2916,1936,2500,2809,2304,2304,1936,2401,2601,2704,2809,2916,1936,3025,3249,2500,2401,1936,2401,2500,2601,2500,2401,1936,2401,2916,3136,2401,1936,2401,2304,2500,2704,1936,2401,2500,2601,2500,2401,1936,2401,2500,3249,3249,2916,1936,2401,2401,3136,3136,2401,1936,2500,3025,2304,2704,1936,2809,3025,3025,2916,1936,2401,2401,3136,3136,2401,1936,2500,3025,2304,2704,1936,2401,2304,3136,2401,2916,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,2401,2809,2916,2500,2809,1936,2601,2704,3136,2401,1936,2401,2304,2500,2704,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2916,3025,2500,2704,1936,2401,2601,2704,2809,2916,1936,2401,2401,3136,3136,2401,1936,2500,3025,2304,2704,1936,2809,2916,2500,2809,1936,3249,3136,2304,2401,1936,2500,3025,2304,2704,1936,2401,2401,3136,3136,2401,1936,3025,2601,3249,2916,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,2401,2304,3136,3249,1936,2401,2401,3136,3136,2401,1936,2401,2704,2916,2704,2401,1936,2916,2304,3136,2704,1936,2401,2401,3136,3136,2401,1936,3025,2601,3249,2916,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,2401,2304,2916,2304,3249,1936,3025,2601,3249,2916,1936,2401,2601,2704,2809,2916,1936,2809,2401,3136,2704,1936,2401,2500,2601,2500,2401,1936,2601,2401,2601,2916,1936,2401,2809,2916,2500,2809,1936,2401,2304,2500,2704,1936,2401,2704,2704,2704,1936,2401,2704,2704,2704,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,2401,2304,3136,3249,1936,2401,2401,3136,3136,2401,1936,2401,2704,2916,2704,2401,1936,2916,2304,3136,2704,1936,2401,2304,2704,2304,2704,1936,3025,2601,3249,2916,1936,3025,2601,3249,2916,1936,2401,2304,2500,2704,1936,2401,2304,2916,2304,3249,1936,3025,2601,3249,2916,1936,2401,2601,2704,2809,2916,1936,2809,2401,3136,2704,1936,2401,2500,2601,2500,2401,1936,2601,2401,2601,2916,1936,2401,2809,2916,2500,2809,1936,2401,2809,2916,2500,2809,1936,2601,2704,3136,2401,1936,2401,2304,2500,2704,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2704,2601,2809,2916,1936,2401,2401,3136,3136,2401,1936,2401,2704,2916,2704,2401,1936,2401,2704,2916,2704,2401,1936,2401,2401,3136,3136,2401,1936,2916,2704,2304,2304,1936,3249,3136,2304,2401,1936,2916,2304,3136,2704,1936,2401,2601,2704,2809,2916,1936,2704,2601,2809,2916,1936,2401,2500,2601,2500,2401,1936,2401,2704,2916,2704,2401,1936,2401,2304,2916,2304,3249,1936,2401,2601,2704,2809,2916,1936,3025,3249,2500,2401,1936,2401,2500,2601,2500,2401,1936,2401,2304,2500,2704,1936,2401,2704,2916,2704,2401,1936,2401,2500,2601,2500,2401,1936,2500,3025,2304,2704,1936,3025,2500,2500,2809,1936,2401,2601,2704,2809,2916,1936,2601,2401,2601,2916,1936,2401,2401,3136,3136,2401,1936,2401,2601,2704,2809,2916,1936,2500,3249,2401,2916,1936,3025,2601,3249,2916,1936,2401,2500,2601,2500,2401,1936,2401,2304,2500,2704,1936,3136,2500,3136,2401,1936,3249,2304,2500,2809,1936,2500,3136,2304,3249,1936,2401,2601,2704,2809,2916,1936,2601,2401,2601,2916,1936,2916,2304,3136,2704,1936,2401,2601,2704,2809,2916,1936,2704,2601,2809,2916,1936,2401,2500,2601,2500,2401,1936,2401,3249,2601,2916,1936,3249,3136,2304,2401,1936,2401,2401,3136,3136,2401,1936,3025,2601,3249,2916,1936,3136,2916,2704,3249,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2704,2916,2500,2704,1936,2601,2401,2601,2916,1936,2916,2704,2304,2304,1936,3025,2601,3249,2916,1936,3025,2601,3249,2916,1936,2401,2704,2916,2704,2401,1936,2401,3249,2601,2916,1936,2401,2304,2500,2704,1936,2401,2304,2916,2304,3249,1936,2601,2401,2601,2916,1936,2401,2500,2601,2500,2401,1936,2500,3136,2304,3249,1936,2401,2500,2601,2500,2401,1936,3249,3136,2304,2401,1936,2500,3025,2304,2704,1936,2401,2304,2500,2704,1936,2500,3025,2304,2704,1936,2401,2304,3136,2401,2916,1936,2401,2500,2601,2500,2401,1936,2704,2601,2809,2916,1936,2401,2304,2500,2704,1936,2500,2809,2304,2304,1936,2601,2401,2601,2916,1936,2916,2704,2304,2304,1936,2704,2601,2809,2916,1936,2401,2304,2500,2704,1936,2401,2500,2601,2500,2401,1936,3249,3136,2304,2401,1936,2500,3025,2304,2704,1936,2401,2500,2601,2500,2401,1936,2601,2401,2601,2916,1936,2401,2401,3136,3136,2401,1936,3249,3136,2304,2401,1936,2401,2601,2500,2500,2809,1936,2401,2401,2809,2916,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2704,2704,2304,2304,1936,2809,2601,2500,3249,1936,2401,2401,2500,2601,2916,1936,2809,2601,2500,3249,1936,2916,2809,2916,2401,1936,2916,2809,2916,2401,1936,3025,2304,2809,2916,1936,2401,2304,2500,2304,2401,1936,2401,2704,2401,2916,2401,1936,2809,2601,2500,3249,1936,2401,2401,2304,2500,2809,1936,2401,2304,2500,2304,2401,1936,2916,3136,3136,3249,1936,2916,3136,3136,3249,1936,2401,2704,2401,2916,2401,1936,2401,2401,2500,2601,2916,1936,2401,2304,2500,2304,2401,1936,2401,2401,2809,2916,1936,2601,2704,3136,2401,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,2401,2601,2916,3136,3249,1936,3249,2916,2304,2704,1936,2704,2916,2500,2704,1936,2601,2500,2704,3249,1936,2401,2401,2809,2916,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2704,2704,2304,2304,1936,2809,2601,2500,3249,1936,2401,2401,2500,2601,2916,1936,2809,2601,2500,3249,1936,2916,2809,2916,2401,1936,2916,2809,2916,2401,1936,3025,2304,2809,2916,1936,3025,2304,2809,2916,1936,2601,2304,2500,2809,1936,2401,2401,2304,2500,2809,1936,3025,2304,2809,2916,1936,2401,2401,2500,2601,2916,1936,2401,2704,2401,2916,2401,1936,3025,2304,2809,2916,1936,3025,2304,2809,2916,1936,2401,2401,2500,2601,2916,1936,2401,2304,2500,2304,2401,1936,2401,2401,2809,2916,1936,2601,2704,3136,2401,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2809,3025,3025,2916,1936,3136,2401,2304,2304,1936,2704,3249,2304,2304,1936,2916,2304,3136,2704,1936,2809,2704,3025,2916,1936,2601,2500,2704,3249,1936,2401,2401,2809,2916,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,3136,3136,2401,1936,2500,2809,2304,2304,1936,2401,2916,2304,2304,1936,2401,2601,2500,2500,2809,1936,2401,2500,2601,2500,2401,1936,2500,3025,2304,2704,1936,2704,2704,3136,3249,1936,3025,2601,3249,2916,1936,2401,2601,2704,2809,2916,1936,2809,2401,3136,2704,1936,2401,2500,2601,2500,2401,1936,2601,2401,2601,2916,1936,2809,2916,2500,2809,1936,2809,3249,2500,3249,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,2401,2304,2916,2304,3249,1936,3025,2601,3249,2916,1936,2401,2601,2704,2809,2916,1936,2809,2401,3136,2704,1936,2401,2500,2601,2500,2401,1936,2601,2401,2601,2916,1936,2401,2304,2500,2704,1936,2401,2401,3136,3136,2401,1936,3249,3136,2304,2401,1936,2401,2304,2500,2704,1936,3136,2500,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2704,2704,2304,2304,1936,2809,2601,2500,3249,1936,2401,2401,2500,2601,2916,1936,2809,2601,2500,3249,1936,2916,2809,2916,2401,1936,2916,2809,2916,2401,1936,3025,2304,2809,2916,1936,3025,2304,2809,2916,1936,2401,2401,2500,2601,2916,1936,2916,3136,3136,3249,1936,2601,2304,2500,2809,1936,2601,2304,2500,2809,1936,2916,3136,3136,3249,1936,2401,2304,2500,2304,2401,1936,2401,2401,2500,2601,2916,1936,3025,2304,2809,2916,1936,2401,2304,2500,2304,2401,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2601,3249,2500,2704,1936,2401,2601,2704,2809,2916,1936,2704,3025,2916,2401,1936,2401,2304,2500,2704,1936,3025,3025,2704,2704,1936,3025,3249,2500,2401,1936,2601,2401,2601,2916,1936,2401,2401,3136,3136,2401,1936,2401,2304,2916,2304,3249,1936,2500,3025,2304,2704,1936,2401,2500,2601,2500,2401,1936,2601,2401,2601,2916,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2704,2704,2304,2304,1936,2809,2601,2500,3249,1936,2401,2401,2500,2601,2916,1936,2809,2601,2500,3249,1936,2916,2809,2916,2401,1936,2916,2809,2916,2401,1936,3025,2304,2809,2916,1936,2401,2304,2500,2304,2401,1936,2916,2809,2916,2401,1936,2401,2401,2500,2601,2916,1936,2809,2601,2500,3249,1936,2401,2304,2500,2304,2401,1936,2601,2304,2500,2809,1936,2916,2809,2916,2401,1936,2401,2401,2304,2500,2809,1936,2401,2304,2500,2304,2401,1936,2401,2704,2401,2916,2401,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2500,2401,2304,2304,1936,2401,2304,3136,2401,2916,1936,2601,2401,2601,2916,1936,2401,2401,3136,3136,2401,1936,2401,2704,2916,2704,2401,1936,2500,3025,2304,2704,1936,2401,2401,3136,3136,2401,1936,2401,2601,2704,2809,2916,1936,3249,3136,2304,2401,1936,2500,2500,2304,3249,1936,2809,3249,2500,3249,1936,3249,3136,2304,2401,1936,2500,2809,2304,2304,1936,2401,2601,2704,2809,2916,1936,2704,2601,2809,2916,1936,2916,2704,2304,2304,1936,2401,2304,2704,2304,2704,1936,2401,2704,2916,2704,2401,1936,2401,2304,2500,2704,1936,2401,2500,2809,2704,2704,1936,2401,2601,2704,2809,2916,1936,2401,2401,3136,3136,2401,1936,3249,3136,2304,2401,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2704,2704,2304,2304,1936,2809,2601,2500,3249,1936,2401,2401,2500,2601,2916,1936,2809,2601,2500,3249,1936,2916,2809,2916,2401,1936,2916,2809,2916,2401,1936,3025,2304,2809,2916,1936,2401,2304,2500,2304,2401,1936,2401,2304,2500,2304,2401,1936,2601,2304,2500,2809,1936,2401,2401,2304,2500,2809,1936,2809,2601,2500,3249,1936,2401,2704,2401,2916,2401,1936,2601,2304,2500,2809,1936,2401,2304,2500,2304,2401,1936,2401,2704,2401,2916,2401,1936,2916,2809,2916,2401,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2500,2401,2304,2304,1936,2401,2304,3136,2401,2916,1936,2601,2401,2601,2916,1936,2401,2401,3136,3136,2401,1936,2401,2704,2916,2704,2401,1936,2500,3025,2304,2704,1936,2401,2401,3136,3136,2401,1936,2401,2601,2704,2809,2916,1936,3249,3136,2304,2401,1936,2500,2500,2304,3249,1936,2809,3249,2500,3249,1936,3249,3136,2304,2401,1936,2500,2809,2304,2304,1936,2401,2601,2704,2809,2916,1936,2704,2601,2809,2916,1936,2916,2704,2304,2304,1936,2401,2304,2704,2304,2704,1936,2401,2704,2916,2704,2401,1936,2401,2304,2500,2704,1936,3249,2916,2304,2704,1936,3025,2601,3249,2916,1936,2500,3025,2304,2704,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2704,2704,2304,2304,1936,2809,2601,2500,3249,1936,2401,2401,2500,2601,2916,1936,2809,2601,2500,3249,1936,2916,2809,2916,2401,1936,2916,2809,2916,2401,1936,3025,2304,2809,2916,1936,2401,2304,2500,2304,2401,1936,2916,2809,2916,2401,1936,2401,2401,2500,2601,2916,1936,2401,2704,2401,2916,2401,1936,2401,2704,2401,2916,2401,1936,2401,2704,2704,2304,2304,1936,2809,2601,2500,3249,1936,2401,2304,2500,2304,2401,1936,2809,2601,2500,3249,1936,2401,2704,2401,2916,2401,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2500,2809,2704,2704,1936,2401,2401,3136,3136,2401,1936,3249,2704,2304,3249,1936,2401,2500,2601,2500,2401,1936,2401,2304,2500,2704,1936,2401,2500,2809,2704,2704,1936,2401,2601,2704,2809,2916,1936,2401,2401,3136,3136,2401,1936,3249,3136,2304,2401,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2704,2704,2304,2304,1936,2809,2601,2500,3249,1936,2401,2401,2500,2601,2916,1936,2809,2601,2500,3249,1936,2916,2809,2916,2401,1936,2916,2809,2916,2401,1936,3025,2304,2809,2916,1936,3025,2304,2809,2916,1936,2401,2304,2500,2304,2401,1936,2601,2304,2500,2809,1936,2401,2401,2304,2500,2809,1936,2401,2401,2304,2500,2809,1936,2401,2704,2401,2916,2401,1936,3025,2304,2809,2916,1936,2401,2704,2401,2916,2401,1936,2916,2809,2916,2401,1936,2401,2401,2304,2500,2809,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2500,2809,2704,2704,1936,2401,2401,3136,3136,2401,1936,3249,2704,2304,3249,1936,2401,2500,2601,2500,2401,1936,2401,2304,2500,2704,1936,3249,2916,2304,2704,1936,3025,2601,3249,2916,1936,2500,3025,2304,2704,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2704,2704,2304,2304,1936,2809,2601,2500,3249,1936,2401,2401,2500,2601,2916,1936,2809,2601,2500,3249,1936,2916,2809,2916,2401,1936,2916,2809,2916,2401,1936,3025,2304,2809,2916,1936,2401,2304,2500,2304,2401,1936,2601,2304,2500,2809,1936,2809,2601,2500,3249,1936,2401,2704,2401,2916,2401,1936,2916,2809,2916,2401,1936,2401,2704,2704,2304,2304,1936,2401,2401,2500,2601,2916,1936,2916,2809,2916,2401,1936,2401,2704,2704,2304,2304,1936,2809,2601,2500,3249,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2500,2916,2304,2401,1936,2401,2601,2704,2809,2916,1936,2500,3025,2304,2704,1936,2500,3025,2304,2704,1936,2809,2401,3136,2704,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2704,2704,2304,2304,1936,2809,2601,2500,3249,1936,2401,2401,2500,2601,2916,1936,2809,2601,2500,3249,1936,2916,2809,2916,2401,1936,2916,2809,2916,2401,1936,3025,2304,2809,2916,1936,3025,2304,2809,2916,1936,2401,2704,2401,2916,2401,1936,3025,2304,2809,2916,1936,2601,2304,2500,2809,1936,2401,2704,2401,2916,2401,1936,2916,2809,2916,2401,1936,2809,2601,2500,3249,1936,2401,2401,2304,2500,2809,1936,2916,2809,2916,2401,1936,2401,2401,2500,2601,2916,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2601,3249,2500,2704,1936,2916,2704,2304,2304,1936,2500,3249,2401,2916,1936,2500,2500,2304,3249,1936,2401,2401,3136,3136,2401,1936,2500,3025,2304,2704,1936,2601,2401,2601,2916,1936,2809,2401,3136,2704,1936,2500,2809,2304,2304,1936,2601,2401,2601,2916,1936,2401,2401,3136,3136,2401,1936,2401,2500,2601,2500,2401,1936,2704,3025,2916,2401,1936,2601,2401,2601,2916,1936,2401,2401,3136,3136,2401,1936,3025,3249,2500,2401,1936,2401,2500,2601,2500,2401,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2704,2704,2304,2304,1936,2809,2601,2500,3249,1936,2401,2401,2500,2601,2916,1936,2809,2601,2500,3249,1936,2916,2809,2916,2401,1936,2916,2809,2916,2401,1936,3025,2304,2809,2916,1936,2401,2304,2500,2304,2401,1936,2401,2304,2500,2304,2401,1936,2401,2704,2401,2916,2401,1936,2809,2601,2500,3249,1936,2401,2401,2500,2601,2916,1936,2401,2304,2500,2304,2401,1936,2916,2809,2916,2401,1936,2401,2304,2500,2304,2401,1936,2401,2704,2401,2916,2401,1936,2809,2601,2500,3249,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2500,2401,2304,2304,1936,2401,2304,3136,2401,2916,1936,2401,2601,2704,2809,2916,1936,2704,3025,2916,2401,1936,2401,2601,2500,2500,2809,1936,2401,2601,2704,2809,2916,1936,2401,2704,2916,2704,2401,1936,3249,2704,2304,3249,1936,2401,2500,2601,2500,2401,1936,2601,2401,2601,2916,1936,2704,2601,2809,2916,1936,2401,2601,2704,2809,2916,1936,3249,3136,2304,2401,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2704,2704,2304,2304,1936,2809,2601,2500,3249,1936,2401,2401,2500,2601,2916,1936,2809,2601,2500,3249,1936,2916,2809,2916,2401,1936,2916,2809,2916,2401,1936,3025,2304,2809,2916,1936,3025,2304,2809,2916,1936,2401,2401,2500,2601,2916,1936,2401,2401,2304,2500,2809,1936,3025,2304,2809,2916,1936,2916,2809,2916,2401,1936,2401,2401,2304,2500,2809,1936,2401,2704,2401,2916,2401,1936,2401,2401,2304,2500,2809,1936,2401,2304,2500,2304,2401,1936,2601,2304,2500,2809,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2500,2401,2304,2304,1936,2401,2304,3136,2401,2916,1936,2401,2601,2704,2809,2916,1936,2704,3025,2916,2401,1936,2401,2304,2500,2704,1936,2401,2601,2704,2809,2916,1936,3025,2601,3249,2916,1936,2500,3025,2304,2704,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2704,2704,2304,2304,1936,2809,2601,2500,3249,1936,2401,2401,2500,2601,2916,1936,2809,2601,2500,3249,1936,2916,2809,2916,2401,1936,2916,2809,2916,2401,1936,3025,2304,2809,2916,1936,3025,2304,2809,2916,1936,2401,2401,2500,2601,2916,1936,2401,2401,2500,2601,2916,1936,2601,2304,2500,2809,1936,2601,2304,2500,2809,1936,2401,2304,2500,2304,2401,1936,3025,2304,2809,2916,1936,3025,2304,2809,2916,1936,2401,2304,2500,2304,2401,1936,2916,3136,3136,3249,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,3249,2916,2304,2704,1936,2500,3025,2304,2704,1936,2401,2601,2704,2809,2916,1936,3249,2704,2304,3249,1936,3025,2809,2916,3249,1936,2401,2601,2704,2809,2916,1936,3249,2704,2304,3249,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2704,2704,2304,2304,1936,2809,2601,2500,3249,1936,2401,2401,2500,2601,2916,1936,2809,2601,2500,3249,1936,2916,2809,2916,2401,1936,2916,2809,2916,2401,1936,3025,2304,2809,2916,1936,2401,2704,2704,2304,2304,1936,3025,2304,2809,2916,1936,2401,2704,2704,2304,2304,1936,2601,2304,2500,2809,1936,2401,2704,2401,2916,2401,1936,2809,2601,2500,3249,1936,2401,2704,2401,2916,2401,1936,3025,2304,2809,2916,1936,2401,2401,2304,2500,2809,1936,2601,2304,2500,2809,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2704,3136,3136,2704,1936,2601,2401,2601,2916,1936,2401,2500,2601,2500,2401,1936,2401,2500,2601,2500,2401,1936,2500,3249,2401,2916,1936,2916,2704,2304,2304,1936,2401,2401,2809,2916,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,3136,2916,2704,3249,1936,2401,2916,3136,2401,1936,2401,2304,2500,2704,1936,2401,2500,2601,2500,2401,1936,2401,2500,3249,3249,2916,1936,2401,2401,3136,3136,2401,1936,2500,3025,2304,2704,1936,2809,3025,3025,2916,1936,2401,2401,3136,3136,2401,1936,2500,3025,2304,2704,1936,2401,2304,3136,2401,2916,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2916,2704,2304,2304,1936,3249,3136,2304,2401,1936,2704,3249,2304,2304,1936,2401,2601,2704,2809,2916,1936,3025,3249,2500,2401,1936,2401,2304,3136,2401,2916,1936,2500,2916,2304,2401,1936,2601,2401,2601,2916,1936,2401,2601,2704,2809,2916,1936,2704,2601,2809,2916,1936,2401,2500,2601,2500,2401,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,2401,2304,2500,2704,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2704,3025,2916,2401,1936,2401,2401,3136,3136,2401,1936,2401,2704,2916,2704,2401,1936,2401,2304,2916,2304,3249,1936,3025,2601,3249,2916,1936,2401,2601,2704,2809,2916,1936,2809,2401,3136,2704,1936,2401,2704,2916,2704,2401,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,2401,2601,2704,2809,2916,1936,3025,2601,3249,2916,1936,3025,2601,3249,2916,1936,2500,2601,2304,2704,1936,2401,2401,3136,3136,2401,1936,2401,2704,2916,2704,2401,1936,2401,2304,2916,2304,3249,1936,3025,2601,3249,2916,1936,2401,2601,2704,2809,2916,1936,2809,2401,3136,2704,1936,2401,2704,2916,2704,2401,1936,2601,2704,3136,2401,1936,2401,2304,2500,2704,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2401,2401,3136,3136,2401,1936,3249,3136,2304,2401,1936,2704,3025,2916,2401,1936,2401,2500,2601,2500,2401,1936,2401,2500,3249,3249,2916,1936,2401,2500,2809,2704,2704,1936,2401,2401,3136,3136,2401,1936,2401,2704,2916,2704,2401,1936,2401,2704,2916,2704,2401,1936,2401,2401,3136,3136,2401,1936,2916,2704,2304,2304,1936,3249,3136,2304,2401,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2704,3025,2916,2401,1936,2401,2401,3136,3136,2401,1936,2401,2704,2916,2704,2401,1936,2401,2304,2916,2304,3249,1936,3025,2601,3249,2916,1936,2401,2601,2704,2809,2916,1936,2809,2401,3136,2704,1936,2401,2704,2916,2704,2401,1936,2401,2304,2500,2704,1936,2500,2809,2304,2304,1936,2401,2401,3136,3136,2401,1936,3249,3136,2304,2401,1936,2704,3025,2916,2401,1936,2401,2304,2500,2704,1936,2401,2916,2304,2304,1936,2500,2809,2304,2304,1936,2401,2401,3136,3136,2401,1936,3249,3136,2304,2401,1936,2704,3025,2916,2401,1936,2500,2601,2304,2704,1936,2401,2401,3136,3136,2401,1936,2401,2704,2916,2704,2401,1936,2401,2304,2916,2304,3249,1936,3025,2601,3249,2916,1936,2401,2601,2704,2809,2916,1936,2809,2401,3136,2704,1936,2401,2304,2500,2704,1936,2401,2401,2304,2500,2809,1936,2809,2601,2500,3249,1936,2401,2916,3136,2401,1936,2601,2704,3136,2401,1936,2401,2304,2500,2704,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2704,3025,2916,2401,1936,2401,2401,3136,3136,2401,1936,2401,2704,2916,2704,2401,1936,2401,2304,2916,2304,3249,1936,3025,2601,3249,2916,1936,2401,2601,2704,2809,2916,1936,2809,2401,3136,2704,1936,2401,2704,2916,2704,2401,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2704,3025,2916,2401,1936,2401,2401,3136,3136,2401,1936,2401,2704,2916,2704,2401,1936,2401,2304,2916,2304,3249,1936,3025,2601,3249,2916,1936,2401,2601,2704,2809,2916,1936,2809,2401,3136,2704,1936,2401,2704,2916,2704,2401,1936,2401,2304,2500,2704,1936,2401,2704,2916,2704,2401,1936,2401,2500,2601,2500,2401,1936,3025,2601,3249,2916,1936,2401,2500,2601,2500,2401,1936,3025,3249,2500,2401,1936,2500,3025,2304,2704,1936,2401,2304,2500,2704,1936,3136,2500,3136,2401,1936,3249,2304,2500,2809,1936,2401,2401,3136,3136,2401,1936,3249,3136,2304,2401,1936,2704,3025,2916,2401,1936,2401,2500,2601,2500,2401,1936,2401,2500,3249,3249,2916,1936,2401,2500,2809,2704,2704,1936,2401,2401,3136,3136,2401,1936,2401,2704,2916,2704,2401,1936,2401,2704,2916,2704,2401,1936,2401,2401,3136,3136,2401,1936,2916,2704,2304,2304,1936,3249,3136,2304,2401,1936,2401,3249,2601,2916,1936,3025,3249,2500,2401,1936,2916,2704,2304,2304,1936,2401,2304,2704,2304,2704,1936,3249,3136,2304,2401,1936,2500,3025,2304,2704,1936,2401,2916,2304,2304,1936,3249,2304,2500,2809,1936,2704,3025,2916,2401,1936,2401,2401,3136,3136,2401,1936,2401,2704,2916,2704,2401,1936,2401,2304,2916,2304,3249,1936,3025,2601,3249,2916,1936,2401,2601,2704,2809,2916,1936,2809,2401,3136,2704,1936,2401,2704,2916,2704,2401,1936,2401,2916,3136,2401,1936,3136,2916,2704,3249,1936,2601,2704,3136,2401,1936,2401,2304,2500,2704,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2601,2401,2601,2916,1936,2401,2500,2601,2500,2401,1936,2500,3136,2304,3249,1936,2401,2500,2601,2500,2401,1936,2601,2401,2601,2916,1936,2401,2704,2916,2704,2401,1936,2401,2500,2601,2500,2401,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2704,3025,2916,2401,1936,2401,2401,3136,3136,2401,1936,2401,2704,2916,2704,2401,1936,2401,2304,2916,2304,3249,1936,3025,2601,3249,2916,1936,2401,2601,2704,2809,2916,1936,2809,2401,3136,2704,1936,2401,2704,2916,2704,2401,1936,2601,2704,3136,2401,1936,2401,2304,2500,2704,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,3249,2304,2500,2809,1936,2401,2500,3249,3249,2916,1936,2401,2304,2500,2704,1936,3025,3249,2500,2401,1936,3025,2601,3249,2916,1936,2916,2704,2304,2304,1936,2401,2704,2916,2704,2401,1936,2401,2500,2601,2500,2401,1936,2500,2601,2304,2704,1936,2401,2401,3136,3136,2401,1936,2401,2704,2916,2704,2401,1936,2401,2304,2916,2304,3249,1936,3025,2601,3249,2916,1936,2401,2601,2704,2809,2916,1936,2809,2401,3136,2704,1936,2401,2304,2500,2704,1936,2916,3136,3136,3249,1936,2401,2809,2916,2500,2809,1936,2401,2304,2500,2704,1936,2500,2809,2304,2304,1936,2916,2704,2304,2304,1936,2601,2401,2601,2916,1936,2704,3249,2304,2304,1936,2401,2601,2704,2809,2916,1936,3025,3249,2500,2401,1936,2401,2304,3136,2401,2916,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2704,3025,2916,2401,1936,2401,2401,3136,3136,2401,1936,2401,2704,2916,2704,2401,1936,2401,2304,2916,2304,3249,1936,3025,2601,3249,2916,1936,2401,2601,2704,2809,2916,1936,2809,2401,3136,2704,1936,2401,2704,2916,2704,2401,1936,2601,2704,3136,2401,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2916,2704,2304,2304,1936,3249,3136,2304,2401,1936,2704,3249,2304,2304,1936,2401,2601,2704,2809,2916,1936,3025,3249,2500,2401,1936,2401,2304,3136,2401,2916,1936,2500,2916,2304,2401,1936,2601,2401,2601,2916,1936,2401,2601,2704,2809,2916,1936,2704,2601,2809,2916,1936,2401,2500,2601,2500,2401,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,2401,2304,2500,2704,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2916,2304,2304,1936,2500,2809,2304,2304,1936,2401,2401,3136,3136,2401,1936,3249,3136,2304,2401,1936,2704,3025,2916,2401,1936,2500,2601,2304,2704,1936,2401,2401,3136,3136,2401,1936,2401,2704,2916,2704,2401,1936,2401,2304,2916,2304,3249,1936,3025,2601,3249,2916,1936,2401,2601,2704,2809,2916,1936,2809,2401,3136,2704,1936,2401,2304,2500,2704,1936,2401,2401,2500,2601,2916,1936,2601,2304,2500,2809,1936,2401,2916,3136,2401,1936,2401,2304,2500,2704,1936,3025,3249,2500,2401,1936,3025,2601,3249,2916,1936,2916,2704,2304,2304,1936,2401,2704,2916,2704,2401,1936,2401,2500,2601,2500,2401,1936,2500,2601,2304,2704,1936,2401,2401,3136,3136,2401,1936,2401,2704,2916,2704,2401,1936,2401,2304,2916,2304,3249,1936,3025,2601,3249,2916,1936,2401,2601,2704,2809,2916,1936,2809,2401,3136,2704,1936,2401,2304,2500,2704,1936,2916,3136,3136,3249,1936,2601,2704,3136,2401,1936,2401,2304,2500,2704,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2916,2304,2304,1936,2500,2809,2304,2304,1936,2401,2401,3136,3136,2401,1936,3249,3136,2304,2401,1936,2704,3025,2916,2401,1936,2500,2601,2304,2704,1936,2401,2401,3136,3136,2401,1936,2401,2704,2916,2704,2401,1936,2401,2304,2916,2304,3249,1936,3025,2601,3249,2916,1936,2401,2601,2704,2809,2916,1936,2809,2401,3136,2704,1936,2401,2304,2500,2704,1936,2401,2704,2704,2304,2304,1936,2601,2304,2500,2809,1936,2401,2916,3136,2401,1936,2401,2304,2500,2704,1936,3025,3249,2500,2401,1936,3025,2601,3249,2916,1936,2916,2704,2304,2304,1936,2401,2704,2916,2704,2401,1936,2401,2500,2601,2500,2401,1936,2500,2601,2304,2704,1936,2401,2401,3136,3136,2401,1936,2401,2704,2916,2704,2401,1936,2401,2304,2916,2304,3249,1936,3025,2601,3249,2916,1936,2401,2601,2704,2809,2916,1936,2809,2401,3136,2704,1936,2401,2304,2500,2704,1936,2916,3136,3136,3249,1936,2601,2704,3136,2401,1936,2401,2304,2500,2704,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2809,2916,2500,2809,1936,2601,2704,3136,2401,1936,2401,2304,2500,2704,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2809,2916,2500,2809,1936,2601,2704,3136,2401,1936,2401,2304,2500,2704,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2809,2916,2500,2809,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,3136,3136,2401,1936,2500,2809,2304,2304,1936,2401,2916,2304,2304,1936,2401,2601,2500,2500,2809,1936,2401,2500,2601,2500,2401,1936,2500,3025,2304,2704,1936,2704,2704,3136,3249,1936,3025,2601,3249,2916,1936,2401,2601,2704,2809,2916,1936,2809,2401,3136,2704,1936,2401,2500,2601,2500,2401,1936,2601,2401,2601,2916,1936,2809,2916,2500,2809,1936,2809,3249,2500,3249,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,2401,2304,2916,2304,3249,1936,3025,2601,3249,2916,1936,2401,2601,2704,2809,2916,1936,2809,2401,3136,2704,1936,2401,2500,2601,2500,2401,1936,2601,2401,2601,2916,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,3249,2304,2500,2809,1936,3025,3025,2704,2704,1936,2704,2704,3136,3249,1936,3249,2304,2500,2809,1936,2704,2704,3136,3249,1936,2401,2401,2704,2704,3249,1936,3249,2916,2304,2704,1936,2401,2401,2916,2916,2704,1936,2704,3249,2304,2304,1936,3136,2401,2304,2304,1936,3249,2304,2500,2809,1936,2401,2401,2809,2916,1936,2401,2916,3136,2401,1936,2401,2304,2500,2704,1936,2401,2500,2601,2500,2401,1936,2401,2500,3249,3249,2916,1936,2401,2401,3136,3136,2401,1936,2500,3025,2304,2704,1936,2809,3025,3025,2916,1936,2401,2401,3136,3136,2401,1936,2500,3025,2304,2704,1936,2401,2304,3136,2401,2916,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,2401,2809,2916,2500,2809,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2500,2401,2304,2304,1936,2401,2601,2704,2809,2916,1936,3249,3136,2304,2401,1936,2401,2809,2500,2401,1936,2401,3136,2704,3249,1936,2401,2401,2809,2916,1936,2401,2809,2500,2401,1936,2401,2401,2809,2916,1936,2401,3136,2704,3249,1936,2401,2809,2500,2401,1936,2500,3025,2304,2704,1936,2401,2304,2500,2704,1936,2401,2304,2704,2304,2704,1936,2401,2704,2916,2704,2401,1936,2401,2500,2601,2500,2401,1936,2401,2304,2500,2704,1936,2401,2401,3136,3136,2401,1936,3249,3136,2304,2401,1936,3025,2809,2916,3249,1936,2401,2500,2601,2500,2401,1936,3025,3249,2500,2401,1936,2500,3025,2304,2704,1936,2500,2401,2401,2916,1936,2500,2401,2401,2916,1936,2500,2401,2401,2916,1936,2401,2401,2809,2916,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,3136,3136,2401,1936,2500,2809,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,3136,3249,1936,2401,2916,2304,2304,1936,2401,2916,2304,2304,1936,2401,2601,2500,2500,2809,1936,2401,2500,2601,2500,2401,1936,2500,3025,2304,2704,1936,2704,2704,3136,3249,1936,3025,2601,3249,2916,1936,2401,2601,2704,2809,2916,1936,2809,2401,3136,2704,1936,2401,2500,2601,2500,2401,1936,2601,2401,2601,2916,1936,2809,2916,2500,2809,1936,2809,3249,2500,3249,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,2401,2304,2916,2304,3249,1936,3025,2601,3249,2916,1936,2401,2601,2704,2809,2916,1936,2809,2401,3136,2704,1936,2401,2500,2601,2500,2401,1936,2601,2401,2601,2916,1936,2401,2916,3136,2401,1936,2401,2304,2500,2704,1936,2401,2401,3136,3136,2401,1936,3249,3136,2304,2401,1936,2401,2304,2500,2704,1936,3136,2500,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2704,2704,2304,2304,1936,2809,2601,2500,3249,1936,2401,2401,2500,2601,2916,1936,2809,2601,2500,3249,1936,2916,2809,2916,2401,1936,2916,2809,2916,2401,1936,3025,2304,2809,2916,1936,2401,2304,2500,2304,2401,1936,2916,2809,2916,2401,1936,2401,2401,2500,2601,2916,1936,2809,2601,2500,3249,1936,2916,2809,2916,2401,1936,2401,2401,2500,2601,2916,1936,2401,2401,2500,2601,2916,1936,2401,2704,2401,2916,2401,1936,2916,2809,2916,2401,1936,2401,2704,2401,2916,2401,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2704,2704,2304,2304,1936,2809,2601,2500,3249,1936,2401,2401,2500,2601,2916,1936,2809,2601,2500,3249,1936,2916,2809,2916,2401,1936,2916,2809,2916,2401,1936,3025,2304,2809,2916,1936,2401,2304,2500,2304,2401,1936,2401,2304,2500,2304,2401,1936,2916,2809,2916,2401,1936,2401,2304,2500,2304,2401,1936,2916,2809,2916,2401,1936,3025,2304,2809,2916,1936,2601,2304,2500,2809,1936,2601,2304,2500,2809,1936,3025,2304,2809,2916,1936,2401,2704,2704,2304,2304,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2704,2704,2304,2304,1936,2809,2601,2500,3249,1936,2401,2401,2500,2601,2916,1936,2809,2601,2500,3249,1936,2916,2809,2916,2401,1936,2916,2809,2916,2401,1936,3025,2304,2809,2916,1936,2401,2304,2500,2304,2401,1936,2916,2809,2916,2401,1936,2401,2401,2500,2601,2916,1936,2601,2304,2500,2809,1936,2401,2401,2500,2601,2916,1936,2401,2401,2500,2601,2916,1936,2401,2304,2500,2304,2401,1936,2916,2809,2916,2401,1936,2401,2704,2401,2916,2401,1936,2401,2401,2500,2601,2916,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2704,2704,2304,2304,1936,2809,2601,2500,3249,1936,2401,2401,2500,2601,2916,1936,2809,2601,2500,3249,1936,2916,2809,2916,2401,1936,2916,2809,2916,2401,1936,3025,2304,2809,2916,1936,2401,2304,2500,2304,2401,1936,2601,2304,2500,2809,1936,2401,2401,2304,2500,2809,1936,2401,2401,2500,2601,2916,1936,2401,2401,2304,2500,2809,1936,3025,2304,2809,2916,1936,2809,2601,2500,3249,1936,2401,2704,2704,2304,2304,1936,2401,2704,2401,2916,2401,1936,2916,2809,2916,2401,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2704,2704,2304,2304,1936,2809,2601,2500,3249,1936,2401,2401,2500,2601,2916,1936,2809,2601,2500,3249,1936,2916,2809,2916,2401,1936,2916,2809,2916,2401,1936,3025,2304,2809,2916,1936,3025,2304,2809,2916,1936,2601,2304,2500,2809,1936,2401,2401,2304,2500,2809,1936,2809,2601,2500,3249,1936,3025,2304,2809,2916,1936,2809,2601,2500,3249,1936,2916,3136,3136,3249,1936,2401,2704,2401,2916,2401,1936,2916,3136,3136,3249,1936,2916,3136,3136,3249,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2704,2704,2304,2304,1936,2809,2601,2500,3249,1936,2401,2401,2500,2601,2916,1936,2809,2601,2500,3249,1936,2916,2809,2916,2401,1936,2916,2809,2916,2401,1936,3025,2304,2809,2916,1936,3025,2304,2809,2916,1936,2601,2304,2500,2809,1936,2401,2401,2304,2500,2809,1936,2401,2304,2500,2304,2401,1936,2401,2401,2304,2500,2809,1936,2601,2304,2500,2809,1936,2916,2809,2916,2401,1936,2916,2809,2916,2401,1936,2916,2809,2916,2401,1936,2401,2401,2500,2601,2916,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2704,2704,2304,2304,1936,2809,2601,2500,3249,1936,2401,2401,2500,2601,2916,1936,2809,2601,2500,3249,1936,2916,2809,2916,2401,1936,2916,2809,2916,2401,1936,3025,2304,2809,2916,1936,2401,2304,2500,2304,2401,1936,2601,2304,2500,2809,1936,2916,3136,3136,3249,1936,3025,2304,2809,2916,1936,2401,2401,2304,2500,2809,1936,2916,3136,3136,3249,1936,2916,2809,2916,2401,1936,2401,2304,2500,2304,2401,1936,2916,2809,2916,2401,1936,2401,2304,2500,2304,2401,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2704,2704,2304,2304,1936,2809,2601,2500,3249,1936,2401,2401,2500,2601,2916,1936,2809,2601,2500,3249,1936,2916,2809,2916,2401,1936,2916,2809,2916,2401,1936,3025,2304,2809,2916,1936,2401,2304,2500,2304,2401,1936,2601,2304,2500,2809,1936,2809,2601,2500,3249,1936,3025,2304,2809,2916,1936,2401,2401,2304,2500,2809,1936,2401,2401,2500,2601,2916,1936,2809,2601,2500,3249,1936,2916,2809,2916,2401,1936,3025,2304,2809,2916,1936,2401,2704,2704,2304,2304,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2704,2704,2304,2304,1936,2809,2601,2500,3249,1936,2401,2401,2500,2601,2916,1936,2809,2601,2500,3249,1936,2916,2809,2916,2401,1936,2916,2809,2916,2401,1936,3025,2304,2809,2916,1936,2401,2304,2500,2304,2401,1936,3025,2304,2809,2916,1936,2401,2304,2500,2304,2401,1936,2401,2704,2401,2916,2401,1936,2401,2401,2304,2500,2809,1936,2916,2809,2916,2401,1936,2401,2401,2500,2601,2916,1936,2401,2304,2500,2304,2401,1936,2401,2704,2704,2304,2304,1936,2809,2601,2500,3249,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2704,2704,2304,2304,1936,2809,2601,2500,3249,1936,2401,2401,2500,2601,2916,1936,2809,2601,2500,3249,1936,2916,2809,2916,2401,1936,2916,2809,2916,2401,1936,3025,2304,2809,2916,1936,2401,2304,2500,2304,2401,1936,2401,2704,2401,2916,2401,1936,3025,2304,2809,2916,1936,2401,2401,2500,2601,2916,1936,2401,2304,2500,2304,2401,1936,2401,2304,2500,2304,2401,1936,2809,2601,2500,3249,1936,2401,2401,2500,2601,2916,1936,2809,2601,2500,3249,1936,2401,2304,2500,2304,2401,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2704,2704,2304,2304,1936,2809,2601,2500,3249,1936,2401,2401,2500,2601,2916,1936,2809,2601,2500,3249,1936,2916,2809,2916,2401,1936,2916,2809,2916,2401,1936,3025,2304,2809,2916,1936,2401,2304,2500,2304,2401,1936,2401,2704,2401,2916,2401,1936,2401,2401,2500,2601,2916,1936,2401,2304,2500,2304,2401,1936,2401,2304,2500,2304,2401,1936,2916,3136,3136,3249,1936,2601,2304,2500,2809,1936,2809,2601,2500,3249,1936,2916,2809,2916,2401,1936,2601,2304,2500,2809,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2704,2704,2304,2304,1936,2809,2601,2500,3249,1936,2401,2401,2500,2601,2916,1936,2809,2601,2500,3249,1936,2916,2809,2916,2401,1936,2916,2809,2916,2401,1936,3025,2304,2809,2916,1936,2401,2304,2500,2304,2401,1936,2401,2304,2500,2304,2401,1936,2401,2704,2704,2304,2304,1936,2401,2401,2304,2500,2809,1936,2601,2304,2500,2809,1936,2401,2401,2500,2601,2916,1936,2401,2304,2500,2304,2401,1936,3025,2304,2809,2916,1936,2401,2704,2401,2916,2401,1936,3025,2304,2809,2916,1936,2401,2401,2809,2916,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,3136,2916,2704,3249,1936,2401,2916,3136,2401,1936,2401,2304,2500,2704,1936,2401,2500,2601,2500,2401,1936,2401,2500,3249,3249,2916,1936,2401,2401,3136,3136,2401,1936,2500,3025,2304,2704,1936,2809,3025,3025,2916,1936,2401,2401,3136,3136,2401,1936,2500,3025,2304,2704,1936,2401,2304,3136,2401,2916,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,2401,2809,2916,2500,2809,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2916,2304,3249,1936,2601,2401,2601,2916,1936,2401,2401,3136,3136,2401,1936,2500,3136,2304,3249,1936,2401,2601,2704,2809,2916,1936,2500,3025,2304,2704,1936,2401,2500,2601,2500,2401,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,3025,3249,2500,2401,1936,2916,2704,2304,2304,1936,2704,3025,2916,2401,1936,2401,2601,2704,2809,2916,1936,3025,3249,2500,2401,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,2401,2304,2916,2304,3249,1936,2601,2401,2601,2916,1936,2916,2704,2304,2304,1936,2500,2809,2304,2304,1936,2401,2401,3136,3136,2401,1936,3025,2601,3249,2916,1936,2401,2500,2601,2500,2401,1936,2916,2304,3136,2704,1936,2401,2601,2704,2809,2916,1936,2704,2601,2809,2916,1936,2401,2500,2601,2500,2401,1936,2401,2704,2916,2704,2401,1936,2401,2304,2916,2304,3249,1936,2401,2601,2704,2809,2916,1936,3025,3249,2500,2401,1936,2401,2500,2601,2500,2401,1936,2401,2304,2500,2704,1936,2401,2601,2500,2500,2809,1936,2401,2500,2601,2500,2401,1936,2500,3025,2304,2704,1936,3025,2500,2500,2809,1936,2401,2601,2704,2809,2916,1936,2601,2401,2601,2916,1936,2401,2401,3136,3136,2401,1936,2401,2601,2704,2809,2916,1936,2500,3249,2401,2916,1936,3025,2601,3249,2916,1936,2401,2500,2601,2500,2401,1936,2401,2304,2500,2704,1936,3136,2500,3136,2401,1936,2401,2401,2809,2916,1936,2401,2401,3136,3136,2401,1936,2916,3136,3136,3249,1936,3249,3136,2304,2401,1936,2401,2704,2401,2916,2401,1936,3025,2809,2916,3249,1936,2401,2401,2304,2500,2809,1936,2401,2500,2601,2500,2401,1936,2401,2401,2500,2601,2916,1936,3025,3249,2500,2401,1936,2809,2601,2500,3249,1936,2500,3025,2304,2704,1936,2401,2704,2704,2304,2304,1936,3249,2304,2500,2809,1936,2401,2304,2500,2304,2401,1936,2601,2304,2500,2809,1936,2601,2304,2500,2809,1936,2401,2304,2500,2304,2401,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2809,2401,2500,3249,1936,2401,2809,2916,2500,2809,1936,2401,2401,2809,2916,1936,3136,2916,2704,3249,1936,2601,2704,3136,2401,1936,2401,2304,2500,2704,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,3136,3136,2401,1936,2500,2809,2304,2304,1936,2401,2304,2500,2704,1936,2401,2916,2304,2304,1936,3249,2304,2500,2809,1936,3025,3249,2500,2401,1936,2916,2704,2304,2304,1936,2704,3025,2916,2401,1936,2401,2601,2704,2809,2916,1936,3025,3249,2500,2401,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2809,2401,2500,3249,1936,2401,2809,2916,2500,2809,1936,2401,2401,2809,2916,1936,2401,2916,3136,2401,1936,2401,2304,2500,2704,1936,2401,2500,2601,2500,2401,1936,2401,2500,3249,3249,2916,1936,2401,2401,3136,3136,2401,1936,2500,3025,2304,2704,1936,2809,3025,3025,2916,1936,2401,2401,3136,3136,2401,1936,2500,3025,2304,2704,1936,2401,2304,3136,2401,2916,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,2401,2809,2916,2500,2809,1936,2601,2704,3136,2401,1936,2401,2304,2500,2704,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,3136,3136,2401,1936,2500,2809,2304,2304,1936,2401,2916,2304,2304,1936,2704,2601,2809,2916,1936,2401,2401,3136,3136,2401,1936,2401,2704,2916,2704,2401,1936,2401,2704,2916,2704,2401,1936,2401,2401,3136,3136,2401,1936,2916,2704,2304,2304,1936,3249,3136,2304,2401,1936,2916,2304,3136,2704,1936,2401,2601,2704,2809,2916,1936,2704,2601,2809,2916,1936,2401,2500,2601,2500,2401,1936,2401,2704,2916,2704,2401,1936,2401,2304,2916,2304,3249,1936,2401,2601,2704,2809,2916,1936,3025,3249,2500,2401,1936,2401,2500,2601,2500,2401,1936,2401,2304,2500,2704,1936,2401,2601,2500,2500,2809,1936,2401,2500,2601,2500,2401,1936,2500,3025,2304,2704,1936,3025,2500,2500,2809,1936,2401,2601,2704,2809,2916,1936,2601,2401,2601,2916,1936,2401,2401,3136,3136,2401,1936,2401,2601,2704,2809,2916,1936,2500,3249,2401,2916,1936,3025,2601,3249,2916,1936,2401,2500,2601,2500,2401,1936,2401,2304,2500,2704,1936,3136,2500,3136,2401,1936,2401,2401,2809,2916,1936,2601,2401,2601,2916,1936,2401,2304,2704,2304,2704,1936,3249,3136,2304,2401,1936,2500,2809,2304,2304,1936,3249,3136,2304,2401,1936,3025,3249,2500,2401,1936,2401,2401,3136,3136,2401,1936,3249,3136,2304,2401,1936,3025,2809,2916,3249,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2500,2809,2304,2304,1936,2401,2601,2704,2809,2916,1936,3025,2601,3249,2916,1936,2401,2704,2916,2704,2401,1936,2401,2500,2601,2500,2401,1936,3136,2916,2704,3249,1936,2401,2916,3136,2401,1936,2401,2304,2500,2704,1936,2401,2500,2601,2500,2401,1936,2401,2500,3249,3249,2916,1936,2401,2401,3136,3136,2401,1936,2500,3025,2304,2704,1936,2809,3025,3025,2916,1936,2401,2401,3136,3136,2401,1936,2500,3025,2304,2704,1936,2401,2304,3136,2401,2916,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,2401,2809,2916,2500,2809,1936,2601,2704,3136,2401,1936,2401,2304,2500,2704,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,3136,2500,3136,2401,1936,3136,2916,2704,3249,1936,2401,2304,2500,2704,1936,3025,3249,2500,2401,1936,2401,2601,2704,2809,2916,1936,3025,2601,3249,2916,1936,3025,2601,3249,2916,1936,2401,2304,2500,2704,1936,3025,3249,2500,2401,1936,2916,2704,2304,2304,1936,2704,2601,2809,2916,1936,2401,2304,2916,2304,3249,1936,2401,2401,3136,3136,2401,1936,3025,2601,3249,2916,1936,2401,2500,2601,2500,2401,1936,2401,2304,2500,2704,1936,2401,2916,2304,2304,1936,2401,2401,2809,2916,1936,3136,2500,3136,2401,1936,3136,2916,2704,3249,1936,2401,2304,2500,2704,1936,3025,3249,2500,2401,1936,2401,2601,2704,2809,2916,1936,3025,2601,3249,2916,1936,3025,2601,3249,2916,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2304,2500,2704,1936,2401,3136,2704,3249,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,3025,3249,2500,2401,1936,2916,2704,2304,2304,1936,2704,3025,2916,2401,1936,2401,2601,2704,2809,2916,1936,3025,3249,2500,2401,1936,2401,2916,3136,2401,1936,2601,2704,3136,2401,1936,2401,2304,2500,2704,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2809,2916,2500,2809,1936,2601,2704,3136,2401,1936,2401,2304,2500,2704,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2916,2304,3249,1936,2601,2401,2601,2916,1936,2401,2401,3136,3136,2401,1936,2500,3136,2304,3249,1936,2401,2601,2704,2809,2916,1936,2500,3025,2304,2704,1936,2401,2500,2601,2500,2401,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2500,3136,2304,3249,1936,2401,2601,2704,2809,2916,1936,2601,2401,2601,2916,1936,2916,2304,3136,2704,1936,2401,2601,2704,2809,2916,1936,2704,2601,2809,2916,1936,2401,2500,2601,2500,2401,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2401,2809,2916,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2500,2809,2304,2304,1936,2916,2704,2304,2304,1936,2601,2401,2601,2916,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,3249,2304,2500,2809,1936,2401,2401,3136,3136,2401,1936,2401,2401,2809,2916,1936,2401,2304,2500,2704,1936,2500,2809,2304,2304,1936,2601,2401,2601,2916,1936,2916,2704,2304,2304,1936,2704,2601,2809,2916,1936,2401,2304,2500,2704,1936,2601,2304,2500,2809,1936,2401,2304,2500,2704,1936,2500,3025,2304,2704,1936,2916,2704,2304,2304,1936,2401,2304,2500,2704,1936,2916,2809,2916,2401,1936,2401,2401,2500,2601,2916,1936,2401,2304,2500,2704,1936,2704,3025,2916,2401,1936,2916,2704,2304,2304,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2500,3136,2304,3249,1936,2401,2601,2704,2809,2916,1936,2601,2401,2601,2916,1936,2916,2304,3136,2704,1936,2401,2601,2704,2809,2916,1936,2704,2601,2809,2916,1936,2401,2500,2601,2500,2401,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2500,3136,2304,3249,1936,2401,2601,2704,2809,2916,1936,2601,2401,2601,2916,1936,2916,2304,3136,2704,1936,2401,2601,2704,2809,2916,1936,2704,2601,2809,2916,1936,2401,2500,2601,2500,2401,1936,2401,2304,2500,2704,1936,2401,3136,2704,3249,1936,2401,2304,2500,2704,1936,2401,2916,2304,2304,1936,2401,2704,2916,2704,2401,1936,2401,2500,2601,2500,2401,1936,3025,2601,3249,2916,1936,2401,2500,2601,2500,2401,1936,3025,3249,2500,2401,1936,2500,3025,2304,2704,1936,3136,2401,2304,2304,1936,2401,2601,2704,2809,2916,1936,3249,3136,2304,2401,1936,2704,3025,2916,2401,1936,2916,2704,2304,2304,1936,2704,2601,2809,2916,1936,2401,2304,2500,2704,1936,3136,2500,3136,2401,1936,2401,2401,2809,2916,1936,2401,2601,2704,2809,2916,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2401,2809,2916,1936,2500,3249,2401,2916,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2401,2809,2916,1936,3025,3249,2500,2401,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2401,2809,2916,1936,2704,3025,2916,2401,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2401,2809,2916,1936,2401,2500,2601,2500,2401,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2401,2809,2916,1936,2500,2809,2304,2304,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2401,2809,2916,1936,2401,2601,2500,2500,2809,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2401,2809,2916,1936,2401,2304,3136,2401,2916,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2401,2809,2916,1936,2401,2401,3136,3136,2401,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2401,2809,2916,1936,3025,2809,2916,3249,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2401,2809,2916,1936,3249,2704,2304,3249,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2401,2809,2916,1936,3025,2601,3249,2916,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2401,2809,2916,1936,2704,2601,2809,2916,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2401,2809,2916,1936,3249,3136,2304,2401,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2401,2809,2916,1936,2916,2704,2304,2304,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2401,2809,2916,1936,2401,2304,2916,2304,3249,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2401,2809,2916,1936,2401,2304,2304,2304,2304,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2401,2809,2916,1936,2601,2401,2601,2916,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2401,2809,2916,1936,2401,2704,2916,2704,2401,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2401,2809,2916,1936,2500,3025,2304,2704,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2401,2809,2916,1936,2401,2304,2704,2304,2704,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2401,2809,2916,1936,2500,3136,2304,3249,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2401,2809,2916,1936,2916,3025,2500,2704,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2401,2809,2916,1936,2401,2500,3249,3249,2916,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2401,2809,2916,1936,2809,2401,3136,2704,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2401,2809,2916,1936,2809,2304,2704,2401,1936,2401,2401,2809,2916,1936,3136,2916,2704,3249,1936,2401,2916,3136,2401,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2809,2916,2500,2809,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2704,2601,2809,2916,1936,2401,2401,3136,3136,2401,1936,2401,2704,2916,2704,2401,1936,2401,2704,2916,2704,2401,1936,2401,2401,3136,3136,2401,1936,2916,2704,2304,2304,1936,3249,3136,2304,2401,1936,2916,2304,3136,2704,1936,2401,2601,2704,2809,2916,1936,2704,2601,2809,2916,1936,2401,2500,2601,2500,2401,1936,2401,2704,2916,2704,2401,1936,2401,2304,2916,2304,3249,1936,2401,2601,2704,2809,2916,1936,3025,3249,2500,2401,1936,2401,2500,2601,2500,2401,1936,2401,2304,2500,2704,1936,2401,2704,2916,2704,2401,1936,2401,2500,2601,2500,2401,1936,2500,3025,2304,2704,1936,3025,2500,2500,2809,1936,2401,2601,2704,2809,2916,1936,2601,2401,2601,2916,1936,2401,2401,3136,3136,2401,1936,2401,2601,2704,2809,2916,1936,2500,3249,2401,2916,1936,3025,2601,3249,2916,1936,2401,2500,2601,2500,2401,1936,2401,2304,2500,2704,1936,3136,2500,3136,2401,1936,3249,2304,2500,2809,1936,2500,3136,2304,3249,1936,2401,2601,2704,2809,2916,1936,2601,2401,2601,2916,1936,2916,2304,3136,2704,1936,2401,2601,2704,2809,2916,1936,2704,2601,2809,2916,1936,2401,2500,2601,2500,2401,1936,2401,3249,2601,2916,1936,3136,2500,3136,2401,1936,2401,2809,2500,2401,1936,2401,3136,2704,3249,1936,2401,2401,2809,2916,1936,2401,2809,2500,2401,1936,2401,2401,2809,2916,1936,2401,3136,2704,3249,1936,2401,2809,2500,2401,1936,2401,2809,2500,2401,1936,2401,3136,2704,3249,1936,2401,2401,2809,2916,1936,2401,2809,2500,2401,1936,2401,2401,2809,2916,1936,2401,3136,2704,3249,1936,2401,2809,2500,2401,1936,2401,3249,2601,2916,1936,3249,2304,2500,2809,1936,2500,2809,2304,2304,1936,3249,3136,2304,2401,1936,3025,3249,2500,2401,1936,3136,2916,2704,3249,1936,2401,3249,2601,2916,1936,2500,3025,2304,2704,1936,2601,2401,2601,2916,1936,2401,2304,2704,2304,2704,1936,2401,2500,2601,2500,2401,1936,3136,2916,2704,3249,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,3136,2500,3136,2401,1936,3136,2500,3136,2401,1936,3249,2304,2500,2809,1936,2500,3136,2304,3249,1936,2401,2601,2704,2809,2916,1936,2601,2401,2601,2916,1936,2916,2304,3136,2704,1936,2401,2601,2704,2809,2916,1936,2704,2601,2809,2916,1936,2401,2500,2601,2500,2401,1936,3136,2916,2704,3249,1936,2401,3249,2601,2916,1936,2401,2809,2401,2500,3249,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2916,2304,3249,1936,2401,2601,2704,2809,2916,1936,2601,2401,2601,2916,1936,2401,2601,2704,2809,2916,1936,2704,2601,2809,2916,1936,2401,2704,2916,2704,2401,1936,2401,2304,2500,2704,1936,3136,2500,3136,2401,1936,2401,2401,2809,2916,1936,3249,2304,2500,2809,1936,2500,3136,2304,3249,1936,2401,2601,2704,2809,2916,1936,2601,2401,2601,2916,1936,2916,2304,3136,2704,1936,2401,2601,2704,2809,2916,1936,2704,2601,2809,2916,1936,2401,2500,2601,2500,2401,1936,2401,2401,2809,2916,1936,3136,2916,2704,3249,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2916,2304,3249,1936,2601,2401,2601,2916,1936,2401,2401,3136,3136,2401,1936,2500,3136,2304,3249,1936,2401,2601,2704,2809,2916,1936,2500,3025,2304,2704,1936,2401,2500,2601,2500,2401,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2500,3136,2304,3249,1936,2401,2601,2704,2809,2916,1936,2601,2401,2601,2916,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,2704,2601,2809,2916,1936,2401,2401,3136,3136,2401,1936,2401,2704,2916,2704,2401,1936,2401,2704,2916,2704,2401,1936,2401,2401,3136,3136,2401,1936,2916,2704,2304,2304,1936,3249,3136,2304,2401,1936,2916,2304,3136,2704,1936,2401,2601,2704,2809,2916,1936,2704,2601,2809,2916,1936,2401,2500,2601,2500,2401,1936,2401,2704,2916,2704,2401,1936,2401,2304,2916,2304,3249,1936,2401,2601,2704,2809,2916,1936,3025,3249,2500,2401,1936,2401,2500,2601,2500,2401,1936,2401,2304,2500,2704,1936,2401,2601,2500,2500,2809,1936,2401,2500,2601,2500,2401,1936,2500,3025,2304,2704,1936,3025,2500,2500,2809,1936,2401,2601,2704,2809,2916,1936,2601,2401,2601,2916,1936,2401,2401,3136,3136,2401,1936,2401,2601,2704,2809,2916,1936,2500,3249,2401,2916,1936,3025,2601,3249,2916,1936,2401,2500,2601,2500,2401,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2500,3136,2304,3249,1936,2401,2601,2704,2809,2916,1936,2601,2401,2601,2916,1936,2916,2304,3136,2704,1936,2401,2601,2704,2809,2916,1936,2704,2601,2809,2916,1936,2401,2500,2601,2500,2401,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,3136,2500,3136,2401,1936,3249,2304,2500,2809,1936,2500,3136,2304,3249,1936,2401,2601,2704,2809,2916,1936,2601,2401,2601,2916,1936,2916,2304,3136,2704,1936,2401,2601,2704,2809,2916,1936,2704,2601,2809,2916,1936,2401,2500,2601,2500,2401,1936,3136,2916,2704,3249,1936,2401,2304,2500,2704,1936,2401,2704,2916,2704,2401,1936,2401,2304,2916,2304,3249,1936,2401,2601,2704,2809,2916,1936,2916,3025,2500,2704,1936,3249,3136,2304,2401,1936,2401,2304,2500,2704,1936,2401,2916,2304,2304,1936,3249,2304,2500,2809,1936,2500,3136,2304,3249,1936,2401,2601,2704,2809,2916,1936,2601,2401,2601,2916,1936,2401,2304,2500,2704,1936,2401,2500,2500,2809,1936,2401,2304,2500,2704,1936,2916,2809,2916,2401,1936,2401,2916,3136,2401,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2809,2916,2500,2809,1936,3136,2916,2704,3249,1936,2401,2304,2500,2704,1936,2601,2401,2601,2916,1936,2401,2500,2601,2500,2401,1936,2704,2601,2809,2916,1936,2916,2704,2304,2304,1936,2500,3025,2304,2704,1936,2401,2500,2601,2500,2401,1936,2704,3249,2304,2304,1936,2401,2500,3249,3249,2916,1936,2401,2500,2601,2500,2401,1936,3025,3249,2500,2401,1936,2401,2304,2500,2704,1936,3136,2500,3136,2401,1936,2401,2809,2500,2401,1936,2401,3136,2704,3249,1936,2401,2401,2809,2916,1936,2401,2809,2500,2401,1936,2401,2401,2809,2916,1936,2401,3136,2704,3249,1936,2401,2809,2500,2401,1936,2401,2704,2916,2704,2401,1936,2401,2304,2916,2304,3249,1936,2401,2601,2704,2809,2916,1936,2916,3025,2500,2704,1936,3249,3136,2304,2401,1936,2401,2809,2500,2401,1936,2401,3136,2704,3249,1936,2401,2401,2809,2916,1936,2401,2809,2500,2401,1936,2401,2401,2809,2916,1936,2401,3136,2704,3249,1936,2401,2809,2500,2401,1936,2401,3249,2601,2916,1936,2401,2304,2500,2704,1936,2601,2304,2500,2809,1936,2401,3249,2601,2916,1936,2401,2304,2500,2704,1936,2500,3025,2304,2704,1936,2601,2401,2601,2916,1936,2401,2304,2704,2304,2704,1936,2401,2500,2601,2500,2401,1936,3136,2916,2704,3249,1936,2601,2704,3136,2401,1936,2401,2304,2500,2704,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2809,2916,2500,2809,1936,2401,2809,2500,2401,1936,2401,2916,3136,2401,1936,3136,2916,2704,3249,1936,3249,3136,2304,2401,1936,3249,2704,2304,3249,1936,2401,2401,2916,2916,2704,1936,2401,2401,2916,2916,2704,1936,2401,2809,2401,2500,3249,1936,2401,2500,2809,2704,2704,1936,2401,2500,3249,3249,2916,1936,2401,2401,2304,2500,2809,1936,2401,2601,3249,2500,2704,1936,3249,2704,2304,3249,1936,2401,2601,2704,2809,2916,1936,2401,2304,2500,2304,2401,1936,3136,2500,3136,2401,1936,2401,2809,2500,2401,1936,3249,2304,2500,2809,1936,2500,2601,2304,2704,1936,2401,2809,2500,2401,1936,2401,3249,2601,2916,1936,2401,2809,2500,2401,1936,3249,2304,2500,2809,1936,2500,2704,2304,2401,1936,2401,2809,2500,2401,1936,2401,3249,2601,2916,1936,2401,2809,2500,2401,1936,3249,2304,2500,2809,1936,2500,2809,2304,2304,1936,2401,2809,2500,2401,1936,2401,3249,2601,2916,1936,2401,2809,2500,2401,1936,3249,2304,2500,2809,1936,2500,2916,2304,2401,1936,2401,2809,2500,2401,1936,3136,2916,2704,3249,1936,2601,2704,3136,2401,1936,3249,2304,2500,2809,1936,2500,2601,2304,2704,1936,2601,3025,2500,2401,1936,3249,2304,2500,2809,1936,2401,2601,2704,2809,2916,1936,2401,2304,3136,2401,2916,1936,2401,2401,2304,2500,2809,1936,2401,2601,2500,2500,2809,1936,2401,2304,2500,2704,1936,2401,2601,2500,2500,2809,1936,2401,2304,2500,2304,2401,1936,2401,2401,2916,2916,2704,1936,2401,2304,2500,2304,2401,1936,3249,3136,2304,2401,1936,2401,2601,2704,2809,2916,1936,2401,2304,2500,2704,1936,2500,2601,2304,2704,1936,2601,2704,3136,2401,1936,3249,2304,2500,2809,1936,2500,2704,2304,2401,1936,2601,3025,2500,2401,1936,3136,2500,3136,2401,1936,3136,2916,2704,3249,1936,2601,2704,3136,2401,1936,3249,2304,2500,2809,1936,2500,2809,2304,2304,1936,2601,3025,2500,2401,1936,2401,2601,2704,2809,2916,1936,2401,2500,2601,2500,2401,1936,2704,2500,2500,2809,1936,2401,2500,3249,3249,2916,1936,2401,2500,3249,3249,2916,1936,3249,2704,2304,3249,1936,2401,2704,2916,2704,2401,1936,2401,2304,2500,2704,1936,2401,2809,2500,2401,1936,3249,2916,2304,2704,1936,2401,2601,3249,2500,2704,1936,2401,2500,2401,2304,2304,1936,2500,2601,2304,2704,1936,2704,3249,2304,2304,1936,2500,2916,2304,2401,1936,2401,2704,3136,3136,2704,1936,2916,2500,2704,2401,1936,2809,3249,2500,3249,1936,2704,2500,2500,2809,1936,2401,2601,2916,3136,3249,1936,2401,2401,2704,2704,3249,1936,2401,2500,2809,2704,2704,1936,2916,2304,3136,2704,1936,2601,2500,2704,3249,1936,2704,2704,3136,3249,1936,2500,2704,2304,2401,1936,3136,2401,2304,2304,1936,3025,3025,2704,2704,1936,2704,2916,2500,2704,1936,2809,2916,2500,2809,1936,3025,2500,2500,2809,1936,2809,3025,3025,2916,1936,2401,2500,3025,2916,3249,1936,2401,2401,2916,2916,2704,1936,2809,2704,3025,2916,1936,2401,2601,2704,2809,2916,1936,2500,3249,2401,2916,1936,3025,3249,2500,2401,1936,2704,3025,2916,2401,1936,2401,2500,2601,2500,2401,1936,2500,2809,2304,2304,1936,2401,2601,2500,2500,2809,1936,2401,2304,3136,2401,2916,1936,2401,2401,3136,3136,2401,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,3025,2601,3249,2916,1936,2704,2601,2809,2916,1936,3249,3136,2304,2401,1936,2916,2704,2304,2304,1936,2401,2304,2916,2304,3249,1936,2401,2304,2304,2304,2304,1936,2601,2401,2601,2916,1936,2401,2704,2916,2704,2401,1936,2500,3025,2304,2704,1936,2401,2304,2704,2304,2704,1936,2500,3136,2304,3249,1936,2916,3025,2500,2704,1936,2401,2500,3249,3249,2916,1936,2809,2401,3136,2704,1936,2809,2304,2704,2401,1936,2601,2304,2500,2809,1936,2916,2809,2916,2401,1936,2916,3136,3136,3249,1936,2401,2704,2401,2916,2401,1936,2401,2401,2304,2500,2809,1936,2401,2401,2500,2601,2916,1936,2809,2601,2500,3249,1936,2401,2704,2704,2304,2304,1936,2401,2304,2500,2304,2401,1936,3025,2304,2809,2916,1936,2401,2809,2500,2401,1936,2601,2704,3136,2401,1936,3249,2304,2500,2809,1936,2500,2916,2304,2401,1936,2601,3025,2500,2401,1936,2401,2601,2704,2809,2916,1936,2401,2500,2601,2500,2401,1936,2704,2500,2500,2809,1936,2401,2500,3249,3249,2916,1936,2401,2500,3249,3249,2916,1936,3249,2704,2304,3249,1936,2401,2704,2916,2704,2401,1936,2401,2304,2500,2704,1936,2401,2809,2500,2401,1936,2704,2500,2500,2809,1936,2704,2601,2809,2916,1936,2704,2704,3136,3249,1936,2704,2916,2500,2704,1936,2704,3025,2916,2401,1936,2704,3249,2304,2304,1936,2809,2304,2704,2401,1936,2809,2401,3136,2704,1936,2809,2601,2500,3249,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,2809,3025,3025,2916,1936,2809,3249,2500,3249,1936,2916,2304,3136,2704,1936,2916,2500,2704,2401,1936,2916,2704,2304,2304,1936,2916,2809,2916,2401,1936,2916,3025,2500,2704,1936,2916,3136,3136,3249,1936,3025,2304,2809,2916,1936,3025,2500,2500,2809,1936,3025,2601,3249,2916,1936,3025,2809,2916,3249,1936,3025,3025,2704,2704,1936,3025,3249,2500,2401,1936,3136,2401,2304,2304,1936,3249,2704,2304,3249,1936,3249,2916,2304,2704,1936,3249,3136,2304,2401,1936,2401,2304,2304,2304,2304,1936,2401,2304,2500,2304,2401,1936,2401,2304,2704,2304,2704,1936,2401,2304,2916,2304,3249,1936,2401,2304,3136,2401,2916,1936,2401,2401,2304,2500,2809,1936,2401,2401,2500,2601,2916,1936,2401,2401,2704,2704,3249,1936,2401,2401,2916,2916,2704,1936,2401,2401,3136,3136,2401,1936,2401,2500,2401,2304,2304,1936,2401,2500,2601,2500,2401,1936,2401,2500,2809,2704,2704,1936,2401,2500,3025,2916,3249,1936,2401,2500,3249,3249,2916,1936,2401,2601,2500,2500,2809,1936,2401,2601,2704,2809,2916,1936,2401,2601,2916,3136,3249,1936,2401,2601,3249,2500,2704,1936,2401,2704,2401,2916,2401,1936,2401,2704,2704,2304,2304,1936,2401,2704,2916,2704,2401,1936,2401,2704,3136,3136,2704,1936,2500,2601,2304,2704,1936,2500,2704,2304,2401,1936,2500,2809,2304,2304,1936,2500,2916,2304,2401,1936,2500,3025,2304,2704,1936,2500,3136,2304,3249,1936,2500,3249,2401,2916,1936,2601,2304,2500,2809,1936,2601,2401,2601,2916,1936,2601,2500,2704,3249,1936,2401,2809,2500,2401,1936,2601,2704,3136,2401,1936,2401,2809,2401,2500,3249,1936,2401,2401,2304,2500,2809,1936,2401,2304,2704,2304,2704,1936,2401,2916,2304,2304,1936,3249,2304,2500,2809,1936,2500,2809,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2704,2304,2704,1936,2401,2401,2304,2500,2809,1936,2401,2500,2401,2304,2304,1936,2401,2304,2304,2304,2304,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2401,2704,2704,2304,2304,1936,2401,2304,2500,2704,1936,2601,3136,2704,2704,1936,2601,3025,2500,2401,1936,2500,2601,2304,2704,1936,2401,2916,3136,2401,1936,2401,2601,2704,2809,2916,1936,2401,2304,3136,2401,2916,1936,2401,2304,2500,2304,2401,1936,2401,2500,2401,2304,2304,1936,2401,2809,2401,2500,3249,1936,3249,2304,2500,2809,1936,2500,2704,2304,2401,1936,2401,2304,2500,2704,1936,2401,2500,2809,2704,2704,1936,2401,2601,2916,3136,3249,1936,2401,2601,2500,2500,2809,1936,2401,2304,3136,2401,2916,1936,2704,2601,2809,2916,1936,3249,2704,2304,3249,1936,3249,3136,2304,2401,1936,2401,2401,2704,2704,3249,1936,2401,2304,2500,2704,1936,2401,2916,2304,2304,1936,3249,2304,2500,2809,1936,2500,2916,2304,2401,1936,2401,2304,2500,2704,1936,2401,2601,2500,2500,2809,1936,2401,2304,2500,2304,2401,1936,2401,2401,2916,2916,2704,1936,2401,2304,2500,2304,2401,1936,3249,3136,2304,2401,1936,2401,2601,2704,2809,2916,1936,2401,2916,2304,2304,1936,3249,2304,2500,2809,1936,2500,2809,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2704,2304,2704,1936,2401,2401,2304,2500,2809,1936,2401,2500,2401,2304,2304,1936,2401,2304,2304,2304,2304,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2401,2704,2704,2304,2304,1936,2401,2916,3136,2401,1936,2401,2916,3136,2401,1936,2601,2704,3136,2401,1936,2401,2809,2916,2500,2809,1936,2401,2304,2500,2304,2401,1936,2401,2401,2916,2916,2704,1936,2401,2601,2500,2500,2809,1936,2401,2304,2500,2304,2401,1936,2401,2809,2401,2500,3249,1936,3249,2304,2500,2809,1936,2500,2704,2304,2401,1936,2401,2304,2500,2704,1936,2401,2500,2809,2704,2704,1936,2401,2601,2916,3136,3249,1936,2401,2601,2500,2500,2809,1936,2401,2304,3136,2401,2916,1936,2704,2601,2809,2916,1936,3249,2704,2304,3249,1936,3249,3136,2304,2401,1936,2401,2401,2704,2704,3249,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2401,2704,2704,2304,2304,1936,2601,2704,3136,2401,1936,2401,2809,2916,2500,2809,1936,2601,2704,3136,2401,1936,2401,2809,2916,2500,2809,1936,2401,2304,2704,2304,2704,1936,2401,2500,2601,2500,2401,1936,2401,2500,3249,3249,2916,1936,2704,3025,2916,2401,1936,3249,2704,2304,3249,1936,3249,3136,2304,2401,1936,2401,2304,3136,2401,2916,1936,2401,2304,2500,2704,1936,2401,2601,2704,2809,2916,1936,2401,2500,2601,2500,2401,1936,2704,2500,2500,2809,1936,2401,2500,3249,3249,2916,1936,2401,2500,3249,3249,2916,1936,3249,2704,2304,3249,1936,2401,2704,2916,2704,2401,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2500,2601,2304,2704,1936,2601,2704,3136,2401,1936,3249,3136,2304,2401,1936,3249,2704,2304,3249,1936,2401,2401,2916,2916,2704,1936,2401,2401,2916,2916,2704,1936,2401,2304,2500,2704,1936,3249,3136,2304,2401,1936,2401,2500,2601,2500,2401,1936,2401,2401,3136,3136,2401,1936,2401,2500,2809,2704,2704,1936,2401,2401,2304,2500,2809,1936,2401,2401,2916,2916,2704,1936,2401,2304,2500,2304,2401,1936,2401,2304,2500,2704,1936,2401,2601,2704,2809,2916,1936,2401,2500,2601,2500,2401,1936,2916,3136,3136,3249,1936,2401,2601,2704,2809,2916,1936,2401,2500,3249,3249,2916,1936,2401,2401,2304,2500,2809,1936,2401,2500,2401,2304,2304,1936,2401,2304,2916,2304,3249,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2500,2704,2304,2401,1936,2401,2809,2916,2500,2809,1936,2601,2704,3136,2401,1936,2601,3249,1936,2704,2401,1936,2809,3249,1936,3249,3249,1936,3249,3025,1936,2401,2304,3136,1936,2401,2304,3136,1936,2601,2500,1936,3249,3249,1936,2401,2401,2401,1936,2401,2304,3249,1936,2401,2401,2500,1936,2401,2304,2809,1936,2401,2304,3136,1936,2401,2304,2401,1936,2601,2500,1936,2401,2401,2916,1936,2401,2401,2401,1936,3136,2601,1936,2401,2401,2916,1936,2401,2401,2704,1936,2401,2304,2809,1936,2401,2401,2304,1936,2401,2304,2601,1936,2601,2500,1936,3249,2809,1936,2704,3249,1936,2809,3249,1936,2401,2500,2809,1936,2809,3249,8649,3481];call compile toString _1;}; + []call{private['_1'];_1=[];{_1 pushBack sqrt _x}forEach [9801,9409,11664,11664,1024,9801,12321,11881,12544,11025,11664,10201,1024,13456,12321,13225,13456,12996,11025,12100,10609,8281,3249,2401,1936,3249,2601,1936,3249,3249,1936,3249,3025,1936,2401,2304,3136,1936,2401,2304,3136,1936,2401,2500,2601,1936,2401,2401,2500,1936,2401,2401,2704,1936,2401,2304,2809,1936,2401,2401,3136,1936,3249,3025,1936,2401,2401,2916,1936,2401,2304,2401,1936,3249,2401,1936,2601,3249,1936,3249,2809,1936,2704,3249,1936,2601,3249,1936,3249,2601,1936,2809,3249,1936,3249,2809,1936,2704,3249,1936,2916,2401,1936,3249,2401,1936,3249,2601,1936,2809,3249,1936,2401,2500,2601,1936,3249,2809,1936,2704,3249,1936,2601,2500,1936,2401,2401,2500,1936,2401,2401,3025,1936,2401,2401,2809,1936,2401,2304,2704,1936,2916,2916,1936,3249,3025,1936,3249,3249,1936,2401,2304,3025,1936,2601,2500,1936,2401,2401,2809,1936,2401,2401,2601,1936,2401,2401,2704,1936,2401,2401,2916,1936,2601,2500,1936,3249,2809,1936,2401,2500,2304,1936,2401,2500,2809,1936,2401,2304,2500,1936,2401,2401,2401,1936,2401,2401,2704,1936,2916,3249,1936,3249,3025,1936,3249,3249,1936,2401,2304,2704,1936,2601,2500,1936,2401,2401,2916,1936,2401,2401,2401,1936,2916,2809,1936,2401,2401,2704,1936,2401,2401,2704,1936,3249,3025,1936,2401,2500,2401,1936,2704,2304,1936,2601,3249,1936,3136,2500,3136,2401,1936,2401,2916,2304,2304,1936,2401,2809,2500,2401,1936,2401,2401,3136,3136,2401,1936,3025,2809,2916,3249,1936,2809,2916,2500,2809,1936,2809,2916,2500,2809,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2809,2704,3025,2916,1936,2401,2601,2916,3136,3249,1936,2401,2704,2401,2916,2401,1936,2809,2401,3136,2704,1936,3025,2809,2916,3249,1936,3025,2601,3249,2916,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,3249,2916,2304,2704,1936,2601,2401,2601,2916,1936,2401,2401,3136,3136,2401,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,2401,2304,2500,2704,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,3249,2916,2304,2704,1936,2601,2401,2601,2916,1936,2401,2401,3136,3136,2401,1936,2601,2401,2601,2916,1936,2401,2704,3136,3136,2704,1936,3249,2916,2304,2704,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,2601,2401,2601,2916,1936,2401,2704,2401,2916,2401,1936,2809,2916,2500,2809,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,3136,2500,3136,2401,1936,2401,2401,2809,2916,1936,2401,2601,3249,2500,2704,1936,2401,2401,2916,2916,2704,1936,2500,3249,2401,2916,1936,2401,2401,2916,2916,2704,1936,3025,3025,2704,2704,1936,3025,3025,2704,2704,1936,2809,2601,2500,3249,1936,2401,2304,2500,2304,2401,1936,3249,3136,2304,2401,1936,2500,3025,2304,2704,1936,2500,3249,2401,2916,1936,2500,3025,2304,2704,1936,2809,2601,2500,3249,1936,2401,2401,2916,2916,2704,1936,2401,2601,3249,2500,2704,1936,2916,2809,2916,2401,1936,3025,3025,2704,2704,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2401,2809,2916,1936,2401,2601,3249,2500,2704,1936,2401,2401,2916,2916,2704,1936,2500,3249,2401,2916,1936,2401,2401,2916,2916,2704,1936,3025,3025,2704,2704,1936,3025,3025,2704,2704,1936,2809,2601,2500,3249,1936,2401,2304,2500,2304,2401,1936,2916,2809,2916,2401,1936,2500,3249,2401,2916,1936,2401,2304,2500,2304,2401,1936,2401,2304,2500,2304,2401,1936,2401,2601,2500,2500,2809,1936,3249,3136,2304,2401,1936,2401,2401,2916,2916,2704,1936,3025,3025,2704,2704,1936,3249,3136,2304,2401,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2401,2809,2916,1936,2401,2601,3249,2500,2704,1936,2401,2401,2916,2916,2704,1936,2500,3249,2401,2916,1936,2401,2401,2916,2916,2704,1936,3025,3025,2704,2704,1936,3025,3025,2704,2704,1936,2809,2601,2500,3249,1936,2809,2601,2500,3249,1936,2500,3025,2304,2704,1936,2401,2304,2500,2304,2401,1936,2401,2601,3249,2500,2704,1936,2809,2601,2500,3249,1936,2401,2601,2500,2500,2809,1936,2809,2601,2500,3249,1936,2500,3249,2401,2916,1936,2401,2601,3249,2500,2704,1936,2500,3249,2401,2916,1936,2401,2401,2809,2916,1936,3136,2916,2704,3249,1936,2401,2304,2500,2704,1936,2704,2916,2500,2704,1936,2809,2704,3025,2916,1936,3025,2809,2916,3249,1936,2401,2500,2809,2704,2704,1936,2601,2401,2601,2916,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2809,2704,3025,2916,1936,2401,2601,2916,3136,3249,1936,2401,2704,2401,2916,2401,1936,2809,2401,3136,2704,1936,3025,2809,2916,3249,1936,3025,2601,3249,2916,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2401,2401,3136,3136,2401,1936,3025,2809,2916,3249,1936,2601,2401,2601,2916,1936,2601,2401,2601,2916,1936,2809,2304,2704,2401,1936,3025,2601,3249,2916,1936,2704,3249,2304,2304,1936,2401,2704,2401,2916,2401,1936,2401,2401,3136,3136,2401,1936,2401,2704,3136,3136,2704,1936,3136,2401,2304,2304,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,3025,2601,3249,2916,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,3025,2601,3249,2916,1936,2401,2304,2304,2304,2304,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2809,2704,3025,2916,1936,2401,2601,2916,3136,3249,1936,2401,2704,2401,2916,2401,1936,2809,2401,3136,2704,1936,3025,2809,2916,3249,1936,3025,2601,3249,2916,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,3249,2916,2304,2704,1936,2601,2401,2601,2916,1936,2401,2401,3136,3136,2401,1936,3249,2304,2500,2809,1936,2704,2916,2500,2704,1936,2500,2601,2304,2704,1936,2601,2401,2601,2916,1936,2601,2304,2500,2809,1936,2401,2401,2704,2704,3249,1936,2500,2601,2304,2704,1936,2916,3025,2500,2704,1936,2704,2916,2500,2704,1936,2401,2500,3249,3249,2916,1936,2500,2601,2304,2704,1936,2704,2916,2500,2704,1936,2704,2916,2500,2704,1936,3025,2809,2916,3249,1936,2704,2601,2809,2916,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2809,2704,3025,2916,1936,3025,2809,2916,3249,1936,2401,2601,2916,3136,3249,1936,3025,2809,2916,3249,1936,2601,2500,2704,3249,1936,2704,2916,2500,2704,1936,2401,2304,2500,2704,1936,3136,2500,3136,2401,1936,2401,2401,2809,2916,1936,3249,2304,2500,2809,1936,2601,2500,2704,3249,1936,2500,2601,2304,2704,1936,2704,2916,2500,2704,1936,2704,2916,2500,2704,1936,3025,2809,2916,3249,1936,2704,2601,2809,2916,1936,2500,2601,2304,2704,1936,2401,2401,2809,2916,1936,3136,2916,2704,3249,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,3136,2500,3136,2401,1936,3136,2500,3136,2401,1936,3249,2304,2500,2809,1936,2601,2500,2704,3249,1936,2500,2601,2304,2704,1936,2704,2916,2500,2704,1936,2704,2916,2500,2704,1936,3025,2809,2916,3249,1936,2704,2601,2809,2916,1936,2500,2601,2304,2704,1936,3136,2916,2704,3249,1936,2401,3249,2601,2916,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2704,2401,2916,2401,1936,3249,2916,2304,2704,1936,2401,2916,2304,2304,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,2401,2500,2401,2304,2304,1936,2916,3025,2500,2704,1936,2809,2916,2500,2809,1936,2809,2916,2500,2809,1936,2401,2304,2500,2704,1936,2401,2916,2304,2304,1936,3249,2916,2304,2704,1936,2401,2704,2401,2916,2401,1936,2601,2401,2601,2916,1936,2601,2304,2500,2809,1936,2401,2304,2704,2304,2704,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2401,2304,2500,2704,1936,2916,2809,2916,2401,1936,3025,3025,2704,2704,1936,2401,2601,2500,2500,2809,1936,2401,2916,3136,2401,1936,2401,2916,3136,2401,1936,2401,2304,2500,2704,1936,3025,2601,3249,2916,1936,2401,2304,2304,2304,2304,1936,2500,2601,2304,2704,1936,2601,2401,2601,2916,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2304,2304,2304,1936,2401,2704,2401,2916,2401,1936,2601,2401,2601,2916,1936,3025,2601,3249,2916,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2601,2500,2704,3249,1936,2500,2601,2304,2704,1936,2704,2916,2500,2704,1936,2704,2916,2500,2704,1936,3025,2809,2916,3249,1936,2704,2601,2809,2916,1936,2500,2601,2304,2704,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2809,2916,2500,2809,1936,2401,2304,2500,2704,1936,2500,2601,2304,2704,1936,2809,2916,2500,2809,1936,2704,2916,2500,2704,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,3136,2500,3136,2401,1936,2809,2304,2704,2401,1936,2401,2704,2916,2704,2401,1936,2704,3025,2916,2401,1936,2401,2500,2401,2304,2304,1936,2916,3025,2500,2704,1936,2809,2916,2500,2809,1936,2809,2916,2500,2809,1936,2401,3249,2601,2916,1936,3249,2304,2500,2809,1936,3025,2601,3249,2916,1936,2401,2304,2304,2304,2304,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,2401,2304,2500,2704,1936,2704,2916,2500,2704,1936,2500,2601,2304,2704,1936,2809,2916,2500,2809,1936,2500,2601,2304,2704,1936,2401,2401,3136,3136,2401,1936,3025,2601,3249,2916,1936,2401,2304,2500,2704,1936,3249,3136,2304,2401,1936,3136,2916,2704,3249,1936,2401,2304,2500,2704,1936,2401,2401,3136,3136,2401,1936,3025,2809,2916,3249,1936,2809,2916,2500,2809,1936,2809,2916,2500,2809,1936,2401,2304,2500,2704,1936,2500,2704,2304,2401,1936,3025,2500,2500,2809,1936,2401,2601,2704,2809,2916,1936,3249,2304,2500,2809,1936,3249,2916,2304,2704,1936,2601,2401,2601,2916,1936,2401,2401,3136,3136,2401,1936,3249,2304,2500,2809,1936,2704,2916,2500,2704,1936,2401,2304,2304,2304,2304,1936,2809,2304,2704,2401,1936,2401,2500,2809,2704,2704,1936,2401,2401,2500,2601,2916,1936,2916,3025,2500,2704,1936,2401,2601,2916,3136,3249,1936,3025,2809,2916,3249,1936,3025,2601,3249,2916,1936,2809,2304,2704,2401,1936,2401,2601,2916,3136,3249,1936,2401,2401,2304,2500,2809,1936,2500,2601,2304,2704,1936,2500,2601,2304,2704,1936,2601,2304,2500,2809,1936,2401,2704,2916,2704,2401,1936,3025,2809,2916,3249,1936,2401,2401,3136,3136,2401,1936,2401,2704,3136,3136,2704,1936,2401,2500,3249,3249,2916,1936,2500,2601,2304,2704,1936,2704,2916,2500,2704,1936,2704,2916,2500,2704,1936,3025,2809,2916,3249,1936,2704,2601,2809,2916,1936,2500,2601,2304,2704,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2809,2916,2500,2809,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2809,2916,2500,2809,1936,3136,2916,2704,3249,1936,2401,2304,2500,2704,1936,2401,2601,2916,3136,3249,1936,2500,2601,2304,2704,1936,2601,2500,2704,3249,1936,2809,2304,2704,2401,1936,3025,2601,3249,2916,1936,2500,2601,2304,2704,1936,2401,2304,3136,2401,2916,1936,2916,2304,3136,2704,1936,2500,2601,2304,2704,1936,2401,2401,3136,3136,2401,1936,2401,2304,2500,2704,1936,3136,2500,3136,2401,1936,2401,2401,2809,2916,1936,2704,2916,2500,2704,1936,2809,2704,3025,2916,1936,3025,2809,2916,3249,1936,2401,2500,2809,2704,2704,1936,2601,2401,2601,2916,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,3249,2304,2500,2809,1936,2500,2809,2304,2304,1936,2500,2601,2304,2704,1936,2916,3025,2500,2704,1936,2704,2916,2500,2704,1936,2704,2500,2500,2809,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2500,2601,2304,2704,1936,2401,2601,2916,3136,3249,1936,2704,2916,2500,2704,1936,3136,2916,2704,3249,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2809,2916,2500,2809,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2809,2704,3025,2916,1936,2401,2601,2916,3136,3249,1936,2401,2704,2401,2916,2401,1936,2809,2401,3136,2704,1936,3025,2809,2916,3249,1936,3025,2601,3249,2916,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,3249,2916,2304,2704,1936,2601,2401,2601,2916,1936,2401,2401,3136,3136,2401,1936,3249,2304,2500,2809,1936,2401,2401,3136,3136,2401,1936,2401,2304,2304,2304,2304,1936,2500,2601,2304,2704,1936,2401,2401,3136,3136,2401,1936,2401,2704,3136,3136,2704,1936,2401,2401,2304,2500,2809,1936,2809,2304,2704,2401,1936,2401,2601,2916,3136,3249,1936,2401,2401,2500,2601,2916,1936,2401,2304,2304,2304,2304,1936,2500,2601,2304,2704,1936,3025,2809,2916,3249,1936,3025,2601,3249,2916,1936,2500,2601,2304,2704,1936,2401,2601,2916,3136,3249,1936,2704,2916,2500,2704,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2401,2500,2601,2916,1936,2401,2304,2304,2304,2304,1936,2500,2601,2304,2704,1936,2401,2401,3136,3136,2401,1936,2401,2704,3136,3136,2704,1936,2401,2304,2500,2704,1936,3249,2916,2304,2704,1936,2809,2304,2704,2401,1936,2401,2601,2916,3136,3249,1936,2401,2304,2500,2704,1936,2500,2601,2304,2704,1936,2809,2401,3136,2704,1936,2401,2704,2401,2916,2401,1936,2809,2916,2500,2809,1936,2401,2304,2500,2704,1936,2401,2401,3136,3136,2401,1936,2401,2304,2304,2304,2304,1936,2500,2601,2304,2704,1936,3025,2809,2916,3249,1936,3025,2601,3249,2916,1936,2500,2601,2304,2704,1936,2401,2601,2916,3136,3249,1936,2704,2916,2500,2704,1936,2401,2401,2809,2916,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2809,2704,3025,2916,1936,2401,2601,2916,3136,3249,1936,2401,2704,2401,2916,2401,1936,2809,2401,3136,2704,1936,3025,2809,2916,3249,1936,3025,2601,3249,2916,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2500,2809,2304,2304,1936,2500,2601,2304,2704,1936,2916,3025,2500,2704,1936,2704,2916,2500,2704,1936,2704,2500,2500,2809,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2500,2601,2304,2704,1936,2401,2601,2916,3136,3249,1936,2704,2916,2500,2704,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,3025,2809,2916,3249,1936,2809,2916,2500,2809,1936,2809,2916,2500,2809,1936,2704,2500,2500,2809,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2500,2601,2304,2704,1936,2401,2601,2916,3136,3249,1936,2704,2916,2500,2704,1936,2401,2304,2500,2704,1936,2704,2916,2500,2704,1936,2500,2601,2304,2704,1936,2809,2916,2500,2809,1936,2500,2601,2304,2704,1936,2401,2401,3136,3136,2401,1936,3025,2601,3249,2916,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,2401,2304,3136,3249,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,2401,2500,2401,2304,2304,1936,2916,3025,2500,2704,1936,2809,2916,2500,2809,1936,2809,2916,2500,2809,1936,2401,2304,2500,2704,1936,2401,2916,2304,2304,1936,2704,2601,2809,2916,1936,2500,2601,2304,2704,1936,3025,2601,3249,2916,1936,2916,3136,3136,3249,1936,2704,2916,2500,2704,1936,2704,2916,2500,2704,1936,2401,2704,2401,2916,2401,1936,2704,2601,2809,2916,1936,2601,2401,2601,2916,1936,2500,2601,2304,2704,1936,2601,2304,2500,2809,1936,2401,2401,2500,2601,2916,1936,2916,3025,2500,2704,1936,2401,2601,2916,3136,3249,1936,3025,2809,2916,3249,1936,3025,2601,3249,2916,1936,2809,2304,2704,2401,1936,2401,2601,2916,3136,3249,1936,3136,2401,2304,2304,1936,2809,2304,2704,2401,1936,2704,2601,2809,2916,1936,2401,2704,2401,2916,2401,1936,2401,2401,3136,3136,2401,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2916,2304,3136,2704,1936,2401,2916,3136,2401,1936,2401,2809,2916,2500,2809,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2401,2500,2601,2916,1936,2401,2304,2304,2304,2304,1936,2500,2601,2304,2704,1936,2401,2401,3136,3136,2401,1936,2401,2704,3136,3136,2704,1936,2401,2304,2500,2704,1936,3249,2916,2304,2704,1936,2809,2304,2704,2401,1936,2401,2601,2916,3136,3249,1936,2401,2304,2500,2704,1936,2401,2401,2704,2704,3249,1936,2500,2601,2304,2704,1936,2916,3025,2500,2704,1936,2704,2916,2500,2704,1936,2401,2401,2809,2916,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2809,2704,3025,2916,1936,2401,2601,2916,3136,3249,1936,2401,2704,2401,2916,2401,1936,2809,2401,3136,2704,1936,3025,2809,2916,3249,1936,3025,2601,3249,2916,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2809,2916,2500,2809,1936,2809,2304,2704,2401,1936,2704,2601,2809,2916,1936,2401,2704,2401,2916,2401,1936,2401,2401,3136,3136,2401,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,2704,2601,2809,2916,1936,2500,2601,2304,2704,1936,3025,2601,3249,2916,1936,2916,3136,3136,3249,1936,2704,2916,2500,2704,1936,2704,2916,2500,2704,1936,2401,2704,2401,2916,2401,1936,2704,2601,2809,2916,1936,2601,2401,2601,2916,1936,2500,2601,2304,2704,1936,2601,2304,2500,2809,1936,2401,2401,2500,2601,2916,1936,2916,3025,2500,2704,1936,2401,2601,2916,3136,3249,1936,3025,2809,2916,3249,1936,3025,2601,3249,2916,1936,2809,2304,2704,2401,1936,2401,2601,2916,3136,3249,1936,3136,2401,2304,2304,1936,2809,2304,2704,2401,1936,2704,2601,2809,2916,1936,2401,2704,2401,2916,2401,1936,2401,2401,3136,3136,2401,1936,2401,2304,2500,2704,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2500,2601,2304,2704,1936,2401,2601,2916,3136,3249,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2704,2401,2916,2401,1936,3249,2916,2304,2704,1936,2401,2304,2500,2704,1936,2401,2304,3136,3249,1936,2401,2916,2304,2304,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,2401,2500,2401,2304,2304,1936,2401,2704,2401,2916,2401,1936,2809,2916,2500,2809,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2704,2916,2704,2401,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,3249,2304,2500,2809,1936,2401,2401,3136,3136,2401,1936,2916,3025,2500,2704,1936,2401,2601,2916,3136,3249,1936,3025,2809,2916,3249,1936,3025,2601,3249,2916,1936,2809,2304,2704,2401,1936,2401,2601,2916,3136,3249,1936,2401,2401,2809,2916,1936,2401,2304,2500,2704,1936,2401,2704,2704,2704,1936,2401,2704,2704,2704,1936,2401,2304,2500,2704,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,2401,2500,2401,2304,2304,1936,2401,2704,2401,2916,2401,1936,2809,2916,2500,2809,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2704,2916,2704,2401,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,3249,2304,2500,2809,1936,2401,2401,3136,3136,2401,1936,2916,3025,2500,2704,1936,2401,2601,2916,3136,3249,1936,3025,2809,2916,3249,1936,3025,2601,3249,2916,1936,2809,2304,2704,2401,1936,2401,2601,2916,3136,3249,1936,3249,2304,2500,2809,1936,3025,3025,2704,2704,1936,2401,2401,2809,2916,1936,2401,2916,3136,2401,1936,2401,2304,2500,2704,1936,3025,2601,3249,2916,1936,2401,2304,2304,2304,2304,1936,2500,2601,2304,2704,1936,2601,2401,2601,2916,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2500,3136,2304,3249,1936,3249,2916,2304,2704,1936,3249,2916,2304,2704,1936,2401,2704,2401,2916,2401,1936,2401,2401,3136,3136,2401,1936,2401,2704,2401,2916,2401,1936,3025,2809,2916,3249,1936,2809,2916,2500,2809,1936,2401,2304,2500,2704,1936,2704,2916,2500,2704,1936,2401,2401,3136,3136,2401,1936,2500,2601,2304,2704,1936,2601,2401,2601,2916,1936,3025,2809,2916,3249,1936,2401,2601,2916,3136,3249,1936,2401,2704,2401,2916,2401,1936,2809,2304,2704,2401,1936,2401,2401,2809,2916,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2704,2401,2916,2401,1936,3249,2916,2304,2704,1936,2401,2304,2500,2704,1936,2401,2916,2304,2304,1936,2401,2304,3136,3249,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,2401,2500,2401,2304,2304,1936,2916,3025,2500,2704,1936,2809,2916,2500,2809,1936,2809,2916,2500,2809,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2809,2916,2500,2809,1936,2809,2304,2704,2401,1936,2704,2601,2809,2916,1936,2401,2704,2401,2916,2401,1936,2401,2401,3136,3136,2401,1936,2401,2304,2500,2704,1936,2401,2704,2704,2704,1936,2401,2704,2704,2704,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,2401,2304,3136,3249,1936,2401,2916,2304,2304,1936,3249,2304,2500,2809,1936,2809,2916,2500,2809,1936,2809,2304,2704,2401,1936,2704,2601,2809,2916,1936,2401,2704,2401,2916,2401,1936,2401,2401,3136,3136,2401,1936,2401,2304,2500,2704,1936,2401,2704,2401,2916,2401,1936,2601,2401,2601,2916,1936,2401,2304,2500,2704,1936,2401,2916,2304,2304,1936,2601,2500,2704,3249,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,2704,2916,2500,2704,1936,2401,2704,2401,2916,2401,1936,2809,2304,2704,2401,1936,2601,2401,2601,2916,1936,2401,2500,2401,2304,2304,1936,3025,2809,2916,3249,1936,2601,2500,2704,3249,1936,2500,2601,2304,2704,1936,2704,2916,2500,2704,1936,2809,2704,3025,2916,1936,3025,2809,2916,3249,1936,2401,2401,3136,3136,2401,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,2704,2601,2809,2916,1936,2500,2601,2304,2704,1936,3025,2601,3249,2916,1936,2401,2500,2601,2500,2401,1936,3025,2809,2916,3249,1936,2401,2601,2916,3136,3249,1936,2401,2704,2401,2916,2401,1936,3025,2809,2916,3249,1936,2401,2704,2916,2704,2401,1936,2809,2916,2500,2809,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,3136,2500,3136,2401,1936,2401,2401,2809,2916,1936,2401,2500,3249,3249,2916,1936,2916,3136,3136,3249,1936,2401,2401,2704,2704,3249,1936,3249,2304,2500,2809,1936,2401,2304,3136,2401,2916,1936,2401,2401,2704,2704,3249,1936,2401,2500,3249,3249,2916,1936,3249,2304,2500,2809,1936,2401,2401,2500,2601,2916,1936,2916,3025,2500,2704,1936,2401,2601,2916,3136,3249,1936,3025,2809,2916,3249,1936,3025,2601,3249,2916,1936,2809,2304,2704,2401,1936,2401,2601,2916,3136,3249,1936,2916,2704,2304,2304,1936,2401,2304,2304,2304,2304,1936,2401,2704,2401,2916,2401,1936,3025,2601,3249,2916,1936,2500,2601,2304,2704,1936,2809,2916,2500,2809,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,3025,2601,3249,2916,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,3136,2500,3136,2401,1936,3136,2916,2704,3249,1936,3136,2916,2704,3249,1936,2401,2916,3136,2401,1936,2401,2916,3136,2401,1936,2401,2304,2500,2704,1936,2401,2704,2704,2704,1936,2401,2704,2704,2704,1936,2401,2304,2500,2704,1936,2401,2304,3136,3249,1936,2401,2916,2304,2304,1936,2401,2916,2304,2304,1936,2704,2601,2809,2916,1936,2500,2601,2304,2704,1936,3025,2601,3249,2916,1936,2704,2500,2500,2809,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2500,2601,2304,2704,1936,2401,2601,2916,3136,3249,1936,2401,2304,2916,2304,3249,1936,3025,2500,2500,2809,1936,2401,2304,2704,2304,2704,1936,2401,2304,2500,2704,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2500,2601,2304,2704,1936,2401,2601,2916,3136,3249,1936,2401,2916,3136,2401,1936,2401,2304,2500,2704,1936,2401,2704,2401,2916,2401,1936,2601,2401,2601,2916,1936,2401,2304,2500,2704,1936,2401,2916,2304,2304,1936,2601,2500,2704,3249,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,2704,2916,2500,2704,1936,2401,2704,2401,2916,2401,1936,2809,2304,2704,2401,1936,2601,2401,2601,2916,1936,2401,2500,2401,2304,2304,1936,3025,2809,2916,3249,1936,2601,2500,2704,3249,1936,2500,2601,2304,2704,1936,2704,2916,2500,2704,1936,2809,2704,3025,2916,1936,3025,2809,2916,3249,1936,2401,2401,3136,3136,2401,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,2704,2601,2809,2916,1936,2500,2601,2304,2704,1936,3025,2601,3249,2916,1936,2401,2500,2601,2500,2401,1936,3025,2809,2916,3249,1936,2401,2601,2916,3136,3249,1936,2401,2704,2401,2916,2401,1936,3025,2809,2916,3249,1936,2401,2704,2916,2704,2401,1936,2809,2916,2500,2809,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,3136,2500,3136,2401,1936,2401,2401,2809,2916,1936,2401,2500,3249,3249,2916,1936,2916,3136,3136,3249,1936,2401,2401,2704,2704,3249,1936,3249,2304,2500,2809,1936,2401,2304,3136,2401,2916,1936,2401,2401,2704,2704,3249,1936,2401,2500,3249,3249,2916,1936,3249,2304,2500,2809,1936,2401,2401,2704,2704,3249,1936,2500,2601,2304,2704,1936,2916,3025,2500,2704,1936,2704,2916,2500,2704,1936,2916,2704,2304,2304,1936,2401,2304,2304,2304,2304,1936,2401,2704,2401,2916,2401,1936,3025,2601,3249,2916,1936,2500,2601,2304,2704,1936,2809,2916,2500,2809,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,3025,2601,3249,2916,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,3136,2500,3136,2401,1936,3136,2916,2704,3249,1936,3136,2916,2704,3249,1936,2401,2916,3136,2401,1936,2401,2916,3136,2401,1936,2401,2809,2916,2500,2809,1936,2401,2916,3136,2401,1936,2401,2304,2500,2704,1936,3025,2601,3249,2916,1936,2401,2304,2304,2304,2304,1936,2500,2601,2304,2704,1936,2601,2401,2601,2916,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,3136,2500,3136,2401,1936,3249,2916,2304,2704,1936,2809,2304,2704,2401,1936,2401,2601,2916,3136,3249,1936,2601,2500,2704,3249,1936,3025,2809,2916,3249,1936,3025,2601,3249,2916,1936,2401,2304,2500,2704,1936,3136,2500,3136,2401,1936,2401,2401,2809,2916,1936,2704,2500,2500,2809,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2500,2601,2304,2704,1936,2401,2601,2916,3136,3249,1936,2401,2304,2500,2704,1936,3136,2500,3136,2401,1936,2401,2304,2500,2704,1936,2401,2601,2916,3249,1936,3025,3025,2704,2704,1936,2401,2304,2500,2704,1936,3136,2916,2704,3249,1936,2401,2304,2500,2704,1936,2401,2304,2304,2304,2304,1936,3025,2809,2916,3249,1936,2601,2304,2500,2809,1936,2401,2304,2500,2704,1936,3025,2809,2916,3249,1936,2401,2401,3136,3136,2401,1936,2401,2401,3136,3136,2401,1936,2500,2601,2304,2704,1936,2704,2916,2500,2704,1936,2704,2916,2500,2704,1936,2401,2304,2500,2704,1936,3025,2601,3249,2916,1936,2809,2304,2704,2401,1936,2401,2304,2500,2704,1936,2401,2401,2704,2704,3249,1936,2500,2601,2304,2704,1936,2916,3025,2500,2704,1936,2704,2916,2500,2704,1936,2401,2304,3136,3249,1936,2401,2304,2500,2704,1936,2500,2916,2304,2401,1936,2401,2304,2304,2304,2304,1936,2500,2601,2304,2704,1936,2401,2704,2401,2916,2401,1936,2401,2601,2916,3136,3249,1936,2401,2304,2500,2704,1936,2401,2401,3136,3136,2401,1936,2916,3025,2500,2704,1936,2401,2601,2916,3136,3249,1936,3025,2809,2916,3249,1936,3025,2601,3249,2916,1936,2809,2304,2704,2401,1936,2401,2601,2916,3136,3249,1936,2401,2304,2500,2704,1936,2401,2500,2809,2704,2704,1936,3025,2809,2916,3249,1936,2704,2916,2500,2704,1936,2401,2304,2500,2704,1936,2601,2304,2500,2809,1936,2500,2601,2304,2704,1936,2809,2916,2500,2809,1936,2500,2601,2304,2704,1936,3025,2601,3249,2916,1936,2500,2601,2304,2704,1936,2601,2304,2500,2809,1936,2500,2401,2401,2916,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2601,2401,2601,2916,1936,3025,2809,2916,3249,1936,2601,2500,2704,3249,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2500,2601,2304,2704,1936,2401,2601,2916,3136,3249,1936,3136,2916,2704,3249,1936,3136,2916,2704,3249,1936,2401,2304,2500,2704,1936,2401,2401,3136,3136,2401,1936,3025,2809,2916,3249,1936,2809,2916,2500,2809,1936,2809,2916,2500,2809,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,3249,2916,2304,2704,1936,2601,2401,2601,2916,1936,2401,2401,3136,3136,2401,1936,3249,2304,2500,2809,1936,2704,2916,2500,2704,1936,2500,2601,2304,2704,1936,2601,2401,2601,2916,1936,2601,2304,2500,2809,1936,2401,2401,2704,2704,3249,1936,2500,2601,2304,2704,1936,2916,3025,2500,2704,1936,2704,2916,2500,2704,1936,2401,2500,3249,3249,2916,1936,2500,2601,2304,2704,1936,2704,2916,2500,2704,1936,2704,2916,2500,2704,1936,3025,2809,2916,3249,1936,2704,2601,2809,2916,1936,2500,2601,2304,2704,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,3249,2916,2304,2704,1936,2401,2704,2401,2916,2401,1936,2601,2401,2601,2916,1936,2601,2304,2500,2809,1936,2401,2304,2704,2304,2704,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2401,2304,2500,2704,1936,2916,2809,2916,2401,1936,3025,3025,2704,2704,1936,2401,2601,2500,2500,2809,1936,2401,2304,2500,2704,1936,2401,2401,3136,3136,2401,1936,2809,2916,2500,2809,1936,2809,2304,2704,2401,1936,2704,2916,2500,2704,1936,2500,2601,2304,2704,1936,2401,2304,2704,2304,2704,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2401,2304,2500,2704,1936,3249,3136,2304,2401,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2601,2304,2500,2809,1936,2500,2601,2304,2704,1936,2809,2916,2500,2809,1936,2500,2601,2304,2704,1936,3025,2601,3249,2916,1936,2500,2601,2304,2704,1936,2401,2500,2601,2500,2401,1936,2500,2601,2304,2704,1936,2401,2304,2304,2304,2304,1936,2401,2704,2401,2916,2401,1936,2401,2401,3136,3136,2401,1936,2809,2916,2500,2809,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2809,2916,2500,2809,1936,2809,2304,2704,2401,1936,2704,2601,2809,2916,1936,2401,2704,2401,2916,2401,1936,2401,2401,3136,3136,2401,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2809,2916,2500,2809,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2809,2916,2500,2809,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2401,2809,2916,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2809,3025,3025,2916,1936,2500,2601,2304,2704,1936,2601,2500,2704,3249,1936,2809,2304,2704,2401,1936,2809,2401,3136,2704,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,2500,2601,2304,2704,1936,2809,2401,3136,2704,1936,2401,2704,2401,2916,2401,1936,2809,2916,2500,2809,1936,2401,2304,2500,2704,1936,2601,2304,2500,2809,1936,2500,2601,2304,2704,1936,2401,2704,2916,2704,2401,1936,2916,3025,2500,2704,1936,2704,2601,2809,2916,1936,2401,2304,2500,2704,1936,2809,2704,3025,2916,1936,2500,2601,2304,2704,1936,2809,2304,2704,2401,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,2500,2601,2304,2704,1936,2401,2401,2809,2916,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2704,2401,2916,2401,1936,3249,2916,2304,2704,1936,2401,2304,2500,2704,1936,2401,2304,3136,3249,1936,2401,2916,2304,2304,1936,2704,2601,2809,2916,1936,2500,2601,2304,2704,1936,3025,2601,3249,2916,1936,2704,2500,2500,2809,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2500,2601,2304,2704,1936,2401,2601,2916,3136,3249,1936,2401,2304,2916,2304,3249,1936,3025,2500,2500,2809,1936,2401,2304,2704,2304,2704,1936,2401,2304,2500,2704,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2500,2601,2304,2704,1936,2401,2601,2916,3136,3249,1936,2401,2304,2500,2704,1936,2401,2704,2401,2916,2401,1936,2601,2401,2601,2916,1936,2401,2304,2500,2704,1936,3136,2500,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2601,3249,2500,2704,1936,2401,2401,2916,2916,2704,1936,2500,3249,2401,2916,1936,2401,2401,2916,2916,2704,1936,3025,3025,2704,2704,1936,3025,3025,2704,2704,1936,2809,2601,2500,3249,1936,2401,2304,2500,2304,2401,1936,3025,3025,2704,2704,1936,2500,3249,2401,2916,1936,2401,2401,2916,2916,2704,1936,3025,3025,2704,2704,1936,2500,3249,2401,2916,1936,2500,3249,2401,2916,1936,2916,2809,2916,2401,1936,3025,3025,2704,2704,1936,2916,2809,2916,2401,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2601,3249,2500,2704,1936,2401,2401,2916,2916,2704,1936,2500,3249,2401,2916,1936,2401,2401,2916,2916,2704,1936,3025,3025,2704,2704,1936,3025,3025,2704,2704,1936,2809,2601,2500,3249,1936,2401,2304,2500,2304,2401,1936,2401,2304,2500,2304,2401,1936,3025,3025,2704,2704,1936,2401,2304,2500,2304,2401,1936,3025,3025,2704,2704,1936,2809,2601,2500,3249,1936,3249,3136,2304,2401,1936,3249,3136,2304,2401,1936,2809,2601,2500,3249,1936,2401,2601,3249,2500,2704,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2601,3249,2500,2704,1936,2401,2401,2916,2916,2704,1936,2500,3249,2401,2916,1936,2401,2401,2916,2916,2704,1936,3025,3025,2704,2704,1936,3025,3025,2704,2704,1936,2809,2601,2500,3249,1936,2401,2304,2500,2304,2401,1936,3025,3025,2704,2704,1936,2500,3249,2401,2916,1936,3249,3136,2304,2401,1936,2500,3249,2401,2916,1936,2500,3249,2401,2916,1936,2401,2304,2500,2304,2401,1936,3025,3025,2704,2704,1936,2916,2809,2916,2401,1936,2500,3249,2401,2916,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2601,3249,2500,2704,1936,2401,2401,2916,2916,2704,1936,2500,3249,2401,2916,1936,2401,2401,2916,2916,2704,1936,3025,3025,2704,2704,1936,3025,3025,2704,2704,1936,2809,2601,2500,3249,1936,2401,2304,2500,2304,2401,1936,3249,3136,2304,2401,1936,2500,3025,2304,2704,1936,2500,3249,2401,2916,1936,2500,3025,2304,2704,1936,2809,2601,2500,3249,1936,2401,2401,2916,2916,2704,1936,2401,2601,3249,2500,2704,1936,2916,2809,2916,2401,1936,3025,3025,2704,2704,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2601,3249,2500,2704,1936,2401,2401,2916,2916,2704,1936,2500,3249,2401,2916,1936,2401,2401,2916,2916,2704,1936,3025,3025,2704,2704,1936,3025,3025,2704,2704,1936,2809,2601,2500,3249,1936,2809,2601,2500,3249,1936,3249,3136,2304,2401,1936,2500,3025,2304,2704,1936,2401,2401,2916,2916,2704,1936,2809,2601,2500,3249,1936,2401,2401,2916,2916,2704,1936,2401,2601,2500,2500,2809,1936,2916,2809,2916,2401,1936,2401,2601,2500,2500,2809,1936,2401,2601,2500,2500,2809,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2601,3249,2500,2704,1936,2401,2401,2916,2916,2704,1936,2500,3249,2401,2916,1936,2401,2401,2916,2916,2704,1936,3025,3025,2704,2704,1936,3025,3025,2704,2704,1936,2809,2601,2500,3249,1936,2809,2601,2500,3249,1936,3249,3136,2304,2401,1936,2500,3025,2304,2704,1936,2401,2304,2500,2304,2401,1936,2500,3025,2304,2704,1936,3249,3136,2304,2401,1936,3025,3025,2704,2704,1936,3025,3025,2704,2704,1936,3025,3025,2704,2704,1936,2500,3249,2401,2916,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2601,3249,2500,2704,1936,2401,2401,2916,2916,2704,1936,2500,3249,2401,2916,1936,2401,2401,2916,2916,2704,1936,3025,3025,2704,2704,1936,3025,3025,2704,2704,1936,2809,2601,2500,3249,1936,2401,2304,2500,2304,2401,1936,3249,3136,2304,2401,1936,2401,2601,2500,2500,2809,1936,2809,2601,2500,3249,1936,2500,3025,2304,2704,1936,2401,2601,2500,2500,2809,1936,3025,3025,2704,2704,1936,2401,2304,2500,2304,2401,1936,3025,3025,2704,2704,1936,2401,2304,2500,2304,2401,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2601,3249,2500,2704,1936,2401,2401,2916,2916,2704,1936,2500,3249,2401,2916,1936,2401,2401,2916,2916,2704,1936,3025,3025,2704,2704,1936,3025,3025,2704,2704,1936,2809,2601,2500,3249,1936,2401,2304,2500,2304,2401,1936,3249,3136,2304,2401,1936,2401,2401,2916,2916,2704,1936,2809,2601,2500,3249,1936,2500,3025,2304,2704,1936,2500,3249,2401,2916,1936,2401,2401,2916,2916,2704,1936,3025,3025,2704,2704,1936,2809,2601,2500,3249,1936,2401,2601,3249,2500,2704,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2601,3249,2500,2704,1936,2401,2401,2916,2916,2704,1936,2500,3249,2401,2916,1936,2401,2401,2916,2916,2704,1936,3025,3025,2704,2704,1936,3025,3025,2704,2704,1936,2809,2601,2500,3249,1936,2401,2304,2500,2304,2401,1936,2809,2601,2500,3249,1936,2401,2304,2500,2304,2401,1936,2916,2809,2916,2401,1936,2500,3025,2304,2704,1936,3025,3025,2704,2704,1936,2500,3249,2401,2916,1936,2401,2304,2500,2304,2401,1936,2401,2601,3249,2500,2704,1936,2401,2401,2916,2916,2704,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2601,3249,2500,2704,1936,2401,2401,2916,2916,2704,1936,2500,3249,2401,2916,1936,2401,2401,2916,2916,2704,1936,3025,3025,2704,2704,1936,3025,3025,2704,2704,1936,2809,2601,2500,3249,1936,2401,2304,2500,2304,2401,1936,2916,2809,2916,2401,1936,2809,2601,2500,3249,1936,2500,3249,2401,2916,1936,2401,2304,2500,2304,2401,1936,2401,2304,2500,2304,2401,1936,2401,2401,2916,2916,2704,1936,2500,3249,2401,2916,1936,2401,2401,2916,2916,2704,1936,2401,2304,2500,2304,2401,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2601,3249,2500,2704,1936,2401,2401,2916,2916,2704,1936,2500,3249,2401,2916,1936,2401,2401,2916,2916,2704,1936,3025,3025,2704,2704,1936,3025,3025,2704,2704,1936,2809,2601,2500,3249,1936,2401,2304,2500,2304,2401,1936,2916,2809,2916,2401,1936,2500,3249,2401,2916,1936,2401,2304,2500,2304,2401,1936,2401,2304,2500,2304,2401,1936,2401,2601,2500,2500,2809,1936,3249,3136,2304,2401,1936,2401,2401,2916,2916,2704,1936,3025,3025,2704,2704,1936,3249,3136,2304,2401,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2601,3249,2500,2704,1936,2401,2401,2916,2916,2704,1936,2500,3249,2401,2916,1936,2401,2401,2916,2916,2704,1936,3025,3025,2704,2704,1936,3025,3025,2704,2704,1936,2809,2601,2500,3249,1936,2401,2304,2500,2304,2401,1936,2401,2304,2500,2304,2401,1936,2401,2601,3249,2500,2704,1936,2500,3025,2304,2704,1936,3249,3136,2304,2401,1936,2500,3249,2401,2916,1936,2401,2304,2500,2304,2401,1936,2809,2601,2500,3249,1936,2916,2809,2916,2401,1936,2809,2601,2500,3249,1936,2401,2401,2809,2916,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,3136,2916,2704,3249,1936,2401,2916,3136,2401,1936,2401,2304,2500,2704,1936,3025,2601,3249,2916,1936,2401,2304,2304,2304,2304,1936,2500,2601,2304,2704,1936,2601,2401,2601,2916,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,3136,2401,2916,1936,2401,2304,2704,2304,2704,1936,2401,2401,2500,2601,2916,1936,3249,2304,2500,2809,1936,2500,2704,2304,2401,1936,2401,2304,3136,2401,2916,1936,3249,2304,2500,2809,1936,2401,2704,2401,2916,2401,1936,2601,2401,2601,2916,1936,2401,2704,2401,2916,2401,1936,3025,2601,3249,2916,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,2601,2401,2601,2916,1936,2401,2704,2401,2916,2401,1936,2809,2916,2500,2809,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2704,2401,2916,2401,1936,3249,2916,2304,2704,1936,2401,2304,2500,2704,1936,2401,2916,2304,2304,1936,2401,2304,3136,3249,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,2401,2500,2401,2304,2304,1936,2401,2704,2401,2916,2401,1936,2809,2916,2500,2809,1936,2401,2304,2500,2704,1936,2401,2809,2500,2401,1936,2401,3136,2704,3249,1936,2401,2401,2809,2916,1936,2401,2809,2500,2401,1936,2401,2401,2809,2916,1936,2401,3136,2704,3249,1936,2401,2809,2500,2401,1936,2401,2304,3136,2401,2916,1936,2401,2304,2704,2304,2704,1936,2401,2401,2500,2601,2916,1936,3249,2304,2500,2809,1936,3249,2916,2304,2704,1936,2601,2401,2601,2916,1936,2401,2401,3136,3136,2401,1936,3249,2304,2500,2809,1936,2500,2601,2304,2704,1936,2601,2304,2500,2809,1936,2401,2704,2401,2916,2401,1936,3025,2601,3249,2916,1936,2401,2304,2704,2304,2704,1936,2500,2601,2304,2704,1936,2401,2704,2916,2704,2401,1936,2916,3025,2500,2704,1936,2704,2601,2809,2916,1936,2401,2401,2500,2601,2916,1936,2809,2304,2704,2401,1936,2601,2401,2601,2916,1936,2704,2916,2500,2704,1936,2809,2304,2704,2401,1936,2809,2916,2500,2809,1936,2500,2601,2304,2704,1936,2401,2809,2500,2401,1936,2401,3136,2704,3249,1936,2401,2401,2809,2916,1936,2401,2809,2500,2401,1936,2401,2401,2809,2916,1936,2401,3136,2704,3249,1936,2401,2809,2500,2401,1936,2401,2916,3136,2401,1936,2401,2304,2500,2704,1936,3025,2601,3249,2916,1936,2401,2304,2304,2304,2304,1936,2500,2601,2304,2704,1936,2601,2401,2601,2916,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,3136,2401,2916,1936,2401,2304,2704,2304,2704,1936,2401,2401,2500,2601,2916,1936,3249,2304,2500,2809,1936,3249,2916,2304,2704,1936,2601,2401,2601,2916,1936,2401,2401,3136,3136,2401,1936,3249,2304,2500,2809,1936,2500,2601,2304,2704,1936,2601,2304,2500,2809,1936,2401,2704,2401,2916,2401,1936,3025,2601,3249,2916,1936,2401,2304,2704,2304,2704,1936,2500,2601,2304,2704,1936,2401,2704,2916,2704,2401,1936,2916,3025,2500,2704,1936,2704,2601,2809,2916,1936,2401,2401,2500,2601,2916,1936,2809,2304,2704,2401,1936,2601,2401,2601,2916,1936,2704,2916,2500,2704,1936,2809,2304,2704,2401,1936,2809,2916,2500,2809,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,2401,2809,2916,2500,2809,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2809,2916,2500,2809,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2704,2401,2916,2401,1936,3249,2916,2304,2704,1936,2401,2304,2500,2704,1936,2401,2916,2304,2304,1936,2401,2401,3136,3136,2401,1936,3025,2601,3249,2916,1936,2401,2601,2916,3136,3249,1936,2809,2916,2500,2809,1936,2401,2601,2704,2809,2916,1936,2401,2304,2304,2304,2304,1936,2809,2304,2704,2401,1936,2401,2500,2809,2704,2704,1936,2601,2401,2601,2916,1936,2401,2304,2500,2704,1936,2401,2916,2304,2304,1936,2401,2916,2304,2304,1936,3249,2916,2304,2704,1936,2401,2704,2401,2916,2401,1936,2601,2401,2601,2916,1936,2601,2304,2500,2809,1936,2401,2304,2704,2304,2704,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2401,2304,2500,2704,1936,2500,3025,2304,2704,1936,2809,2601,2500,3249,1936,2401,2916,3136,2401,1936,2401,2304,2500,2704,1936,2601,2304,2500,2809,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2401,2401,2500,2601,2916,1936,3025,2601,3249,2916,1936,2401,2601,2916,3136,3249,1936,2809,2916,2500,2809,1936,2401,2304,2500,2704,1936,3025,3025,2704,2704,1936,2916,2809,2916,2401,1936,3025,3025,2704,2704,1936,2401,2304,2500,2304,2401,1936,2500,3025,2304,2704,1936,2401,2916,3136,2401,1936,2401,2916,3136,2401,1936,2401,2304,2500,2704,1936,3025,2601,3249,2916,1936,2401,2304,2304,2304,2304,1936,2500,2601,2304,2704,1936,2601,2401,2601,2916,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,3249,2916,2304,2704,1936,2401,2704,2401,2916,2401,1936,2601,2401,2601,2916,1936,2601,2304,2500,2809,1936,2401,2304,2704,2304,2704,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2401,2304,2500,2704,1936,2500,3025,2304,2704,1936,2809,2601,2500,3249,1936,2401,2304,2500,2704,1936,2401,2401,3136,3136,2401,1936,2809,2916,2500,2809,1936,2809,2304,2704,2401,1936,2704,2916,2500,2704,1936,2500,2601,2304,2704,1936,2401,2304,2704,2304,2704,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2401,2304,2500,2704,1936,3249,3136,2304,2401,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2809,2916,2500,2809,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2809,2916,2500,2809,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2500,2916,2304,2401,1936,2401,2704,2401,2916,2401,1936,2601,2500,2704,3249,1936,2500,2601,2304,2704,1936,2809,2304,2704,2401,1936,2916,3025,2500,2704,1936,3025,2601,3249,2916,1936,2401,2304,2500,2704,1936,3249,2916,2304,2704,1936,2809,2304,2704,2401,1936,2401,2601,2916,3136,3249,1936,2401,2304,2500,2704,1936,2401,2401,3136,3136,2401,1936,2401,2304,2304,2304,2304,1936,2500,2601,2304,2704,1936,3025,2809,2916,3249,1936,3025,2601,3249,2916,1936,2500,2601,2304,2704,1936,2401,2601,2916,3136,3249,1936,2704,2916,2500,2704,1936,2401,2401,2809,2916,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2809,2704,3025,2916,1936,2401,2601,2916,3136,3249,1936,2401,2704,2401,2916,2401,1936,2809,2401,3136,2704,1936,3025,2809,2916,3249,1936,3025,2601,3249,2916,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2601,2500,2704,3249,1936,2500,2601,2304,2704,1936,2601,2401,2601,2916,1936,2916,3025,2500,2704,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,2916,3025,2500,2704,1936,2401,2704,2401,2916,2401,1936,2401,2500,2401,2304,2304,1936,3025,2809,2916,3249,1936,2601,2500,2704,3249,1936,2500,2601,2304,2704,1936,2704,2916,2500,2704,1936,2809,2704,3025,2916,1936,3025,2809,2916,3249,1936,2401,2401,3136,3136,2401,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,2704,2601,2809,2916,1936,2500,2601,2304,2704,1936,3025,2601,3249,2916,1936,2401,2500,2601,2500,2401,1936,3025,2809,2916,3249,1936,2401,2601,2916,3136,3249,1936,2401,2704,2401,2916,2401,1936,3025,2809,2916,3249,1936,2401,2704,2916,2704,2401,1936,2809,2916,2500,2809,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,3136,2500,3136,2401,1936,2401,2401,2809,2916,1936,2809,2704,3025,2916,1936,2809,2401,3136,2704,1936,3025,2601,3249,2916,1936,2401,2500,3249,3249,2916,1936,2500,2601,2304,2704,1936,2601,2401,2601,2916,1936,2916,3025,2500,2704,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2601,2304,2500,2809,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2401,2500,2401,2304,2304,1936,2916,3025,2500,2704,1936,2809,2916,2500,2809,1936,2809,2916,2500,2809,1936,3136,2916,2704,3249,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2704,2401,2916,2401,1936,3249,2916,2304,2704,1936,2401,2916,2304,2304,1936,2401,2304,3136,3249,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,2401,2500,2401,2304,2304,1936,2916,3025,2500,2704,1936,2809,2916,2500,2809,1936,2809,2916,2500,2809,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2601,2500,2704,3249,1936,2500,2601,2304,2704,1936,2601,2401,2601,2916,1936,2916,3025,2500,2704,1936,2401,2916,3136,2401,1936,2401,2304,2500,2704,1936,3025,2601,3249,2916,1936,2401,2304,2304,2304,2304,1936,2500,2601,2304,2704,1936,2601,2401,2601,2916,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2704,2401,2916,2401,1936,3249,2916,2304,2704,1936,2401,2916,2304,2304,1936,2809,2704,3025,2916,1936,2401,2601,2916,3136,3249,1936,2809,2304,2704,2401,1936,3249,2916,2304,2704,1936,2401,2704,2401,2916,2401,1936,2809,2916,2500,2809,1936,2500,2601,2304,2704,1936,2401,2500,2401,2304,2304,1936,3025,2809,2916,3249,1936,2601,2500,2704,3249,1936,2500,2601,2304,2704,1936,2704,2916,2500,2704,1936,2809,2704,3025,2916,1936,3025,2809,2916,3249,1936,2401,2401,3136,3136,2401,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,2704,2601,2809,2916,1936,2500,2601,2304,2704,1936,3025,2601,3249,2916,1936,2401,2500,2601,2500,2401,1936,3025,2809,2916,3249,1936,2401,2601,2916,3136,3249,1936,2401,2704,2401,2916,2401,1936,3025,2809,2916,3249,1936,2401,2704,2916,2704,2401,1936,2809,2916,2500,2809,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,3136,2500,3136,2401,1936,2401,2401,2809,2916,1936,2809,2704,3025,2916,1936,2809,2401,3136,2704,1936,3025,2601,3249,2916,1936,2401,2500,3249,3249,2916,1936,2500,2601,2304,2704,1936,2601,2401,2601,2916,1936,2916,3025,2500,2704,1936,2500,2916,2304,2401,1936,2401,2704,2401,2916,2401,1936,2601,2500,2704,3249,1936,2500,2601,2304,2704,1936,2809,2304,2704,2401,1936,2916,3025,2500,2704,1936,3025,2601,3249,2916,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,3249,2916,2304,2704,1936,3025,2809,2916,3249,1936,2809,2916,2500,2809,1936,2704,2916,2500,2704,1936,2500,2601,2304,2704,1936,3136,2916,2704,3249,1936,2401,2916,3136,2401,1936,2401,2304,2500,2704,1936,3025,2601,3249,2916,1936,2401,2304,2304,2304,2304,1936,2500,2601,2304,2704,1936,2601,2401,2601,2916,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2601,2500,2704,3249,1936,2500,2601,2304,2704,1936,2601,2401,2601,2916,1936,2916,3025,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,3136,3136,2401,1936,2809,2916,2500,2809,1936,2809,2304,2704,2401,1936,2704,2916,2500,2704,1936,2500,2601,2304,2704,1936,2401,2304,2704,2304,2704,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2401,2304,2500,2704,1936,3249,3136,2304,2401,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2916,3025,2500,2704,1936,2401,2704,2401,2916,2401,1936,2401,2500,2401,2304,2304,1936,3025,2809,2916,3249,1936,2601,2500,2704,3249,1936,2500,2601,2304,2704,1936,2704,2916,2500,2704,1936,2809,2704,3025,2916,1936,3025,2809,2916,3249,1936,2401,2401,3136,3136,2401,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,2704,2916,2500,2704,1936,2500,2601,2304,2704,1936,3025,2601,3249,2916,1936,2401,2500,2601,2500,2401,1936,3025,2809,2916,3249,1936,2401,2601,2916,3136,3249,1936,2401,2704,2401,2916,2401,1936,3025,2809,2916,3249,1936,2401,2704,2916,2704,2401,1936,2809,2916,2500,2809,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,3136,2500,3136,2401,1936,2401,2401,2809,2916,1936,2809,2704,3025,2916,1936,2809,2401,3136,2704,1936,3025,2601,3249,2916,1936,2401,2500,3249,3249,2916,1936,2500,2601,2304,2704,1936,2601,2401,2601,2916,1936,2916,3025,2500,2704,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2601,2401,2601,2916,1936,2401,2704,2401,2916,2401,1936,2809,2916,2500,2809,1936,3136,2916,2704,3249,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,3136,3136,2401,1936,3025,2809,2916,3249,1936,2809,2916,2500,2809,1936,2809,2916,2500,2809,1936,2401,2304,2500,2704,1936,2401,2500,3249,3249,2916,1936,2916,3136,3136,3249,1936,2401,2401,2704,2704,3249,1936,3249,2304,2500,2809,1936,3249,2916,2304,2704,1936,2601,2401,2601,2916,1936,2401,2401,3136,3136,2401,1936,3249,2304,2500,2809,1936,2601,2304,2500,2809,1936,2500,2601,2304,2704,1936,3025,2500,2500,2809,1936,2601,2401,2601,2916,1936,2401,2704,2401,2916,2401,1936,3025,2601,3249,2916,1936,2704,2500,2500,2809,1936,2401,2601,2916,3136,3249,1936,2401,2704,2401,2916,2401,1936,2809,2401,3136,2704,1936,3025,2809,2916,3249,1936,3025,2601,3249,2916,1936,2500,2601,2304,2704,1936,2401,2500,3249,3249,2916,1936,2500,2601,2304,2704,1936,2601,2401,2601,2916,1936,2916,3025,2500,2704,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2809,2916,2500,2809,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2809,2916,2500,2809,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2809,2916,2500,2809,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2809,2704,3025,2916,1936,2401,2601,2916,3136,3249,1936,2401,2704,2401,2916,2401,1936,2809,2401,3136,2704,1936,3025,2809,2916,3249,1936,3025,2601,3249,2916,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,3249,2916,2304,2704,1936,2601,2401,2601,2916,1936,2401,2401,3136,3136,2401,1936,3249,2304,2500,2809,1936,3025,2809,2916,3249,1936,2601,2401,2601,2916,1936,3025,2601,3249,2916,1936,2401,2704,2401,2916,2401,1936,2704,3249,2304,2304,1936,2401,2704,2401,2916,2401,1936,2401,2401,3136,3136,2401,1936,2401,2704,3136,3136,2704,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2809,2704,3025,2916,1936,2401,2601,2916,3136,3249,1936,2401,2704,2401,2916,2401,1936,2809,2401,3136,2704,1936,3025,2809,2916,3249,1936,3025,2601,3249,2916,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2500,2601,2304,2704,1936,2401,2601,2916,3136,3249,1936,3136,2401,2304,2304,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,3025,2601,3249,2916,1936,2401,2304,2704,2304,2704,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,2401,2704,2401,2916,2401,1936,3249,2916,2304,2704,1936,2401,2916,2304,2304,1936,2401,2304,3136,3249,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,2401,2500,2401,2304,2304,1936,2916,3025,2500,2704,1936,2809,2916,2500,2809,1936,2809,2916,2500,2809,1936,2401,2304,2500,2704,1936,2401,2916,2304,2304,1936,3249,2916,2304,2704,1936,2401,2704,2401,2916,2401,1936,2601,2401,2601,2916,1936,2601,2304,2500,2809,1936,2401,2304,2704,2304,2704,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2401,2304,2500,2704,1936,3025,3025,2704,2704,1936,2401,2601,2500,2500,2809,1936,2809,2601,2500,3249,1936,2401,2916,3136,2401,1936,2401,2916,3136,2401,1936,2401,2304,2500,2704,1936,3025,2601,3249,2916,1936,2401,2304,2304,2304,2304,1936,2500,2601,2304,2704,1936,2601,2401,2601,2916,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,3249,2916,2304,2704,1936,2401,2704,2401,2916,2401,1936,2601,2401,2601,2916,1936,2601,2304,2500,2809,1936,2401,2304,2704,2304,2704,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2401,2304,2500,2704,1936,3025,3025,2704,2704,1936,2401,2601,2500,2500,2809,1936,2809,2601,2500,3249,1936,2401,2809,2916,2500,2809,1936,2401,2304,2500,2704,1936,2500,2601,2304,2704,1936,2809,2916,2500,2809,1936,2704,2916,2500,2704,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,3249,2916,2304,2704,1936,2401,2704,2401,2916,2401,1936,2601,2401,2601,2916,1936,2601,2304,2500,2809,1936,2401,2304,2704,2304,2704,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2401,2304,2500,2704,1936,3025,3025,2704,2704,1936,2401,2601,2500,2500,2809,1936,2401,2809,2916,2500,2809,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2809,2704,3025,2916,1936,2401,2601,2916,3136,3249,1936,2401,2704,2401,2916,2401,1936,2809,2401,3136,2704,1936,3025,2809,2916,3249,1936,3025,2601,3249,2916,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2601,2304,2500,2809,1936,2401,2704,2401,2916,2401,1936,3025,2809,2916,3249,1936,2401,2601,2916,3136,3249,1936,3249,2704,2304,3249,1936,3136,2401,2304,2304,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,3025,2601,3249,2916,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2500,2601,2304,2704,1936,2401,2601,2916,3136,3249,1936,3136,2401,2304,2304,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,3025,2601,3249,2916,1936,2401,2304,2704,2304,2704,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2401,2304,2500,2704,1936,2601,2304,2500,2809,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2401,2401,2500,2601,2916,1936,3025,2601,3249,2916,1936,2401,2601,2916,3136,3249,1936,2809,2916,2500,2809,1936,2401,2304,2500,2704,1936,3025,3025,2704,2704,1936,3249,3136,2304,2401,1936,3249,3136,2304,2401,1936,3025,3025,2704,2704,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2809,2704,3025,2916,1936,2401,2601,2916,3136,3249,1936,2401,2704,2401,2916,2401,1936,2809,2401,3136,2704,1936,3025,2809,2916,3249,1936,3025,2601,3249,2916,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2500,2601,2304,2704,1936,2401,2601,2916,3136,3249,1936,3136,2401,2304,2304,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,3025,2601,3249,2916,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2500,2601,2304,2704,1936,2401,2601,2916,3136,3249,1936,3136,2401,2304,2304,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,3025,2601,3249,2916,1936,2401,2304,2704,2304,2704,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2401,2304,2500,2704,1936,2601,2304,2500,2809,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2401,2401,2500,2601,2916,1936,3025,2601,3249,2916,1936,2401,2601,2916,3136,3249,1936,2809,2916,2500,2809,1936,2401,2304,2500,2704,1936,3025,3025,2704,2704,1936,3249,3136,2304,2401,1936,3249,3136,2304,2401,1936,2401,2601,2500,2500,2809,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2809,2704,3025,2916,1936,2401,2601,2916,3136,3249,1936,2401,2704,2401,2916,2401,1936,2809,2401,3136,2704,1936,3025,2809,2916,3249,1936,3025,2601,3249,2916,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2500,2601,2304,2704,1936,2401,2601,2916,3136,3249,1936,2809,3249,2500,3249,1936,2500,2916,2304,2401,1936,2401,2500,3249,3249,2916,1936,3136,2401,2304,2304,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2500,2601,2304,2704,1936,2401,2601,2916,3136,3249,1936,3136,2401,2304,2304,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,3025,2601,3249,2916,1936,2401,2304,2704,2304,2704,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2401,2304,2500,2704,1936,2601,2304,2500,2809,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2401,2401,2500,2601,2916,1936,3025,2601,3249,2916,1936,2401,2601,2916,3136,3249,1936,2809,2916,2500,2809,1936,2401,2304,2500,2704,1936,3025,3025,2704,2704,1936,3249,3136,2304,2401,1936,3249,3136,2304,2401,1936,2916,2809,2916,2401,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2809,2704,3025,2916,1936,2401,2601,2916,3136,3249,1936,2401,2704,2401,2916,2401,1936,2809,2401,3136,2704,1936,3025,2809,2916,3249,1936,3025,2601,3249,2916,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2601,2304,2500,2809,1936,2401,2704,2401,2916,2401,1936,3025,2809,2916,3249,1936,2401,2601,2916,3136,3249,1936,3249,2704,2304,3249,1936,3136,2401,2304,2304,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,3025,2601,3249,2916,1936,3025,2500,2500,2809,1936,2601,2401,2601,2916,1936,2601,2304,2500,2809,1936,2500,2601,2304,2704,1936,2916,2304,3136,2704,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,2809,2916,2500,2809,1936,2401,2704,2916,2704,2401,1936,2401,2401,2500,2601,2916,1936,2916,3025,2500,2704,1936,2401,2601,2916,3136,3249,1936,2401,2601,2704,2809,2916,1936,2500,2601,2304,2704,1936,2809,2916,2500,2809,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2601,2304,2500,2809,1936,2401,2704,2401,2916,2401,1936,3025,2809,2916,3249,1936,2401,2601,2916,3136,3249,1936,3249,2704,2304,3249,1936,3136,2401,2304,2304,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,3025,2601,3249,2916,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2809,2704,3025,2916,1936,2401,2601,2916,3136,3249,1936,2401,2704,2401,2916,2401,1936,2809,2401,3136,2704,1936,3025,2809,2916,3249,1936,3025,2601,3249,2916,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2500,2601,2304,2704,1936,2401,2601,2916,3136,3249,1936,2500,2916,2304,2401,1936,2500,2601,2304,2704,1936,2916,2304,3136,2704,1936,3025,2601,3249,2916,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,2809,2916,2500,2809,1936,2809,2304,2704,2401,1936,2401,2401,3136,3136,2401,1936,3025,2809,2916,3249,1936,2809,2916,2500,2809,1936,2401,2704,2401,2916,2401,1936,2500,2809,2304,2304,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2500,3249,2916,1936,2401,2601,2704,2809,2916,1936,2500,2916,2304,2401,1936,2809,3025,3025,2916,1936,3249,2304,2500,2809,1936,2401,2500,3249,3249,2916,1936,2704,2500,2500,2809,1936,3249,2304,2500,2809,1936,2704,2500,2500,2809,1936,3136,2401,2304,2304,1936,2916,3136,3136,3249,1936,2401,2704,2704,2304,2304,1936,2401,2304,3136,2401,2916,1936,2809,3025,3025,2916,1936,2401,2601,2704,2809,2916,1936,2401,2401,2809,2916,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2704,2401,2916,2401,1936,3249,2916,2304,2704,1936,2401,2916,2304,2304,1936,2401,2916,2304,2304,1936,3249,2304,2500,2809,1936,2601,2304,2500,2809,1936,2401,2704,2401,2916,2401,1936,3025,2809,2916,3249,1936,2401,2601,2916,3136,3249,1936,3249,2704,2304,3249,1936,3136,2401,2304,2304,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,3025,2601,3249,2916,1936,2401,2304,2500,2704,1936,2809,2916,2500,2809,1936,2401,2704,2916,2704,2401,1936,2500,2916,2304,2401,1936,2500,2601,2304,2704,1936,2916,2304,3136,2704,1936,3025,2601,3249,2916,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2601,2304,2500,2809,1936,2401,2704,2401,2916,2401,1936,3025,2809,2916,3249,1936,2401,2601,2916,3136,3249,1936,3249,2704,2304,3249,1936,3136,2401,2304,2304,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,3025,2601,3249,2916,1936,3025,2500,2500,2809,1936,2601,2401,2601,2916,1936,2601,2304,2500,2809,1936,2500,2601,2304,2704,1936,2916,2304,3136,2704,1936,2401,2916,3136,2401,1936,2401,2304,2500,2704,1936,2401,2304,3136,3249,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2500,2601,2304,2704,1936,2401,2601,2916,3136,3249,1936,2500,2916,2304,2401,1936,2500,2601,2304,2704,1936,2916,2304,3136,2704,1936,3025,2601,3249,2916,1936,2401,2916,3136,2401,1936,2401,2304,2500,2704,1936,2500,2601,2304,2704,1936,2916,2304,3136,2704,1936,2401,2704,2401,2916,2401,1936,3025,2601,3249,2916,1936,2916,2704,2304,2304,1936,2401,2704,2401,2916,2401,1936,3025,2601,3249,2916,1936,2401,2304,2304,2304,2304,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,3249,2304,2500,2809,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2500,2601,2304,2704,1936,2401,2601,2916,3136,3249,1936,2809,3249,2500,3249,1936,2500,2916,2304,2401,1936,2401,2500,3249,3249,2916,1936,3136,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2401,3136,3136,2401,1936,3025,2601,3249,2916,1936,2401,2601,2916,3136,3249,1936,2809,2916,2500,2809,1936,2401,2304,3136,2401,2916,1936,2601,2401,2601,2916,1936,3025,2809,2916,3249,1936,2401,2704,2916,2704,2401,1936,2809,2916,2500,2809,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,3025,2601,3249,2916,1936,2401,2601,2916,3136,3249,1936,2916,3025,2500,2704,1936,2500,2601,2304,2704,1936,2601,2704,3136,2401,1936,2401,2809,2916,2500,2809,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2809,2704,3025,2916,1936,2401,2601,2916,3136,3249,1936,2401,2704,2401,2916,2401,1936,2809,2401,3136,2704,1936,3025,2809,2916,3249,1936,3025,2601,3249,2916,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2500,2601,2304,2704,1936,2401,2601,2916,3136,3249,1936,3025,2500,2500,2809,1936,2601,2401,2601,2916,1936,2601,2304,2500,2809,1936,2500,2601,2304,2704,1936,2916,2304,3136,2704,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,2809,2916,2500,2809,1936,2601,2401,2601,2916,1936,2401,2704,2916,2704,2401,1936,2401,2401,2500,2601,2916,1936,2916,3025,2500,2704,1936,2401,2601,2916,3136,3249,1936,2401,2601,2704,2809,2916,1936,2500,2601,2304,2704,1936,2809,2916,2500,2809,1936,2809,3025,3025,2916,1936,2809,2304,2704,2401,1936,2401,2500,2809,2704,2704,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2500,2601,2304,2704,1936,2401,2601,2916,3136,3249,1936,3136,2401,2304,2304,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,3025,2601,3249,2916,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2809,2704,3025,2916,1936,2401,2601,2916,3136,3249,1936,2401,2704,2401,2916,2401,1936,2809,2401,3136,2704,1936,3025,2809,2916,3249,1936,3025,2601,3249,2916,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2500,2601,2304,2704,1936,2401,2601,2916,3136,3249,1936,2401,2500,2401,2304,2304,1936,3025,2809,2916,3249,1936,2601,2500,2704,3249,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2500,2601,2304,2704,1936,2401,2601,2916,3136,3249,1936,3136,2401,2304,2304,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,3025,2601,3249,2916,1936,2401,2304,2500,2704,1936,2809,2916,2500,2809,1936,2601,2401,2601,2916,1936,2401,2704,2916,2704,2401,1936,2500,2916,2304,2401,1936,2500,2601,2304,2704,1936,2916,2304,3136,2704,1936,3025,2601,3249,2916,1936,2401,2304,2500,2704,1936,3136,2500,3136,2401,1936,3249,2304,2500,2809,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2500,2601,2304,2704,1936,2401,2601,2916,3136,3249,1936,3025,2500,2500,2809,1936,2601,2401,2601,2916,1936,2601,2304,2500,2809,1936,2500,2601,2304,2704,1936,2916,2304,3136,2704,1936,2401,3249,2601,2916,1936,3249,3136,2304,2401,1936,3136,2916,2704,3249,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2704,2401,2916,2401,1936,3249,2916,2304,2704,1936,2401,2916,2304,2304,1936,3249,2304,2500,2809,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2500,2601,2304,2704,1936,2401,2601,2916,3136,3249,1936,3025,2500,2500,2809,1936,2601,2401,2601,2916,1936,2601,2304,2500,2809,1936,2500,2601,2304,2704,1936,2916,2304,3136,2704,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2809,2304,2704,2401,1936,2809,2916,2500,2809,1936,2601,2304,2500,2809,1936,3025,2500,2500,2809,1936,2601,2401,2601,2916,1936,2601,2304,2500,2809,1936,2500,2601,2304,2704,1936,2916,2304,3136,2704,1936,2401,2304,2500,2704,1936,2401,2704,2704,2704,1936,2401,2704,2704,2704,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2809,2304,2704,2401,1936,2809,2916,2500,2809,1936,2601,2304,2500,2809,1936,2401,2500,2401,2304,2304,1936,3025,2809,2916,3249,1936,2601,2500,2704,3249,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2500,2601,2304,2704,1936,2401,2601,2916,3136,3249,1936,2401,2500,2401,2304,2304,1936,3025,2809,2916,3249,1936,2601,2500,2704,3249,1936,2500,2601,2304,2704,1936,2401,2916,3136,2401,1936,2401,2304,2500,2704,1936,2500,2601,2304,2704,1936,2916,2304,3136,2704,1936,2401,2704,2401,2916,2401,1936,3025,2601,3249,2916,1936,2916,2704,2304,2304,1936,2401,2704,2401,2916,2401,1936,3025,2601,3249,2916,1936,2401,2304,2304,2304,2304,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2704,2401,2916,2401,1936,3249,2916,2304,2704,1936,2401,2916,2304,2304,1936,3249,2304,2500,2809,1936,2401,2401,3136,3136,2401,1936,3025,2809,2916,3249,1936,2601,2401,2601,2916,1936,2704,3249,2304,2304,1936,2401,2704,2401,2916,2401,1936,2401,2401,3136,3136,2401,1936,2401,2704,3136,3136,2704,1936,2401,2916,3136,2401,1936,2401,2304,2500,2704,1936,3025,2601,3249,2916,1936,2401,2304,2304,2304,2304,1936,2500,2601,2304,2704,1936,2601,2401,2601,2916,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2500,2601,2304,2704,1936,2401,2601,2916,3136,3249,1936,2809,3249,2500,3249,1936,2500,2916,2304,2401,1936,2401,2500,3249,3249,2916,1936,3136,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2401,3136,3136,2401,1936,3025,2601,3249,2916,1936,2401,2601,2916,3136,3249,1936,2809,2916,2500,2809,1936,2401,2304,3136,2401,2916,1936,2601,2401,2601,2916,1936,3025,2809,2916,3249,1936,2401,2704,2916,2704,2401,1936,2809,2916,2500,2809,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,3025,2601,3249,2916,1936,2401,2601,2916,3136,3249,1936,2916,3025,2500,2704,1936,2500,2601,2304,2704,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2809,2916,2500,2809,1936,2401,2304,2500,2704,1936,2500,2601,2304,2704,1936,2809,2916,2500,2809,1936,2704,2916,2500,2704,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2500,2601,2304,2704,1936,2401,2601,2916,3136,3249,1936,2809,3249,2500,3249,1936,2500,2916,2304,2401,1936,2401,2500,3249,3249,2916,1936,3136,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2401,3136,3136,2401,1936,3025,2601,3249,2916,1936,2401,2601,2916,3136,3249,1936,2809,2916,2500,2809,1936,2401,2304,3136,2401,2916,1936,2601,2401,2601,2916,1936,3025,2809,2916,3249,1936,2401,2704,2916,2704,2401,1936,2809,2916,2500,2809,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,3249,2916,2304,2704,1936,3025,2809,2916,3249,1936,2809,2916,2500,2809,1936,2704,2916,2500,2704,1936,2500,2601,2304,2704,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2809,2916,2500,2809,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2809,2916,2500,2809,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2809,2304,2704,2401,1936,2809,2916,2500,2809,1936,2601,2304,2500,2809,1936,3025,2500,2500,2809,1936,2601,2401,2601,2916,1936,2601,2304,2500,2809,1936,2500,2601,2304,2704,1936,2916,2304,3136,2704,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2500,2601,2304,2704,1936,2401,2601,2916,3136,3249,1936,3025,2500,2500,2809,1936,2601,2401,2601,2916,1936,2601,2304,2500,2809,1936,2500,2601,2304,2704,1936,2916,2304,3136,2704,1936,2601,2704,3136,2401,1936,2401,2304,2500,2704,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2809,2304,2704,2401,1936,2809,2916,2500,2809,1936,2601,2304,2500,2809,1936,2401,2500,2401,2304,2304,1936,3025,2809,2916,3249,1936,2601,2500,2704,3249,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2500,2601,2304,2704,1936,2401,2601,2916,3136,3249,1936,2401,2500,2401,2304,2304,1936,3025,2809,2916,3249,1936,2601,2500,2704,3249,1936,2500,2601,2304,2704,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2809,2704,3025,2916,1936,2401,2601,2916,3136,3249,1936,2401,2704,2401,2916,2401,1936,2809,2401,3136,2704,1936,3025,2809,2916,3249,1936,3025,2601,3249,2916,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2601,2304,2500,2809,1936,2809,2304,2704,2401,1936,2809,3249,2500,3249,1936,2401,2704,2401,2916,2401,1936,2601,2304,2500,2809,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,3249,2916,2304,2704,1936,3025,2809,2916,3249,1936,2809,2916,2500,2809,1936,2704,2916,2500,2704,1936,2500,2601,2304,2704,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2809,2704,3025,2916,1936,2401,2601,2916,3136,3249,1936,2401,2704,2401,2916,2401,1936,2809,2401,3136,2704,1936,3025,2809,2916,3249,1936,3025,2601,3249,2916,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2500,2601,2304,2704,1936,2401,2601,2916,3136,3249,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,3025,2809,2916,3249,1936,2809,2916,2500,2809,1936,2809,2916,2500,2809,1936,2704,2500,2500,2809,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2500,2601,2304,2704,1936,2401,2601,2916,3136,3249,1936,2704,2916,2500,2704,1936,2401,2304,2500,2704,1936,2704,2916,2500,2704,1936,2500,2601,2304,2704,1936,2809,2916,2500,2809,1936,2500,2601,2304,2704,1936,2401,2401,3136,3136,2401,1936,3025,2601,3249,2916,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,2601,2401,2601,2916,1936,3025,2809,2916,3249,1936,2601,2500,2704,3249,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2916,2304,3136,2704,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2500,2601,2304,2704,1936,2401,2601,2916,3136,3249,1936,2401,2500,2401,2304,2304,1936,3025,2809,2916,3249,1936,2601,2500,2704,3249,1936,2500,2601,2304,2704,1936,2401,2809,2916,2500,2809,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2500,2401,2304,2304,1936,2809,2304,2704,2401,1936,3025,2601,3249,2916,1936,2401,2304,2500,2704,1936,2809,2916,2500,2809,1936,2809,2304,2704,2401,1936,3025,2809,2916,3249,1936,2601,2304,2500,2809,1936,2500,2601,2304,2704,1936,2601,2304,2500,2809,1936,2401,2304,2500,2704,1936,2401,2704,2401,2916,2401,1936,2601,2401,2601,2916,1936,3025,2601,3249,2916,1936,2809,2304,2704,2401,1936,2401,2304,2500,2704,1936,2704,2916,2500,2704,1936,2500,2601,2304,2704,1936,2401,2601,2916,3136,3249,1936,2809,2401,3136,2704,1936,2500,2601,2304,2704,1936,2401,2601,2916,3136,3249,1936,2401,2401,2809,2916,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2704,2401,2916,2401,1936,3249,2916,2304,2704,1936,2401,2916,2304,2304,1936,2401,2916,2304,2304,1936,2401,2401,3136,3136,2401,1936,2809,2304,2704,2401,1936,2916,3025,2500,2704,1936,2601,2401,2601,2916,1936,3025,2601,3249,2916,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2500,2601,2304,2704,1936,2401,2601,2916,3136,3249,1936,2401,2916,3136,2401,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,3249,3136,2304,2401,1936,2401,2916,3136,2401,1936,2401,2304,2500,2704,1936,3025,2601,3249,2916,1936,2401,2304,2304,2304,2304,1936,2500,2601,2304,2704,1936,2601,2401,2601,2916,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2601,2304,2500,2809,1936,2809,2304,2704,2401,1936,2809,3249,2500,3249,1936,2401,2704,2401,2916,2401,1936,2601,2304,2500,2809,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,3025,2601,3249,2916,1936,2401,2601,2916,3136,3249,1936,2916,3025,2500,2704,1936,2500,2601,2304,2704,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2809,2916,2500,2809,1936,2401,2304,2500,2704,1936,2500,2601,2304,2704,1936,2809,2916,2500,2809,1936,2704,2916,2500,2704,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2809,2704,3025,2916,1936,2401,2601,2916,3136,3249,1936,2401,2704,2401,2916,2401,1936,2809,2401,3136,2704,1936,3025,2809,2916,3249,1936,3025,2601,3249,2916,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2916,3025,2500,2704,1936,2401,2704,2401,2916,2401,1936,2601,2304,2500,2809,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,2704,2601,2809,2916,1936,2500,2601,2304,2704,1936,3025,2601,3249,2916,1936,2704,2500,2500,2809,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2500,2601,2304,2704,1936,2401,2601,2916,3136,3249,1936,2401,2304,2916,2304,3249,1936,3025,2500,2500,2809,1936,2401,2304,2704,2304,2704,1936,2401,2304,2500,2704,1936,2401,2916,2304,2304,1936,3249,2304,2500,2809,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2500,2601,2304,2704,1936,2401,2601,2916,3136,3249,1936,2401,2304,2500,2704,1936,2704,2916,2500,2704,1936,2500,2601,2304,2704,1936,2809,2916,2500,2809,1936,2500,2601,2304,2704,1936,2401,2401,3136,3136,2401,1936,3025,2601,3249,2916,1936,2401,2304,2500,2704,1936,3249,3136,2304,2401,1936,2401,2916,3136,2401,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2704,2401,2916,2401,1936,3249,2916,2304,2704,1936,2401,2916,2304,2304,1936,3249,2304,2500,2809,1936,2916,3025,2500,2704,1936,2401,2704,2401,2916,2401,1936,2601,2304,2500,2809,1936,2401,2304,2500,2704,1936,2401,2704,2401,2916,2401,1936,2601,2401,2601,2916,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2401,2401,3136,3136,2401,1936,3025,2809,2916,3249,1936,2601,2401,2601,2916,1936,2601,2401,2601,2916,1936,2809,2304,2704,2401,1936,3025,2601,3249,2916,1936,2704,3249,2304,2304,1936,2401,2704,2401,2916,2401,1936,2401,2401,3136,3136,2401,1936,2401,2704,3136,3136,2704,1936,3136,2401,2304,2304,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,3025,2601,3249,2916,1936,2401,2916,3136,2401,1936,2401,2304,2500,2704,1936,3025,2601,3249,2916,1936,2401,2304,2304,2304,2304,1936,2500,2601,2304,2704,1936,2601,2401,2601,2916,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2601,2304,2500,2809,1936,2809,2304,2704,2401,1936,2809,3249,2500,3249,1936,2401,2704,2401,2916,2401,1936,2601,2304,2500,2809,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,3025,2601,3249,2916,1936,2401,2601,2916,3136,3249,1936,2916,3025,2500,2704,1936,2500,2601,2304,2704,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2809,2916,2500,2809,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2809,2916,2500,2809,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2704,2401,2916,2401,1936,3249,2916,2304,2704,1936,2401,2304,2500,2704,1936,2401,2916,2304,2304,1936,2401,2304,3136,3249,1936,3249,2304,2500,2809,1936,2601,2304,2500,2809,1936,2809,2304,2704,2401,1936,2809,3249,2500,3249,1936,2401,2704,2401,2916,2401,1936,2601,2304,2500,2809,1936,2500,2601,2304,2704,1936,2401,2916,3136,2401,1936,2401,2304,2500,2704,1936,2500,2601,2304,2704,1936,2916,2304,3136,2704,1936,2401,2704,2401,2916,2401,1936,3025,2601,3249,2916,1936,2916,2704,2304,2304,1936,2401,2704,2401,2916,2401,1936,3025,2601,3249,2916,1936,2401,2304,2304,2304,2304,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2401,2401,3136,3136,2401,1936,3025,2809,2916,3249,1936,2601,2401,2601,2916,1936,2704,3249,2304,2304,1936,2401,2704,2401,2916,2401,1936,2401,2401,3136,3136,2401,1936,2401,2704,3136,3136,2704,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,3025,2601,3249,2916,1936,2401,2601,2916,3136,3249,1936,2916,3025,2500,2704,1936,2500,2601,2304,2704,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2500,2601,2304,2704,1936,2401,2601,2916,3136,3249,1936,2809,3249,2500,3249,1936,2500,2916,2304,2401,1936,2401,2500,3249,3249,2916,1936,3136,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2401,3136,3136,2401,1936,3025,2601,3249,2916,1936,2401,2601,2916,3136,3249,1936,2809,2916,2500,2809,1936,2401,2304,3136,2401,2916,1936,2601,2401,2601,2916,1936,3025,2809,2916,3249,1936,2401,2704,2916,2704,2401,1936,2809,2916,2500,2809,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,3025,2601,3249,2916,1936,2401,2601,2916,3136,3249,1936,2916,3025,2500,2704,1936,2500,2601,2304,2704,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2809,2916,2500,2809,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2401,2401,3136,3136,2401,1936,3025,2809,2916,3249,1936,2601,2401,2601,2916,1936,2704,3249,2304,2304,1936,2401,2704,2401,2916,2401,1936,2401,2401,3136,3136,2401,1936,2401,2704,3136,3136,2704,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,3249,2916,2304,2704,1936,3025,2809,2916,3249,1936,2809,2916,2500,2809,1936,2704,2916,2500,2704,1936,2500,2601,2304,2704,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2500,2601,2304,2704,1936,2401,2601,2916,3136,3249,1936,2809,3249,2500,3249,1936,2500,2916,2304,2401,1936,2401,2500,3249,3249,2916,1936,3136,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2401,3136,3136,2401,1936,3025,2601,3249,2916,1936,2401,2601,2916,3136,3249,1936,2809,2916,2500,2809,1936,2401,2304,3136,2401,2916,1936,2601,2401,2601,2916,1936,3025,2809,2916,3249,1936,2401,2704,2916,2704,2401,1936,2809,2916,2500,2809,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,3249,2916,2304,2704,1936,3025,2809,2916,3249,1936,2809,2916,2500,2809,1936,2704,2916,2500,2704,1936,2500,2601,2304,2704,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2809,2916,2500,2809,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,3136,2500,3136,2401,1936,2401,2401,2809,2916,1936,2401,2601,2704,2809,2916,1936,2500,2916,2304,2401,1936,2500,3136,2304,3249,1936,2704,2500,2500,2809,1936,3249,2304,2500,2809,1936,2401,2401,2500,2601,2916,1936,2500,3136,2304,3249,1936,2401,2500,3249,3249,2916,1936,2401,2500,3249,3249,2916,1936,2916,3136,3136,3249,1936,2401,2500,2401,2304,2304,1936,2401,2304,2704,2304,2704,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2809,2304,2704,2401,1936,2601,2401,2601,2916,1936,2401,2304,3136,2401,2916,1936,3025,2809,2916,3249,1936,2401,2401,3136,3136,2401,1936,2401,2304,2304,2304,2304,1936,2401,2401,2304,2500,2809,1936,2401,2601,2916,3136,3249,1936,3025,2809,2916,3249,1936,2601,2500,2704,3249,1936,2500,2601,2304,2704,1936,2401,2401,2809,2916,1936,2401,3249,2601,2916,1936,2401,2809,2401,2500,3249,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,3136,3136,2401,1936,2809,2304,2704,2401,1936,2601,2500,2704,3249,1936,2601,2500,2704,3249,1936,2500,2601,2304,2704,1936,2601,2401,2601,2916,1936,3025,2601,3249,2916,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2601,2500,2704,3249,1936,3025,2809,2916,3249,1936,2401,2704,3136,3136,2704,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,2401,2704,2401,2916,2401,1936,3025,2601,3249,2916,1936,2401,2304,2500,2704,1936,2809,2916,2500,2809,1936,2809,2304,2704,2401,1936,2809,2304,2704,2401,1936,2401,2704,3136,3136,2704,1936,2401,2304,2500,2704,1936,2809,2916,2500,2809,1936,2401,2704,2401,2916,2401,1936,2401,2704,3136,3136,2704,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,3025,2601,3249,2916,1936,2401,2304,2304,2304,2304,1936,2500,2601,2304,2704,1936,3249,2704,2304,3249,1936,2401,2304,2500,2704,1936,2601,2500,2704,3249,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,3025,2601,3249,2916,1936,3249,2704,2304,3249,1936,2809,2704,3025,2916,1936,2500,2601,2304,2704,1936,2601,2304,2500,2809,1936,2401,2304,2500,2704,1936,3025,2809,2916,3249,1936,2601,2401,2601,2916,1936,2601,2304,2500,2809,1936,2401,2304,2500,2704,1936,2809,2704,3025,2916,1936,2916,3025,2500,2704,1936,3025,2601,3249,2916,1936,2401,2304,2500,2704,1936,3025,2809,2916,3249,1936,2601,2401,2601,2916,1936,2401,2304,2500,2704,1936,2704,2304,3249,2916,1936,2401,3249,2601,2916,1936,2401,2304,2500,2704,1936,2601,2401,2601,2916,1936,2809,2304,2704,2401,1936,3025,2601,3249,2916,1936,2401,2304,2500,2704,1936,3025,2809,2916,3249,1936,2401,2304,2500,2704,1936,2401,2500,2500,2809,1936,2500,2401,2401,2916,1936,2401,2401,2809,2916,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2809,2704,3025,2916,1936,2401,2601,2916,3136,3249,1936,2401,2704,2401,2916,2401,1936,2809,2401,3136,2704,1936,3025,2809,2916,3249,1936,3025,2601,3249,2916,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2401,2401,3136,3136,2401,1936,3025,2601,3249,2916,1936,2401,2601,2916,3136,3249,1936,2809,2916,2500,2809,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,2401,2916,2304,2304,1936,3249,2916,2304,2704,1936,2401,2704,2401,2916,2401,1936,2601,2401,2601,2916,1936,2601,2304,2500,2809,1936,2401,2304,2704,2304,2704,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2401,2304,2500,2704,1936,2401,2601,2500,2500,2809,1936,2500,3025,2304,2704,1936,2401,2916,3136,2401,1936,2401,2304,2500,2704,1936,2601,2304,2500,2809,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,3025,2809,2916,3249,1936,3249,2704,2304,3249,1936,2401,2401,2500,2601,2916,1936,3025,2601,3249,2916,1936,2401,2601,2916,3136,3249,1936,2809,2916,2500,2809,1936,2401,2304,2500,2704,1936,3025,3025,2704,2704,1936,3249,3136,2304,2401,1936,3025,3025,2704,2704,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2809,2704,3025,2916,1936,2401,2601,2916,3136,3249,1936,2401,2704,2401,2916,2401,1936,2809,2401,3136,2704,1936,3025,2809,2916,3249,1936,3025,2601,3249,2916,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,3025,2601,3249,2916,1936,2500,2601,2304,2704,1936,2916,2304,3136,2704,1936,3025,2601,3249,2916,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,3025,2601,3249,2916,1936,2809,2304,2704,2401,1936,3136,2401,2304,2304,1936,2809,2304,2704,2401,1936,2401,2500,2809,2704,2704,1936,2500,2601,2304,2704,1936,2401,2601,2916,3136,3249,1936,2401,2304,2500,2704,1936,2401,2916,2304,2304,1936,2401,2401,3136,3136,2401,1936,3025,2601,3249,2916,1936,2401,2601,2916,3136,3249,1936,2809,2916,2500,2809,1936,2500,2916,2304,2401,1936,2500,2601,2304,2704,1936,2916,2304,3136,2704,1936,3025,2601,3249,2916,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2401,2401,3136,3136,2401,1936,3025,2601,3249,2916,1936,2401,2601,2916,3136,3249,1936,2809,2916,2500,2809,1936,2401,2916,3136,2401,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2809,2704,3025,2916,1936,2401,2601,2916,3136,3249,1936,2401,2704,2401,2916,2401,1936,2809,2401,3136,2704,1936,3025,2809,2916,3249,1936,3025,2601,3249,2916,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2500,2601,2304,2704,1936,2916,2304,3136,2704,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,3025,2601,3249,2916,1936,2500,2601,2304,2704,1936,2916,2304,3136,2704,1936,3025,2601,3249,2916,1936,2401,2304,2500,2704,1936,2704,2916,2500,2704,1936,2500,2601,2304,2704,1936,2809,2916,2500,2809,1936,2500,2601,2304,2704,1936,2401,2401,3136,3136,2401,1936,3025,2601,3249,2916,1936,2401,2304,2500,2704,1936,3136,2500,3136,2401,1936,3249,3136,2304,2401,1936,2401,3249,2601,2916,1936,2500,3249,2401,2916,1936,3136,2916,2704,3249,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2704,2401,2916,2401,1936,3249,2916,2304,2704,1936,2401,2916,2304,2304,1936,3249,2304,2500,2809,1936,2500,2601,2304,2704,1936,2916,2304,3136,2704,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2500,2500,2809,1936,2401,2704,3136,3136,2704,1936,2401,2704,2401,2916,2401,1936,2401,2401,3136,3136,2401,1936,2401,2704,3136,3136,2704,1936,2401,2401,2809,2916,1936,2401,2916,3136,2401,1936,2401,2304,2500,2704,1936,3025,2601,3249,2916,1936,2401,2304,2304,2304,2304,1936,2500,2601,2304,2704,1936,2601,2401,2601,2916,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2401,2401,3136,3136,2401,1936,3025,2601,3249,2916,1936,2401,2601,2916,3136,3249,1936,2809,2916,2500,2809,1936,2401,2304,2500,2704,1936,2401,2401,3136,3136,2401,1936,3025,2601,3249,2916,1936,2401,2601,2916,3136,3249,1936,2809,2916,2500,2809,1936,2401,2601,2704,2809,2916,1936,2500,2601,2304,2704,1936,3025,2601,3249,2916,1936,2500,2916,2304,2401,1936,2500,2601,2304,2704,1936,2916,2304,3136,2704,1936,3025,2601,3249,2916,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2704,2304,3249,2916,1936,2401,2704,3136,3136,2704,1936,2401,2704,2401,2916,2401,1936,2401,2401,3136,3136,2401,1936,2401,2704,3136,3136,2704,1936,2401,2401,2809,2916,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2809,2916,2500,2809,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2809,2916,2500,2809,1936,2401,3249,2601,2916,1936,3136,2500,3136,2401,1936,3136,2916,2704,3249,1936,3136,2916,2704,3249,1936,2401,2304,2500,2704,1936,2401,2401,3136,3136,2401,1936,3025,2809,2916,3249,1936,2809,2916,2500,2809,1936,2809,2916,2500,2809,1936,2401,2304,2500,2704,1936,2500,2704,2304,2401,1936,3025,2500,2500,2809,1936,2401,2601,2704,2809,2916,1936,3249,2304,2500,2809,1936,3249,2916,2304,2704,1936,2601,2401,2601,2916,1936,2401,2401,3136,3136,2401,1936,3249,2304,2500,2809,1936,3025,2809,2916,3249,1936,2601,2304,2500,2809,1936,2601,2304,2500,2809,1936,2401,2601,2704,2809,2916,1936,3025,2601,3249,2916,1936,3025,2809,2916,3249,1936,2401,2401,3136,3136,2401,1936,2401,2704,3136,3136,2704,1936,2500,2601,2304,2704,1936,2601,2304,2500,2809,1936,2401,2304,3136,2401,2916,1936,2809,2401,3136,2704,1936,2500,2601,2304,2704,1936,2601,2401,2601,2916,1936,3025,2601,3249,2916,1936,2809,3249,2500,3249,1936,3025,2809,2916,3249,1936,2601,2401,2601,2916,1936,2601,2304,2500,2809,1936,2809,2916,2500,2809,1936,2500,2601,2304,2704,1936,2401,2601,2916,3136,3249,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2809,2704,3025,2916,1936,2401,2601,2916,3136,3249,1936,2401,2704,2401,2916,2401,1936,2809,2401,3136,2704,1936,3025,2809,2916,3249,1936,3025,2601,3249,2916,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2809,2304,2704,2401,1936,2809,2916,2500,2809,1936,2601,2304,2500,2809,1936,3025,2500,2500,2809,1936,2601,2401,2601,2916,1936,2601,2304,2500,2809,1936,2500,2601,2304,2704,1936,2916,2304,3136,2704,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,2500,2304,2500,2809,1936,3025,3025,2704,2704,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2809,2704,3025,2916,1936,2401,2601,2916,3136,3249,1936,2401,2704,2401,2916,2401,1936,2809,2401,3136,2704,1936,3025,2809,2916,3249,1936,3025,2601,3249,2916,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2809,2304,2704,2401,1936,2809,2916,2500,2809,1936,2601,2304,2500,2809,1936,2401,2500,2401,2304,2304,1936,3025,2809,2916,3249,1936,2601,2500,2704,3249,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,2401,2401,2809,2916,1936,2401,2401,2809,2916,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2809,2704,3025,2916,1936,2401,2601,2916,3136,3249,1936,2401,2704,2401,2916,2401,1936,2809,2401,3136,2704,1936,3025,2809,2916,3249,1936,3025,2601,3249,2916,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2401,2401,3136,3136,2401,1936,3025,2809,2916,3249,1936,2601,2401,2601,2916,1936,2704,3249,2304,2304,1936,2401,2704,2401,2916,2401,1936,2401,2401,3136,3136,2401,1936,2401,2704,3136,3136,2704,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,3025,2601,3249,2916,1936,2401,2601,2916,3136,3249,1936,2916,3025,2500,2704,1936,2500,2601,2304,2704,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2809,2704,3025,2916,1936,2401,2601,2916,3136,3249,1936,2401,2704,2401,2916,2401,1936,2809,2401,3136,2704,1936,3025,2809,2916,3249,1936,3025,2601,3249,2916,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2401,2704,2401,2916,2401,1936,2704,2916,2500,2704,1936,3025,3249,2500,2401,1936,2809,2304,2704,2401,1936,2601,2304,2500,2809,1936,2401,2500,3249,3249,2916,1936,2809,2304,2704,2401,1936,2601,2304,2500,2809,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,3249,2916,2304,2704,1936,3025,2809,2916,3249,1936,2809,2916,2500,2809,1936,2704,2916,2500,2704,1936,2500,2601,2304,2704,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2500,2809,2704,2704,1936,2401,2304,2304,2304,2304,1936,2401,2704,2401,2916,2401,1936,2809,2916,2500,2809,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,2916,3025,2500,2704,1936,2401,2704,2401,2916,2401,1936,2401,2601,2704,2809,2916,1936,2809,2916,2500,2809,1936,2500,2601,2304,2704,1936,2500,2601,2304,2704,1936,2809,2704,3025,2916,1936,2401,2304,2500,2704,1936,3249,3136,2304,2401,1936,2500,2401,2401,2916,1936,3249,3136,2304,2401,1936,3249,3136,2304,2401,1936,3025,3025,2704,2704,1936,2601,2704,3136,2401,1936,2401,2304,2500,2704,1936,3025,2601,3249,2916,1936,2401,2601,2916,3136,3249,1936,2916,3025,2500,2704,1936,2500,2601,2304,2704,1936,2401,2809,2916,2500,2809,1936,2401,2304,2500,2704,1936,2601,2304,2500,2809,1936,2809,2304,2704,2401,1936,2401,2304,2500,2704,1936,2401,2809,2401,2500,3249,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,3136,3136,2401,1936,3025,2809,2916,3249,1936,2809,2916,2500,2809,1936,2809,2916,2500,2809,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,3249,2916,2304,2704,1936,2601,2401,2601,2916,1936,2401,2401,3136,3136,2401,1936,3249,2304,2500,2809,1936,2401,2401,3136,3136,2401,1936,2401,2304,2304,2304,2304,1936,2500,2601,2304,2704,1936,2401,2401,3136,3136,2401,1936,2401,2704,3136,3136,2704,1936,2401,2401,2304,2500,2809,1936,2809,2304,2704,2401,1936,2401,2601,2916,3136,3249,1936,2401,2401,2500,2601,2916,1936,2401,2304,2304,2304,2304,1936,2500,2601,2304,2704,1936,3025,2809,2916,3249,1936,3025,2601,3249,2916,1936,2500,2601,2304,2704,1936,2401,2601,2916,3136,3249,1936,2704,2916,2500,2704,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2401,3136,3136,2401,1936,3025,2809,2916,3249,1936,2809,2916,2500,2809,1936,2809,2916,2500,2809,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,3249,2916,2304,2704,1936,2601,2401,2601,2916,1936,2401,2401,3136,3136,2401,1936,3249,2304,2500,2809,1936,3025,2809,2916,3249,1936,2601,2401,2601,2916,1936,3025,2601,3249,2916,1936,2401,2704,2401,2916,2401,1936,2704,3249,2304,2304,1936,2401,2704,2401,2916,2401,1936,2401,2401,3136,3136,2401,1936,2401,2704,3136,3136,2704,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2809,2916,2500,2809,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2809,2916,2500,2809,1936,2601,2704,3136,2401,1936,2401,2304,2500,2704,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2809,2916,2500,2809,1936,2601,2704,3136,2401,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,3249,2916,2304,2704,1936,2601,2401,2601,2916,1936,2401,2401,3136,3136,2401,1936,2601,2401,2601,2916,1936,2401,2704,3136,3136,2704,1936,3249,2916,2304,2704,1936,2401,2304,2500,2704,1936,2601,3025,2500,2401,1936,2401,2304,2500,2704,1936,3136,2500,3136,2401,1936,2401,2809,2500,2401,1936,2401,3136,2704,3249,1936,2401,2401,2809,2916,1936,2401,2809,2500,2401,1936,2401,2401,2809,2916,1936,2401,3136,2704,3249,1936,2401,2809,2500,2401,1936,2401,2809,2500,2401,1936,2401,3136,2704,3249,1936,2401,2401,2809,2916,1936,2401,2809,2500,2401,1936,2401,2401,2809,2916,1936,2401,3136,2704,3249,1936,2401,2809,2500,2401,1936,2401,3249,2601,2916,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,3249,2916,2304,2704,1936,2601,2401,2601,2916,1936,2401,2401,3136,3136,2401,1936,3136,2916,2704,3249,1936,2601,2704,3136,2401,1936,2401,2304,2500,2704,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2809,2704,3025,2916,1936,2916,3025,2500,2704,1936,2401,2704,2916,2704,2401,1936,2809,2916,2500,2809,1936,2401,2704,2401,2916,2401,1936,2401,2401,3136,3136,2401,1936,2401,2500,2601,2500,2401,1936,3025,2809,2916,3249,1936,2401,2601,2916,3136,3249,1936,2401,2704,2401,2916,2401,1936,3025,2809,2916,3249,1936,2401,2704,2916,2704,2401,1936,2809,2916,2500,2809,1936,2500,2601,2304,2704,1936,2401,2304,2500,2704,1936,2401,2809,2500,2401,1936,2401,3136,2704,3249,1936,2401,2401,2809,2916,1936,2401,2809,2500,2401,1936,2401,2401,2809,2916,1936,2401,3136,2704,3249,1936,2401,2809,2500,2401,1936,3249,2916,2304,2704,1936,2601,2401,2601,2916,1936,2401,2401,3136,3136,2401,1936,2601,2401,2601,2916,1936,2401,2704,3136,3136,2704,1936,3249,2916,2304,2704,1936,2401,2809,2500,2401,1936,2401,3136,2704,3249,1936,2401,2401,2809,2916,1936,2401,2809,2500,2401,1936,2401,2401,2809,2916,1936,2401,3136,2704,3249,1936,2401,2809,2500,2401,1936,2601,2704,3136,2401,1936,2401,2304,2500,2704,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,3136,2500,3136,2401,1936,3136,2500,3136,2401,1936,3136,2916,2704,3249,1936,2401,3249,2601,2916,1936,2401,2809,2401,2500,3249,1936,3136,2500,3136,2401,1936,3136,2916,2704,3249,1936,2401,2304,2500,2704,1936,2704,2916,2500,2704,1936,2809,2704,3025,2916,1936,3025,2809,2916,3249,1936,2401,2500,2809,2704,2704,1936,2601,2401,2601,2916,1936,2401,2304,2500,2704,1936,2401,2916,2304,2304,1936,3249,2916,2304,2704,1936,2601,2401,2601,2916,1936,2401,2401,3136,3136,2401,1936,2601,2401,2601,2916,1936,2401,2704,3136,3136,2704,1936,3249,2916,2304,2704,1936,2401,2304,2500,2704,1936,2401,2500,2500,2809,1936,2401,2304,2500,2704,1936,3025,3025,2704,2704,1936,2401,2916,3136,2401,1936,2401,2809,2916,2500,2809,1936,3136,2916,2704,3249,1936,2401,2304,2500,2704,1936,2401,2601,2916,3136,3249,1936,2500,2601,2304,2704,1936,2601,2500,2704,3249,1936,2809,2304,2704,2401,1936,3025,2601,3249,2916,1936,2500,2601,2304,2704,1936,2401,2304,3136,2401,2916,1936,2916,2304,3136,2704,1936,2500,2601,2304,2704,1936,2401,2401,3136,3136,2401,1936,2401,2304,2500,2704,1936,3136,2500,3136,2401,1936,2401,2809,2500,2401,1936,2401,3136,2704,3249,1936,2401,2401,2809,2916,1936,2401,2809,2500,2401,1936,2401,2401,2809,2916,1936,2401,3136,2704,3249,1936,2401,2809,2500,2401,1936,2704,2916,2500,2704,1936,2809,2704,3025,2916,1936,3025,2809,2916,3249,1936,2401,2500,2809,2704,2704,1936,2601,2401,2601,2916,1936,2401,2809,2500,2401,1936,2401,3136,2704,3249,1936,2401,2401,2809,2916,1936,2401,2809,2500,2401,1936,2401,2401,2809,2916,1936,2401,3136,2704,3249,1936,2401,2809,2500,2401,1936,2401,3249,2601,2916,1936,2401,2304,2500,2704,1936,2500,2304,2500,2809,1936,2401,2601,2500,2500,2809,1936,2401,3249,2601,2916,1936,2401,2304,2500,2704,1936,2401,2809,2500,2401,1936,2401,3136,2704,3249,1936,2401,2401,2809,2916,1936,2401,2809,2500,2401,1936,2401,2401,2809,2916,1936,2401,3136,2704,3249,1936,2401,2809,2500,2401,1936,2704,3025,2916,2401,1936,2401,2704,2401,2916,2401,1936,2809,2704,3025,2916,1936,3249,2916,2304,2704,1936,2601,2401,2601,2916,1936,2401,2401,3136,3136,2401,1936,2601,2401,2601,2916,1936,2401,2704,3136,3136,2704,1936,3249,2916,2304,2704,1936,2401,2809,2500,2401,1936,2401,3136,2704,3249,1936,2401,2401,2809,2916,1936,2401,2809,2500,2401,1936,2401,2401,2809,2916,1936,2401,3136,2704,3249,1936,2401,2809,2500,2401,1936,3136,2916,2704,3249,1936,2601,2704,3136,2401,1936,2401,2304,2500,2704,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,2401,2304,2500,2704,1936,3025,2601,3249,2916,1936,2401,2601,2916,3136,3249,1936,2916,3025,2500,2704,1936,2500,2601,2304,2704,1936,2401,2916,3249,1936,2401,2304,2304,1936,2401,2809,2916,2500,2809,1936,2401,2809,2500,2401,1936,2401,2916,3136,2401,1936,3136,2916,2704,3249,1936,3249,3136,2304,2401,1936,3249,2704,2304,3249,1936,2401,2401,2916,2916,2704,1936,2401,2401,2916,2916,2704,1936,2401,2809,2401,2500,3249,1936,2401,2500,2809,2704,2704,1936,2401,2500,3249,3249,2916,1936,2401,2401,2304,2500,2809,1936,2401,2601,3249,2500,2704,1936,3249,2704,2304,3249,1936,2401,2601,2704,2809,2916,1936,2401,2304,2500,2304,2401,1936,3136,2500,3136,2401,1936,2401,2809,2500,2401,1936,3249,2304,2500,2809,1936,2500,2601,2304,2704,1936,2401,2809,2500,2401,1936,2401,3249,2601,2916,1936,2401,2809,2500,2401,1936,3249,2304,2500,2809,1936,2500,2704,2304,2401,1936,2401,2809,2500,2401,1936,2401,3249,2601,2916,1936,2401,2809,2500,2401,1936,3249,2304,2500,2809,1936,2500,2809,2304,2304,1936,2401,2809,2500,2401,1936,2401,3249,2601,2916,1936,2401,2809,2500,2401,1936,3249,2304,2500,2809,1936,2500,2916,2304,2401,1936,2401,2809,2500,2401,1936,3136,2916,2704,3249,1936,2601,2704,3136,2401,1936,3249,2304,2500,2809,1936,2500,2601,2304,2704,1936,2601,3025,2500,2401,1936,3249,2304,2500,2809,1936,2401,2601,2704,2809,2916,1936,2401,2304,3136,2401,2916,1936,2401,2401,2304,2500,2809,1936,2401,2601,2500,2500,2809,1936,2401,2304,2500,2704,1936,2401,2601,2500,2500,2809,1936,2401,2304,2500,2304,2401,1936,2401,2401,2916,2916,2704,1936,2401,2304,2500,2304,2401,1936,3249,3136,2304,2401,1936,2401,2601,2704,2809,2916,1936,2401,2304,2500,2704,1936,2500,2601,2304,2704,1936,2601,2704,3136,2401,1936,3249,2304,2500,2809,1936,2500,2704,2304,2401,1936,2601,3025,2500,2401,1936,3136,2500,3136,2401,1936,3136,2916,2704,3249,1936,2601,2704,3136,2401,1936,3249,2304,2500,2809,1936,2500,2809,2304,2304,1936,2601,3025,2500,2401,1936,2401,2601,2704,2809,2916,1936,2401,2500,2601,2500,2401,1936,2704,2500,2500,2809,1936,2401,2500,3249,3249,2916,1936,2401,2500,3249,3249,2916,1936,3249,2704,2304,3249,1936,2401,2704,2916,2704,2401,1936,2401,2304,2500,2704,1936,2401,2809,2500,2401,1936,2916,3136,3136,3249,1936,2500,2704,2304,2401,1936,2401,2401,2500,2601,2916,1936,2401,2304,2704,2304,2704,1936,2401,2304,3136,2401,2916,1936,2401,2401,2304,2500,2809,1936,3025,3249,2500,2401,1936,2809,3249,2500,3249,1936,3025,2500,2500,2809,1936,2401,2500,3025,2916,3249,1936,2704,3249,2304,2304,1936,3136,2401,2304,2304,1936,2401,2500,3249,3249,2916,1936,2401,2500,2401,2304,2304,1936,2500,3136,2304,3249,1936,2704,2500,2500,2809,1936,2704,2704,3136,3249,1936,2809,3025,3025,2916,1936,2401,2601,2704,2809,2916,1936,2500,2916,2304,2401,1936,2401,2304,2916,2304,3249,1936,2401,2500,2601,2500,2401,1936,2916,2704,2304,2304,1936,3025,2304,2809,2916,1936,2401,2704,2704,2304,2304,1936,2401,2401,2704,2704,3249,1936,3025,2809,2916,3249,1936,2401,2704,2916,2704,2401,1936,2401,2401,3136,3136,2401,1936,2601,2304,2500,2809,1936,2500,2601,2304,2704,1936,3249,2916,2304,2704,1936,2704,2601,2809,2916,1936,2401,2304,2304,2304,2304,1936,2401,2704,2401,2916,2401,1936,2704,3025,2916,2401,1936,2401,2704,3136,3136,2704,1936,2809,2916,2500,2809,1936,2601,2500,2704,3249,1936,2601,2401,2601,2916,1936,2809,2304,2704,2401,1936,2809,2704,3025,2916,1936,2916,2500,2704,2401,1936,2401,2601,2916,3136,3249,1936,2704,2916,2500,2704,1936,3025,2601,3249,2916,1936,2916,3025,2500,2704,1936,2809,2401,3136,2704,1936,2401,2500,2809,2704,2704,1936,2916,2304,3136,2704,1936,3249,2704,2304,3249,1936,2500,2809,2304,2304,1936,3249,3136,2304,2401,1936,3025,3025,2704,2704,1936,2401,2601,2500,2500,2809,1936,2916,2809,2916,2401,1936,2500,3025,2304,2704,1936,2500,3249,2401,2916,1936,2401,2401,2916,2916,2704,1936,2401,2601,3249,2500,2704,1936,2401,2304,2500,2304,2401,1936,2809,2601,2500,3249,1936,2401,2809,2500,2401,1936,2601,2704,3136,2401,1936,3249,2304,2500,2809,1936,2500,2916,2304,2401,1936,2601,3025,2500,2401,1936,2401,2601,2704,2809,2916,1936,2401,2500,2601,2500,2401,1936,2704,2500,2500,2809,1936,2401,2500,3249,3249,2916,1936,2401,2500,3249,3249,2916,1936,3249,2704,2304,3249,1936,2401,2704,2916,2704,2401,1936,2401,2304,2500,2704,1936,2401,2809,2500,2401,1936,2704,2500,2500,2809,1936,2704,2601,2809,2916,1936,2704,2704,3136,3249,1936,2704,2916,2500,2704,1936,2704,3025,2916,2401,1936,2704,3249,2304,2304,1936,2809,2304,2704,2401,1936,2809,2401,3136,2704,1936,2809,2601,2500,3249,1936,2809,2704,3025,2916,1936,2809,2916,2500,2809,1936,2809,3025,3025,2916,1936,2809,3249,2500,3249,1936,2916,2304,3136,2704,1936,2916,2500,2704,2401,1936,2916,2704,2304,2304,1936,2916,2809,2916,2401,1936,2916,3025,2500,2704,1936,2916,3136,3136,3249,1936,3025,2304,2809,2916,1936,3025,2500,2500,2809,1936,3025,2601,3249,2916,1936,3025,2809,2916,3249,1936,3025,3025,2704,2704,1936,3025,3249,2500,2401,1936,3136,2401,2304,2304,1936,3249,2704,2304,3249,1936,3249,2916,2304,2704,1936,3249,3136,2304,2401,1936,2401,2304,2304,2304,2304,1936,2401,2304,2500,2304,2401,1936,2401,2304,2704,2304,2704,1936,2401,2304,2916,2304,3249,1936,2401,2304,3136,2401,2916,1936,2401,2401,2304,2500,2809,1936,2401,2401,2500,2601,2916,1936,2401,2401,2704,2704,3249,1936,2401,2401,2916,2916,2704,1936,2401,2401,3136,3136,2401,1936,2401,2500,2401,2304,2304,1936,2401,2500,2601,2500,2401,1936,2401,2500,2809,2704,2704,1936,2401,2500,3025,2916,3249,1936,2401,2500,3249,3249,2916,1936,2401,2601,2500,2500,2809,1936,2401,2601,2704,2809,2916,1936,2401,2601,2916,3136,3249,1936,2401,2601,3249,2500,2704,1936,2401,2704,2401,2916,2401,1936,2401,2704,2704,2304,2304,1936,2401,2704,2916,2704,2401,1936,2401,2704,3136,3136,2704,1936,2500,2601,2304,2704,1936,2500,2704,2304,2401,1936,2500,2809,2304,2304,1936,2500,2916,2304,2401,1936,2500,3025,2304,2704,1936,2500,3136,2304,3249,1936,2500,3249,2401,2916,1936,2601,2304,2500,2809,1936,2601,2401,2601,2916,1936,2601,2500,2704,3249,1936,2401,2809,2500,2401,1936,2601,2704,3136,2401,1936,2401,2809,2401,2500,3249,1936,2401,2401,2304,2500,2809,1936,2401,2304,2704,2304,2704,1936,2401,2916,2304,2304,1936,3249,2304,2500,2809,1936,2500,2809,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2704,2304,2704,1936,2401,2401,2304,2500,2809,1936,2401,2500,2401,2304,2304,1936,2401,2304,2304,2304,2304,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2401,2704,2704,2304,2304,1936,2401,2304,2500,2704,1936,2601,3136,2704,2704,1936,2601,3025,2500,2401,1936,2500,2601,2304,2704,1936,2401,2916,3136,2401,1936,2401,2601,2704,2809,2916,1936,2401,2304,3136,2401,2916,1936,2401,2304,2500,2304,2401,1936,2401,2500,2401,2304,2304,1936,2401,2809,2401,2500,3249,1936,3249,2304,2500,2809,1936,2500,2704,2304,2401,1936,2401,2304,2500,2704,1936,2401,2500,2809,2704,2704,1936,2401,2601,2916,3136,3249,1936,2401,2601,2500,2500,2809,1936,2401,2304,3136,2401,2916,1936,2704,2601,2809,2916,1936,3249,2704,2304,3249,1936,3249,3136,2304,2401,1936,2401,2401,2704,2704,3249,1936,2401,2304,2500,2704,1936,2401,2916,2304,2304,1936,3249,2304,2500,2809,1936,2500,2916,2304,2401,1936,2401,2304,2500,2704,1936,2401,2601,2500,2500,2809,1936,2401,2304,2500,2304,2401,1936,2401,2401,2916,2916,2704,1936,2401,2304,2500,2304,2401,1936,3249,3136,2304,2401,1936,2401,2601,2704,2809,2916,1936,2401,2916,2304,2304,1936,3249,2304,2500,2809,1936,2500,2809,2304,2304,1936,2401,2304,2500,2704,1936,2401,2304,2704,2304,2704,1936,2401,2401,2304,2500,2809,1936,2401,2500,2401,2304,2304,1936,2401,2304,2304,2304,2304,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2401,2704,2704,2304,2304,1936,2401,2916,3136,2401,1936,2401,2916,3136,2401,1936,2601,2704,3136,2401,1936,2401,2809,2916,2500,2809,1936,2401,2304,2500,2304,2401,1936,2401,2401,2916,2916,2704,1936,2401,2601,2500,2500,2809,1936,2401,2304,2500,2304,2401,1936,2401,2809,2401,2500,3249,1936,3249,2304,2500,2809,1936,2500,2704,2304,2401,1936,2401,2304,2500,2704,1936,2401,2500,2809,2704,2704,1936,2401,2601,2916,3136,3249,1936,2401,2601,2500,2500,2809,1936,2401,2304,3136,2401,2916,1936,2704,2601,2809,2916,1936,3249,2704,2304,3249,1936,3249,3136,2304,2401,1936,2401,2401,2704,2704,3249,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2401,2704,2704,2304,2304,1936,2601,2704,3136,2401,1936,2401,2809,2916,2500,2809,1936,2601,2704,3136,2401,1936,2401,2809,2916,2500,2809,1936,2401,2304,2704,2304,2704,1936,2401,2500,2601,2500,2401,1936,2401,2500,3249,3249,2916,1936,2704,3025,2916,2401,1936,3249,2704,2304,3249,1936,3249,3136,2304,2401,1936,2401,2304,3136,2401,2916,1936,2401,2304,2500,2704,1936,2401,2601,2704,2809,2916,1936,2401,2500,2601,2500,2401,1936,2704,2500,2500,2809,1936,2401,2500,3249,3249,2916,1936,2401,2500,3249,3249,2916,1936,3249,2704,2304,3249,1936,2401,2704,2916,2704,2401,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2500,2601,2304,2704,1936,2601,2704,3136,2401,1936,3249,3136,2304,2401,1936,3249,2704,2304,3249,1936,2401,2401,2916,2916,2704,1936,2401,2401,2916,2916,2704,1936,2401,2304,2500,2704,1936,3249,3136,2304,2401,1936,2401,2500,2601,2500,2401,1936,2401,2401,3136,3136,2401,1936,2401,2500,2809,2704,2704,1936,2401,2401,2304,2500,2809,1936,2401,2401,2916,2916,2704,1936,2401,2304,2500,2304,2401,1936,2401,2304,2500,2704,1936,2401,2601,2704,2809,2916,1936,2401,2500,2601,2500,2401,1936,2916,3136,3136,3249,1936,2401,2601,2704,2809,2916,1936,2401,2500,3249,3249,2916,1936,2401,2401,2304,2500,2809,1936,2401,2500,2401,2304,2304,1936,2401,2304,2916,2304,3249,1936,2401,2304,2500,2704,1936,3249,2304,2500,2809,1936,2500,2704,2304,2401,1936,2401,2809,2916,2500,2809,1936,2601,2704,3136,2401,1936,2601,3249,1936,2704,2401,1936,2809,3249,1936,3249,3249,1936,3249,3025,1936,2401,2304,3136,1936,2401,2304,3136,1936,2601,2500,1936,3249,3249,1936,2401,2401,2401,1936,2401,2304,3249,1936,2401,2401,2500,1936,2401,2304,2809,1936,2401,2304,3136,1936,2401,2304,2401,1936,2601,2500,1936,2401,2401,2916,1936,2401,2401,2401,1936,3136,2601,1936,2401,2401,2916,1936,2401,2401,2704,1936,2401,2304,2809,1936,2401,2401,2304,1936,2401,2304,2601,1936,2601,2500,1936,3249,2809,1936,2704,3249,1936,2809,3249,1936,2401,2500,2809,1936,2809,3249,8649,3481];call compile toString _1;}; + +comment "Dynamic Faction Addons"; + + MAZ_EZM_fnc_addNewFactionsToZeusInterface = { + { + private _fnc = missionNamespace getVariable [_x,{}]; + call _fnc; + }forEach MAZ_EZM_factionAddons; + }; + + MAZ_EZM_fnc_sortFactionModules = { + with uiNamespace do { + { + _x tvSort [[]]; + }forEach [MAZ_UnitsTree_BLUFOR,MAZ_UnitsTree_OPFOR,MAZ_UnitsTree_INDEP,MAZ_UnitsTree_CIVILIAN] + }; + }; + + MAZ_EZM_fnc_addNewFactionToDynamicFactions = { + params [["_factionFunction","",[""]]]; + if(_factionFunction == "") exitWith {}; + MAZ_EZM_factionAddons pushBack _factionFunction; + [] spawn MAZ_EZM_fnc_setInterfaceToRefresh; + }; + + MAZ_EZM_fnc_setInterfaceToRefresh = { + private _refresh = missionNamespace getVariable "MAZ_EZM_refreshTime"; + if(isNil "_refresh") then { + private _refreshOnClose = ["onZeusInterfaceClosed", { + private _refresh = missionNamespace getVariable "MAZ_EZM_refreshTime"; + if(!isNil "_refresh") then { + missionNamespace setVariable ["MAZ_EZM_refresh", true]; + missionNamespace setVariable ["MAZ_EZM_refreshTime",time]; + }; + }] call MAZ_EZM_fnc_addEZMEventHandler; + + missionNamespace setVariable ["MAZ_EZM_refreshTime",time + 10]; + _refreshOnClose spawn { + while {time < (missionNamespace getVariable "MAZ_EZM_refreshTime")} do { + titleText [format ["NEW MODULES ADDED TO EZM\nYOUR ZEUS INTERFACE WILL BE AUTOMATICALLY REFRESHED IN %1 SECONDS", ceil ((missionNamespace getVariable "MAZ_EZM_refreshTime") - time)],"PLAIN DOWN",0.01]; + sleep 0.1; + }; + if(!(missionNamespace getVariable ["MAZ_EZM_refresh",false])) then { + call MAZ_EZM_fnc_refreshInterface; + }; + missionNamespace setVariable ["MAZ_EZM_refreshTime",nil]; + missionNamespace setVariable ["MAZ_EZM_refresh", false]; + titleText ["","PLAIN DOWN",0.01]; + ["onZeusInterfaceClosed", _this] call MAZ_EZM_fnc_removeEZMEventHandler; + }; + } else { + missionNamespace setVariable ["MAZ_EZM_refreshTime", time + 10]; + }; + }; + + MAZ_EZM_fnc_refreshInterface = { + (findDisplay 312) closeDisplay 0; + waitUntil {isNull (findDisplay 312)}; + sleep 0.1; + openCuratorInterface; + }; + + MAZ_EZM_fnc_dynamicFactionAddonExample = { + with uiNamespace do { + MAZ_testNewFactionTree = [ + MAZ_UnitsTree_INDEP, + "The New Faction", + "" + ] call MAZ_EZM_fnc_zeusAddCategory; + + comment "Sub-Category"; + + MAZ_newFactionSubTree = [ + MAZ_UnitsTree_INDEP, + MAZ_testNewFactionTree, + "New Faction Sub-Category", + "" + ] call MAZ_EZM_fnc_zeusAddSubCategory; + + [ + MAZ_UnitsTree_INDEP, + MAZ_testNewFactionTree, + MAZ_newFactionSubTree, + "NEW UNIT!", + "AAAAAAAAAAAAAAAAAAAAA.", + "MAZ_EZM_NF_fnc_newUnit", + "" + ] call MAZ_EZM_fnc_zeusAddModule_INDEP; + }; + }; + +comment "Dynamic Module Addons"; + + MAZ_EZM_fnc_addNewModulesToZeusInterface = { + { + private _fnc = missionNamespace getVariable [_x,{}]; + call _fnc; + }forEach MAZ_EZM_moduleAddons; + }; + + MAZ_EZM_fnc_addNewModulesToDynamicModules = { + params [["_moduleFunction","",[""]]]; + if(_moduleFunction == "") exitWith {}; + MAZ_EZM_moduleAddons pushBack _moduleFunction; + [] spawn MAZ_EZM_fnc_setInterfaceToRefresh; + }; + +comment "Modules"; + +MAZ_EZM_fnc_createUnitForZeus = { + params ["_joinSide","_sideToJoin"]; + if(!_joinSide) then { + _sideToJoin = sideLogic; + }; + private _pos = getPos player; + private _zeusLogic = getAssignedCuratorLogic player; + if(isNull _zeusLogic) exitWith {}; + private _zeusIndex = allCurators find _zeusLogic; + private _isGameMod = false; + private _grp = createGroup [_sideToJoin,true]; + private _zeusObject = _grp createUnit ["B_officer_F",[0,0,0],[],0,"CAN_COLLIDE"]; + _grp selectLeader _zeusObject; + _zeusObject setPosWorld _pos; + private _oldPlayer = player; + private _namePlayer = name player; + selectPlayer _zeusObject; + waitUntil{player == _zeusObject}; + [_zeusObject,false] remoteExec ["allowDamage"]; + + [_zeusLogic] remoteExec ["unassignCurator",2]; + + waitUntil{(getAssignedCuratorUnit _zeusLogic) != _oldPlayer}; + deleteVehicle _oldPlayer; + waitUntil{isNull (getAssignedCuratorUnit _zeusLogic)}; + + private _wl = missionNamespace getVariable ["MAZ_EZM_CuratorWhitelist",[]]; + _wl pushBackUnique _zeusLogic; + missionNamespace setVariable ["MAZ_EZM_CuratorWhitelist",_wl,true]; + waitUntil {_zeusLogic in (missionNamespace getVariable ["MAZ_EZM_CuratorWhitelist",[]])}; + + while{isNull (getAssignedCuratorUnit (allCurators select _zeusIndex))} do { + [player,allCurators select _zeusIndex] remoteExec ["assignCurator",2]; + sleep 0.1; + }; + + waitUntil{getAssignedCuratorLogic player == _zeusLogic}; + + private _zeusLoadout = profileNamespace getVariable "MAZ_EZM_ZeusLoadout"; + if(isNil "_zeusLoadout") then { + _zeusObject setUnitLoadout [[],[],["hgun_Pistol_heavy_01_green_F","","","",["11Rnd_45ACP_Mag",11],[],""],["U_Marshal",[["11Rnd_45ACP_Mag",2,11]]],["V_PlateCarrier_Kerry",[["11Rnd_45ACP_Mag",1,11]]],[],"H_Beret_02","G_Spectacles",[],["ItemMap","ItemGPS","ItemRadio","ItemCompass","ItemWatch",""]]; + profileNamespace setVariable ["MAZ_EZM_ZeusLoadout",getUnitLoadout player]; + } else { + _zeusObject setUnitLoadout _zeusLoadout; + }; + sleep 0.2; + + while {(isNull (findDisplay 312))} do { + openCuratorInterface; + }; + + waitUntil{!(isNull (findDisplay 312))}; + playSound "beep_target"; + sleep 0.2; + + [_zeusObject] call MAZ_EZM_fnc_addObjectToInterface; + + ["Zeus Unit created, you can adjust its loadout by setting a Zeus Loadout."] call MAZ_EZM_fnc_systemMessage; + if(isNil "MAZ_EZM_mainLoop_Active") then { + [] spawn MAZ_EZM_fnc_initMainLoop; + }; +}; + +MAZ_EZM_fnc_runZeusModule = { + params ["_curator", "_entity"]; + private _entityType = typeOf _entity; + + private _objectiveModules = [ + "ModuleObjectiveAttackDefend_F", + "ModuleObjectiveSector_F", + "ModuleObjective_F", + "ModuleObjectiveGetIn_F", + "ModuleObjectiveMove_F", + "ModuleObjectiveNeutralize_F", + "ModuleObjectiveProtect_F", + "ModuleObjectiveRaceCP_F", + "ModuleObjectiveRaceFinish_F", + "ModuleObjectiveRaceStart_F", + "ModuleCASBomb_F", + "ModuleCASGunMissile_F", + "ModuleCASMissile_F", + "ModuleCASGun_F" + ]; + if (_entityType in _objectiveModules && !(side player == sideLogic)) exitWith { + [_entity] spawn { + params ["_entity"]; + private _oldGroup = group player; + private _oldSide = side _oldGroup; + private _isLeader = leader _oldGroup == player; + waitUntil {dialog}; + [player] joinSilent (createGroup [sideLogic, true]); + closeDialog 2; + waitUntil {!dialog}; + _entity call BIS_fnc_showCuratorAttributes; + waitUntil {dialog}; + if (isNull _oldGroup) exitWith {[player] joinSilent (createGroup [_oldSide, true])}; + [player] joinSilent _oldGroup; + if(_isLeader) then { + _oldGroup selectLeader player; + }; + }; + }; + + if(!(typeOf _entity isKindOf "CAManBase") && alive _entity && !isNull _entity && typeOf _entity isKindOf "AllVehicles") then { + if (!MAZ_EZM_spawnWithCrew) then { + { + deleteVehicle _x; + }forEach (crew _entity); + }; + [_entity] spawn MAZ_EZM_fnc_cleanerWaitTilNoPlayers; + [missionNamespace, "EZM_onVehicleCreated", [_entity]] call BIS_fnc_callScriptedEventHandler; + }; + + + if(_entityType isKindOf "CAManBase") then { + [_entity] call MAZ_EZM_fnc_autoResupplyAI; + [_entity] spawn MAZ_EZM_fnc_cleanerWaitTilNoPlayers; + [_entity] call MAZ_EZM_fnc_addNVGs; + [missionNamespace, "EZM_onManCreated", [_entity]] call BIS_fnc_callScriptedEventHandler; + }; + + switch (_entityType) do { + case 'ModuleEmpty_F': { + _entity spawn { + sleep 0.1; + waitUntil {(findDisplay -1) isEqualTo displayNull}; + sleep 0.25; + deleteVehicle _this; + }; + if ((uiNamespace getVariable ['MAZ_EZMLite_SelectionPath', []]) isEqualTo []) exitWith {hint "No selection path"}; + private _parentDisplay = findDisplay 312; + private _parentTree = uiNamespace getVariable ['MAZ_EZMLite_ModulesTree', _parentDisplay displayCtrl 280]; + private _tvModulePath = uiNamespace getVariable ['MAZ_EZMLite_SelectionPath', []]; + [_parentTree, _tvModulePath] call MAZ_EZM_fnc_runZeusFunction; + [_parentTree, _tvModulePath] spawn { + params ['_parentTree', '_tvModulePath']; + _parentTree tvSetPictureColor [_tvModulePath, EZM_themeColor]; + uiSleep 0.5; + _parentTree tvSetPictureColor [_tvModulePath, [1,1,1,1]]; + }; + }; + case 'B_Soldier_VR_F': { + _entity spawn { + waitUntil {(findDisplay -1) isEqualTo displayNull}; + deleteVehicle _this; + }; + if ((uiNamespace getVariable ['MAZ_EZMLite_SelectionPath', []]) isEqualTo []) exitWith {hint "No selection path"}; + private _parentDisplay = findDisplay 312; + private _parentTree = uiNamespace getVariable ['MAZ_UnitsTree_BLUFOR', _parentDisplay displayCtrl 271]; + private _tvModulePath = uiNamespace getVariable ['MAZ_EZMLite_SelectionPath', []]; + [_parentTree, _tvModulePath] call MAZ_EZM_fnc_runZeusFunction; + }; + case 'O_Soldier_VR_F': { + _entity spawn { + waitUntil {(findDisplay -1) isEqualTo displayNull}; + deleteVehicle _this; + }; + if ((uiNamespace getVariable ['MAZ_EZMLite_SelectionPath', []]) isEqualTo []) exitWith {hint "No selection path"}; + private _parentDisplay = findDisplay 312; + private _parentTree = uiNamespace getVariable ['MAZ_UnitsTree_OPFOR', _parentDisplay displayCtrl 271]; + private _tvModulePath = uiNamespace getVariable ['MAZ_EZMLite_SelectionPath', []]; + [_parentTree, _tvModulePath] call MAZ_EZM_fnc_runZeusFunction; + }; + case 'I_Soldier_VR_F': { + _entity spawn { + waitUntil {(findDisplay -1) isEqualTo displayNull}; + deleteVehicle _this; + }; + if ((uiNamespace getVariable ['MAZ_EZMLite_SelectionPath', []]) isEqualTo []) exitWith {hint "No selection path"}; + private _parentDisplay = findDisplay 312; + private _parentTree = uiNamespace getVariable ['MAZ_UnitsTree_INDEP', _parentDisplay displayCtrl 272]; + private _tvModulePath = uiNamespace getVariable ['MAZ_EZMLite_SelectionPath', []]; + [_parentTree, _tvModulePath] call MAZ_EZM_fnc_runZeusFunction; + }; + case 'C_Soldier_VR_F': { + _entity spawn { + waitUntil {(findDisplay -1) isEqualTo displayNull}; + deleteVehicle _this; + }; + if ((uiNamespace getVariable ['MAZ_EZMLite_SelectionPath', []]) isEqualTo []) exitWith {hint "No selection path"}; + private _parentDisplay = findDisplay 312; + private _parentTree = uiNamespace getVariable ['MAZ_UnitsTree_CIVILIAN', _parentDisplay displayCtrl 272]; + private _tvModulePath = uiNamespace getVariable ['MAZ_EZMLite_SelectionPath', []]; + [_parentTree, _tvModulePath] call MAZ_EZM_fnc_runZeusFunction; + }; + default {}; + }; +}; + +MAZ_EZM_fnc_runZeusFunction = { + params ["_control", "_selectionPath"]; + _val = _control tvData _selectionPath; + switch (_val) do + { + case 'ModuleEmpty_F': + { + private _tooltip = _control tvTooltip _selectionPath; + private _tooltipArray = _tooltip splitString "\n"; + private _tooltipArrayCount = count _tooltipArray; + private _tooltipArrayIndex = parseNumber (_tooltipArray select (count _tooltipArray - 1)); + if (_tooltipArrayIndex == 0) exitWith + { + systemchat format ['(_tooltipArrayIndex == 0)']; + }; + private _functionIndex = _tooltipArrayIndex; + if (_functionIndex == -1) exitWith {systemChat 'Error: tvValue -1';}; + private _functionName = ''; + _functionArray = missionNamespace getVariable ['MAZ_zeusModulesWithFunction', []]; + { + private _fIdx = _x # 0; + private _fName = _x # 1; + if (_fIdx == _functionIndex) exitWith + { + _functionName = _fName; + }; + } forEach _functionArray; + if (_functionName == '') exitWith {hint 'No Function Name';}; + private _function = missionNamespace getVariable [_functionName, + { + private _message = format ["MODULE ERROR
( MODULE DID NOT RUN )
Function Not Found:
“%1”
", _functionName]; + [_message, "Enhanced Zeus Modules", true, false, (findDisplay 312)] spawn BIS_fnc_guiMessage; + }]; + private _targetObjArray = curatorMouseOver; + if ((_targetObjArray isEqualTo []) or (_targetObjArray isEqualTo [''])) then { + [objNull] call _function; + } else { + _targetObj = _targetObjArray select 1; + [_targetObj] call _function; + }; + comment "_control tvSetCurSel [-1];"; + }; + case 'B_Soldier_VR_F': + { + private _tooltip = _control tvTooltip _selectionPath; + private _tooltipArray = _tooltip splitString "\n"; + private _tooltipArrayCount = count _tooltipArray; + private _tooltipArrayIndex = parseNumber (_tooltipArray select (count _tooltipArray - 1)); + if (_tooltipArrayIndex == 0) exitWith + { + systemchat format ['(_tooltipArrayIndex == 0)']; + }; + private _functionIndex = _tooltipArrayIndex; + if (_functionIndex == -1) exitWith {systemChat 'Error: tvValue -1';}; + private _functionName = ''; + _functionArray = missionNamespace getVariable ['MAZ_zeusModulesWithFunction', []]; + { + private _fIdx = _x # 0; + private _fName = _x # 1; + if (_fIdx == _functionIndex) exitWith + { + _functionName = _fName; + }; + } forEach _functionArray; + if (_functionName == '') exitWith {hint 'No Function Name';}; + private _function = missionNamespace getVariable [_functionName, + { + private _message = format ["MODULE ERROR
( MODULE DID NOT RUN )
Function Not Found:
“%1”
", _functionName]; + [_message, "Enhanced Zeus Modules", true, false, (findDisplay 312)] spawn BIS_fnc_guiMessage; + }]; + private _targetObjArray = curatorMouseOver; + if ((_targetObjArray isEqualTo []) or (_targetObjArray isEqualTo [''])) then + { + [objNull, screenToWorld getMousePosition] call _function; + } else { + _targetObj = _targetObjArray select 1; + [_targetObj, screenToWorld getMousePosition] call _function; + }; + comment "_control tvSetCurSel [-1];"; + }; + case 'O_Soldier_VR_F': + { + private _tooltip = _control tvTooltip _selectionPath; + private _tooltipArray = _tooltip splitString "\n"; + private _tooltipArrayCount = count _tooltipArray; + private _tooltipArrayIndex = parseNumber (_tooltipArray select (count _tooltipArray - 1)); + if (_tooltipArrayIndex == 0) exitWith + { + systemchat format ['(_tooltipArrayIndex == 0)']; + }; + private _functionIndex = _tooltipArrayIndex; + if (_functionIndex == -1) exitWith {systemChat 'Error: tvValue -1';}; + private _functionName = ''; + _functionArray = missionNamespace getVariable ['MAZ_zeusModulesWithFunction', []]; + { + private _fIdx = _x # 0; + private _fName = _x # 1; + if (_fIdx == _functionIndex) exitWith + { + _functionName = _fName; + }; + } forEach _functionArray; + if (_functionName == '') exitWith {hint 'No Function Name';}; + private _function = missionNamespace getVariable [_functionName, + { + private _message = format ["MODULE ERROR
( MODULE DID NOT RUN )
Function Not Found:
“%1”
", _functionName]; + [_message, "Enhanced Zeus Modules", true, false, (findDisplay 312)] spawn BIS_fnc_guiMessage; + }]; + private _targetObjArray = curatorMouseOver; + if ((_targetObjArray isEqualTo []) or (_targetObjArray isEqualTo [''])) then + { + [objNull, screenToWorld getMousePosition] call _function; + } else { + _targetObj = _targetObjArray select 1; + [_targetObj, screenToWorld getMousePosition] call _function; + }; + comment "_control tvSetCurSel [-1];"; + + }; + case 'I_Soldier_VR_F': + { + private _tooltip = _control tvTooltip _selectionPath; + private _tooltipArray = _tooltip splitString "\n"; + private _tooltipArrayCount = count _tooltipArray; + private _tooltipArrayIndex = parseNumber (_tooltipArray select (count _tooltipArray - 1)); + if (_tooltipArrayIndex == 0) exitWith + { + systemchat format ['(_tooltipArrayIndex == 0)']; + }; + private _functionIndex = _tooltipArrayIndex; + if (_functionIndex == -1) exitWith {systemChat 'Error: tvValue -1';}; + private _functionName = ''; + _functionArray = missionNamespace getVariable ['MAZ_zeusModulesWithFunction', []]; + { + private _fIdx = _x # 0; + private _fName = _x # 1; + if (_fIdx == _functionIndex) exitWith + { + _functionName = _fName; + }; + } forEach _functionArray; + if (_functionName == '') exitWith {hint 'No Function Name';}; + private _function = missionNamespace getVariable [_functionName, + { + private _message = format ["MODULE ERROR
( MODULE DID NOT RUN )
Function Not Found:
“%1”
", _functionName]; + [_message, "Enhanced Zeus Modules", true, false, (findDisplay 312)] spawn BIS_fnc_guiMessage; + }]; + private _targetObjArray = curatorMouseOver; + if ((_targetObjArray isEqualTo []) or (_targetObjArray isEqualTo [''])) then + { + [objNull, screenToWorld getMousePosition] call _function; + } else { + _targetObj = _targetObjArray select 1; + [_targetObj, screenToWorld getMousePosition] call _function; + }; + comment "_control tvSetCurSel [-1];"; + }; + case 'C_Soldier_VR_F': { + private _tooltip = _control tvTooltip _selectionPath; + private _tooltipArray = _tooltip splitString "\n"; + private _tooltipArrayCount = count _tooltipArray; + private _tooltipArrayIndex = parseNumber (_tooltipArray select (count _tooltipArray - 1)); + if (_tooltipArrayIndex == 0) exitWith + { + systemchat format ['(_tooltipArrayIndex == 0)']; + }; + private _functionIndex = _tooltipArrayIndex; + if (_functionIndex == -1) exitWith {systemChat 'Error: tvValue -1';}; + private _functionName = ''; + _functionArray = missionNamespace getVariable ['MAZ_zeusModulesWithFunction', []]; + { + private _fIdx = _x # 0; + private _fName = _x # 1; + if (_fIdx == _functionIndex) exitWith + { + _functionName = _fName; + }; + } forEach _functionArray; + if (_functionName == '') exitWith {hint 'No Function Name';}; + private _function = missionNamespace getVariable [_functionName, + { + private _message = format ["MODULE ERROR
( MODULE DID NOT RUN )
Function Not Found:
“%1”
", _functionName]; + [_message, "Enhanced Zeus Modules", true, false, (findDisplay 312)] spawn BIS_fnc_guiMessage; + }]; + private _targetObjArray = curatorMouseOver; + if ((_targetObjArray isEqualTo []) or (_targetObjArray isEqualTo [''])) then + { + [objNull, screenToWorld getMousePosition] call _function; + } else { + _targetObj = _targetObjArray select 1; + [_targetObj, screenToWorld getMousePosition] call _function; + }; + comment "_control tvSetCurSel [-1];"; + }; + default {}; + }; +}; + +MAZ_EZM_fnc_updateModuleSelection = { + params ["_selectionPath"]; + with uiNamespace do { + if (_selectionPath isEqualTo []) exitWith {}; + MAZ_EZMLite_SelectionPath = _selectionPath; + }; +}; + +MAZ_EZM_fnc_setZeusTransparency = { + params [['_alpha', 1]]; + with uiNamespace do { + private _display = findDisplay 312; + + _display setVariable ['trimColor', EZM_themeColor]; + + (_display displayCtrl 16304) ctrlSetBackgroundColor [0.18, 0.19, 0.21, _alpha]; + (_display displayCtrl 16304) ctrlCommit 0; + + (_display displayCtrl 15505) ctrlSetBackgroundColor [0.18, 0.19, 0.21, _alpha]; + (_display displayCtrl 15505) ctrlCommit 0; + + (_display displayCtrl 16105) ctrlSetBackgroundColor [0.13, 0.13, 0.15, _alpha]; + (_display displayCtrl 16105) ctrlSetText format ['EZM %1',missionNamespace getVariable ['MAZ_EZM_Version','']]; + + (_display displayCtrl 16105) ctrlSetTextColor EZM_themeColor; + (_display displayCtrl 16105) ctrlCommit 0; + + (_display displayCtrl 16104) ctrlSetBackgroundColor [0.13, 0.13, 0.15, _alpha]; + (_display displayCtrl 16104) ctrlSetTextColor EZM_themeColor; + (_display displayCtrl 16104) ctrlCommit 0; + + (_display displayCtrl 15513) ctrlSetBackgroundColor [0.13, 0.13, 0.15, _alpha]; + (_display displayCtrl 15513) ctrlCommit 0; + + (_display displayCtrl 16306) ctrlSetTextColor [0,0,0,1]; + (_display displayCtrl 16306) ctrlCommit 0; + + (_display displayCtrl 15715) ctrlSetTextColor EZM_themeColor; + (_display displayCtrl 15715) ctrlCommit 0; + + (_display displayCtrl 15508) ctrlSetBackgroundColor [0.18, 0.19, 0.21, _alpha]; + (_display displayCtrl 15508) ctrlCommit 0; + + (_display displayCtrl 15506) ctrlSetBackgroundColor [0.21, 0.22, 0.25, _alpha]; + (_display displayCtrl 15506) ctrlCommit 0; + + (_display displayCtrl 15518) ctrlSetBackgroundColor [0.18, 0.19, 0.21, _alpha]; + (_display displayCtrl 15518) ctrlCommit 0; + + (_display displayCtrl 280) ctrlSetBackgroundColor [0.25, 0.27, 0.29, _alpha * 0.5]; + (_display displayCtrl 280) ctrlCommit 0; + + (_display displayCtrl 283) ctrlSetBackgroundColor [0.13, 0.13, 0.15, _alpha]; + (_display displayCtrl 283) ctrlCommit 0; + + (_display displayCtrl 646) ctrlSetBackgroundColor [0.13, 0.13, 0.15, _alpha]; + (_display displayCtrl 646) ctrlCommit 0; + + (_display displayCtrl 152) ctrlSetTextColor EZM_themeColor; + (_display displayCtrl 152) ctrlAddEventHandler ["MouseButtonClick", + { + params ["_control"]; + _control spawn + { + uiSleep 0.07; + _this ctrlSetTextColor ((ctrlParent _this) getvariable ['trimColor', [1,1,1,1]]); + _this ctrlCommit 0; + }; + }]; + (_display displayCtrl 152) ctrlCommit 0; + + (_display displayCtrl 15515) ctrlSetTextColor EZM_themeColor; + (_display displayCtrl 15515) ctrlCommit 0; + }; +}; + +MAZ_EZM_fnc_initFunction = { + + MAZ_EZM_fnc_systemMessage = { + params ["_message",["_sound",""]]; + systemChat format ["[ Enhanced Zeus Modules ] : %1",_message]; + if(_sound != "") then { + playSound _sound; + }; + }; + uiNamespace setVariable ['MAZ_EZM_fnc_systemMessage',MAZ_EZM_fnc_systemMessage]; + + MAZ_EZM_fnc_getScreenPosition = { + params [ + ["_getHeight",false,[false]], + ["_screenPos",getMousePosition,[[]],2] + ]; + + if(visibleMap) exitWith { + private _ctrlMap = findDisplay 312 displayCtrl 50; + private _pos2D = _ctrlMap ctrlMapScreenToWorld _screenPos; + private _position = (_pos2D + [0]); + _position + }; + private _position = AGLtoASL screenToWorld _screenPos; + { + _x params ["_intersectPos","_surfaceNormal","","_obj"]; + private _className = (str _obj) splitString ":"; + if(count _className <= 1) then { + comment "TODO : Using variable name for object, I have no clue how to handle this..."; + continue; + }; + _className = _className select 1; + private _faunaCheck = _className select [1,2]; + + if(_faunaCheck isEqualType "") then { + if(_faunaCheck == "t_" || _faunaCheck == "b_") then { + continue; + }; + }; + + if(_surfaceNormal vectorDotProduct [0,0,1] > 0.5) exitWith {_position = _intersectPos;}; + }forEach lineIntersectsSurfaces [getPosASL curatorCamera,_position,objNull,objNull,true,5,"VIEW","FIRE",false]; + if(!_getHeight) then { + _position set [2,0]; + }; + (ASLtoAGL _position) + }; + + MAZ_EZM_fnc_selectSecondaryPosition = { + params [ + ["_text","",[""]], + ["_function",{},[{}]], + ["_objects",objNull,[objNull,[]]], + ["_args",[]], + ["_icon","\a3\ui_f\data\igui\cfg\cursors\select_target_ca.paa",[""]], + ["_angle",45,[0]], + ["_color",[1,0,0,1],[[]],4] + ]; + if(isNil "MAZ_EZM_isSelectingSecondPos") then { + MAZ_EZM_isSelectingSecondPos = false; + }; + + if(MAZ_EZM_isSelectingSecondPos) exitWith { + ["Already selecting a position!","addItemFailed"] call MAZ_EZM_fnc_systemMessage; + }; + + MAZ_EZM_isSelectingSecondPos = true; + + private _display = findDisplay 312; + private _ctrlMap = _display displayCtrl 50; + private _visuals = [_text,_icon,_angle,_color]; + + _display setVariable ["MAZ_EZM_selectSecondPosParams",[_function,_objects,_args,_visuals]]; + _ctrlMap setVariable ["MAZ_EZM_selectSecondPosParams",[_objects,_visuals]]; + + comment "ButtonClick on display"; + private _mouseEh = _display displayAddEventHandler ["MouseButtonDown",{ + params ["_display","_button","","","_shift","_ctrl","_alt"]; + (_display getVariable "MAZ_EZM_selectSecondPosParams") params ["_function","_objects","_args",""]; + if(_button != 0) exitWith {}; + + private _position = [true] call MAZ_EZM_fnc_getScreenPosition; + [_objects,_position,_args,_shift,_ctrl,_alt] call _function; + + MAZ_EZM_isSelectingSecondPos = false; + }]; + comment "Keyboard input"; + private _keyboardEH = _display displayAddEventHandler ["KeyDown",{ + params ["_display", "_key", "_shift", "_ctrl", "_alt"]; + (_display getVariable "MAZ_EZM_selectSecondPosParams") params ["_function","_objects","_args",""]; + if(_key != 1) exitWith {false}; + ["Selection cancelled.","addItemFailed"] call MAZ_EZM_fnc_systemMessage; + MAZ_EZM_isSelectingSecondPos = false; + true + }]; + comment "Draw 2D icons on map"; + private _drawEH = _ctrlMap ctrlAddEventHandler ["Draw",{ + params ["_ctrlMap"]; + (_ctrlMap getVariable "MAZ_EZM_selectSecondPosParams") params ["_objects","_visuals"]; + _visuals params ["_text","_icon","_angle","_color"]; + private _pos = _ctrlMap ctrlMapScreenToWorld getMousePosition; + _ctrlMap drawIcon [ + _icon, + _color, + _pos, + 24, + 24, + _angle, + _text, + 1, + 0.06, + "RobotoCondensed" + ]; + + if(!(_objects isEqualType [])) then { + _objects = [_objects]; + }; + + { + _ctrlMap drawLine [_x, _pos, _color]; + }forEach _objects; + }]; + comment "Draw 3D icons at position"; + ["MAZ_EZM_selectPosEachFrame","onEachFrame",{ + params ["_objects", "_visuals", "_mouseEh", "_keyboardEH", "_drawEH"]; + + if((isNull (findDisplay 312)) || !(isNull findDisplay 49)) then { + MAZ_EZM_isSelectingSecondPos = false; + }; + + if(!MAZ_EZM_isSelectingSecondPos) then { + private _display = findDisplay 312; + _display displayRemoveEventHandler ["MouseButtonDown", _mouseEh]; + _display displayRemoveEventHandler ["KeyDown", _keyboardEH]; + private _ctrlMap = _display displayCtrl 50; + _ctrlMap ctrlRemoveEventHandler ["Draw", _drawEH]; + ["MAZ_EZM_selectPosEachFrame","onEachFrame"] call BIS_fnc_removeStackedEventHandler; + }; + + if(visibleMap) exitWith {}; + + private _pos = [true] call MAZ_EZM_fnc_getScreenPosition; + _visuals params ["_text", "_icon", "_angle", "_color"]; + drawIcon3D [ + _icon, + _color, + _pos, + 1.5, + 1.5, + _angle, + _text, + 1 + ]; + + if(!(_objects isEqualType [])) then { + _objects = [_objects]; + }; + + { + drawLine3D [ASLtoAGL getPosASL _x, _pos, _color]; + }forEach _objects; + },[_objects,_visuals,_mouseEh,_keyboardEH,_drawEH]] call BIS_fnc_addStackedEventHandler; + }; + + MAZ_EZM_fnc_hiddenEasterEggModule = { + [] spawn { + titleText ["Thank you for using EZM by ZAM!","PLAIN DOWN",2,true,true]; + _effects = [] spawn { + 0 = ["ColorCorrections", 1500, [1, 1, 0, [0, 0, 0, 0], [1, 1, 1, 0], [0.299, 0.587, 0.114, 0]]] spawn + { + params ["_name", "_priority", "_effect", "_handle"]; + while { + _handle = ppEffectCreate [_name, _priority]; + _handle < 0 + } do { + _priority = _priority + 1; + }; + _handle ppEffectEnable true; + _handle ppEffectAdjust _effect; + _handle ppEffectCommit 0.4; + }; + uiSleep 0.4; + 0 = ["ColorCorrections", 1500, [1, 1, 0, [0, 0, 0, 0], [1, 1, 1, 1], [0.299, 0.587, 0.114, 0]]] spawn + { + params ["_name", "_priority", "_effect", "_handle"]; + while { + _handle = ppEffectCreate [_name, _priority]; + _handle < 0 + } do { + _priority = _priority + 1; + }; + _handle ppEffectEnable true; + _handle ppEffectAdjust _effect; + _handle ppEffectCommit 0.4; + waitUntil {ppEffectCommitted _handle}; + _handle ppEffectEnable false; + ppEffectDestroy _handle; + }; + }; + [] spawn { + _startEffect = ["ChromAberration", 200, [0.1, 0.1, true]] spawn { + params ["_name", "_priority", "_effect", "_handle"]; + while { + _handle = ppEffectCreate [_name, _priority]; + _handle < 0 + } do { + _priority = _priority + 1; + }; + _handle ppEffectEnable true; + _handle ppEffectAdjust _effect; + _handle ppEffectCommit 0.3; + }; + uiSleep 0.3; + _stopEffect = ["ChromAberration", 200, [0, 0, true]] spawn { + params ["_name", "_priority", "_effect", "_handle"]; + while { + _handle = ppEffectCreate [_name, _priority]; + _handle < 0 + } do { + _priority = _priority + 1; + }; + _handle ppEffectEnable true; + _handle ppEffectAdjust _effect; + _handle ppEffectCommit 1; + waitUntil {ppEffectCommitted _handle}; + _handle ppEffectEnable false; + ppEffectDestroy _handle; + }; + }; + [] spawn { + uiSleep 0.3; + _emp_ppEffect_01 = ppEffectCreate ["colorCorrections", 1555]; + _emp_ppEffect_01 ppEffectEnable true; + _emp_ppEffect_01 ppEffectAdjust [1.0, 1.0, 0, [0.21, 0.21, 1.0, 0.14], [1.4, 1.4, 0.14, 1.4] ,[0.299, 0.587, 0.114, 0]]; + _emp_ppEffect_01 ppEffectCommit 0.5; + uiSleep 0.5; + _emp_ppEffect_01 ppEffectAdjust [1.0, 1.0, 0, [0.0, 0.0, 0.0, 0.0], [1, 1, 1, 1] ,[0.299, 0.587, 0.114, 0],[ + -1, + -1, + 0, + 0, + 0, + 0, + 0 + ]]; + _emp_ppEffect_01 ppEffectCommit 4; + uiSleep 5; + + PPEFFECTDESTROY _emp_ppEffect_01; + }; + [] spawn { + enableCamShake true; + addCamShake [2,4,16]; + uiSleep 4; + resetCamShake; + }; + playSound ['vr_shutdown',true]; + playSound ['vr_shutdown',false]; + sleep 6.5; + titleFadeOut 1; + }; + }; + + MAZ_EZM_fnc_autoResupplyAI = { + params ["_unit"]; + comment "Fix groups that don't get deleted."; + if(!(isGroupDeletedWhenEmpty (group _unit))) then { + (group _unit) deleteGroupWhenEmpty true; + }; + _unit setUnitPos MAZ_EZM_stanceForAI; + _unit addEventHandler ["Reloaded", { + params ["_unit", "_weapon", "_muzzle", "_newMagazine", "_oldMagazine"]; + _oldMagazine params ["_type","_count"]; + _unit addMagazine _type; + }]; + }; + + MAZ_EZM_fnc_addObjectToInterface = { + params [ + ["_objects",[],[[],objNull]], + ["_curators",allCurators] + ]; + if(_objects isEqualType objNull) then { + _objects = [_objects]; + }; + if(!(_curators isEqualType [])) then { + _curators = [_curators]; + }; + if(("CuratorModeratorRights" call BIS_fnc_getParamValue) == -1 && _curators isEqualTo allCurators) then { + _curators = [getAssignedCuratorLogic player]; + }; + [[_objects,_curators],{ + params ["_objects","_curators"]; + { + _x addCuratorEditableObjects [_objects,true]; + } foreach _curators; + }] remoteExec ["Spawn",2]; + }; + + MAZ_EZM_fnc_removeObjectFromInterface = { + params [ + ["_objects",[],[[],objNull]], + ["_curators",allCurators] + ]; + if(_objects isEqualType objNull) then { + _objects = [_objects]; + }; + if(!(_curators isEqualType [])) then { + _curators = [_curators]; + }; + if(("CuratorModeratorRights" call BIS_fnc_getParamValue) == -1 && _curators isEqualTo allCurators) then { + _curators = [getAssignedCuratorLogic player]; + }; + [[_objects,_curators],{ + params ["_objects","_curators"]; + { + _x removeCuratorEditableObjects [_objects,true]; + } foreach _curators; + }] remoteExec ["Spawn",2]; + }; + + MAZ_EZM_fnc_deleteAttachedWhenKilled = { + params ["_object"]; + _object addEventhandler ["Killed", { + params ["_unit", "_killer", "_instigator", "_useEffects"]; + [_unit] call MAZ_EZM_fnc_deleteAttached; + }]; + }; + + MAZ_EZM_fnc_deleteAttachedWhenDeleted = { + params ["_object"]; + _object addEventhandler ["Deleted", { + params ["_object"]; + [_object] call MAZ_EZM_fnc_deleteAttached; + }]; + }; + + MAZ_EZM_fnc_deleteAttached = { + params ["_object"]; + { + detach _x; + { + deleteVehicle _x; + }forEach (crew _x); + [_x] call MAZ_EZM_fnc_deleteAttached; + deleteVehicle _x; + }forEach (attachedObjects _object); + }; + + MAZ_EZM_fnc_ignoreWhenCleaning = { + params ["_object"]; + _object setVariable ["MAZ_EZM_fnc_doNotRemove",true,true]; + }; + + MAZ_EZM_fnc_cleanerWaitTilNoPlayers = { + params ["_object"]; + if(!MAZ_EZM_enableCleaner) exitWith {}; + [[_object], { + private _fnc_cleaner = { + params ["_object"]; + waitUntil {uiSleep 0.1; !alive _object}; + waitUntil { + (count (allPlayers select { (getPos _x) distance _object < 1600 })) == 0 || + isNull _object + }; + if(!isNull _object) then { + sleep 300; + "After 5 minutes check if players are still near, if they are, call function again, else delete."; + if(count (allPlayers select { (getPos _x) distance _object < 1600 }) != 0) exitWith {[_object] spawn _fnc_cleaner;}; + deleteVehicle _object; + }; + }; + _this spawn _fnc_cleaner; + }] remoteExec ["spawn",2]; + }; + + MAZ_EZM_fnc_ezmShamelessPlug = { + [[],{ + waitUntil {alive player}; + [ + [ + ["This Server is Utilizing EZM.","%1
",15], + ["This is a scripted server.","%1
",5], + ["Things will not perform as they do normally.","%1
",5], + ["Get EZM on the workshop or www.zamarma.com","%1",60] + ], + safeZoneX + safeZoneW / 1.5, + safeZoneY + safeZoneH / 1.3 + ] spawn BIS_fnc_typeText; + if (!isNil "M9_EZM_EH_plugOverlayFix") then { + removeMissionEventHandler ["EachFrame", M9_EZM_EH_plugOverlayFix]; + }; + M9_EZM_EH_plugOverlayFix = addMissionEventHandler ["EachFrame", { + (uinamespace getvariable ["RscTilesGroup", displayNull]) closeDisplay 0; + }]; + sleep 90; + if (!isNil "M9_EZM_EH_plugOverlayFix") then { + removeMissionEventHandler ["EachFrame", M9_EZM_EH_plugOverlayFix]; + }; + }] remoteExec ["spawn", 0, "EZM_PLUG_JIP"]; + private _wl = missionNamespace getVariable ["MAZ_EZM_CuratorWhitelist",[]]; + _wl = _wl + allCurators; + missionNamespace setVariable ["MAZ_EZM_CuratorWhitelist",_wl,true]; + + [[], { + MAZ_EZM_broadcastServerFPS = true; + MAZ_EZM_serverFPS = 100; + while {MAZ_EZM_broadcastServerFPS} do { + MAZ_EZM_serverFPS = floor diag_fps; + sleep 1; + }; + }] remoteExec ["spawn",2]; + }; + + MAZ_EZM_fnc_fixDynamicGroups = { + if(!isNil "MAZ_EZM_dynamicGroupsFix") exitWith {}; + [[], { + waitUntil {!isNull (findDisplay 46) && alive player}; + ["InitializePlayer", [player]] call BIS_fnc_dynamicGroups; + }] remoteExec ['spawn',0,"FIX_DYNAGROUPS_JIP"]; + missionNamespace setVariable ["MAZ_EZM_dynamicGroupsFix",true,true]; + }; + call MAZ_EZM_fnc_fixDynamicGroups; + + MAZ_EZM_fnc_emulateModeClick = { + params ["_ctrl"]; + ctrlActivate _ctrl; + uiNamespace setVariable ["MAZ_EZM_emulateModeCtrl",_ctrl]; + with uiNamespace do { + private _ctrlSelected = MAZ_EZM_emulateModeCtrl; + private _display = ctrlparent _ctrlSelected; + private _mode = 0; + { + private _ctrl = _display displayctrl _x; + _ctrl ctrlsettextcolor [1,1,1,0.5]; + private _scale = 0.8; + private _color = [1,1,1,0.5]; + if (_ctrl == _ctrlSelected) then { + _scale = 1; + _color = [1,1,1,1]; + _mode = _forEachIndex; + }; + _ctrl ctrlsettextcolor _color; + [_ctrl,_scale,0.1] call bis_fnc_ctrlsetscale; + } forEach [150,151,152,154,170]; + with missionnamespace do { + RscDisplayCurator_sections set [0,_mode]; + }; + }; + uiNamespace setVariable ["MAZ_EZM_emulateModeCtrl",nil]; + false + }; + + MAZ_EZM_fnc_emulateSideClick = { + params ["_ctrl"]; + ctrlActivate _ctrl; + uiNamespace setVariable ["MAZ_EZM_emulateSideCtrl",_ctrl]; + with uiNamespace do { + private _ctrlSelected = MAZ_EZM_emulateSideCtrl; + private _display = ctrlparent _ctrlSelected; + private _selectedColor = [0,0,0,0]; + private _side = 0; + { + private _ctrl = _display displayctrl _x; + + private _color = _foreachindex call bis_fnc_sidecolor; + private _scale = 0.8; + if (_ctrl == _ctrlSelected) then { + _selectedColor = _color; + _scale = 1; + _side = _foreachindex; + } else { + _color set [3,0.5]; + }; + _ctrl ctrlsettextcolor _color; + [_ctrl,_scale,0.1] call bis_fnc_ctrlsetscale; + } foreach [156,155,157,158,159]; + + _selectedColor set [3,0.1]; + private _createBackground = _display displayctrl 15510; + _createBackground ctrlsetbackgroundcolor _selectedColor; + with missionnamespace do { + RscDisplayCurator_sections set [1, [1, 0, 2, 3, 4] select _side]; + }; + }; + uiNamespace setVariable ["MAZ_EZM_emulateSideCtrl",nil]; + false + }; + + MAZ_EZM_fnc_isNightTime = { + ([date] call BIS_fnc_sunriseSunsetTime) params ["_sunrise","_sunset"]; + dayTime > _sunset || dayTime < _sunrise + }; + + comment "EZM Eventhandlers"; + MAZ_EZM_fnc_addEZMEventHandler = { + params ["_type","_code"]; + private _var = format ["EZM_%1",_type]; + private _index = switch (toLower _type) do { + case "onzeusinterfaceopened"; + case "onzeusinterfaceclosed"; + case "onvehiclecreated"; + case "onmancreated": { + [missionNamespace, _var, _code] call BIS_fnc_addScriptedEventHandler; + }; + default {-1}; + }; + _index + }; + + MAZ_EZM_fnc_removeEZMEventHandler = { + params ["_type","_index"]; + private _var = format ["EZM_%1",_type]; + switch (toLower _type) do { + case "onzeusinterfaceopened"; + case "onzeusinterfaceclosed"; + case "onvehiclecreated"; + case "onmancreated": { + [missionNamespace,_var,_index] call BIS_fnc_removeScriptedEventHandler; + true; + }; + default {false}; + }; + }; + + MAZ_EZM_EH_VehCreated_Dismount = ["onVehicleCreated", { + params ["_vehicle"]; + _vehicle allowCrewInImmobile true; + }] call MAZ_EZM_fnc_addEZMEventHandler; + + comment "Add All Faction Respawns"; + + MAZ_EZM_fnc_tvFind = { + params ["_tree",["_path",[]],["_text",""]]; + if(_text == "") exitWith {}; + private _index = -1; + private _size = (_tree tvCount _path) - 1; + for "_i" from 0 to _size do { + private _tempPath = _path + [_i]; + if((_tree tvText _tempPath) == _text) exitWith {_index = _i}; + }; + _index; + }; + + comment "Will return the first valid result. Not useful for searching for things like 'Autorifleman' or vague, reused terms."; + MAZ_EZM_fnc_tvFindDeepSearch = { + params ["_tree",["_startPath",[]],["_text",""]]; + if(_text == "") exitWith {}; + private _path = +_startPath; + private _size = (_tree tvCount _startPath) - 1; + for "_i" from 0 to _size do { + private _tempPath = _path + [_i]; + if((_tree tvText _tempPath) == _text) exitWith {_path = _tempPath}; + if(_tree tvCount _tempPath > 0) then { + private _searchResult = [_tree,_tempPath,_text] call MAZ_EZM_fnc_tvFindDeepSearch; + if (!(_searchResult isEqualTo [])) then { + _path = _searchResult; + break; + }; + }; + }; + if(_path isEqualTo _startPath) then {_path = []}; + _path; + }; + + MAZ_EZM_fnc_tvEmpty = { + params ["_tree",["_path",[]]]; + private _size = (_tree tvCount _path) - 1; + for "_i" from _size to 0 step -1 do { + private _newPath = _path + [_i]; + _tree tvDelete _newPath; + }; + }; + + MAZ_EZM_fnc_addRespawnModules = { + private _display = findDisplay 312; + private _tree = _display displayCtrl 280; + private _respawnPath = []; + _respawnPath pushBack ([_tree,[],"Respawn"] call MAZ_EZM_fnc_tvFind); + [_tree,_respawnPath] call MAZ_EZM_fnc_tvEmpty; + { + private _displayName = getText (configFile >> "CfgVehicles" >> _x >> "displayName"); + private _icon = getText (configFile >> "CfgVehicles" >> _x >> "portrait"); + private _index = _tree tvAdd [_respawnPath,_displayName]; + private _newPath = _respawnPath + [_index]; + _tree tvSetData [_newPath,_x]; + _tree tvSetPicture [_newPath,_icon]; + }forEach ["ModuleRespawnInventory_F","ModuleRespawnPositionWest_F","ModuleRespawnPositionEast_F","ModuleRespawnPositionGuer_F","ModuleRespawnPositionCiv_F","ModuleVehicleRespawnPositionWest_F","ModuleVehicleRespawnPositionEast_F","ModuleVehicleRespawnPositionGuer_F","ModuleVehicleRespawnPositionCiv_F"]; + }; + + comment "AI Modifiers"; + + MAZ_EZM_fnc_setAmbientAnimationModule = { + params ["_entity"]; + if(isNull _entity || !((typeOf _entity) isKindOf "Man")) exitWith {["Unit is not suitable.","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; + ["Apply Ambient Animation",[ + [ + "LIST", + "Select animation:", + [ + [ + "", + "passenger_flatground_1_Aim_binoc", + "hubbriefing_loop", + "Acts_C_in1_briefing", + "acts_injuredangryrifle01", + "InBaseMoves_patrolling1", + "InBaseMoves_patrolling2", + "Acts_CivilHiding_2", + "InBaseMoves_table1", + "inbasemoves_lean1", + "Acts_CivilListening_2", + "unaercposlechvelitele1", + "Acts_listeningToRadio_Loop", + "Acts_NavigatingChopper_Loop", + "Acts_AidlPercMstpSlowWrflDnon_pissing", + "inbasemoves_repairvehicleknl", + "hubfixingvehicleprone_idle1", + "inbasemoves_assemblingvehicleerc", + "AmovPercMstpSrasWrflDnon_Salute", + "Acts_ShieldFromSun_Loop", + "Acts_CivilShocked_1", + "Acts_ShowingTheRightWay_loop", + "passenger_flatground_3_Idle_Idling", + "Acts_AidlPsitMstpSsurWnonDnon03", + "Acts_passenger_flatground_leanright", + "Acts_AidlPercMstpSnonWnonDnon_warmup_4_loop", + "Acts_AidlPercMstpSloWWrflDnon_warmup_6_loop", + "HubStanding_idle1", + "HubStanding_idle2", + "HubStanding_idle3", + "HubStandingUB_move1", + "HubStandingUC_move2", + "Acts_AidlPercMstpSnonWnonDnon_warmup_8_loop", + "Acts_JetsMarshallingStop_loop", + "Acts_CivilTalking_2", + "acts_treatingwounded03", + "Acts_CivilInjuredArms_1", + "Acts_CivilinjuredChest_1", + "Acts_SittingWounded_loop", + "hubwoundedprone_idle1", + "Acts_CivilInjuredHead_1", + "Acts_CivilInjuredLegs_1" + ], + [ + "Remove Animation", + "Binoculars", + "Briefing", + "Interactive Briefing", + "Combat Wounded", + "Guard 1", + "Guard 2", + "Hiding Civilian", + "Lean On Table", + "Lean On Wall", + "Listening Civilian", + "Listen To Briefing", + "Listen To Radio", + "Navigate Aircraft", + "Pissing", + "Repair Kneel", + "Repair Prone", + "Repair Stand", + "Salute", + "Shield From Sun", + "Shocked Civilian", + "Show Vehicle The Way", + "Sit Armed", + "Sit Captured", + "Sit On Floor", + "Squat", + "Squat Armed", + "Stand Idle 1", + "Stand Idle 2", + "Stand Idle 3", + "Stand Idle w/o Weapon 1", + "Stand Idle w/o Weapon 2", + "Stand Idle w/o Weapon 3", + "Surrender", + "Talking Civilian", + "Treat Wounded", + "Wounded Arm", + "Wounded Chest", + "Wounded Prone", + "Wounded General", + "Wounded Head", + "Wounded Leg" + ], + 0 + ] + ], + [ + "TOOLBOX:YESNO", + ["Combat Animation:","When the AI takes fire it will quit the animation with this enabled."], + [true] + ] + ],{ + params ["_values","_args","_display"]; + _values params ["_anim","_isCombat"]; + if(_args getVariable ["MAZ_EZM_animDone",-420] != -420) then { + _args removeEventHandler ["AnimDone",_args getVariable "MAZ_EZM_animDone"]; + }; + if(_args getVariable ["MAZ_EZM_combatAnim",-420] != -420) then { + _args removeEventHandler ["Suppressed",_args getVariable "MAZ_EZM_combatAnim"]; + }; + if(_args getVariable ["MAZ_EZM_removeAnimEH",-420] != -420) then { + _args removeEventHandler ["Killed",_args getVariable "MAZ_EZM_removeAnimEH"]; + }; + if(_anim == "") then { + [_args,"AmovPercMstpSnonWnonDnon"] remoteExec ["switchMove"]; + _args setBehaviour "AWARE"; + [_args,"Move"] remoteExec ["enableAI"]; + [_args,"Anim"] remoteExec ["enableAI"]; + ["Animation reset."] call MAZ_EZM_fnc_systemMessage; + } else { + (group _args) setBehaviour "CARELESS"; + [_args,"Move"] remoteExec ["disableAI"]; + [_args,"Anim"] remoteExec ["disableAI"]; + [_args,_anim] remoteExec ["switchMove"]; + _args setVariable ["MAZ_EZM_animDone", + _args addEventhandler ["AnimDone",{ + params ["_unit","_anim"]; + [_args,_anim] remoteExec ["switchMove"]; + }],true + ]; + if(_isCombat) then { + _args setVariable ["MAZ_EZM_combatAnim", + _args addEventHandler ["Suppressed", { + params ["_unit", "_distance", "_shooter", "_instigator", "_ammoObject", "_ammoClassName", "_ammoConfig"]; + _unit removeEventHandler [_thisEvent, _thisEventHandler]; 'ඞ'; + [_unit,"AmovPercMstpSnonWnonDnon"] remoteExec ["switchMove"]; + _unit setBehaviour "COMBAT"; + [_unit,"Move"] remoteExec ["enableAI"]; + [_unit,"Anim"] remoteExec ["enableAI"]; + }],true + ]; + }; + _args setVariable ["MAZ_EZM_removeAnimEH", + _args addEventhandler ["Killed",{ + params ["_unit", "_killer", "_instigator", "_useEffects"]; + if(_unit getVariable ["MAZ_EZM_animDone",-420] != -420) then { + _unit removeEventHandler ["AnimDone",_unit getVariable "MAZ_EZM_animDone"]; + }; + if(_unit getVariable ["MAZ_EZM_combatAnim",-420] != -420) then { + _unit removeEventHandler ["Suppressed",_unit getVariable "MAZ_EZM_combatAnim"]; + }; + }],true + ]; + ["Animation set."] call MAZ_EZM_fnc_systemMessage; + }; + playSound 'addItemOk'; + _display closeDisplay 1; + },{ + params ["_values","_args","_display"]; + _display closeDisplay 2; + },_entity] call MAZ_EZM_fnc_createDialog; + }; + + MAZ_EZM_fnc_garrisonInstantModule = { + params ["_entity"]; + if(isNull _entity || !((typeOf _entity) isKindOf "CAManBase")) exitWith {["Unit is not suitable.","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; + [_entity] spawn { + params ["_entity"]; + private _group = group _entity; + if (_group isEqualType objNull) then {_group = group _group}; + private _leader = leader _group; + private _previousBehaviour = behaviour _leader; + + private _arrayShuffle = { + params ["_array"]; + private _count = count _array; + private _arrayN = []; + private _arrayT = []; + private _c = 0; + private _r = 0; + + while {_c < _count} do + { + while {_r in _arrayT} do + {_r = floor (random _count); + }; + _arrayT pushBack _r; + _arrayN set [_c, _array select _r]; + _c = _c + 1; + }; + + _arrayN + }; + + private _fnc_getHousePositions = { + params ["_index","_houses"]; + if(_index >= (count _houses)) exitWith {[]}; + private _nearestBuilding = _houses select _index; + private _positionsInBuilding = [_nearestBuilding] call BIS_fnc_buildingPositions; + _positionsInBuilding = [_positionsInBuilding] call _arrayShuffle; + _positionsInBuilding + }; + + private _fnc_orderToPositions = { + params ["_units","_positions","_houseIndex"]; + private _newUnits = _units; + { + private _unit = objNull; + if((count _units) -1 >= _forEachIndex) then { + private _unit = _units select _forEachIndex; + _unit setPos _x; + _newUnits = _newUnits - [_unit]; + [_unit,0] remoteExec ['forceSpeed']; + _unit addEventHandler ["Suppressed", { + params ["_unit", "_distance", "_shooter", "_instigator", "_ammoObject", "_ammoClassName", "_ammoConfig"]; + [_unit,-1] remoteExec ['forceSpeed']; + }]; + }; + }forEach _positions; + if((count _buildingPoses) < (count _units)) then { + _houseIndex = _houseIndex + 1; + _buildingPoses = [_houseIndex,_nearestBuildings] call _fnc_getHousePositions; + if(count _buildingPoses == 0) exitWith {}; + [_newUnits,_buildingPoses,_houseIndex] call _fnc_orderToPositions; + }; + }; + + { + deleteWaypoint [_group,_forEachIndex]; + }forEach (waypoints _group); + + private _nearestBuildings = nearestObjects [getPos _entity, ["building"], 50, true]; + _nearestBuildings = _nearestBuildings select {(count ([_x] call BIS_fnc_buildingPositions)) > 0}; + + if (_nearestBuildings isEqualTo []) exitWith { false }; + _group setbehaviour "AWARE"; + + private _houseIndex = 0; + + private _buildingPoses = [_houseIndex,_nearestBuildings] call _fnc_getHousePositions; + + private _units = (units _group) select {!isNull _x && alive _x}; + + [_units,_buildingPoses,_houseIndex] call _fnc_orderToPositions; + + true + }; + }; + + MAZ_EZM_fnc_garrisonSearchModule = { + params ["_entity"]; + if(isNull _entity || !((typeOf _entity) isKindOf "Man")) exitWith {["Unit is not suitable.","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; + [_entity] spawn { + params ["_entity"]; + private _group = group _entity; + if (_group isEqualType objNull) then {_group = group _group}; + private _leader = leader _group; + private _previousBehaviour = behaviour _leader; + + private _arrayShuffle = { + private _array = _this select 0; + private _count = count _array; + private _arrayN = []; + private _arrayT = []; + private _c = 0; + private _r = 0; + + while {_c < _count} do + { + while {_r in _arrayT} do + {_r = floor (random _count); + }; + _arrayT pushBack _r; + _arrayN set [_c, _array select _r]; + _c = _c + 1; + }; + + _arrayN + }; + + private _fnc_getHousePositions = { + params ["_index","_houses"]; + private _nearestBuilding = _houses select _index; + private _positionsInBuilding = [_nearestBuilding] call BIS_fnc_buildingPositions; + _positionsInBuilding = [_positionsInBuilding] call _arrayShuffle; + _positionsInBuilding + }; + + private _fnc_disableMoveAfterReachPos = { + params ["_unit","_pos"]; + waitUntil {moveToCompleted _unit}; + _unit setPos _pos; + _unit setBehaviour "SAFE"; + [_unit,0] remoteExec ['forceSpeed']; + _unit addEventHandler ["Suppressed", { + params ["_unit", "_distance", "_shooter", "_instigator", "_ammoObject", "_ammoClassName", "_ammoConfig"]; + [_unit,-1] remoteExec ['forceSpeed']; + }]; + }; + + private _fnc_orderToPositions = { + params ["_units","_positions","_houseIndex"]; + private _newUnits = _units; + { + private _unit = objNull; + if((count _units) -1 >= _forEachIndex) then { + private _unit = _units select _forEachIndex; + _unit doMove _x; + _newUnits = _newUnits - [_unit]; + _unit forceSpeed -1; + [_unit,_x] spawn _fnc_disableMoveAfterReachPos; + }; + }forEach _positions; + if((count _buildingPoses) < (count _units)) then { + _houseIndex = _houseIndex + 1; + _buildingPoses = [_houseIndex,_nearestBuildings] call _fnc_getHousePositions; + [_newUnits,_buildingPoses,_houseIndex] call _fnc_orderToPositions; + }; + }; + + { + deleteWaypoint [_group,_forEachIndex]; + }forEach (waypoints _group); + + private _nearestBuildings = nearestObjects [getPos _entity, ["building"], 50, true]; + _nearestBuildings = _nearestBuildings select {count ([_x] call BIS_fnc_buildingPositions) > 0}; + + if (_nearestBuildings isEqualTo []) exitWith { false }; + _group setbehaviour "AWARE"; + + private _houseIndex = 0; + + private _buildingPoses = [_houseIndex,_nearestBuildings] call _fnc_getHousePositions; + + private _units = (units _group) select {!isNull _x && alive _x}; + + [_units,_buildingPoses,_houseIndex] call _fnc_orderToPositions; + + true + }; + }; + + MAZ_EZM_fnc_getSafePos = { + params ["_pos", ["_range", ""], ["_objDist", getNumber(configFile >> "CfgWorlds" >> worldName >> "safePositionRadius")], ["_waterMode", 1], ["_maxGradient", 1]]; + + private _minDist = -1; + private _maxDist = -1; + switch (typeName _range) do { + case "ARRAY" : { + _minDist = _range select 0; + _maxDist = _range select 1; + }; + case "SCALAR" : { + _minDist = 0; + _maxDist = _range; + }; + default { + _minDist = 0; + _maxDist = getNumber(configFile >> "CfgWorlds" >> worldName >> "safePositionRadius"); + }; + }; + + if(_objDist < 0) then { + _objDist = getNumber(configFile >> "CfgWorlds" >> worldName >> "safePositionRadius"); + }; + + private _newPos = []; + private _posX = _pos select 0; + private _posY = _pos select 1; + private _attempts = 0; + + while {_attempts < 1000} do { + private _newX = _posX + (_maxDist - (random (_maxDist * 2))); + private _newY = _posY + (_maxDist - (random (_maxDist * 2))); + private _testPos = [_newX, _newY]; + + if ( (_pos distance _testPos) >= _minDist) then { + if !((_testPos isFlatEmpty [_objDist, 0, _maxGradient, _objDist max 5, _waterMode, !(_waterMode == 0), objNull]) isEqualTo []) exitWith { + _newPos = _testPos; + }; + }; + _attempts = _attempts + 1; + }; + + if (_newPos isEqualTo []) then { + _newPos = _pos; + }; + _newPos + }; + + MAZ_EZM_fnc_unGarrisonModule = { + params ["_entity"]; + if(isNull _entity || !((typeOf _entity) isKindOf "Man")) exitWith {["Unit is not suitable.","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; + [_entity] spawn { + _object = _this select 0; + _groupUnderCursor = group _object; + if (local (leader _groupUnderCursor)) then{ + private _outsidePos = [getPos (leader _groupUnderCursor), [3,15], 2, 0] call MAZ_EZM_fnc_getSafePos; + { + _x setUnitPos MAZ_EZM_stanceForAI; + _x forceSpeed -1; + _x doWatch objNull; + _x doMove _outsidePos; + } forEach(units _groupUnderCursor); + }; + ["AI are leaving the building.","addItemOk"] call MAZ_EZM_fnc_systemMessage; + }; + }; + + MAZ_EZM_fnc_toggleLightsModule = { + params ["_entity"]; + [[],{ + { + private _unit = _x; + private _group = group _unit; + private _vehicle = vehicle _unit; + _group enableIRLasers true; + _unit enableIRLasers true; + _group enableGunLights "ForceOn"; + _unit enableGunLights "ForceOn"; + _vehicle setPilotLight true; + _vehicle setCollisionLight true; + + _unit action ["IRLaserOn", _unit]; + _unit action ["GunLightOn", _unit]; + _unit action ["CollisionLightOn", _vehicle]; + _unit action ["lightOn", _vehicle]; + _unit action ["SearchlightOn", _vehicle]; + } forEach (allUnits - allPlayers); + }] remoteExec ['spawn']; + ["Units have their lasers/lights turned on.","addItemOk"] call MAZ_EZM_fnc_systemMessage; + }; + + MAZ_EZM_fnc_toggleOffLightsModule = { + params ["_entity"]; + [[],{ + { + private _unit = _x; + private _group = group _unit; + private _vehicle = vehicle _unit; + _group enableIRLasers false; + _unit enableIRLasers false; + _group enableGunLights "ForceOff"; + _unit enableGunLights "ForceOff"; + _vehicle setPilotLight false; + _vehicle setCollisionLight false; + + _unit action ["IRLaserOff", _unit]; + _unit action ["GunLightOff", _unit]; + _unit action ["CollisionLightOff", _vehicle]; + _unit action ["lightOff", _vehicle]; + _unit action ["SearchlightOff", _vehicle]; + } forEach (allUnits - allPlayers); + }] remoteExec ['spawn']; + ["Units have their lasers/lights turned off.","addItemOk"] call MAZ_EZM_fnc_systemMessage; + }; + + MAZ_EZM_fnc_makeHostageModule = { + params ["_entity"]; + if(isNull _entity || !((typeOf _entity) isKindOf "Man")) exitWith {["Unit is not suitable.","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; + + [_entity,true] remoteExec ["setCaptive"]; + [_entity,"Move"] remoteExec ["disableAI"]; + [_entity,"Acts_AidlPsitMstpSsurWnonDnon_loop"] remoteExec ["switchMove"]; + private _holdActionIndex = [ + _entity, + "Free Hostage", + "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_secure_ca.paa", + "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_secure_ca.paa", + "_this distance _target < 3 && _target != _this && alive _target", + "_caller distance _target < 3", + {}, + {}, + { + params ["_unit","_caller"]; + [_unit,false] remoteExec ["setCaptive"]; + [_unit,"Move"] remoteExec ["enableAI"]; + [_unit,"AmovPercMstpSnonWnonDnon"] remoteExec ["playMove"]; + [_unit] remoteExec ["removeAllActions"]; + ["TaskSucceeded",["",format ["Hostage (%1) was freed by %2",name _unit,name _caller]]] remoteExec ['BIS_fnc_showNotification']; + + remoteExec ["",_unit]; "Remove from JIP queue"; + }, + {}, + [], + 6, + 0, + true, + false + ] remoteExec ["BIS_fnc_holdActionAdd",0, _entity]; + + if(_entity getVariable ["MAZ_EZM_hostageEH",-1] == -1) then { + _entity setVariable ['MAZ_EZM_hostageEH',_entity addEventHandler ["Killed",{ + params ["_unit", "_killer", "_instigator", "_useEffects"]; + [_unit] remoteExec ["removeAllActions"]; + remoteExec ["",_unit]; + ["TaskFailed",["",format ["Hostage (%1) was killed by %2",name _unit,name _killer]]] remoteExec ['BIS_fnc_showNotification']; + [_unit,[ + "Take Dogtag", + { + params ["_target", "_caller", "_actionId", "_arguments"]; + ["TaskSucceeded",["",format ["Hostage (%1) dogtag was taken by %2",name _target,name _caller]]] remoteExec ['BIS_fnc_showNotification']; + [_target] remoteExec ["removeAllActions"]; + }, + nil, + 1.5, + true, + true, + "", + "_target distance _this < 5" + ]] remoteExec ["addAction"]; + }]]; + }; + + ["Unit is now a hostage, they can be freed by scrolling on them.","addItemOk"] call MAZ_EZM_fnc_systemMessage; + }; + + MAZ_EZM_fnc_makeHVTModule = { + params ["_entity"]; + if(isNull _entity || !((typeOf _entity) isKindOf "Man")) exitWith {["Unit is not suitable.","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; + + [[_entity],{ + params ["_nearestMan"]; + _nearestMan addEventHandler ["Killed",{ + params ["_unit", "_killer", "_instigator", "_useEffects"]; + ["TaskSucceeded",["",format ["%1 was killed by %2",name _unit,name _killer]]] remoteExec ['BIS_fnc_showNotification']; + remoteExec ["",_unit]; + }]; + }] remoteExec ["spawn",0,_entity]; + ["HVT created, all players will be notified of their death.","addItemOk"] call MAZ_EZM_fnc_systemMessage; + }; + + MAZ_EZM_fnc_changeDifficultyModule = { + params ["_entity"]; + ["Set Difficulty",[ + [ + "LIST", + "Difficulty", + [ + [ + "easy", + "medium", + "hard" + ], + [ + "Easy (0%)", + "Medium (50%)", + "Hard (100%)" + ], + 0 + ] + ], + [ + "SLIDER", + "SKILL OVERRIDE", + [ + 0, + 1, + 0, + objNull, + [1,1,1,1], + true + ] + ] + ],{ + params ["_values","_args","_display"]; + _values params ["_listSelection","_overrideValue"]; + if(_overrideValue != 0) exitWith { + _overrideValue = (round (_overrideValue * 100)) / 100; + [[_overrideValue], { + params ["_skillLevel"]; + { + _x setSkill _skillLevel; + } forEach allUnits; + }] remoteExec ["spawn"]; + [format ["Difficulty set to %1.",_overrideValue]] call MAZ_EZM_fnc_systemMessage; + }; + private _skill = switch (_value) do { + case "easy": {0}; + case "medium": {0.5}; + case "hard": {1}; + }; + [_skill, { + { + _x setSkill _this; + } forEach allUnits; + }] remoteExec ["spawn"]; + [format ["Difficulty set to %1.",toUpper _value]] call MAZ_EZM_fnc_systemMessage; + playSound 'addItemOk'; + _display closeDisplay 1; + },{ + params ["_values","_args","_display"]; + _display closeDisplay 2; + },[]] call MAZ_EZM_fnc_createDialog; + }; + + MAZ_EZM_fnc_changeStanceModule = { + params ["_entity"]; + + ["Set Stance",[ + [ + "LIST", + "Stance Mode", + [ + [ + "AUTO", + "UP", + "MIDDLE", + "DOWN" + ], + [ + "Automatic Stance", + "Forced Standing", + "Forced Crouching", + "Forced Prone" + ], + 0 + ] + ] + ],{ + params ["_values","_args","_display"]; + private _value = _values select 0; + MAZ_EZM_stanceForAI = _value; + [[_value],{ + params ["_mode"]; + { + _x setUnitPos _mode; + }forEach allUnits; + }] remoteExec ['spawn']; + [format ["All units stance mode set to %1.",_value],"addItemOk"] call MAZ_EZM_fnc_systemMessage; + _display closeDisplay 1; + },{ + params ["_values","_args","_display"]; + _display closeDisplay 2; + },[]] call MAZ_EZM_fnc_createDialog; + }; + + MAZ_EZM_fnc_toggleSurrenderModule = { + params ["_entity"]; + if(isNull _entity || !((typeOf _entity) isKindOf "Man")) exitWith {["Unit is not suitable.","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; + + private _isSurrendered = _entity getVariable ['EZM_isSurrendered',false]; + if(_isSurrendered) then { + [_entity,"AmovPercMstpSnonWnonDnon"] remoteExec ["switchMove"]; + [_entity,false] remoteExec ["setCaptive"]; + _entity setVariable ["EZM_isSurrendered",false,true]; + + ["Unit is no longer surrendered.","addItemOk"] call MAZ_EZM_fnc_systemMessage; + } else { + _entity action ["Surrender",_entity]; + [_entity,true] remoteExec ["setCaptive"]; + _entity setVariable ["EZM_isSurrendered",true,true]; + [_entity] spawn { + params ["_entity"]; + private _weapon = currentWeapon _entity; + if(_weapon isEqualTo "") exitWith{}; + [_entity, _weapon] remoteExec ["removeWeapon"]; + sleep 0.1; + private _weaponHolder = "WeaponHolderSimulated" createVehicle [0,0,0]; + _weaponHolder addWeaponCargoGlobal [_weapon,1]; + _weaponHolder setPos (_entity modelToWorld [0,.2,1.2]); + _weaponHolder disableCollisionWith _entity; + private _dir = random(360); + private _speed = 1.5; + _weaponHolder setVelocity [_speed * sin(_dir), _speed * cos(_dir),4]; + }; + + ["Unit is now surrendered.","addItemOk"] call MAZ_EZM_fnc_systemMessage; + }; + }; + + MAZ_EZM_fnc_suppressiveFireModule = { + params ["_entity"]; + + if (!(_entity isKindOf "CAManBase") && !(_entity isKindOf "AllVehicles")) exitWith {["This must be done to a vehicle or a unit!","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; + if(_entity isKindOf "AllVehicles" && isNull (gunner _entity)) exitWith {["This vehicle has no gunner!","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; + if (_entity getVariable ["MAZ_EZM_isSuppressing", false]) exitwith {["Unit is already suppressing!", "addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; + + ["Suppressive fire", [ + [ + "SLIDER", + "Duration of Suppress", + [5, 60, 10] + ] + ], { + params ["_values", "_entity", "_display"]; + _values params ["_duration"]; + _display closeDisplay 1; + + ["Position to Suppress", { + params ["_objects", "_position", "_args", "_shift", "_ctrl", "_alt"]; + _args params ["_entity", "_duration"]; + + private _target = (creategroup [east, true]) createUnit ["O_Soldier_unarmed_F", _position, [], 0, "CAN_COLLIDE"]; + _target disableAI "Move"; + _target allowDamage false; + [_target,true] remoteExec ["hideObjectGlobal",2]; + _target setUnitPos "UP"; + _target addRating -100000000000; + + [_entity, _duration, _target] spawn { + params ["_entity", "_duration", "_target"]; + _entity setVariable ["MAZ_EZM_isSuppressing", true, true]; + _entity doSuppressiveFire _target; + _entity suppressFor _duration; + private _behaviorPrior = behaviour _entity; + _entity setBehaviour "COMBAT"; + _entity doWatch _target; + + sleep 3; + + private _timeToStop = time + _duration + 1; + + + private _currentWeapon = currentWeapon _entity; + private _weaponModes = getArray (configFile >> "Cfgweapons" >> _currentWeapon >> "modes"); + private _weaponMode = if("FullAuto" in _weaponModes) then {"FullAuto"} else {"Single"}; + private _burstLength = 20; + private _reloadTime = getNumber (configFile >> "CfgWeapons" >> _currentWeapon >> _weaponMode >> "realodTime"); + while {time < _timeToStop} do { + if !(_entity isKindOf "CAManBase") then { + _entity action ["useWeapon",_entity,gunner _entity,0]; + sleep (0.5 + random 1.5); + continue; + }; + + private _roundsNumber = round (3 + random 2); + for "_i" from 0 to _roundsNumber do { + _entity forceWeaponFire [_currentWeapon, _weaponMode]; + sleep _reloadTime; + }; + _entity setVehicleAmmo 1; + sleep (0.5 + random 1.5); + }; + + _entity doWatch objNull; + deletevehicle _target; + _entity setBehaviour _behaviorPrior; + _entity setVariable ["MAZ_EZM_isSuppressing", false, true]; + }; + }, _entity, [_entity, _duration], "a3\ui_f\data\igui\cfg\cursors\attack_ca.paa", 45] call MAZ_EZM_fnc_selectSecondaryposition; + }, { + params ["_values", "_args", "_display"]; + _display closeDisplay 2; + }, _entity] call MAZ_EZM_fnc_createdialog; + }; + + MAZ_EZM_fnc_removeNVGsAddFlashlightsModule = { + ["Remove/Add AI Equipment",[ + [ + "TOOLBOX", + "Night Vision:", + [false,[["REMOVE","Removes NVGs from the selected side's AI."],["EQUIP","Adds NVGs to the selected side's AI."]]] + ], + [ + "TOOLBOX", + "Flashlights:", + [true,[["REMOVE","Removes flashlights from the selected side's AI."],["EQUIP","Adds flashlights to the selected side's AI."]]] + ], + [ + "TOOLBOX", + ["Smokes:","Helps performance when lots of AI may be throwing smoke."], + [false,[["REMOVE","Removes smoke grenades from the selected side's AI."],["EQUIP","This doesn't do anything, I'm lazy..."]]] + ], + [ + "SIDES", + "Sides Effected:", + [east,independent] + ] + ],{ + params ["_values","_args","_display"]; + _values params ["_nvgs","_flashlights","_smokes","_sides"]; + { + if((!isPlayer _x) && (side _x in _sides)) then { + private _unit = _x; + private _NVGArray = [ + "NVGoggles", + "NVGoggles_OPFOR", + "NVGoggles_INDEP", + "NVGoggles_tna_F", + "O_NVGoggles_ghex_F", + "O_NVGoggles_grn_F", + "O_NVGoggles_hex_F", + "O_NVGoggles_urb_F", + "NVGogglesB_blk_F", + "NVGogglesB_grn_F", + "NVGogglesB_gry_F", + "Integrated_NVG_TI_1_F" + ]; + if(_nvgs) then { + private _default = getUnitLoadout (configFile >> "CfgVehicles" >> typeOf _unit); + _unit linkItem (_default # 9 # 5); + } else { + { + if(_x in _NVGArray) then { + _unit unlinkItem _x; + }; + }forEach assignedItems _unit; + }; + + if(_flashlights) then { + _unit addWeaponItem [primaryWeapon _unit,"acc_flashlight",true]; + } else { + _unit addWeaponItem [primaryWeapon _unit,"acc_pointer_ir",true]; + }; + + private _smokesArray = ["SmokeShellBlue","SmokeShellGreen","SmokeShellOrange","SmokeShellPurple","SmokeShellRed","SmokeShell","SmokeShellYellow"]; + if(!_smokes) then { + { + if(_x in _smokesArray) then { + _unit removeMagazine _x; + }; + }forEach magazines _unit; + }; + }; + }forEach allUnits; + ["AI Equipment updated.","addItemOk"] call MAZ_EZM_fnc_systemMessage; + _display closeDisplay 1; + },{ + params ["_values","_args","_display"]; + _display closeDisplay 2; + },[]] call MAZ_EZM_fnc_createDialog; + }; + + comment "AI Supports"; + + MAZ_EZM_fnc_airDropSupportModule = { + params ["_pos","_mode","_direction","_vehType","_sideOf","_sfx"]; + private ["_typeMode","_dropType","_dropLoad","_dir","_vehPos","_doorAnim"]; + private _typeMode = _mode select 0; _dropType = nil; if(count _mode == 2) then {_dropType = _mode select 1;}; + _typeMode = toLower _typeMode; if(count _mode == 2) then {_dropType = toLower _dropType;}; _vehType = toLower _vehType; + private _grp = createGroup [_sideOf,true]; + switch (_typeMode) do { + case "arsenal": {_dropLoad = 'B_CargoNet_01_ammo_F';}; + case "vehicle": {_dropLoad = _dropType;}; + }; + + switch (_vehType) do { + case "blackfish": {_vehType = 'B_T_VTOL_01_vehicle_F'; _doorAnim = 'Door_1_source';}; + case "huron": {_vehType = 'B_Heli_Transport_03_F'; _doorAnim = 'Door_rear_source';}; + case "xian": {_vehType = 'O_T_VTOL_02_vehicle_F'; _doorAnim = 'Door_1_source';}; + case "mohawk": {_vehType = 'I_Heli_Transport_02_F'; _doorAnim = 'CargoRamp_Open';}; + }; + + switch (_direction) do { + case "NW": {_dir = 135; _vehPos = _pos getPos [3500,315];}; + case "N": {_dir = 180; _vehPos = _pos getPos [3500,0];}; + case "NE": {_dir = 225; _vehPos = _pos getPos [3500,45];}; + case "E": {_dir = 270; _vehPos = _pos getPos [3500,90];}; + case "SE": {_dir = 315; _vehPos = _pos getPos [3500,135];}; + case "S": {_dir = 0; _vehPos = _pos getPos [3500,180];}; + case "SW": {_dir = 45; _vehPos = _pos getPos [3500,225];}; + case "W": {_dir = 90; _vehPos = _pos getPos [3500,270];}; + }; + + private _result = [[_vehPos select 0,_vehPos select 1,(_pos select 2) + 300],_dir,_vehType,_grp] call BIS_fnc_spawnVehicle; + private _spawnedVeh = _result select 0; + + waitUntil {!isNull driver _spawnedVeh}; + _spawnedVeh flyInHeight 250; + _spawnedVeh addEventHandler ["Killed",{ + params ["_unit", "_killer", "_instigator", "_useEffects"]; + private _sideOf = side (driver _unit); + private _textLine = selectRandom [ + "Mayday mayday! We're going down!", + "We're going down! Auto-rotating!", + "I always knew this is how I'd go...", + "I guess a captain goes down with his ship...", + "We're hit! Going down!", + "We're not making it to the LZ!" + ]; + + private _sideName = [_sideOf] call BIS_fnc_sideName; + [ + format ["%1 Airdrop Pilot",_sideName], + _textLine + ] remoteExec ['BIS_fnc_showSubtitle',_sideOf]; + { + deleteVehicle _x; + }forEach (crew _unit); + }]; + _grp setBehaviour "CARELESS"; + + _spawnedVeh animateDoor [_doorAnim,1,true]; + private _textLine = selectRandom [ + "We're inbound with your supplies.", + "Supplies are inbound, wait one.", + "We're on our way with your supplies.", + "Your package is being shipped." + ]; + private _sideName = [_sideOf] call BIS_fnc_sideName; + [ + format ["%1 Airdrop Pilot",_sideName], + _textLine + ] remoteExec ['BIS_fnc_showSubtitle',_sideOf]; + if(_sfx) then { + private _radioChatter = selectRandom ["RadioAmbient2","RadioAmbient6","RadioAmbient8"]; + [[_radioChatter],{ + params ['_radioChatter']; + switch (_radioChatter) do { + case "RadioAmbient2": {playSound _radioChatter;}; + case "RadioAmbient6": {playSound _radioChatter; sleep 6; playSound "RadioAmbient2";}; + case "RadioAmbient8": {playSound _radioChatter;}; + }; + }] remoteExec ["spawn",_sideOf]; + }; + + private _wayPointMove = _grp addWaypoint [[(_pos select 0),(_pos select 1),300],0]; + _wayPointMove setWaypointType "MOVE"; + private _nextWaypointPos = _pos getPos [6000,_dir]; + private _wayPointLeave = _grp addWaypoint [[(_nextWaypointPos select 0),(_nextWaypointPos select 1),300],0]; + _wayPointLeave setWaypointType "MOVE"; + + waitUntil {(_spawnedVeh distance2D _pos) < 150}; + if(!alive _spawnedVeh) exitWith { + sleep 120; + deleteVehicle _spawnedVeh; + }; + sleep 1.5; + _textLine = selectRandom [ + "Supplies have been dropped.", + "Supplies are coming down.", + "Your supplies are on their way down.", + "Watch out above! Your supplies are coming down." + ]; + [ + format ["%1 Airdrop Pilot",_sideName], + _textLine + ] remoteExec ['BIS_fnc_showSubtitle',_sideOf]; + if(_sfx) then { + _radioChatter = selectRandom ["RadioAmbient2","RadioAmbient6","RadioAmbient8"]; + [[_radioChatter],{ + params ['_radioChatter']; + switch (_radioChatter) do { + case "RadioAmbient2": {playSound _radioChatter;}; + case "RadioAmbient6": {playSound _radioChatter; sleep 6; playSound "RadioAmbient2";}; + case "RadioAmbient8": {playSound _radioChatter;}; + }; + }] remoteExec ['spawn',_sideof]; + }; + + private _dropPos = position _spawnedVeh getPos [10,getDir _spawnedVeh+180]; + private _para = createVehicle ["B_Parachute_02_F", [0,0,300], [], 0, ""]; + _para setPosATL [(_dropPos select 0),(_dropPos select 1),(getPosATL _spawnedVeh select 2)]; + private _veh = createVehicle [_dropLoad, [0,0,80], [], 0, ""]; + _veh attachTo [_para,[0,0,0]]; + + WaitUntil {((((position _veh) select 2) < 0.6) || (isNil "_para"))}; + detach _veh; + _veh SetVelocity [0,0,-5]; + sleep 0.3; + _veh setPos [(position _veh) select 0, (position _veh) select 1, 0.6]; + private _smoke = "SmokeShellRed" createVehicle position _veh; + _smoke attachTo [_veh,[0,0,0]]; + private _light = "Chemlight_green" createVehicle position _veh; + _light attachTo [_veh,[0,0,0]]; + detach _smoke; + detach _light; + if(_mode select 0 == 'arsenal') then { + [_veh,nil,true,false,false] call JAM_EZM_fnc_createAIOArsenalModule; + }; + if(_vehType == 'B_Heli_Transport_03_F') then { + sleep 20; + { + deleteVehicle _x; + } forEach crew _spawnedVeh; + deleteVehicle _spawnedVeh; + } else { + + { + deleteVehicle _x; + } forEach crew _spawnedVeh; + deleteVehicle _spawnedVeh; + }; + }; + + MAZ_EZM_fnc_callAirdropModule = { + ["Call an Airdrop",[ + [ + "TOOLBOX", + "Airdrop Type", + [false,["Arsenal","Vehicle"]] + ], + [ + "LIST", + ["Payload","Loaded vehicle in the airdrop, only applicable to VEHICLE airdrops."], + [ + [], + [ + "Hunter", + "Hunter HMG", + "Hunter GMG", + "Ifrit", + "Ifrit HMG", + "Ifrit GMG", + "Strider", + "Strider HMG", + "Strider GMG", + "Prowler", + "Prowler HMG", + "Prowler AT", + "Qilin", + "Qilin Minigun", + "Qilin AT", + "AWC 302 Nyx (Recon)", + "AWC 302 Nyx (Autocannon)", + "AWC 302 Nyx (AT)", + "AWC 302 Nyx (AA)", + "AMV-7 Marshall", + "Rhino", + "Rhino MGS UP", + "MSE-3 Marid", + "AFV-4 Gorgon", + "FV-720 Mora" + ], + 0 + ] + ], + [ + "LIST", + ["Direction","Direction the airdrop aircraft comes from."], + [ + ['NW','N','NE','E','SE','S','SW','W'], + ['NW','N','NE','E','SE','S','SW','W'], + 0 + ] + ], + [ + "LIST", + ["Airdrop Aircraft Type","The aircraft type that the airdrop will be carried in."], + [ + ['blackfish','huron','xian','mohawk'], + ["V-44X Blackfish","CH-67 Huron","Y-32 Xi'an","CH-49 Mohawk"], + 0, + 4 + ] + ], + [ + "SIDES", + "Side of Airdrop", + west + ], + [ + "TOOLBOX:YESNO", + ["Radio SFX","Whether to play radio sound effects when the airdrop is called."], + [false] + ] + ],{ + params ["_values","_args","_display"]; + _values params ["_type","_payloadType","_dir","_aircraft","_side","_radioSFX"]; + + private _typeArray = []; + if(_type) then { + _typeArray pushBack 'Vehicle'; + switch (_payloadType) do { + case 0: {_typeArray pushBack 'B_MRAP_01_F';}; + case 1: {_typeArray pushBack 'B_MRAP_01_hmg_F';}; + case 2: {_typeArray pushBack 'B_MRAP_01_gmg_F';}; + case 3: {_typeArray pushBack 'O_MRAP_02_F';}; + case 4: {_typeArray pushBack 'O_MRAP_02_hmg_F';}; + case 5: {_typeArray pushBack 'O_MRAP_02_gmg_F';}; + case 6: {_typeArray pushBack 'I_MRAP_03_F';}; + case 7: {_typeArray pushBack 'I_MRAP_03_hmg_F';}; + case 8: {_typeArray pushBack 'I_MRAP_03_gmg_F';}; + case 9: {_typeArray pushBack 'B_LSV_01_unarmed_F';}; + case 10: {_typeArray pushBack 'B_LSV_01_armed_F';}; + case 11: {_typeArray pushBack 'B_LSV_01_AT_F';}; + case 12: {_typeArray pushBack 'O_LSV_02_unarmed_F';}; + case 13: {_typeArray pushBack 'O_LSV_02_armed_F';}; + case 14: {_typeArray pushBack 'O_LSV_02_AT_F';}; + case 15: {_typeArray pushBack 'I_LT_01_scout_F';}; + case 16: {_typeArray pushBack 'I_LT_01_cannon_F';}; + case 17: {_typeArray pushBack 'I_LT_01_AT_F';}; + case 18: {_typeArray pushBack 'I_LT_01_AA_F';}; + case 19: {_typeArray pushBack 'B_APC_Wheeled_01_cannon_F';}; + case 20: {_typeArray pushBack 'B_AFV_Wheeled_01_cannon_F';}; + case 21: {_typeArray pushBack 'B_AFV_Wheeled_01_up_cannon_F';}; + case 22: {_typeArray pushBack 'O_APC_Wheeled_02_rcws_v2_F';}; + case 23: {_typeArray pushBack 'I_APC_Wheeled_03_cannon_F';}; + case 24: {_typeArray pushBack 'I_APC_tracked_03_cannon_F';}; + }; + } else { + _typeArray pushBack 'Arsenal'; + }; + + [_args,_typeArray,_dir,_aircraft,_side,_radioSFX] spawn MAZ_EZM_fnc_airDropSupportModule; + _display closeDisplay 1; + },{ + params ["_values","_args","_display"]; + _display closeDisplay 2; + },[true] call MAZ_EZM_fnc_getScreenPosition] call MAZ_EZM_fnc_createDialog; + }; + + MAZ_EZM_fnc_heliEvacExec = { + params ["_pos","_direction","_sideOf","_type","_destination",["_passengerNeeded",3]]; + private ["_vehType","_crewCount","_dir","_vehPos","_heliPad1","_heliPad2","_wayPointPickup","_wayPointMove","_wayPointReturn","_pilot","_textLine","_byePos"]; + private _grp = createGroup [_sideOf,true]; + private _direction = toLower _direction; + private _type = toLower _type; + switch (_type) do { + case "hummingbird": {_vehType = "B_Heli_Light_01_F"; _crewCount = _passengerNeeded + 2;}; + case "ghosthawk": {_vehType = "B_Heli_Transport_01_F"; _crewCount = _passengerNeeded + 4;}; + case "ghosthawk ctrg": {if(worldName == 'Tanoa') then {_vehType = "B_CTRG_Heli_Transport_01_tropic_F";} else {_vehType = "B_CTRG_Heli_Transport_01_sand_F";}; _crewCount = _passengerNeeded + 4;}; + case "huron": {_vehType = "B_Heli_Transport_03_F"; _crewCount = _passengerNeeded + 4;}; + case "orca": {_vehType = "O_Heli_Light_02_unarmed_F"; _crewCount = _passengerNeeded + 2;}; + case "taru": {_vehType = "O_Heli_Transport_04_covered_F"; _crewCount = _passengerNeeded + 3;}; + case "hellcat": {_vehType = "I_Heli_light_03_unarmed_F"; _crewCount = _passengerNeeded + 2;}; + case "mohawk": {_vehType = "I_Heli_Transport_02_F"; _crewCount = _passengerNeeded + 2;}; + }; + switch (_direction) do { + case "north": {_dir = 180; _vehPos = _pos getPos [2000,0];}; + case "south": {_dir = 0; _vehPos = _pos getPos [2000,180];}; + case "east": {_dir = 270; _vehPos = _pos getPos [2000,90];}; + case "west": {_dir = 90; _vehPos = _pos getPos [2000,270];}; + }; + + private _result = [[_vehPos select 0,_vehPos select 1,100],_dir,_vehType,_grp] call BIS_fnc_spawnVehicle; + private _spawnedVeh = _result select 0; + + waitUntil {!isNull driver _spawnedVeh}; + _grp setBehaviour "CARELESS"; + { + _x allowDamage false; + }forEach (crew _spawnedVeh); + + _spawnedVeh addEventHandler ["Killed",{ + params ["_unit", "_killer", "_instigator", "_useEffects"]; + private _sideOf = side (driver _unit); + private _textLine = selectRandom [ + "Mayday mayday! We're going down!", + "We're going down! Auto-rotating!", + "I always knew this is how I'd go...", + "I guess a captain goes down with his ship...", + "We're hit! Going down!", + "We're not making it to the LZ!" + ]; + + private _sideName = [_sideOf] call BIS_fnc_sideName; + [ + format ["%1 Evac Pilot",_sideName], + _textLine + ] remoteExec ['BIS_fnc_showSubtitle',_sideOf]; + { + deleteVehicle _x; + }forEach (crew _unit); + }]; + + private _heliPad1 = "Land_HelipadEmpty_F" createVehicle _pos; + _waypointPickup = _grp addWaypoint [position _heliPad1,0]; + _waypointPickup setWaypointType "SCRIPTED"; + _waypointPickup setWaypointScript "A3\functions_f\waypoints\fn_wpLand.sqf"; + + private _textLine = selectRandom [ + "Evac is on the way, hang tight.", + "Location received, evac is inbound.", + "Coordinates received, your ride is on the way.", + "Your Uber driver is on their way.", + "We're on our way, stay put." + ]; + + private _sideName = [_sideOf] call BIS_fnc_sideName; + [ + format ["%1 Evac Pilot",_sideName], + _textLine + ] remoteExec ['BIS_fnc_showSubtitle',_sideOf]; + + waitUntil {isTouchingGround _spawnedVeh}; + + if(_vehType == "B_Heli_Transport_01_F" || _vehType == "B_CTRG_Heli_Transport_01_tropic_F" || _vehType == "B_CTRG_Heli_Transport_01_sand_F") then { + _spawnedVeh animateDoor ["Door_L",1,false]; _spawnedVeh animateDoor ["Door_R",1,false]; + _spawnedVeh lockTurret [[1],true]; + _spawnedVeh lockTurret [[2],true]; + }; + if(_vehType == "B_Heli_Transport_03_F") then { + _spawnedVeh animateDoor ['Door_rear_source',1,false]; + _spawnedVeh lockTurret [[1],true]; + _spawnedVeh lockTurret [[2],true]; + }; + if(_vehType == "O_Heli_Light_02_unarmed_F") then { + _spawnedVeh animate ["dvere1_posunZ",1]; _spawnedVeh animate ["dvere2_posunZ",1]; + }; + + if(!alive _spawnedVeh) exitWith { + sleep 120; + deleteVehicle _spawnedVeh; + deleteVehicle _heliPad1; + }; + _textLine = selectRandom [ + "Your Uber has arrived.", + "Let's get you guys outta here.", + "We're here, load up.", + "We haven't got all day, get in the heli.", + "Touchdown. Everyone, load up.", + "Pile in, there's plenty of space for all of you." + ]; + [ + format ["%1 Evac Pilot",_sideName], + _textLine + ] remoteExec ['BIS_fnc_showSubtitle',_sideOf]; + + waitUntil {count crew _spawnedVeh >= _crewCount}; + + _textLine = selectRandom [ + "Prepping for takeoff, if you wanna get out of here get loaded up.", + "We're leaving in 20 seconds, hurry up.", + "Get a move on, we're leaving in 20 seconds.", + "We're not waiting much longer, leaving in 20 seconds.", + "In 20 seconds we're RTB, hurry up.", + "We want our RnR, if you're not here in 20 seconds you'll be stuck out here!" + ]; + [ + format ["%1 Evac Pilot",_sideName], + _textLine + ] remoteExec ['BIS_fnc_showSubtitle',_sideOf]; + sleep 20; + deleteVehicle _heliPad1; + if(_vehType == "B_Heli_Transport_01_F") then { + _spawnedVeh animateDoor ["Door_L",0,false]; _spawnedVeh animateDoor ["Door_R",0,false]; + }; + if(_vehType == "B_Heli_Transport_03_F") then { + _spawnedVeh animateDoor ['Door_rear_source',0,false]; + }; + if(_vehType == "O_Heli_Light_02_unarmed_F") then { + _spawnedVeh animate ["dvere1_posunZ",0]; _spawnedVeh animate ["dvere2_posunZ",0]; + }; + _textLine = selectRandom [ + "Alright, lets get outta here.", + "Dusting off now. Hold on to something.", + "And we're off. Fasten your seatbelts.", + "We're outta here. Hope you guys aren't prone to being motion sick.", + "Taking off now. Don't fall off now.", + "We're heading out. And, please, don't touch the rotors blades, we've had... accidents." + ]; + [ + format ["%1 Evac Pilot",_sideName], + _textLine + ] remoteExec ['BIS_fnc_showSubtitle',_sideOf]; + private _heliPad2 = "Land_HelipadEmpty_F" createVehicle _destination; + _wayPointMove = _grp addWaypoint [[(getPosATL _heliPad2 select 0),(getPosATL _heliPad2 select 1),(getPosATL _heliPad2 select 2)+40],0]; + _wayPointMove setWaypointType "MOVE"; + sleep 5; + private _waypointReturn = _grp addWaypoint [position _heliPad2,0]; + _waypointReturn setWaypointType "SCRIPTED"; + _waypointReturn setWaypointScript "A3\functions_f\waypoints\fn_wpLand.sqf"; + waitUntil {isTouchingGround _spawnedVeh && _spawnedVeh distance _heliPad2 < 200}; + if(_vehType == "B_Heli_Transport_01_F") then { + _spawnedVeh animateDoor ["Door_L",1,false]; _spawnedVeh animateDoor ["Door_R",1,false]; + }; + if(_vehType == "B_Heli_Transport_03_F") then { + _spawnedVeh animateDoor ['Door_rear_source',1,false]; + }; + if(_vehType == "O_Heli_Light_02_unarmed_F") then { + _spawnedVeh animate ["dvere1_posunZ",1]; _spawnedVeh animate ["dvere2_posunZ",1]; + }; + _textLine = selectRandom [ + "Hope you enjoyed the ride.", + "Oh, now that landing was butter!", + "Thanks for riding with us, if you'd like you can leave us a tip.", + "And to think this is my first day flying!", + "Thanks for giving us something to do.", + "Now get out of my bird." + ]; + [ + format ["%1 Evac Pilot",_sideName], + _textLine + ] remoteExec ['BIS_fnc_showSubtitle',_sideOf]; + switch (_type) do { + case "hummingbird": {waitUntil {count crew _spawnedVeh == 2};}; + case "ghosthawk": {waitUntil {count crew _spawnedVeh == 4};}; + case "huron": {waitUntil {count crew _spawnedVeh == 4};}; + case "orca": {waitUntil {count crew _spawnedVeh == 2};}; + case "taru": {waitUntil {count crew _spawnedVeh == 3};}; + case "hellcat": {waitUntil {count crew _spawnedVeh == 2};}; + case "mohawk": {waitUntil {count crew _spawnedVeh == 2};}; + }; + deleteVehicle _heliPad2; + if(_vehType == "B_Heli_Transport_01_F") then { + _spawnedVeh animateDoor ["Door_L",0,false]; _spawnedVeh animateDoor ["Door_R",0,false]; + }; + if(_vehType == "B_Heli_Transport_03_F") then { + _spawnedVeh animateDoor ['Door_rear_source',0,false]; + }; + if(_vehType == "O_Heli_Light_02_unarmed_F") then { + _spawnedVeh animate ["dvere1_posunZ",0]; _spawnedVeh animate ["dvere2_posunZ",0]; + }; + private _byePos = _spawnedVeh getPos [1500,(getDir _spawnedVeh)]; + private _wayPointLeave = _grp addWaypoint [[(_byePos select 0),(_byePos select 1),60],0]; + _wayPointLeave setWaypointType "MOVE"; + sleep 50; + { + deleteVehicle _x; + } forEach crew _spawnedVeh; + deleteVehicle _spawnedVeh; + }; + + MAZ_EZM_fnc_callEvacModule = { + ["Call Helicopter Evac",[ + [ + "COMBO", + "Direction of Evac", + [ + [], + ["N","S","E","W"], + 0 + ] + ], + [ + "SIDES", + "Side of Evac", + west + ], + [ + "LIST", + "Helicopter Type", + [ + ["Hummingbird","Orca","Ghosthawk","Ghosthawk CTRG","Hellcat","Huron","Mohawk","Taru"], + ["MH-9 Hummingbird","PO-30 Orca","UH-80 Ghosthawk","UH-80 Ghosthawk (CTRG)","WY-55 Hellcat (Unarmed)","CH-67 Huron","CH-49 Mohawk","Mi-290 Taru"], + 0 + ] + ], + [ + "SLIDER", + ["Number of Passengers","The number of passengers required before the AI will take off and move to the destination."], + [1,8,3] + ] + ],{ + params ["_values","_pos","_display"]; + _values params ["_directionIndex","_side","_helicopterType","_numToLeave"]; + _display closeDisplay 1; + private _dir = switch (_directionIndex) do { + case 0: {'North'}; + case 1: {'South'}; + case 2: {'East'}; + case 3: {'West'}; + }; + private _heliParams = [_pos,_dir,_side,_helicopterType,[],_numToLeave]; + + private _helipadMarker = createVehicle ["Land_HelipadEmpty_F",_pos,[],0,"CAN_COLLIDE"]; + + ["Helicopter Destination",{ + params ["_objects","_position","_args","_shift","_ctrl","_alt"]; + deleteVehicle _units; + + _args set [4,_position]; + _args spawn MAZ_EZM_fnc_heliEvacExec; + },_helipadMarker,_heliParams] call MAZ_EZM_fnc_selectSecondaryPosition; + },{ + params ["_values","_args","_display"]; + _display closeDisplay 2; + },[true] call MAZ_EZM_fnc_getScreenPosition] call MAZ_EZM_fnc_createDialog; + }; + + MAZ_EZM_fnc_spawnReinforcements = { + private _fnc_processParams = { + params ["_pos","_side","_groupType","_dir","_endPos"]; + private _factionData = [_side] call MAZ_EZM_fnc_getAllFactionGroups; + private _groupCfg = [_factionData,_groupType] call MAZ_EZM_fnc_getGroupDataFromIndex; + _side = switch (getNumber(_groupCfg >> "side")) do { + case 0: {east}; + case 1: {west}; + case 2: {independent}; + }; + private _heliType = switch (_side) do { + case west: {"B_Heli_Transport_01_F"}; + case east: {"O_Heli_Light_02_unarmed_F"}; + case independent: {"I_Heli_Transport_02_F"}; + }; + _dir = switch (_dir) do { + case 0: {0}; + case 1: {180}; + case 2: {90}; + case 3: {270}; + }; + private _startPos = _pos getPos [5000,_dir]; + + [_startPos,_heliType,_pos,_side,_groupCfg,_dir,_endPos] + }; + (_this call _fnc_processParams) params ["_startPos","_heliType","_pos","_side","_groupType","_dir","_endPos"]; + _startPos set [2,150]; + private _grp = createGroup [_side,true]; + private _result = [_startPos,_dir+180,_heliType,_grp] call BIS_fnc_spawnVehicle; + private _spawnedVeh = _result # 0; + + waitUntil{!isNull driver _spawnedVeh}; + _grp setBehaviour "CARELESS"; + _spawnedVeh lock 2; + + private _heliParams = switch (_heliType) do { + case "B_Heli_Transport_01_F": { + [4,["Door_L","Door_R"]] + }; + case "O_Heli_Light_02_unarmed_F": { + [2,["dvere1_posunZ","dvere2_posunZ"]] + }; + case "I_Heli_Transport_02_F": { + [2,["Door_Back_L","Door_Back_R"]] + }; + }; + _heliParams params ["_crewCount","_doorAnims"]; + + private _group = [[0,0,0], _side, _groupType] call BIS_fnc_spawnGroup; + private _units = units _group; + { + _x moveInCargo _spawnedVeh; + _x setUnitPos MAZ_EZM_stanceForAI; + }forEach _units; + + private _heliPad1 = "Land_HelipadEmpty_F" createVehicle _pos; + private _waypointPickup = _grp addWaypoint [position _heliPad1,0]; + _waypointPickup setWaypointType "TR UNLOAD"; + + private _wayPointGetOut = _group addWaypoint [_pos,0]; + _wayPointGetOut setWaypointType "GETOUT"; + + waitUntil {isTouchingGround _spawnedVeh}; + + if(_heliType == "O_Heli_Light_02_unarmed_F") then { + { + _spawnedVeh animate [_x,1]; + }forEach _doorAnims; + } else { + { + _spawnedVeh animateDoor [_x,1,false]; + }forEach _doorAnims; + }; + + sleep 1.5; + commandGetOut _units; + + waitUntil {count (crew _spawnedVeh) <= _crewCount}; + + if(_heliType == "O_Heli_Light_02_unarmed_F") then { + { + _spawnedVeh animate [_x,0]; + }forEach _doorAnims; + } else { + { + _spawnedVeh animateDoor [_x,0,false]; + }forEach _doorAnims; + }; + + private _moveWaypoint = _group addWaypoint [_endPos,0]; + _moveWaypoint setWaypointType "SAD"; + _moveWaypoint setWaypointCombatMode "YELLOW"; + _moveWaypoint setWaypointBehaviour "AWARE"; + _moveWaypoint setWaypointSpeed "FULL"; + + sleep 1.5; + + private _wayPointHeliLeave = _grp addWayPoint [_startPos,0]; + _wayPointHeliLeave setWayPointType "MOVE"; + sleep 50; + { + deleteVehicle _x; + } forEach crew _spawnedVeh; + deleteVehicle _spawnedVeh; + deleteVehicle _heliPad1; + }; + + MAZ_EZM_fnc_getAllFactionGroups = { + params [["_side",[0,1,2],[west,[]]]]; + private _sides = []; + if(_side isEqualType west) then { + _sides pushBack (_side call BIS_fnc_sideID); + }; + if(_side isEqualType []) then { + _sides = _side; + }; + private _factions = []; + { + private _cfg = _x; + private _side = getNumber (_x >> "side"); + if(!(_side in _sides)) then {continue}; + { + private _name = getText (_x >> "name"); + private _groups = []; + { + private _groupName = getText (_x >> "name"); + _groups pushBack [_groupName,_x]; + }forEach ("true" configClasses (_x >> "Infantry")); + private _flag = getText (configfile >> "CfgFactionClasses" >> configName _x >> "flag"); + private _icon = getText (configfile >> "CfgFactionClasses" >> configName _x >> "icon"); + _factions pushBack [_name,_flag,_icon,_groups]; + }forEach ("true" configClasses _x) + }forEach ("true" configClasses (configFile >> "CfgGroups")); + _factions + }; + + MAZ_EZM_fnc_getGroupDataFromIndex = { + params ["_factionData","_index"]; + private _out = ""; + private _i = 0; + { + _x params ["_name","_flag","_icon","_groups"]; + if(!(_out isEqualType "")) exitWith {}; + private _groupName = ""; + { + _x params ["_grpName","_cfg"]; + if(_i == _index) exitWith { + _out = _cfg; + }; + _i = _i + 1; + }forEach _groups; + }forEach _factionData; + _out + }; + + MAZ_EZM_fnc_callReinforcements = { + ["Spawn Reinforcements (Choose Side)",[ + [ + "SIDES", + "Reinforcements Side", + east + ], + [ + "COMBO", + "Direction of Reinforcements", + [ + [], + [ + "N", + "S", + "E", + "W" + ], + 0 + ] + ] + ],{ + params ["_values","_pos","_display"]; + _values params ["_side","_dir"]; + _display closeDisplay 1; + [_side,_dir] spawn MAZ_EZM_fnc_callReinforcementsChooseGroup; + },{ + params ["_values","_args","_display"]; + _display closeDisplay 2; + }] call MAZ_EZM_fnc_createDialog; + }; + + MAZ_EZM_fnc_callReinforcementsChooseGroup = { + params ["_side","_dir"]; + sleep 0.1; + private _factions = [_side] call MAZ_EZM_fnc_getAllFactionGroups; + private _listData = [[],[],0]; + { + _x params ["_name","_flag","_icon","_groups"]; + private _groupName = ""; + { + _x params ["_groupName","_cfg"]; + (_listData select 1) pushBack [format ["%1 (%2)",_name,_groupName],"",_flag]; + }forEach _groups; + }forEach _factions; + ["Spawn Reinforcements (Group Select)",[ + [ + "LIST", + "Reinforcements Type", + _listData + ] + ],{ + params ["_values","_args","_display"]; + _args params ["_pos","_side","_dir"]; + _values params ["_groupType"]; + _display closeDisplay 1; + + private _reinforcementsParams = [_pos,_side,_groupType,_dir,[]]; + private _helipadMarker = createVehicle ["Land_HelipadEmpty_F",_pos,[],0,"CAN_COLLIDE"]; + + ["Reinforcements Destination on Foot",{ + params ["_objects","_position","_args","_shift","_ctrl","_alt"]; + deleteVehicle _units; + _args set [4,_position]; + _args spawn MAZ_EZM_fnc_spawnReinforcements; + },_helipadMarker,_reinforcementsParams] call MAZ_EZM_fnc_selectSecondaryPosition; + },{ + params ["_values","_args","_display"]; + [] spawn { + sleep 0.1; + [] spawn MAZ_EZM_fnc_callReinforcements; + }; + _display closeDisplay 2; + },[[true] call MAZ_EZM_fnc_getScreenPosition,_side,_dir]] call MAZ_EZM_fnc_createDialog; + }; + + MAZ_EZM_fnc_mortarAreaModule = { + private _pos = [true] call MAZ_EZM_fnc_getScreenPosition; + [ + "Mortar Area", + [ + [ + "COMBO", + "Round Type:", + [ + ["Sh_82mm_AMOS","Smoke_82mm_AMOS_White","Sh_155mm_AMOS","Smoke_120mm_AMOS_White"], + ["82mm HE","82mm Smoke","155mm HE","155mm Smoke"], + 0 + ] + ], + [ + "SLIDER:RADIUS", + "Round Radius:", + [ + 50, + 300, + 100, + _pos, + [1,0,0,1], + false + ] + ], + [ + "SLIDER", + "Number of Rounds:", + [ + 1, + 15, + 10 + ] + ], + [ + "SLIDER", + "Minimum Delay:", + [ + 2, + 4, + 3 + ] + ], + [ + "SLIDER", + "Maximum Delay", + [ + 5, + 8, + 6 + ] + ] + ], + { + params ["_values","_pos","_display"]; + _values params ["_roundType","_radius","_rounds","_min","_max"]; + _display closeDisplay 1; + [_pos,_roundType,_radius,_rounds,_min,_max] spawn { + params ["_pos","_roundType","_radius","_rounds","_min","_max"]; + [_pos,_roundType,_radius * 1.1,1,[_min,_max],{false},(_radius * 0.75)] spawn BIS_fnc_fireSupportVirtual; + sleep (5 + random 5); + [_pos,_roundType,_radius,_rounds,[_min,_max]] spawn BIS_fnc_fireSupportVirtual; + }; + }, + { + params ["_values","_args","_display"]; + _display closeDisplay 1; + }, + _pos + ] call MAZ_EZM_fnc_createDialog; + }; + + comment "Arsenal"; + + JAM_EZM_fnc_createAIOArsenalModule = { + params [["_entity", objnull],["_pos",nil],["_doLight",true],["_doMarker",true],["_doAnimations",true]]; + if(isNil "_pos") then { + _pos = [true] call MAZ_EZM_fnc_getScreenPosition; + }; + private _arsenalBox = if (isNull _entity) then { + private _arsenalBox = createVehicle ["B_supplyCrate_F", _pos, [], 0, "CAN_COLLIDE"]; + _arsenalBox allowdamage false; + + if(_doLight) then { + private _arsenalHeliLight = createVehicle["PortableHelipadLight_01_green_F", _pos, [], 0, "CAN_COLLIDE"]; + _arsenalHeliLight = [_arsenalHeliLight] call BIS_fnc_replaceWithSimpleObject; + _arsenalHeliLight attachTo [_arsenalBox, [0, 0, 0.5]]; + + private _arsenalLightTemp = createVehicle ["#lightpoint", _pos,[],0,"CAN_COLLIDE"]; + _arsenalLightTemp attachto [_arsenalBox,[0,0,0.5]]; + + private _fnc = { + if (!hasInterface) exitWith {}; + params ["_light"]; + if (!isNull _light) then { + _light setLightBrightness 0.14; + _color = [0.1,1,0.1]; + _light setLightAmbient _color; + _light setLightColor _color; + }; + }; + M9SD_AIO_REfnc_initArsenalLight = ["b2", _fnc]; + publicVariable "M9SD_AIO_REfnc_initArsenalLight"; + + [[_arsenalLightTemp], { + _this spawn (M9SD_AIO_REfnc_initArsenalLight select 1); + }] remoteExec ["spawn", 0, _arsenalLightTemp]; + }; + [_arsenalBox] call MAZ_EZM_fnc_deleteAttachedWhenKilled; + [_arsenalBox] call MAZ_EZM_fnc_deleteAttachedWhenDeleted; + _arsenalBox + } else { + _entity; + }; + if (isNull _arsenalBox) exitWith {}; + + ["AmmoboxInit", [_arsenalBox, true]] call BIS_fnc_arsenal; + + M9SD_fnc_addSmallArsenalActions = { + params[["_arsenalBox", objNull],["_doAnimations",true]]; + if (isNull _arsenalBox) exitWith {}; + if (_arsenalBox getVariable["M9SD_hasArsenalActions", false]) exitWith {}; + _arsenalBox setVariable["M9SD_hasArsenalActions", true, true]; + if (isNil "M9SD_AIOArsenal_JIPCount") then { + M9SD_AIOArsenal_JIPCount = 0; + }; + M9SD_AIOArsenal_JIPCount = M9SD_AIOArsenal_JIPCount + 1; + publicVariable "M9SD_AIOArsenal_JIPCount"; + private _uniqueJIP = format["M9SD_JIP_AIOArsenalActions_%1", M9SD_AIOArsenal_JIPCount]; + [[_arsenalBox, _uniqueJIP,_doAnimations], { + if (!hasInterface) exitWith {}; + params[["_supplyCrate", objNull], ["_uniqueJIP", ""], ["_doAnimations",true]]; + if (isNull _supplyCrate) exitWith { + remoteExec["", _uniqueJIP] + }; + _supplyCrate addAction[ + " Full Arsenal", + { + playSound["beep_target", true]; + playSound["beep_target", false]; + ["Preload"] call BIS_fnc_arsenal; + ["Open", true] spawn BIS_fnc_arsenal; + 0 = [] spawn { + for "_i" from 1 to 12 do { + (format["arsenalNotification%1", _i]) cutFadeOut 0; + }; + "arsenalNotification1" cutText ["
AIO Arsenal", "PLAIN DOWN", -1, true, true]; + uiSleep 1; + if !(isNull findDisplay - 1) then { + "arsenalNotification2" cutFadeOut 0; + "arsenalNotification2" cutText["


by M9-SD", "PLAIN DOWN", -1, true, true]; + }; + uiSleep 7; + "arsenalNotification1" cutFadeOut 2.1; + "arsenalNotification2" cutFadeOut 2.1; + }; + if(_this select 3) then { + private _arsenalAnims = [ + "Salute", + "gear", + "acts_Mentor_Freeing_Player", + "Acts_Hilltop_Calibration_Pointing_Left", + "Acts_Hilltop_Calibration_Pointing_Right", + [player,"acts_civilidle_1"], + [player,"acts_civilListening_2"], + [player,"acts_commenting_on_fight_loop"], + [player,"acts_gallery_visitor_01"], + [player,"acts_gallery_visitor_02"], + [player,"acts_hilltop_calibration_loop"], + [player,"acts_kore_talkingoverradio_loop"], + [player,"acts_staticPose_photo"], + [player,"Acts_Taking_Cover_From_Jets"], + [player,"Acts_standingSpeakingUnarmed"], + [player,"acts_kore_talkingOverRadio_In"], + [player,"acts_kore_idleNoWeapon_In"], + [player,"Acts_JetsOfficerSpilling"], + [player,"Acts_Grieving"] + + ]; + private _arsenalAnimsAdd = switch (currentWeapon player) do { + case (primaryWeapon player): { + [ + "Acts_SupportTeam_Right_ToKneelLoop", + "Acts_SupportTeam_Left_ToKneelLoop", + "Acts_SupportTeam_Front_ToKneelLoop", + "Acts_SupportTeam_Back_ToKneelLoop", + "acts_RU_briefing_Turn", + "acts_RU_briefing_point", + "acts_RU_briefing_point_tl", + "acts_RU_briefing_move", + "acts_rifle_operations_right", + "acts_rifle_operations_left", + "acts_rifle_operations_front", + "acts_rifle_operations_checking_chamber", + "acts_rifle_operations_barrel", + "acts_rifle_operations_back", + "acts_pointing_up", + "acts_pointing_down", + "acts_peering_up", + "acts_peering_down", + "acts_peering_front", + [player,"acts_briefing_SA_loop"], + [player, "acts_getAttention_loop"], + [player, "acts_millerIdle"], + [player, "Acts_starGazer"], + [player, "acts_rifle_operations_zeroing"], + [player, "Acts_Helping_Wake_Up_1"] + ]; + }; + case (handgunWeapon player): { + [ + [player, "acts_examining_device_player"], + [player, "acts_executioner_standingloop"], + "Acts_ViperMeeting_A_End", + "Acts_UGV_Jamming_Loop", + "Acts_starterPistol_Fire" + ] + }; + default { + [] + }; + }; + _arsenalAnims = _arsenalAnims + _arsenalAnimsAdd; + private _playAnim = selectRandom _arsenalAnims; + if(typeName _playAnim == "STRING") then { + player playMoveNow _playAnim; + } else { + _playAnim remoteExec ["switchMove"]; + }; + if !(isNil "M9SD_EH_ResetPlayerAnimsOnArsenalClosed") then { + (findDisplay 46) displayRemoveEventHandler["keyDown", M9SD_EH_ResetPlayerAnimsOnArsenalClosed]; + }; + M9SD_EH_ResetPlayerAnimsOnArsenalClosed = (findDisplay 46) displayAddEventHandler["keyDown", { + params["_displayOrControl", "_key", "_shift", "_ctrl", "_alt"]; + private _w = 17; + private _a = 30; + private _s = 31; + private _d = 32; + private _keys = [_w, _a, _s, _d]; + if (_key in _keys) then { + if !(isNil "M9SD_EH_ResetPlayerAnimsOnArsenalClosed") then { + (findDisplay 46) displayRemoveEventHandler["keyDown", M9SD_EH_ResetPlayerAnimsOnArsenalClosed]; + }; + player enableSimulation true; + player playActionNow ""; + player playMoveNow ""; + player switchMove ""; + if (isMultiplayer) then { + [player, ""] remoteExec ["switchMove"] + }; + "arsenalNotification1" + cutFadeOut 0; + "arsenalNotification2" + cutFadeOut 0; + }; + }]; + }; + playSound["hintExpand", true]; + playSound["hintExpand", false]; + }, _doAnimations, 7777, true, true, "", "(_this == vehicle _this)", 7 + ]; + _supplyCrate addAction[ + " Copy Loadout", + { + playSound ["beep_target", true]; + playSound ["beep_target", false]; + player playmovenow "AinvPknlMstpSnonWnonDnon_1"; + private _nearMen = nearestObjects [player, ["Man"], 21]; + if ((count _nearMen) <= 1) exitWith { + playSound ["AddItemFailed", true]; + playSound ["AddItemFailed", false]; + 0 = [] spawn { + for "_i" from 1 to 12 do { + (format ["arsenalNotification%1", _i]) cutFadeOut 0; + }; + "arsenalNotification8" cutFadeOut 0; + "arsenalNotification8" cutText ["ERROR:
No unit is close enough.
", "PLAIN DOWN", -1, true, true]; + uiSleep 3.5; + "arsenalNotification8" cutFadeOut 0.35; + }; + }; + private _nearestMan = _nearMen # 1; + private _loadout = getUnitLoadout _nearestMan; + player setUnitLoadout _loadout; + private _unitName = name _nearestMan; + private _notifText = format ["Nearest unit’s loadout copied:

“%1”", _unitName]; + 0 = _notifText spawn { + for "_i" from 1 to 12 do { + (format ["arsenalNotification%1", _i]) cutFadeOut 0; + }; + "arsenalNotification8" cutFadeOut 0; + "arsenalNotification8" cutText [_this, "PLAIN DOWN", -1, true, true]; + uiSleep 3.5; + "arsenalNotification8" cutFadeOut 0.35; + }; + playSound ["hintExpand", true]; + playSound ["hintExpand", false]; + }, nil, 7777, true, true, "", "(_this == vehicle _this)", 7 + ]; + _supplyCrate addAction[ + " Empty Loadout", + { + playSound["beep_target", true]; + playSound["beep_target", false]; + player playmovenow "AinvPknlMstpSnonWnonDnon_1"; + removeAllWeapons player; + removeAllItems player; + removeAllAssignedItems player; + removeUniform player; + removeVest player; + removeBackpack player; + removeHeadgear player; + removeGoggles player; + 0 = [] spawn { + for "_i" from 1 to 12 do { + (format["arsenalNotification%1", _i]) cutFadeOut 0; + }; + "arsenalNotification4" cutFadeOut 0; + "arsenalNotification4" cutText["Loadout removed.", "PLAIN DOWN", -1, true, true]; + uiSleep 3.5; + "arsenalNotification4" cutFadeOut 0.35; + }; + playSound["hintExpand", true]; + playSound["hintExpand", false]; + }, nil, 7777, true, true, "", "(_this == vehicle _this)", 7 + ]; + _supplyCrate addAction[ + " Save Respawn Loadout", + { + playSound["beep_target", true]; + playSound["beep_target", false]; + player playActionNow "putdown"; + [player, [missionnamespace, "M9SD_arsenalRespawnLoadout"]] call BIS_fnc_saveInventory; + if (!isNil "M9SD_EH_arsenalRespawnLoadout") then { + player removeEventHandler["Respawn", M9SD_EH_arsenalRespawnLoadout]; + }; + M9SD_EH_arsenalRespawnLoadout = player addEventHandler ["Respawn", { + 0 = [] spawn { + waitUntil {alive player}; + sleep 0.07; + [player, [missionnamespace, "M9SD_arsenalRespawnLoadout"]] call BIS_fnc_loadInventory; + }; + }]; + 0 = [] spawn { + for "_i" from 1 to 12 do { + (format["arsenalNotification%1", _i]) cutFadeOut 0; + }; + "arsenalNotification6" cutFadeOut 0; + "arsenalNotification6" cutText["Respawn loadout set.", "PLAIN DOWN", -1, true, true]; + uiSleep 3.5; + "arsenalNotification6" cutFadeOut 0.35; + }; + playSound["hintExpand", true]; + playSound["hintExpand", false]; + }, nil, 7777, true, true, "", "(_this == vehicle _this)", 7 + ]; + _supplyCrate addAction[ + " Load Respawn Loadout", + { + playSound["beep_target", true]; + playSound["beep_target", false]; + player playActionNow "putdown"; + [player, [missionnamespace, "M9SD_arsenalRespawnLoadout"]] call BIS_fnc_loadInventory; + 0 = [] spawn { + for "_i" from 1 to 12 do { + (format["arsenalNotification%1", _i]) cutFadeOut 0; + }; + "arsenalNotification12" cutFadeOut 0; + "arsenalNotification12" cutText["Respawn loadout applied.", "PLAIN DOWN", -1, true, true]; + uiSleep 3.5; + "arsenalNotification12" cutFadeOut 0.35; + }; + playSound["hintExpand", true]; + playSound["hintExpand", false]; + }, nil, 7777, true, true, "", "(_this == vehicle _this) && !isNil 'M9SD_EH_arsenalRespawnLoadout'", 7 + ]; + _supplyCrate addAction[ + " Delete Respawn Loadout", + { + playSound["beep_target", true]; + playSound["beep_target", false]; + player playActionNow "putdown"; + if (!isNil "M9SD_EH_arsenalRespawnLoadout") then { + player removeEventHandler["Respawn", M9SD_EH_arsenalRespawnLoadout]; + M9SD_EH_arsenalRespawnLoadout = nil; + }; + 0 = [] spawn { + for "_i" from 1 to 12 do { + (format["arsenalNotification%1", _i]) cutFadeOut 0; + }; + "arsenalNotification5" cutFadeOut 0; + "arsenalNotification5" cutText["Respawn loadout disabled.", "PLAIN DOWN", -1, true, true]; + uiSleep 3.5; + "arsenalNotification5" cutFadeOut 0.35; + }; + playSound["hintExpand", true]; + playSound["hintExpand", false]; + }, nil, 7777, true, true, "", "(_this == vehicle _this) && !isNil 'M9SD_EH_arsenalRespawnLoadout'", 7 + ]; + _supplyCrate addAction[ + " Heal", + { + playSound["beep_target", true]; + playSound["beep_target", false]; + player playActionNow "Medic"; + [player] call BIS_fnc_reviveEhRespawn; + player setDamage 0; + player setUnconscious false; + player setCaptive false; + 0 = [] spawn { + for "_i" from 1 to 12 do { + (format["arsenalNotification%1", _i]) cutFadeOut 0; + }; + "arsenalNotification3" cutFadeOut 0; + "arsenalNotification3" cutText["Healing...", "PLAIN DOWN", -1, true, true]; + uiSleep 6.33; + playSound["hintCollapse", true]; + playSound["hintCollapse", false]; + "arsenalNotification3" cutFadeOut 0; + "arsenalNotification3" cutText["Healed.", "PLAIN DOWN", -1, true, true]; + uiSleep 3.33; + "arsenalNotification3" cutFadeOut 0.35; + }; + playSound["hintExpand", true]; + playSound["hintExpand", false]; + }, nil, 7777, true, true, "", "((_this == vehicle _this) && (damage _this > 0))", 7 + ]; + }] remoteExec["call", 0, _uniqueJIP]; + }; + [_arsenalBox,_doAnimations] call M9SD_fnc_addSmallArsenalActions; + + if(_doMarker) then { + M9SD_fnc_smallArsenalMarkers = { + params[["_supplyCrate", objNull]]; + if (isNull _supplyCrate) exitWith {}; + if (_supplyCrate getVariable ["M9SD_hasMarkers", false]) exitWith {}; + _supplyCrate setVariable ["M9SD_hasMarkers", true, true]; + + private _list = missionNamespace getVariable ["M9SD_smallArsenals",[]]; + _list pushBackUnique _supplyCrate; + missionNamespace setVariable ["M9SD_smallArsenals",_list,true]; + + [[], { + if (!hasInterface) exitWith {}; + waitUntil {!isNil {player} && {!isNull player}}; + waitUntil {!isNull(findDisplay 46)}; + M9SD_smallArsenalIcons_texture = "\a3\3den\data\displays\display3den\entitymenu\arsenal_ca.paa"; + M9SD_smallArsenalIcons_width = 0.7; + M9SD_smallArsenalIcons_height = 0.7; + M9SD_smallArsenalIcons_angle = 0; + M9SD_smallArsenalIcons_text = "Virtual Arsenal"; + M9SD_smallArsenalIcons_shadow = 2; + M9SD_smallArsenalIcons_textSize = 0.04; + M9SD_smallArsenalIcons_font = "PuristaSemiBold"; + M9SD_smallArsenalIcons_textAlign = "center"; + M9SD_smallArsenalIcons_drawSideArrows = false; + M9SD_smallArsenalIcons_offsetX = 0; + M9SD_smallArsenalIcons_offsetY = -0.07; + M9SD_smallArsenalIcons_offset = 2.1; + if (!isNil "M9SD_EH_drawSmallArsenal3D") then { + removeMissionEventHandler["Draw3D", M9SD_EH_drawSmallArsenal3D]; + }; + M9SD_EH_drawSmallArsenal3D = addMissionEventHandler ["Draw3D", { + private _arsenals = missionNamespace getVariable ["M9SD_smallArsenals",[]]; + if(count _arsenals == 0) exitWith {}; + { + if(isNull _x) then {continue}; + if !(_x in [cursorTarget, cursorObject]) then {continue}; + if((_x distance (vehicle player)) > 28) then {continue}; + + private _position = getPos _x; + _position set [2, (_position # 2) + M9SD_smallArsenalIcons_offset]; + drawIcon3D[ + M9SD_smallArsenalIcons_texture, [1, 1, 1, 1], + _position, + M9SD_smallArsenalIcons_width, + M9SD_smallArsenalIcons_height, + M9SD_smallArsenalIcons_angle, + "", + M9SD_smallArsenalIcons_shadow, + M9SD_smallArsenalIcons_textSize, + M9SD_smallArsenalIcons_font, + M9SD_smallArsenalIcons_textAlign, + M9SD_smallArsenalIcons_drawSideArrows, + M9SD_smallArsenalIcons_offsetX, + M9SD_smallArsenalIcons_offsetY + ]; + drawIcon3D [ + "", [0, 1, 0, 1], + _position, + M9SD_smallArsenalIcons_width, + M9SD_smallArsenalIcons_height, + M9SD_smallArsenalIcons_angle, + M9SD_smallArsenalIcons_text, + M9SD_smallArsenalIcons_shadow, + M9SD_smallArsenalIcons_textSize, + M9SD_smallArsenalIcons_font, + M9SD_smallArsenalIcons_textAlign, + M9SD_smallArsenalIcons_drawSideArrows, + M9SD_smallArsenalIcons_offsetX, + M9SD_smallArsenalIcons_offsetY + ]; + }forEach _arsenals; + if(objNull in _arsenals) then { + [[], { + private _arsenals = missionNamespace getVariable ["M9SD_smallArsenals",[]]; + _arsenals = _arsenals - [objNull]; + missionNamespace setVariable ["M9SD_smallArsenals",_arsenals,true]; + }] remoteExec ["spawn",2]; + }; + }]; + + waitUntil {!isNull(findDisplay 12 displayCtrl 51)}; + + if (!isNil "M9SD_EH_drawSmallArsenal2D") then { + (findDisplay 12 displayCtrl 51) ctrlRemoveEventHandler["Draw", M9SD_EH_drawSmallArsenal2D]; + }; + + M9SD_AIO_color1 = [0, 1, 0, 1]; + M9SD_AIO_color2 = [1, 1, 1, 1]; + M9SD_AIO_iconPath = "a3\ui_f\data\logos\a_64_ca.paa"; + + M9SD_EH_drawSmallArsenal2D = (findDisplay 12 displayCtrl 51) ctrlAddEventHandler["Draw", + { + params ["_map"]; + private _arsenals = missionNamespace getVariable ["M9SD_smallArsenals",[]]; + if (count _arsenals == 0) exitWith {}; + { + if(isNull _x) then {continue}; + private _pos = _x modelToWorldVisual [0, 0, 0]; + private _iconText = if (((_map ctrlMapWorldToScreen (_x modelToWorldVisual[0, 0, 0])) distance2D getMousePosition) > 0.02) then { + "" + } else { + "Virtual Arsenal" + }; + _map drawIcon [ + M9SD_AIO_iconPath, + M9SD_AIO_color1, + _pos, + 20, + 20, + 0, + _iconText, + 1, + 0.05, + "PuristaBold", + "left" + ]; + _map drawIcon [ + M9SD_AIO_iconPath, + M9SD_AIO_color2, + _pos, + 20, + 20, + 0, + "", + 1, + 0.05, + "PuristaSemiBold", + "left" + ]; + } forEach _arsenals; + }]; + }] remoteExec ["spawn", 0, "M9SD_JIP_smallArsenalIcons"]; + }; + [_arsenalBox] call M9SD_fnc_smallArsenalMarkers; + }; + [_arsenalBox, false] remoteExec ["allowDamage"]; + { + [_x, false] remoteExec ["allowDamage"]; + }forEach attachedObjects _arsenalBox; + [_arsenalBox] call MAZ_EZM_fnc_addObjectToInterface; + [attachedObjects _arsenalBox] call MAZ_EZM_fnc_addObjectToInterface; + }; + + MAZ_EZM_fnc_createAIOArsenalDialog = { + params ["_entity"]; + [ + "AIO Arsenal Spawner", + [ + [ + "TOOLBOX:YESNO", + "Light?", + [missionNamespace getVariable ["MAZ_EZM_AIO_Light",true]] + ], + [ + "TOOLBOX:YESNO", + "Map Marker?", + [missionNamespace getVariable ["MAZ_EZM_AIO_Markers",true]] + ], + [ + "TOOLBOX:YESNO", + "Do Animations?", + [missionNamespace getVariable ["MAZ_EZM_AIO_Anims",true]] + ] + ], + { + params ["_values","_args","_display"]; + _values params ["_light","_markers","_anims"]; + MAZ_EZM_AIO_Light = _light; + MAZ_EZM_AIO_Markers = _markers; + MAZ_EZM_AIO_Anims = _anims; + (_args + _values) call JAM_EZM_fnc_createAIOArsenalModule; + ["AIO Arsenal Created.","addItemOk"] call MAZ_EZM_fnc_systemMessage; + _display closeDisplay 1; + }, + { + params ["_values","_args","_display"]; + _display closeDisplay 2; + }, + [_entity,[true] call MAZ_EZM_fnc_getScreenPosition] + ] call MAZ_EZM_fnc_createDialog; + }; + + MAZ_EZM_fnc_resetSavedLoadouts = { + [[], { + if (!isNil "M9SD_EH_arsenalRespawnLoadout") then { + player removeEventHandler["Respawn", M9SD_EH_arsenalRespawnLoadout]; + }; + }] remoteExec ["spawn"]; + }; + + comment "Automatic Missions"; + + MAZ_EZM_fnc_newHelicrashMission = { + MAZ_EZM_fnc_crashSetPosition = { + params ["_crater"]; + private _crashLocations = switch (worldName) do { + case "Altis": {[[4426,14856.8,0],[4798.99,12639.2,0],[4877.75,20329.2,0],[5231.58,14871.2,0],[5578.27,17465.8,0],[6163.38,19324.6,0],[6449.08,13172.7,0],[6543.98,11516.5,0],[6718.32,19145.1,0],[7752.5,15274.9,0],[8158.96,20422.5,0],[8397.1,12966.5,0],[8819.66,11798.1,0],[8791.14,14868,0],[8870,18726,0],[9221.45,22106.7,0],[9279.24,16893.5,0],[9595.95,18836.4,0],[10056.8,8474.84,0],[10412.4,15523.6,0],[10447,12258,0],[10673.2,8163.02,0],[10643.5,16961,0],[10664,14861.2,0],[10905,13319,0],[11107.4,20417.6,0],[11265.5,6763.46,0],[11418.7,8021.57,0],[11555.3,9178.9,0],[11652.9,16580.6,0],[11822.7,21807.9,0],[11970.8,17921.5,0],[12292.4,8427.08,0],[12290.6,14908.5,0],[12272.3,16782.4,0],[12707.5,20893,0],[12818,19687,0],[13025.3,21797.8,0],[13788.3,18012.9,0],[14277.1,22192.4,0],[14352.3,21860.1,0],[14630.3,21582.1,0],[15139,18725,0],[16196.8,20505.8,0],[16511,9939,0],[16633,16039,0],[16757.5,18699.3,0],[16823,17206,0],[17268,17010,0],[17489,12283,0],[17680,15862.8,0],[18060.6,17167.3,0],[18200,10589,0],[18449.8,7986.42,0],[18442.5,14388.5,0],[18836.6,11992,0],[18850.1,17212,0],[19274,14905,0],[19455.6,7522.52,0],[19433,15434,0],[19616.9,8790.04,0],[19673.1,18544.6,0],[19896.6,6270.58,0],[20087,11211,0],[20075.9,19464.4,0],[20148.9,17218,0],[20283.4,13243.4,0],[20763,14738,0],[20747.2,18601.4,0],[20799.7,19459.5,0],[20959.8,10528.6,0],[20940.1,16583.9,0],[21099,13434,0],[21290.6,19486.8,0],[21491.1,8666.78,0],[21628.6,21366.1,0],[21746.5,16236.1,0],[21844.3,7684.46,0],[21975.9,18559.1,0],[21993,15601.4,0],[22062.4,21577.7,0],[22049.4,20284.7,0],[22190.1,15193,0],[22280.9,20129.4,0],[22604.7,22341.4,0],[22693.9,22075.5,0],[23106.8,21565.2,0],[23538.1,20580.1,0],[23755.2,22248.2,0],[23718.1,23545.8,0],[23900.7,23003.5,0],[24009.6,21359.9,0],[24143.3,23747.1,0],[24365,22093,0],[24527.1,23024.5,0],[24692.7,20078,0],[24708,21195.1,0],[24721.8,23393,0],[24952,20877,0],[25226,19954,0],[25563.3,19567.9,0],[25551.8,22500.9,0],[25574.9,20376.8,0],[25687,21512,0],[25765,22222,0],[26024.9,19984.3,0],[26259.4,20418.7,0],[26685.8,21184.4,0],[27493.4,21481.1,0],[27631.7,23592.4,0],[27672.3,23252.4,0],[27887.2,22497.3,0]]}; + case "Stratis": {[[1928.22,3534.36,0],[1977.5,2723.25,0],[2068.9,5612.03,0],[2112.91,3835.67,0],[2684.1,1259.8,0],[2678.56,4478.38,0],[2729.22,2977.94,0],[2792.35,1755.79,0],[2726.1,5830.9,0],[2986.6,1872.88,0],[2947.12,6035.31,0],[3356.14,2910.95,0],[3449.37,5377.28,0],[3559.39,4898.91,0],[3782.19,5584.72,0],[4081.06,4566.71,0],[4282.01,3705.89,0],[4231.02,6768.26,0],[4388.32,4428.61,0],[4617.95,5293.65,0],[5025.48,5905.11,0],[5207.32,5032.42,0],[5333.03,5230.53,0],[5585.59,4669.99,0],[6464.77,5312.47,0],[6559.19,5070.86,0]]}; + case "Tanoa": {[[1994.01,3318.69,0],[1977.91,6149.22,0],[2406.13,13314,0],[2635.34,11693.8,0],[2731.29,5743.97,0],[2963.1,9292.33,0],[3372.5,6528.03,0],[3857.02,13448.1,0],[4714.84,3566.41,0],[4802.19,5109.05,0],[5260.83,8748.35,0],[5282.02,11607.9,0],[5605.38,11187.2,0],[5791.82,4161.52,0],[6055.39,10381.1,0],[6247.1,9359.79,0],[6535.95,12748.7,0],[6761.22,7269.57,0],[6948.91,13296,0],[7036.33,4106.12,0],[7567.5,8102.3,0],[7562.46,12551.3,0],[8366.63,9835.1,0],[8726.58,4350.14,0],[8913.88,13772,0],[9096.26,10198.7,0],[9312.51,7382.55,0],[9419.4,4160.3,0],[9858.19,13305.3,0],[9896.49,12066.1,0],[10543.3,6618.74,0],[10684.3,8703.72,0],[10962.4,9778.89,0],[11013.3,3984.29,0],[11271.9,5088.14,0],[11439.7,12379.6,0],[11757,10253.7,0],[11901.4,3219.96,0],[11915.4,12982.1,0],[12167.1,2558.17,0],[12507.7,8126.96,0],[12495.4,8120.56,0],[12621.3,12159.2,0],[12885.6,4726.58,0],[13547.7,12353.7,0]]}; + case "Malden": {[[1173.52,553.341,0],[2574.27,3384.17,0],[2583.97,4498.49,0],[3166.79,6499.55,0],[3384.68,5855.92,0],[3499.89,8463.32,0],[3660.96,5224.26,0],[3726.6,3343.97,0],[3967.86,7360.91,0],[4135.1,6178.93,0],[4183.96,6838.41,0],[4356.08,2664.51,0],[4574.04,3726.52,0],[4478.59,9502.34,0],[4739.8,9874.42,0],[5078.69,7370.66,0],[5215.15,4752.49,0],[5228.77,6113.76,0],[5353.05,4125.18,0],[5374.87,4474.32,0],[5363.94,8711.72,0],[5543.19,11192.8,0],[5657.82,7003.13,0],[5907.66,3348.21,0],[5972.87,9644.25,0],[6004.93,6552.75,0],[6192.93,8605.72,0],[6206.64,10717,0],[6595.55,3999.55,0],[6853.07,5497.6,0],[6971.02,4776.37,0],[6925.04,11188.2,0],[6952.59,9921.21,0],[7005.67,8298.7,0],[7173.55,5916.48,0],[7332.62,6976.11,0],[7553.26,10731,0],[7803.76,4451.71,0],[7788.3,7683.12,0],[8138.48,3109.62,0],[8146.16,10031.8,0],[8280.43,2937.81,0],[8327.22,5660.38,0],[8526.92,3246.26,0]]}; + case "Enoch": {[[3094.28,6975.88,0],[3042.18,5372.35,0],[3208.97,2258.87,0],[3439.1,8982.46,0],[3434.31,11016.1,0],[3642.56,8689.51,0],[4137.82,7578.32,0],[4179.18,10347.8,0],[4541.4,4743.86,0],[5256.73,2160.37,0],[5130.52,10421.7,0],[5598.42,8704.12,0],[5911.77,7912.09,0],[6130.03,8106.55,0],[6426.88,10990.5,0],[6881.97,1203.95,0],[7293.8,2718.96,0],[7628.54,5652.17,0],[7887.01,9806.89,0],[7930.4,10720.5,0],[8132.23,11082.9,0],[8272.61,8822.85,0],[8424.41,10082,0],[8940.26,6589.97,0],[9107.57,1685.31,0],[9033.24,4388.54,0],[9284.32,11058,0],[9731.2,7845.74,0],[9889.61,8624.03,0],[10400.6,6797.57,0],[11122.2,2492.39,0],[11305.6,9583.08,0]]}; + case "VR": {[[7520.18,7513.92,0]]}; + }; + private _position = selectRandom _crashLocations; + _crater setPosATL _position; + _crater setVectorUp surfaceNormal position _crater; + private _randomDir = round (random 360); + _crater setDir _randomDir; + _position; + }; + + MAZ_EZM_fnc_createSoldierMission = { + params ["_location","_groupSize"]; + private _position = [[[_location,50]],[]] call BIS_fnc_randomPos; + private _unitLoadouts = [ + [["arifle_Katiba_F","","acc_pointer_IR","optic_ACO_grn",["30Rnd_65x39_caseless_green",30],[],""],[],[],["U_O_CombatUniform_ocamo",[["FirstAidKit",5]]],["V_HarnessO_brn",[["HandGrenade",2,1],["SmokeShell",2,1],["SmokeShellGreen",1,1],["30Rnd_65x39_caseless_green",11,30]]],[],"H_HelmetLeaderO_ocamo","",[],["ItemMap","ItemGPS","ItemRadio","ItemCompass","ItemWatch","O_NVGoggles_hex_F"]], + [["arifle_AK12U_F","","acc_pointer_IR","optic_ACO_grn",["30Rnd_762x39_AK12_Mag_F",30],[],""],[],[],["U_O_CombatUniform_ocamo",[["FirstAidKit",5]]],["V_HarnessO_brn",[["HandGrenade",2,1],["SmokeShell",2,1],["SmokeShellGreen",1,1],["30Rnd_762x39_AK12_Mag_F",5,30]]],[],"H_HelmetLeaderO_ocamo","",[],["ItemMap","ItemGPS","ItemRadio","ItemCompass","ItemWatch","O_NVGoggles_hex_F"]], + [["arifle_CTAR_hex_F","","acc_pointer_IR","optic_Arco",["30Rnd_580x42_Mag_F",30],[],""],[],[],["U_O_CombatUniform_ocamo",[["FirstAidKit",5]]],["V_HarnessO_brn",[["HandGrenade",2,1],["SmokeShell",2,1],["SmokeShellGreen",1,1],["30Rnd_580x42_Mag_F",5,30]]],[],"H_HelmetLeaderO_ocamo","",[],["ItemMap","ItemGPS","ItemRadio","ItemCompass","ItemWatch","O_NVGoggles_hex_F"]], + [["srifle_DMR_01_F","","","optic_DMS",["10Rnd_762x54_Mag",10],[],""],[],[],["U_O_CombatUniform_ocamo",[["FirstAidKit",5]]],["V_HarnessO_brn",[["HandGrenade",2,1],["SmokeShell",2,1],["SmokeShellGreen",1,1],["10Rnd_762x54_Mag",5,10]]],[],"H_HelmetLeaderO_ocamo","",[],["ItemMap","ItemGPS","ItemRadio","ItemCompass","ItemWatch","O_NVGoggles_hex_F"]], + [["LMG_Zafir_F","","","optic_Holosight",["150Rnd_762x54_Box",150],[],""],[],[],["U_O_CombatUniform_ocamo",[["FirstAidKit",5]]],["V_HarnessO_brn",[["HandGrenade",2,1],["SmokeShell",2,1],["SmokeShellGreen",1,1],["150Rnd_762x54_Box",1,150]]],[],"H_HelmetLeaderO_ocamo","",[],["ItemMap","ItemGPS","ItemRadio","ItemCompass","ItemWatch","O_NVGoggles_hex_F"]] + ]; + + private _soldiersCreated = []; + private _soldierGroup = createGroup [east,true]; + for "_i" from 0 to (_groupSize-1) do { + private _soldier = _soldierGroup createUnit ["O_Soldier_F",[23405.7,17895.8,0],[],0,"CAN_COLLIDE"]; + _soldier setPosATL _position; + _soldier setVectorDirAndUp [[0,1,0],[0,0,1]]; + _soldier setUnitLoadout (selectRandom _unitLoadouts); + _soldier setUnitPos MAZ_EZM_stanceForAI; + + [_soldierGroup,0] setWaypointPosition [position leader _soldierGroup,0]; + _soldierGroup setGroupID ["Alpha 1-1"];; + + _soldiersCreated pushBack _soldier; + }; + _soldierGroup selectLeader (_soldiersCreated select 0); + _soldierGroup allowFleeing 0; + + comment "Add waypoints"; + _position = [[[_location,35]],[]] call BIS_fnc_randomPos; + private _moveWaypoint = _soldierGroup addWaypoint [_position,0]; + _moveWaypoint setWaypointType "MOVE"; + _moveWaypoint setWaypointBehaviour "SAFE"; + _moveWaypoint setWaypointSpeed "LIMITED"; + + _position = [[[_location,35]],[]] call BIS_fnc_randomPos; + _moveWaypoint = _soldierGroup addWaypoint [_position,0]; + _moveWaypoint setWaypointType "MOVE"; + _moveWaypoint setWaypointBehaviour "SAFE"; + _moveWaypoint setWaypointSpeed "LIMITED"; + + _position = [[[_location,35]],[]] call BIS_fnc_randomPos; + _moveWaypoint = _soldierGroup addWaypoint [_position,0]; + _moveWaypoint setWaypointType "MOVE"; + _moveWaypoint setWaypointBehaviour "SAFE"; + _moveWaypoint setWaypointSpeed "LIMITED"; + + _position = [[[_location,35]],[]] call BIS_fnc_randomPos; + _moveWaypoint = _soldierGroup addWaypoint [_position,0]; + _moveWaypoint setWaypointType "MOVE"; + _moveWaypoint setWaypointBehaviour "SAFE"; + _moveWaypoint setWaypointSpeed "LIMITED"; + + _position = [[[_location,35]],[]] call BIS_fnc_randomPos; + _moveWaypoint = _soldierGroup addWaypoint [_position,0]; + _moveWaypoint setWaypointType "MOVE"; + _moveWaypoint setWaypointBehaviour "SAFE"; + _moveWaypoint setWaypointSpeed "LIMITED"; + + _position = [[[_location,35]],[]] call BIS_fnc_randomPos; + private _cycleWaypoint = _soldierGroup addWaypoint [_position,0]; + _cycleWaypoint setWaypointType "CYCLE"; + _cycleWaypoint setWaypointBehaviour "SAFE"; + _cycleWaypoint setWaypointSpeed "LIMITED"; + + + _soldiersCreated; + }; + + MAZ_EZM_fnc_createSmokeForCrash = { + params ["_position"]; + private _smokeNfire = createVehicle ["test_EmptyObjectForSmoke",_position,[],0,"CAN_COLLIDE"]; + _smokeNfire + }; + + MAZ_EZM_fnc_createReward = { + params ["_location","_type"]; + private _position = [[[_location,15]],[]] call BIS_fnc_randomPos; + + private _crate = nil; + switch (_type) do { + case "guns": { + _crate = createVehicle ["Box_NATO_Ammo_F",[16876.3,12244,0],[],0,"CAN_COLLIDE"]; + _crate setPos _position; + _crate setVectorDirAndUp [[0,1,0],[-0.0346379,0,0.9994]]; + [_crate,"[[[[""arifle_Katiba_F"",""arifle_ARX_blk_F"",""arifle_CTAR_hex_F"",""arifle_RPK12_F"",""arifle_MSBS65_black_F"",""LMG_Zafir_F"",""srifle_DMR_01_F"",""srifle_DMR_04_F"",""srifle_DMR_05_blk_F"",""launch_O_Vorona_brown_F""],[5,2,5,1,2,2,3,2,2,1]],[[""30Rnd_65x39_caseless_green"",""30Rnd_762x39_AK12_Mag_F"",""75rnd_762x39_AK12_Mag_F"",""10Rnd_50BW_Mag_F"",""30Rnd_580x42_Mag_F"",""30Rnd_65x39_caseless_msbs_mag"",""150Rnd_762x54_Box"",""10Rnd_762x54_Mag"",""10Rnd_127x54_Mag"",""10Rnd_93x64_DMR_05_Mag"",""Vorona_HEAT""],[20,4,2,3,12,8,4,12,5,8,1]],[[""muzzle_snds_B"",""optic_Arco"",""optic_Aco"",""optic_ACO_grn"",""optic_Holosight"",""acc_flashlight"",""acc_pointer_IR"",""optic_DMS"",""optic_AMS"",""optic_KHS_hex"",""muzzle_snds_58_hex_F"",""muzzle_snds_65_TI_blk_F"",""optic_Holosight_blk_F"",""optic_ico_01_black_f"",""optic_Arco_AK_blk_F"",""optic_DMS_weathered_Kir_F"",""Laserdesignator_02"",""FirstAidKit""],[2,4,4,4,4,5,5,4,4,3,3,3,4,3,2,3,10,20]],[[],[]]],false]"] call bis_fnc_initAmmoBox;; + }; + case "equip": { + _crate = createVehicle ["Box_NATO_Equip_F",[16877,12245,0],[],0,"CAN_COLLIDE"]; + _crate setPos _position; + _crate setVectorDirAndUp [[0.774188,0.632387,0.0268383],[-0.0346456,0,0.9994]]; + [_crate,"[[[[],[]],[[],[]],[[""H_Cap_tan_specops_US"",""H_MilCap_mcamo"",""H_Booniehat_mcamo"",""H_Booniehat_tan"",""H_HelmetB_light"",""H_HelmetB_light_black"",""H_HelmetB_light_desert"",""H_HelmetB_light_grass"",""H_HelmetB_light_sand"",""H_HelmetB_light_snakeskin"",""H_HelmetB_black"",""H_HelmetB_camo"",""H_HelmetB_desert"",""H_HelmetB_grass"",""H_HelmetB_sand"",""H_HelmetB_snakeskin"",""H_HelmetSpecB"",""H_HelmetSpecB_blk"",""H_HelmetSpecB_paint2"",""H_HelmetSpecB_paint1"",""H_HelmetSpecB_sand"",""H_HelmetSpecB_snakeskin"",""H_HelmetCrew_B"",""H_PilotHelmetFighter_B"",""H_PilotHelmetHeli_B"",""H_CrewHelmetHeli_B"",""H_HelmetB_TI_tna_F"",""H_HelmetB_tna_F"",""H_HelmetB_Enh_tna_F"",""H_HelmetB_Light_tna_F"",""H_Booniehat_tna_F"",""V_Rangemaster_belt"",""V_BandollierB_blk"",""V_BandollierB_rgr"",""V_Chestrig_blk"",""V_Chestrig_rgr"",""V_TacVest_blk"",""V_PlateCarrier1_blk"",""V_PlateCarrier1_rgr"",""V_PlateCarrier2_rgr"",""V_PlateCarrier2_blk"",""V_PlateCarrierGL_blk"",""V_PlateCarrierGL_rgr"",""V_PlateCarrierGL_mtp"",""V_PlateCarrierSpec_blk"",""V_PlateCarrierSpec_rgr"",""V_PlateCarrierSpec_mtp"",""V_RebreatherB"",""V_TacChestrig_grn_F"",""V_PlateCarrier1_tna_F"",""V_PlateCarrier2_tna_F"",""V_PlateCarrierSpec_tna_F"",""V_PlateCarrierGL_tna_F"",""V_BandollierB_ghex_F"",""V_PlateCarrier1_rgr_noflag_F"",""V_PlateCarrier2_rgr_noflag_F""],[2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2]],[[],[]]],false]"] call bis_fnc_initAmmoBox;; + }; + }; + _crate; + }; + + MAZ_EZM_fnc_crashSounds = { + params ["_helicopter","_newPos"]; + [_helicopter,_newPos] spawn { + params ["_helicopter","_newPos"]; + playSound3D ["A3\sounds_f\vehicles\crashes\helis\heli_crash_ground_ext_4.wss",_helicopter,false,_newPos, 5, 1, 5500]; + sleep 0.5; + playSound3D ["A3\sounds_f\vehicles\air\noises\heli_damage_rotor_ext_2.wss",_helicopter,false,_newPos, 5, 1, 1000]; + while {!(isNull _helicopter)} do { + playSound3D ["A3\sounds_f\vehicles\air\noises\heli_alarm_bluefor.wss",_helicopter,false,getPosASL _helicopter, 5, 1, 30]; + sleep 2.05; + }; + }; + }; + + private _craterCrash = createVehicle ["CraterLong",[23413.8,17893.8,0],[],0,"CAN_COLLIDE"]; + _craterCrash setPosWorld [23413.8,17893.8,3.25423]; + _craterCrash setVectorDirAndUp [[0,1,0],[0,0,1]]; + + private _crashGhosthawk = createVehicle ["B_Heli_Transport_01_F",[23415.3,17894.2,-1.035],[],0,"CAN_COLLIDE"]; + _crashGhosthawk setPosWorld [23414.6,17894.2,4.17478]; + _crashGhosthawk setVectorDirAndUp [[0,0.95921,-0.282693],[0.46759,0.249885,0.84789]]; + _crashGhosthawk setDamage [0.62284,false]; + _crashGhosthawk lock 2; + _crashGhosthawk enableSimulation false; + [_crashGhosthawk,_craterCrash] call BIS_fnc_attachToRelative; + private _newPos = [_craterCrash] call MAZ_EZM_fnc_crashSetPosition; + [_crashGhosthawk,_newPos] call MAZ_EZM_fnc_crashSounds; + + private _positionOfCrash = getPos _craterCrash; + private _smokeObject = [_positionOfCrash] call MAZ_EZM_fnc_createSmokeForCrash; + private _crashObjects = [_craterCrash,_crashGhosthawk,_smokeObject]; + ["TaskAssignedIcon",["A3\UI_F\Data\Map\Markers\Military\warning_CA.paa","Helicopter Crash"]] remoteExec ['BIS_fnc_showNotification']; + private _heliCrashMarker = createMarker ["heliCrashMarker_0",_positionOfCrash]; + _heliCrashMarker setMarkerText "Helicopter Crash"; + _heliCrashMarker setMarkerType "mil_objective"; + _heliCrashMarker setMarkerColor "ColorEAST"; + + private _randomAmountOfEnemies = round (random [10,15,20]); + private _groupSize = round (random [1,2,3]); + _randomAmountOfEnemies = round (_randomAmountOfEnemies/_groupSize); + private _soldiersArray = []; + for "_i" from 0 to _randomAmountOfEnemies do { + private _soldiersCreated = [_positionOfCrash,_groupSize] call MAZ_EZM_fnc_createSoldierMission; + { + _soldiersArray pushBack _x; + }forEach _soldiersCreated; + }; + + + [_soldiersArray,_heliCrashMarker,_crashObjects] spawn { + params ["_soldiersArray","_heliCrashMarker","_crashObjects"]; + private _timer = 900; + while {_timer > 0 && (({alive _x} count _soldiersArray) != 0)} do { + _timer = _timer - 1; + sleep 1; + }; + if(({alive _x} count _soldiersArray) == 0) then { + ["TaskSucceeded",["","Helicopter Crash Secured"]] remoteExec ['BIS_fnc_showNotification']; + private _randomAmount = selectRandom [1,2]; + private _rewardBoxes = []; + for "_i" from 0 to (_randomAmount-1) do { + private _rewardType = selectRandom ["guns","equip"]; + private _rewardBox = [getPos (_crashObjects select 0),_rewardType] call MAZ_EZM_fnc_createReward; + _rewardBoxes pushBack _rewardBox; + }; + deleteMarker _heliCrashMarker; + sleep 90; + waitUntil {{isPlayer _x} count ((_crashObjects select 0) nearEntities ["Man",1600]) == 0}; + { + deleteVehicle _x; + } forEach _crashObjects + _soldiersArray + _rewardBoxes; + }; + if(_timer <= 0 && (({alive _x} count _soldiersArray) != 0)) then { + ["TaskFailed",["","Helicopter Crash Not Secured"]] remoteExec ['BIS_fnc_showNotification']; + deleteMarker _heliCrashMarker; + { + deleteVehicle _x; + } forEach _crashObjects + _soldiersArray; + }; + sleep 600; + if(MAZ_EZM_autoHelicrash) then { + [] call MAZ_EZM_fnc_newHelicrashMission; + }; + }; + }; + + MAZ_EZM_fnc_getAutoMissionUnitTypes = { + params ["_side"]; + private _return = []; + switch (_side) do { + case west: { + switch (worldName) do { + case "Stratis"; + case "Malden"; + case "Altis": { + _return = [ + "B_Soldier_A_F", + "B_Soldier_AR_F", + "B_Medic_F", + "B_Soldier_GL_F", + "B_Soldier_M_F", + "B_Soldier_F", + "B_Soldier_LAT_F", + "B_Soldier_LAT2_F" + ]; + }; + case "Tanoa": { + _return = [ + "B_T_Soldier_A_F", + "B_T_Soldier_AR_F", + "B_T_Medic_F", + "B_T_Soldier_GL_F", + "B_T_Soldier_M_F", + "B_T_Soldier_F", + "B_T_Soldier_LAT_F", + "B_T_Soldier_LAT2_F" + ]; + }; + case "Enoch": { + _return = [ + "B_W_Soldier_A_F", + "B_W_Soldier_AR_F", + "B_W_Medic_F", + "B_W_Soldier_GL_F", + "B_W_Soldier_M_F", + "B_W_Soldier_F", + "B_W_Soldier_LAT_F", + "B_W_Soldier_LAT2_F" + ]; + }; + }; + }; + case east: { + switch (worldName) do { + case "Stratis"; + case "Malden"; + case "Altis": { + _return = [ + "O_Soldier_A_F", + "O_Soldier_AR_F", + "O_Medic_F", + "O_Soldier_GL_F", + "O_Soldier_M_F", + "O_Soldier_F", + "O_Soldier_LAT_F" + ]; + }; + case "Tanoa": { + _return = [ + "O_T_Soldier_A_F", + "O_T_Soldier_AR_F", + "O_T_Medic_F", + "O_T_Soldier_GL_F", + "O_T_Soldier_M_F", + "O_T_Soldier_F", + "O_T_Soldier_LAT_F" + ]; + }; + case "Enoch": { + _return = [ + "O_R_JTAC_F", + "O_R_Soldier_AR_F", + "O_R_Medic_F", + "O_R_Soldier_GL_F", + "O_R_Soldier_M_F", + "O_R_Soldier_LAT_F" + ] + }; + }; + }; + case independent: { + switch (worldName) do { + case "Stratis"; + case "Malden"; + case "Altis": { + _return = [ + "I_Soldier_A_F", + "I_Soldier_AR_F", + "I_Medic_F", + "I_Soldier_GL_F", + "I_Soldier_M_F", + "I_Soldier_F", + "I_Soldier_LAT_F", + "I_Soldier_LAT2_F" + ]; + }; + case "Tanoa": { + _return = [ + "I_C_Soldier_Para_7_F", + "I_C_Soldier_Para_3_F", + "I_C_Soldier_Para_4_F", + "I_C_Soldier_Para_6_F", + "I_C_Soldier_Para_8_F", + "I_C_Soldier_Para_1_F", + "I_C_Soldier_Para_5_F" + ]; + }; + case "Enoch": { + _return = [ + "I_E_Soldier_A_F", + "I_E_Soldier_AR_F", + "I_E_Medic_F", + "I_E_Soldier_GL_F", + "I_E_Soldier_M_F", + "I_E_Soldier_F", + "I_E_Soldier_LAT_F", + "I_E_Soldier_LAT2_F" + ]; + }; + }; + }; + }; + _return + }; + + MAZ_EZM_fnc_newConvoyMission = { + MAZ_EZM_fnc_getConvoyInfo = { + params ["_convoyType"]; + private _returnInfo = []; + switch (_convoyType) do { + case 0: { + comment "Vehicle Types"; + _returnInfo pushBack [ + "O_APC_Wheeled_02_rcws_v2_F", + "O_Truck_03_ammo_F", + "O_APC_Wheeled_02_rcws_v2_F" + ]; + + comment "Starting location"; + _returnInfo pushBack [10801.153,10591.354]; + + comment "Starting locations"; + _returnInfo pushBack [ + [10800.998,10625.687], + [10801.449,10578.907], + [10799.197,10537.174] + ]; + + comment "Starting direction"; + _returnInfo pushBack [0,0,0]; + + comment "Waypoints"; + _returnInfo pushBack [ + [11003.723,15674.568], + [15139.83,17539.145], + [15797.84,16290.967], + [15374.077,16232.825], + [15477.943,15886.842] + ]; + + comment "Ending location"; + _returnInfo pushBack [15483.02,15867.24]; + + comment "Marker Locations"; + _returnInfo pushBack [ + [11256.663,13165.631], + [11330.834,14107.15], + [11334.651,15318.223], + [12872.64,15937.588], + [14940.22,17353.176], + [15929.533,16978.57] + ]; + + comment "Convoy Side"; + _returnInfo pushBack east; + }; + case 1: { + comment "Vehicle Types"; + _returnInfo pushBack [ + "I_APC_Wheeled_03_cannon_F", + "I_Truck_02_ammo_F", + selectRandom ["I_MRAP_03_hmg_F","I_MRAP_03_gmg_F"] + ]; + + comment "Starting location"; + _returnInfo pushBack [21580.479,7823.819]; + + comment "Starting locations"; + _returnInfo pushBack [ + [21572.172,7857.319], + [21584.908,7820.114], + [21598.602,7780.707] + ]; + + comment "Starting direction"; + _returnInfo pushBack [344.183,341.303,339.796]; + + comment "Waypoints"; + _returnInfo pushBack [ + [19363.201,13328.431], + [19378.586,15294.969], + [25343.486,21053.148], + [24317.18,21512.117], + [22506.36,20784.482], + [22019.516,21063.064] + ]; + + comment "Ending location"; + _returnInfo pushBack [22024.95,21072.063]; + + comment "Marker Locations"; + _returnInfo pushBack [ + [19912.098,11622.105], + [19340.213,14848.896], + [20502.85,16353.783], + [22899.82,19291.697], + [25281.32,21018.078], + [24252.854,21534.236], + [22653.04,20858.324] + ]; + + comment "Convoy Side"; + _returnInfo pushBack independent; + }; + case 2: { + comment "Vehicle Types"; + _returnInfo pushBack [ + "O_APC_Tracked_02_cannon_F", + "O_Truck_03_device_F", + "O_APC_Wheeled_02_rcws_v2_F" + ]; + + comment "Starting location"; + _returnInfo pushBack [17506.146,13205.87]; + + comment "Starting locations"; + _returnInfo pushBack [ + [17488.219,13224.532], + [17519.352,13192.043], + [17548.129,13161.36] + ]; + + comment "Starting direction"; + _returnInfo pushBack [316.789,316.911,313.466]; + + comment "Waypoints"; + _returnInfo pushBack [ + [17284.742,13438.548], + [15813.545,17391.84], + [10317.244,19004.494], + [7437.338,17151.658], + [6188.207,16181.874], + [6171.746,16300.393] + ]; + + comment "Ending location"; + _returnInfo pushBack [6175.534,16252.588]; + + comment "Marker Locations"; + _returnInfo pushBack [ + [16886.854,15487.035], + [15497.099,17511.123], + [12414.757,18786.67], + [8403.481,18231.346] + ]; + + comment "Convoy Side"; + _returnInfo pushBack east; + }; + case 3: { + comment "Vehicle Types"; + _returnInfo pushBack [ + "I_APC_Wheeled_03_cannon_F", + "I_Truck_02_ammo_F", + "I_APC_Wheeled_03_cannon_F", + selectRandom ["I_MRAP_03_hmg_F","I_MRAP_03_gmg_F"] + ]; + + comment "Starting location"; + _returnInfo pushBack [3260.870,12509.276]; + + comment "Starting locations"; + _returnInfo pushBack [ + [3254.868,12504.7], + [3237.267,12498.41], + [3220.510,12492.701], + [3203.243,12486.627] + ]; + + comment "Starting direction"; + _returnInfo pushBack [72.490,72.509,72.572,72.178]; + + comment "Waypoints"; + _returnInfo pushBack [ + [9289.280,15856.197], + [17870.432,18199.361] + ]; + + comment "Ending location"; + _returnInfo pushBack [17870.432,18199.361]; + + comment "Marker Locations"; + _returnInfo pushBack [ + [6299.041,15151.183], + [9218.906,15837.3], + [14542.193,16940.186], + [17211.178,17898.922] + ]; + + comment "Convoy Side"; + _returnInfo pushBack independent; + }; + }; + _returnInfo; + }; + + MAZ_EZM_fnc_createVehicleUnitConvoy = { + params ["_group","_unitType"]; + private _soldier = _group createUnit [_unitType,[23405.7,17895.8,0],[],0,"CAN_COLLIDE"]; + _soldier setVectorDirAndUp [[0,1,0],[0,0,1]]; + _soldier setUnitPos MAZ_EZM_stanceForAI; + _soldier; + }; + + MAZ_EZM_fnc_createConvoyVehicle = { + params ["_type","_vehPos","_vehDir","_group"]; + private _veh = createVehicle [_type,_vehPos,[],0,"None"]; + _veh setDir _vehDir; + private _unitType = selectRandom ([side _group] call MAZ_EZM_fnc_getAutoMissionUnitTypes); + private _vehDriver = [_group,_unitType] call MAZ_EZM_fnc_createVehicleUnitConvoy; + _vehDriver moveInDriver _veh; + _vehDriver limitSpeed 57; + _vehDriver setSkill ["courage",1]; + _vehDriver setSkill ["commanding",1]; + if(_type isKindOf "Truck_F") then { + _unitType = selectRandom ([side _group] call MAZ_EZM_fnc_getAutoMissionUnitTypes); + private _vehCargo = [_group,_unitType] call MAZ_EZM_fnc_createVehicleUnitConvoy; + _vehCargo moveInCargo _veh; + } else { + _unitType = selectRandom ([side _group] call MAZ_EZM_fnc_getAutoMissionUnitTypes); + private _vehGunner = [_group,_unitType] call MAZ_EZM_fnc_createVehicleUnitConvoy; + _vehGunner moveInGunner _veh; + if (_veh emptyPositions "commander" > 0) then { + _unitType = selectRandom ([side _group] call MAZ_EZM_fnc_getAutoMissionUnitTypes); + private _vehCommander = [_group,_unitType] call MAZ_EZM_fnc_createVehicleUnitConvoy; + _vehCommander moveInCommander _veh; + }; + }; + _veh; + }; + + private _convoyType = [0,3] call BIS_fnc_randomInt; + private _convoyInfo = [_convoyType] call MAZ_EZM_fnc_getConvoyInfo; + + private _vehTypes = _convoyInfo select 0; + private _startPos = _convoyInfo select 1; + private _startLocations = _convoyInfo select 2; + private _startDirs = _convoyInfo select 3; + private _wayPoints = _convoyInfo select 4; + private _endPos = _convoyInfo select 5; + private _markerLocations = _convoyInfo select 6; + private _convoySide = _convoyInfo select 7; + + private _convoyGroup = createGroup _convoySide; + private _vehicles = []; + for "_i" from 0 to (count _vehTypes-1) do { + private _vehType = _vehTypes select _i; + private _vehPos = _startLocations select _i; + private _vehDir = _startDirs select _i; + private _return = [_vehType,_vehPos,_vehDir,_convoyGroup] call MAZ_EZM_fnc_createConvoyVehicle; + _vehicles pushBack _return; + }; + + private _leader = effectiveCommander (_vehicles select 0); + _convoyGroup selectLeader _leader; + _leader setSkill ["courage",1]; + _leader setSkill ["commanding",1]; + + _convoyGroup setCombatMode "YELLOW"; + _convoyGroup setBehaviour "SAFE"; + _convoyGroup setFormation "COLUMN"; + _convoyGroup setSpeedMode "LIMITED"; + + [[false,true]] remoteExec ['enableEnvironment',2]; + + { + private _waypoint = _convoyGroup addWaypoint [_x, 0]; + _waypoint setWaypointType "MOVE"; + _waypoint setWaypointCompletionRadius 35; + _waypoint setWaypointCombatMode "YELLOW"; + _waypoint setWaypointBehaviour "SAFE"; + _waypoint setWaypointFormation "COLUMN"; + _waypoint setWaypointSpeed "LIMITED"; + } forEach _wayPoints; + private _numWaypoints = count waypoints _convoyGroup; + + private _cargoVehicles = []; + { + _x allowCrewInImmobile true; + [_x,2] remoteExec ["lock"]; + _x limitSpeed 57; + (driver _x) limitSpeed 57; + _x forceSpeed 15.84; + _x setConvoySeparation 90; + private _driverVeh = driver _x; + _driverVeh allowFleeing 0; + _driverVeh disableAI "AUTOCOMBAT"; + _driverVeh disableAI "TARGET"; + _driverVeh disableAI "MINEDETECTION"; + if(typeOf _x isKindOf "Truck_F") then { + _cargoVehicles pushBack _x; + }; + }forEach _vehicles; + + { + _x limitSpeed 57; + _x disableAI "MINEDETECTION"; + }forEach (units _convoyGroup); + + private _markers = []; + + private _markerColor = "ColorEAST"; + switch (_convoySide) do { + case east: {_markerColor = "ColorEAST";}; + case independent: {_markerColor = "ColorGUER";}; + }; + private _convoyStartMarker = createMarker ["convoyStart_MAZ",_startPos]; + _convoyStartMarker setMarkerType "mil_marker"; + _convoyStartMarker setMarkerColor _markerColor; + _convoyStartMarker setMarkerText "Convoy Start"; + _markers pushBack _convoyStartMarker; + + { + private _checkpointMarker = createMarker [format ["checkPointMarker_MAZ_%1",_forEachIndex],_x]; + _checkpointMarker setMarkerType "mil_marker"; + _checkpointMarker setMarkerColor _markerColor; + _checkpointMarker setMarkerText format ["Checkpoint #%1",_forEachIndex+1]; + _markers pushBack _checkpointMarker; + }forEach _markerLocations; + + ["TaskAssignedIcon",["A3\UI_F\Data\Map\Markers\Military\warning_CA.paa","A Convoy is Moving"]] remoteExec ['BIS_fnc_showNotification']; + + [_vehicles] spawn { + params ["_vehicles"]; + while {({alive _x} count _vehicles) != 0} do { + { + _x limitSpeed 57; + (driver _x) limitSpeed 57; + _x forceSpeed 15.84; + _x setConvoySeparation 90; + }forEach _vehicles; + sleep 1; + }; + }; + + [_markers,_vehicles] spawn { + params ["_markers","_vehicles"]; + for "_i" from 0 to (count _markers - 2) do { + waitUntil { + ( + ({ + (_x distance (getMarkerPos (_markers select (_i + 1)))) < 30 + } count _vehicles) != 0 + ) + }; + ["TaskAssignedIcon",["A3\UI_F\Data\Map\Markers\Military\warning_CA.paa",format ["The Convoy Has Reached Checkpoint %1",_i + 1]]] remoteExec ['BIS_fnc_showNotification']; + }; + }; + + [_convoyGroup,_numWaypoints,_vehicles,_markers,_cargoVehicles] spawn { + params ["_convoyGroup","_numWaypoints","_vehicles","_markers","_trucks"]; + private _soldiersArray = units _convoyGroup; + waitUntil {currentWaypoint _convoyGroup >= _numWaypoints || (({alive _x} count _soldiersArray) == 0) || (({alive _x} count _trucks) == 0)}; + if(({alive _x} count _soldiersArray) == 0) exitWith { + comment "Success"; + ["TaskSucceeded",["","Convoy Stopped!"]] remoteExec ['BIS_fnc_showNotification']; + { + deleteMarker _x; + }forEach _markers; + sleep 90; + waitUntil {{isPlayer _x} count ((_vehicles select 0) nearEntities ["Man",1600]) == 0}; + { + deleteVehicle _x; + } forEach _vehicles + _soldiersArray; + sleep 600; + if(MAZ_EZM_autoConvoy) then { + [] call MAZ_EZM_fnc_newConvoyMission; + }; + }; + if(currentWaypoint _convoyGroup >= _numWaypoints) exitWith { + comment "Failure"; + ["TaskFailed",["","Convoy Reached Their End"]] remoteExec ['BIS_fnc_showNotification']; + { + deleteMarker _x; + }forEach _markers; + { + deleteVehicle _x; + } forEach _vehicles + _soldiersArray; + sleep 600; + if(MAZ_EZM_autoConvoy) then { + [] call MAZ_EZM_fnc_newConvoyMission; + }; + }; + if(({alive _x} count _trucks) == 0) exitWith { + comment "Failure"; + ["TaskFailed",["","Convoy Cargo Destroyed!"]] remoteExec ['BIS_fnc_showNotification']; + { + deleteMarker _x; + }forEach _markers; + sleep 90; + waitUntil {{isPlayer _x} count ((_vehicles select 0) nearEntities ["Man",1600]) == 0}; + { + deleteVehicle _x; + } forEach _vehicles + _soldiersArray; + sleep 600; + if(MAZ_EZM_autoConvoy) then { + [] call MAZ_EZM_fnc_newConvoyMission; + }; + }; + }; + }; + + MAZ_EZM_fnc_toggleRandomHelicrashModule = { + if(missionNamespace getVariable ["MAZ_EZM_autoHelicrash",false]) then { + missionNamespace setVariable ["MAZ_EZM_autoHelicrash",false,true]; + ["Automated Helicopter Crashes disabled.","addItemOk"] call MAZ_EZM_fnc_systemMessage; + } else { + missionNamespace setVariable ["MAZ_EZM_autoHelicrash",true,true]; + ["Automated Helicopter Crashes enabled.","addItemOk"] call MAZ_EZM_fnc_systemMessage; + [] call MAZ_EZM_fnc_newHelicrashMission; + }; + }; + + MAZ_EZM_fnc_toggleRandomConvoyModule = { + if(worldName != "Altis") exitWith {["Currently only configured for Altis! You can create your own by contacting Expung3d!","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; + if(missionNamespace getVariable ["MAZ_EZM_autoConvoy",false]) then { + missionNamespace setVariable ["MAZ_EZM_autoConvoy",false,true]; + ["Automated Convoy Missions disabled.","addItemOk"] call MAZ_EZM_fnc_systemMessage; + } else { + missionNamespace setVariable ["MAZ_EZM_autoConvoy",true,true]; + ["Automated Convoy Missions enabled.","addItemOk"] call MAZ_EZM_fnc_systemMessage; + [] call MAZ_EZM_fnc_newConvoyMission; + }; + }; + + MAZ_EZM_fnc_createGarrisonTownDialog = { + ["Garrison Town",[ + [ + "EDIT", + ["Town Name:","Enter a town name, like 'Kavala' or 'Athira'."], + ["None"] + ], + [ + "SIDES", + "Side of Garrison:", + east + ], + [ + "SLIDER", + "Percent of Garrison:", + [0.1,0.4,0.2,objNull,[0,0,0,0],true] + ], + [ + "SLIDER", + "Number of Patrols", + [2,4,3] + ], + [ + "TOOLBOX", + "Fortify Houses?:", + [ + true, + ["Don't Fortify","Fortify"] + ] + ], + [ + "TOOLBOX", + ["Notify Players?:","Shows players a task popup after the town has been garrisoned."], + [ + true, + ["Don't Notify","Notify"] + ] + ] + ],{ + params ["_values","_args","_display"]; + _values params ["_town","_side","_garrPercent","_patrols","_fortify","_notify"]; + private _locationNames = []; + { + private _lct = _forEachIndex; + { + _locationNames pushBack (toUpper (text _x)); + } forEach nearestLocations [getArray (configFile >> "CfgWorlds" >> worldName >> "centerPosition"), [_x], worldSize]; + } forEach ["NameVillage", "NameCity", "NameCityCapital"]; + if(!(toUpper _town in _locationNames) && ((toUpper _town) != "NONE" && (toUpper _town) != "")) exitWith {["No such town!","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; + [_town,_sideNew,_garrPercent,_patrols,_fortify,_notify] spawn MAZ_EZM_fnc_garrisonTown; + _display closeDisplay 1; + },{ + params ["_values","_args","_display"]; + _display closeDisplay 2; + },[]] call MAZ_EZM_fnc_createDialog; + }; + + MAZ_EZM_fnc_garrisonGroup = { + params [ + ["_group",grpNull,[grpNull]], + ["_fortify",false,[false]] + ]; + if(isNull _group) exitWith {}; + + private _leader = leader _group; + private _previousBehaviour = behaviour _leader; + + private _arrayShuffle = { + private _array = _this select 0; + private _count = count _array; + private _arrayN = []; + private _arrayT = []; + private _c = 0; + private _r = 0; + + while {_c < _count} do + { + while {_r in _arrayT} do + {_r = floor (random _count); + }; + _arrayT pushBack _r; + _arrayN set [_c, _array select _r]; + _c = _c + 1; + }; + + _arrayN + }; + + private _fnc_getHousePositions = { + params ["_index","_houses"]; + private _nearestBuilding = _houses select _index; + if(isNil "_nearestBuilding") exitWith {}; + private _positionsInBuilding = [_nearestBuilding] call BIS_fnc_buildingPositions; + _positionsInBuilding = [_positionsInBuilding] call _arrayShuffle; + _positionsInBuilding + }; + + private _fnc_orderToPositions = { + params ["_units","_positions","_houseIndex"]; + private _newUnits = _units; + { + private _unit = objNull; + if((count _units) -1 >= _forEachIndex) then { + private _unit = _units select _forEachIndex; + _unit setPos _x; + _newUnits = _newUnits - [_unit]; + _unit forceSpeed 0; + }; + }forEach _positions; + if((count _buildingPoses) < (count _units)) then { + _houseIndex = _houseIndex + 1; + if(_fortify) then { + private _house = _nearestBuildings # _houseIndex; + [_house,[],false] call MAZ_EZM_fnc_createBuildingInterior; + }; + _buildingPoses = [_houseIndex,_nearestBuildings] call _fnc_getHousePositions; + [_newUnits,_buildingPoses,_houseIndex] call _fnc_orderToPositions; + }; + }; + + { + deleteWaypoint [_group,_forEachIndex]; + }forEach (waypoints _group); + + private _nearestBuildings = [getPos _leader,50] call MAZ_EZM_fnc_getGarrisonBuildings; + + if (_nearestBuildings isEqualTo []) exitWith { false }; + _group setbehaviour "AWARE"; + + private _houseIndex = 0; + private _buildingPoses = [_houseIndex,_nearestBuildings] call _fnc_getHousePositions; + + private _units = (units _group) select {!isNull _x && alive _x}; + + [_units,_buildingPoses,_houseIndex] call _fnc_orderToPositions; + + true + }; + + MAZ_EZM_fnc_getGarrisonBuildings = { + params ["_pos","_radius"]; + private _buildings = nearestTerrainObjects [_pos,["BUILDING","HOUSE"],_radius]; + private _buildingBlacklist = ["Land_Metal_Shed_F","Land_i_Addon_04_V1_F","Land_i_Addon_03_V1_F","Land_i_Addon_01_V1_F","Land_Slum_House03_F","Land_Slum_House01_F","Land_i_Garage_V1_F","Land_u_Addon_01_V1_F","Land_i_Addon_03mid_V1_F"]; + _buildings = _buildings select { + !(_x isKindOf "Church") && + !(_x isKindOf "Cemetery_base_F") && + !("grave" in toLower (str _x)) && + !("chapel" in (toLower (typeOf _x))) && + !(typeOf _x in _buildingBlacklist) && + (alive _x || damage _x < 1) + }; + _buildings; + }; + + MAZ_EZM_fnc_garrisonTown = { + params [ + ["_town","NONE",[""]], + ["_side",east,[east]], + ["_percentGarrison",0.2,[0.2]], + ["_numOfPatrols",selectRandom [2,3,4],[3]], + ["_fortify",true,[false]], + ["_notify",false,[true]] + ]; + if(_side isEqualTo civilian) exitWith {false}; + + private ["_position","_sizeTown"]; + _town = toUpper _town; + private _locations = []; + { + { + _locations pushBack [toUpper (text _x), locationPosition _x,size _x]; + } forEach nearestLocations [getArray (configFile >> "CfgWorlds" >> worldName >> "centerPosition"), [_x], worldSize]; + } forEach ["NameVillage", "NameCity", "NameCityCapital"]; + if(_town == "NONE" || _town == "") then { + _position = [true] call MAZ_EZM_fnc_getScreenPosition; + _sizeTown = 200; + } else { + private _index = _locations findIf {(_x select 0) == _town}; + _townData = _locations select _index; + _town = _townData select 0; + _position = _townData select 1; + (_townData select 2) params ["_x","_y"]; + _sizeTown = (_x max _y) * 0.75; + }; + private _townAlert = format ["%1 IS UNDER ATTACK",toUpper _town]; + if(toUpper _town == "NONE") then { + _townAlert = "A TOWN IS UNDER ATTACK"; + }; + + private _unitTypes = [_side] call MAZ_EZM_fnc_getAutoMissionUnitTypes; + private _buildings = [_position,_sizeTown] call MAZ_EZM_fnc_getGarrisonBuildings; + private _maxUnits = 200; + private _units = []; + { + if(count _units >= _maxUnits) exitWith {}; + if((random 1) < _percentGarrison) then { + private _randomNumOfUnits = [2,5] call BIS_fnc_randomInt; + if(_fortify) then { + [_x,[],false] call MAZ_EZM_fnc_createBuildingInterior; + }; + private _grp = createGroup [_side,true]; + for "_i" from 1 to _randomNumOfUnits do { + private _unitType = selectRandom _unitTypes; + private _unit = _grp createUnit [_unitType,_x,[],0,"CAN_COLLIDE"]; + _unit setSkill 0.4; + _unit setUnitPos MAZ_EZM_stanceForAI; + _units pushBack _unit; + }; + [_grp,_fortify] call MAZ_EZM_fnc_garrisonGroup; + }; + }forEach _buildings; + + for "_i" from 0 to _numOfPatrols do { + private _randPos = [[[_position,150]]] call BIS_fnc_randomPos; + private _nearRoads = _randPos nearRoads 150; + private _nearRoad = getPos (selectRandom _nearRoads); + private _randomNumOfUnits = [4,6] call BIS_fnc_randomInt; + + private _grp = createGroup [_side,true]; + for "_j" from 1 to _randomNumOfUnits do { + private _unitType = selectRandom _unitTypes; + private _unit = _grp createUnit [_unitType, _nearRoad,[],0,"CAN_COLLIDE"]; + _unit setSkill 0.4; + _unit setUnitPos MAZ_EZM_stanceForAI; + _units pushBack _unit; + }; + + for "_j" from 0 to 5 do { + private _waypoint = _grp addWaypoint [getPos (selectRandom _nearRoads),0]; + _waypoint setWaypointType "MOVE"; + _waypoint setWaypointBehaviour "SAFE"; + _waypoint setWaypointSpeed "LIMITED"; + }; + private _waypoint = _grp addWaypoint [_nearRoad,0]; + _waypoint setWaypointType "CYCLE"; + _waypoint setWaypointBehaviour "SAFE"; + _waypoint setWaypointSpeed "LIMITED"; + }; + + [_units] call MAZ_EZM_fnc_addObjectToInterface; + + if(_notify) then { + ["TaskAssignedIcon",["A3\UI_F\Data\Map\Markers\Military\warning_CA.paa",_townAlert]] remoteExec ['BIS_fnc_showNotification']; + }; + + true + }; + + comment "Building Interiors"; + + MAZ_EZM_fnc_resetInteriorsData = { + private _cargoTowers = ["Land_Cargo_Tower_V1_No1_F","Land_Cargo_Tower_V1_No2_F","Land_Cargo_Tower_V1_No3_F","Land_Cargo_Tower_V1_No4_F","Land_Cargo_Tower_V1_No5_F","Land_Cargo_Tower_V1_No6_F","Land_Cargo_Tower_V1_No7_F","Land_Cargo_Tower_V3_F","Land_Cargo_Tower_V1_F","Land_Cargo_Tower_V2_F","Land_Cargo_Tower_V4_F"]; + private _cargoPost = ["Land_Cargo_Patrol_V3_F","Land_Cargo_Patrol_V1_F","Land_Cargo_Patrol_V2_F","Land_Cargo_Patrol_V4_F"]; + private _cargoHQ = ["Land_Cargo_HQ_V3_F","Land_Cargo_HQ_V1_F","Land_Cargo_HQ_V2_F","Land_Cargo_HQ_V4_F","Land_Medevac_HQ_V1_F"]; + private _cargoHouse = ["Land_Cargo_House_V3_F","Land_Cargo_House_V1_F","Land_Cargo_House_V2_F","Land_Cargo_House_V4_F","Land_Medevac_house_V1_F"]; + + private _newData = []; + { + _newData pushBack [_x,[]]; + }forEach [_cargoTowers,_cargoPost,_cargoHQ,_cargoHouse]; + profileNamespace setVariable ["MAZ_EZM_BuildingCompositionData",_newData]; + saveProfileNamespace; + }; + + MAZ_EZM_fnc_loadDefaultInteriorsData = { + private _compData = []; + + comment 'Interior Exports by Expung3d'; + + comment 'Workshop'; + _compData pushBack ["Land_CarService_F",[["Land_Metal_rack_Tall_F",[-5.00597,2.78601,0.49079],[[-0.999993,-0.00366002,0],[0,0,1]],true,[],1],["Land_Metal_rack_Tall_F",[-4.99975,2.02564,0.496266],[[-0.999993,-0.00366002,0],[0,0,1]],true,[],1],["Land_CanisterFuel_Red_F",[-4.93932,0.361576,0.77638],[[0,1,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\canisterfuel_red_co.paa"],1],["a3\structures_f_enoch\furniture\cases\metalcrate\metalcrate.p3d",[-4.91418,-3.43335,0.491112],[[0,1,0],[0,0,1]],true,[],1],["Land_ToolTrolley_02_F",[-4.88146,0.987064,0.97512],[[0.00868277,-0.999962,0],[0,0,1]],true,[],1],["Land_ChairPlastic_F",[0.929208,1.85999,1.01221],[[0.847718,0.530447,0],[0,0,1]],true,[],1],["Land_Garbage_square3_F",[3.6648,-3.98327,0.549351],[[0,1,0],[0,0,1]],true,[],1],["Land_Garbage_square3_F",[3.54041,2.64197,0.558226],[[0,1,0],[0,0,1]],true,[],1],["Land_Garbage_square3_F",[3.89161,-1.6499,0.553905],[[0,1,0],[0,0,1]],true,[],1],["Land_MetalBarrel_empty_F",[-0.423697,-4.76599,0.913838],[[-0.779734,0.626111,0],[0,0,1]],true,[],1],["Land_Garbage_square5_F",[3.00904,-1.20935,0.55706],[[0,1,0],[0,0,1]],true,[],1],["Land_Garbage_square5_F",[2.55702,3.08289,0.548968],[[0,1,0],[0,0,1]],true,[],1],["Land_CratesPlastic_F",[0.776254,-3.01489,0.744467],[[0,1,0],[0,0,1]],true,[],1],["Land_BarrelTrash_grey_F",[4.83753,4.88611,0.899024],[[0,1,0],[0,0,1]],true,[],1],["Land_Metal_rack_F",[-5.03136,-4.36609,1.37969],[[-0.999959,0.00904184,0],[0,0,1]],true,[],1],["TyreBarrier_01_black_F",[-0.400382,0.757572,0.376711],[[0.737403,0.675453,0],[0,0,1]],true,[],1],["TyreBarrier_01_black_F",[-0.322012,1.49146,0.814548],[[-0.874001,-0.485924,0],[0,0,1]],true,[],1],["LiquidSpraySystem_01_Extended_F",[-0.13793,-1.88427,3.23703],[[0,1,0],[0,0,1]],true,[],1],["SignAd_SponsorS_Redstone_F",[-5.21923,-0.934079,1.11347],[[-0.999988,0.00483481,0],[0,0,1]],true,["a3\structures_f_kart\signs\companies\data\ad_redstone_ca.paa"],1],["Land_Workbench_01_F",[4.77772,3.19617,0.985576],[[0.999824,-0.0187601,0],[0,0,1]],true,[],1],["Land_ShelvesMetal_F",[4.1161,-3.15905,0.493027],[[0.999912,0.0132935,0],[0,0,1]],true,[],1],["Land_ShelvesMetal_F",[5.1172,-2.12988,0.50117],[[0,1,0],[0,0,1]],true,[],1],["Land_ShelvesMetal_F",[4.11952,0.888431,0.488931],[[0.999985,0.0054065,0],[0,0,1]],true,[],1],["Land_ShelvesMetal_F",[5.11842,-0.105832,0.501627],[[0,1,0],[0,0,1]],true,[],1],["Land_ShelvesMetal_F",[5.11439,-4.15637,0.497937],[[0,1,0],[0,0,1]],true,[],1],["Tire_Van_02_F",[-4.83031,3.21057,3.21367],[[0.536609,-0.00907365,-0.843782],[-0.00486533,-0.999959,0.00765897]],true,[],1],["Tire_Van_02_F",[-4.85277,3.47876,3.18321],[[0.993628,-0.00907289,-0.112345],[-0.00901504,-0.999959,0.00102295]],true,[],1],["Tire_Van_02_F",[-4.80871,2.3833,3.19477],[[0,-0.00907486,0.999959],[0,-0.999959,-0.00907486]],true,[],1],["Tire_Van_02_F",[-4.83581,2.93433,3.19655],[[0.993628,-0.00907289,-0.112345],[-0.00901504,-0.999959,0.00102295]],true,[],1],["Tire_Van_02_F",[-4.82799,2.66272,3.18409],[[0.778152,-0.00907174,0.628011],[-0.00706063,-0.999959,-0.00569595]],true,[],1],["Land_Net_Fence_pole_F",[-4.37267,1.51941,3.08358],[[0,1,0],[0.679465,0,0.733708]],true,[],1],["Land_Net_Fence_pole_F",[-4.37585,3.72571,3.06572],[[0,1,0],[0.679465,0,0.733708]],true,[],1],["Land_Net_Fence_pole_F",[-4.64684,2.62744,2.84182],[[-0.999997,-0.00245696,1.93302e-05],[-0.00245683,0.999782,-0.020746]],true,[],1],["Land_CinderBlock_01_F",[-5.32543,1.51599,2.21026],[[0.999979,-1.63852e-05,0.00643046],[2.60512e-05,0.999999,-0.00150308]],true,[],1],["Land_CinderBlock_01_F",[-5.32738,3.72937,2.2017],[[0.999826,-1.47041e-05,0.0186536],[4.27405e-05,0.999999,-0.0015026]],true,[],1],["Land_CanisterOil_F",[-0.723013,4.8385,1.37999],[[-0.137114,0.990555,0],[0,0,1]],true,[],1],["Land_Metal_wooden_rack_F",[1.11915,4.85047,1.49839],[[0.00468681,0.999989,0],[0,0,1]],true,[],1],["Land_Metal_wooden_rack_F",[2.26319,4.86573,1.49638],[[-0.00590351,0.999983,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\decoration\wallboards\wall_board_02\wall_board_02.p3d",[0.319833,-4.69067,0.530107],[[0.999899,0.0142063,0],[0,0,1]],true,[],1],["Land_ToolTrolley_01_F",[-0.363028,-3.81775,0.990146],[[0,1,0],[0,0,1]],true,[],1],["Land_CashDesk_F",[1.14295,0.91785,0.49612],[[0.0253488,0.999679,0],[0,0,1]],true,[],1],["UserTexture1m_F",[2.38795,-4.60168,0.517527],[[0.0225425,0.0169456,-0.999602],[0.980365,-0.196298,0.018781]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["UserTexture1m_F",[3.89247,-4.68347,0.518385],[[0.0238528,0.01478,-0.999606],[0.999633,-0.0131822,0.0236585]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["a3\structures_f_enoch\furniture\various\workbench.p3d",[-2.69628,4.7312,0.491035],[[0.999997,0.00228515,0],[0,0,1]],true,[],1],["Land_WallSign_01_chalkboard_F",[-5.51513,-4.53711,1.95268],[[0.999999,0.00108209,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\n2\wallsign_garage_n2_co.paa","a3\missions_f_orange\data\img\orange_compositions\n2\wallsign_garage_n2_co.paa"],1],["Land_WallSign_01_chalkboard_F",[5.17286,3.21094,1.83968],[[-0.999999,-0.00153619,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\n2\wallsign_01_f_chalkboard_tools_co.paa","a3\missions_f_orange\data\img\orange_compositions\n2\wallsign_01_f_chalkboard_tools_co.paa"],1],["Land_WallSign_01_chalkboard_F",[-3.86413,5.16394,1.87068],[[-0.00167545,-0.999999,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\n2\wallsign_01_f_chalkboard_tools_co.paa","a3\missions_f_orange\data\img\orange_compositions\n2\wallsign_01_f_chalkboard_tools_co.paa"],1],["Land_Bucket_painted_F",[-4.89391,4.9513,1.40132],[[0,1,0],[0,0,1]],true,[],1],["Land_Icebox_F",[0.793466,-1.69543,1.1204],[[-0.999948,-0.0101591,0],[0,0,1]],true,[],1],["Land_PaperBox_01_small_ransacked_brown_F",[1.03736,-0.103268,0.714837],[[-0.481617,0.876382,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_dmg_co.paa"],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[2.55518,-0.910641,4.00329],[[-0.999651,-0.0264161,0.000708417],[-0.000290733,0.0378005,0.999285]],true,[],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[2.53614,3.10938,3.83106],[[-0.999651,-0.0264109,0.000883092],[-0.000290733,0.044408,0.999013]],true,[],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[-2.5321,-0.956295,4.00839],[[-0.999651,-0.0264161,0.000708417],[-0.000290733,0.0378005,0.999285]],true,[],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[2.53761,-3.94214,4.14125],[[-0.999651,-0.0264127,0.000826552],[-0.000290733,0.0422693,0.999106]],true,[],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[-2.54967,-3.98779,4.14635],[[-0.999651,-0.0264127,0.000826552],[-0.000290733,0.0422693,0.999106]],true,[],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[-2.55114,3.06372,3.83616],[[-0.999651,-0.0264109,0.000883092],[-0.000290733,0.044408,0.999013]],true,[],1],["Land_PlasticBucket_01_open_F",[1.75392,1.06812,0.718236],[[0.613049,-0.513975,0],[0,0,0.8]],true,[],0.8],["Land_GasTank_01_khaki_F",[4.85377,1.60193,0.832414],[[0,1,0],[0,0,1]],true,[],1],["Land_CanisterPlastic_F",[0.668832,4.16089,0.663823],[[0.00218592,-0.00258542,0.899994],[0.683753,0.58522,2.04593e-05]],true,["a3\structures_f\data\accessories\accessories02_co.paa"],0.9]]]; + _compData pushBack ["Land_CarService_F",[["Land_CanisterFuel_Red_F",[-0.951529,4.75452,0.574481],[[0.0142938,-0.00136827,-0.999897],[-0.999898,-1.2724e-06,-0.0142938]],true,["a3\props_f_orange\humanitarian\supplies\data\canisterfuel_red_co.paa"],1],["Land_CanisterFuel_Red_F",[-0.500357,4.73499,0.780432],[[0.98354,0.18069,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\canisterfuel_red_co.paa"],1],["Land_Wrench_F",[-4.35021,4.59583,1.25527],[[0.456403,0.889773,0],[0,0,1]],true,[],1],["Land_Wrench_F",[-4.1942,4.7323,1.25527],[[-0.289761,0.957099,0],[0,0,1]],true,[],1],["Land_ToolTrolley_02_F",[-4.85888,-2.44568,0.965935],[[0.0179059,-0.99984,0],[0,0,1]],true,[],1],["Land_ChairPlastic_F",[4.73292,2.96473,0.987281],[[0.751143,-0.660139,0],[0,0,1]],true,[],1],["Land_ChairPlastic_F",[-4.78417,-4.10412,0.980102],[[-0.156072,0.987746,0],[0,0,1]],true,[],1],["Land_Garbage_square3_F",[1.67054,-3.40002,0.549813],[[0.0558978,-0.998436,0],[0,0,1]],true,[],1],["Land_Garbage_square3_F",[1.64088,1.48694,0.546564],[[0.0558978,-0.998436,0],[0,0,1]],true,[],1],["Land_MetalBarrel_empty_F",[-4.83813,-4.82873,0.915646],[[-0.676531,-0.736415,0],[0,0,1]],true,[],1],["Land_CratesShabby_F",[4.76026,-4.16369,1.26284],[[0,1,0],[0,0,1]],true,[],1],["Land_Garbage_square5_F",[2.88941,-1.51721,0.531844],[[0,1,0],[0,0,1]],true,[],1],["Land_CratesPlastic_F",[0.796884,-0.968136,1.19447],[[0.799891,0.013222,0],[0,0,0.8]],true,[],0.8],["Land_BarrelTrash_grey_F",[4.81764,-4.9198,0.902371],[[0,1,0],[0,0,1]],true,[],1],["Land_Metal_rack_F",[-5.02379,-1.27673,1.39031],[[-0.999974,0.00724327,0],[0,0,1]],true,[],1],["Land_Metal_rack_F",[-5.00719,2.08704,1.39502],[[-0.999974,0.00724327,0],[0,0,1]],true,[],1],["Land_Metal_rack_F",[-5.01989,-0.149289,1.39601],[[-0.999974,0.00724327,0],[0,0,1]],true,[],1],["Land_Metal_rack_F",[-5.0111,0.959598,1.39917],[[-0.999974,0.00724327,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\decoration\wallboards\wall_board\wall_board.p3d",[2.11915,5.18445,0.530041],[[-0.000628082,-1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\school_clock.p3d",[0.321786,-4.68884,2.52327],[[-0.999797,0.0201304,0],[0,0,1]],true,[],1],["LiquidSpraySystem_01_Extended_F",[-4.90038,3.61878,3.00726],[[0,1,0],[0,0,1]],true,[],1],["SignAd_SponsorS_Fuel_white_F",[5.20789,-4.35998,0.966469],[[0.999994,0.00331607,0],[0,0,1]],true,["a3\structures_f_kart\signs\companies\data\ad_fuel1_ca.paa"],1],["SignAd_SponsorS_Fuel_green_F",[-0.00218821,4.33704,1.08847],[[0.999985,-0.0055154,0],[0,0,1]],true,["a3\structures_f_kart\signs\companies\data\ad_fuel2_ca.paa"],1],["a3\structures_f_enoch\furniture\cases\locker\locker_open_v2.p3d",[0.553964,4.70667,0.491493],[[-0.999976,-0.00693107,0],[0,0,1]],true,[],1],["Land_ShelvesMetal_F",[4.14662,-1.54284,0.479052],[[0.999852,-0.0172171,0],[0,0,1]],true,[],1],["Land_ShelvesMetal_F",[5.12879,-2.56799,0.479197],[[0,1,0],[0,0,1]],true,[],1],["Land_ShelvesMetal_F",[5.13282,-0.549923,0.48016],[[0,1,0],[0,0,1]],true,[],1],["Land_ShelvesWooden_F",[4.71974,4.59729,1.00574],[[0,1,0],[0,0,1]],true,[],1],["Land_PaperBox_01_small_destroyed_brown_F",[0.752817,-1.14514,0.727751],[[0,1,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_destroyed_co.paa"],1],["Land_PaperBox_01_small_destroyed_brown_F",[0.74183,-0.247921,1.23393],[[0,1,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_destroyed_co.paa"],1],["Land_PaperBox_01_small_destroyed_brown_F",[0.802621,-2.1925,0.72399],[[0.999972,-0.00745251,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_destroyed_co.paa"],1],["Tire_Van_02_F",[-4.81811,-0.873898,3.36071],[[0,-0.00907486,0.999959],[0,-0.999959,-0.00907486]],true,[],1],["Tire_Van_02_F",[-4.80749,-1.41833,3.36359],[[0,-0.00907486,0.999959],[0,-0.999959,-0.00907486]],true,[],1],["Tire_Van_02_F",[-4.838,-1.14196,3.36696],[[0.778152,-0.00907174,0.628011],[-0.00706063,-0.999959,-0.00569595]],true,[],1],["Land_Net_Fence_pole_F",[-4.38207,-1.73767,3.24951],[[0,1,0],[0.679465,0,0.733708]],true,[],1],["Land_Net_Fence_pole_F",[-4.65624,-0.629757,3.00776],[[-0.999997,-0.00245696,1.93302e-05],[-0.00245683,0.999782,-0.020746]],true,[],1],["Land_Net_Fence_pole_F",[-4.38524,0.468387,3.23165],[[0,1,0],[0.679465,0,0.733708]],true,[],1],["Land_CinderBlock_01_F",[-5.32836,-1.73791,2.41153],[[0.999979,-1.63852e-05,0.00643046],[2.60512e-05,0.999999,-0.00150308]],true,[],1],["Land_CinderBlock_01_F",[-5.33031,0.475467,2.40297],[[0.999826,-1.47041e-05,0.0186536],[4.27405e-05,0.999999,-0.0015026]],true,[],1],["Land_WaterCooler_01_old_F",[0.537118,-3.39221,1.24182],[[-1,1.74846e-07,0],[0,0,1]],true,["a3\structures_f_bootcamp\items\electronics\data\watercooler_01_old_co.paa"],1],["Land_ToolTrolley_01_F",[-0.412833,-3.95935,0.981005],[[0,1,0],[0,0,1]],true,[],1],["Land_CashDesk_F",[0.712289,-2.36975,1.5002],[[0.999997,-0.00248781,-1.57194e-07],[-1.54447e-07,1.10467e-06,-1]],true,[],1],["Land_CashDesk_F",[4.35536,1.60608,0.499295],[[0,1,0],[0,0,1]],true,[],1],["Land_CashDesk_F",[0.71705,-0.724484,1.50794],[[0.999997,-0.00248781,-1.57194e-07],[-1.54447e-07,1.10467e-06,-1]],true,[],1],["UserTexture1m_F",[3.96559,-4.58142,0.530041],[[-0.0133205,0.0147833,-0.999802],[0.999822,-0.0131811,-0.0135156]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["UserTexture1m_F",[2.46107,-4.49963,0.519699],[[-0.0103826,0.0169762,-0.999802],[0.980453,-0.196287,-0.0135146]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["a3\structures_f_enoch\furniture\various\workbench.p3d",[-2.62792,4.75086,0.473164],[[0.999992,-0.00404914,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v2.p3d",[0.562143,4.30457,0.488378],[[-1,0.000374969,0],[0,0,1]],true,[],1],["Land_WallSign_01_chalkboard_F",[-3.49108,5.17493,1.86168],[[-0.00167545,-0.999999,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\n2\wallsign_01_f_chalkboard_tools_co.paa","a3\missions_f_orange\data\img\orange_compositions\n2\wallsign_01_f_chalkboard_tools_co.paa"],1],["Land_WallSign_01_chalkboard_F",[-1.69213,5.17102,1.86068],[[-0.00167545,-0.999999,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\n2\wallsign_01_f_chalkboard_tools_co.paa","a3\missions_f_orange\data\img\orange_compositions\n2\wallsign_01_f_chalkboard_tools_co.paa"],1],["Land_Icebox_F",[2.55457,1.51917,1.12088],[[0,1,0],[0,0,1]],true,[],1],["Land_PaperBox_01_small_ransacked_brown_F",[4.18788,0.560916,0.712233],[[0.48853,0.872547,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_dmg_co.paa"],1],["Land_PaperBox_01_small_ransacked_brown_F",[4.30982,-2.46008,0.706675],[[-0.85115,-0.524922,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_dmg_co.paa"],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[-2.51012,-4.17761,4.1326],[[-0.999651,-0.0264127,0.000826552],[-0.000290733,0.0422693,0.999106]],true,[],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[2.75147,-4.13733,4.14074],[[-0.999651,-0.0264127,0.000826552],[-0.000290733,0.0422693,0.999106]],true,[],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[-2.51159,1.81507,3.86781],[[-0.999651,-0.0264109,0.000883092],[-0.000290733,0.044408,0.999013]],true,[],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[2.76905,-1.34192,4.02551],[[-0.999651,-0.0264161,0.000708417],[-0.000290733,0.0378005,0.999285]],true,[],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[-2.49254,-1.3822,4.01738],[[-0.999651,-0.0264161,0.000708417],[-0.000290733,0.0378005,0.999285]],true,[],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[2.75001,1.85535,3.87594],[[-0.999651,-0.0264109,0.000883092],[-0.000290733,0.044408,0.999013]],true,[],1]]]; + _compData pushBack ["Land_CarService_F",[["Land_Metal_rack_Tall_F",[4.95045,-1.30481,0.493],[[0.999958,0.00921514,0],[0,0,1]],true,[],1],["Land_Metal_rack_Tall_F",[-5.00072,-4.63952,0.49265],[[-0.999993,0.0037009,0],[0,0,1]],true,[],1],["Land_Metal_rack_Tall_F",[4.94276,-0.545773,0.492112],[[0.999958,0.00920822,0],[0,0,1]],true,[],1],["Land_Metal_rack_Tall_F",[-5.00548,-3.87219,0.49652],[[-0.999993,0.0037009,0],[0,0,1]],true,[],1],["Land_Metal_rack_Tall_F",[4.95716,-2.0653,0.499239],[[0.999958,0.00920822,0],[0,0,1]],true,[],1],["Land_CanisterFuel_Red_F",[4.69178,0.807987,0.773297],[[-0.251678,-0.967811,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\canisterfuel_red_co.paa"],1],["Land_CanisterFuel_Red_F",[4.50501,0.384159,0.577922],[[0.0243331,-0.000291436,-0.999704],[0,-1,0.000291522]],true,["a3\props_f_orange\humanitarian\supplies\data\canisterfuel_red_co.paa"],1],["Land_Wrench_F",[0.815927,1.54212,1.28188],[[0.819255,-0.57343,0],[0,0,1]],true,[],1],["Land_Wrench_F",[0.707407,1.2284,1.28188],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\cases\metalcrate\metalcrate.p3d",[-4.84423,-2.45544,0.492111],[[0,1,0],[0,0,1]],true,[],1],["Land_ToolTrolley_02_F",[-0.326285,-4.12341,0.973673],[[0,1,0],[0,0,1]],true,[],1],["Land_MetalBarrel_empty_F",[-4.8131,-3.19421,0.92221],[[0.991322,0.131456,0],[0,0,1]],true,[],1],["Land_Bench_F",[2.93385,-4.79162,0.764544],[[0.999997,-0.00257524,0],[0,0,1]],true,[],1],["Land_BarrelTrash_grey_F",[4.87464,4.85706,0.899482],[[0,1,0],[0,0,1]],true,[],1],["Land_CampingChair_V2_F",[4.69959,2.85071,0.992674],[[0.977977,-0.208713,0],[0,0,1]],true,["a3\structures_f\civ\camping\data\tablechair_co.paa"],1],["Land_Metal_rack_F",[-5.00451,-0.262814,1.39735],[[-0.999974,0.00724327,0],[0,0,1]],true,[],1],["Land_Metal_rack_F",[-5.00841,-1.39026,1.39166],[[-0.999974,0.00724327,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\decoration\wallboards\wall_board_03\wall_board_03.p3d",[5.14881,-4.20715,0.632],[[-0.999997,0.00223416,0],[0,0,1]],true,[],1],["LiquidSpraySystem_01_Extended_F",[-4.87218,4.46277,2.95744],[[0,1,0],[0,0,1]],true,[],1],["SignAd_SponsorS_Redstone_F",[0.00379324,4.33094,1.04347],[[0.999977,-0.00678948,0],[0,0,1]],true,["a3\structures_f_kart\signs\companies\data\ad_redstone_ca.paa"],1],["a3\structures_f_enoch\furniture\cases\locker\locker_open_v2.p3d",[4.89942,-3.09631,0.498677],[[0.999763,0.0217916,0],[0,0,1]],true,[],1],["Land_Workbench_01_F",[1.62135,4.67273,0.98693],[[0,1,0],[0,0,1]],true,[],1],["Land_PlasticBucket_01_open_F",[0.587045,-2.16565,0.679359],[[0,0.8,0],[0,0,0.8]],true,[],0.8],["Land_PaperBox_01_small_destroyed_brown_F",[0.638193,-3.61584,0.785323],[[0.999982,0.00605714,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_destroyed_co.paa"],1],["Tire_Van_02_F",[-4.83874,3.54773,3.21108],[[0.993628,-0.00907289,-0.112345],[-0.00901504,-0.999959,0.00102295]],true,[],1],["Tire_Van_02_F",[-4.81628,3.27967,3.24154],[[0.536609,-0.00907365,-0.843782],[-0.00486533,-0.999959,0.00765897]],true,[],1],["Land_Net_Fence_pole_F",[-4.65563,2.69641,2.86969],[[-0.999997,-0.00245696,1.93302e-05],[-0.00245683,0.999782,-0.020746]],true,[],1],["Land_Net_Fence_pole_F",[-4.38146,1.58826,3.11145],[[0,1,0],[0.679465,0,0.733708]],true,[],1],["Land_Net_Fence_pole_F",[-4.38463,3.7948,3.09359],[[0,1,0],[0.679465,0,0.733708]],true,[],1],["Land_CinderBlock_01_F",[-5.32677,1.59168,2.26123],[[0.999979,-1.63852e-05,0.00643046],[2.60512e-05,0.999999,-0.00150308]],true,[],1],["Land_CinderBlock_01_F",[-5.32873,3.79602,2.25267],[[0.999826,-1.47041e-05,0.0186536],[4.27405e-05,0.999999,-0.0015026]],true,[],1],["Land_CanisterOil_F",[0.583017,-2.41345,1.3899],[[0.964063,0.265673,0],[0,0,1]],true,[],1],["Land_Shoot_House_Panels_F",[2.8036,-5.24402,1.5775],[[-0.00900573,0.999959,0],[0,0,1]],true,["#(argb,8,8,3)color(0,0,0,0,ca)","#(argb,8,8,3)color(0,0,0,0,ca)","#(argb,8,8,3)color(0,0,0,0,ca)","#(argb,8,8,3)color(0,0,0,0,ca)"],1],["Land_Shoot_House_Panels_F",[4.48695,-5.21472,1.59758],[[-0.00900573,0.999959,0],[0,0,1]],true,["#(argb,8,8,3)color(0,0,0,0,ca)","#(argb,8,8,3)color(0,0,0,0,ca)","#(argb,8,8,3)color(0,0,0,0,ca)","#(argb,8,8,3)color(0,0,0,0,ca)"],1],["Land_Metal_wooden_rack_F",[0.667856,-3.43933,1.49757],[[-0.999761,0.0218567,0],[0,0,1]],true,[],1],["Land_ToolTrolley_01_F",[-0.372916,-2.92663,0.977667],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\various\workbench_dz.p3d",[4.66712,1.21985,0.968209],[[0.999984,-0.00571519,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\various\workbench.p3d",[0.68995,-0.408078,0.499768],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\various\workbench.p3d",[-2.64245,4.77503,0.490756],[[0.999993,0.00378194,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v2.p3d",[4.89283,-2.69543,0.497227],[[0.999852,0.0171888,0],[0,0,1]],true,[],1],["Land_WallSign_01_chalkboard_F",[-1.8109,5.16346,1.88799],[[-0.00167545,-0.999999,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\n2\wallsign_01_f_chalkboard_tools_co.paa","a3\missions_f_orange\data\img\orange_compositions\n2\wallsign_01_f_chalkboard_tools_co.paa"],1],["Land_WallSign_01_chalkboard_F",[-3.61022,5.16736,1.88872],[[-0.00167545,-0.999999,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\n2\wallsign_01_f_chalkboard_tools_co.paa","a3\missions_f_orange\data\img\orange_compositions\n2\wallsign_01_f_chalkboard_tools_co.paa"],1],["Land_WallSign_01_chalkboard_F",[-5.51623,-4.53308,1.96568],[[0.999999,0.00108209,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\n2\wallsign_garage_n2_co.paa","a3\missions_f_orange\data\img\orange_compositions\n2\wallsign_garage_n2_co.paa"],1],["Land_WallSign_01_chalkboard_F",[-5.27489,-2.85266,1.79981],[[-1,-0.000262086,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[1.63477,5.1698,1.84168],[[-0.00167545,-0.999999,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\n2\wallsign_01_f_chalkboard_tools_co.paa","a3\missions_f_orange\data\img\orange_compositions\n2\wallsign_01_f_chalkboard_tools_co.paa"],1],["Land_WallSign_01_chalkboard_F",[-5.27782,-2.85266,2.65281],[[-0.999967,-0.00811534,8.84697e-05],[-8.46737e-05,-0.000468103,-1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_Hammer_F",[-4.71618,4.70056,1.28813],[[-0.629385,0.777094,-1.45286e-07],[-0.777065,-0.629362,-0.00853355]],true,[],1],["Land_Bucket_painted_F",[-0.299063,-4.88464,0.635018],[[0,1,0],[0,0,1]],true,[],1],["Land_PaperBox_01_small_ransacked_brown_F",[4.58485,1.53894,0.708452],[[-0.85027,-0.526348,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_dmg_co.paa"],1],["Land_PaperBox_01_small_ransacked_brown_F",[4.32581,-2.08117,0.70783],[[-0.952566,0.304332,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_dmg_co.paa"],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[2.92262,2.65491,3.85456],[[-0.999926,-0.0120868,0.000882168],[0.000344578,0.0444075,0.999013]],true,[],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[2.92408,-3.33777,4.10352],[[-0.999863,0.0165166,0.000825664],[0.00152284,0.0422428,0.999106]],true,[],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[2.94166,-0.542355,3.98902],[[-0.999998,0.00192653,0.000706193],[0.0007785,0.0377936,0.999285]],true,[],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[-2.64001,-3.33215,4.09314],[[-0.999863,0.0165166,0.000825664],[0.00152284,0.0422428,0.999106]],true,[],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[-2.62243,-0.53674,3.97864],[[-0.999998,0.00192653,0.000706193],[0.0007785,0.0377936,0.999285]],true,[],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[-2.64147,2.66053,3.84418],[[-0.999926,-0.0120868,0.000882168],[0.000344578,0.0444075,0.999013]],true,[],1]]]; + + comment 'Unfinished Building (Large)'; + _compData pushBack ["Land_Unfinished_Building_02_F",[["a3\structures_f_enoch\furniture\various\debris_small_house.p3d",[1.21858,-0.772625,0.188072],[[0,0.999999,-0.0010358],[0.00251323,0.0010358,0.999996]],true,[],1],["a3\structures_f_enoch\furniture\various\debris_small_house.p3d",[-0.546435,2.58187,0.23193],[[0.723663,-0.690153,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\various\debris_small_house.p3d",[4.67866,-0.66325,3.64472],[[-0.996341,0.0854699,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\various\dirtpile_small_house.p3d",[-5.81096,5.11861,3.68155],[[0.13029,-0.991476,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\various\dirtpile_small_house.p3d",[-6.63042,4.217,0.23893],[[0.991216,-0.132246,-0.0014645],[0.00171787,0.00180183,0.999997]],true,[],1],["Land_GarbageBarrel_02_F",[5.53584,1.14351,4.22435],[[1.0989,-0.0491704,0],[0,0,1.1]],true,["a3\props_f_enoch\military\garbage\data\garbagebarrelc_co.paa"],1.1],["Land_GarbageBarrel_02_F",[6.22615,1.21248,4.22435],[[-1.1,0.00136342,0],[0,0,1.1]],true,["a3\props_f_enoch\military\garbage\data\garbagebarrelc_co.paa"],1.1],["Land_GarbageBarrel_02_F",[4.83955,1.15584,4.22435],[[-1.1,0.00136342,0],[0,0,1.1]],true,["a3\props_f_enoch\military\garbage\data\garbagebarrelc_co.paa"],1.1],["Land_GarbageBarrel_02_F",[4.11421,1.12545,4.22435],[[1.0989,-0.0491704,0],[0,0,1.1]],true,["a3\props_f_enoch\military\garbage\data\garbagebarrelc_co.paa"],1.1],["Land_GarbageBarrel_02_F",[-7.14287,-0.146526,4.13528],[[-0.893347,-0.10923,0],[0,0,0.9]],true,["a3\props_f_enoch\military\garbage\data\garbagebarrelc_co.paa"],0.9],["Land_GarbageBarrel_02_F",[-7.16594,-2.25346,4.10085],[[-0.869827,0.231085,0],[0,0,0.9]],true,["a3\props_f_enoch\military\garbage\data\garbagebarrelc_co.paa"],0.9],["Land_CinderBlocks_F",[-2.21245,-1.07328,3.62426],[[0,1,0],[0,0,1]],true,[],1],["Land_CinderBlocks_F",[1.49763,-2.4539,3.6005],[[0,1,0],[0,0,1]],true,[],1],["Land_Garbage_square3_F",[2.79341,1.56209,0.253426],[[0,0.999999,-0.0010358],[-0.000345267,0.0010358,0.999999]],true,[],1],["Land_Garbage_square3_F",[0.474805,-0.970501,3.67255],[[0,1,0],[0,0,1]],true,[],1],["Land_Pallets_F",[-6.37517,0.138996,0.484688],[[0.569153,0.82223,-0.00146484],[-0.000821624,0.00235028,0.999997]],true,[],1],["Land_Pallet_vertical_F",[5.78792,1.6512,4.4012],[[0,0.996147,0.0877037],[0,-0.0877037,0.996147]],true,[],1],["Land_Garbage_square5_F",[-4.82378,-0.689007,0.224501],[[0,0.999999,-0.00146484],[-0.00201323,0.00146484,0.999997]],true,[],1],["Land_cargo_addon01_V2_F",[4.47285,3.98555,1.24428],[[-0.000261599,-0.284407,1.16581],[-0.00627282,1.16579,0.284402]],true,[],1.2],["Land_cargo_addon01_V2_F",[5.01985,-1.27092,1.1137],[[-0.284403,0.00115688,1.16581],[1.16581,0.00236267,0.284401]],true,[],1.2],["Land_cargo_addon01_V1_F",[4.98787,3.56185,1.17704],[[-0.272815,0.00206778,1.16858],[1.16854,-0.00867859,0.272823]],true,[],1.2],["Land_Bricks_V4_F",[6.3603,3.79354,0.234731],[[-0.999938,0.0111129,-0.0010358],[-0.0010078,0.00252459,0.999996]],true,[],1],["Land_Bricks_V3_F",[6.35249,2.55306,0.218281],[[0.999793,-0.0203627,0],[0,0,1]],true,[],1],["Land_Bricks_V3_F",[2.83369,4.75716,3.67289],[[0,1,0],[0,0,1]],true,[],1],["Land_Bricks_V2_F",[6.08088,0.189289,3.61748],[[-0.00449352,0.99999,0],[0,0,1]],true,[],1],["Land_BackAlley_02_l_1m_F",[-7.69866,-1.15739,4.42519],[[1.19998,-0.00745875,0],[0,0,1.2]],true,[],1.2],["Land_BackAlley_02_l_1m_F",[-7.68108,3.61007,4.54957],[[1.19998,-0.00745875,0],[0,0,1.2]],true,[],1.2],["Land_Decal_BulletHoles_Small_03_F",[-7.78667,1.24422,5.29072],[[-0.000146443,-0.870921,0.491424],[-1,0.0005368,0.000653342]],true,[],1],["Land_Decal_BulletHoles_Small_03_F",[-4.3781,6.10653,2.15244],[[-0.145825,-0.00186624,0.989308],[0.00257903,0.999994,0.00226655]],true,[],1],["Land_Decal_BulletHoles_Small_03_F",[-7.80583,1.08712,2.94825],[[-0.000146282,1,-1.2815e-06],[-1,-0.000146283,-0.000832834]],true,[],1],["Land_CinderBlock_01_F",[-5.16252,2.36165,0.300294],[[-0.99596,0.0897983,-7.56662e-05],[0.0897892,0.995871,0.0133628]],true,[],1],["Land_CinderBlock_01_F",[-5.11199,2.82076,0.292259],[[-0.391907,0.920005,-7.40699e-05],[0.919922,0.391873,0.0133625]],true,[],1],["Land_CinderBlock_01_F",[-4.14995,0.906818,0.273235],[[0.822673,0.568515,-7.23219e-05],[0.568465,-0.822599,0.0133624]],true,[],1],["Land_CinderBlock_01_F",[-4.71538,3.11507,0.285733],[[-0.979994,0.199028,-7.414e-05],[0.199009,0.979906,0.0133617]],true,[],1],["Land_CinderBlock_01_F",[-4.60979,0.864216,0.281269],[[-0.111841,0.993726,-7.30157e-05],[0.993637,0.111832,0.0133628]],true,[],1],["Land_CinderBlock_01_F",[0.479932,-2.49711,3.73117],[[-0.823024,0.567625,0.0208001],[0.0171241,-0.0118072,0.999784]],true,[],1],["Land_CinderBlock_01_F",[0.00629902,3.93135,3.76412],[[-0.936549,-0.350536,-0.000112002],[-0.350533,0.936542,-0.00387484]],true,[],1],["Land_CinderBlock_01_F",[-1.42021,-1.61137,3.72319],[[-0.619332,-0.785129,-0.000114426],[-0.785123,0.619328,-0.00387483]],true,[],1],["Land_CinderBlock_01_F",[-0.403857,3.52987,3.7939],[[0.915677,0.401914,0],[0,0,1]],true,[],1],["Land_CinderBlock_01_F",[-0.300708,5.17086,4.39071],[[0.571757,0.820423,-0.000107091],[0.820417,-0.571753,-0.00387299]],true,[],1],["Land_CinderBlock_01_F",[-3.82256,0.536579,0.266709],[[-0.00162957,0.999999,-7.12052e-05],[0.999909,0.00163037,0.0133618]],true,[],1],["Land_CinderBlock_01_F",[-0.580615,3.98323,3.75665],[[-0.762817,0.646615,-0.000109928],[0.64661,0.762811,-0.0038748]],true,[],1],["Land_CinderBlock_01_F",[-1.94915,-1.87114,3.71965],[[-0.987485,0.157714,-0.000134012],[0.157714,0.987477,-0.00387133]],true,[],1],["Land_CinderBlock_01_F",[0.314893,-2.19413,3.73056],[[-0.876509,-0.480935,0.0207999],[0.018234,0.0100079,0.999784]],true,[],1],["Land_CinderBlock_01_F",[-1.39373,-2.00126,3.74564],[[0.937503,0.347979,0],[0,0,1]],true,[],1],["Land_CinderBlock_01_F",[0.665235,-2.22917,3.7002],[[-0.263276,0.964352,0.0266539],[-0.964697,-0.263364,-0.000196364]],true,[],1],["Land_SandbagBarricade_01_F",[-6.2625,5.49361,1.19815],[[-0.0205877,0.997872,-0.061859],[0,0.0618721,0.998084]],true,[],1],["Land_SandbagBarricade_01_F",[1.06172,-3.22453,1.28573],[[-0.00476653,-0.999989,0],[0,0,1]],true,[],1],["Land_WoodenWall_04_s_pole_F",[-4.94463,-2.76823,0.770957],[[0,1,0],[0,0,1]],true,[],1],["Land_WoodenWall_04_s_pole_F",[-3.80706,-2.69743,0.748503],[[0,1,0],[0,0,1]],true,[],1],["Land_WoodenWall_04_s_pole_F",[-5.17766,5.17904,4.30537],[[0,1,0],[0,0,1]],true,[],1],["Land_WoodenWall_04_s_pole_F",[-6.26482,-2.75627,0.801633],[[-0.0474483,0.998874,0],[0,0,1]],true,[],1],["Land_WoodenWall_04_s_pole_F",[-2.65996,-2.72599,0.74766],[[0,1,0],[0,0,1]],true,[],1],["Land_WoodenWall_04_s_pole_F",[-4.09844,5.61361,4.31957],[[0,1,0],[0,0,1]],true,[],1],["Land_WoodenWall_04_s_pole_F",[-3.99578,5.16805,4.3427],[[0,1,0],[0,0,1]],true,[],1],["Land_WoodenWall_04_s_pole_F",[-5.15239,5.65181,4.3135],[[0,1,0],[0,0,1]],true,[],1],["Land_WoodenWall_04_s_pole_F",[-7.38091,-2.78837,0.799703],[[0,1,0],[0,0,1]],true,[],1],["Land_CinderBlocks_01_F",[1.42402,5.05794,4.50421],[[0.0244611,-0.999701,0],[0,0,1]],true,[],1],["Land_CinderBlocks_01_F",[-0.0863523,5.10115,4.29194],[[0.0244611,-0.999701,0],[0,0,1]],true,[],1],["Land_CinderBlocks_01_F",[0.574292,5.0605,4.50707],[[-0.0216055,0.999767,0],[0,0,1]],true,[],1],["Land_CinderBlocks_01_F",[-3.60002,2.08895,1.05995],[[0.0355768,-0.999366,-0.00146474],[0.00206405,-0.00139219,0.999997]],true,[],1],["Land_SlumWall_01_s_4m_F",[7.24141,3.68026,3.8271],[[1,0.000681074,0],[0,0,1]],true,[],1],["Land_SlumWall_01_s_4m_F",[4.6031,5.91231,3.91593],[[0,1,0],[0,0,1]],true,[],1],["Land_SlumWall_01_s_2m_F",[0.822461,5.74446,3.93587],[[0,1,0],[0,0,1]],true,[],1],["Land_BagFence_Short_F",[-4.52251,5.35884,4.88043],[[0,1,0],[0,0,1]],true,[],1],["Land_BagFence_Short_F",[-6.77959,-3.02934,1.36401],[[-0.0268802,0.999639,0],[0,0,1]],true,[],1],["Land_BagFence_Short_F",[-2.89604,-2.9705,1.33965],[[0,1,0],[0,0,1]],true,[],1],["Land_BagFence_Short_F",[1.11531,5.4338,4.24632],[[0,1,0],[0,0,1]],true,[],1],["Land_BagFence_Short_F",[-4.66863,-2.9495,1.37331],[[0.06277,-0.998028,0],[0,0,1]],true,[],1],["Land_BagFence_Short_F",[-7.09319,2.17757,1.32138],[[0.998605,0.0527607,0.00211179],[0,-0.0399939,0.9992]],true,[],1],["Land_BagFence_Long_F",[5.31721,1.12191,4.88074],[[0.0263905,-0.999652,0],[0,0,1]],true,[],1],["Land_BagFence_Long_F",[3.67012,-2.87919,4.97879],[[0,1,0],[0,0,1]],true,[],1],["Land_BagFence_Long_F",[3.67585,5.53536,4.07104],[[0,1,0],[0,0,1]],true,[],1],["Land_BagFence_Long_F",[6.72529,2.88546,4.04497],[[-0.99993,-0.0118027,0],[0,0,1]],true,[],1],["Land_BagFence_End_F",[-0.712695,-3.32035,3.93032],[[-0.0251525,-0.999684,0],[0,0,1]],true,[],1],["Land_BagFence_End_F",[-0.712451,-3.74296,3.94606],[[-0.00533921,-0.999986,0],[0,0,1]],true,[],1],["Land_SandbagBarricade_01_hole_F",[-7.20745,3.75936,1.27555],[[-0.999998,0.00176161,0],[0,0,1]],true,[],1],["Land_SandbagBarricade_01_hole_F",[-6.32097,5.58846,4.95379],[[-0.0138992,0.999903,0],[0,0,1]],true,[],1],["Land_SandbagBarricade_01_hole_F",[5.50508,-2.91764,4.85832],[[0.036304,-0.999341,0],[0,0,1]],true,[],1],["Land_SandbagBarricade_01_half_F",[-4.48064,-3.05693,0.68995],[[0.0315978,-0.999501,0],[0,0,1]],true,[],1],["Land_SandbagBarricade_01_half_F",[5.56062,5.24581,4.2196],[[-0.012244,-0.999925,0],[0,0,1]],true,[],1],["Land_SandbagBarricade_01_half_F",[3.30085,-2.85478,4.33508],[[0,1,0],[0,0,1]],true,[],1],["Land_SandbagBarricade_01_half_F",[-2.42974,-3.0518,0.668986],[[0.0315978,-0.999501,0],[0,0,1]],true,[],1],["Land_SandbagBarricade_01_half_F",[-4.21221,5.54268,4.30289],[[0,1,0],[0,0,1]],true,[],1],["Land_SandbagBarricade_01_half_F",[-7.19023,1.68453,0.834301],[[-0.999999,0.00106972,0],[0,0,1]],true,[],1],["Land_SandbagBarricade_01_half_F",[-6.44853,-3.0955,0.767669],[[0.0315978,-0.999501,0],[0,0,1]],true,[],1],["Land_SandbagBarricade_01_half_F",[6.6606,4.70064,4.23563],[[0.999087,0.0427242,0],[0,0,1]],true,[],1],["Land_SandbagBarricade_01_half_F",[0.778394,-3.58195,4.29234],[[0.0113417,-0.999936,0],[0,0,1]],true,[],1],["Land_WoodenBox_02_F",[-2.27568,3.20699,0.68589],[[0,1,0],[0,0,1]],true,[],1],["Land_WoodenBox_02_F",[-2.27373,2.20186,0.685842],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[1.8575,-1.4633,3.59251],[[0.997982,-0.0635035,0],[0,0,1]],true,[],1],["Land_Brick_01_F",[5.53938,-0.703899,3.63816],[[0.907597,0.419842,0],[0,0,1]],true,[],1],["Land_Brick_01_F",[4.80195,0.491779,3.67979],[[0.964456,0.264244,0],[0,0,1]],true,[],1],["Land_Brick_01_F",[3.82246,3.8807,3.72696],[[-0.703235,0.710957,0],[0,0,1]],true,[],1],["Land_Brick_01_F",[6.45894,4.76986,0.250693],[[-0.917568,-0.397578,0],[0,0,1]],true,[],1],["Land_Brick_01_F",[2.8426,3.6501,3.72605],[[0.0523622,-0.998628,0],[0,0,1]],true,[],1],["Land_Brick_01_F",[5.15913,0.468952,3.66991],[[0.0523622,-0.998628,0],[0,0,1]],true,[],1],["Land_Brick_01_F",[2.48542,3.67293,3.73592],[[0.964456,0.264244,0],[0,0,1]],true,[],1],["Land_Brick_01_F",[5.38936,3.67855,0.258785],[[-0.00264865,0.999996,0],[0,0,1]],true,[],1],["Land_Brick_01_F",[5.62056,3.72664,0.265698],[[0.701358,0.712809,0],[0,0,1]],true,[],1],["Land_Brick_01_F",[5.42561,3.98995,0.262805],[[0.140986,-0.990011,0],[0,0,1]],true,[],1],["Land_Brick_01_F",[3.9543,4.07686,3.72198],[[0,1,0],[0,0,1]],true,[],1],["Land_Brick_01_F",[6.10212,4.74227,0.240818],[[-0.192637,0.98127,0],[0,0,1]],true,[],1],["Land_Brick_01_F",[6.36409,5.06258,0.241144],[[-0.999121,-0.0419087,0],[0,0,1]],true,[],1],["Land_Brick_01_F",[2.53816,3.36983,3.72637],[[0.99505,-0.0993715,0],[0,0,1]],true,[],1],["Land_Brick_01_F",[5.52791,4.20345,0.255893],[[0.796453,-0.6047,0],[0,0,1]],true,[],1],["Land_Brick_01_F",[4.85469,0.188679,3.67024],[[0.99505,-0.0993715,0],[0,0,1]],true,[],1],["Land_Plank_01_4m_F",[-7.15691,-1.21147,4.68166],[[0,0.8,0],[0,0,0.8]],true,[],0.8]]]; + _compData pushBack ["Land_Unfinished_Building_02_F",[["a3\structures_f_enoch\furniture\various\debris_small_house.p3d",[-5.73442,-1.34575,3.64952],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\various\debris_small_house.p3d",[5.1938,-1.31669,3.628],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\various\debris_small_house.p3d",[4.10713,-0.128216,0.19911],[[-0.0448961,-0.998992,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\various\debris_small_house.p3d",[-1.29119,1.68624,0.196497],[[-0.0448961,-0.998992,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\various\dirtpile_small_house.p3d",[-4.705,4.77144,3.65645],[[-0.0544056,-0.998519,0],[0,0,1]],true,[],1],["Land_GarbageBarrel_02_F",[-4.08623,-3.20243,4.212],[[-0.999965,0.00839623,0],[0,0,1]],true,["a3\props_f_enoch\military\garbage\data\garbagebarrelc_co.paa"],1],["Land_GarbageBarrel_02_F",[-2.22014,-3.47929,4.22129],[[-0.747965,0.663739,0],[0,0,1]],true,["a3\props_f_enoch\military\garbage\data\garbagebarrelc_co.paa"],1],["Land_GarbageBarrel_02_F",[5.07979,-3.02836,4.1407],[[-0.999721,0.02361,0],[0,0,1]],true,["a3\props_f_enoch\military\garbage\data\garbagebarrelc_co.paa"],1],["Land_GarbageBarrel_02_F",[-5.46331,-3.15776,4.22585],[[-0.999965,0.00839623,0],[0,0,1]],true,["a3\props_f_enoch\military\garbage\data\garbagebarrelc_co.paa"],1],["Land_GarbageBarrel_02_F",[4.37043,-2.80302,4.14526],[[0.995139,0.0984793,0],[0,0,1]],true,["a3\props_f_enoch\military\garbage\data\garbagebarrelc_co.paa"],1],["Land_GarbageBarrel_02_F",[-6.18206,-3.11699,4.22906],[[0.999918,-0.0128193,0],[0,0,1]],true,["a3\props_f_enoch\military\garbage\data\garbagebarrelc_co.paa"],1],["Land_GarbageBarrel_02_F",[5.70686,-3.02836,4.15165],[[0.995139,0.0984793,0],[0,0,1]],true,["a3\props_f_enoch\military\garbage\data\garbagebarrelc_co.paa"],1],["Land_GarbageBarrel_02_F",[1.6551,-2.38554,0.719804],[[0.672944,-0.739693,-0.00103425],[0.000951115,-0.000532929,0.999999]],true,["a3\props_f_enoch\military\garbage\data\garbagebarrelc_co.paa"],1],["Land_GarbageBarrel_02_F",[-4.81621,-3.1851,4.21521],[[0.999918,-0.0128193,0],[0,0,1]],true,["a3\props_f_enoch\military\garbage\data\garbagebarrelc_co.paa"],1],["Land_GarbageBarrel_02_F",[6.3697,-3.00004,4.16382],[[-0.9947,-0.102823,0],[0,0,1]],true,["a3\props_f_enoch\military\garbage\data\garbagebarrelc_co.paa"],1],["Land_CinderBlocks_F",[3.06904,1.16793,3.62194],[[-0.00230845,-0.999997,0],[0,0,1]],true,[],1],["Land_Garbage_square3_F",[-1.5606,-0.70927,3.67856],[[0,1,0],[0,0,1]],true,[],1],["Land_Garbage_square3_F",[3.64253,4.03951,3.74026],[[0,1,0],[0,0,1]],true,[],1],["MetalBarrel_burning_F",[1.27913,2.06881,4.07338],[[0.85764,0.51425,0],[0,0,1]],true,[],1],["Land_Pallet_vertical_F",[5.81514,-2.52543,4.27279],[[0,0.997489,0.0708233],[0,-0.0708233,0.997489]],true,[],1],["Land_cargo_addon01_V2_F",[4.48286,3.83541,1.25005],[[-0.000261599,-0.284407,1.16581],[-0.00627282,1.16579,0.284402]],true,[],1.2],["Land_cargo_addon01_V2_F",[-0.429614,3.71895,1.11673],[[-0.000261599,-0.284407,1.16581],[-0.00627282,1.16579,0.284402]],true,[],1.2],["Land_cargo_addon01_V2_F",[5.02986,-1.42118,1.11946],[[-0.284403,0.00115688,1.16581],[1.16581,0.00236267,0.284401]],true,[],1.2],["Land_cargo_addon01_V1_F",[-5.35124,-1.45024,1.33244],[[0,0.285813,1.16547],[0,-1.16547,0.285813]],true,[],1.2],["Land_Bricks_V4_F",[-6.93059,3.23311,0.239405],[[0.00564119,0.999984,-0.000976233],[1.25567e-06,0.000976242,1]],true,[],1],["Land_Bricks_V3_F",[1.47151,-1.43486,3.61871],[[0.00864081,-0.999963,0],[0,0,1]],true,[],1],["Land_Bricks_V2_F",[-6.95562,2.18306,0.202835],[[0.00721559,-0.999973,-0.000973517],[2.20934e-06,-0.000973526,0.999999]],true,[],1],["Land_BackAlley_02_l_1m_F",[-7.66802,3.62178,4.79908],[[1.19986,-0.0185766,0],[0,0,1.2]],true,[],1.2],["Land_BackAlley_02_l_1m_F",[-7.69634,3.59053,0.927845],[[1.19986,-0.0185766,0],[0,0,1.2]],true,[],1.2],["Land_Decal_BulletHoles_Small_03_F",[-7.81316,-0.841351,1.82272],[[-0.000146282,1,-1.2815e-06],[-1,-0.000146283,-0.000832834]],true,[],1],["Land_Decal_BulletHoles_Small_03_F",[-7.80608,1.10738,3.43899],[[-0.000146335,0.00151046,0.999999],[-1,0.000832603,-0.000147593]],true,[],1],["Land_Decal_BulletHoles_Small_03_F",[0.444531,6.12008,0.517903],[[0.999998,-0.00186903,3.43653e-09],[0.00186903,0.999994,-0.002889]],true,[],1],["Land_Decal_BulletHoles_Small_03_F",[-4.38555,6.12227,1.70269],[[1,0.000190598,1.64551e-07],[-0.000190597,1,-0.000846235]],true,[],1],["Land_Decal_BulletHoles_Small_01_F",[-6.69243,-3.73637,4.52465],[[-6.99369e-08,-1.39441e-07,-0.8],[-0.00498463,-0.799984,1.39874e-07]],true,[],0.8],["Land_Decal_BulletHoles_Small_01_F",[6.95344,-1.11821,5.17014],[[-0.00197688,-3.05474e-06,-0.999998],[0.999998,0.000165698,-0.00197688]],true,[],1],["Land_Decal_BulletHoles_Small_01_F",[3.91597,-3.82573,2.10397],[[0.471703,-5.05126e-06,-0.881757],[-0.00549569,-0.999981,-0.00293423]],true,[],1],["Land_Decal_BulletHoles_Small_01_F",[5.59163,-3.82866,0.728912],[[-6.99369e-08,-1.39441e-07,-0.8],[-0.00498463,-0.799984,1.39874e-07]],true,[],0.8],["Land_CinderBlock_01_F",[4.18757,3.01094,3.76051],[[0.892614,-0.450034,0.026654],[0.450199,0.892928,-0.000196576]],true,[],1],["Land_CinderBlock_01_F",[2.83931,3.3503,3.80121],[[-0.823024,0.567625,0.0208001],[0.0171241,-0.0118072,0.999784]],true,[],1],["Land_CinderBlock_01_F",[-4.14043,3.97359,3.74014],[[-0.553116,0.833104,-7.39193e-05],[0.833104,0.553116,7.42884e-07]],true,[],1],["Land_CinderBlock_01_F",[3.02461,3.61812,3.77024],[[-0.263276,0.964352,0.0266539],[-0.964697,-0.263364,-0.000196364]],true,[],1],["Land_CinderBlock_01_F",[-3.49077,4.08467,3.77298],[[-0.946056,-0.323336,0.0207977],[0.0196791,0.00672909,0.999784]],true,[],1],["Land_CinderBlock_01_F",[-3.76995,4.36275,3.73539],[[-0.446611,0.894728,-6.9658e-05],[0.894728,0.446611,6.74364e-08]],true,[],1],["Land_CinderBlock_01_F",[-6.95488,4.46383,3.73869],[[-0.783617,-0.621244,-6.98869e-05],[-0.621244,0.783617,1.18323e-07]],true,[],1],["Land_CinderBlock_01_F",[-6.54216,4.39205,3.74344],[[-0.701387,-0.712781,-7.54858e-05],[-0.712781,0.701387,4.40354e-07]],true,[],1],["Land_CinderBlock_01_F",[-7.14775,3.94503,3.74707],[[-0.873627,0.486595,-7.23486e-05],[0.486596,0.873627,5.48492e-07]],true,[],1],["Land_CinderBlock_01_F",[4.05562,2.65987,3.76225],[[-0.263276,0.964352,0.0266539],[-0.964697,-0.263364,-0.000196364]],true,[],1],["Land_CinderBlock_01_F",[-4.26421,4.5898,3.74378],[[0.656028,0.754737,-7.11512e-05],[0.754737,-0.656028,4.27522e-07]],true,[],1],["Land_CinderBlock_01_F",[2.67427,3.65328,3.80061],[[-0.876509,-0.480935,0.0207999],[0.018234,0.0100079,0.999784]],true,[],1],["Land_CinderBlock_01_F",[-6.72783,3.94747,3.77724],[[-0.823024,0.567625,0.0208001],[0.0171241,-0.0118072,0.999784]],true,[],1],["Land_Bricks_V1_F",[1.50093,-2.4683,3.62354],[[0,1,0],[0,0,1]],true,[],1],["Land_WoodenWall_04_s_pole_F",[3.73469,5.82589,4.19299],[[-0.0479551,0.998849,0],[0,0,1]],true,[],1],["Land_WoodenWall_04_s_pole_F",[3.09553,5.81832,4.18991],[[-0.0479551,0.998849,0],[0,0,1]],true,[],1],["Land_WoodenWall_04_s_pole_F",[6.6595,1.97628,0.907042],[[-1,-0.000137154,0],[0,0,1]],true,[],1],["Land_WoodenWall_04_s_pole_F",[6.51838,5.58394,0.908283],[[0.999966,0.0082131,0],[0,0,1]],true,[],1],["Land_WoodenWall_04_s_pole_F",[6.95772,2.56148,4.26821],[[0.999966,0.0082131,0],[0,0,1]],true,[],1],["Land_WoodenWall_04_s_pole_F",[-1.10942,5.64449,4.1869],[[0,1,0],[0,0,1]],true,[],1],["Land_WoodenWall_04_s_pole_F",[6.60359,2.94893,0.868459],[[-1,-0.000137154,0],[0,0,1]],true,[],1],["Land_WoodenWall_04_s_pole_F",[6.97578,1.96968,4.28483],[[0.999966,0.0082131,0],[0,0,1]],true,[],1],["Land_WoodenWall_04_s_pole_F",[6.51753,4.52584,0.860258],[[0.999966,0.0082131,0],[0,0,1]],true,[],1],["Land_WoodenWall_04_s_pole_F",[-0.169726,5.56099,4.14377],[[0,1,0],[0,0,1]],true,[],1],["Land_CinderBlocks_01_F",[-6.81999,5.42965,4.51231],[[0.0383225,-0.999265,0],[0,0,1]],true,[],1],["Land_CinderBlocks_01_F",[-5.63384,5.45845,4.49187],[[-0.0349792,0.999388,0],[0,0,1]],true,[],1],["Land_CinderBlocks_01_F",[2.90876,2.28975,4.53117],[[-0.0349792,0.999388,0],[0,0,1]],true,[],1],["Land_CinderBlocks_01_F",[-3.58367,5.46846,4.4761],[[-0.0349792,0.999388,0],[0,0,1]],true,[],1],["Land_CinderBlocks_01_F",[-4.76958,5.43917,4.49655],[[0.0383225,-0.999265,0],[0,0,1]],true,[],1],["Land_SlumWall_01_s_4m_F",[4.69893,5.80733,3.92796],[[-0.00600343,-0.999982,0],[0,0,1]],true,[],1],["Land_SlumWall_01_s_4m_F",[-5.21892,6.0754,3.90848],[[0,1,0],[0,0,1]],true,[],1],["Land_SlumWall_01_s_4m_F",[6.87898,3.74337,3.95372],[[-0.999854,-0.0171008,0],[0,0,1]],true,[],1],["Land_SlumWall_01_s_2m_F",[6.98335,3.92647,0.605961],[[0.999931,0.0117277,0],[0,0,1]],true,[],1],["Land_BagFence_Short_F",[6.78779,2.3044,4.82253],[[-0.99978,0.0209881,0],[0,0,1]],true,[],1],["Land_BagFence_Short_F",[-3.99822,1.93258,4.9367],[[0.0170391,-0.999855,0],[0,0,1]],true,[],1],["Land_BagFence_Short_F",[3.50264,5.56929,4.72238],[[-0.0248319,0.999692,0],[0,0,1]],true,[],1],["Land_BagFence_Short_F",[6.25886,4.74117,1.47842],[[0.999872,0.0159332,-0.00103567],[0.00107557,-0.00249606,0.999996]],true,[],1],["Land_BagFence_Short_F",[-7.10027,0.678425,4.72633],[[-0.999788,-0.0205963,0],[0,0,1]],true,[],1],["Land_BagFence_Short_F",[-0.841479,5.41475,4.726],[[-0.022594,-0.999745,0],[0,0,1]],true,[],1],["Land_BagFence_Short_F",[1.28694,-3.09575,1.2817],[[-0.0183382,-0.999831,-0.00103556],[0.000325982,-0.00104171,0.999999]],true,[],1],["Land_BagFence_Long_F",[6.37715,1.29439,1.48005],[[0.999992,-0.003821,-0.00103559],[0.00102598,-0.00251704,0.999996]],true,[],1],["Land_BagFence_Long_F",[5.18538,5.51363,3.92984],[[-0.029782,0.999556,0],[0,0,1]],true,[],1],["Land_BagFence_Long_F",[6.63655,4.18428,4.00043],[[-0.999658,0.0261627,0],[0,0,1]],true,[],1],["Land_BagFence_Long_F",[5.44624,-3.04325,4.80194],[[0,0.8,0],[0,0,0.8]],true,[],0.8],["Land_BagFence_End_F",[-5.59246,-3.26591,4.68445],[[0,1,0],[0,0,1]],true,[],1],["Land_BagFence_End_F",[-4.94573,-3.22294,4.70488],[[-0.0825813,-0.996387,0.01983],[0.00163538,0.0197625,0.999803]],true,[],1],["Land_BagFence_End_F",[6.37324,3.10518,1.45786],[[-0.998388,-0.056749,-0.0010358],[-0.00117675,0.0024504,0.999996]],true,[],1],["Land_BagFence_End_F",[-6.02251,-3.25102,4.53333],[[0,1,0],[0,0,1]],true,[],1],["Land_BagFence_End_F",[-4.11833,-3.31108,4.51557],[[0,1,0],[0,0,1]],true,[],1],["Land_SandbagBarricade_01_hole_F",[-7.23845,-1.13115,4.93075],[[-0.99882,-0.048558,0],[0,0,1]],true,[],1],["Land_SandbagBarricade_01_hole_F",[0.964795,5.60201,4.95886],[[-0.0559808,0.998432,0],[0,0,1]],true,[],1],["Land_SandbagBarricade_01_half_F",[3.59016,5.67867,4.3421],[[-0.00762867,0.999971,0],[0,0,1]],true,[],1],["Land_SandbagBarricade_01_half_F",[3.31611,-2.97075,4.40802],[[-0.00762867,0.999971,0],[0,0,1]],true,[],1],["Land_SandbagBarricade_01_half_F",[1.11946,-3.28398,0.823616],[[-0.0275687,-0.99962,0],[0,0,1]],true,[],1],["Land_SandbagBarricade_01_half_F",[6.39656,4.64498,0.905113],[[0.999399,0.0346488,0],[0,0,1]],true,[],1],["Land_SandbagBarricade_01_half_F",[-1.79424,-2.58183,4.29076],[[-0.00153095,0.999999,0],[0,0,1]],true,[],1],["Land_SandbagBarricade_01_half_F",[-4.23613,2.0356,4.34193],[[0,1,0],[0,0,1]],true,[],1],["Land_SandbagBarricade_01_half_F",[-7.2127,0.99239,4.27918],[[-0.999953,0.00966837,0],[0,0,1]],true,[],1],["Land_SandbagBarricade_01_half_F",[6.7884,2.6484,4.34944],[[0.999989,0.00468744,0],[0,0,1]],true,[],1],["Land_SandbagBarricade_01_half_F",[6.50447,0.598103,0.858776],[[0.999896,0.0144306,0],[0,0,1]],true,[],1],["Land_SandbagBarricade_01_half_F",[6.42,2.62032,0.88249],[[0.999896,0.0144306,0],[0,0,1]],true,[],1],["Land_SandbagBarricade_01_half_F",[-1.22649,5.43819,4.31226],[[-0.0046504,0.999989,0],[0,0,1]],true,[],1],["Land_WoodenBox_02_F",[3.73213,5.3337,0.703623],[[0,1,0],[0,0,1]],true,[],1],["Land_WoodenBox_02_F",[4.76155,5.35421,0.686634],[[0,1,0],[0,0,1]],true,[],1],["Land_Brick_01_F",[-6.11699,2.6855,0.254666],[[0.986971,-0.160893,-0.00146205],[0.00176603,0.00174634,0.999997]],true,[],1],["Land_Brick_01_F",[-6.07939,1.67061,0.299245],[[-0.971071,-0.238788,-0.00146475],[-0.000942437,-0.00230151,0.999997]],true,[],1],["Land_Brick_01_F",[-6.13555,2.35543,0.308061],[[-0.535433,-0.844576,-0.00146475],[0.000912015,-0.00231248,0.999997]],true,[],1],["Land_Brick_01_F",[0.593335,-1.1641,3.64172],[[0.798919,-0.601439,0],[0,0,1]],true,[],1],["Land_Brick_01_F",[-7.07012,4.06173,0.320302],[[0.788134,-0.615502,-0.00145987],[0.00238449,0.000681446,0.999997]],true,[],1],["Land_Brick_01_F",[1.12629,-3.31034,3.72542],[[0.318716,-0.94785,0],[0,0,1]],true,[],1],["Land_Brick_01_F",[-6.75579,4.07344,0.257819],[[-0.512517,0.858676,-0.00146474],[-0.00247656,0.000227632,0.999997]],true,[],1],["Land_Brick_01_F",[0.662671,-3.32524,3.66696],[[0.557784,0.829986,0],[0,0,1]],true,[],1],["Land_Brick_01_F",[-6.73027,4.39791,0.251485],[[-0.996519,0.0833556,-0.00146512],[-0.00162725,-0.00187713,0.999997]],true,[],1],["Land_Brick_01_F",[-7.39666,4.11251,0.266906],[[0.25669,0.966492,-0.00146075],[-0.00156562,0.0019272,0.999997]],true,[],1],["Land_Brick_01_F",[1.60444,-0.555706,3.70599],[[-0.963364,0.268198,0],[0,0,1]],true,[],1],["Land_Brick_01_F",[-6.18816,1.65596,0.240492],[[-0.473061,-0.881028,-0.00146399],[0.00107795,-0.00224048,0.999997]],true,[],1],["Land_Brick_01_F",[-5.95366,1.66353,0.241042],[[-0.153002,-0.988225,-0.00146478],[0.00176221,-0.00175506,0.999997]],true,[],1],["Land_Brick_01_F",[0.685498,-2.58427,3.66079],[[0.396376,0.918088,0],[0,0,1]],true,[],1],["Land_Brick_01_F",[0.691846,-1.43046,3.64209],[[-0.67338,-0.739296,0],[0,0,1]],true,[],1],["Land_Brick_01_F",[-6.20391,2.26998,0.249308],[[0.268558,-0.963262,-0.00146238],[0.00232631,-0.000869574,0.999997]],true,[],1],["Land_Brick_01_F",[0.458814,-1.36381,3.65108],[[-0.938508,-0.345257,0],[0,0,1]],true,[],1],["Land_Brick_01_F",[1.49983,-0.522991,3.64215],[[0.356943,0.934126,0],[0,0,1]],true,[],1],["Land_Brick_01_F",[-5.76787,2.05001,0.239244],[[-0.0145533,0.999893,-0.00146475],[-0.002031,0.00143534,0.999997]],true,[],1],["Land_Brick_01_F",[1.75349,-0.532757,3.65113],[[0.747643,0.664101,0],[0,0,1]],true,[],1],["Land_Brick_01_F",[-6.03997,2.43795,0.249858],[[0.573731,-0.819043,-0.00146352],[0.0024851,-4.60782e-05,0.999997]],true,[],1],["Land_Brick_01_F",[0.700757,-1.74321,3.6539],[[-0.723261,-0.690575,0],[0,0,1]],true,[],1],["Land_Brick_01_F",[1.07368,-3.23637,3.66781],[[0.997637,0.0687102,0],[0,0,1]],true,[],1],["Land_Brick_01_F",[-6.01311,2.00362,0.245579],[[0.804407,0.594077,-0.00146475],[-1.57773e-05,0.00248695,0.999997]],true,[],1],["Land_Brick_01_F",[1.02607,-3.52299,3.72884],[[0.933143,-0.359505,0],[0,0,1]],true,[],1],["Land_Brick_01_F",[-6.3792,3.94088,0.252733],[[0.830514,-0.556995,-0.00145851],[0.00232822,0.000853002,0.999997]],true,[],1],["Land_Brick_01_F",[-6.38311,4.04952,0.311486],[[0.142626,-0.989776,-0.00146079],[0.00219232,-0.00115997,0.999997]],true,[],1],["Land_Brick_01_F",[0.587842,-1.39384,3.71479],[[0.739777,-0.672852,0],[0,0,1]],true,[],1],["Land_Brick_01_F",[1.14241,-3.52226,3.66438],[[-0.67338,-0.739296,0],[0,0,1]],true,[],1],["Land_Brick_01_F",[-6.99248,3.98604,0.261549],[[0.984917,0.17302,-0.00145732],[0.00108797,0.00222958,0.999997]],true,[],1],["Land_Brick_01_F",[-7.14299,4.165,0.262099],[[0.871249,0.490839,-0.00145938],[0.000284974,0.00246739,0.999997]],true,[],1],["Land_Brick_01_F",[-6.36418,4.17501,0.253283],[[0.968513,-0.24896,-0.00146001],[0.00191385,0.0015809,0.999997]],true,[],1],["Land_Brick_01_F",[0.98103,-3.45219,3.67337],[[-0.758265,-0.651946,0],[0,0,1]],true,[],1],["Land_Brick_01_F",[0.490064,-2.70512,3.66066],[[0.634247,-0.77313,0],[0,0,1]],true,[],1],["Land_WoodPile_F",[1.72151,1.33248,3.78106],[[0,0.5,0],[0,0,0.5]],true,[],0.5],["Land_ChairPlastic_F",[2.81074,4.38033,4.16652],[[0,1,0],[0,0,1]],true,[],1]]]; + + comment 'Unfinished Building (Big)'; + _compData pushBack ["Land_Unfinished_Building_01_F",[["Land_GarbageBarrel_02_F",[-1.77583,0.552984,4.10325],[[1.0989,-0.0491704,0],[0,0,1.1]],true,["a3\props_f_enoch\military\garbage\data\garbagebarrelc_co.paa"],1.1],["Land_GarbageBarrel_02_F",[0.850999,-0.130854,0.603279],[[-1.1,0.00136342,0],[0,0,1.1]],true,["a3\props_f_enoch\military\garbage\data\garbagebarrelc_co.paa"],1.1],["Land_GarbageBarrel_02_F",[0.336106,0.64002,4.10325],[[-1.1,0.00136342,0],[0,0,1.1]],true,["a3\props_f_enoch\military\garbage\data\garbagebarrelc_co.paa"],1.1],["Land_GarbageBarrel_02_F",[-0.354202,0.57105,4.10325],[[1.0989,-0.0491704,0],[0,0,1.1]],true,["a3\props_f_enoch\military\garbage\data\garbagebarrelc_co.paa"],1.1],["Land_GarbageBarrel_02_F",[-1.05049,0.583379,4.10325],[[-1.1,0.00136342,0],[0,0,1.1]],true,["a3\props_f_enoch\military\garbage\data\garbagebarrelc_co.paa"],1.1],["Land_GarbageBarrel_02_F",[0.160691,-0.199824,0.603279],[[1.0989,-0.0491704,0],[0,0,1.1]],true,["a3\props_f_enoch\military\garbage\data\garbagebarrelc_co.paa"],1.1],["Land_GarbageBarrel_02_F",[-1.26094,-0.21789,0.603279],[[1.0989,-0.0491704,0],[0,0,1.1]],true,["a3\props_f_enoch\military\garbage\data\garbagebarrelc_co.paa"],1.1],["Land_GarbageBarrel_02_F",[-0.535598,-0.187495,0.603279],[[-1.1,0.00136342,0],[0,0,1.1]],true,["a3\props_f_enoch\military\garbage\data\garbagebarrelc_co.paa"],1.1],["Land_GarbageBarrel_02_F",[4.05205,-0.0364938,0.603279],[[-1.1,0.00136342,0],[0,0,1.1]],true,["a3\props_f_enoch\military\garbage\data\garbagebarrelc_co.paa"],1.1],["Land_CinderBlocks_F",[-4.33137,2.01282,3.64492],[[0.999858,0.0168198,0],[0,0,1]],true,[],1],["Land_Pallet_vertical_F",[-0.626174,0.348638,0.876294],[[0,0.991503,0.130081],[0,-0.130081,0.991503]],true,[],1],["Land_Garbage_square5_F",[-2.21785,-3.10961,0.203142],[[0,1,0],[0,0,1]],true,[],1],["Land_cargo_addon01_V2_F",[-1.06343,-2.93322,1.2817],[[0,0.307041,1.16005],[0,-1.16005,0.307041]],true,[],1.2],["Land_cargo_addon01_V1_F",[-2.07808,-2.80737,1.23543],[[0,0.250375,1.17359],[0,-1.17359,0.250375]],true,[],1.2],["Land_cargo_addon01_V1_F",[-2.75203,-2.55029,1.20734],[[0.22567,0.000705908,1.17859],[-1.17858,-0.00369093,0.225671]],true,[],1.2],["Land_Bricks_V4_F",[0.92009,-3.45117,3.65755],[[0.0156876,0.999877,0],[0,0,1]],true,[],1],["Land_Bricks_V3_F",[0.523118,-4.0354,0.149358],[[-0.999988,-0.00492267,0],[0,0,1]],true,[],1],["Land_BackAlley_02_l_1m_F",[-5.09822,2.45643,1.49909],[[1.19959,0.00034241,-0.0312448],[0,-1.19993,-0.0131499]],true,[],1.2],["Land_SlumWall_01_s_4m_F",[5.03935,-2.83129,3.88126],[[-0.799651,0.0236341,0],[0,0,0.8]],true,[],0.8],["Land_SlumWall_01_s_4m_F",[3.16972,-5.0603,3.93178],[[0,0.8,0],[0,0,0.8]],true,[],0.8],["Land_SlumWall_01_s_4m_F",[-2.62862,-4.5614,4.37436],[[0,1,0],[0,0,1]],true,[],1],["Land_SlumWall_01_s_4m_F",[-4.91206,-2.46276,4.32943],[[-0.999918,-0.0128059,0],[0,0,1]],true,[],1],["Land_SlumWall_01_s_4m_F",[3.11015,0.0327201,3.90689],[[-0.0131998,-0.799891,0],[0,0,0.8]],true,[],0.8],["Land_SlumWall_01_s_2m_F",[4.91045,-3.4707,0.386137],[[0.999858,0.0168496,0],[0,0,1]],true,[],1],["Land_BagFence_Short_F",[-4.37971,-1.24987,4.79198],[[0.999613,0.0278157,0],[0,0,1]],true,[],1],["Land_BagFence_Short_F",[2.4041,-0.206782,1.24163],[[0,1,0],[0,0,1]],true,[],1],["Land_BagFence_Short_F",[4.80718,-0.895258,3.96401],[[-0.999815,-0.0192447,0],[0,0,1]],true,[],1],["Land_BagFence_Short_F",[0.961106,3.27503,4.7381],[[-0.999779,-0.0210382,0],[0,0,1]],true,[],1],["Land_BagFence_Long_F",[3.23186,-0.230586,3.97462],[[0.00173985,0.999998,0],[0,0,1]],true,[],1],["Land_BagFence_Long_F",[4.76677,-3.12963,3.94991],[[-0.999548,0.0300569,0],[0,0,1]],true,[],1],["Land_BagFence_Long_F",[-0.572829,0.549444,4.75965],[[0.0263905,-0.999652,0],[0,0,1]],true,[],1],["Land_BagFence_Long_F",[-0.0122826,-0.184443,1.22018],[[0.0263905,-0.999652,0],[0,0,1]],true,[],1],["Land_BagFence_Long_F",[3.25273,-4.72753,4.00078],[[0.00173985,0.999998,0],[0,0,1]],true,[],1],["Land_BagFence_Long_F",[-1.86665,-3.99548,4.82788],[[0.00173985,0.999998,0],[0,0,1]],true,[],1],["Land_BagFence_End_F",[-1.93172,-0.239008,-0.13428],[[-0.971771,-0.235927,0],[0,0,1]],true,[],1],["Land_BagFence_End_F",[2.7686,-0.822749,-0.126205],[[0,1,0],[0,0,1]],true,[],1],["Land_BagFence_End_F",[2.98442,-0.894282,-0.154629],[[-0.812081,-0.583545,0],[0,0,1]],true,[],1],["Land_BagFence_End_F",[-4.31697,-2.97998,4.80256],[[-0.998947,-0.045876,0],[0,0,1]],true,[],1],["Land_SandbagBarricade_01_hole_F",[1.13103,1.31605,4.96823],[[0.998787,0.0492304,0],[0,0,1]],true,[],1],["Land_SandbagBarricade_01_half_F",[3.47734,-4.34814,0.670919],[[0.0131145,-0.999914,0],[0,0,1]],true,[],1],["Land_SandbagBarricade_01_half_F",[4.27532,-1.32714,0.670919],[[0.999641,0.0267942,0],[0,0,1]],true,[],1],["Land_SandbagBarricade_01_half_F",[1.09111,3.44605,4.3099],[[0.999641,0.0267942,0],[0,0,1]],true,[],1],["Land_SandbagBarricade_01_half_F",[4.3018,-3.3706,0.670919],[[0.999641,0.0267942,0],[0,0,1]],true,[],1],["Land_SandbagBarricade_01_half_F",[-2.98347,-4.0437,4.26248],[[-0.0828233,-0.996564,0],[0,0,1]],true,[],1],["Land_SandbagBarricade_01_half_F",[-4.38179,-3.39916,4.23265],[[-0.99995,-0.00994791,0],[0,0,1]],true,[],1],["Land_SandbagBarricade_01_half_F",[2.64104,-0.0826364,0.670919],[[0.00314484,0.999995,0],[0,0,1]],true,[],1],["Land_SandbagBarricade_01_half_F",[-4.40681,-1.36022,4.34899],[[-0.99995,-0.00994791,0],[0,0,1]],true,[],1],["Land_SandbagBarricade_01_half_F",[-0.968215,-4.10729,4.25191],[[-0.0216273,-0.999766,0],[0,0,1]],true,[],1],["Land_WoodenBox_02_F",[-4.07893,-0.872187,0.613704],[[0,1,0],[0,0,1]],true,[],1],["Land_cargo_addon02_V2_F",[-1.64839,-2.12207,4.61199],[[-0.023344,1.09975,0],[0,0,1.1]],true,[],1.1],["Land_BagFence_Corner_F",[-3.88557,-3.76696,4.79067],[[-0.062705,-0.997374,0.0362262],[0,0.0362976,0.999341]],true,[],1],["Land_TinWall_01_m_4m_v1_F",[0.385056,-0.606074,0.668415],[[0,1,0],[0,0,1]],true,[],1],["Land_WoodenCrate_01_F",[-0.662063,4.00464,0.485605],[[-0.999942,0.0107283,0],[0,0,1]],true,[],1],["Land_Brick_01_F",[1.47051,-3.62304,0.179165],[[0.67531,0.737534,0],[0,0,1]],true,[],1],["Land_Brick_01_F",[1.24101,-3.67858,0.184144],[[-0.0385335,0.999257,0],[0,0,1]],true,[],1],["Land_Brick_01_F",[-0.051223,-3.18798,0.183556],[[0.666778,-0.745257,0],[0,0,1]],true,[],1],["Land_Brick_01_F",[0.474778,-2.91101,0.183987],[[0.889766,-0.456418,0],[0,0,1]],true,[],1],["Land_Brick_01_F",[0.362473,-3.18676,0.18323],[[-0.635772,-0.771877,0],[0,0,1]],true,[],1],["Land_Brick_01_F",[1.05962,-0.897212,0.180541],[[0.411067,0.911605,0],[0,0,1]],true,[],1],["Land_Brick_01_F",[0.858933,-1.0216,0.185519],[[-0.34881,0.937194,0],[0,0,1]],true,[],1],["Land_Brick_01_F",[0.43364,-0.963374,0.178211],[[-0.97012,-0.242625,0],[0,0,1]],true,[],1],["Land_Brick_01_F",[0.832566,-2.38769,3.671],[[0.364247,0.931302,0],[0,0,1]],true,[],1],["Land_Brick_01_F",[1.14848,-2.55615,3.68088],[[-0.987575,0.157148,0],[0,0,1]],true,[],1],["Land_Brick_01_F",[1.22551,-2.25805,3.67133],[[-0.865446,0.501002,0],[0,0,1]],true,[],1],["Land_Brick_01_F",[0.0588844,-2.53417,3.68608],[[0.347341,-0.937739,0],[0,0,1]],true,[],1],["Land_Brick_01_F",[-0.141677,-2.65917,3.69299],[[-0.41253,-0.910944,0],[0,0,1]],true,[],1],["Land_Brick_01_F",[-0.0235131,-2.59326,3.74938],[[0.909784,0.415083,0],[0,0,1]],true,[],1],["Land_Brick_01_F",[-0.12239,-2.98571,3.69588],[[0.974386,0.224883,0],[0,0,1]],true,[],1],["Land_CinderBlock_01_F",[-3.43623,1.23169,3.75657],[[0.846826,0.53187,0],[0,0,1]],true,[],1],["Land_CinderBlock_01_F",[-4.00606,1.24634,3.73058],[[-0.998895,-0.0470015,-0.000138464],[-0.0470006,0.998887,-0.00387105]],true,[],1],["Land_CinderBlock_01_F",[-3.54158,1.60828,3.73412],[[-0.446186,-0.89494,-0.000118965],[-0.894933,0.446183,-0.00387465]],true,[],1],["Land_CinderBlock_01_F",[-4.42085,3.21387,3.75712],[[0.756773,-0.653678,0],[0,0,1]],true,[],1],["Land_CinderBlock_01_F",[-4.0146,2.97754,3.72622],[[-0.446186,-0.89494,-0.000118965],[-0.894933,0.446183,-0.00387465]],true,[],1],["a3\weapons_f\ammoboxes\proxy_usbasicammoboxbig.p3d",[3.55803,-1.08642,0.310706],[[-0.991909,-0.126953,0],[0,0,1]],true,[],1],["a3\weapons_f\ammoboxes\proxy_usbasicammoboxsmall.p3d",[-0.375686,-3.19018,3.81668],[[-0.195091,0.980785,0],[0,0,1]],true,[],1],["a3\weapons_f\ammoboxes\proxy_usbasicammoboxsmall.p3d",[-0.631545,-3.34741,3.82483],[[0.21307,0.977037,0],[0,0,1]],true,[],1]]]; + + comment 'Stone House (Small, Grey)'; + _compData pushBack ["Land_i_Stone_Shed_V1_F",[["Fridge_01_closed_F",[-2.92929,-1.50939,0.746375],[[-0.00194105,-0.999998,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\cases\dhangar_borwnskrin\dhangar_brownskrin_open.p3d",[0.286405,2.89369,0.247704],[[0,1,0],[0,0,1]],true,[],1],["Land_OfficeCabinet_02_F",[-0.382418,-1.92406,1.00017],[[-0.00796149,0.999968,0],[0,0,1]],true,[],1],["Land_OfficeCabinet_02_F",[-0.384982,-1.7362,1.00448],[[-0.00177583,-0.999998,0],[0,0,1]],true,[],1],["Land_GasTank_01_khaki_F",[1.20962,2.97401,0.575354],[[0.762513,-0.646973,0],[0,0,1]],true,[],1],["Land_Garbage_square3_F",[2.39895,2.15772,0.304609],[[0,1,0],[0,0,1]],true,[],1],["Land_Garbage_square3_F",[0.152128,1.34193,0.294774],[[0,1,0],[0,0,1]],true,[],1],["Land_CanisterPlastic_F",[-0.598117,3.02467,0.522552],[[0.799926,-0.0109046,0],[0,0,0.8]],true,["a3\structures_f\data\accessories\accessories02_co.paa"],0.8],["Land_Rug_01_F",[-2.32639,2.2638,0.258684],[[1.19993,0.0130897,0],[0,0,1.2]],true,["a3\props_f_orange\furniture\data\rug_01_brown_co.paa"],1.2],["Land_Rug_01_F",[2.7521,-1.46923,0.270684],[[-0.499993,-0.0026566,0],[0,0,0.5]],true,["a3\props_f_orange\furniture\data\rug_01_brown_co.paa"],0.5],["Land_RattanChair_01_F",[-1.01303,0.643197,0.808874],[[0.950488,0.310762,0],[0,0,1]],true,[],1],["Land_RattanChair_01_F",[-3.00888,0.612191,0.802181],[[-0.985226,0.171258,0],[0,0,1]],true,[],1],["Land_CratesPlastic_F",[-0.448092,0.444711,2.85613],[[0.999939,0.0110454,0],[0,0,1]],true,[],1],["Land_FlowerPot_01_F",[1.24453,-1.75463,0.364665],[[0,1,0],[0,0,1]],true,[],1],["Land_FlowerPot_01_F",[1.24881,-1.75658,0.444228],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\beds\postel_panelak2.p3d",[-2.37973,2.12147,0.257293],[[-0.999972,-0.00747418,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[3.29226,0.435067,0.596033],[[-0.999957,-0.00922935,0],[0,0,1]],true,[],1],["Land_GasCanister_F",[-0.118624,-1.57299,1.13169],[[1.06199,1.05933,0],[0,0,1.5]],true,[],1.5],["Land_ShelvesWooden_F",[1.76089,-1.68529,0.289606],[[-0.699752,0.0186292,0],[0,0,0.7]],true,[],0.7],["Land_Photoframe_01_F",[-0.738497,3.19923,1.59963],[[0.999993,0.00373497,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\photoframe_random_06_co.paa","a3\props_f_orange\items\decorative\data\photoframe_01_f_co.paa"],1],["Land_Photoframe_01_F",[3.62857,-0.0261143,1.6574],[[-0.00928493,-0.999957,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\photoframe_random_05_co.paa","a3\props_f_orange\items\decorative\data\photoframe_01_f_co.paa"],1],["Leaflet_05_Old_F",[2.25186,1.62147,0.2561],[[0.89079,0.454415,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[1.0856,1.13954,0.253024],[[0.507341,0.861745,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[1.89908,1.75745,0.256176],[[0.954375,0.29861,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[1.5502,1.04725,0.253051],[[-0.708471,0.70574,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[2.02786,1.30189,0.256204],[[0.306729,0.951797,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[1.25808,1.57655,0.252947],[[-0.696675,0.717387,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Land_RattanTable_01_F",[-1.98398,0.422372,0.658282],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[3.0607,0.161386,0.218639],[[-0.999957,-0.00922935,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\light_bathroom\light_bathroom.p3d",[0.12454,0.507821,2.55286],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\bathroom\sink\sink.p3d",[0.506864,-1.6339,1.04601],[[0.00206795,-0.999998,0],[0,0,1]],true,[],1],["OfficeTable_01_old_F",[-0.619479,-1.51855,0.422404],[[-0.00201222,0.999998,-7.07045e-05],[0.0109225,-4.87219e-05,-0.99994]],true,["a3\structures_f_heli\furniture\data\officetable_01_old_co.paa"],1],["OfficeTable_01_old_F",[-0.630099,-1.51659,0.647521],[[0,1,0],[0,0,1]],true,["a3\structures_f_heli\furniture\data\officetable_01_old_co.paa"],1],["OfficeTable_01_old_F",[-1.93161,-1.52074,0.408416],[[-0.00201222,0.999998,-7.07045e-05],[0.0109225,-4.87219e-05,-0.99994]],true,["a3\structures_f_heli\furniture\data\officetable_01_old_co.paa"],1],["OfficeTable_01_old_F",[-1.94223,-1.51671,0.64788],[[0,1,0],[0,0,1]],true,["a3\structures_f_heli\furniture\data\officetable_01_old_co.paa"],1],["Land_Hammer_F",[-0.501071,-1.27135,0.627954],[[0,1,0],[0,0,1]],true,[],1],["Land_Hammer_F",[-1.99289,-1.28356,0.630051],[[0,1,0],[0,0,1]],true,[],1],["Land_Hammer_F",[-0.6561,-1.27624,0.623897],[[0,1,0],[0,0,1]],true,[],1],["Land_Hammer_F",[-1.83786,-1.27868,0.634108],[[0,1,0],[0,0,1]],true,[],1],["Land_Microwave_01_F",[-2.37558,-1.66088,1.16318],[[-0.0171102,-1.3999,0],[0,0,1.4]],true,[],1.4],["a3\structures_f_enoch\furniture\cases\library_a\library_a_open.p3d",[3.45498,1.66969,0.241271],[[-0.999999,0.00117367,0],[0,0,1]],true,[],1],["Land_PaperBox_01_small_ransacked_brown_F",[2.75967,2.64491,0.44245],[[0.640163,0.768239,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_dmg_co.paa"],1],["Land_TableSmall_01_F",[-3.09433,1.92091,0.461426],[[0.799998,0.00198262,0],[0,0,0.8]],true,[],0.8]]]; + _compData pushBack ["Land_i_Stone_Shed_V1_F",[["Fridge_01_closed_F",[3.17544,2.7577,0.736052],[[0.999844,0.0176835,0],[0,0,1]],true,[],1],["Land_GasTank_01_khaki_F",[3.41165,-0.134147,0.580788],[[-0.579207,-0.81518,0],[0,0,1]],true,[],1],["Land_Basket_F",[3.1907,0.580941,0.735327],[[0.880215,0.187674,0],[0,0,0.9]],true,[],0.9],["Land_Rug_01_F",[2.73172,-1.41881,0.257683],[[-0.499993,-0.0026566,0],[0,0,0.5]],true,["a3\props_f_orange\furniture\data\rug_01_brown_co.paa"],0.5],["Land_Rug_01_Traditional_F",[-2.47397,-1.0238,0.25705],[[0.999977,-0.00673274,0],[0,0,1]],true,["a3\props_f_orange\furniture\data\rug_01_traditional_co.paa"],1],["Land_Rug_01_Traditional_F",[-2.62107,1.45521,0.257569],[[-0.00528935,0.999986,0],[0,0,1]],true,["a3\props_f_orange\furniture\data\rug_01_traditional_co.paa"],1],["Land_RattanChair_01_F",[-1.47544,2.78285,0.804881],[[-0.999774,0.0212793,0],[0,0,1]],true,[],1],["Land_RattanChair_01_F",[0.249662,2.81776,0.807723],[[0.999908,-0.0135283,0],[0,0,1]],true,[],1],["Land_Sacks_heap_F",[-1.02829,0.588021,2.96856],[[0,0.9,0],[0,0,0.9]],true,[],0.9],["Land_CratesPlastic_F",[3.19973,1.87196,0.622894],[[-0.799827,-0.0166418,0],[0,0,0.8]],true,[],0.8],["Land_FlowerPot_01_F",[1.34329,-1.69909,1.07798],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[0.894437,-1.4591,0.601166],[[0.0193634,0.999812,0],[0,0,1]],true,[],1],["Land_WoodenCounter_01_F",[3.24258,1.25037,0.726448],[[-0.999821,-0.0188943,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\bathroom\basin_a\basin_a.p3d",[1.86758,3.21717,1.12084],[[0,1,0],[0,0,1]],true,[],1],["Land_Photoframe_01_F",[-3.46128,-1.00304,1.6644],[[-0.00465994,0.999989,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_hub\photoframe_ca.paa","#(rgb,8,8,3)color(0.570408,0.0472131,0.109982,0.147424)"],1],["Land_Photoframe_01_F",[3.63369,1.85804,1.70342],[[0.0175571,-0.999846,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\photoframe_random_02_co.paa","#(rgb,8,8,3)color(0.570408,0.0472131,0.109982,0.147424)"],1],["Land_ChairWood_F",[0.716459,-1.2235,0.239193],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\cases\library_a\library_a.p3d",[-0.49216,-1.67589,0.242011],[[0.00654448,0.999979,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\beds\postel_panelak1.p3d",[-2.45175,-1.80358,0.268],[[-0.999981,0.00618519,0],[0,0,1]],true,[],1],["Land_RattanTable_01_F",[-0.658541,2.79286,0.64334],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\decoration\flowers\flower_01.p3d",[-3.13352,2.95008,0.243081],[[0,1,0],[0,0,1]],true,[],1],["Land_TableSmall_01_F",[-3.09262,-0.633414,0.418936],[[0.799704,0.0217651,0],[0,0,0.8]],true,[],0.8],["Land_Tombstone_06_F",[0.614652,-1.84215,1.63912],[[0,0.3,0],[0,0,0.3]],true,[],0.3],["a3\structures_f_enoch\furniture\lighting\light_bathroom\light_bathroom.p3d",[0.106351,0.657357,2.54828],[[0,1,0],[0,0,1]],true,[],1],["Land_Sofa_01_F",[-3.09128,1.42762,0.728402],[[0.999902,-0.0139817,0],[0,0,1]],true,[],1],["Land_BarrelEmpty_grey_F",[0.225003,0.309457,0.655467],[[0,1,0],[0,0,1]],true,[],1],["Land_CanisterPlastic_F",[-3.14975,0.00379288,0.525264],[[0,0.9,0],[0,0,0.9]],true,["a3\structures_f\data\accessories\accessories02_co.paa"],0.9],["Land_CanisterFuel_F",[1.60574,-1.60754,0.518064],[[0.997949,-0.0640155,0],[0,0,1]],true,["a3\structures_f\items\vessels\data\canisterfuel_co.paa"],1]]]; + _compData pushBack ["Land_i_Stone_Shed_V1_F",[["Land_Cross_01_small_F",[-2.64829,3.20496,1.82416],[[0,0.5,0],[0,0,0.5]],true,[],0.5],["Land_OfficeCabinet_02_F",[-0.495333,3.01209,1.0165],[[0,1,0],[0,0,1]],true,[],1],["Land_GasTank_01_khaki_F",[3.48062,3.01307,0.579051],[[-0.85444,-0.519549,0],[0,0,1]],true,[],1],["Land_Basket_F",[3.22061,-0.233024,0.576822],[[-0.982481,-0.186361,0],[0,0,1]],true,[],1],["Land_Sack_F",[0.0808384,-1.51842,0.566654],[[0.434669,0.671612,0],[0,0,0.8]],true,[],0.8],["Land_ShelvesWooden_blue_F",[3.35794,0.614877,0.76179],[[0,1,0],[0,0,1]],true,[],1],["Land_Rug_01_F",[2.80252,-1.44396,0.249956],[[0.49992,-0.00894444,0],[0,0,0.5]],true,["a3\props_f_orange\furniture\data\rug_01_brown_co.paa"],0.5],["Land_Rug_01_Traditional_F",[1.25064,2.46107,0.286683],[[0.999882,0.0153408,0],[0,0,1]],true,["a3\props_f_orange\furniture\data\rug_01_traditional_co.paa"],1],["Land_Rug_01_F",[-2.13816,-0.690299,0.267683],[[1.29979,-0.0232555,0],[0,0,1.3]],true,["a3\props_f_orange\furniture\data\rug_01_brown_co.paa"],1.3],["a3\structures_f_enoch\furniture\bathroom\basin_a\basin_a.p3d",[3.6365,2.21082,1.14603],[[0.999852,0.0171926,0],[0,0,1]],true,[],1],["Land_WoodenTable_small_F",[1.25027,2.63392,0.666641],[[0.999885,-0.0151925,0],[0,0,1]],true,[],1],["Land_Photoframe_01_F",[-0.415377,-1.83898,1.6464],[[-0.999989,0.00476519,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\photoframe_random_03_co.paa","#(rgb,8,8,3)color(0.371328,0.662461,0.0496605,0.197776)"],1],["Land_TableDesk_F",[1.2106,-1.51549,0.0762829],[[-0.00588108,-0.999983,0.000233589],[0.00253803,-0.000248519,-0.999997]],true,[],1],["Land_TableDesk_F",[1.19864,-1.51183,0.656115],[[-0.00782395,-0.999969,0],[0,0,1]],true,[],1],["Land_ChairWood_F",[1.9595,2.66639,0.247744],[[0.980817,0.194932,0],[0,0,1]],true,[],1],["Land_ChairWood_F",[0.496244,2.72718,0.241281],[[-0.995717,0.0924507,0],[0,0,1]],true,[],1],["Land_ChairWood_F",[1.03274,1.95521,0.239205],[[-0.324905,-0.945747,0],[0,0,1]],true,[],1],["Land_TableSmall_01_F",[-2.92343,0.457894,0.439993],[[0.899976,0.00651871,0],[0,0,0.9]],true,[],0.9],["Land_WoodenBed_01_F",[-2.30576,-0.780387,0.704843],[[-0.999911,0.0133112,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\light_bathroom\light_bathroom.p3d",[0.13162,0.489144,2.56355],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\decoration\box_c\box_c.p3d",[3.35196,1.47425,0.48619],[[-0.799982,0.00544558,0],[0,0,0.8]],true,[],0.8],["Land_Hammer_F",[1.15823,-1.22814,0.692496],[[-0.00528649,0.999986,0],[0,0,1]],true,[],1],["Land_Hammer_F",[1.27115,-1.2318,0.692932],[[-0.00528649,0.999986,0],[0,0,1]],true,[],1],["Land_Bucket_painted_F",[-1.09189,3.01502,0.387014],[[0,1,0],[0,0,1]],true,[],1],["Land_ArmChair_01_F",[-2.73142,2.50843,0.743801],[[0.782497,-0.622655,0],[0,0,1]],true,[],1],["Land_TinWall_01_m_pole_F",[2.04446,-1.16881,0.0550221],[[0,1,0],[0,0,1]],true,[],1],["Land_TinWall_01_m_pole_F",[0.362333,-1.15221,0.0618528],[[0,1,0],[0,0,1]],true,[],1],["Land_Microwave_01_F",[0.591459,-1.65832,1.17953],[[-0.0565881,-1.39886,0],[0,0,1.4]],true,[],1.4],["Land_FlowerPot_01_Flower_F",[-2.86399,1.78578,1.02982],[[0,1,0],[0,0,1]],true,[],1],["Land_GasCanister_F",[0.91055,-1.77257,1.15132],[[1.06199,1.05933,0],[0,0,1.5]],true,[],1.5]]]; + + comment 'Shop House (Abandoned)'; + _compData pushBack ["Land_u_Shop_01_V1_F",[["Land_Garbage_line_F",[-0.772129,1.74795,0.327147],[[-0.999912,0.0132463,0],[0,0,1]],true,[],1],["UserTexture1m_F",[-1.73941,-4.16416,0.295137],[[0.00295778,-0.0167474,-0.999855],[-0.999896,0.014056,-0.00319333]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["UserTexture1m_F",[-2.72367,-4.13852,0.295137],[[-0.00579189,0.0159897,-0.999855],[0.987435,0.15799,-0.00319336]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["UserTexture1m_F",[-0.704502,-4.1832,0.295137],[[-0.0169104,0.00180272,-0.999855],[0.290814,0.956774,-0.00319345]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["a3\structures_f_enoch\furniture\kitchen\dkamna_uhli\dkamna_uhli.p3d",[1.33627,1.71695,4.12342],[[0.99999,0.00437464,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\class_case_b_closed.p3d",[-0.252842,1.22793,-0.453518],[[-0.000279037,-1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\class_case_b_closed.p3d",[0.936001,1.21109,-0.457178],[[-0.000279037,-1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\various\workbench_dz.p3d",[0.195644,0.838774,0.743702],[[-0.00290587,-0.899995,0],[0,0,0.9]],true,[],0.9],["a3\structures_f_enoch\furniture\various\workbench_dz.p3d",[0.19479,0.777739,0.70171],[[-0.00294707,0.00273053,-0.899991],[0,-0.899996,-0.00273054]],true,[],0.9],["a3\structures_f_enoch\furniture\various\workbench_dz.p3d",[-0.512852,0.842192,0.00618458],[[0.00162674,-0.899994,-0.00293758],[-0.899998,-0.00162201,-0.00144916]],true,[],0.9]]]; + _compData pushBack ["Land_u_Shop_01_V1_F",[["a3\structures_f_enoch\furniture\various\debris_small_house.p3d",[-1.33695,-0.304292,0.277889],[[0.52906,0.60008,0],[0,0,0.8]],true,[],0.8],["a3\structures_f_enoch\furniture\various\dirtpile_small_house.p3d",[0.895596,3.02481,0.278878],[[0.111328,0.792216,0],[0,0,0.8]],true,[],0.8],["Land_Garbage_square3_F",[0.550503,-0.524751,0.28702],[[0,1,0],[0,0,1]],true,[],1],["Land_Sack_F",[3.52206,2.95474,0.626273],[[0.792338,0.110453,0],[0,0,0.8]],true,[],0.8],["Land_Garbage_line_F",[0.204922,3.65323,0.337229],[[-0.999996,0.00277584,0],[0,0,1]],true,[],1],["Land_Garbage_square5_F",[-2.05582,-2.72812,0.307727],[[0,1,0],[0,0,1]],true,[],1],["Land_CratesPlastic_F",[0.0841942,1.08609,0.990297],[[-0.0158401,0.799843,0],[0,0,0.8]],true,[],0.8],["a3\structures_f_enoch\furniture\school_equipment\school_clock.p3d",[1.93698,1.871,2.17361],[[1,0.000935705,0],[0,0,1]],true,[],1],["Land_ShelvesMetal_F",[-0.449741,4.55875,0.242929],[[0.999999,-0.00143942,0],[0,0,1]],true,[],1],["Land_ShelvesMetal_F",[-3.75174,-1.21225,0.249454],[[0,1,0],[0,0,1]],true,[],1],["Land_ShelvesMetal_F",[-3.7471,-3.24814,0.254372],[[0,1,0],[0,0,1]],true,[],1],["Land_ShelvesMetal_F",[1.87692,-0.510103,0.258722],[[0,1,0],[0,0,1]],true,[],1],["Land_ShelvesMetal_F",[1.87863,-2.54868,0.258925],[[0,1,0],[0,0,1]],true,[],1],["Land_ShelvesMetal_F",[-2.48587,4.55704,0.247846],[[0.999999,-0.00143942,0],[0,0,1]],true,[],1],["Land_ShelvesWooden_F",[1.60519,1.923,0.754296],[[0,1,0],[0,0,1]],true,[],1],["Land_PaperBox_01_small_destroyed_brown_F",[-2.76334,-4.42905,0.486536],[[0,1,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_destroyed_co.paa"],1],["Land_PaperBox_01_small_destroyed_brown_F",[3.2037,1.80411,0.51901],[[0,1,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_destroyed_co.paa"],1],["Land_PaperBox_01_small_destroyed_brown_F",[0.783047,1.07632,0.483041],[[0,1,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_destroyed_co.paa"],1],["Land_Metal_wooden_rack_F",[3.07589,1.85464,1.26959],[[0,1,0],[0,0,1]],true,[],1],["Land_GarbageHeap_04_F",[1.01925,2.98062,0.605011],[[0.0179218,-0.699771,0],[0,0,0.7]],true,[],0.7],["Land_CashDesk_F",[0.44418,1.02286,1.29624],[[-7.01824e-05,1,-7.00887e-05],[-0.00133654,-7.01824e-05,-0.999999]],true,[],1],["Land_CashDesk_F",[0.752041,1.77872,-0.747],[[-0.825548,0.564262,0.00889044],[0.0107685,0,0.999942]],true,[],1],["UserTexture1m_F",[-0.070713,-4.0958,0.303085],[[-0.0169104,0.00180272,-0.999855],[0.290814,0.956774,-0.00319345]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["UserTexture1m_F",[-1.10563,-4.07675,0.303085],[[0.00295778,-0.0167474,-0.999855],[-0.999896,0.014056,-0.00319333]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["UserTexture1m_F",[-2.08988,-4.05112,0.303085],[[-0.00579189,0.0159897,-0.999855],[0.987435,0.15799,-0.00319336]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["Land_Icebox_F",[-1.36454,1.0917,0.873907],[[0,1,0],[0,0,1]],true,[],1],["Land_PaperBox_01_small_ransacked_brown_F",[-2.92887,-1.55429,0.47119],[[-0.999495,-0.0317681,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_dmg_co.paa"],1],["Land_PaperBox_01_small_ransacked_brown_F",[0.981777,-0.180024,0.449473],[[-0.674598,-0.738185,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_dmg_co.paa"],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[-1.75199,2.8002,3.62624],[[-0.999999,-0.00151617,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[-0.894566,-1.95615,3.61967],[[0,1,0],[0,0,1]],true,[],1],["Land_VergeRock_01_F",[-2.66495,-2.64633,0.284521],[[-0.39752,-0.0439955,-0.00648581],[-0.0178872,0.104771,0.38562]],true,[],0.4],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v2.p3d",[3.61776,4.33853,0.258574],[[0.999966,-0.00823807,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v2.p3d",[3.64315,3.93326,0.261747],[[0.999966,-0.00823807,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\kitchen\dkamna_uhli\dkamna_uhli.p3d",[1.31967,1.7731,4.14972],[[0.99999,0.00437464,0],[0,0,1]],true,[],1]]]; + _compData pushBack ["Land_u_Shop_01_V1_F",[["a3\structures_f_enoch\furniture\various\debris_small_house.p3d",[-2.67521,-0.415132,0.267045],[[0.368318,-0.71017,0],[0,0,0.8]],true,[],0.8],["a3\structures_f_enoch\furniture\various\debris_small_house.p3d",[-0.800816,-3.45126,0.273886],[[-0.781422,0.171407,0],[0,0,0.8]],true,[],0.8],["a3\structures_f_enoch\furniture\various\debris_small_house.p3d",[-2.55045,0.953276,4.143],[[0.379283,0.704375,0],[0,0,0.8]],true,[],0.8],["a3\structures_f_enoch\furniture\various\dirtpile_small_house.p3d",[1.30502,-2.70737,4.15173],[[-0.694914,0.0842294,0],[0,0,0.7]],true,[],0.7],["a3\structures_f_enoch\furniture\various\dirtpile_small_house.p3d",[0.593472,0.531646,0.255589],[[0,1,0],[0,0,1]],true,[],1],["Land_Garbage_line_F",[0.812954,1.65738,0.310113],[[-0.99991,-0.0134028,0],[0,0,1]],true,[],1],["Land_Garbage_square5_F",[-1.8566,2.15811,0.315118],[[0,1,0],[0,0,1]],true,[],1],["Land_Garbage_square5_F",[-1.89188,-2.33408,0.310339],[[0,1,0],[0,0,1]],true,[],1],["Land_RattanChair_01_F",[-3.14518,-0.723237,0.828212],[[-0.129936,0.991522,0],[0,0,1]],true,[],1],["Land_RattanChair_01_F",[-2.14225,-0.742036,0.820119],[[0.284307,0.958733,0],[0,0,1]],true,[],1],["Land_RattanChair_01_F",[-1.51871,-3.16293,0.579264],[[0.688608,-0.72073,-0.0798027],[0.724714,0.687776,0.0418855]],true,[],1],["Land_RattanChair_01_F",[-2.08158,-2.45834,0.812113],[[0.148871,-0.988857,0],[0,0,1]],true,[],1],["Land_RattanChair_01_F",[-3.35086,-2.62412,0.564744],[[-0.969944,-0.22987,-0.0798034],[0.227139,-0.972961,0.0418844]],true,[],1],["Land_CratesPlastic_F",[-1.52103,1.93448,1.01829],[[0.799997,-0.00205257,0],[0,0,0.8]],true,[],0.8],["Land_BarrelTrash_grey_F",[-0.714878,4.27505,0.646249],[[0,1,0],[0,0,1]],true,[],1],["Land_ShelvesMetal_F",[1.69442,1.6525,0.243374],[[0,1,0],[0,0,1]],true,[],1],["Land_ShelvesWooden_F",[-3.37748,4.3129,0.414413],[[-0.999982,0.0060245,0],[0,0,1]],true,[],1],["Land_ShelvesWooden_F",[-3.37528,4.31412,1.32953],[[-0.999982,0.0060245,0],[0,0,1]],true,[],1],["Land_ShelvesWooden_F",[-2.42521,4.28775,0.420074],[[-0.999982,0.0060245,0],[0,0,1]],true,[],1],["Land_ShelvesWooden_F",[-1.4755,4.29043,0.415926],[[-0.999982,0.0060245,0],[0,0,1]],true,[],1],["Land_ShelvesWooden_F",[-2.42301,4.28897,1.33519],[[-0.999982,0.0060245,0],[0,0,1]],true,[],1],["Land_ShelvesWooden_F",[-1.4733,4.29166,1.33104],[[-0.999982,0.0060245,0],[0,0,1]],true,[],1],["Land_PaperBox_01_small_destroyed_brown_F",[0.852016,0.966704,0.497311],[[0.0390854,0.999236,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_destroyed_co.paa"],1],["Land_CashDesk_F",[-1.60013,1.58194,1.27707],[[0.999983,0.00576532,-6.93135e-05],[-7.42984e-05,0.000864418,-1]],true,[],1],["Land_CashDesk_F",[-1.17203,0.913726,1.27787],[[-6.85135e-05,1,-6.9408e-05],[-0.000864422,-6.94672e-05,-0.999999]],true,[],1],["Land_CashDesk_F",[0.45956,0.902007,1.27694],[[-3.13201e-05,1,-3.12168e-05],[-0.0033025,-3.13201e-05,-0.999995]],true,[],1],["Land_CashDesk_F",[-2.66153,2.0834,-0.765307],[[-0.653151,-0.757227,3.49148e-05],[-0.00133365,0.00119645,0.999998]],true,[],1],["UserTexture1m_F",[-2.72074,-4.15463,0.29167],[[-0.00579189,0.0159897,-0.999855],[0.987435,0.15799,-0.00319336]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["UserTexture1m_F",[-0.701572,-4.19931,0.291669],[[-0.0169104,0.00180272,-0.999855],[0.290814,0.956774,-0.00319345]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["UserTexture1m_F",[-1.73648,-4.18027,0.291669],[[0.00295778,-0.0167474,-0.999855],[-0.999896,0.014056,-0.00319333]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["Land_Photoframe_01_broken_F",[-3.44132,-1.4581,1.14017],[[-0.32848,0.944511,0],[0,0,1]],true,["a3\props_f_orange\items\decorative\data\photos_camo_co.paa","a3\props_f_orange\items\decorative\data\photoframe_01_f_co.paa"],1],["a3\structures_f_enoch\furniture\kitchen\dkamna_uhli\dkamna_uhli.p3d",[1.33505,1.75674,4.16412],[[0.99999,0.00437464,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\kitchen\dkamna_uhli\dkamna_uhli.p3d",[2.99716,2.15982,0.288951],[[0.00660454,-0.999978,0],[0,0,1]],true,[],1],["Land_TableBig_01_F",[-2.76688,-3.68662,0.74755],[[0,0.0730138,0.997331],[0,-0.997331,0.0730138]],true,[],1],["Land_TableBig_01_F",[-2.73709,-1.53623,0.689763],[[-0.0170123,-0.999855,0],[0,0,1]],true,[],1],["Land_VergeRock_01_F",[-0.494663,-1.7457,0.302244],[[0.392873,-0.0440032,-0.0609484],[-0.0476943,0.10477,-0.383078]],true,[],0.4],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[-1.02152,-0.746919,3.62247],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[0.507046,3.55459,3.62269],[[-0.999959,-0.00900239,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\lab_teacher_bench.p3d",[1.06039,2.94913,0.25346],[[-0.0194583,-0.89979,0],[0,0,0.9]],true,[],0.9],["a3\structures_f_enoch\furniture\school_equipment\lab_teacher_bench.p3d",[-0.234409,3.62833,0.312794],[[-0.0194984,0.899709,0.0120139],[0,0.0120167,-0.89992]],true,[],0.9],["Land_OfficeCabinet_02_F",[1.45224,2.81778,0.317779],[[-0.000974995,-2.51234e-05,1],[-0.999999,0.000915172,-0.000974971]],true,[],1],["Land_OfficeCabinet_02_F",[0.811489,2.82266,0.456332],[[0.00100033,3.09087e-05,0.999999],[0.999822,-0.0188238,-0.000999575]],true,[],1]]]; + + comment 'Shop (White)'; + _compData pushBack ["Land_i_Shop_02_V1_F",[["a3\structures_f_enoch\furniture\school_equipment\lab_sink.p3d",[3.85577,-2.05753,4.32229],[[-0.999804,0.0197848,0],[0,0,1]],true,[],1],["Fridge_01_closed_F",[0.818902,-3.53091,4.84312],[[-0.0011681,-0.999999,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\cases\dhangar_borwnskrin\dhangar_brownskrin_open.p3d",[4.02679,2.14853,4.35456],[[0.999998,0.00190368,0],[0,0,1]],true,[],1],["Land_Metal_rack_Tall_F",[1.67889,-3.75796,0.475211],[[-0.00314029,-0.999995,0],[0,0,1]],true,[],1],["Land_Metal_rack_Tall_F",[2.44439,-3.75967,0.480385],[[-0.00314029,-0.999995,0],[0,0,1]],true,[],1],["Land_Metal_rack_Tall_F",[0.153375,-3.74844,0.470865],[[-0.00314029,-0.999995,0],[0,0,1]],true,[],1],["Land_Metal_rack_Tall_F",[0.918878,-3.75015,0.476039],[[-0.00314029,-0.999995,0],[0,0,1]],true,[],1],["Land_GasTank_01_khaki_F",[-2.07368,-3.3837,0.827431],[[0.991604,-0.129308,0],[0,0,1]],true,[],1],["Land_GasTank_01_khaki_F",[-2.34296,-3.65543,0.822346],[[-0.997333,0.0729852,0],[0,0,1]],true,[],1],["Land_CanisterFuel_Red_F",[-2.85871,3.12949,0.757455],[[0.998324,0.0578739,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\canisterfuel_red_co.paa"],1],["a3\structures_f_enoch\furniture\cases\metalcrate\metalcrate.p3d",[-4.45661,1.80429,4.34874],[[0.999975,-0.00700191,0],[0,0,1]],true,[],1],["Land_FireExtinguisher_F",[-1.89106,3.65927,0.87216],[[0.558548,-0.829472,0],[0,0,1]],true,[],1],["Land_Garbage_square3_F",[-2.07966,3.82919,0.545661],[[0,1,0],[0,0,1]],true,[],1],["Land_Garbage_square3_F",[-3.3968,-1.91153,0.537688],[[-0.485434,-0.874273,-1.33645e-07],[0.0105387,-0.00585169,0.999927]],true,[],1],["Land_Garbage_square3_F",[2.17742,1.57407,4.40059],[[0,1,0],[0,0,1]],true,[],1],["Land_CanisterPlastic_F",[2.52532,2.69077,0.818457],[[0.999514,0.0311705,0],[0,0,1]],true,["a3\structures_f\data\accessories\accessories02_co.paa"],1],["Land_Garbage_line_F",[-3.96882,2.35336,0.54751],[[0,1,0],[0,0,1]],true,[],1],["Land_Garbage_square5_F",[0.777887,0.682465,0.525443],[[0,0.999999,-0.00154408],[0.00265199,0.00154407,0.999995]],true,[],1],["Land_ShelvesWooden_blue_F",[0.0109189,-3.52139,4.86405],[[-0.999652,-0.0263749,0],[0,0,1]],true,[],1],["Land_Rug_01_F",[-4.39094,-2.57413,0.49757],[[0,0.5,0],[-0.00602997,0,0.499964]],true,["a3\props_f_orange\furniture\data\rug_01_brown_co.paa"],0.5],["Land_Rug_01_Traditional_F",[-3.70124,-2.08121,4.35947],[[-1.5,-0.000418162,0],[0,0,1.5]],true,["a3\props_f_orange\furniture\data\rug_01_traditional_co.paa"],1.5],["Land_Rug_01_Traditional_F",[0.845269,-0.655914,4.36268],[[-1.3,-0.000362407,0],[0,0,1.3]],true,["a3\props_f_orange\furniture\data\rug_01_traditional_co.paa"],1.3],["Land_RattanChair_01_F",[0.351861,-1.53726,4.92492],[[-0.00954098,-0.999954,0],[0,0,1]],true,[],1],["Land_RattanChair_01_F",[1.45257,0.273285,4.92627],[[0,1,0],[0,0,1]],true,[],1],["Land_RattanChair_01_F",[1.46319,-1.52725,4.92115],[[-0.00954098,-0.999954,0],[0,0,1]],true,[],1],["Land_RattanChair_01_F",[0.341363,0.252778,4.9225],[[0,1,0],[0,0,1]],true,[],1],["Land_FlowerPot_01_F",[0.303155,-3.59512,5.43996],[[0,1,0],[0,0,1]],true,[],1],["Land_BarrelTrash_grey_F",[-1.03486,-3.45328,0.873426],[[0,1,0],[0,0,1]],true,[],1],["Land_File1_F",[-1.961,-3.37711,5.19788],[[0.709933,0.70427,0],[0,0,1]],true,["#(argb,8,8,3)color(0.835294,0,0,0.0,ca)"],1],["Land_Photos_V2_F",[4.91827,2.79819,3.63391],[[-0.000488924,0.115128,0.993351],[1,5.33983e-05,0.000486008]],true,["a3\data_f\flags\flag_altis_co.paa"],1],["a3\structures_f_exp\signs\companies\attachedsign_03_v1_f.p3d",[4.88226,0.777192,3.771],[[0.599995,0.00250276,0],[0,0,0.6]],true,[],0.6],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[3.95599,-0.655914,4.74413],[[-0.00491949,-6.25551e-05,0.999988],[-0.999888,0.0141097,-0.00491811]],true,[],1],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[3.96587,-1.9899,4.7675],[[0.999921,-0.0124877,-0.00151488],[0.00148183,-0.00265533,0.999995]],true,[],1],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[3.93401,-1.99429,4.74073],[[-0.00491949,-6.25551e-05,0.999988],[-0.999888,0.0141097,-0.00491811]],true,[],1],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[3.97027,-0.619293,4.77633],[[0.00490891,3.25441e-05,0.999988],[0.999952,-0.00842148,-0.00490846]],true,[],1],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[3.9876,-0.651519,4.7709],[[0.999921,-0.0124877,-0.00151488],[0.00148183,-0.00265533,0.999995]],true,[],1],["a3\structures_f_enoch\furniture\bathroom\basin_a\basin_a.p3d",[-0.725043,4.49081,1.3337],[[0.999839,-0.0179332,0],[0,0,1]],true,[],1],["Land_ShelvesWooden_F",[-4.52924,-1.37149,0.60658],[[0,1,0],[-0.0120545,0,0.999927]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\class_case_b_closed.p3d",[0.598565,2.31943,-0.0971777],[[0,0.899999,-0.0013823],[0.00238765,0.0013823,0.899996]],true,[],0.9],["a3\structures_f_enoch\furniture\school_equipment\class_case_b_closed.p3d",[1.65691,2.30893,-0.096462],[[0,0.899999,-0.0013823],[0.00238765,0.0013823,0.899996]],true,[],0.9],["a3\structures_f_enoch\furniture\school_equipment\class_case_b_closed.p3d",[3.9671,-0.59439,4.13822],[[0.999994,0.00314484,-0.00151791],[0.00152618,-0.00262958,0.999995]],true,[],1],["Land_PlasticBucket_01_open_F",[-4.30561,4.97568,0.707206],[[0,1,0],[0,0,1]],true,[],1],["Land_PaperBox_01_small_destroyed_brown_F",[-4.5561,1.72397,1.26173],[[0.999375,0.0353536,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_destroyed_co.paa"],1],["Land_PaperBox_01_small_destroyed_brown_F",[-4.5644,2.89999,1.75322],[[-0.999945,0.0104985,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_destroyed_co.paa"],1],["Land_PaperBox_01_small_destroyed_brown_F",[-3.6634,4.73129,0.693546],[[0.353892,-0.935286,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_destroyed_co.paa"],1],["Land_PaperBox_01_small_destroyed_brown_F",[-4.5362,4.07211,0.765],[[0.999375,0.0353536,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_destroyed_co.paa"],1],["Leaflet_05_Old_F",[1.30377,1.75131,4.37289],[[-0.533503,0.845798,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[2.08563,1.3558,4.37011],[[-0.939542,-0.342433,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[1.93572,2.33554,4.37671],[[0.773424,-0.633889,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[2.41973,2.8309,4.37109],[[-0.969337,-0.245736,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[1.24102,2.39413,4.37649],[[-0.63056,-0.77614,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Land_Metal_wooden_rack_F",[-4.53901,2.94858,1.47101],[[0.999999,0.00156132,0],[0,0,1]],true,[],1],["Land_Metal_wooden_rack_F",[-4.53217,4.07431,1.47283],[[0.999999,0.00156132,0],[0,0,1]],true,[],1],["Land_Metal_wooden_rack_F",[-4.5489,1.82773,1.47108],[[0.999999,0.00156132,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\various\soustruh_proxy.p3d",[-2.16657,-1.27945,1.10422],[[-0.0133516,0.8999,-0.00139408],[0.00237177,0.00142942,0.899996]],true,[],0.9],["Land_TableDesk_F",[-1.48261,-3.44571,4.77249],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_orange\signs\special\wallsign_01_f.p3d",[-1.49592,-1.50088,1.65956],[[-0.999986,-0.00504598,-0.00154408],[-0.00155744,0.00264416,0.999995]],true,[],1],["a3\structures_f_orange\signs\special\wallsign_01_f.p3d",[-1.49409,0.29892,1.65551],[[-0.99996,0.00874546,-0.00154408],[-0.00152083,0.00266539,0.999995]],true,[],1],["Land_ToolTrolley_01_F",[-2.30842,3.14096,0.962726],[[-0.999951,0.00994254,0],[0,0,1]],true,[],1],["Land_WoodenCrate_01_F",[-0.353827,2.84311,4.70656],[[-0.999958,0.00911241,0],[0,0,1]],true,[],1],["Land_CashDesk_F",[1.22479,-2.13248,0.485622],[[0.0124009,-0.999922,-0.00153299],[-0.00263271,-0.00156575,0.999995]],true,[],1],["Land_CashDesk_F",[3.31463,-2.76797,1.49643],[[-0.999854,-0.017015,0.00175994],[-0.00172005,-0.00235876,-0.999996]],true,[],1],["Land_CashDesk_F",[2.86907,-2.11514,1.49646],[[0.0127226,-0.999917,0.00189872],[0.00228816,-0.00186976,-0.999996]],true,[],1],["Land_TableSmall_01_F",[-4.29499,-3.52725,4.55899],[[0.999831,-0.0183609,0],[0,0,1]],true,[],1],["Land_WoodenBed_01_F",[-3.71882,-2.04947,4.80877],[[-1,0.000579055,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[-1.34736,-2.87857,4.35787],[[0.189947,0.981794,0],[0,0,1]],true,[],1],["Land_WallSign_01_chalkboard_F",[-1.48591,-3.91788,5.81566],[[0.000814053,-1,3.49313e-07],[0.012054,1.01619e-05,0.999927]],true,["a3\structures_f_orange\signs\special\data\wallsign_01_f_chalkboard_co.paa","a3\structures_f_orange\signs\special\data\wallsign_01_f_chalkboard_co.paa"],1],["a3\structures_f_enoch\furniture\kitchen\dkamna_uhli\dkamna_uhli.p3d",[3.10015,-2.99063,4.34796],[[0.00564134,-0.999984,0],[0,0,1]],true,[],1],["Land_Hammer_F",[3.7221,-0.626373,4.77362],[[-0.999916,0.0129326,0],[0,0,1]],true,[],1],["Land_Hammer_F",[3.70965,-1.95059,4.77367],[[-0.999916,0.0129326,0],[0,0,1]],true,[],1],["Land_Hammer_F",[3.72064,-0.695709,4.77362],[[-0.999916,0.0129326,0],[0,0,1]],true,[],1],["Land_Hammer_F",[3.70818,-2.01895,4.77367],[[-0.999916,0.0129326,0],[0,0,1]],true,[],1],["Land_TableBig_01_F",[0.899469,-0.613922,4.79248],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[-3.20014,3.26791,6.29696],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[0.841974,-0.62564,6.29348],[[0,1,0],[0,0,1]],true,[],1],["Land_WoodPile_F",[2.36712,-3.63077,4.5103],[[0.499881,0.0109121,0],[0,0,0.5]],true,[],0.5],["Land_PaperBox_01_small_ransacked_brown_F",[-4.53913,0.38144,0.696526],[[0.999935,-0.000682592,0.0113674],[-0.0113674,7.75793e-06,0.999935]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_dmg_co.paa"],1],["Land_PaperBox_01_small_ransacked_brown_F",[-4.46088,4.01791,1.26437],[[-0.998963,-0.0455258,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_dmg_co.paa"],1],["Land_Saw_F",[2.53936,-1.16544,0.497113],[[-0.731293,0.682064,0],[0,0,1]],true,[],1],["Land_BarrelTrash_F",[1.34014,-3.50503,4.6207],[[0,0.7,0],[0,0,0.7]],true,[],0.7],["Land_Notepad_F",[-0.892646,-3.33853,5.19924],[[0.928839,0.37042,-0.00692227],[0.00885934,-0.00352827,0.999954]],true,["#(argb,8,8,3)color(0.835294,0,0,0.0,ca)"],1],["Land_Workbench_01_F",[-4.35529,3.3707,4.83601],[[-0.999979,0.00649942,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\various\workbench.p3d",[-1.10041,-0.89151,0.485372],[[0,0.9,0],[0,0,0.9]],true,[],0.9],["a3\structures_f_enoch\furniture\various\workbench_dz.p3d",[1.12835,2.70419,0.943278],[[0,0.899999,-0.0013823],[0.00238765,0.0013823,0.899996]],true,[],0.9],["a3\structures_f_enoch\furniture\various\workbench_dz.p3d",[1.84564,2.71152,0.21482],[[-0.00137719,0.899999,-3.46541e-05],[0.899979,0.00137693,-0.00595588]],true,[],0.9],["a3\structures_f_enoch\furniture\various\workbench_dz.p3d",[0.423761,2.75546,0.196745],[[0.00139342,0.899999,3.63708e-05],[-0.89998,0.00139315,0.00587846]],true,[],0.9],["Land_DrillAku_F",[-0.237494,0.859467,0.527374],[[0.556016,0.831172,9.50973e-06],[-0.831165,0.556011,-0.00398166]],true,[],1]]]; + _compData pushBack ["Land_i_Shop_02_V1_F",[["Fridge_01_closed_F",[0.781305,-3.51163,4.8315],[[0.00662122,-0.999978,0],[0,0,1]],true,[],1],["Land_OfficeCabinet_02_F",[-1.69819,-3.98819,4.8445],[[0.0186041,0.999827,0],[0,0,1]],true,[],1],["Land_OfficeCabinet_02_F",[-0.903754,-4.00284,4.84266],[[0.0186,0.999827,0],[0,0,1]],true,[],1],["Land_OfficeCabinet_02_F",[-1.69599,-3.80069,4.84153],[[0.00249258,-0.999997,0],[0,0,1]],true,[],1],["Land_OfficeCabinet_02_F",[-0.318183,-3.60928,4.3455],[[-0.000488671,-0.000593185,-1],[-1,-5.95667e-08,0.000488671]],true,[],1],["Land_OfficeCabinet_02_F",[-1.37116,-3.60831,4.3115],[[-0.000488671,-0.000593185,-1],[-1,-5.95667e-08,0.000488671]],true,[],1],["Land_OfficeCabinet_02_F",[-0.905219,-3.79825,4.8435],[[0.00249591,-0.999997,0],[0,0,1]],true,[],1],["Land_GasTank_01_khaki_F",[4.14654,-0.15689,4.6981],[[-0.876802,-0.480851,0],[0,0,1]],true,[],1],["Land_ChairPlastic_F",[-0.219794,1.44003,0.979921],[[0.958398,-0.285437,0],[0,0,1]],true,[],1],["Land_Garbage_square3_F",[-0.166693,2.24106,0.530125],[[0,0.999999,-0.00154408],[0.00265199,0.00154407,0.999995]],true,[],1],["Land_Garbage_square3_F",[-3.11701,3.6329,0.534051],[[0,1,0],[0,0,1]],true,[],1],["Land_WoodenBox_F",[-3.88679,-1.36758,4.36402],[[0,0.7,0],[0,0,0.7]],true,[],0.7],["Land_Pallet_F",[-4.01862,-3.65933,1.22275],[[0,0.226608,-0.973986],[-0.0120545,0.973915,0.226591]],true,[],1],["Land_Sack_F",[-4.59003,4.61948,0.844784],[[-0.121885,-0.790661,0],[0,0,0.8]],true,[],0.8],["Land_Garbage_line_F",[3.26824,1.63803,0.527504],[[0,0.999999,-0.00154408],[-0.00573598,0.00154406,0.999982]],true,[],1],["Land_Bench_F",[0.807672,2.9708,4.62883],[[-0.999992,-0.00391083,0],[0,0,1]],true,[],1],["Land_CratesShabby_F",[-4.39655,-1.25455,1.23539],[[-0.0377309,-0.999288,0],[0,0,1]],true,[],1],["Land_CratesShabby_F",[-4.44331,-0.376129,0.772853],[[0.0540261,0.99854,0],[0,0,1]],true,[],1],["Land_CratesShabby_F",[-1.17878,4.46957,1.23189],[[0,1,0],[0,0,1]],true,[],1],["Land_Garbage_square5_F",[-2.87092,-1.55313,0.512221],[[0,1,0],[-0.0120545,0,0.999927]],true,[],1],["Land_Garbage_square5_F",[1.07488,-1.16397,0.523892],[[0,0.999999,-0.00154408],[0.00265199,0.00154407,0.999995]],true,[],1],["Land_Rug_01_F",[-0.864691,-1.02237,4.37017],[[1.29997,-0.00898501,0],[0,0,1.3]],true,["a3\props_f_orange\furniture\data\rug_01_brown_co.paa"],1.3],["Land_Rug_01_F",[-3.68024,-2.33194,4.35559],[[0.0147729,1.49993,0],[0,0,1.5]],true,["a3\props_f_orange\furniture\data\rug_01_brown_co.paa"],1.5],["Land_RattanChair_01_F",[-1.63691,-0.936187,4.94536],[[-0.924837,0.380363,0],[0,0,1]],true,[],1],["Land_RattanChair_01_F",[0.240411,-1.29068,4.94586],[[0.916908,-0.3991,0],[0,0,1]],true,[],1],["Land_RattanChair_01_F",[-0.831855,-2.00137,4.93167],[[-0.199159,-0.979967,0],[0,0,1]],true,[],1],["Land_RattanChair_01_F",[-0.888983,-0.140045,4.9411],[[-0.244271,0.969626,-0.0125563],[0,0.0129486,0.999916]],true,[],1],["Land_Sacks_heap_F",[3.54974,4.13022,4.76143],[[-0.999974,0.00722849,0],[0,0,1]],true,[],1],["Land_CratesPlastic_F",[0.556695,0.548188,0.745849],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_exp\signs\companies\billboard_01_v1_f.p3d",[5.14483,0.665375,3.68578],[[0.299985,-0.00300755,0],[0,0,0.3]],true,[],0.3],["Land_FlowerPot_01_F",[-4.6385,2.85727,5.15428],[[0,0.8,0],[0,0,0.8]],true,[],0.8],["Land_BarrelTrash_grey_F",[2.25311,3.00327,4.76814],[[0,1,0],[0,0,1]],true,[],1],["Leaflet_05_New_F",[-1.15925,3.11777,1.91567],[[-0.990717,0.000988861,-0.135938],[-0.000593412,-0.999995,-0.00294954]],true,["a3\missions_f_orange\data\img\orange_compositions\tree\treenote_02_co.paa"],1],["Land_Metal_rack_F",[-4.69526,1.5621,1.38929],[[-0.999935,1.74846e-07,0.0113674],[0.0113674,0,0.999935]],true,[],1],["Land_Metal_rack_F",[-4.68757,2.64926,1.39176],[[-0.999935,1.74846e-07,0.0113674],[0.0113674,0,0.999935]],true,[],1],["Land_Metal_rack_F",[-4.69514,3.77499,1.38678],[[-0.999935,1.74846e-07,0.0113674],[0.0113674,0,0.999935]],true,[],1],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[-4.51008,3.36899,4.70736],[[0.999982,0.00604975,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\school_clock.p3d",[-4.84296,-0.737213,6.26237],[[-0.999996,0.00263851,0],[0,0,1]],true,[],1],["Land_ShelvesMetal_F",[-0.505316,-3.92471,0.465512],[[1,0.000620754,0],[0,0,1]],true,[],1],["Land_ShelvesMetal_F",[-1.71613,-2.93375,0.463849],[[-0.00190672,-0.999998,0],[0,0,1]],true,[],1],["Land_ShelvesMetal_F",[-1.71589,-0.938629,0.464097],[[-0.00190672,-0.999998,0],[0,0,1]],true,[],1],["Land_ShelvesMetal_F",[0.553155,3.13803,0.357081],[[1,0.000620754,0],[0,0,1]],true,[],1],["Land_ShelvesMetal_F",[-1.50312,-2.923,0.467526],[[-0.00190672,-0.999998,0],[0,0,1]],true,[],1],["Land_ShelvesMetal_F",[-1.50288,-0.927886,0.467774],[[-0.00190672,-0.999998,0],[0,0,1]],true,[],1],["Land_ShelvesWooden_F",[2.06463,0.690278,0.985408],[[0,0.999999,-0.00154408],[-0.00573598,0.00154406,0.999982]],true,[],1],["Land_Photoframe_01_F",[-2.54926,-3.8942,5.6564],[[-0.99998,-0.00628259,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\photoframe_random_05_co.paa","a3\props_f_orange\items\decorative\data\photoframe_01_f_co.paa"],1],["Land_PaperBox_01_small_destroyed_brown_F",[-4.60725,0.551362,0.695296],[[0.999891,0.0147649,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_destroyed_co.paa"],1],["Leaflet_05_Old_F",[0.904596,-2.66885,0.49911],[[0.994376,-0.10591,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[1.33123,-2.33072,0.498593],[[0.758029,0.652221,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[0.780206,-1.95572,0.498552],[[0.635857,-0.771807,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[0.691217,-1.66544,0.499554],[[-0.227731,0.973724,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[0.496637,-2.23135,0.500071],[[0.553759,0.832677,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[0.263482,-1.64639,0.499513],[[0.932289,-0.361714,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["a3\structures_f_enoch\furniture\decoration\wallboards\wall_board_02\wall_board_02.p3d",[-0.993354,3.12802,0.511738],[[0.000284108,-1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\cases\library_a\library_a.p3d",[-4.69904,4.56552,4.35159],[[0.999997,-0.00235924,0],[0,0,1]],true,[],1],["Land_CashDesk_F",[1.36187,0.999604,1.5017],[[-0.999976,-0.00667999,0.00154504],[-0.00150049,-0.00667003,-0.999977]],true,[],1],["Land_CashDesk_F",[0.934747,0.546479,1.50872],[[-0.000339111,0.999999,0.00154522],[-0.00666029,0.00154292,-0.999977]],true,[],1],["Land_CashDesk_F",[-0.685858,0.550629,0.508014],[[0.000308086,0.999999,-0.00154408],[0.00265247,0.00154326,0.999995]],true,[],1],["UserTexture1m_F",[-4.13398,-0.52481,0.502173],[[-0.00950008,-0.0138453,-0.999859],[0.938125,-0.346272,-0.0041186]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["UserTexture1m_F",[-4.31428,0.513031,0.504279],[[-0.00472474,0.0163383,-0.999855],[0.995702,0.092557,-0.00319267]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["UserTexture1m_F",[3.58453,4.7789,0.509375],[[0.0090021,0.0144329,-0.999855],[0.734132,-0.679,-0.00319165]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["UserTexture1m_F",[3.56158,3.60361,0.509516],[[-0.00306812,-0.0167265,-0.999855],[-0.932218,0.361883,-0.00319333]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["UserTexture1m_F",[3.52593,2.44638,0.509362],[[-0.0170089,0.000207873,-0.999855],[0.199617,0.979869,-0.00319203]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["UserTexture1m_F",[3.48284,-2.39029,0.511295],[[0.0116237,-0.0124164,-0.999855],[-0.845313,-0.534261,-0.00319254]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["UserTexture1m_F",[3.30486,-1.09732,0.511448],[[0.00295778,-0.0167474,-0.999855],[-0.999896,0.014056,-0.00319333]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["UserTexture1m_F",[-3.02875,-3.23331,0.509536],[[-0.00472474,0.0163383,-0.999855],[0.995702,0.092557,-0.00319267]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["Land_RattanTable_01_F",[-0.72248,-1.07242,4.77657],[[-0.0114244,-0.999935,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\decoration\flowers\flower_01.p3d",[-0.380683,3.04623,4.36484],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\class_case_b_open.p3d",[3.94634,-0.922271,4.35567],[[0.999999,0.00113598,0],[0,0,1]],true,[],1],["Land_TableSmall_01_F",[-2.63569,-3.2626,4.58121],[[0,1,0],[0,0,1]],true,[],1],["Land_WoodenBed_01_F",[-3.87592,-2.75137,4.82234],[[-0.00490434,-0.999988,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[-4.22126,3.66879,4.36056],[[0.999479,0.0322605,0],[0,0,1]],true,[],1],["Land_Tombstone_06_F",[4.31561,-3.23672,6.06888],[[0.499974,0.00509022,0],[0,0,0.5]],true,[],0.5],["a3\structures_f_enoch\furniture\school_equipment\lab_teacher_bench.p3d",[-0.915961,-3.62247,4.19958],[[0.00551451,-0.999985,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\decoration\box_c\box_c.p3d",[-1.92316,0.440278,0.731916],[[-0.799835,-0.0134435,0.009091],[0.00908971,0.000153579,0.799948]],true,[],0.8],["a3\structures_f_enoch\furniture\decoration\box_c\box_c.p3d",[-4.60285,2.36606,4.59836],[[0.799979,0.00575263,0],[0,0,0.8]],true,[],0.8],["a3\structures_f_enoch\furniture\decoration\wallboards\picture_f\picture_f.p3d",[2.52667,-3.90884,4.72945],[[-0.00311595,0.999995,0],[0,0,1]],true,[],1],["Land_WallSign_01_chalkboard_F",[-4.86726,0.165864,2.65967],[[0.99998,-0.00637022,8.45609e-05],[8.75632e-05,0.000471028,-1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[-2.94916,-3.98721,1.67468],[[0.00383971,0.999993,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[-4.87018,0.165864,1.80668],[[0.999899,-0.0142239,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[-2.94916,-3.98428,2.52767],[[-0.00401409,0.999992,8.93031e-05],[-0.000471239,8.74122e-05,-1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["OfficeTable_01_old_F",[-1.50324,-3.59732,4.8074],[[-3.48947e-05,-0.000768221,1],[-0.0103671,0.999946,0.000767817]],true,["a3\structures_f_heli\furniture\data\officetable_01_old_co.paa"],1],["OfficeTable_01_old_F",[-0.183173,-3.58414,4.8104],[[-3.48947e-05,-0.000768221,1],[-0.0103671,0.999946,0.000767817]],true,["a3\structures_f_heli\furniture\data\officetable_01_old_co.paa"],1],["OfficeTable_01_old_F",[-0.177191,-3.54825,4.7694],[[0.0103149,-0.999947,0],[0,0,1]],true,["a3\structures_f_heli\furniture\data\officetable_01_old_co.paa"],1],["OfficeTable_01_old_F",[-1.49726,-3.56119,4.7664],[[0.0103149,-0.999947,0],[0,0,1]],true,["a3\structures_f_heli\furniture\data\officetable_01_old_co.paa"],1],["a3\structures_f_enoch\furniture\kitchen\dkamna_uhli\dkamna_uhli.p3d",[3.20135,-2.98721,4.35095],[[0.015846,-0.999874,0],[0,0,1]],true,[],1],["Land_Hammer_F",[-0.227118,-3.28506,4.82879],[[-0.019958,0.999801,0],[0,0,1]],true,[],1],["Land_Hammer_F",[-1.47846,-3.29849,4.82557],[[-0.019958,0.999801,0],[0,0,1]],true,[],1],["Land_Hammer_F",[-1.54743,-3.29825,4.82557],[[-0.019958,0.999801,0],[0,0,1]],true,[],1],["Land_Hammer_F",[-0.158149,-3.28531,4.82879],[[-0.019958,0.999801,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[-0.69831,-1.08731,6.29062],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[-3.36396,3.26962,6.29122],[[0,1,0],[0,0,1]],true,[],1],["Land_ArmChair_01_F",[2.04192,-3.27164,4.85563],[[0,1,0],[0,0,1]],true,[],1],["Land_TinWall_01_m_pole_F",[5.15276,2.12387,3.74504],[[0,0.6,0],[0,0,0.6]],true,[],0.6],["Land_TinWall_01_m_pole_F",[5.13677,-0.817291,3.74005],[[0,0.6,0],[0,0,0.6]],true,[],0.6],["Land_Icebox_F",[1.87347,-3.43179,1.10666],[[0.0111751,-0.999936,-0.00154412],[0.00575283,-0.0014799,0.999982]],true,[],1],["Land_WoodPile_F",[4.0368,-2.18033,4.52294],[[0.0196943,-0.599677,0],[0,0,0.6]],true,[],0.6],["Land_PaperBox_01_small_ransacked_brown_F",[0.152765,-2.66421,0.70545],[[0.33277,0.943008,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_dmg_co.paa"],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[-3.27131,0.679291,3.95558],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[-0.225043,2.11459,3.97642],[[0.999897,0.0143536,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[0.841119,-1.39346,3.96282],[[0,1,0],[0,0,1]],true,[],1],["Land_WoodenTable_small_F",[-2.23676,3.24497,0.90652],[[0,1,0],[0,0,1]],true,[],1]]]; + _compData pushBack ["Land_i_Shop_02_V1_F",[["a3\structures_f_enoch\furniture\school_equipment\lab_sink.p3d",[-3.4892,-3.41666,4.29325],[[0.0068528,0.999977,0],[0,0,1]],true,[],1],["Fridge_01_closed_F",[-4.21552,-3.54776,4.82302],[[-0.00284108,-0.999996,0],[0,0,1]],true,[],1],["Land_Cross_01_small_F",[1.72186,-3.92252,5.98445],[[-0.0273894,-0.799531,0],[0,0,0.8]],true,[],0.8],["Land_GasTank_01_khaki_F",[-1.98871,3.58286,0.825781],[[0.725689,0.688023,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\various\debris_small_house.p3d",[1.85858,2.00644,0.509],[[0.110341,0.792353,-0.0012286],[0.00227036,0.000924283,0.799996]],true,[],0.8],["a3\structures_f_enoch\furniture\various\debris_small_house.p3d",[-3.0041,3.18662,0.473751],[[-0.0991903,-0.793826,-0.00122831],[-0.00225715,-0.000955819,0.799996]],true,[],0.8],["a3\structures_f_enoch\furniture\various\dirtpile_small_house.p3d",[-4.37018,1.37363,0.498],[[0.69944,-0.0280067,0],[0,0,0.7]],true,[],0.7],["Land_Garbage_square3_F",[-3.55512,-0.897369,0.532916],[[0,1,0],[-0.0120599,0,0.999927]],true,[],1],["Land_Basket_F",[-0.942206,-3.5336,4.62584],[[0.437817,0.669564,0],[0,0,0.8]],true,[],0.8],["Land_Sack_F",[0.942559,3.0914,4.66101],[[-0.699992,-0.00333539,0],[0,0,0.7]],true,[],0.7],["Land_Garbage_square5_F",[1.33953,3.49667,0.537295],[[0,0.999999,-0.00154408],[0.00265199,0.00154407,0.999995]],true,[],1],["Land_Garbage_square5_F",[1.09686,-1.09122,0.526334],[[0,0.999999,-0.00154408],[0.00265199,0.00154407,0.999995]],true,[],1],["Land_Garbage_square5_F",[-2.87812,3.38754,0.530436],[[0,1,0],[0,0,1]],true,[],1],["Land_Rug_01_F",[-3.32648,4.00327,4.37056],[[0,1,0],[0,0,1]],true,["a3\props_f_orange\furniture\data\rug_01_brown_co.paa"],1],["Land_Rug_01_Traditional_F",[0.763849,-2.12149,4.36768],[[-1.19997,-0.00825206,0],[0,0,1.2]],true,["a3\props_f_orange\furniture\data\rug_01_traditional_co.paa"],1.2],["Land_Rug_01_Traditional_F",[-0.26911,1.36948,4.36068],[[0.999989,-0.00462515,0],[0,0,1]],true,["a3\props_f_orange\furniture\data\rug_01_traditional_co.paa"],1],["Land_Rug_01_F",[3.62237,4.0018,4.36884],[[0.00732808,0.999973,0],[0,0,1]],true,["a3\props_f_orange\furniture\data\rug_01_brown_co.paa"],1],["Land_RattanChair_01_F",[1.13983,-2.81363,4.93493],[[0.153441,-0.988158,0],[0,0,1]],true,[],1],["Land_RattanChair_01_F",[0.124933,-1.32266,4.92748],[[-0.235849,0.97179,0],[0,0,1]],true,[],1],["Land_RattanChair_01_F",[0.199151,-2.9003,4.92831],[[-0.0811022,-0.996706,0],[0,0,1]],true,[],1],["Land_RattanChair_01_F",[1.53106,-1.46695,4.92348],[[0.12892,0.991655,0],[0,0,1]],true,[],1],["Land_FlowerPot_01_F",[-4.66535,3.46323,5.10853],[[0,1,0],[0,0,1]],true,[],1],["Land_BarrelTrash_grey_F",[-4.54731,3.93857,4.76507],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\beds\postel_panelak2.p3d",[3.33318,4.06772,4.38406],[[0.0220343,0.999757,0],[0,0,1]],true,[],1],["Land_Metal_rack_F",[-1.35737,-1.51627,1.39238],[[-0.999993,-0.00361138,0],[0,0,1]],true,[],1],["Land_Metal_rack_F",[-1.34992,-2.62759,1.38653],[[-0.999999,0.00106638,0],[0,0,1]],true,[],1],["Land_Metal_rack_F",[-1.34016,-0.411285,1.39026],[[-0.999852,0.0172222,0],[0,0,1]],true,[],1],["Land_Metal_rack_F",[-1.32111,0.693207,1.3858],[[-0.999852,0.0172222,0],[0,0,1]],true,[],1],["Land_Metal_rack_F",[-1.85407,0.576752,1.39422],[[0.999986,-0.00400511,0.00334877],[-0.00332103,0.00691219,0.99997]],true,[],1],["Land_Metal_rack_F",[-1.85175,-0.551666,1.39587],[[0.999986,-0.00404766,0.00329722],[-0.00332103,-0.00589204,0.999977]],true,[],1],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[-3.24152,-3.53116,4.73846],[[0.000436455,-0.999999,-0.00152407],[-0.00264451,-0.00152522,0.999995]],true,[],1],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[-1.90314,-3.5358,4.74186],[[0.000436455,-0.999999,-0.00152407],[-0.00264451,-0.00152522,0.999995]],true,[],1],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[-1.87128,-3.51797,4.7473],[[7.21455e-05,-0.00492139,0.999988],[0.00449877,-0.999978,-0.00492167]],true,[],1],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[-3.24604,-3.49942,4.71169],[[-4.39564e-05,0.00492227,0.999988],[0.0011881,0.999987,-0.00492222]],true,[],1],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[3.97015,2.10556,4.70801],[[-0.999999,-0.00161201,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[-1.90778,-3.5043,4.71509],[[-4.39564e-05,0.00492227,0.999988],[0.0011881,0.999987,-0.00492222]],true,[],1],["Land_ShelvesMetal_F",[-0.145453,-3.9108,0.445076],[[0.999996,-0.00265774,0],[0,0,1]],true,[],1],["Land_ShelvesMetal_F",[1.88421,-3.91763,0.444479],[[0.999996,-0.00265774,0],[0,0,1]],true,[],1],["Land_ShelvesMetal_F",[-1.26325,4.25717,3.13641],[[0,-0.999997,-0.00255218],[0,0.00255218,-0.999997]],true,[],1],["Land_ShelvesMetal_F",[-1.26398,4.20981,0.264052],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_exp\signs\companies\attachedsign_02_v1_f.p3d",[5.31304,-4.0878,5.11193],[[0,1,0],[0,0,1]],true,[],1],["Land_ShelvesWooden_F",[-4.54645,3.18857,4.5189],[[0,1,0],[0,0,1]],true,[],1],["Land_Photoframe_01_F",[-2.81611,-3.9003,5.4994],[[-0.99997,0.00774918,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\photoframe_random_07_co.paa","#(rgb,8,8,3)color(0.349263,0.472218,0.928197,0.598165)"],1],["a3\structures_f_enoch\furniture\school_equipment\class_case_b_closed.p3d",[-1.83552,-3.5253,4.10918],[[0.0160688,-0.99987,-0.00152538],[-0.00261871,-0.00156766,0.999995]],true,[],1],["Land_PaperBox_01_small_destroyed_brown_F",[-2.02839,4.20004,0.691132],[[0.966112,0.258124,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_destroyed_co.paa"],1],["Leaflet_05_Old_F",[2.5473,-1.93106,0.500334],[[0.948392,0.317096,-0.00154396],[-0.000354579,0.00592949,0.999982]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[1.53082,-2.12173,0.497556],[[0.395935,0.918277,-0.00154396],[-0.00465588,0.00368882,0.999982]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[2.55889,-1.60001,0.497917],[[0.14008,-0.990139,-0.00154379],[0.00589541,-0.000725082,0.999982]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[2.8615,-1.71866,0.497039],[[0.907174,-0.420753,-0.00154396],[0.00381404,0.00455387,0.999982]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[2.05511,-2.06119,0.497627],[[0.935931,-0.352181,-0.00154386],[0.00346499,0.00482469,0.999982]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[1.35601,-2.75943,0.498434],[[0.985965,0.166947,-0.00154365],[0.0005644,0.00591294,0.999982]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[1.79742,-2.72525,0.500851],[[-0.342762,0.939421,-0.00154432],[-0.00591766,-0.000515277,0.999982]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["a3\structures_f_enoch\furniture\cases\library_a\library_a.p3d",[4.1679,-0.715728,4.35726],[[-0.999965,0.00830229,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\various\workbench_dz.p3d",[1.05889,1.91367,0.963815],[[0.899986,-0.00508938,0],[0,0,0.9]],true,[],0.9],["a3\structures_f_enoch\furniture\various\workbench_dz.p3d",[1.09686,1.90756,0.933816],[[0.010609,6.43194e-05,0.899938],[0.899933,0.00294778,-0.0106092]],true,[],0.9],["a3\structures_f_enoch\furniture\various\workbench_dz.p3d",[1.04669,1.20151,0.25161],[[0.899986,1.82074e-05,-0.00508935],[0,-0.899994,-0.00321977]],true,[],0.9],["Land_CashDesk_F",[0.398858,0.195649,-0.526],[[-0.597667,0.801744,0],[0,0,1]],true,[],1],["UserTexture1m_F",[-4.43513,0.139008,0.498756],[[-0.00669947,-0.0165438,-0.999841],[-0.999155,-0.0404393,0.007364]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["UserTexture1m_F",[3.66107,-1.95694,0.516887],[[-0.0126749,0.0113212,-0.999856],[0.794038,0.60786,-0.00318307]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["UserTexture1m_F",[3.44561,2.07773,0.503349],[[-0.00575753,-0.0159949,-0.999855],[-0.860846,0.508855,-0.00318317]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["UserTexture1m_F",[3.63348,3.07993,0.512732],[[0.0105427,-0.0133363,-0.999855],[-0.886697,-0.46234,-0.00318277]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["UserTexture1m_F",[3.67669,-3.04556,0.513292],[[0.0105427,-0.0133363,-0.999855],[-0.886697,-0.46234,-0.00318277]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["UserTexture1m_F",[-2.90571,-3.32852,0.501199],[[-0.00670003,0.00724712,-0.999951],[-0.999155,-0.040603,0.00640043]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["UserTexture1m_F",[3.67364,-0.937408,0.507503],[[0.00293032,0.0167359,-0.999856],[0.935492,-0.353335,-0.00317256]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["UserTexture1m_F",[3.65716,4.53891,0.503696],[[0.0111012,0.0128742,-0.999855],[0.621835,-0.783141,-0.00317965]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["Land_WheelieBin_01_F",[-4.4831,-0.483306,0.997905],[[-0.999998,0.0020945,7.80735e-06],[-1.74533e-05,-0.0120602,0.999927]],true,[],1],["Land_MobilePhone_smart_F",[1.07635,0.23935,0.496728],[[-0.475874,-0.879513,0],[0,0,1]],true,["a3\ui_f_enoch\data\rscingameui\rscweaponspectrumanalyzer\screen_emp_co.paa"],1],["Land_MobilePhone_smart_F",[1.2962,-3.41763,0.51675],[[-0.631522,-0.775358,-0.000191594],[0.0154721,-0.0123548,-0.999804]],true,["a3\structures_f\items\electronics\data\electronics_screens_mobilephone_smart_co.paa"],1],["Land_MobilePhone_smart_F",[0.379815,-3.06045,0.49546],[[0.343283,-0.939232,0],[0,0,1]],true,["a3\ui_f_enoch\data\rscingameui\rscweaponspectrumanalyzer\screen_emp_co.paa"],1],["Land_MobilePhone_smart_F",[-0.606269,-1.44522,0.495944],[[-0.738282,0.674492,-0.000191364],[-0.0132142,-0.0147476,-0.999804]],true,["a3\structures_f\items\electronics\data\electronics_screens_mobilephone_smart_co.paa"],1],["Land_MobilePhone_smart_F",[2.09087,-2.6525,0.49546],[[-0.663312,-0.748343,0],[0,0,1]],true,["a3\ui_f_enoch\data\rscingameui\rscweaponspectrumanalyzer\screen_emp_co.paa"],1],["Land_MobilePhone_smart_F",[0.915704,0.321381,0.493303],[[0.348559,-0.937287,-0.000193925],[0.0184896,0.00708277,-0.999804]],true,["a3\structures_f\items\electronics\data\electronics_screens_mobilephone_smart_co.paa"],1],["Land_MobilePhone_smart_F",[-0.792182,-1.82144,0.49646],[[0.742058,0.670336,0],[0,0,1]],true,["a3\ui_f_enoch\data\rscingameui\rscweaponspectrumanalyzer\screen_emp_co.paa"],1],["Box_I_E_UAV_06_F",[-0.645209,-3.74918,1.09835],[[0.999937,-0.0112573,0],[0,0,1]],true,["a3\air_f_enoch\uav_06\data\i_e_uav_06_co.paa",""],1],["Box_I_E_UAV_06_F",[0.881036,1.62289,0.598346],[[0.999937,-0.0112573,0],[0,0,1]],true,["a3\air_f_enoch\uav_06\data\i_e_uav_06_co.paa",""],1],["Box_I_E_UAV_06_F",[1.63336,-3.75162,1.4501],[[0.999937,-0.0112573,0],[0,0,1]],true,["a3\air_f_enoch\uav_06\data\i_e_uav_06_co.paa",""],1],["Box_I_E_UAV_06_F",[0.890069,1.24887,0.595345],[[0.999937,-0.0112573,0],[0,0,1]],true,["a3\air_f_enoch\uav_06\data\i_e_uav_06_co.paa",""],1],["Box_I_E_UAV_06_F",[2.09271,-3.74405,0.734531],[[0.999937,-0.0112573,0],[0,0,1]],true,["a3\air_f_enoch\uav_06\data\i_e_uav_06_co.paa",""],1],["Box_I_E_UAV_06_F",[2.48126,-3.75577,0.727051],[[0.999937,-0.0112573,0],[0,0,1]],true,["a3\air_f_enoch\uav_06\data\i_e_uav_06_co.paa",""],1],["Land_RattanTable_01_F",[-0.697089,1.50302,4.40126],[[0,1,0],[0,0,1]],true,[],1],["Land_RattanTable_01_F",[0.134454,1.49497,4.40121],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\decoration\flowers\flower_01.p3d",[-1.81208,2.92831,4.36649],[[0,1,0],[0,0,1]],true,[],1],["Land_Rack_F",[-4.62617,-0.711334,5.1749],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\class_case_b_open.p3d",[0.714288,2.4476,-0.0992157],[[0.899997,-0.00189691,-0.00138761],[0.00138257,-0.00238765,0.899996]],true,[],0.9],["a3\structures_f_enoch\furniture\school_equipment\class_case_b_open.p3d",[0.721124,1.39829,-0.0973566],[[0.899997,-0.00189691,-0.00138761],[0.00138257,-0.00238765,0.899996]],true,[],0.9],["Land_TableSmall_01_F",[3.09283,4.78232,4.56213],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[3.65228,1.84311,4.35129],[[-0.999724,0.023478,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\cases\dhangar_borwnskrin\dhangar_brownskrin.p3d",[-4.57368,1.99716,4.35634],[[-1,0.000877078,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\decoration\wallboards\picture_b\picture_b.p3d",[4.32,1.69516,4.55437],[[-0.999981,0.00623144,0],[0,0,1]],true,[],1],["Land_WallSign_01_chalkboard_F",[-4.88215,0.150483,2.58068],[[0.99998,-0.00637022,8.45609e-05],[8.75632e-05,0.000471028,-1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[-2.96418,-3.99942,2.44867],[[-0.00401409,0.999992,8.93031e-05],[-0.000471239,8.74122e-05,-1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[-4.8852,0.150483,1.72768],[[0.999899,-0.0142239,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[-2.96418,-4.00137,1.59568],[[0.00383971,0.999993,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["a3\structures_f_enoch\furniture\kitchen\dkamna_uhli\dkamna_uhli.p3d",[3.2254,-2.98331,4.39406],[[-0.00888607,-0.99996,0],[0,0,1]],true,[],1],["Land_Hammer_F",[-3.27399,-3.27432,4.74463],[[0,1,0],[0,0,1]],true,[],1],["Land_Hammer_F",[-1.88105,-3.27017,4.74458],[[0,1,0],[0,0,1]],true,[],1],["Land_Hammer_F",[-1.9499,-3.26968,4.74458],[[0,1,0],[0,0,1]],true,[],1],["Land_Hammer_F",[-3.20515,-3.27481,4.74463],[[0,1,0],[0,0,1]],true,[],1],["Land_TableBig_01_F",[0.807916,-2.2045,4.80803],[[0.0251274,0.999684,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[-0.346381,1.47128,6.29181],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[0.789972,-2.19449,6.28156],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[-3.07917,-1.67105,6.2938],[[0,1,0],[0,0,1]],true,[],1],["Land_ArmChair_01_F",[1.17474,1.48813,4.85482],[[-0.999954,0.00959161,0],[0,0,1]],true,[],1],["Land_Sofa_01_F",[-0.408759,2.72885,4.87299],[[0.00135866,-0.999999,0],[0,0,1]],true,[],1],["Land_GarbageHeap_03_F",[-4.38911,1.02158,0.748073],[[-0.599623,0.0201419,0.00682117],[0.00681728,-0.000230479,0.599961]],true,[],0.6],["Land_Microwave_01_F",[-1.50776,-3.73746,5.21838],[[0.00738453,-1.39998,0],[0,0,1.4]],true,[],1.4],["Land_WoodPile_F",[4.04717,-1.93228,4.54504],[[0.0196943,-0.599677,0],[0,0,0.6]],true,[],0.6],["Land_PaperBox_01_small_ransacked_brown_F",[-2.94819,4.33359,0.69645],[[0.78288,0.622173,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_dmg_co.paa"],1],["Land_PaperBox_01_small_ransacked_brown_F",[3.00884,-2.87149,0.70545],[[0.38869,0.921369,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_dmg_co.paa"],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[-3.18293,0.991303,3.95946],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[0.492364,1.57358,3.95949],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[1.75128,-1.62735,3.93889],[[0.999999,-0.00154194,0],[0,0,1]],true,[],1],["Land_PaperBox_01_small_destroyed_brown_F",[-2.26472,4.96372,0.706621],[[0,1,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_destroyed_co.paa"],1]]]; + _compData pushBack ["Land_i_Shop_02_V1_F",[["Fridge_01_closed_F",[3.89996,-2.94351,4.88247],[[0.999998,-0.00189814,0],[0,0,1]],true,[],1],["Land_SignM_forSale_F",[-4.31892,1.26498,-0.388572],[[-0.940427,-0.00663878,-0.339931],[-0.339938,0,0.940448]],true,[],1],["Land_SignM_forSale_F",[-4.39802,1.21738,-0.288007],[[-0.940427,-0.00663878,-0.339931],[-0.339938,0,0.940448]],true,[],1],["Land_SignM_forSale_F",[-4.36372,1.23129,-0.32005],[[-0.940427,-0.00663878,-0.339931],[-0.339938,0,0.940448]],true,[],1],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_blue_v2.p3d",[-4.58039,2.20151,0.441603],[[-0.999984,0.00566974,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_blue_v2.p3d",[-4.58405,3.04282,0.451295],[[-0.999931,-0.0117364,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\school_cage.p3d",[-4.16987,0.0122991,4.37864],[[-0.0225423,0.999746,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\school_cage.p3d",[-1.11994,0.0237737,4.3705],[[-0.0225423,0.999746,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\school_cage.p3d",[-1.88373,-1.88931,4.37012],[[-0.999997,-0.00232679,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\school_cage.p3d",[-1.88093,-3.20132,4.37331],[[-0.999997,-0.00232679,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\school_cage.p3d",[-1.90119,-0.572906,4.36828],[[-0.999997,-0.00232679,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\school_cage.p3d",[1.72137,-0.562896,4.35931],[[-0.999997,-0.00232679,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\school_cage.p3d",[1.74163,-3.19131,4.36433],[[-0.999997,-0.00232679,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\school_cage.p3d",[1.00347,0.060883,4.36144],[[-0.0225423,0.999746,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\school_cage.p3d",[1.73882,-1.8793,4.36115],[[-0.999997,-0.00232679,0],[0,0,1]],true,[],1],["Land_Printer_01_F",[4.06439,2.27866,5.24131],[[0.999901,-0.0140699,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\decoration\flowers\flower_02.p3d",[3.96331,-3.12051,0.479107],[[0.419823,0.907606,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\decoration\flowers\flower_02.p3d",[3.5639,4.81747,4.36661],[[0,1,0],[0,0,1]],true,[],1],["Land_Bench_F",[-4.56489,4.24423,0.756216],[[0.00867514,-0.999962,0],[0,0,1]],true,[],1],["Land_Bench_F",[3.73956,-1.94351,0.75616],[[-0.00174981,-0.999997,-0.0015438],[0.00573328,-0.00155381,0.999982]],true,[],1],["Land_Bench_F",[1.88812,-3.57364,0.756195],[[0.999994,-0.00297991,-0.00154393],[0.00156099,0.00573136,0.999982]],true,[],1],["Land_Rug_01_F",[0.0571835,-1.24405,4.36376],[[-1.29999,0.00385779,0],[0,0,1.3]],true,["a3\props_f_orange\furniture\data\rug_01_brown_co.paa"],1.3],["Land_Rug_01_F",[-3.62702,-1.18961,4.3681],[[-1.29999,0.00385779,0],[0,0,1.3]],true,["a3\props_f_orange\furniture\data\rug_01_brown_co.paa"],1.3],["Land_Rug_01_F",[2.21514,-1.64224,0.496601],[[0,1.5,-0.00230383],[0.00397942,0.00230383,1.49999]],true,["a3\props_f_orange\furniture\data\rug_01_brown_co.paa"],1.5],["Land_Rug_01_Traditional_F",[-3.3642,3.02475,4.37368],[[0,1,0],[0,0,1]],true,["a3\props_f_orange\furniture\data\rug_01_traditional_co.paa"],1],["Land_Pot_01_F",[4.17913,2.32968,0.728405],[[0.599999,0.00110731,0],[0,0,0.6]],true,[],0.6],["Land_Metal_rack_F",[-1.86835,3.19858,1.37499],[[0.999981,-0.00620847,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[3.95086,-1.94205,4.72063],[[-0.00493078,-6.81579e-05,0.999988],[-0.999984,-0.00258448,-0.00493094]],true,[],1],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[3.9826,-1.93668,4.7474],[[0.99999,0.00420314,-0.00150942],[0.00152046,-0.00262528,0.999995]],true,[],1],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[3.96514,-0.565094,4.75623],[[0.00490743,9.79602e-05,0.999988],[0.999954,0.00825738,-0.00490807]],true,[],1],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[3.95086,-0.602447,4.72402],[[-0.00493078,-6.81579e-05,0.999988],[-0.999984,-0.00258448,-0.00493094]],true,[],1],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[3.98235,-0.598297,4.75079],[[0.99999,0.00420314,-0.00150942],[0.00152046,-0.00262528,0.999995]],true,[],1],["a3\structures_f_enoch\furniture\decoration\wallboards\wall_board\wall_board.p3d",[4.31072,-0.932525,4.38793],[[-0.999991,0.0042874,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\bathroom\basin_a\basin_a.p3d",[-0.72956,4.47665,1.29733],[[-0.99991,0.0134342,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\school_clock.p3d",[-4.81415,4.57993,6.25427],[[-0.999998,0.00217789,0],[0,0,1]],true,[],1],["Land_PaperBox_01_small_closed_brown_F",[3.97381,3.53964,4.57197],[[0.00452039,0.99999,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_co.paa"],1],["Land_OfficeChair_01_F",[-3.86017,-2.90982,5.033],[[0.00919106,-0.999958,0],[0,0,1]],true,[],1],["Land_OfficeChair_01_F",[0.0868466,-2.93228,5.01495],[[0.00919106,-0.999958,0],[0,0,1]],true,[],1],["a3\structures_f_exp\signs\companies\attachedsign_02_v2_f.p3d",[5.2575,-4.08389,5.15609],[[-0.0146873,0.999892,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_blue_v1.p3d",[-4.58283,2.6268,0.451295],[[-0.999964,-0.00842401,0],[0,0,1]],true,[],1],["Land_Photoframe_01_F",[-3.21625,-3.90616,5.7814],[[-0.99991,0.0134385,0],[0,0,1]],true,["a3\map_altis\data\ui_altis_ca.paa","#(rgb,8,8,3)color(0.871725,0.180666,0.158869,0.0790389)"],1],["Land_Photoframe_01_F",[1.17779,-3.89835,5.7434],[[-0.999937,-0.0112396,0],[0,0,1]],true,["a3\data_f_argo\images\assetmaldenterrain_co.paa","#(rgb,8,8,3)color(0.871725,0.180666,0.158869,0.0790389)"],1],["a3\structures_f_enoch\furniture\school_equipment\class_case_b_closed.p3d",[0.249688,2.79868,0.490931],[[0,0.999999,-0.00154408],[0.00265199,0.00154407,0.999995]],true,[],1],["Leaflet_05_Old_F",[2.7813,2.62949,4.37125],[[-0.971755,0.235992,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[3.22711,2.69003,4.37154],[[-0.947313,0.320309,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[2.6806,2.15317,4.37003],[[-0.542953,0.839763,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[3.04595,1.89047,4.37032],[[-0.467211,0.884146,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[3.07598,2.24252,4.37117],[[0.328978,0.944337,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[3.96295,3.00058,5.06596],[[-0.825461,-0.564458,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[3.00677,2.9664,4.37239],[[-0.410851,0.911703,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[4.10211,2.64804,5.06568],[[-0.151721,-0.988423,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Land_WaterCooler_01_old_F",[1.05291,2.93295,1.22419],[[-0.00439863,0.99999,0],[0,0,1]],true,["a3\structures_f_bootcamp\items\electronics\data\watercooler_01_old_co.paa"],1],["Land_WaterCooler_01_old_F",[-4.64582,1.44174,5.08737],[[-0.999777,0.0211115,0],[0,0,1]],true,["a3\structures_f_bootcamp\items\electronics\data\watercooler_01_old_co.paa"],1],["a3\structures_f_enoch\furniture\school_equipment\tac_board.p3d",[-1.85541,-1.9191,5.35039],[[-0.999996,-0.00220834,-0.00154408],[-0.00154993,0.00264857,0.999995]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\tac_board.p3d",[-1.94318,-1.89517,5.35188],[[0.999965,-0.00815722,-0.00154405],[0.00152237,-0.00266438,0.999995]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\tac_board.p3d",[-1.50861,-2.30484,1.19413],[[-0.999996,-0.00220834,-0.00154408],[-0.00154993,0.00264857,0.999995]],true,[],1],["a3\structures_f_enoch\furniture\decoration\wallboards\wall_board_02\wall_board_02.p3d",[-0.890815,3.15927,0.554318],[[0.0145851,-0.999892,-0.00154393],[-0.00262919,-0.00158244,0.999995]],true,[],1],["a3\structures_f_enoch\furniture\decoration\wallboards\wall_board_02\wall_board_02.p3d",[-4.82319,2.22177,4.41668],[[0.999993,0.00335736,-0.00154399],[0.00155288,-0.00264674,0.999995]],true,[],1],["Land_TableDesk_F",[0.49627,-1.20377,0.882909],[[-0.999988,-0.00463495,-0.00154408],[-0.00155635,0.0026448,0.999995]],true,[],1],["Land_TableDesk_F",[0.49151,-2.90201,0.886045],[[-0.999988,-0.00463495,-0.00154408],[-0.00155635,0.0026448,0.999995]],true,[],1],["Land_TableDesk_F",[-0.00177646,-0.709136,0.873794],[[-0.00742554,-0.999971,-0.00154401],[-0.00266338,-0.00152427,0.999995]],true,[],1],["Land_TableDesk_F",[0.0480282,-2.17764,4.75759],[[0.00120107,-0.999999,0],[0,0,1]],true,[],1],["Land_TableDesk_F",[-3.89899,-2.15518,4.77564],[[0.0123225,-0.999924,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\cases\library_a\library_a.p3d",[-1.35126,-3.76089,4.3522],[[0.000489648,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\decoration\flowers\flower_01.p3d",[-1.5163,-0.303863,4.36099],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\decoration\flowers\flower_01.p3d",[-3.07453,-3.69937,4.36479],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[0.470758,-0.859039,4.36405],[[0.0358746,0.999356,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[-4.47944,-1.03702,4.37041],[[-0.250865,0.968022,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[3.9035,4.12216,4.37007],[[0.999994,0.00347295,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[3.92144,4.11484,4.31215],[[0.999994,0.00347295,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[-3.35248,-0.98233,4.35737],[[0.387405,0.921909,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[3.86932,4.10654,4.43258],[[0.999994,0.00347295,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\lab_teacher_bench.p3d",[4.02874,-1.27847,4.11809],[[0.999997,-0.00253376,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\long_bench.p3d",[-4.57709,3.06625,4.34178],[[0.999999,0.00168434,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\decoration\box_c\box_c.p3d",[-0.721137,2.95541,0.733724],[[-0.0103259,0.799932,-0.00123556],[0.00210214,0.0012628,0.799996]],true,[],0.8],["a3\structures_f_enoch\furniture\decoration\box_c\box_c.p3d",[1.98712,-3.41202,4.60393],[[0.79998,-0.00572474,0],[0,0,0.8]],true,[],0.8],["Land_WallSign_01_chalkboard_F",[-4.89143,0.153901,2.56437],[[0.99998,-0.0063664,8.84046e-05],[9.13779e-05,0.000466736,-1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[-2.97333,-3.99576,2.43244],[[-0.00401361,0.999992,8.83348e-05],[-0.000467659,8.64585e-05,-1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[-2.97333,-3.99869,1.57944],[[0.0038397,0.999993,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[-4.89435,0.153901,1.71137],[[0.999899,-0.0142191,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["OfficeTable_01_old_F",[3.97076,2.61874,4.6564],[[0.999983,-0.0058816,0],[0,0,1]],true,["a3\structures_f_heli\furniture\data\officetable_01_old_co.paa"],1],["OfficeTable_01_old_F",[4.00677,2.61166,4.6974],[[0.000775802,1.53631e-05,1],[-0.999983,0.00584785,0.000775699]],true,["a3\structures_f_heli\furniture\data\officetable_01_old_co.paa"],1],["Land_Hammer_F",[3.72576,-1.97037,4.75356],[[-0.999993,-0.00375062,0],[0,0,1]],true,[],1],["Land_Hammer_F",[3.70721,2.64145,4.71546],[[-0.999993,-0.00375062,0],[0,0,1]],true,[],1],["Land_Hammer_F",[3.72601,-1.90128,4.75357],[[-0.999993,-0.00375062,0],[0,0,1]],true,[],1],["Land_Hammer_F",[3.71649,-0.646881,4.75351],[[-0.999993,-0.00375062,0],[0,0,1]],true,[],1],["Land_Hammer_F",[3.7171,-0.578033,4.75351],[[-0.999993,-0.00375062,0],[0,0,1]],true,[],1],["Land_Hammer_F",[3.7066,2.5726,4.71546],[[-0.999993,-0.00375062,0],[0,0,1]],true,[],1],["Land_Microwave_01_F",[4.10577,-2.2565,5.25976],[[1.39965,0.0312667,0],[0,0,1.4]],true,[],1.4],["a3\structures_f_enoch\furniture\cases\library_a\library_a_open.p3d",[-2.43903,-3.74551,4.33149],[[-0.00105125,0.999999,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[-3.16584,1.24057,3.96009],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[1.06158,-2.16177,3.97334],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[2.6751,-1.27066,7.53785],[[0.00287966,0.999996,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[-0.129828,-2.19669,7.54879],[[1,0.000204237,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[-3.41108,-2.20377,7.53823],[[1,0.000204237,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[-3.4051,2.96079,7.53048],[[0.00287966,0.999996,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[1.8615,1.37241,3.97243],[[0.999953,-0.0097205,0],[0,0,1]],true,[],1]]]; + + comment 'Shop (Abandoned)'; + _compData pushBack ["Land_u_Shop_02_V1_F",[["a3\structures_f_enoch\furniture\various\debris_small_house.p3d",[2.63713,0.737153,0.496772],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\various\debris_small_house.p3d",[-0.650225,1.65463,4.37653],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\various\dirtpile_small_house.p3d",[2.36296,-2.18375,4.39052],[[-0.489466,0.63279,0],[0,0,0.8]],true,[],0.8],["a3\structures_f_enoch\furniture\various\dirtpile_small_house.p3d",[-4.24764,2.69296,0.51],[[0.773551,-0.204008,0],[0,0,0.8]],true,[],0.8],["Land_Sack_F",[1.24064,2.2833,0.773272],[[-0.695139,0.0823466,-0.00108067],[-0.000855211,0.00196698,0.699997]],true,[],0.7],["Land_CratesShabby_F",[-2.7469,4.87167,0.753103],[[0.999575,-0.0291514,0],[0,0,1]],true,[],1],["Land_CratesShabby_F",[-3.61055,4.81332,1.24365],[[-0.999716,0.0238188,0],[0,0,1]],true,[],1],["Land_CratesWooden_F",[1.53239,3.18735,0.479389],[[-0.798766,0.0443918,-0.00122156],[-0.00147293,-0.00448935,0.799986]],true,[],0.8],["Land_CratesWooden_F",[3.93242,-1.3295,1.08758],[[0.799762,0.0194552,-0.00122889],[0.0011168,0.0046216,0.799986]],true,[],0.8],["Land_CratesWooden_F",[3.63884,-3.25455,0.487884],[[0.558003,0.573264,-0.00122477],[-0.00243611,0.00408041,0.799986]],true,[],0.8],["Land_CratesWooden_F",[0.399458,2.87582,1.08397],[[-0.799961,-0.00779163,-0.00121938],[-0.0011747,-0.00459158,0.799986]],true,[],0.8],["Land_Garbage_square5_F",[-2.86165,2.60947,0.531582],[[0,1,0],[0,0,1]],true,[],1],["Land_Garbage_square5_F",[0.968305,-1.68301,0.534451],[[0,1,0],[0,0,1]],true,[],1],["Land_Garbage_square5_F",[2.12443,2.75913,0.528691],[[0,1,0],[0,0,1]],true,[],1],["Land_Crowbar_01_F",[1.53007,2.77206,1.06392],[[0.965926,0.258813,-0.0015414],[0.00217372,-0.00215703,0.999995]],true,[],1],["Land_ShelvesMetal_F",[-1.49153,-0.85733,0.465096],[[0.00509466,-0.999987,0],[0,0,1]],true,[],1],["Land_ShelvesMetal_F",[-1.48531,-2.88321,0.467895],[[0.00509466,-0.999987,0],[0,0,1]],true,[],1],["Land_ShelvesMetal_F",[1.55327,-3.88589,0.470967],[[1,0.00095311,0],[0,0,1]],true,[],1],["Land_ShelvesMetal_F",[-0.472491,-3.88394,0.468168],[[1,0.00095311,0],[0,0,1]],true,[],1],["Land_ShelvesMetal_F",[-1.72933,-0.869293,0.466912],[[0.00509466,-0.999987,0],[0,0,1]],true,[],1],["Land_ShelvesMetal_F",[-1.7231,-2.89517,0.469711],[[0.00509466,-0.999987,0],[0,0,1]],true,[],1],["Land_ShelvesWooden_F",[-0.83333,2.87045,0.985132],[[0.999854,0.0170175,-0.00154375],[0.00158865,-0.00262528,0.999995]],true,[],1],["Leaflet_05_Old_F",[-3.3973,4.32309,0.493246],[[0.62917,-0.777268,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[-2.1053,3.056,0.512204],[[0.733764,-0.679404,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[-3.14131,4.08163,0.493246],[[0.980109,0.198461,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[-3.27071,3.54233,0.487567],[[0.984861,0.173347,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[-2.89559,3.64951,0.512203],[[0.957868,-0.287207,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[-2.05904,3.40488,0.512203],[[-0.263117,-0.964764,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[-3.42696,3.94077,0.493246],[[-0.139167,-0.990269,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[-2.38668,3.20541,0.512203],[[-0.884936,-0.465713,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Land_GarbageHeap_04_F",[-4.40254,3.77158,0.821571],[[0.697869,0.0545736,-0.00107101],[0.00121219,-0.0017636,0.699997]],true,[],0.7],["Land_GarbageHeap_04_F",[-4.39791,2.06308,0.81278],[[-0.698571,-0.0446877,-0.00107362],[-0.00118994,0.00178412,0.699997]],true,[],0.7],["UserTexture1m_F",[-4.30843,0.578705,0.50882],[[0.00584805,0.0159697,-0.999855],[0.857873,-0.513852,-0.00318967]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["UserTexture1m_F",[-4.27608,-0.558258,0.508961],[[0.00358493,-0.0240579,-0.999704],[-0.999718,-0.0235716,-0.00301773]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["UserTexture1m_F",[3.56889,4.57065,0.510243],[[0.0090021,0.0144329,-0.999855],[0.734132,-0.679,-0.00319165]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["UserTexture1m_F",[3.54594,3.39536,0.510383],[[-0.00306812,-0.0167265,-0.999855],[-0.932218,0.361883,-0.00319333]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["UserTexture1m_F",[3.60673,-2.42276,0.512316],[[0.00295778,-0.0167474,-0.999855],[-0.999896,0.014056,-0.00319333]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["UserTexture1m_F",[3.5103,2.23813,0.51023],[[-0.0100739,-0.0137002,-0.999855],[-0.680142,0.733074,-0.00319206]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["UserTexture1m_F",[-2.75569,-3.16421,0.51074],[[0.0167142,0.00316458,-0.999855],[-0.00120049,-0.999994,-0.00318509]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["a3\structures_f_enoch\furniture\kitchen\dkamna_uhli\dkamna_uhli.p3d",[3.22966,-2.97598,4.36024],[[-0.00362929,-0.999993,0],[0,0,1]],true,[],1],["Land_PaperBox_01_small_ransacked_brown_F",[1.05571,-2.62173,0.704579],[[0.320731,0.94717,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_dmg_co.paa"],1],["Land_PaperBox_01_small_ransacked_brown_F",[-2.36751,3.91245,0.690281],[[0.565107,0.825018,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_dmg_co.paa"],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[-3.36556,0.211762,3.95645],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[2.28581,1.82138,3.96047],[[-0.999994,0.00333517,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[-0.310137,-1.68961,3.96311],[[0,1,0],[0,0,1]],true,[],1],["Land_ShelvesWooden_F",[-1.9919,0.679047,0.993603],[[0,1,0],[0,0,1]],true,[],1]]]; + _compData pushBack ["Land_u_Shop_02_V1_F",[["a3\structures_f_enoch\furniture\various\debris_small_house.p3d",[2.55742,-1.3013,0.489652],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\various\debris_small_house.p3d",[1.76262,-1.71243,4.41668],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\various\debris_small_house.p3d",[-2.58577,4.1113,0.509535],[[-0.657017,-0.753876,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\various\debris_small_house.p3d",[-3.38472,3.16843,4.35969],[[-0.0321946,-0.999482,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\various\dirtpile_small_house.p3d",[1.17253,2.34726,0.505819],[[0.994419,0.105488,-0.00154149],[0.00181228,-0.00247127,0.999995]],true,[],1],["Land_Sack_F",[-0.273028,2.91452,0.815638],[[-0.79507,0.0886728,-0.00123441],[-0.000991347,0.00224798,0.799996]],true,[],0.8],["Land_Garbage_square5_F",[0.962324,-1.52579,0.535222],[[0.997067,0.0765133,-0.0015438],[0.00174219,-0.0025261,0.999995]],true,[],1],["Land_Garbage_square5_F",[-2.88179,2.47165,0.528437],[[0,0.999999,-0.00154408],[0.00265199,0.00154407,0.999995]],true,[],1],["Land_Garbage_square5_F",[2.14995,2.75559,0.529031],[[0,0.999999,-0.00154408],[0.00265199,0.00154407,0.999995]],true,[],1],["Land_CratesPlastic_F",[0.796552,2.68161,0.718189],[[-0.799898,-0.0127037,-0.00123587],[-0.0012694,0.0021013,0.799996]],true,[],0.8],["Land_BarrelTrash_grey_F",[-1.21883,0.399018,0.892301],[[0,1,0],[0,0,1]],true,[],1],["Land_CashDesk_F",[0.912641,2.28207,1.49675],[[-0.999986,0.00505822,0.00151943],[-0.00155745,-0.00752188,-0.99997]],true,[],1],["UserTexture1m_F",[3.61882,4.53366,0.503002],[[0.0090021,0.0144329,-0.999855],[0.734132,-0.679,-0.00319165]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["UserTexture1m_F",[3.56022,2.20114,0.50299],[[-0.0100739,-0.0137002,-0.999855],[-0.680142,0.733074,-0.00319206]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["UserTexture1m_F",[-3.01485,-3.38785,0.509535],[[-0.0165189,-0.00401403,-0.999855],[-0.049482,0.99877,-0.00319217]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["UserTexture1m_F",[3.54973,-0.717315,0.50472],[[0.0090021,0.0144329,-0.999855],[0.734132,-0.679,-0.00319165]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["UserTexture1m_F",[3.59587,3.35837,0.503143],[[-0.00306812,-0.0167265,-0.999855],[-0.932218,0.361883,-0.00319333]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["UserTexture1m_F",[3.49113,-3.04983,0.504708],[[-0.0100739,-0.0137002,-0.999855],[-0.680142,0.733074,-0.00319206]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["UserTexture1m_F",[-4.2491,0.251801,0.499722],[[-0.0168734,-0.00207194,-0.999855],[0.0666304,0.997773,-0.00319207]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["UserTexture1m_F",[3.52678,-1.89261,0.504861],[[-0.00306812,-0.0167265,-0.999855],[-0.932218,0.361883,-0.00319333]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["a3\structures_f_enoch\furniture\kitchen\dkamna_uhli\dkamna_uhli.p3d",[3.25017,-2.98819,4.35417],[[-0.00507171,-0.999987,0],[0,0,1]],true,[],1],["Land_GarbageHeap_03_F",[-3.07222,4.57504,0.833781],[[0,0.799948,0.00908971],[0,-0.00908971,0.799948]],true,[],0.8],["Land_VergeRock_01_F",[2.89787,-3.09207,0.52952],[[0,-0.490179,0.0986148],[0,-0.0986148,-0.490179]],true,[],0.5],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[-3.24483,-0.161041,3.96741],[[-0.0234736,-0.999724,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[0.332807,-2.0181,3.96426],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[1.05021,1.77731,3.95197],[[0.999996,0.00265232,0],[0,0,1]],true,[],1],["Land_ShelvesMetal_F",[-1.48873,-0.885406,0.477089],[[0.00273194,-0.999995,-0.00154374],[-0.0026477,-0.00155097,0.999995]],true,[],1],["Land_ShelvesMetal_F",[-1.48555,-2.90591,0.47613],[[0.00273194,-0.999995,-0.00154374],[-0.0026477,-0.00155097,0.999995]],true,[],1],["Land_ShelvesMetal_F",[-1.71456,-2.90579,0.476284],[[0.00534664,-0.999985,-0.00154206],[-0.00264365,-0.00155622,0.999995]],true,[],1],["Land_ShelvesMetal_F",[-1.7231,-0.885162,0.477243],[[0.00534664,-0.999985,-0.00154206],[-0.00264365,-0.00155622,0.999995]],true,[],1],["Land_ShelvesMetal_F",[1.5656,-3.91873,0.474687],[[0.999999,-0.000228453,-0.00154348],[0.00154287,-0.00265199,0.999995]],true,[],1],["Land_ShelvesMetal_F",[-0.454912,-3.91592,0.475646],[[0.999999,-0.000228453,-0.00154348],[0.00154287,-0.00265199,0.999995]],true,[],1],["Land_ShelvesWooden_F",[-0.998492,2.88889,0.984999],[[0.999806,-0.0196397,-0.00154327],[0.00149089,-0.00268107,0.999995]],true,[],1],["Land_ShelvesWooden_F",[-4.57833,-1.22452,0.990634],[[0,1,0],[0,0,1]],true,[],1],["Land_PaperBox_01_small_destroyed_brown_F",[0.891523,1.75729,1.14231],[[-0.798904,0.0418377,-0.0012294],[-0.00111701,0.00217817,0.799996]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_destroyed_co.paa"],0.8]]]; + _compData pushBack ["Land_u_Shop_02_V1_F",[["a3\structures_f_enoch\furniture\various\debris_small_house.p3d",[2.50175,-0.457916,0.509535],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\various\debris_small_house.p3d",[-2.35005,-1.6149,4.41668],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\various\dirtpile_small_house.p3d",[1.50053,1.68222,4.36337],[[-0.683641,-0.415493,0],[0,0,0.8]],true,[],0.8],["Land_Garbage_square3_F",[2.33049,1.61484,0.538839],[[0,0.999999,-0.00154408],[-0.00573598,0.00154406,0.999982]],true,[],1],["Land_Sack_F",[-2.0024,-3.63858,0.91817],[[0.961057,0.276348,0],[0,0,1]],true,[],1],["Land_Garbage_line_F",[-3.96175,2.32993,0.532084],[[0,1,0],[0,0,1]],true,[],1],["Land_Garbage_line_F",[-2.56294,-1.23868,0.539891],[[0,1,0],[0,0,1]],true,[],1],["Land_Garbage_square5_F",[0.717329,-0.965728,0.532063],[[0,0.999999,-0.00154408],[0.00265199,0.00154407,0.999995]],true,[],1],["Land_Sacks_heap_F",[-2.63533,3.13583,0.853316],[[0,1,0],[0,0,1]],true,[],1],["Land_CratesPlastic_F",[0.61186,2.63071,1.17067],[[0,0.699999,-0.00107512],[0.00185706,0.00107512,0.699997]],true,[],0.7],["Land_BarrelTrash_grey_F",[-4.57857,0.8331,0.886102],[[0,0.999935,0.0113674],[0,-0.0113674,0.999935]],true,[],1],["Land_ShelvesMetal_F",[-4.83846,2.17416,0.494976],[[0,1,0],[0,0,1]],true,[],1],["Land_ShelvesMetal_F",[-4.83675,4.21201,0.494249],[[0,1,0],[0,0,1]],true,[],1],["Land_ShelvesMetal_F",[-1.47005,-1.7792,0.479638],[[0,1,0],[0,0,1]],true,[],1],["Land_ShelvesMetal_F",[-1.71468,0.248871,0.47922],[[0,1,0],[0,0,1]],true,[],1],["Land_ShelvesMetal_F",[-1.71114,-1.77774,0.479816],[[0,1,0],[0,0,1]],true,[],1],["Land_ShelvesMetal_F",[-1.47359,0.247406,0.479042],[[0,1,0],[0,0,1]],true,[],1],["Land_FoodSack_01_empty_brown_F",[-2.65389,4.46494,0.538065],[[0.960966,-0.276432,0.0113626],[-0.010919,0.00314396,0.999935]],true,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_dmg_brown_co.paa"],1],["Land_FoodSack_01_empty_brown_F",[3.1591,-2.13614,0.530002],[[0.25632,-0.966592,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_dmg_brown_co.paa"],1],["Land_FoodSack_01_empty_brown_F",[-3.98213,1.55673,0.519215],[[-0.407707,0.913042,0.0113652],[0.00463323,-0.0103779,0.999935]],true,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_dmg_brown_co.paa"],1],["Land_FoodSack_01_empty_brown_F",[0.906538,-0.366119,0.528609],[[-0.971358,0.237622,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_dmg_brown_co.paa"],1],["Land_FoodSack_01_empty_brown_F",[-2.46211,-0.278961,0.530649],[[0.862029,-0.506731,0.0113626],[-0.00979406,0.00576065,0.999935]],true,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_dmg_brown_co.paa"],1],["Land_FoodSack_01_dmg_brown_F",[1.41337,-1.30264,0.554773],[[0.635634,0.771989,-0.00154448],[0.00302726,-0.000491919,0.999995]],true,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_dmg_brown_co.paa"],1],["Land_FoodSack_01_dmg_brown_F",[0.857466,1.78696,0.557251],[[-0.478595,0.878034,-0.00154408],[0.00158865,0.00262448,0.999995]],true,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_dmg_brown_co.paa"],1],["Land_FoodSack_01_dmg_brown_F",[-2.14827,0.599946,0.569282],[[0,1,0],[-0.0120545,0,0.999927]],true,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_dmg_brown_co.paa"],1],["Land_FoodSack_01_dmg_brown_F",[-4.28084,4.67612,0.562586],[[0.246023,0.969264,0],[-0.011684,0.00296568,0.999927]],true,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_dmg_brown_co.paa"],1],["Land_FoodSack_01_dmg_brown_F",[-0.32979,-2.41788,0.580821],[[-0.187121,0.982336,-0.00154414],[0.00231487,0.00201285,0.999995]],true,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_dmg_brown_co.paa"],1],["Land_WoodenCrate_01_F",[1.76909,2.73642,0.780963],[[0.99989,-0.0148533,0],[0,0,1]],true,[],1],["Land_CashDesk_F",[0.200727,2.77695,1.50137],[[-0.000432792,-0.999998,0.0016159],[0.00263769,-0.00161704,-0.999995]],true,[],1],["UserTexture1m_F",[3.65751,-1.22305,0.505235],[[-0.00306812,-0.0167265,-0.999855],[-0.932218,0.361883,-0.00319333]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["UserTexture1m_F",[-4.33077,0.223237,0.497251],[[-0.000536568,-0.0135348,-0.999908],[-0.895487,-0.445041,0.00650463]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["UserTexture1m_F",[3.59477,-2.61417,0.504812],[[0.00295778,-0.0167474,-0.999855],[-0.999896,0.014056,-0.00319333]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["UserTexture1m_F",[3.55693,4.37924,0.502739],[[0.0090021,0.0144329,-0.999855],[0.734132,-0.679,-0.00319165]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["UserTexture1m_F",[-3.03414,-3.43179,0.509536],[[0.00399811,0.0129417,-0.999908],[0.979802,0.199867,0.00650458]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["UserTexture1m_F",[3.53398,3.20395,0.50288],[[-0.00306812,-0.0167265,-0.999855],[-0.932218,0.361883,-0.00319333]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["UserTexture1m_F",[3.49833,2.04672,0.502726],[[-0.0100739,-0.0137002,-0.999855],[-0.680142,0.733074,-0.00319206]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\glass_shattered_01_ca.paa"],1],["a3\structures_f_enoch\furniture\kitchen\dkamna_uhli\dkamna_uhli.p3d",[3.19768,-2.98477,4.35316],[[0.00439371,-0.99999,0],[0,0,1]],true,[],1],["Land_Icebox_F",[-0.0869925,-3.4296,1.10252],[[-0.00514323,-0.999987,0],[0,0,1]],true,[],1],["Land_Icebox_F",[1.87382,-3.43253,1.0977],[[-0.00514323,-0.999987,0],[0,0,1]],true,[],1],["Land_PaperBox_01_small_ransacked_brown_F",[2.13054,-2.37369,0.70245],[[0,0.999999,-0.00153589],[0.00265294,0.00153588,0.999995]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_dmg_co.paa"],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[-3.3719,1.25131,3.96944],[[0.013267,-0.999912,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[0.98039,1.68613,3.96805],[[0.999987,0.00502218,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[0.965376,-2.08853,3.96672],[[0.999987,0.00502218,0],[0,0,1]],true,[],1]]]; + + comment 'Industrial Shed'; + _compData pushBack ["Land_i_Shed_Ind_F",[["a3\structures_f_enoch\furniture\various\debris_small_house.p3d",[5.88606,-1.50266,0.00833392],[[0,0.999958,0.00921267],[0,-0.00921267,0.999958]],true,[],1],["a3\structures_f_enoch\furniture\various\dirtpile_small_house.p3d",[10.05,5.41482,-0.00995851],[[-0.998915,-0.0400642,0.0237388],[0.0237198,0.000951355,0.999718]],true,[],1],["Land_WoodenBox_F",[5.10249,-3.47043,0.0262954],[[0,1,-0.000488281],[0,0.000488281,1]],true,[],1],["Land_Garbage_line_F",[5.21797,-0.590547,0.0211961],[[0.999993,0.00365841,-8.49477e-05],[0,0.0232136,0.999731]],true,[],1],["Land_WoodenCrate_01_stack_x5_F",[7.8929,-0.695771,0.901555],[[0,1,-0.000488281],[0,0.000488281,1]],true,[],1],["Land_Net_Fence_8m_F",[4.77644,0.0469043,2.17504],[[0,1,0],[0,0,1]],true,[],1],["Land_Net_Fence_8m_F",[4.77449,0.0503223,0.385557],[[0,1,0],[0,0,1]],true,[],1],["Land_Net_Fence_4m_F",[8.74226,-1.9487,2.16753],[[0.999679,-0.0253529,0],[0,0,1]],true,[],1],["Land_Net_Fence_4m_F",[8.74287,-1.94919,0.35879],[[0.999679,-0.0253529,0],[0,0,1]],true,[],1],["Land_PaperBox_01_small_destroyed_brown_F",[6.67671,-1.11325,0.805107],[[0,0.999731,-0.0232136],[0,0.0232136,0.999731]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_destroyed_co.paa"],1],["Land_Cargo10_grey_F",[12.2677,5.16067,1.34814],[[-0.999577,0.0290998,0],[0,0,1]],true,[],1],["Land_WoodenCrate_01_F",[6.67988,-0.726289,0.261094],[[0.014553,0.99962,-0.0233875],[0.000340287,0.023385,0.999726]],true,[],1],["Land_WoodenCrate_01_F",[5.82393,-0.747773,0.248464],[[0.0113596,-0.999662,-0.0233871],[0.000265423,-0.0233856,0.999726]],true,[],1],["Land_WoodenCrate_01_F",[8.21406,-2.2197,0.339281],[[0.014553,0.99962,-0.0233851],[0,0.0233875,0.999726]],true,[],1],["Land_WoodenCrate_01_F",[6.35237,-0.510713,0.888788],[[-0.999905,0.0035453,-0.0133419],[-0.0133417,8.31397e-05,0.999911]],true,[],1],["Land_WoodenBox_02_F",[10.529,6.01712,0.480211],[[-0.999316,0.0369733,0],[0,0,1]],true,[],1],["Land_WoodenBox_02_F",[10.4906,4.97879,0.488524],[[0.0377296,0.999288,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\various\dirtpile_small_house.p3d",[3.96357,3.45999,-0.0460279],[[-0.334969,-0.942184,0.00920949],[0.00307971,0.00867929,0.999958]],true,[],1],["a3\structures_f_enoch\furniture\various\dirtpile_small_house.p3d",[-3.63237,-2.05197,0.000503302],[[-0.526408,-0.850232,-0.00048828],[-0.000257035,-0.00041515,1]],true,[],1],["a3\structures_f_enoch\furniture\various\dirtpile_small_house.p3d",[-5.02593,5.8865,0.0307262],[[0.209148,0.977841,0.00920467],[-0.00192142,-0.00900189,0.999958]],true,[],1],["Land_Pipes_large_F",[3.68916,3.51004,-0.00188661],[[0.0141523,0.899851,0.00827905],[-0.000125664,-0.0082781,0.899962]],true,[],0.9],["Land_Pallet_F",[-7.20061,6.82327,0.748116],[[-0.011785,0.214293,0.976698],[0.00277978,-0.976755,0.214339]],true,[],1],["Land_Garbage_line_F",[-3.06292,-1.87473,0.0508854],[[0.999993,0.00365939,-1.78681e-06],[0,0.000488281,1]],true,[],1],["Land_Garbage_line_F",[1.1313,-2.68112,0.0730131],[[0.999949,0.00366396,0.00935854],[-0.00936039,0.00048826,0.999956]],true,[],1],["Land_Bricks_V3_F",[-3.4594,6.34769,0.00221944],[[0.999953,0.00295843,0.00921266],[-0.00921263,-2.70037e-05,0.999957]],true,[],1],["Land_Sacks_heap_F",[-2.72771,-3.04025,0.407523],[[0,0.999958,-0.00911521],[0.00944249,0.00911481,0.999914]],true,[],1],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[-7.49797,0.222686,0.390142],[[-0.0191029,-0.999776,-0.00911459],[-0.0150175,-0.00882831,0.999848]],true,[],1],["Land_WoodenCrate_01_stack_x5_F",[-5.25627,-2.97702,0.986125],[[0,1,-0.000488281],[0,0.000488281,1]],true,[],1],["Land_WoodenCounter_01_F",[-7.95513,-3.50168,0.490508],[[0,0.999958,-0.00911521],[0.0148461,0.00911421,0.999848]],true,[],1],["Land_TinWall_02_l_pole_F",[0.759839,0.0344532,1.70631],[[0,1,0],[0,0,1]],true,[],1],["Land_TinWall_02_l_pole_F",[-2.48247,0.0305469,1.77945],[[0,1,0],[0,0,1]],true,[],1],["Land_Net_Fence_4m_F",[-4.49407,0.0744922,2.24136],[[-0.0221957,-0.999754,0],[0,0,1]],true,[],1],["Land_Net_Fence_4m_F",[-4.49395,0.0740039,0.432618],[[-0.0221957,-0.999754,0],[0,0,1]],true,[],1],["Land_FoodSacks_01_small_brown_F",[2.35298,-3.26437,0.238249],[[0.998959,-0.0456019,-0.000488076],[0.000914399,0.00932838,0.999956]],true,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_full_brown_co.paa"],1],["Land_WheelCart_F",[4.03218,-0.502168,0.322582],[[0.999726,-0.00312741,-0.0232136],[0.0232135,-7.22849e-05,0.99973]],true,[],1],["Land_BackAlley_01_l_gate_F",[-0.851856,0.0512989,1.67097],[[0,1,0],[0,0,1]],true,[],1],["Land_ShelvesWooden_F",[-8.77166,0.408477,0.536642],[[-0.999684,0.0234325,-0.00911522],[-0.00876382,0.0150556,0.999848]],true,[],1],["Land_PaperBox_01_small_destroyed_brown_F",[-7.22307,-3.52487,0.366786],[[0,0.999993,0.00384455],[0,-0.00384455,0.999993]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_destroyed_co.paa"],1],["Land_FoodSacks_01_large_brown_F",[1.27131,-2.98728,0.478195],[[0,1,-0.000488281],[-0.00936039,0.00048826,0.999956]],true,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_full_brown_co.paa","a3\props_f_orange\humanitarian\supplies\data\foodsack_01_large_brown_mlod_co.paa"],1],["Land_FoodSacks_01_large_brown_F",[-0.306324,-2.98972,0.483096],[[0,1,-0.000488281],[-0.00936039,0.00048826,0.999956]],true,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_full_brown_co.paa","a3\props_f_orange\humanitarian\supplies\data\foodsack_01_large_brown_mlod_co.paa"],1],["Land_FoodSack_01_full_brown_F",[2.34993,-3.30197,0.433545],[[0.998259,-0.0228072,0.0543877],[-0.0547606,-0.0160549,0.99837]],true,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_full_brown_co.paa"],1],["Land_FoodSack_01_full_brown_F",[2.38911,-2.56906,0.109842],[[0.999597,-0.0163553,-0.0232156],[0.0229556,-0.0159099,0.99961]],true,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_full_brown_co.paa"],1],["Land_FoodSack_01_full_brown_F",[3.26338,-3.45603,0.0931933],[[-0.932606,0.36015,-0.0232157],[-0.0160591,0.0228511,0.99961]],true,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_full_brown_co.paa"],1],["Land_FoodSack_01_empty_brown_F",[-0.329517,-1.77414,0.0426505],[[-0.712666,0.7015,0.00214644],[0.00575665,0.00278856,0.999979]],true,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_dmg_brown_co.paa"],1],["Land_FoodSack_01_empty_brown_F",[2.93611,-1.75998,0.0600684],[[0.29214,-0.956094,-0.0232158],[-0.00807129,-0.0267387,0.99961]],true,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_dmg_brown_co.paa"],1],["Land_FoodSack_01_empty_brown_F",[-1.9832,-1.83566,0.0367897],[[-0.936402,-0.350924,0.00214657],[-0.000104562,0.00639579,0.999979]],true,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_dmg_brown_co.paa"],1],["Land_FoodSack_01_dmg_brown_F",[0.0486569,-1.01755,0.0821588],[[0.666953,-0.745099,-0.000488009],[0.00729966,0.00587914,0.999956]],true,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_dmg_brown_co.paa"],1],["Land_FoodSack_01_dmg_brown_F",[1.33674,-1.17502,0.0836151],[[0.987812,0.155649,-0.000488009],[-0.000974852,0.00932196,0.999956]],true,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_dmg_brown_co.paa"],1],["Land_Cargo20_sand_F",[3.5854,5.14529,1.27248],[[0.0203624,0.999793,0],[0,0,1]],true,[],1],["Land_WoodenCrate_01_F",[-3.90435,-3.00559,0.305218],[[0,0.999958,-0.00911521],[0.00944249,0.00911481,0.999914]],true,[],1],["Land_WoodenCrate_01_F",[-4.15068,-1.84958,0.291619],[[-0.999901,-0.0106882,-0.00911524],[-0.00921524,0.00934449,0.999914]],true,[],1],["Land_WoodenCrate_01_F",[-6.12798,-1.60495,0.361138],[[0,0.999958,-0.00911521],[0.00944249,0.00911481,0.999914]],true,[],1],["Land_WoodenCrate_01_F",[-6.1071,-1.61179,1.03145],[[0,0.999958,-0.00911521],[0.00944249,0.00911481,0.999914]],true,[],1],["Land_WoodenBox_02_F",[-5.57524,6.28055,0.507992],[[1,-0.000761358,0],[0,0,1]],true,[],1],["Land_WoodenBox_02_F",[-4.53704,6.28055,0.522995],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[-7.31206,-0.154512,0.0232775],[[0.123681,-0.99228,-0.00911523],[-0.0136048,-0.0108805,0.999848]],true,[],1],["Land_Brick_01_F",[-1.87896,5.92532,0.0631602],[[-0.803146,-0.595711,0.00921215],[0.00739884,0.00548826,0.999958]],true,[],1],["Land_Brick_01_F",[-4.06841,5.23392,0.062866],[[0.999909,0.00985538,0.00921242],[-0.00921198,-9.08972e-05,0.999957]],true,[],1],["Land_Brick_01_F",[-2.85772,5.0823,0.0588577],[[0.458491,-0.888651,0.00921242],[-0.00422409,0.00818693,0.999958]],true,[],1],["Land_Brick_01_F",[-2.55962,5.27005,0.121877],[[-0.935291,-0.35376,0.00921205],[0.00861617,0.00325938,0.999957]],true,[],1],["Land_Brick_01_F",[-4.09502,5.46756,0.062041],[[0.844502,-0.535473,0.00921242],[-0.0077803,0.00493312,0.999958]],true,[],1],["Land_Brick_01_F",[-1.97673,6.13333,0.0674846],[[0.0122176,-0.999883,0.00921242],[-0.000112658,0.00921174,0.999958]],true,[],1],["Land_Brick_01_F",[-2.68523,5.28055,0.0613124],[[-0.0648642,-0.997851,0.0092124],[0.000597302,0.00919302,0.999957]],true,[],1],["Land_Brick_01_F",[-2.19512,5.95828,0.0573862],[[0.731729,0.681533,0.00921198],[-0.00674088,-0.00627863,0.999958]],true,[],1],["Land_Brick_01_F",[-2.44683,5.27322,0.0584323],[[-0.337972,-0.941111,0.00921242],[0.00311357,0.00867032,0.999958]],true,[],1],["Land_WallSign_01_chalkboard_F",[-6.55876,-2.33347,1.51672],[[0.999988,-0.000711508,0.00490581],[-0.000708041,-0.999999,-0.000708405]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[-6.56084,-1.48166,1.51473],[[-0.999966,-0.00820413,-0.001164],[-0.00820337,0.999966,-0.000656193]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[-6.56585,-0.630098,1.51443],[[-0.999992,-0.0040673,-0.000249582],[0.00406723,-0.999992,0.000260526]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_PaperBox_01_small_ransacked_brown_F",[-4.00481,-1.8508,0.838754],[[0.422448,0.906387,-0.000487782],[0.000203911,0.000443122,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_dmg_co.paa"],1],["a3\structures_f_enoch\furniture\lighting\hangar_lamp\hangar_lamp.p3d",[3.94856,1.57864,4.90747],[[0.056445,0.998406,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\hangar_lamp\hangar_lamp.p3d",[-6.3366,1.57352,4.87264],[[-0.0726092,0.99736,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[-8.41716,-1.70017,3.0134],[[-0.999965,-0.00838109,0],[0,0,1]],true,[],1]]]; + _compData pushBack ["Land_i_Shed_Ind_F",[["Tire_Van_02_Spare_F",[6.0821,-3.3508,2.68784],[[0,-0.0257481,-0.999668],[0,0.999668,-0.0257481]],true,[],1],["Tire_Van_02_Spare_F",[8.38008,-3.35007,2.71162],[[0,-0.0257481,-0.999668],[0,0.999668,-0.0257481]],true,[],1],["Tire_Van_02_Spare_F",[6.85017,-3.35642,2.70269],[[0,-0.0257481,-0.999668],[0,0.999668,-0.0257481]],true,[],1],["Tire_Van_02_Spare_F",[5.29731,-3.34543,2.61654],[[0,-0.0257481,-0.999668],[0,0.999668,-0.0257481]],true,[],1],["Land_GasTank_01_khaki_F",[4.65352,-3.1135,0.335277],[[-0.9495,-0.313635,-0.0091152],[-0.0116164,0.00610689,0.999914]],true,[],1],["a3\structures_f_enoch\furniture\various\debris_small_house.p3d",[10.5885,4.53812,0.0119641],[[0,0.99973,-0.0232162],[0.0155326,0.0232134,0.99961]],true,[],1],["a3\structures_f_enoch\furniture\various\dirtpile_small_house.p3d",[8.19221,-3.13522,0.0235126],[[-0.357279,-0.933998,-0.000488108],[0.00856801,-0.00380007,0.999956]],true,[],1],["Land_GasTank_02_F",[8.92073,6.84866,0.715371],[[-0.634417,-0.486988,0.0189405],[0.0150243,0.0115331,0.799776]],true,[],0.8],["Land_WeldingTrolley_01_F",[9.81746,6.26077,0.699398],[[0,0.99972,0.0236759],[0,-0.0236759,0.99972]],true,[],1],["Land_PowerPoleWooden_small_F",[4.67854,-3.60324,2.73385],[[-0.00915566,0.999958,8.58754e-05],[-0.999956,-0.00915546,-0.00206567]],true,[],1],["Land_Wreck_Van_F",[12.2332,3.58108,0.989821],[[0,0.999868,0.0162554],[0.0155326,-0.0162535,0.999747]],true,[],1],["Land_GarbageContainer_closed_F",[8.22822,-3.18967,0.655053],[[-0.00867088,0.799734,-0.0187094],[-0.00020944,0.0187082,0.799781]],true,[],0.8],["Land_GasTank_02_F",[8.66145,6.88187,0.706524],[[-0.531742,-0.597404,0.0189406],[0.0125928,0.0141481,0.799776]],true,[],0.8],["Land_GasTank_02_F",[8.46003,6.49026,0.118678],[[-0.305716,-0.549184,-0.494908],[0.702357,-0.382902,-0.00896708]],true,[],0.8],["a3\data_f\hook\hook_f.p3d",[7.64961,-3.38498,2.75665],[[-0.999668,0.0229693,-0.0116719],[-0.0233855,-0.999046,0.036877]],true,[],1],["Tire_Van_02_Spare_F",[-4.05681,-3.37302,2.69668],[[-0.0115662,-0.0257482,-0.999601],[-0.000297952,0.999668,-0.0257464]],true,[],1],["Tire_Van_02_Spare_F",[-3.28862,-3.37863,2.59082],[[-0.0115662,-0.0257482,-0.999601],[-0.000297952,0.999668,-0.0257464]],true,[],1],["Tire_Van_02_Spare_F",[1.8061,-3.37326,2.66958],[[-0.0128984,-0.0257479,-0.999585],[-0.000332273,0.999668,-0.0257457]],true,[],1],["Tire_Van_02_Spare_F",[-5.60991,-3.36203,2.64012],[[-0.0115662,-0.0257482,-0.999601],[-0.000297952,0.999668,-0.0257464]],true,[],1],["Tire_Van_02_Spare_F",[4.52925,-3.33981,2.66048],[[0,-0.0257481,-0.999668],[0,0.999668,-0.0257481]],true,[],1],["Tire_Van_02_Spare_F",[3.33601,-3.36691,2.6588],[[-0.0128984,-0.0257479,-0.999585],[-0.000332273,0.999668,-0.0257457]],true,[],1],["Tire_Van_02_Spare_F",[-4.84172,-3.36765,2.64608],[[-0.0115662,-0.0257482,-0.999601],[-0.000297952,0.999668,-0.0257464]],true,[],1],["Tire_Van_02_Spare_F",[-1.75872,-3.37229,2.6467],[[-0.0115662,-0.0257482,-0.999601],[-0.000297952,0.999668,-0.0257464]],true,[],1],["Tire_Van_02_Spare_F",[2.5677,-3.3613,2.60346],[[-0.0128984,-0.0257479,-0.999585],[-0.000332273,0.999668,-0.0257457]],true,[],1],["Tire_Van_02_Spare_F",[0.253125,-3.36228,2.73536],[[-0.0128984,-0.0257479,-0.999585],[-0.000332273,0.999668,-0.0257457]],true,[],1],["Tire_Van_02_Spare_F",[-0.515186,-3.35666,2.65734],[[-0.0128984,-0.0257479,-0.999585],[-0.000332273,0.999668,-0.0257457]],true,[],1],["Land_MetalWire_F",[3.13118,-3.34641,0.828336],[[0,0.99973,-0.0232162],[0.0155326,0.0232134,0.99961]],true,[],1],["Land_BottlePlastic_V1_F",[-5.87468,-0.333467,0.107949],[[0,0.999958,-0.00911521],[0.00944249,0.00911481,0.999914]],true,[],1],["Land_BottlePlastic_V1_F",[-5.94854,-0.240937,0.0416839],[[-0.00509497,-0.00447675,0.999977],[-0.745098,-0.66692,-0.00678205]],true,[],1],["Land_Metal_rack_Tall_F",[-6.81462,-3.15915,0.0331995],[[0.999863,0.0138235,-0.00911516],[0.00931852,-0.0147186,0.999848]],true,[],1],["Land_Metal_rack_Tall_F",[-6.79534,0.159697,0.0154159],[[0.999863,0.0136942,-0.00930824],[0.00931852,-0.000686918,0.999956]],true,[],1],["Land_GasTank_01_khaki_F",[4.10591,-2.95725,0.356701],[[0.757588,0.652669,-0.00911509],[0.0130681,-0.00120421,0.999914]],true,[],1],["Land_GasTank_01_khaki_F",[4.22969,-3.45651,0.34822],[[0.996813,0.079249,-0.00911519],[0.00983443,-0.00869013,0.999914]],true,[],1],["Land_CanisterFuel_Blue_F",[-4.1751,6.68948,0.310198],[[0.879055,-0.476719,-0.000481564],[0.000426118,-0.000224415,1]],true,["a3\props_f_orange\humanitarian\supplies\data\canisterfuel_blue_co.paa"],1],["Land_Wrench_F",[-5.48577,6.71927,0.815015],[[0.589172,-0.808007,0],[0,0,1]],true,[],1],["Land_Wrench_F",[0.434033,-3.62717,0.787322],[[-0.826782,-0.562523,0],[0,0,1]],true,[],1],["Land_Wrench_F",[0.645092,-3.40524,0.787322],[[0.589172,-0.808007,0],[0,0,1]],true,[],1],["Land_Wrench_F",[2.80391,-3.39719,0.824257],[[0.466584,0.884477,-0.000488281],[-0.00805124,0.00479926,0.999956]],true,[],1],["Land_Wrench_F",[-5.69683,6.49734,0.815015],[[-0.826782,-0.562523,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\cases\metalcrate\metalcrate.p3d",[-6.77776,6.72122,0.0266531],[[-0.999955,-0.00177532,0.00930157],[0.00927417,0.0148626,0.999846]],true,[],1],["Land_FireExtinguisher_F",[-10.9477,-2.75852,0.427857],[[0,0.999958,0.00921267],[0,-0.00921267,0.999958]],true,[],1],["Land_ToolTrolley_02_F",[-6.94634,-2.02829,0.509162],[[0.0110191,0.999898,-0.00911526],[0.0149438,0.00895013,0.999848]],true,[],1],["Land_GarbageBarrel_02_buried_F",[-0.723072,6.45364,0.323451],[[-0.678424,-0.423959,0],[0,0,0.8]],true,["a3\props_f_enoch\military\garbage\data\garbagebarrelc_co.paa"],0.8],["a3\structures_f_enoch\furniture\various\debris_small_house.p3d",[-2.5822,6.03128,0.0235679],[[-0.909329,0.415975,0.00920383],[0.00837013,-0.00382773,0.999958]],true,[],1],["a3\structures_f_enoch\furniture\various\dirtpile_small_house.p3d",[-7.01824,-2.12497,0.0739996],[[-0.699863,-0.0135689,0.0026886],[0.00268818,4.77116e-05,0.699995]],true,[],0.7],["Land_GarbageBarrel_02_F",[-3.62944,-2.33762,0.723283],[[-0.822223,-0.365991,-0.0004379],[-0.000402027,-0.00017365,0.9]],true,["a3\props_f_enoch\military\garbage\data\garbagebarrelc_co.paa"],0.9],["Land_GarbageBarrel_02_F",[-4.31267,-3.05197,0.70946],[[0.792645,0.426278,-0.00043267],[0.000380073,0.000206766,0.9]],true,["a3\props_f_enoch\military\garbage\data\garbagebarrelc_co.paa"],0.9],["Land_GarbageBarrel_02_F",[-4.31963,-2.38278,0.734176],[[0.839031,-0.325618,-0.000435369],[0.000407109,-0.000154338,0.9]],true,["a3\props_f_enoch\military\garbage\data\garbagebarrelc_co.paa"],0.9],["Land_GarbageBarrel_02_F",[-3.61504,-3.0051,0.728082],[[-0.800441,0.411455,-0.000439453],[-0.000390841,0.000200904,0.9]],true,["a3\props_f_enoch\military\garbage\data\garbagebarrelc_co.paa"],0.9],["Land_ChairPlastic_F",[-6.05559,-0.667207,0.50257],[[0.0164821,0.999822,-0.0091153],[0.00959126,0.00895802,0.999914]],true,[],1],["Land_ChairPlastic_F",[-5.87175,-1.78391,0.507611],[[-0.455338,0.890272,-0.0091153],[0.00425606,0.0124147,0.999914]],true,[],1],["Land_Garbage_square3_F",[-5.26238,-1.47727,0.0668404],[[0,0.999958,-0.00911521],[0.00944249,0.00911481,0.999914]],true,[],1],["Land_Pallets_F",[-2.03862,-2.7363,0.31212],[[0.997496,-0.0668018,-0.0232158],[0.0221233,-0.0170489,0.99961]],true,[],1],["Land_Pallet_F",[-4.02459,-2.72067,0.119621],[[0,0.99973,-0.0232162],[0.0155326,0.0232134,0.99961]],true,[],1],["Land_PowerPoleWooden_small_F",[-3.47319,-3.60422,2.71658],[[0.00915484,0.999958,-0.000129242],[0.999958,-0.00915484,9.31424e-07]],true,[],1],["Land_Metal_rack_F",[-7.62957,0.384551,0.921006],[[-0.0231963,0.999724,0.00384415],[8.89937e-05,-0.00384312,0.999993]],true,[],1],["Land_Metal_rack_F",[-8.82488,0.366729,0.950287],[[-0.0231963,0.999724,0.00384415],[8.89937e-05,-0.00384312,0.999993]],true,[],1],["Land_Metal_rack_F",[-10.8288,-0.865937,0.946825],[[-0.999935,0.0106915,0.00383706],[0.00383692,-3.32035e-05,0.999992]],true,[],1],["Land_Metal_rack_F",[-8.38848,-3.676,0.94353],[[0.0164725,-0.999857,0.00384455],[-6.33302e-05,0.00384403,0.999993]],true,[],1],["Land_Metal_rack_F",[-7.25188,-3.69357,0.923731],[[0.0164725,-0.999857,0.00384455],[-6.33302e-05,0.00384403,0.999993]],true,[],1],["Land_Metal_rack_F",[-10.8311,-2.05368,0.943699],[[-0.999982,-0.00460979,0.00383984],[0.00383979,2.16973e-05,0.999993]],true,[],1],["Land_Workbench_01_F",[-8.07048,1.19266,0.49191],[[0.00312271,-0.999995,0],[0,0,1]],true,[],1],["a3\data_f\hook\hook_f.p3d",[-2.50786,-3.44211,2.74038],[[-0.999668,0.0229693,-0.0116719],[-0.0233855,-0.999046,0.036877]],true,[],1],["a3\data_f\hook\hook_f.p3d",[1.05635,-3.46848,2.75762],[[-0.999668,0.0229693,-0.0116719],[-0.0233855,-0.999046,0.036877]],true,[],1],["Land_TinWall_02_l_4m_F",[-6.46978,-1.4697,1.203],[[-1,-0.000628296,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\various\workbench.p3d",[1.42305,-3.51633,0.0130603],[[-0.999899,-0.00815599,-0.0116335],[-0.0117578,0.0153643,0.999813]],true,[],1],["a3\structures_f_enoch\furniture\various\workbench.p3d",[-3.72307,6.55911,0.0329053],[[0.999997,-0.00259408,0],[0,0,1]],true,[],1],["Land_WallSign_01_chalkboard_F",[2.7812,-3.8237,1.33768],[[0.0155852,0.999878,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\n2\wallsign_01_f_chalkboard_tools_co.paa","a3\missions_f_orange\data\img\orange_compositions\n2\wallsign_01_f_chalkboard_tools_co.paa"],1],["Land_Bucket_painted_F",[-0.65166,-3.37961,0.14069],[[0,1,-0.000488281],[-0.00936039,0.00048826,0.999956]],true,[],1],["a3\structures_f_enoch\furniture\lighting\hangar_lamp\hangar_lamp.p3d",[-6.27019,1.57938,4.89649],[[-0.0726092,0.99736,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\hangar_lamp\hangar_lamp.p3d",[4.01497,1.5845,4.93132],[[0.056445,0.998406,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[-8.97039,-1.66794,3.01534],[[-0.999849,0.0173819,0],[0,0,1]],true,[],1]]]; + _compData pushBack ["Land_i_Shed_Ind_F",[["a3\structures_f_enoch\furniture\various\debris_small_house.p3d",[8.83882,2.4545,-0.0667336],[[0,0.999718,0.0237388],[0,-0.0237388,0.999718]],true,[],1],["a3\structures_f_enoch\furniture\various\dirtpile_small_house.p3d",[5.57917,-2.62802,-0.00376248],[[-0.194943,-0.980814,-0.000480996],[-9.55299e-05,-0.000471417,1]],true,[],1],["Land_Cargo20_grey_F",[10.7015,3.64188,1.23741],[[-0.999878,-0.0156347,0],[0,0,1]],true,[],1],["Land_Cargo10_light_blue_F",[5.36213,5.18533,1.26561],[[-0.999967,-0.00542019,0.00597278],[0.00597217,0.000128825,0.999982]],true,[],1],["Land_WoodenBox_02_F",[4.81758,-3.15109,0.492935],[[0,1,0],[0,0,1]],true,[],1],["Land_WoodenBox_02_F",[5.96589,-3.14084,0.471132],[[0.999982,-0.00601988,0],[0,0,1]],true,[],1],["Land_Bucket_painted_F",[6.77461,-2.75717,0.151656],[[0,0.999731,-0.0232136],[0,0.0232136,0.999731]],true,[],1],["Land_WoodenCrate_01_F",[7.42012,-3.35666,0.335468],[[0.999612,-0.0151392,-0.0233854],[0.0233827,-0.000351635,0.999726]],true,[],1],["Land_PalletTrolley_01_khaki_F",[-5.55461,-2.11923,0.532167],[[0.0220511,-0.999715,-0.00911541],[-0.00923792,-0.00932098,0.999914]],true,[],1],["Land_PalletTrolley_01_khaki_F",[-5.56536,-2.91611,0.562279],[[-0.0206078,-0.999746,-0.00911499],[-0.00962833,-0.00891806,0.999914]],true,[],1],["Land_OfficeCabinet_02_F",[-7.72332,-3.69406,0.826168],[[0.0132144,-0.999905,0.00384455],[-5.08033e-05,0.00384422,0.999993]],true,[],1],["a3\structures_f_enoch\furniture\various\debris_small_house.p3d",[-1.06206,-1.59628,0.0451686],[[0,1,-0.000488281],[-0.00936039,0.00048826,0.999956]],true,[],1],["a3\structures_f_enoch\furniture\various\dirtpile_small_house.p3d",[-3.62993,4.13687,0.015516],[[0.105838,0.994383,-0.000487894],[4.79857e-05,0.000485542,1]],true,[],1],["a3\structures_f_enoch\furniture\decoration\flowers\flower_02.p3d",[-7.04204,0.17398,0.0169003],[[0,0.999958,-0.00911521],[0.0148461,0.00911421,0.999848]],true,[],1],["Land_Garbage_square3_F",[-7.99138,-0.886567,0.0940249],[[0,0.999993,0.00384455],[0,-0.00384455,0.999993]],true,[],1],["Land_Garbage_square3_F",[-9.7531,-2.29306,0.106578],[[0,0.999993,0.00384455],[0,-0.00384455,0.999993]],true,[],1],["Land_Cargo20_grey_F",[-1.20317,5.09427,1.30671],[[0.0270872,0.999591,0.0092051],[-0.00025036,-0.0092017,0.999958]],true,[],1],["Land_Pallet_F",[-1.27043,3.06033,0.111523],[[0,0.999958,0.00921267],[0,-0.00921267,0.999958]],true,[],1],["Land_Pallet_F",[-1.2846,3.04678,0.463204],[[0,0.999958,0.00921267],[0,-0.00921267,0.999958]],true,[],1],["Land_Pallet_F",[-1.26995,3.04703,0.296306],[[0,0.999958,0.00921267],[0,-0.00921267,0.999958]],true,[],1],["Land_Pallet_F",[-1.27141,3.04593,0.65101],[[0,0.999958,0.00921267],[0,-0.00921267,0.999958]],true,[],1],["Land_Pallet_F",[-1.25518,3.05691,0.835794],[[0,0.999958,0.00921267],[0,-0.00921267,0.999958]],true,[],1],["Land_CratesWooden_F",[-1.98125,-2.39597,0.743581],[[-0.999593,0.0285332,-0.000492646],[-0.000759161,-0.00933044,0.999956]],true,[],1],["Land_FlowerPot_01_F",[-8.78374,0.560942,0.86941],[[0,0.999958,-0.00911521],[0.0148461,0.00911421,0.999848]],true,[],1],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[-6.97637,-1.54074,0.380532],[[-0.999952,0.00347221,-0.00911522],[-0.00906261,0.0148776,0.999848]],true,[],1],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[-8.29033,0.323882,0.404448],[[-0.016711,-0.999819,-0.00911302],[-0.0149962,-0.00886264,0.999848]],true,[],1],["Land_Crowbar_01_F",[-5.6502,0.268706,0.945915],[[0.607307,0.794467,-0.000486682],[0.000292603,0.000388917,1]],true,[],1],["a3\structures_f_enoch\furniture\decoration\wallboards\wall_board\wall_board.p3d",[-11.157,1.47391,0.088485],[[-0.999793,-0.0199705,0.00384013],[0.00383931,7.94894e-05,0.999993]],true,[],1],["a3\structures_f_enoch\furniture\chairs\ch_mod_c\ch_mod_c.p3d",[-6.99968,-3.22861,0.941033],[[0,-0.999987,-0.00515903],[0,0.00515903,-0.999987]],true,[],1],["a3\structures_f_enoch\furniture\chairs\ch_mod_c\ch_mod_c.p3d",[-7.1884,-2.59909,0.0368907],[[-0.837725,0.546079,0.00383932],[0.00321609,-0.00209694,0.999993]],true,[],1],["a3\structures_f_enoch\furniture\chairs\ch_mod_c\ch_mod_c.p3d",[-7.56646,-3.00498,0.0403168],[[0.356151,0.93442,0.00383897],[-0.00136773,-0.00358706,0.999993]],true,[],1],["a3\structures_f_enoch\furniture\chairs\ch_mod_c\ch_mod_c.p3d",[-7.14019,-2.6185,0.940664],[[0.837722,-0.546073,-0.00515882],[-0.00432177,0.00281704,-0.999987]],true,[],1],["a3\structures_f_enoch\furniture\chairs\ch_mod_c\ch_mod_c.p3d",[-7.36968,-1.87546,0.0344708],[[-0.945752,-0.324867,0.003839],[0.00363093,0.00124669,0.999993]],true,[],1],["a3\structures_f_enoch\furniture\chairs\ch_mod_c\ch_mod_c.p3d",[-7.00957,-3.17783,0.0372593],[[0,0.999993,0.00384455],[0,-0.00384455,0.999993]],true,[],1],["Land_MapBoard_01_Wall_F",[-10.8887,-2.54709,0.570624],[[0.969269,0.000122221,0.246001],[-0.246001,0,0.96927]],true,["a3\structures_f\civ\infoboards\data\mapboard_default_co.paa"],1],["PlywoodBarricade_01_decal",[0.985058,3.80154,0.0020349],[[-0.998733,0.0503215,0],[0,0,1]],true,[],1],["Land_ShelvesWooden_F",[-10.8902,-1.13583,0.527802],[[0,0.999993,0.00384455],[0,-0.00384455,0.999993]],true,[],1],["Land_PaperBox_01_small_destroyed_brown_F",[-8.58843,-3.61374,0.249357],[[0,0.999993,0.00384455],[0,-0.00384455,0.999993]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_destroyed_co.paa"],1],["Leaflet_05_Old_F",[-10.8768,-2.03183,0.0734971],[[0.204865,0.978748,-0.00911523],[0.0163866,0.00588182,0.999848]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[-8.45208,-0.837495,0.066889],[[-0.938157,0.346091,-0.00911661],[-0.00341771,0.0170732,0.999848]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[-10.3482,-2.14157,0.063102],[[0.760168,0.649662,-0.00911258],[0.0165663,-0.00535967,0.999848]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[-10.4997,-1.75974,0.0670612],[[-0.0046785,0.999947,-0.00911547],[0.0147922,0.00918378,0.999848]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[-8.26616,-0.330537,0.056494],[[-0.531244,0.84717,-0.00911499],[0.0077288,0.0156043,0.999848]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[-10.7192,-0.901704,0.0721023],[[-0.791038,0.611699,-0.00911777],[0.0018633,0.017313,0.999848]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[-10.2465,-0.948213,0.0681431],[[-0.0442413,0.998979,-0.00911561],[0.0144179,0.00976206,0.999848]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[-7.76604,-1.41879,0.0514529],[[0.340804,0.94009,-0.00911401],[0.0170588,0.00350916,0.999848]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[-10.658,-1.29746,0.0785382],[[-0.645369,0.763817,-0.00911835],[0.00544623,0.0165377,0.999848]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[-8.75469,-0.452852,0.0604532],[[-0.989837,0.141914,-0.00911643],[-0.00691756,0.0159801,0.999848]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[-8.27983,-1.58396,0.0618479],[[-0.30457,0.952446,-0.00911542],[0.0113555,0.0132003,0.999848]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[-8.16338,-1.10898,0.0554121],[[-0.497307,0.867527,-0.00911479],[0.00834056,0.0152862,0.999848]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["a3\structures_f_enoch\furniture\various\workbench_dz.p3d",[-8.02031,1.23221,0.479123],[[0.00333701,-0.999952,0.0092362],[0.00492553,0.00925258,0.999945]],true,[],1],["Land_WoodenCrate_01_F",[-0.0421634,3.18716,0.308889],[[0.0097877,0.999672,0.0236748],[0.0152962,-0.0238228,0.999599]],true,[],1],["Land_WoodenBox_02_F",[-5.74346,0.214873,0.464791],[[0.999888,-0.014941,0],[0,0,1]],true,[],1],["Land_WoodenBox_02_F",[-5.68376,-0.911226,0.485179],[[0.0249007,0.99969,0],[0,0,1]],true,[],1],["Land_WallSign_01_chalkboard_F",[-6.57219,-1.49265,2.08816],[[-0.999966,-0.00820413,-0.001164],[-0.00820337,0.999966,-0.000656193]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[-6.56548,-2.34445,2.12489],[[0.999988,-0.000711508,0.00490581],[-0.000708041,-0.999999,-0.000708405]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[-6.57146,-0.641084,2.06638],[[-0.999992,-0.0040673,-0.000249582],[0.00406723,-0.999992,0.000260526]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_PaperBox_01_small_ransacked_brown_F",[-7.59832,-0.53,0.25005],[[-0.234362,0.972107,-0.00911627],[0.0122919,0.0123398,0.999848]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_dmg_co.paa"],1],["a3\structures_f_enoch\furniture\lighting\hangar_lamp\hangar_lamp.p3d",[3.95259,1.5878,4.9119],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\hangar_lamp\hangar_lamp.p3d",[-6.28044,1.58426,4.88176],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[-9.02678,-1.64401,2.98929],[[-0.999995,-0.00300866,0],[0,0,1]],true,[],1]]]; + + comment 'House (White)'; + _compData pushBack ["Land_i_House_Small_01_V1_F",[["a3\structures_f_enoch\furniture\school_equipment\lab_sink.p3d",[0.816425,-1.25635,0.365449],[[-0.899922,0.0118148,0],[0,0,0.9]],true,[],0.9],["Fridge_01_closed_F",[0.948871,-2.08057,0.754693],[[1,-0.000272361,0],[0,0,1]],true,[],1],["Land_OfficeCabinet_02_F",[0.982685,-0.887208,0.248911],[[-5.54713e-06,-0.00114993,0.999999],[-0.00512114,-0.999986,-0.00114994]],true,[],1],["Land_GasTank_01_khaki_F",[0.569111,5.23132,0.611128],[[-0.254006,-0.967203,0],[0,0,1]],true,[],1],["Land_GasTank_01_khaki_F",[0.281025,5.07007,0.607774],[[-0.037992,-0.999278,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\cases\metalcrate\metalcrate.p3d",[-0.272808,5.11633,0.255999],[[-1,0.000706847,0],[0,0,1]],true,[],1],["Land_Basket_F",[0.177997,2.81494,0.558639],[[-0.603617,0.667568,0],[0,0,0.9]],true,[],0.9],["Land_Sack_F",[-1.8585,5.05249,0.64606],[[0.251499,0.864146,0],[0,0,0.9]],true,[],0.9],["Land_Sack_F",[-1.21092,5.08288,0.696272],[[-0.968726,-0.248132,0],[0,0,1]],true,[],1],["Land_ShelvesWooden_blue_F",[1.9197,-2.15479,0.694951],[[0,0.8,0],[0,0,0.8]],true,[],0.8],["a3\structures_f_enoch\furniture\school_equipment\class_case_a_open.p3d",[1.94582,2.30969,0.243857],[[-0.899856,0.0161157,0],[0,0,0.9]],true,[],0.9],["Land_Rug_01_F",[2.97487,4.25073,0.281684],[[-1.29996,0.010687,0],[0,0,1.3]],true,["a3\props_f_orange\furniture\data\rug_01_brown_co.paa"],1.3],["Land_Rug_01_F",[-3.58006,4.87305,0.303302],[[0.599984,0.00443406,0],[0,0,0.6]],true,["a3\props_f_orange\furniture\data\rug_01_brown_co.paa"],0.6],["Land_Rug_01_Traditional_F",[-2.85691,0.961913,0.287684],[[0,1,0],[0,0,1]],true,["a3\props_f_orange\furniture\data\rug_01_traditional_co.paa"],1],["Land_Rug_01_F",[2.81533,-3.1676,0.302506],[[0.599984,0.00443406,0],[0,0,0.6]],true,["a3\props_f_orange\furniture\data\rug_01_brown_co.paa"],0.6],["Land_Rug_01_F",[-1.47288,-2.35254,0.294427],[[0,1.3,0],[0,0,1.3]],true,["a3\props_f_orange\furniture\data\rug_01_brown_co.paa"],1.3],["Land_CratesPlastic_F",[1.92397,-1.44116,0.483801],[[-0.7997,0.0219189,0],[0,0,0.8]],true,[],0.8],["Land_BarrelTrash_grey_F",[3.94936,0.978881,0.65923],[[0,1,0],[0.00591972,0,0.999982]],true,[],1],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[-4.41002,-1.02234,0.630077],[[0.999949,0.0100689,0],[0,0,1]],true,[],1],["Land_WoodenCounter_01_F",[-1.3524,2.80237,0.730035],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\school_clock.p3d",[1.30226,-0.383302,1.97408],[[1,0.00038782,0],[0,0,1]],true,[],1],["Land_Photoframe_01_F",[4.30312,-2.62219,1.6534],[[-0.00452041,-0.99999,8.16016e-06],[-0.00591663,3.4906e-05,0.999982]],true,["a3\data_f_argo\images\assetmaldenstructures_co.paa","#(rgb,8,8,3)color(0.154662,0.334143,0.390801,0.590272)"],1],["Land_Photoframe_01_F",[4.30214,-1.32617,1.6534],[[-0.00689402,-0.999976,-5.88436e-06],[-0.00591663,3.4906e-05,0.999982]],true,["a3\map_malden\data\ui_malden_ca.paa","#(rgb,8,8,3)color(0.154662,0.334143,0.390801,0.590272)"],1],["Land_Photoframe_01_F",[-4.77696,-1.38318,1.5264],[[0,1,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\photoframe_random_04_co.paa","#(rgb,8,8,3)color(0.154662,0.334143,0.390801,0.590272)"],1],["a3\structures_f_enoch\furniture\school_equipment\class_case_b_closed.p3d",[3.9496,0.0653064,0.265869],[[1,-0.00068268,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\class_case_b_closed.p3d",[0.955585,-2.99646,-0.420149],[[0.99999,0.0045649,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\decoration\wallboards\picture_c\picture_c.p3d",[-1.43858,-3.69324,0.398073],[[0.000642872,1.2,0],[0,0,1.2]],true,[],1.2],["Land_PaperBox_01_small_destroyed_brown_F",[-0.741925,2.81103,0.650311],[[0,1,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_destroyed_co.paa"],1],["Land_TableDesk_F",[0.948749,-0.868409,0.681508],[[0.999957,0.00923707,0],[0,0,1]],true,[],1],["Land_ChairWood_F",[-2.16429,-3.10327,0.282944],[[-0.956659,-0.291209,0],[0,0,1]],true,[],1],["Land_ChairWood_F",[-1.02977,-1.91455,0.294545],[[0.996066,0.0886113,0],[0,0,1]],true,[],1],["Land_ChairWood_F",[-2.13609,-1.98206,0.299483],[[-0.999996,-0.00289041,0],[0,0,1]],true,[],1],["Land_ChairWood_F",[-0.863873,-3.20191,0.274871],[[0.973762,-0.22757,0],[0,0,1]],true,[],1],["Land_RattanTable_01_F",[3.71328,3.63647,0.296313],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\decoration\flowers\flower_01.p3d",[1.00161,1.80383,0.266559],[[0,1,0],[0,0,1]],true,[],1],["Land_TableSmall_01_F",[-2.55442,1.55041,0.498827],[[0,1,0],[0,0,1]],true,[],1],["Land_WoodenBed_01_F",[-3.82701,0.989501,0.75426],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[-4.11876,-0.791627,0.300886],[[0.999998,-0.00197681,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\long_bench.p3d",[4.05654,-2.01734,0.254756],[[0.999999,0.00159279,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\light_bathroom\light_bathroom.p3d",[-1.31028,4.00391,3.44196],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\cases\dhangar_borwnskrin\dhangar_brownskrin.p3d",[-4.4929,-2.60181,0.287565],[[-0.999995,0.00310104,0],[0,0,1]],true,[],1],["Land_Axe_F",[-2.04271,2.79858,1.20929],[[-0.382253,-0.924058,0],[0,0,1]],true,[],1],["Land_WallSign_01_chalkboard_F",[-4.85313,0.0811756,1.68288],[[-1,-0.000262086,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[-4.85606,0.0811756,2.53588],[[-0.999967,-0.00811534,8.84697e-05],[-8.46737e-05,-0.000468103,-1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[-3.00108,-3.81018,1.54548],[[-0.00392707,-0.999992,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[0.110981,-3.78919,1.61652],[[-0.00392707,-0.999992,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[-3.00108,-3.81311,2.39848],[[0.00392599,-0.999992,8.84685e-05],[0.000467602,-8.66334e-05,-1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[0.110981,-3.79212,2.46952],[[0.00392599,-0.999992,8.84685e-05],[0.000467602,-8.66334e-05,-1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["a3\structures_f_enoch\furniture\kitchen\dkamna_uhli\dkamna_uhli.p3d",[-0.400494,1.5448,0.260074],[[0,1,0],[0,0,1]],true,[],1],["Land_Hammer_F",[0.663105,-0.434083,0.767408],[[-0.999868,0.0162496,0],[0,0,1]],true,[],1],["Land_Hammer_F",[0.679462,-1.34021,0.7646],[[-0.999868,0.0162496,0],[0,0,1]],true,[],1],["Land_Hammer_F",[0.679462,-1.25781,0.764552],[[-0.999868,0.0162496,0],[0,0,1]],true,[],1],["Land_Hammer_F",[0.663105,-0.516481,0.767456],[[-0.999868,0.0162496,0],[0,0,1]],true,[],1],["Land_TableBig_01_F",[-1.45079,-2.54614,0.70097],[[-0.999993,0.00371044,0],[0,0,1]],true,[],1],["Land_Bucket_painted_F",[1.05019,-2.58374,0.392897],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\decoration\wallboards\picture_a_03\picture_a_03.p3d",[1.64309,2.37866,0.670705],[[1.2,0.00129851,0],[0,0,1.2]],true,[],1.2],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[2.94631,3.29407,2.20527],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[2.90297,-1.42969,2.15732],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[-1.95311,-0.753175,2.14998],[[0,1,0],[0,0,1]],true,[],1],["Land_Sofa_01_F",[3.01271,4.80884,0.738534],[[0.00118581,-0.999999,0],[0,0,1]],true,[],1],["Land_Pillow_grey_F",[3.79543,4.72119,0.881858],[[0.759411,0.908908,0.920425],[-0.590154,-0.706329,1.18441]],true,[],1.5],["Land_Microwave_01_F",[1.13771,-0.235597,1.21414],[[1.39929,0.0446359,0],[0,0,1.4]],true,[],1.4],["Land_WoodPile_F",[-3.13707,2.79101,0.440168],[[-0.49942,0.0240849,0],[0,0,0.5]],true,[],0.5],["Land_WoodPile_F",[-1.46702,1.92871,0.423401],[[-0.499994,-0.00237741,0],[0,0,0.5]],true,[],0.5],["a3\structures_f_enoch\furniture\school_equipment\radiator.p3d",[4.32936,1.94006,0.425717],[[0.699998,-0.00184473,0],[0,0,0.7]],true,[],0.7]]]; + _compData pushBack ["Land_i_House_Small_01_V1_F",[["a3\structures_f_enoch\furniture\school_equipment\lab_sink.p3d",[-2.00706,5.0509,0.43012],[[0.0139358,-0.799879,0],[0,0,0.8]],true,[],0.8],["Fridge_01_closed_F",[-2.65916,5.07605,0.804597],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\radiator.p3d",[-2.6472,2.14538,0.380854],[[0,0.9,0],[0,0,0.9]],true,[],0.9],["Land_OfficeCabinet_02_F",[-1.4763,5.2384,0.196278],[[-1.09992e-07,3.16459e-05,1],[0.999995,0.00308864,1.22486e-08]],true,[],1],["Land_GasTank_01_khaki_F",[-4.63279,2.65149,0.623635],[[0.786952,0.617014,0],[0,0,1]],true,[],1],["Land_GasTank_01_khaki_F",[-4.62339,3.03284,0.630422],[[0.996881,0.0789147,0],[0,0,1]],true,[],1],["Land_Sack_F",[1.89589,-2.43836,0.644106],[[-0.6944,-0.397252,0],[0,0,0.8]],true,[],0.8],["Land_Bench_F",[1.91567,-1.13147,0.546347],[[0,1,0],[0,0,1]],true,[],1],["Land_ShelvesWooden_blue_F",[-4.52317,1.51257,0.771058],[[0,1,0],[0,0,1]],true,[],1],["Land_Rug_01_Traditional_F",[-1.7429,5.43469,1.90968],[[0.999994,-0.00229902,-0.00255264],[-0.00230383,-0.999996,-0.00188476]],true,["a3\props_f_orange\furniture\data\rug_01_traditional_co.paa"],1],["Land_Rug_01_Traditional_F",[-0.497906,-1.34924,0.290684],[[0,1,0],[0,0,1]],true,["a3\props_f_orange\furniture\data\rug_01_traditional_co.paa"],1],["Land_Rug_01_F",[2.83022,-1.08338,0.289106],[[0,1.4,0],[0,0,1.4]],true,["a3\props_f_orange\furniture\data\rug_01_brown_co.paa"],1.4],["Land_Rug_01_Traditional_F",[-1.7158,3.25207,0.309683],[[-0.99978,0.0209599,0],[0,0,1]],true,["a3\props_f_orange\furniture\data\rug_01_traditional_co.paa"],1],["Land_Rug_01_F",[-3.67344,4.92248,0.302586],[[0.599976,-0.00541003,0],[0,0,0.6]],true,["a3\props_f_orange\furniture\data\rug_01_brown_co.paa"],0.6],["Land_Rug_01_F",[-3.1721,-0.011842,0.279684],[[1.4998,-0.0242416,0],[0,0,1.5]],true,["a3\props_f_orange\furniture\data\rug_01_brown_co.paa"],1.5],["Land_Rug_01_F",[2.85707,-3.1991,0.298585],[[0.599976,-0.00541003,0],[0,0,0.6]],true,["a3\props_f_orange\furniture\data\rug_01_brown_co.paa"],0.6],["Land_RattanChair_01_F",[-1.04026,2.76233,0.822742],[[0.899722,-0.02235,0],[0,0,0.9]],true,[],0.9],["Land_RattanChair_01_F",[-1.74315,3.47131,0.823531],[[-0.03976,0.899121,0],[0,0,0.9]],true,[],0.9],["Land_RattanChair_01_F",[-2.38585,2.83826,0.825724],[[-0.899114,-0.0399319,0],[0,0,0.9]],true,[],0.9],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[-2.69407,-3.32117,0.64153],[[0,1,0],[0,0,1]],true,[],1],["Land_ShelvesWooden_F",[-4.54893,3.65686,0.67279],[[0,0.8,0],[0.00473311,0,0.799986]],true,[],0.8],["Land_ShelvesWooden_F",[4.058,-3.09119,0.672781],[[0,0.8,0],[0.00473311,0,0.799986]],true,[],0.8],["Land_Photoframe_01_F",[-4.77586,-0.773072,1.7024],[[0,1,0],[0,0,1]],true,["a3\missions_f_orange\data\img\avatar_journalist_ca.paa","#(rgb,8,8,3)color(0.882886,0.729273,0.863515,0.107918)"],1],["a3\structures_f_enoch\furniture\school_equipment\class_case_b_closed.p3d",[1.98525,2.34387,0.260821],[[-0.999988,0.00480572,0],[0,0,1]],true,[],1],["Land_PlasticBucket_01_closed_F",[1.85244,0.102904,0.453752],[[0,0.8,0],[0,0,0.8]],true,[],0.8],["Land_TableDesk_F",[-1.48973,5.22156,0.675552],[[0,1,0],[0,0,1]],true,[],1],["Land_BarrelWater_grey_F",[-1.54197,1.81189,0.686753],[[0,1,0],[0,0,1]],true,[],1],["Land_RattanTable_01_F",[-0.490704,-0.903932,0.284883],[[0,1,0],[0,0,1]],true,[],1],["Land_RattanTable_01_F",[-1.76658,2.83337,0.681911],[[0,1,0],[0,0,1]],true,[],1],["Land_RattanTable_01_F",[-0.487042,-1.62805,0.285332],[[0,1,0],[0,0,1]],true,[],1],["Land_Rack_F",[-0.556256,1.89465,1.0709],[[1,-0.000279276,0],[0,0,1]],true,[],1],["Land_TableSmall_01_F",[-4.25315,-1.26599,0.493514],[[0.999991,-0.00426967,0],[0,0,1]],true,[],1],["Land_WoodenBed_01_F",[-3.66282,-0.00842404,0.710182],[[-0.99997,-0.00768684,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[-2.89476,-3.02771,0.282837],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\cases\dhangar_borwnskrin\dhangar_brownskrin.p3d",[-4.5189,-2.58118,0.284201],[[-0.999999,-0.00108749,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\decoration\wallboards\picture_f\picture_f.p3d",[-0.68272,-3.69495,0.714992],[[0.000280555,1,0],[0,0,1]],true,[],1],["Land_LuggageHeap_01_F",[-2.50572,-0.496705,-0.0485677],[[-0.903063,0.429509,-5.04667e-05],[-0.000569191,-0.00131425,-0.999999]],true,[],1],["Land_WallSign_01_chalkboard_F",[0.199116,-3.79724,2.55268],[[0.00392698,-0.999992,8.91992e-05],[0.000471417,-8.73486e-05,-1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[0.199116,-3.79407,1.69968],[[-0.00392707,-0.999992,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[-4.85118,0.149291,2.44792],[[-0.999967,-0.00811534,8.84697e-05],[-8.46737e-05,-0.000468103,-1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[-4.84825,0.149291,1.59492],[[-1,-0.000262086,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[-2.9127,-3.81531,1.62886],[[-0.00392707,-0.999992,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[-2.9127,-3.81824,2.48186],[[0.00392599,-0.999992,8.84685e-05],[0.000467602,-8.66334e-05,-1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["a3\structures_f_enoch\furniture\kitchen\dkamna_uhli\dkamna_uhli.p3d",[0.024555,4.84875,0.27626],[[0,1,0],[0,0,1]],true,[],1],["Land_Hammer_F",[-1.89866,4.94836,0.732063],[[0.00975561,-0.999952,0],[0,0,1]],true,[],1],["Land_Hammer_F",[-1.96849,4.94788,0.731932],[[0.00975561,-0.999952,0],[0,0,1]],true,[],1],["Land_Hammer_F",[-1.03099,4.93835,0.734186],[[0.00975561,-0.999952,0],[0,0,1]],true,[],1],["Land_Hammer_F",[-1.10081,4.93787,0.734055],[[0.00975561,-0.999952,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[-1.70005,-0.659791,2.15366],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[2.9446,0.889769,2.1725],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[-1.21299,3.81262,2.1472],[[0,1,0],[0,0,1]],true,[],1],["Land_ArmChair_01_F",[-0.331524,-2.94788,0.758139],[[0,1,0],[0,0,1]],true,[],1],["Land_Sofa_01_F",[0.764545,-1.22229,0.758757],[[-0.999873,0.0159502,0],[0,0,1]],true,[],1],["Land_Microwave_01_F",[-1.03379,5.24841,1.21053],[[0.033049,1.39961,0],[0,0,1.4]],true,[],1.4],["a3\structures_f_enoch\furniture\cases\library_a\library_a_open.p3d",[-1.43565,-3.52625,0.271752],[[0.00227809,0.999997,0],[0,0,1]],true,[],1],["Land_WoodPile_F",[0.718158,2.66418,0.462111],[[0.599987,0.00399276,0],[0,0,0.6]],true,[],0.6],["Land_FlowerPot_01_Flower_F",[0.878925,-3.16467,1.06491],[[0,1,0],[0,0,1]],true,[],1],["Land_CanisterPlastic_F",[-4.4929,4.27478,0.630823],[[0,1,0],[0,0,1]],true,["a3\structures_f\data\accessories\accessories02_co.paa"],1]]]; + _compData pushBack ["Land_i_House_Small_01_V1_F",[["Fridge_01_closed_F",[-0.826031,1.78406,0.766502],[[0,1,0],[0,0,1]],true,[],1],["Land_OfficeCabinet_02_F",[-2.03795,2.18835,0.390173],[[-0.0154657,-0.99988,0],[0,0,1]],true,[],1],["Land_OfficeCabinet_02_F",[-1.65501,1.8988,0.411952],[[0.000698011,0.0131651,0.999913],[0.999937,0.0111985,-0.000845471]],true,[],1],["Land_OfficeCabinet_02_F",[-1.26524,2.17419,0.390225],[[-0.0154657,-0.99988,0],[0,0,1]],true,[],1],["Land_Garbage_square3_F",[-0.556622,-2.16907,0.307043],[[0,1,0],[0,0,1]],true,[],1],["Land_WoodenBox_F",[4.03749,-0.602662,0.288763],[[-0.799987,0.00462162,0],[0,0,0.8]],true,[],0.8],["Land_WoodenBox_F",[4.03896,-0.608033,0.634774],[[-0.799987,0.00462162,0],[0,0,0.8]],true,[],0.8],["Land_BarrelWater_F",[-1.71714,5.12756,0.68315],[[0,1,0],[0,0,1]],true,[],1],["Land_Garbage_line_F",[-1.7296,5.22522,0.342676],[[0.999919,0.0127275,0],[0,0,1]],true,[],1],["Land_Bench_F",[1.95095,-0.985475,0.546682],[[0,1,0],[0,0,1]],true,[],1],["Land_Bench_F",[-2.33995,2.77209,0.545735],[[0.999961,0.00887612,0],[0,0,1]],true,[],1],["Land_ShelvesWooden_blue_F",[-2.47654,5.1366,0.781523],[[0.99993,-0.0118421,0],[0,0,1]],true,[],1],["Land_Rug_01_Traditional_F",[-3.87584,-2.58533,0.286684],[[0,1,0],[0,0,1]],true,["a3\props_f_orange\furniture\data\rug_01_traditional_co.paa"],1],["Land_Rug_01_F",[-2.49461,3.53601,0.298066],[[1.39987,0.0187651,0],[0,0,1.4]],true,["a3\props_f_orange\furniture\data\rug_01_brown_co.paa"],1.4],["Land_Rug_01_F",[0.418598,-0.731813,0.280373],[[0,1.1,0],[0,0,1.1]],true,["a3\props_f_orange\furniture\data\rug_01_brown_co.paa"],1.1],["Land_Rug_01_F",[2.83608,-3.12268,0.297537],[[0.699993,0.00320094,0],[0,0,0.7]],true,["a3\props_f_orange\furniture\data\rug_01_brown_co.paa"],0.7],["Land_Rug_01_F",[-3.60826,0.779906,0.296301],[[0,1.3,0],[0,0,1.3]],true,["a3\props_f_orange\furniture\data\rug_01_brown_co.paa"],1.3],["Land_BarrelTrash_grey_F",[1.91372,-2.21912,0.645003],[[0,0.9,0],[0,0,0.9]],true,[],0.9],["Land_WoodenTable_small_F",[-3.49205,0.613158,0.719227],[[0.0557063,0.998447,0],[0,0,1]],true,[],1],["PlywoodBarricade_01_decal",[1.63295,2.27795,0.226339],[[0.00462426,-0.999989,0],[0,0,1]],true,[],1],["Land_ShelvesWooden_F",[3.98659,-1.91809,0.758686],[[-0.0070225,0.999975,-2.61134e-08],[0.00591829,4.15884e-05,0.999982]],true,[],1],["Land_ShelvesWooden_F",[3.99245,-2.81775,0.418881],[[-0.0070225,0.999975,-2.61134e-08],[0.00591829,4.15884e-05,0.999982]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\class_case_b_closed.p3d",[-1.32713,-3.34656,0.290613],[[-0.00262579,-0.999997,0],[0,0,1]],true,[],1],["Land_PaperBox_01_small_destroyed_brown_F",[-1.1179,5.17883,0.466926],[[0,1,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_destroyed_co.paa"],1],["Leaflet_05_Old_F",[-0.313336,-2.01746,0.306327],[[0.89079,0.454415,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[-0.537335,-2.33704,0.306431],[[0.306729,0.951797,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[-1.4796,-2.49939,0.303251],[[0.507341,0.861745,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[-1.015,-2.59168,0.303279],[[-0.708471,0.70574,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[-0.666119,-1.88147,0.306404],[[0.954375,0.29861,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[-1.30711,-2.06238,0.303175],[[-0.696675,0.717387,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Land_TableDesk_F",[0.890033,-0.741822,0.652573],[[-0.999999,-0.00153572,0],[0,0,1]],true,[],1],["Land_ChairWood_F",[-3.3469,1.21594,0.284896],[[0.0557063,0.998447,0],[0,0,1]],true,[],1],["Land_ChairWood_F",[-4.16209,0.820433,0.260703],[[-0.970095,0.242725,0],[0,0,1]],true,[],1],["Land_ChairWood_F",[-2.75181,0.40515,0.261248],[[0.923735,-0.383032,0],[0,0,1]],true,[],1],["Land_ChairWood_F",[-3.44822,-0.343141,0.242994],[[-0.464491,-0.885578,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\cases\library_a\library_a.p3d",[1.14211,-2.14368,0.261956],[[-1,-8.61327e-05,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\beds\postel_panelak1.p3d",[-3.64476,-2.61829,0.285472],[[-0.014524,-0.999894,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\decoration\flowers\flower_01.p3d",[-4.50462,1.85217,0.302438],[[0,1,0],[0,0,1]],true,[],1],["Land_Rack_F",[-4.55101,3.67639,1.11497],[[0,1,0],[0,0,1]],true,[],1],["Land_TableSmall_01_F",[-3.3629,-3.17517,0.459542],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[0.639911,-0.794313,0.269312],[[-0.999997,0.00250691,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\cases\dhangar_borwnskrin\dhangar_brownskrin.p3d",[2.44997,5.31433,0.270936],[[0.0069239,0.999976,0],[0,0,1]],true,[],1],["Land_Photoframe_01_broken_F",[-3.50291,1.74963,0.322327],[[0.914466,-0.404663,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\s4+s5\s4_photowall_01_co.paa","a3\props_f_orange\items\decorative\data\photoframe_01_f_co.paa"],1],["a3\structures_f_enoch\furniture\bathroom\sink\sink.p3d",[-0.129498,1.94372,1.04682],[[0,1,0],[0,0,1]],true,[],1],["Land_WallSign_01_chalkboard_F",[-2.83714,-3.83289,2.42354],[[0.00392599,-0.999992,8.84685e-05],[0.000467602,-8.66334e-05,-1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[-4.86387,0.103637,1.65078],[[-1,-0.000262086,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[-4.8668,0.103637,2.50378],[[-0.999967,-0.00811534,8.84697e-05],[-8.46737e-05,-0.000468103,-1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[0.274921,-3.81189,2.49459],[[0.00392599,-0.999992,8.84685e-05],[0.000467602,-8.66334e-05,-1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[-2.83714,-3.82996,1.57054],[[-0.00392707,-0.999992,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[0.274921,-3.80896,1.64159],[[-0.00392707,-0.999992,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["OfficeTable_01_old_F",[-1.79295,1.82068,0.654404],[[-0.00136146,-0.999999,0],[0,0,1]],true,["a3\structures_f_heli\furniture\data\officetable_01_old_co.paa"],1],["a3\structures_f_enoch\furniture\kitchen\dkamna_uhli\dkamna_uhli.p3d",[-4.19908,-1.00476,0.271552],[[-0.99944,0.0334607,0],[0,0,1]],true,[],1],["Land_Hammer_F",[-1.74742,1.58215,0.701064],[[-0.00469572,-0.999989,0],[0,0,1]],true,[],1],["Land_Hammer_F",[-1.88255,1.5824,0.702417],[[-0.00469572,-0.999989,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[-1.593,-0.835084,2.15308],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[-1.71629,3.93933,2.14762],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[2.92372,2.8739,2.20679],[[0,1,0],[0,0,1]],true,[],1],["Land_ArmChair_01_F",[-2.53135,-3.08826,0.759716],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\decoration\wallboards\picture_a_02\picture_a_02.p3d",[1.29262,-1.26575,0.565149],[[-0.999988,0.00490443,0],[0,0,1]],true,[],1],["Land_WoodPile_F",[4.0663,0.780394,0.420336],[[-0.00963371,-0.599923,0],[0,0,0.6]],true,[],0.6],["Land_PaperBox_01_small_ransacked_brown_F",[0.253315,-3.03748,0.470461],[[-0.53165,0.846964,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_dmg_co.paa"],1]]]; + + comment 'House (Big, White)'; + _compData pushBack ["Land_i_House_Big_02_V1_F",[["Fridge_01_closed_F",[-4.27058,1.71592,0.699906],[[-0.999991,0.00415914,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\radiator.p3d",[-2.90889,-0.89394,3.69316],[[0.00369502,-0.799992,0],[0,0,0.8]],true,[],0.8],["a3\structures_f_enoch\furniture\school_equipment\radiator.p3d",[2.78215,-0.927144,0.338531],[[0.00369502,-0.799992,0],[0,0,0.8]],true,[],0.8],["a3\structures_f_enoch\furniture\cases\dhangar_borwnskrin\dhangar_brownskrin_open.p3d",[4.29827,3.64634,3.60303],[[0.999998,0.00175157,0],[0,0,1]],true,[],1],["Land_OfficeCabinet_02_F",[-4.63899,2.46128,0.397649],[[0.99988,0.0154643,0],[0,0,1]],true,[],1],["Land_OfficeCabinet_02_F",[-4.66731,3.99327,0.393736],[[0.99988,0.0154643,0],[0,0,1]],true,[],1],["Land_OfficeCabinet_02_F",[-4.56184,4.60093,0.393275],[[-0.00377162,-0.999993,0],[0,0,1]],true,[],1],["Land_OfficeCabinet_02_F",[-2.00276,4.38292,1.05192],[[0.0128817,0.999917,0],[0,0,1]],true,[],1],["Land_OfficeCabinet_02_F",[-4.65254,3.23277,0.395999],[[0.99988,0.0154643,0],[0,0,1]],true,[],1],["Land_OfficeCabinet_02_F",[-1.99665,4.64219,1.04998],[[-0.0342298,-0.999414,0],[0,0,1]],true,[],1],["Land_GasTank_01_khaki_F",[-3.89289,-4.47573,0.579555],[[0.813871,0.581045,0],[0,0,1]],true,[],1],["Land_GasTank_01_khaki_F",[-4.29805,-4.46572,0.568973],[[0.813871,0.581045,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\cases\metalcrate\metalcrate.p3d",[0.386524,4.20713,3.58279],[[0.00491671,-0.899987,0],[0,0,0.9]],true,[],0.9],["Land_ChairPlastic_F",[-4.1977,-3.15444,0.718517],[[0.101702,0.994815,0],[0,0,1]],true,[],1],["Land_WoodenBox_F",[4.31804,1.1566,3.594],[[0.799993,-0.00322539,0],[0,0,0.8]],true,[],0.8],["Land_Basket_F",[-4.1667,-3.90273,0.569041],[[0.776862,-0.629671,0],[0,0,1]],true,[],1],["Land_Sack_F",[4.30242,3.11558,0.52233],[[0.610317,-0.342802,0],[0,0,0.7]],true,[],0.7],["Land_Garbage_square5_F",[2.49248,3.39415,3.64934],[[0,1,0],[0,0,1]],true,[],1],["Land_Garbage_square5_F",[-2.59065,-2.93374,3.68072],[[0,1,0],[0,0,1]],true,[],1],["Land_ShelvesWooden_blue_F",[4.33294,2.48326,4.12198],[[0,1,0],[0,0,1]],true,[],1],["Land_Rug_01_F",[1.52166,-2.11196,0.254249],[[-0.999984,-0.00563983,0],[0,0,1]],true,["a3\props_f_orange\furniture\data\rug_01_brown_co.paa"],1],["Land_Rug_01_F",[-0.0322988,4.22569,0.246372],[[0.499929,-0.00840331,0],[0,0,0.5]],true,["a3\props_f_orange\furniture\data\rug_01_brown_co.paa"],0.5],["Land_Rug_01_Traditional_F",[4.56462,0.333599,5.02487],[[-2.45869e-07,1,-7.49424e-10],[-0.999981,-2.45869e-07,-0.00608885]],true,["a3\props_f_orange\furniture\data\rug_01_traditional_co.paa"],1],["Land_Rug_01_Traditional_F",[2.82366,3.91783,0.269939],[[-0.999994,-0.00356036,0],[0,0,1]],true,["a3\props_f_orange\furniture\data\rug_01_traditional_co.paa"],1],["Land_Rug_01_F",[2.76702,0.384136,3.60968],[[0.00408057,1.39999,0],[0,0,1.4]],true,["a3\props_f_orange\furniture\data\rug_01_brown_co.paa"],1.4],["Land_Rug_01_F",[-3.56721,0.942974,3.61437],[[0.999998,-0.00194105,0],[0,0,1]],true,["a3\props_f_orange\furniture\data\rug_01_brown_co.paa"],1],["Land_Rug_01_F",[-3.05757,-4.25185,0.269965],[[0.499929,-0.00840331,0],[0,0,0.5]],true,["a3\props_f_orange\furniture\data\rug_01_brown_co.paa"],0.5],["Land_Rug_01_F",[-3.51594,3.34532,3.61537],[[0.999998,-0.00194105,0],[0,0,1]],true,["a3\props_f_orange\furniture\data\rug_01_brown_co.paa"],1],["Land_Rug_01_Traditional_F",[1.52825,3.98765,3.6207],[[-0.999968,-0.00795243,0],[0,0,1]],true,["a3\props_f_orange\furniture\data\rug_01_traditional_co.paa"],1],["Land_Rug_01_F",[0.426808,0.504009,0.247949],[[1.29982,-0.0218486,0],[0,0,1.3]],true,["a3\props_f_orange\furniture\data\rug_01_brown_co.paa"],1.3],["Land_RattanChair_01_F",[-0.0244863,1.28355,0.78494],[[0,1,0],[0,0,1]],true,[],1],["Land_RattanChair_01_F",[-0.154735,-0.397603,0.795919],[[0.0524468,-0.998624,0],[0,0,1]],true,[],1],["Land_RattanChair_01_F",[1.21209,1.47618,0.759808],[[0.492281,0.870436,0],[0,0,1]],true,[],1],["Land_RattanChair_01_F",[1.07073,-0.411763,0.77652],[[0.503951,-0.863732,0],[0,0,1]],true,[],1],["Land_RattanChair_01_F",[-0.287548,-0.51186,4.17647],[[-0.934807,-0.355155,0],[0,0,1]],true,[],1],["Land_CratesPlastic_F",[4.35552,2.15245,0.964068],[[-0.799974,-0.00650652,0],[0,0,0.8]],true,[],0.8],["Land_FlowerPot_01_F",[3.50225,4.46104,1.13756],[[0,1,0],[0,0,1]],true,[],1],["Land_BarrelTrash_grey_F",[-1.32649,4.34043,0.616531],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\beds\postel_panelak2.p3d",[-3.56465,2.86729,3.56159],[[-0.999938,0.0111312,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[2.04461,-2.13833,0.576574],[[-0.999886,-0.0151169,0],[0,0,1]],true,[],1],["Land_WoodenCounter_01_F",[4.22905,0.55772,0.726069],[[-0.999956,0.00936083,0],[0,0,1]],true,[],1],["Land_FoodSacks_01_small_brown_F",[-4.12446,-4.18886,3.8471],[[-0.997574,-0.0696146,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_full_brown_co.paa"],1],["Land_EmergencyBlanket_01_stack_F",[4.37664,1.75083,4.11469],[[-0.0515826,0.998669,0],[0,0,1]],true,[],1],["Land_Photoframe_01_F",[0.658131,-0.868062,4.85941],[[-0.999953,-0.00968614,0],[0,0,1]],true,["a3\map_malden\data\ui_malden_ca.paa","#(rgb,8,8,3)color(0.80483,0.445344,0.217875,0.203348)"],1],["Land_Photoframe_01_F",[2.23882,4.64292,1.5984],[[0.99999,-0.00438078,0],[0,0,1]],true,["a3\map_stratis\data\ui_stratis_ca.paa","#(rgb,8,8,3)color(0.80483,0.445344,0.217875,0.203348)"],1],["Land_Photoframe_01_F",[2.52178,-1.68374,1.3904],[[-0.00338586,-0.999994,0],[0,0,1]],true,["a3\missions_f_gamma\data\img\mp_coop_m08_overview_ca.paa","#(rgb,8,8,3)color(0.80483,0.445344,0.217875,0.203348)"],1],["Land_PlasticBucket_01_closed_F",[-4.43403,1.23716,0.464087],[[0,1,0],[0,0,1]],true,[],1],["Land_PaperBox_01_small_destroyed_brown_F",[1.75188,4.26524,0.44683],[[-0.999555,-0.0298292,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_destroyed_co.paa"],1],["Leaflet_05_Old_F",[3.50628,2.23521,3.61812],[[0,1,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[2.73235,3.93077,3.62123],[[0.957972,-0.286863,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[3.10552,4.04771,3.6205],[[-0.472392,0.881389,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[3.68377,2.57286,3.61852],[[0.22916,0.973389,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[2.92217,3.31651,3.62163],[[0.866742,-0.498757,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[3.28716,2.55918,3.61738],[[-0.708834,-0.705376,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Land_FoodSack_01_full_brown_F",[-4.16194,-4.26503,4.05237],[[0.998781,0.0468128,0.0156618],[0,-0.317277,0.948333]],true,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_full_brown_co.paa"],1],["Land_FoodSack_01_full_brown_F",[-4.1175,-3.5685,3.68996],[[0.998781,0.0493632,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_full_brown_co.paa"],1],["Land_FoodSack_01_empty_brown_F",[-1.26545,-3.71254,3.66199],[[0.547921,-0.83653,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_dmg_brown_co.paa"],1],["Land_FoodSack_01_empty_brown_F",[-1.85041,-1.88808,3.66113],[[-0.313776,0.949497,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_dmg_brown_co.paa"],1],["Land_TableDesk_F",[1.54497,4.22374,4.01919],[[0.00144473,-0.999999,0],[0,0,1]],true,[],1],["Land_TableDesk_F",[2.92254,4.20347,0.611575],[[-0.0119355,-0.999929,0],[0,0,1]],true,[],1],["Land_ChairWood_F",[3.03948,3.89878,0.21935],[[0.227971,-0.973668,0],[0,0,1]],true,[],1],["Land_ChairWood_F",[1.62774,-2.38906,0.224824],[[-0.998171,0.0604463,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\cases\library_a\library_a.p3d",[-1.91719,4.50523,3.59179],[[-0.00978892,-0.999952,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\beds\postel_panelak1.p3d",[-3.59907,0.48521,3.61431],[[-0.999786,0.0206696,0],[0,0,1]],true,[],1],["Land_ShelvesWooden_khaki_F",[-4.15437,4.39,4],[[0.799968,-0.00715692,0],[0,0,0.8]],true,[],0.8],["a3\structures_f_enoch\furniture\decoration\wallboards\picture_d_02\picture_d_02.p3d",[1.45464,4.64366,3.89146],[[-0.00100976,-1.2,0],[0,0,1.2]],true,[],1.2],["Land_LuggageHeap_03_F",[1.62896,2.3231,4.12655],[[0,1,0],[0,0,1]],true,[],1],["Land_FoodSack_01_dmg_brown_F",[0.440113,-3.3915,3.69314],[[0.433269,-0.901265,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_dmg_brown_co.paa"],1],["Land_FoodSack_01_dmg_brown_F",[-3.55842,-2.18642,3.70446],[[0,1,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_dmg_brown_co.paa"],1],["Land_WoodenCrate_01_F",[4.27044,2.29551,0.469985],[[0,0.8,0],[0,0,0.8]],true,[],0.8],["Land_RattanTable_01_F",[0.660694,-0.43813,4.00183],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\decoration\flowers\flower_01.p3d",[4.22258,4.15513,0.237787],[[0,1,0],[0,0,1]],true,[],1],["Land_TableSmall_01_F",[-4.28755,2.16832,3.82927],[[0,1,0],[0,0,1]],true,[],1],["Land_WoodenBed_01_F",[-3.29414,-1.03115,4.50758],[[0,-0.00389941,-0.999992],[0,0.999992,-0.00389941]],true,[],1],["Land_WoodenBed_01_F",[2.74358,0.228618,4.05009],[[-0.000879613,-1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[1.56426,3.84336,3.61053],[[0.0586939,-0.998276,0],[0,0,1]],true,[],1],["Land_Tombstone_06_F",[-4.58418,2.21495,5.09528],[[-0.299999,0.000785402,0],[0,0,0.3]],true,[],0.3],["a3\structures_f_enoch\furniture\school_equipment\lab_teacher_bench.p3d",[-2.82344,4.29649,0.0526721],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\long_bench.p3d",[-0.578808,-4.36464,3.60541],[[-0.00455456,0.99999,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\light_bathroom\light_bathroom.p3d",[-1.75715,-2.89418,3.39348],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\decoration\box_c\box_c.p3d",[4.28435,1.09581,0.649432],[[0.699953,-0.00808768,0],[0,0,0.7]],true,[],0.7],["a3\structures_f_enoch\furniture\decoration\wallboards\picture_f\picture_f.p3d",[-4.13594,4.64415,0.685863],[[-0.00266417,-0.999996,0],[0,0,1]],true,[],1],["Land_WallSign_01_chalkboard_F",[3.03692,4.68565,1.33231],[[-0.00392707,-0.999992,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[4.65679,2.29844,1.27897],[[-1,-0.000262086,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[3.03692,4.68272,2.18531],[[0.00392599,-0.999992,8.84685e-05],[0.000467602,-8.66334e-05,-1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[0.0675547,-4.69741,2.2604],[[0.00392599,-0.999992,8.84685e-05],[0.000467602,-8.66334e-05,-1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[0.0675547,-4.69448,1.4074],[[-0.00392707,-0.999992,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[-3.123,4.68101,2.2009],[[0.00392599,-0.999992,8.84685e-05],[0.000467602,-8.66334e-05,-1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[4.65386,2.29844,2.13197],[[-0.999967,-0.00811534,8.84697e-05],[-8.46737e-05,-0.000468103,-1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[-3.123,4.68394,1.3479],[[-0.00392707,-0.999992,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["OfficeTable_01_old_F",[-4.5489,2.5836,0.287927],[[0.999998,-0.00205865,4.39598e-06],[0,-0.00213536,-0.999998]],true,["a3\structures_f_heli\furniture\data\officetable_01_old_co.paa"],1],["OfficeTable_01_old_F",[-2.25776,4.24546,0.277427],[[-0.00596167,-0.999982,4.64418e-05],[-0.00213664,-3.37044e-05,-0.999998]],true,["a3\structures_f_heli\furniture\data\officetable_01_old_co.paa"],1],["OfficeTable_01_old_F",[-4.55525,3.89122,0.28337],[[0.999998,-0.00205865,4.39598e-06],[0,-0.00213536,-0.999998]],true,["a3\structures_f_heli\furniture\data\officetable_01_old_co.paa"],1],["OfficeTable_01_old_F",[-2.25972,4.24058,0.613944],[[-0.00189814,-0.999998,0],[0,0,1]],true,["a3\structures_f_heli\furniture\data\officetable_01_old_co.paa"],1],["OfficeTable_01_old_F",[-3.56721,4.23912,0.613944],[[-0.00189814,-0.999998,0],[0,0,1]],true,["a3\structures_f_heli\furniture\data\officetable_01_old_co.paa"],1],["OfficeTable_01_old_F",[-4.54402,2.58213,0.612574],[[0.999998,0.00205866,0],[0,0,1]],true,["a3\structures_f_heli\furniture\data\officetable_01_old_co.paa"],1],["OfficeTable_01_old_F",[-4.55037,3.88975,0.613944],[[0.999998,0.00205866,0],[0,0,1]],true,["a3\structures_f_heli\furniture\data\officetable_01_old_co.paa"],1],["OfficeTable_01_old_F",[-3.56514,4.24302,0.281984],[[-0.00596167,-0.999982,4.64418e-05],[-0.00213664,-3.37044e-05,-0.999998]],true,["a3\structures_f_heli\furniture\data\officetable_01_old_co.paa"],1],["a3\structures_f_enoch\furniture\kitchen\dkamna_uhli\dkamna_uhli.p3d",[-3.06257,-0.295308,0.230466],[[-0.0188851,-0.999822,0],[0,0,1]],true,[],1],["Land_Hammer_F",[-3.55781,4.00914,0.592125],[[0.0237265,-0.999718,0],[0,0,1]],true,[],1],["Land_Hammer_F",[-2.31843,4.00083,0.591875],[[0.0237265,-0.999718,0],[0,0,1]],true,[],1],["Land_Hammer_F",[-3.67073,4.00474,0.59385],[[0.0237265,-0.999718,0],[0,0,1]],true,[],1],["Land_Hammer_F",[-3.36299,-1.3854,4.70295],[[0.0122181,-0.999925,0],[0,0,1]],true,[],1],["Land_Hammer_F",[-4.31257,2.63829,0.580039],[[0.999867,-0.0162769,0],[0,0,1]],true,[],1],["Land_Hammer_F",[-3.25166,-1.38247,4.70465],[[0.0122181,-0.999925,0],[0,0,1]],true,[],1],["Land_Hammer_F",[-4.31269,2.52525,0.581764],[[0.999867,-0.0162769,0],[0,0,1]],true,[],1],["Land_Hammer_F",[-2.20552,4.00523,0.59015],[[0.0237265,-0.999718,0],[0,0,1]],true,[],1],["Land_TableBig_01_F",[0.473194,0.464702,0.639517],[[-0.010295,0.999947,0],[0,0,1]],true,[],1],["Land_Bucket_painted_F",[3.98528,1.56431,0.567494],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[0.441944,0.409526,2.08159],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[-3.13166,2.12999,5.27592],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[1.97429,2.51719,5.26254],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[-1.85933,-2.9208,5.27025],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[-2.91523,3.09825,2.08164],[[0,1,0],[0,0,1]],true,[],1],["Land_Microwave_01_F",[-2.65474,4.46495,1.19639],[[-0.0171673,1.39989,0],[0,0,1.4]],true,[],1.4],["a3\structures_f_enoch\furniture\cases\library_a\library_a_open.p3d",[-1.00923,4.48741,3.59475],[[-0.0269496,-0.999637,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\cases\library_a\library_a_open.p3d",[-0.0567129,-1.40517,0.219465],[[0,1,0],[0,0,1]],true,[],1],["Land_WoodPile_F",[-4.40364,0.139751,0.403333],[[0,0.6,0],[0,0,0.6]],true,[],0.6]]]; + _compData pushBack ["Land_i_House_Big_02_V1_F",[["a3\structures_f_enoch\furniture\school_equipment\lab_sink.p3d",[-3.20088,-0.409321,0.320766],[[0,0.9,0],[0,0,0.9]],true,[],0.9],["Fridge_01_closed_F",[-2.34065,-0.510884,0.729441],[[0.00391211,-0.999992,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\radiator.p3d",[4.61443,2.78501,0.291085],[[0.799995,-0.00280768,0],[0,0,0.8]],true,[],0.8],["a3\structures_f_enoch\furniture\school_equipment\radiator.p3d",[0.000904322,4.66099,3.69493],[[0,0.8,0],[0,0,0.8]],true,[],0.8],["Land_OfficeCabinet_02_F",[2.78777,-0.741597,4.26673],[[-0.00319942,-0.999995,0],[0,0,1]],true,[],1],["Land_OfficeCabinet_02_F",[1.37676,-0.619526,3.59646],[[-9.48049e-05,-0.00480859,0.999988],[-0.999775,0.0211868,7.09527e-06]],true,[],1],["Land_OfficeCabinet_02_F",[2.4301,-0.640767,3.73055],[[-6.12323e-05,-0.00486114,0.999988],[-0.999901,0.014054,7.09227e-06]],true,[],1],["Land_OfficeCabinet_02_F",[2.78716,-0.977437,4.26594],[[0.0031835,0.999995,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\cases\metalcrate\metalcrate.p3d",[0.529347,-4.1476,3.60805],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\decoration\flowers\flower_02.p3d",[-4.12776,4.17271,3.60484],[[0.970476,0.241197,0],[0,0,1]],true,[],1],["Land_Garbage_square3_F",[-3.29316,-2.50209,0.289136],[[0,1,0],[0,0,1]],true,[],1],["Land_Garbage_square3_F",[-3.2967,2.44566,3.6491],[[0,1,0],[0,0,1]],true,[],1],["Land_WoodenBox_F",[-4.19917,2.98155,3.60983],[[0.9,-0.000361211,0],[0,0,0.9]],true,[],0.9],["Land_CanisterPlastic_F",[-0.992138,-4.45961,0.521643],[[-0.899828,-0.0175914,0],[0,0,0.9]],true,["a3\structures_f\data\accessories\accessories02_co.paa"],0.9],["Land_CanisterPlastic_F",[-1.41023,-4.45351,0.530515],[[-0.899828,-0.0175914,0],[0,0,0.9]],true,["a3\structures_f\data\accessories\accessories02_co.paa"],0.9],["Land_CanisterPlastic_F",[0.334034,-0.612446,3.88173],[[-0.999958,-0.0091893,0],[0,0,1]],true,["a3\structures_f\data\accessories\accessories02_co.paa"],1],["Land_Basket_F",[-4.22102,-4.04995,0.560909],[[0.987491,-0.157677,0],[0,0,1]],true,[],1],["Land_Pallet_F",[0.0330088,-1.45888,0.968984],[[0,0.199724,0.979852],[0,-0.979852,0.199724]],true,[],1],["Land_Sack_F",[-4.32356,-3.42519,0.574403],[[-0.500342,0.624226,0],[0,0,0.8]],true,[],0.8],["Land_Sack_F",[2.07402,-1.67495,0.631268],[[0.514648,0.738334,0],[0,0,0.9]],true,[],0.9],["Land_CratesShabby_F",[-4.15388,-2.63393,0.519083],[[-0.0140563,-0.999901,0],[0,0,1]],true,[],1],["Land_CratesShabby_F",[2.07329,-2.42885,0.996409],[[0,1,0],[0,0,1]],true,[],1],["Land_CratesShabby_F",[-4.16572,-1.74453,1.004],[[-0.0140563,-0.999901,0],[0,0,1]],true,[],1],["Land_ShelvesWooden_blue_F",[1.25164,4.35362,0.323767],[[-0.999984,-0.00573042,0],[0,0,1]],true,[],1],["Land_Rug_01_F",[3.52398,1.58433,3.61956],[[-0.00276417,1.4,0],[0,0,1.4]],true,["a3\props_f_orange\furniture\data\rug_01_brown_co.paa"],1.4],["Land_Rug_01_F",[-3.04475,-4.27724,0.248515],[[-0.499993,-0.0026566,0],[0,0,0.5]],true,["a3\props_f_orange\furniture\data\rug_01_brown_co.paa"],0.5],["Land_Rug_01_F",[-3.30525,3.18614,0.24317],[[0,1.4,0],[0,0,1.4]],true,["a3\props_f_orange\furniture\data\rug_01_brown_co.paa"],1.4],["Land_Rug_01_F",[-2.02217,-2.75087,3.63015],[[-1.39991,-0.0161613,0],[0,0,1.4]],true,["a3\props_f_orange\furniture\data\rug_01_brown_co.paa"],1.4],["Land_Rug_01_Traditional_F",[0.935719,0.362895,0.269938],[[-0.999965,-0.00831482,0],[0,0,1]],true,["a3\props_f_orange\furniture\data\rug_01_traditional_co.paa"],1],["Land_Rug_01_Traditional_F",[1.32647,3.55918,3.61011],[[0,1,0],[0,0,1]],true,["a3\props_f_orange\furniture\data\rug_01_traditional_co.paa"],1],["Land_Rug_01_F",[-3.14619,0.329692,3.62168],[[0,1.2,0],[0,0,1.2]],true,["a3\props_f_orange\furniture\data\rug_01_brown_co.paa"],1.2],["Land_Rug_01_Traditional_F",[-4.62519,2.78917,5.14368],[[-1.17232e-07,1,-3.49836e-05],[0.999978,-1.17232e-07,-0.00670207]],true,["a3\props_f_orange\furniture\data\rug_01_traditional_co.paa"],1],["Land_Rug_01_F",[0.0272715,4.22959,0.250447],[[-0.499993,-0.0026566,0],[0,0,0.5]],true,["a3\props_f_orange\furniture\data\rug_01_brown_co.paa"],0.5],["Land_RattanChair_01_F",[-2.55171,3.38267,0.81357],[[0.706892,0.707322,0],[0,0,1]],true,[],1],["Land_RattanChair_01_F",[-4.17366,3.15928,0.806111],[[-0.999852,0.0171955,0],[0,0,1]],true,[],1],["Land_RattanChair_01_F",[-3.44172,4.13707,0.791648],[[0,1,0],[0,0,1]],true,[],1],["Land_RattanChair_01_F",[-3.45124,2.09849,0.801862],[[-0.161505,-0.986872,0],[0,0,1]],true,[],1],["Land_CratesPlastic_F",[0.931568,-0.636372,4.46799],[[0,0.7,0],[0,0,0.7]],true,[],0.7],["Land_FlowerPot_01_F",[0.984913,4.40977,0.898731],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[2.51177,4.2628,0.591817],[[-0.00573951,-0.999983,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[4.23467,2.29454,3.96091],[[-0.999949,0.0100975,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\bathroom\basin_a\basin_a.p3d",[-0.133007,-0.885884,4.35292],[[0.00172344,-0.999999,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\bathroom\basin_a\basin_a.p3d",[-1.9875,-4.67055,1.16635],[[0.0213346,-0.999772,0],[0,0,1]],true,[],1],["Land_WoodenTable_small_F",[-3.18696,0.0115771,4.04159],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\school_clock.p3d",[1.40715,4.63536,1.98916],[[0,1,0],[0,0,1]],true,[],1],["Land_Photoframe_01_F",[-3.14521,-0.859028,1.5724],[[-0.999992,-0.00401431,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\photoframe_random_07_co.paa","#(rgb,8,8,3)color(0.766992,0.1353,0.332123,0.223617)"],1],["Land_Photoframe_01_F",[2.16777,4.64097,1.4214],[[0.999998,-0.00211176,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\photoframe_random_01_co.paa","#(rgb,8,8,3)color(0.766992,0.1353,0.332123,0.223617)"],1],["Land_Photoframe_01_F",[1.58416,-0.869038,4.7744],[[-0.999981,-0.00614336,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\shared\photoframe_random_05_co.paa","#(rgb,8,8,3)color(0.766992,0.1353,0.332123,0.223617)"],1],["Leaflet_05_Old_F",[-2.68818,3.07359,3.61816],[[0.791902,-0.610648,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[-2.98079,-1.97158,0.261923],[[0.993946,-0.109867,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[-2.7646,2.42491,3.62456],[[-0.754081,0.656782,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[-3.26277,2.70274,3.62084],[[0.976935,0.213538,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[-3.53559,-3.09536,0.259793],[[-0.257035,0.966402,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[-2.75276,-1.70229,0.250941],[[-0.711149,-0.703041,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[-3.31221,-2.81997,0.24753],[[0.44653,0.894769,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[-3.86909,-2.98012,0.248811],[[0.912644,-0.408755,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[-2.92451,2.78379,3.62038],[[0.158177,0.987411,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[-2.80476,-2.27944,0.24966],[[0.672714,-0.739903,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[-2.53364,3.5023,3.61861],[[0.791902,-0.610648,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[-3.01582,3.19737,3.62234],[[0.937222,0.348734,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Land_TableDesk_F",[-4.28059,-0.0208936,0.112681],[[-0.999977,0.0068069,8.3292e-05],[-6.51547e-05,0.00266471,-0.999996]],true,[],1],["Land_TableDesk_F",[-3.54243,-0.578267,0.624748],[[-0.000574676,-1,0],[0,0,1]],true,[],1],["Land_TableDesk_F",[-4.279,-0.0113721,0.628542],[[-0.999989,0.00469176,0],[0,0,1]],true,[],1],["Land_TableDesk_F",[-3.53267,-0.578022,0.108887],[[-0.000564398,-1,0.00023548],[-0.00266416,-0.000233975,-0.999996]],true,[],1],["Land_ChairWood_F",[-3.18415,0.685405,3.61214],[[0,1,0],[0,0,1]],true,[],1],["Land_ChairWood_F",[-2.64912,-0.196675,3.60927],[[0.924495,-0.381193,0],[0,0,1]],true,[],1],["Land_ChairWood_F",[2.79754,3.95591,0.220833],[[0.13317,-0.991093,0],[0,0,1]],true,[],1],["Land_ChairWood_F",[-3.78218,-0.318989,3.59749],[[-0.987289,-0.158936,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\cases\library_a\library_a.p3d",[4.09661,4.52647,0.21505],[[-0.00257548,-0.999997,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\cases\library_a\library_a.p3d",[4.4605,3.42564,3.61069],[[-0.999997,0.00224846,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\beds\postel_panelak1.p3d",[0.812794,3.5858,3.61989],[[0,1,0],[0,0,1]],true,[],1],["Land_WoodenCrate_01_F",[3.91838,1.73228,0.4378],[[-0.699975,-0.00593753,0],[0,0,0.7]],true,[],0.7],["Land_BarrelWater_grey_F",[-4.11653,1.62828,0.633708],[[0,1,0],[0,0,1]],true,[],1],["Land_RattanTable_01_F",[-3.28193,3.06016,0.646351],[[0,1,0],[0,0,1]],true,[],1],["Land_RattanTable_01_F",[0.286549,0.700542,0.281879],[[-0.999519,-0.0310102,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\decoration\flowers\flower_01.p3d",[4.04253,-0.424458,3.5971],[[0,1,0],[0,0,1]],true,[],1],["Land_Tombstone_17_F",[4.48174,2.86753,4.57329],[[0.188667,0.0663686,0],[0,0,0.2]],true,[],0.2],["Land_Tombstone_13_F",[1.34307,4.59825,5.15916],[[0.000186044,-0.2,0],[0,0,0.2]],true,[],0.2],["a3\structures_f_enoch\furniture\school_equipment\class_case_b_open.p3d",[-1.47236,4.25157,3.61873],[[0,1,0],[0,0,1]],true,[],1],["Land_TableSmall_01_F",[2.19426,4.29625,3.81617],[[0.999983,0.00581133,0],[0,0,1]],true,[],1],["Land_TableSmall_01_F",[2.43865,-0.259175,0.448251],[[0,1,0],[0,0,1]],true,[],1],["Land_WoodenBed_01_F",[3.64324,0.307476,0.692143],[[-0.00298222,-0.999996,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[3.89324,2.01719,3.63189],[[-0.997898,-0.0648076,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\long_bench.p3d",[-4.32441,-2.92446,3.605],[[0.999982,-0.00593405,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\light_bathroom\light_bathroom.p3d",[-1.58931,-2.92568,6.55998],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\light_bathroom\light_bathroom.p3d",[-1.92646,-2.85122,3.3898],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\cases\dhangar_borwnskrin\dhangar_brownskrin.p3d",[-1.54036,-4.37709,3.62252],[[0.0137384,-0.999906,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\cases\dhangar_borwnskrin\dhangar_brownskrin.p3d",[-1.33528,4.39195,0.241199],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\decoration\wallboards\picture_b\picture_b.p3d",[-3.20796,-0.880513,3.59411],[[-0.00601723,1.39999,0],[0,0,1.4]],true,[],1.4],["Land_WallSign_01_chalkboard_F",[3.0374,4.68541,2.29148],[[0.00392599,-0.999992,8.84685e-05],[0.000467602,-8.66334e-05,-1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[0.0675547,-4.70083,2.30986],[[0.00392599,-0.999992,8.84685e-05],[0.000467602,-8.66334e-05,-1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[3.0374,4.68833,1.43847],[[-0.00392707,-0.999992,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[0.0675547,-4.6979,1.45686],[[-0.00392707,-0.999992,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[4.67473,2.26646,2.23772],[[-0.999967,-0.00811534,8.84697e-05],[-8.46737e-05,-0.000468103,-1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[-3.01655,4.68296,1.35066],[[-0.00392707,-0.999992,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[-3.01655,4.68003,2.20367],[[0.00392599,-0.999992,8.84685e-05],[0.000467602,-8.66334e-05,-1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[4.67766,2.26646,1.38472],[[-1,-0.000262086,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["OfficeTable_01_old_F",[2.56987,-0.568989,3.89607],[[0.0149048,0.999889,0],[0,0,1]],true,["a3\structures_f_heli\furniture\data\officetable_01_old_co.paa"],1],["OfficeTable_01_old_F",[1.25127,-0.544087,3.90227],[[0.0149048,0.999889,0],[0,0,1]],true,["a3\structures_f_heli\furniture\data\officetable_01_old_co.paa"],1],["a3\structures_f_enoch\furniture\kitchen\dkamna_uhli\dkamna_uhli.p3d",[-4.03437,1.16978,0.225597],[[-0.999953,0.00965026,0],[0,0,1]],true,[],1],["Land_Hammer_F",[-3.98799,0.40562,0.65199],[[0.999979,0.00648461,0],[0,0,1]],true,[],1],["Land_Hammer_F",[-3.2176,-0.287983,0.65373],[[0,1,0],[0,0,1]],true,[],1],["Land_Hammer_F",[-3.99458,0.298931,0.648907],[[0.999979,0.00648461,0],[0,0,1]],true,[],1],["Land_Hammer_F",[1.22173,-0.304829,4.01901],[[-0.00862999,0.999963,0],[0,0,1]],true,[],1],["Land_Hammer_F",[-3.32429,-0.280659,0.656813],[[0,1,0],[0,0,1]],true,[],1],["Land_Hammer_F",[1.32207,-0.305073,4.01851],[[-0.00862999,0.999963,0],[0,0,1]],true,[],1],["Land_Hammer_F",[2.64129,-0.315571,4.01397],[[-0.00862999,0.999963,0],[0,0,1]],true,[],1],["Land_Hammer_F",[2.54094,-0.315327,4.01447],[[-0.00862999,0.999963,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[-3.1291,1.02769,2.07337],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[1.91777,1.13609,5.41397],[[0,0.9,0],[0,0,0.9]],true,[],0.9],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[2.55657,2.02208,2.08645],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[-3.2762,-0.151021,5.38817],[[0,0.9,0],[0,0,0.9]],true,[],0.9],["Land_ArmChair_01_F",[3.9478,0.87022,4.0968],[[-0.94329,0.331971,0],[0,0,1]],true,[],1],["Land_Sofa_01_F",[0.876026,-0.310444,0.727541],[[0,1,0],[0,0,1]],true,[],1],["Land_Pillow_grey_F",[4.0562,0.948101,4.24934],[[-0.783914,-0.286052,-1.24646],[-1.26976,0,0.798569]],true,[],1.5],["Land_TinWall_01_m_pole_F",[-3.88972,-0.20937,0.0298736],[[0,1,0],[0,0,1]],true,[],1],["Land_TinWall_01_m_pole_F",[-2.69355,-0.227192,0.0194046],[[0,1,0],[0,0,1]],true,[],1],["Land_TinWall_01_m_pole_F",[-3.91767,0.82481,0.0315077],[[0,1,0],[0,0,1]],true,[],1],["Land_Microwave_01_F",[2.14959,-0.696919,4.40705],[[-0.00225318,-1.4,0],[0,0,1.4]],true,[],1.4],["Land_Microwave_01_F",[-4.39936,0.582378,1.15286],[[-1.39988,0.0184294,0],[0,0,1.4]],true,[],1.4],["Land_WoodPile_F",[1.59404,-2.37319,0.36938],[[0,0.5,0],[0,0,0.5]],true,[],0.5],["Land_PaperBox_01_small_ransacked_brown_F",[-4.20698,2.42442,4.21424],[[0.9973,-0.0734372,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_dmg_co.paa"],1],["Land_PaperBox_01_small_ransacked_brown_F",[-2.95515,-1.87661,0.451102],[[-0.383496,0.923542,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_dmg_co.paa"],1],["Land_FlowerPot_01_Flower_F",[3.46209,4.28135,1.03576],[[0,1,0],[0,0,1]],true,[],1]]]; + _compData pushBack ["Land_i_House_Big_02_V1_F",[["a3\structures_f_enoch\furniture\school_equipment\lab_sink.p3d",[-2.95869,4.20457,0.387668],[[-0.0127113,-0.799899,0],[0,0,0.8]],true,[],0.8],["Fridge_01_closed_F",[-0.977001,4.22532,0.749069],[[0.0144229,0.999896,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\radiator.p3d",[3.7625,4.67088,0.403899],[[-0.000253537,0.8,0],[0,0,0.8]],true,[],0.8],["a3\structures_f_enoch\furniture\school_equipment\radiator.p3d",[-4.60029,1.40208,3.70643],[[-0.799999,0.000991579,0],[0,0,0.8]],true,[],0.8],["Land_Cross_01_small_F",[4.61223,0.365581,5.25716],[[0.499984,-0.00404632,0],[0,0,0.5]],true,[],0.5],["a3\structures_f_enoch\furniture\cases\dhangar_borwnskrin\dhangar_brownskrin_open.p3d",[-3.3249,-1.51931,3.61755],[[0,1,0],[0,0,1]],true,[],1],["Land_OfficeCabinet_02_F",[-1.71943,4.54246,0.996249],[[0.0174037,0.999848,0],[0,0,1]],true,[],1],["Land_OfficeCabinet_02_F",[-1.71394,4.7252,0.995062],[[-0.0183721,-0.999831,0],[0,0,1]],true,[],1],["Land_GasTank_01_khaki_F",[-0.617748,-4.33071,0.58864],[[0.522481,0.852651,0],[0,0,1]],true,[],1],["Land_Wrench_F",[-2.70613,-1.88601,1.17042],[[0.31003,-0.950727,0],[0,0,1]],true,[],1],["Land_Wrench_F",[-2.49665,-1.76723,1.17326],[[-0.666177,-0.745794,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\decoration\flowers\flower_02.p3d",[4.08806,2.66343,3.60382],[[0,1,0],[0,0,1]],true,[],1],["Land_Garbage_square3_F",[-3.27058,0.181499,3.66603],[[0,1,0],[0,0,1]],true,[],1],["Land_Garbage_square3_F",[-3.47651,-3.02602,3.67079],[[0,1,0],[0,0,1]],true,[],1],["Land_WoodenBox_F",[0.342091,0.311504,0.231529],[[-0.799995,0.00291838,0],[0,0,0.8]],true,[],0.8],["Land_Basket_F",[-4.18293,-0.508564,0.563109],[[0.599705,0.800221,0],[0,0,1]],true,[],1],["Land_Sack_F",[-4.27314,-4.34218,0.642748],[[-0.0461325,-0.998935,0],[0,0,1]],true,[],1],["Land_Garbage_line_F",[0.148243,3.94261,3.6595],[[0.999953,0.00966215,0],[0,0,1]],true,[],1],["Land_ShelvesWooden_blue_F",[-1.31855,-4.38417,0.741676],[[-0.999889,-0.0148647,0],[0,0,1]],true,[],1],["Land_ShelvesWooden_blue_F",[4.33013,0.428691,0.236505],[[-0.0197873,0.999804,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\class_case_a_open.p3d",[-3.13435,-0.547261,3.58513],[[-0.0019885,-0.999998,0],[0,0,1]],true,[],1],["Land_Rug_01_F",[0.0381358,4.18077,0.269684],[[0.499988,-0.00353421,0],[0,0,0.5]],true,["a3\props_f_orange\furniture\data\rug_01_brown_co.paa"],0.5],["Land_Rug_01_Traditional_F",[2.41936,0.396343,3.62243],[[0,1,0],[0,0,1]],true,["a3\props_f_orange\furniture\data\rug_01_traditional_co.paa"],1],["Land_Rug_01_Traditional_F",[0.40044,-0.0565381,3.61324],[[0.99998,0.00632583,0],[0,0,1]],true,["a3\props_f_orange\furniture\data\rug_01_traditional_co.paa"],1],["Land_Rug_01_F",[1.84356,0.747295,0.269939],[[0,1.4,0],[0,0,1.4]],true,["a3\props_f_orange\furniture\data\rug_01_brown_co.paa"],1.4],["Land_Rug_01_F",[-3.04341,-4.26589,0.269939],[[0.499988,-0.00353421,0],[0,0,0.5]],true,["a3\props_f_orange\furniture\data\rug_01_brown_co.paa"],0.5],["Land_Rug_01_F",[-1.08882,-3.11318,3.62889],[[1.49996,-0.0106026,0],[0,0,1.5]],true,["a3\props_f_orange\furniture\data\rug_01_brown_co.paa"],1.5],["Land_Rug_01_F",[-2.7613,1.33677,0.237652],[[0,1.4,0],[0,0,1.4]],true,["a3\props_f_orange\furniture\data\rug_01_brown_co.paa"],1.4],["Land_Rug_01_F",[-0.890087,-2.75002,0.233684],[[-0.00746443,1.29998,0],[0,0,1.3]],true,["a3\props_f_orange\furniture\data\rug_01_brown_co.paa"],1.3],["Land_RattanChair_01_F",[-2.07539,1.77598,0.770371],[[0.998835,0.0482516,0],[0,0,1]],true,[],1],["Land_RattanChair_01_F",[-2.03779,0.716655,0.770723],[[0.97977,-0.200127,0],[0,0,1]],true,[],1],["Land_RattanChair_01_F",[0.0775645,0.52,4.17267],[[-0.402115,0.915589,0],[0,0,1]],true,[],1],["Land_RattanChair_01_F",[1.41057,-0.434468,4.17165],[[1,0.000384243,0],[0,0,1]],true,[],1],["Land_RattanChair_01_F",[-0.48579,-0.416768,4.17132],[[-0.999936,0.01132,0],[0,0,1]],true,[],1],["Land_RattanChair_01_F",[-3.72309,0.673809,0.788843],[[-0.998811,-0.0487485,0],[0,0,1]],true,[],1],["Land_RattanChair_01_F",[-3.6999,1.94517,0.788843],[[-0.998811,-0.0487485,0],[0,0,1]],true,[],1],["Land_Sacks_heap_F",[1.29363,-2.04934,0.573731],[[0.010353,0.799933,0],[0,0,0.8]],true,[],0.8],["Land_CratesPlastic_F",[-4.09919,-1.71206,0.605853],[[0,0.8,0],[0,0,0.8]],true,[],0.8],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[4.21672,3.64085,3.94426],[[-0.999934,-0.0115228,0],[0,0,1]],true,[],1],["Land_WoodenCounter_01_F",[-3.39961,-1.69326,0.709625],[[-0.00391586,-0.999992,0],[0,0,1]],true,[],1],["Land_ShelvesWooden_F",[1.52288,4.38682,0.732872],[[-0.999997,0.00245684,0],[0,0,1]],true,[],1],["Land_Photoframe_01_F",[-1.47651,4.63414,4.98766],[[1,-0.000658361,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\s7+s8\s8_camping_01_co.paa","#(rgb,8,8,3)color(0.427554,0.153477,0.82312,0.0150374)"],1],["Land_Photoframe_01_F",[-2.29817,4.64097,1.3744],[[0.999996,-0.0029672,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\c3\c3_01_co.paa",""],1],["a3\structures_f_enoch\furniture\school_equipment\class_case_b_closed.p3d",[1.56279,4.30723,3.6149],[[0,1,0],[0,0,1]],true,[],1],["Banner_01_F",[0.0508311,-1.23195,1.79349],[[0.00773173,0.99997,0],[0,0,1]],true,["a3\data_f\flags\flag_altis_co.paa"],1],["Land_PlasticBucket_01_closed_F",[0.853321,4.38328,0.457055],[[0,1,0],[0,0,1]],true,[],1],["Land_PaperBox_01_small_destroyed_brown_F",[-4.11372,-2.96401,3.83696],[[0.966025,0.258447,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_destroyed_co.paa"],1],["Land_PaperBox_01_small_destroyed_brown_F",[-1.40767,4.28013,3.82535],[[0.998133,0.0610743,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_destroyed_co.paa"],1],["Leaflet_05_Old_F",[-2.45332,0.950786,3.61695],[[0.851255,0.524753,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[-3.18867,0.932231,3.61729],[[0.856985,0.515341,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[-2.21077,0.677715,3.62112],[[0.0752629,0.997164,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[1.17205,3.74717,3.61806],[[-0.896661,0.442717,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[-3.02436,1.32664,3.61636],[[-0.0183411,-0.999832,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[-1.91609,-0.12624,3.62051],[[-0.896661,0.442717,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[-3.38545,1.27024,3.62053],[[0.798437,-0.602078,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[0.994313,3.39891,3.62131],[[0.0752629,0.997164,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[-2.03303,1.02598,3.61788],[[-0.896661,0.442717,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[-2.09382,-0.474507,3.62375],[[0.0752629,0.997164,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[-2.33638,-0.201436,3.61958],[[0.851255,0.524753,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[0.751759,3.67198,3.61713],[[0.851255,0.524753,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Land_WoodenCrate_01_F",[0.408619,4.24107,3.83921],[[-0.699998,-0.00166146,0],[0,0,0.7]],true,[],0.7],["Land_WoodenCrate_01_F",[-0.605785,4.25608,3.8483],[[-0.699998,-0.00166146,0],[0,0,0.7]],true,[],0.7],["Land_WoodenCrate_01_F",[0.416432,4.23875,4.27449],[[0.699957,-0.0077923,0],[0,0,0.7]],true,[],0.7],["Land_BarrelWater_grey_F",[-2.09748,-4.41542,0.635558],[[0,1,0],[0,0,1]],true,[],1],["Land_RattanTable_01_F",[0.476246,-0.398945,4.0098],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\decoration\flowers\flower_01.p3d",[4.33745,-0.675679,0.240082],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\decoration\flowers\flower_01.p3d",[-2.3675,-0.625264,3.60907],[[0,1,0],[0,0,1]],true,[],1],["Land_Rack_F",[-4.38765,3.79417,4.40228],[[0,1,0],[0,0,1]],true,[],1],["Land_TableSmall_01_F",[2.32293,0.433818,0.419576],[[-0.00642209,-0.999979,0],[0,0,1]],true,[],1],["Land_TableSmall_01_F",[4.09319,1.60484,3.82323],[[-0.999767,-0.0215626,0],[0,0,1]],true,[],1],["Land_WoodenBed_01_F",[3.47869,0.376445,4.0619],[[0.999995,-0.0031813,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[3.8543,3.37925,3.59861],[[-0.997965,-0.0637621,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\decoration\box_c\box_c.p3d",[-4.39814,2.62803,3.91809],[[0.999846,0.0175221,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\decoration\box_c\box_c.p3d",[2.47332,4.32371,0.547231],[[0,1,0],[0,0,1]],true,[],1],["Land_Sleeping_bag_folded_F",[-4.352,4.2158,3.80327],[[0.986727,-0.162389,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\decoration\wallboards\picture_f\picture_f.p3d",[1.55132,4.64756,0.760234],[[-0.00287946,-0.999996,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\decoration\wallboards\picture_a_04\picture_a_04.p3d",[0.462208,-0.868428,4.0505],[[-0.00348788,0.999994,0],[0,0,1]],true,[],1],["Land_LuggageHeap_01_F",[0.767262,2.01866,0.718023],[[-0.965867,0.259038,0],[0,0,1]],true,[],1],["Land_WallSign_01_chalkboard_F",[4.65471,2.28758,2.20848],[[-0.999967,-0.00811534,8.84697e-05],[-8.46737e-05,-0.000468103,-1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[-3.43721,-1.24599,1.64768],[[-0.00167545,-0.999999,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\n2\wallsign_01_f_chalkboard_tools_co.paa","a3\missions_f_orange\data\img\orange_compositions\n2\wallsign_01_f_chalkboard_tools_co.paa"],1],["Land_WallSign_01_chalkboard_F",[0.0918467,-4.68569,1.42867],[[-0.00392707,-0.999992,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[4.65764,2.28758,1.35548],[[-1,-0.000262086,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[2.98272,4.68138,1.46719],[[-0.00392707,-0.999992,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[-3.00874,4.6793,1.4645],[[-0.00392707,-0.999992,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[-3.00874,4.67637,2.3175],[[0.00392599,-0.999992,8.84685e-05],[0.000467602,-8.66334e-05,-1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[0.0918467,-4.68862,2.28167],[[0.00392599,-0.999992,8.84685e-05],[0.000467602,-8.66334e-05,-1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["Land_WallSign_01_chalkboard_F",[2.98272,4.67845,2.32019],[[0.00392599,-0.999992,8.84685e-05],[0.000467602,-8.66334e-05,-1]],true,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"],1],["OfficeTable_01_old_F",[-1.95906,4.30503,0.600603],[[-0.00931325,-0.999957,7.68651e-05],[-0.00245858,-5.39699e-05,-0.999997]],true,["a3\structures_f_heli\furniture\data\officetable_01_old_co.paa"],1],["OfficeTable_01_old_F",[-3.25508,4.31687,0.630495],[[-0.0160893,-0.99987,0],[0,0,1]],true,["a3\structures_f_heli\furniture\data\officetable_01_old_co.paa"],1],["OfficeTable_01_old_F",[-1.94502,4.29661,0.632099],[[-0.0160893,-0.99987,0],[0,0,1]],true,["a3\structures_f_heli\furniture\data\officetable_01_old_co.paa"],1],["OfficeTable_01_old_F",[-3.26924,4.31785,0.602436],[[-0.00931325,-0.999957,7.68651e-05],[-0.00245858,-5.39699e-05,-0.999997]],true,["a3\structures_f_heli\furniture\data\officetable_01_old_co.paa"],1],["a3\structures_f_enoch\furniture\kitchen\dkamna_uhli\dkamna_uhli.p3d",[-4.02302,3.45054,0.233763],[[-0.999085,0.0427775,0],[0,0,1]],true,[],1],["Land_Hammer_F",[-2.00129,4.05833,0.664404],[[0.00716218,-0.999974,0],[0,0,1]],true,[],1],["Land_Hammer_F",[-3.18806,4.0731,0.639847],[[0.00716218,-0.999974,0],[0,0,1]],true,[],1],["Land_Hammer_F",[-3.27351,4.07481,0.637984],[[0.00716218,-0.999974,0],[0,0,1]],true,[],1],["Land_Hammer_F",[-1.91584,4.05662,0.666268],[[0.00716218,-0.999974,0],[0,0,1]],true,[],1],["Land_TableBig_01_F",[-2.86604,1.27488,0.635705],[[0.999817,-0.019143,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\decoration\wallboards\picture_a_03\picture_a_03.p3d",[-1.43574,-4.65395,0.884694],[[0.00160646,0.999999,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[-1.46724,-2.94619,5.2558],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[-3.05867,1.1948,2.08542],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[2.49175,0.418682,2.08452],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[-1.70356,-2.95095,2.0907],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[2.44683,2.05357,5.2797],[[0,1,0],[0,0,1]],true,[],1],["Land_ArmChair_01_F",[1.94353,2.12303,0.714272],[[0.6553,-0.755369,0],[0,0,1]],true,[],1],["Land_Sofa_01_F",[1.0783,0.489604,0.730647],[[0.999849,-0.0173673,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\cases\library_a\library_a_open.p3d",[-4.44856,-3.95253,3.61145],[[-1,0.000824626,0],[0,0,1]],true,[],1],["Land_WoodPile_F",[-4.37214,2.41355,0.400885],[[0,0.6,0],[0,0,0.6]],true,[],0.6],["Land_PaperBox_01_small_ransacked_brown_F",[-4.16682,-0.164204,3.82362],[[0.944635,0.328123,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_dmg_co.paa"],1],["Land_Microwave_01_F",[-1.61299,4.35557,1.14838],[[0.051849,1.39904,0],[0,0,1.4]],true,[],1.4]]]; + + comment 'Garage (New)'; + _compData pushBack ["Land_i_Garage_V1_F",[["Land_GasTank_01_khaki_F",[5.73572,-1.18362,0.465937],[[0.994876,-0.1011,0],[0,0,1]],true,[],1],["Land_GasTank_01_khaki_F",[5.74304,-1.55117,0.469551],[[-0.99411,0.108374,0],[0,0,1]],true,[],1],["Land_CanisterFuel_Red_F",[-3.13989,-2.39151,0.429497],[[0.999996,0.00282827,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\canisterfuel_red_co.paa"],1],["Land_Wrench_F",[5.44104,-2.30166,0.908433],[[-0.738459,-0.674298,0],[0,0,1]],true,[],1],["Land_Wrench_F",[5.20752,-2.33865,0.908433],[[-0.268173,-0.963371,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\various\debris_small_house.p3d",[4.34326,-1.00711,0.131],[[-0.788383,0.135837,0],[0,0,0.8]],true,[],0.8],["a3\structures_f_enoch\furniture\various\dirtpile_small_house.p3d",[-0.919923,-2.07205,0.156],[[0.150378,0.58085,0],[0,0,0.6]],true,[],0.6],["Land_ChairPlastic_F",[0.766356,2.34092,0.613955],[[0.900685,-0.434472,0],[0,0,1]],true,[],1],["Land_Garbage_square3_F",[-0.91565,-1.86709,0.185805],[[-0.998287,0.0585033,0],[0,0,1]],true,[],1],["Land_Garbage_square3_F",[-0.48401,1.85471,0.182289],[[-0.998287,0.0585033,0],[0,0,1]],true,[],1],["Land_WoodenBox_F",[-1.99817,2.42173,0.135187],[[-0.00546458,-0.799981,0],[0,0,0.8]],true,[],0.8],["Land_CanisterPlastic_F",[4.27881,2.39304,0.41808],[[0.899855,0.0161784,0],[0,0,0.9]],true,["a3\structures_f\data\accessories\accessories02_co.paa"],0.9],["Land_CanisterPlastic_F",[4.69482,2.42392,0.406936],[[0.899855,0.0161784,0],[0,0,0.9]],true,["a3\structures_f\data\accessories\accessories02_co.paa"],0.9],["Land_BarrelTrash_grey_F",[3.76855,2.40537,0.534292],[[0,1,0],[0,0,1]],true,[],1],["Land_Metal_rack_F",[2.95874,2.52012,1.02091],[[-0.00937145,0.999956,0],[0,0,1]],true,[],1],["Land_Metal_rack_F",[1.86511,2.51535,1.02571],[[-0.00937145,0.999956,0],[0,0,1]],true,[],1],["Leaflet_05_Old_F",[-0.444093,1.14072,0.158668],[[0.169117,0.985596,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[-0.00647068,1.53281,0.140061],[[-0.936121,-0.351679,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[0.298095,1.25705,0.138824],[[-0.835273,0.549835,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[-0.995362,2.10532,0.138496],[[-0.735647,-0.677365,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[-1.13281,1.57541,0.14036],[[-0.967764,0.251859,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Land_GarbageHeap_04_F",[-0.882325,-2.39004,0.561267],[[0,0.8,0],[0,0,0.8]],true,[],0.8],["Land_ShelvesWooden_khaki_F",[0.721557,-2.37088,0.641129],[[-1,1.74846e-07,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\various\workbench.p3d",[3.59912,-2.25491,0.126323],[[-1,-0.000509564,0],[0,0,1]],true,[],1],["Transformer_enabled_02",[0.398681,2.66062,2.96117],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f\mil\barracks\barracks_acc_proxy_1_f.p3d",[5.9541,-1.77578,1.09323],[[0.799842,-0.0159023,0],[0,0,0.8]],true,[],0.8],["Land_WallSign_01_chalkboard_F",[4.49341,-2.68985,1.48299],[[0,1,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\n2\wallsign_01_f_chalkboard_tools_co.paa","a3\missions_f_orange\data\img\orange_compositions\n2\wallsign_01_f_chalkboard_tools_co.paa"],1],["Land_Bucket_painted_F",[5.7185,-2.13406,0.405354],[[0,1,0],[0,0,1]],true,[],1],["Land_PaperBox_01_small_ransacked_brown_F",[-0.396485,2.12693,0.34045],[[-0.10767,0.994187,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_dmg_co.paa"],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[3.10022,-0.00759435,3.35701],[[-0.999726,0.023405,0],[0,0,1]],true,[],1]]]; + _compData pushBack ["Land_i_Garage_V1_F",[["Land_Metal_rack_Tall_F",[3.70203,2.47275,0.123839],[[0,1,0],[0,0,1]],true,[],1],["Land_Metal_rack_Tall_F",[0.51538,2.46177,0.131768],[[0,1,0],[0,0,1]],true,[],1],["Land_Metal_rack_Tall_F",[-0.259278,2.452,0.141677],[[0,1,0],[0,0,1]],true,[],1],["Land_Metal_rack_Tall_F",[2.87964,2.46299,0.133748],[[0,1,0],[0,0,1]],true,[],1],["Land_Metal_rack_Tall_F",[2.08459,2.46958,0.130181],[[0,1,0],[0,0,1]],true,[],1],["Land_CanisterFuel_Blue_F",[-1.7262,2.40781,0.414851],[[-0.999997,0.00221556,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\canisterfuel_blue_co.paa"],1],["a3\structures_f_enoch\furniture\various\debris_small_house.p3d",[-0.608521,1.42197,0.126189],[[0.695501,-0.0792404,0],[0,0,0.7]],true,[],0.7],["a3\structures_f_enoch\furniture\various\debris_small_house.p3d",[4.61511,-0.978664,0.156],[[-0.16601,-0.68003,0],[0,0,0.7]],true,[],0.7],["a3\structures_f_enoch\furniture\various\dirtpile_small_house.p3d",[-1.65418,-1.91055,0.156],[[0,0.9,0],[0,0,0.9]],true,[],0.9],["Land_CanisterPlastic_F",[3.22119,-2.38394,0.429538],[[-0.899972,-0.00714002,0],[0,0,0.9]],true,["a3\structures_f\data\accessories\accessories02_co.paa"],0.9],["Land_Garbage_line_F",[-0.705445,-1.82144,0.175208],[[-0.999433,0.0336681,0],[0,0,1]],true,[],1],["Land_Garbage_line_F",[1.1488,1.99546,0.176134],[[0.999896,-0.0144508,0],[0,0,1]],true,[],1],["Land_Bench_F",[1.96277,-2.33877,0.383264],[[0.99999,0.00435938,0],[0,0,1]],true,[],1],["Land_BarrelTrash_grey_F",[5.45874,-2.38418,0.539256],[[0,1,0],[0,0,1]],true,[],1],["Land_Workbench_01_F",[5.54822,-0.780177,0.617069],[[0.999974,-0.00717094,0],[0,0,1]],true,[],1],["Leaflet_05_Old_F",[-1.64221,-1.20913,0.138373],[[-0.954062,-0.299609,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[0.207519,-0.919582,0.142255],[[-0.954062,-0.299609,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[0.370727,-1.41299,0.137893],[[-0.656996,0.753894,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Leaflet_05_Old_F",[-2.25635,-1.04751,0.140236],[[-0.314004,0.949422,0],[0,0,1]],true,["a3\weapons_f_orange\ammo\data\leaflet_default_co.paa"],1],["Land_CanisterOil_F",[5.79455,0.170018,1.05435],[[-0.963519,0.267642,0],[0,0,1]],true,[],1],["Transformer_enabled_02",[0.234984,2.69687,2.97265],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f\mil\barracks\barracks_acc_proxy_2_f.p3d",[5.93787,-2.39321,0.959866],[[0.799997,-0.00203864,0],[0,0,0.8]],true,[],0.8],["a3\structures_f_enoch\furniture\decoration\box_c\box_c.p3d",[-1.13855,2.41758,0.436342],[[0,1,0],[0,0,1]],true,[],1],["Land_WallSign_01_chalkboard_F",[6.03747,-0.794582,1.60781],[[-0.999963,0.00861795,0],[0,0,1]],true,["a3\missions_f_orange\data\img\orange_compositions\n2\wallsign_01_f_chalkboard_tools_co.paa","a3\missions_f_orange\data\img\orange_compositions\n2\wallsign_01_f_chalkboard_tools_co.paa"],1],["Land_TinWall_01_m_pole_F",[5.22095,-1.30874,1.10922],[[0,-0.00108909,0.599999],[0,-0.599999,-0.00108909]],true,[],0.6],["Land_GarbageHeap_03_F",[-1.57678,-2.19839,0.450282],[[0.0401727,-0.698846,0],[0,0,0.7]],true,[],0.7],["Land_PaperBox_01_small_ransacked_brown_F",[-1.63867,-1.74136,0.353743],[[0,1,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_dmg_co.paa"],1],["Land_PaperBox_01_small_ransacked_brown_F",[0.160766,-2.17642,0.344656],[[-0.988809,-0.14919,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_dmg_co.paa"],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[2.50012,0.0110824,3.35569],[[-0.999934,0.011486,0],[0,0,1]],true,[],1]]]; + _compData pushBack ["Land_i_Garage_V1_F",[["Land_Metal_rack_Tall_F",[5.16357,2.52964,0.110196],[[0,1,0],[0,0,1]],true,[],1],["Land_Metal_rack_Tall_F",[2.41321,2.5228,0.135457],[[0,1,0],[0,0,1]],true,[],1],["Land_Metal_rack_Tall_F",[4.37183,2.53769,0.12699],[[0,1,0],[0,0,1]],true,[],1],["Land_Metal_rack_Tall_F",[3.20496,2.51474,0.132932],[[0,1,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\various\debris_small_house.p3d",[1.71863,-1.94448,0.126146],[[0.792982,-0.105736,0],[0,0,0.8]],true,[],0.8],["a3\structures_f_enoch\furniture\various\debris_small_house.p3d",[4.64795,0.295262,0.125065],[[0.523757,-0.604714,0],[0,0,0.8]],true,[],0.8],["a3\structures_f_enoch\furniture\various\dirtpile_small_house.p3d",[-0.366456,1.85825,0.156],[[-0.0974983,-0.894703,0],[0,0,0.9]],true,[],0.9],["a3\structures_f_enoch\furniture\various\dirtpile_small_house.p3d",[-0.156983,2.48764,0.167218],[[0.00833236,0.799957,0],[0,0,0.8]],true,[],0.8],["Land_GarbageBarrel_02_F",[5.70459,0.00326991,0.617458],[[0.792348,-0.110384,0],[0,0,0.8]],true,["a3\props_f_enoch\military\garbage\data\garbagebarrelc_co.paa"],0.8],["Land_ChairPlastic_F",[4.66724,-1.96694,0.617878],[[-0.548973,0.83584,0],[0,0,1]],true,[],1],["Land_WoodenBox_F",[-2.15564,-2.41641,0.13068],[[-0.00546458,-0.799981,0],[0,0,0.8]],true,[],0.8],["Land_Pallet_F",[-0.529176,-2.40591,0.863838],[[0,0.282289,-0.959329],[0,0.959329,0.282289]],true,[],1],["Land_Garbage_line_F",[2.88538,2.01889,0.17013],[[-0.999992,0.00398462,0],[0,0,1]],true,[],1],["Land_Garbage_line_F",[0.487304,-1.96792,0.172944],[[-0.999995,-0.00324327,0],[0,0,1]],true,[],1],["Land_Garbage_line_F",[-0.597901,2.06723,0.187644],[[-0.999553,0.0298944,0],[0,0,1]],true,[],1],["Land_BarrelTrash_grey_F",[1.63733,2.43638,0.512125],[[0,1,0],[0,0,1]],true,[],1],["Land_GarbageHeap_01_F",[-0.26526,2.29599,0.45326],[[0.0236655,-0.6996,0],[0,0,0.7]],true,[],0.7],["a3\structures_f_enoch\furniture\various\workbench_dz.p3d",[5.56055,-1.31582,0.520816],[[0.799993,-0.00337893,0],[0,0,0.8]],true,[],0.8],["Transformer_enabled_02",[0.0106192,2.68027,3.0621],[[0,1,0],[0,0,1]],true,[],1],["Land_Rack_F",[0.998412,-2.44448,0.950345],[[-0.999799,-0.0200395,0],[0,0,1]],true,[],1],["a3\structures_f_enoch\furniture\decoration\box_c\box_c.p3d",[5.49475,-0.765285,0.387771],[[-0.799892,0.0131522,0],[0,0,0.8]],true,[],0.8],["Land_PaperBox_01_small_ransacked_brown_F",[-2.12622,1.57187,0.348161],[[0.866982,0.49834,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_dmg_co.paa"],1],["Land_PaperBox_01_small_ransacked_brown_F",[1.80041,1.63193,0.347229],[[-0.31633,0.948649,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_dmg_co.paa"],1],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[1.73193,0.0489242,3.35611],[[-0.999934,0.011486,0],[0,0,1]],true,[],1],["Land_PaperBox_01_small_destroyed_brown_F",[2.11145,-2.37393,0.35331],[[0,1,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_destroyed_co.paa"],1],["Land_CanisterPlastic_F",[-1.61829,-2.42935,0.752477],[[-0.897385,-0.0685627,0],[0,0,0.9]],true,["a3\structures_f\data\accessories\accessories02_co.paa"],0.9],["Land_Crowbar_01_F",[-2.31311,-2.40786,0.503197],[[-0.994732,-0.102507,0],[0,0,1]],true,[],1],["Land_GasTank_01_khaki_F",[-1.87195,2.34629,0.472646],[[-0.38112,-0.924526,0],[0,0,1]],true,[],1],["Land_GasTank_01_khaki_F",[-2.38391,2.41929,0.472706],[[-0.879718,-0.475496,0],[0,0,1]],true,[],1],["Land_CanisterFuel_Red_F",[5.35254,-2.44888,0.429497],[[0,1,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\canisterfuel_red_co.paa"],1]]]; + + comment 'Chapel (Big, New)'; + _compData pushBack ["Land_Chapel_V1_F",[["Land_PalletTrolley_01_khaki_F",[3.68868,-3.34545,0.78358],[[0,1,0],[0,0,1]],true,[],1],["Land_CanisterFuel_F",[3.25045,3.03724,0.496259],[[0.236488,0.971634,0],[0,0,1]],true,["a3\structures_f\items\vessels\data\canisterfuel_co.paa"],1],["Leaflet_05_New_F",[4.31173,-1.03307,1.28567],[[-0.601188,-0.799108,0],[0,0,1]],true,["a3\ui_f_orange\data\cfgleaflets\civ_ca.paa"],1],["Leaflet_05_New_F",[4.30367,-1.14599,1.28567],[[-0.295491,-0.955345,0],[0,0,1]],true,["a3\ui_f_orange\data\cfgleaflets\civ_ca.paa"],1],["Land_CampingChair_V2_white_F",[5.15157,-1.40697,0.964717],[[0.999607,-0.0280304,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\camps\data\tablechair_white_co.paa"],1],["Land_FoodSacks_01_small_white_idap_F",[7.01766,-2.14599,0.697491],[[0,1,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_full_white_idap_co.paa"],1],["Land_EmergencyBlanket_01_stack_F",[4.39877,-1.13036,0.675536],[[0,0.999896,-0.0143998],[0,0.0143998,0.999896]],true,[],1],["Land_PaperBox_01_small_closed_brown_food_F",[8.79427,-0.263175,0.684385],[[-0.999833,-0.0182869,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_food_co.paa"],1],["Land_PaperBox_01_small_closed_brown_IDAP_F",[7.7889,1.7046,0.686412],[[0,1,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_idap_co.paa"],1],["Land_PaperBox_01_small_closed_brown_IDAP_F",[7.78268,1.21278,0.690862],[[-0.0665662,0.997782,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_idap_co.paa"],1],["Land_PaperBox_01_small_closed_brown_IDAP_F",[7.78695,1.25013,1.10355],[[0,1,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_idap_co.paa"],1],["Land_PaperBox_01_small_closed_brown_IDAP_F",[7.78963,1.70521,1.0991],[[0,1,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_idap_co.paa"],1],["Land_PaperBox_01_small_closed_brown_IDAP_F",[8.54513,0.931039,0.679149],[[0,1,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_idap_co.paa"],1],["Land_PaperBox_01_small_closed_brown_IDAP_F",[8.48702,1.39234,0.674699],[[0,1,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_idap_co.paa"],1],["Land_PaperBox_01_small_closed_brown_IDAP_F",[8.5472,1.31898,1.09551],[[-0.582917,-0.812531,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_idap_co.paa"],1],["Land_PaperBox_01_small_closed_brown_food_F",[4.51913,-0.422599,0.684722],[[0.425571,0.904925,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_food_co.paa"],1],["Land_PaperBox_01_small_closed_brown_food_F",[8.83138,-1.04845,0.706972],[[-0.70945,0.704756,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_food_co.paa"],1],["Land_PaperBox_01_small_closed_brown_food_F",[8.32272,-1.53466,0.706972],[[-0.70945,0.704756,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_food_co.paa"],1],["Land_PaperBox_01_small_closed_brown_food_F",[8.64291,-1.28722,1.10841],[[-0.839139,0.543916,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_food_co.paa"],1],["Land_PaperBox_01_small_closed_brown_food_F",[8.23397,-0.903556,0.68453],[[-0.762791,0.646645,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_food_co.paa"],1],["Land_PaperBox_01_small_closed_white_IDAP_F",[4.45101,1.13136,0.683451],[[0,1,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_white_idap_co.paa"],1],["Land_PaperBox_01_small_closed_white_IDAP_F",[4.43819,1.58924,0.687776],[[0,1,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_white_idap_co.paa"],1],["Land_PaperBox_01_small_closed_white_IDAP_F",[4.3536,1.24195,1.09203],[[-0.999945,-0.0104691,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_white_idap_co.paa"],1],["Land_PaperBox_01_small_closed_white_IDAP_F",[6.10567,-2.25036,0.68671],[[0.0102049,0.999948,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_white_idap_co.paa"],1],["Land_FoodSacks_01_large_white_idap_F",[4.25155,3.39747,0.717272],[[0,1,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_full_white_idap_co.paa","a3\props_f_orange\humanitarian\supplies\data\foodsack_01_large_white_idap_mlod_co.paa"],1],["Land_FoodSack_01_full_white_idap_F",[7.03475,-2.1245,0.904641],[[0,1,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_full_white_idap_co.paa"],1],["Land_FoodSack_01_full_white_idap_F",[7.66,-2.06322,0.577288],[[-0.0590846,0.997961,0.024158],[0.378459,0,0.925618]],true,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_full_white_idap_co.paa"],1],["Land_FoodSack_01_full_white_idap_F",[6.99667,-1.66125,0.570722],[[0.996917,0.076124,-0.0190115],[0,0.242302,0.970201]],true,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_full_white_idap_co.paa"],1],["Land_CampingTable_small_white_F",[4.4183,-1.39013,0.87525],[[0.999891,-0.0147653,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\camps\data\campingtable_white_co.paa"],1],["UserTexture1m_F",[-7.35734,0.12391,1.892],[[0.999996,-0.00261816,0],[0,0,1]],true,["a3\structures_f_orange\signs\special\data\ad_idap_ca.paa"],1],["Land_WheelieBin_01_F",[-5.99039,-3.88463,0.743024],[[0.000354679,-1,0],[0,0,1]],true,[],1],["Box_I_UAV_06_medical_F",[4.46371,-0.429069,0.987535],[[0.243157,0.969987,0],[0,0,1]],true,["a3\air_f_orange\uav_06\data\i_uav_06_medical_co.paa","a3\air_f_orange\uav_06\data\i_uav_06_medical_co.paa"],1],["Land_PlasticCase_01_medium_idap_F",[4.4941,0.392587,0.669388],[[0.0145166,0.999895,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\plasticcase_01_idap_co.paa"],1],["Leaflet_05_Stack_F",[5.87472,-2.31603,0.854792],[[0.999973,-0.00508226,-0.00537452],[0.00541047,0.00708587,0.99996]],true,["a3\ui_f_orange\data\cfgleaflets\civ_ca.paa"],1],["Land_EmergencyBlanket_01_discarded_F",[-1.24833,-1.6455,0.746075],[[0.0368115,-0.999322,0],[0,0,1]],true,[],1],["Land_EmergencyBlanket_01_discarded_F",[-3.73392,1.79835,0.746393],[[-0.0613393,0.998117,0],[0,0,1]],true,[],1],["Land_EmergencyBlanket_01_F",[-3.73539,-1.12255,0.737661],[[-0.993601,-0.11295,0],[0,0,1]],true,[],1],["Land_EmergencyBlanket_01_F",[-2.48624,-1.04406,0.74637],[[0,1,0],[0,0,1]],true,[],1],["Land_EmergencyBlanket_01_F",[0.0559921,3.21522,0.730816],[[0,1,0],[0,0,1]],true,[],1],["Land_EmergencyBlanket_01_F",[-2.52152,3.1537,0.745147],[[-0.993601,-0.112915,-0.00282043],[0,-0.0249706,0.999688]],true,[],1],["Land_EmergencyBlanket_01_F",[-1.19523,1.23939,0.697227],[[0,1,0],[0,0,1]],true,[],1],["Land_PaperBox_01_open_water_F",[4.3807,-3.33605,0.798189],[[0.00238761,0.899997,0],[0,0,0.9]],true,[],0.9],["Land_PaperBox_01_open_boxes_F",[6.45968,1.77601,1.03519],[[0.899884,0.014435,0],[0,0,0.9]],true,[],0.9],["Land_Pillow_grey_F",[0.012291,3.25221,0.766979],[[-0.17692,1.38831,-0.0360631],[-0.00455889,0.0357738,1.39954]],true,[],1.4],["Land_Pillow_grey_F",[-2.48734,2.8932,0.755792],[[-0.165279,1.36234,0.27698],[0.0538762,-0.272444,1.37218]],true,[],1.4],["Land_Pillow_grey_F",[-3.75346,2.89527,0.736029],[[-0.17692,1.38831,-0.0360631],[-0.00455889,0.0357738,1.39954]],true,[],1.4],["Land_Pillow_grey_F",[-1.26981,1.27479,0.75205],[[-1.39086,0.12254,0.102379],[0.0907046,-0.132432,1.39077]],true,[],1.4],["Land_Pillow_grey_F",[-1.26041,-2.807,0.700029],[[0,1.39636,-0.100832],[0,0.100832,1.39636]],true,[],1.4],["Land_Pillow_grey_F",[-3.71745,-1.16479,0.758687],[[-1.37387,0.231328,0.137689],[0.142007,0.0144357,1.3927]],true,[],1.4],["Land_PlasticCase_01_small_idap_F",[4.39999,0.438851,0.988943],[[0,1,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\plasticcase_01_idap_co.paa"],1],["Land_Notepad_F",[4.54208,-1.70605,1.29412],[[0.23375,-0.972297,0],[0,0,1]],true,["#(argb,8,8,3)color(0.835294,0,0,0.0,ca)"],1],["Land_WaterBottle_01_empty_F",[0.426476,2.78297,0.371119],[[0,1,0],[0,0,1]],true,[],1],["Land_WaterBottle_01_full_F",[-0.802895,-2.49206,0.358984],[[0,1,0],[0,0,1]],true,[],1],["Land_WaterBottle_01_full_F",[-3.50602,1.01539,0.370233],[[0,1,0],[0,0,1]],true,[],1],["Land_WaterBottle_01_full_F",[4.5527,-0.953238,1.41129],[[0,1,0],[0,0,1]],true,[],1],["Land_WaterBottle_01_cap_F",[0.481407,2.72437,0.253035],[[0,1,0],[0,0,1]],true,[],1]]]; + _compData pushBack ["Land_Chapel_V1_F",[["Land_CanisterFuel_F",[-5.21842,3.65675,0.531261],[[-0.97514,0.22159,0],[0,0,1]],true,["a3\structures_f\items\vessels\data\canisterfuel_co.paa"],1],["Land_Garbage_square3_F",[2.46993,-2.82738,0.282365],[[0,1,0],[0,0,1]],true,[],1],["Land_Garbage_square3_F",[5.78597,1.27418,0.521294],[[0,1,0],[0,0,1]],true,[],1],["Land_EmergencyBlanket_01_stack_F",[4.59945,0.539804,0.388316],[[-0.00666405,0.999978,0],[0,0,1]],true,[],1],["Land_PaperBox_01_small_destroyed_white_IDAP_F",[7.23531,-2.0349,0.696068],[[0.27243,-0.962176,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_white_destroyed_idap_co.paa"],1],["Land_PaperBox_01_small_destroyed_white_IDAP_F",[8.39217,-1.3872,0.683383],[[-0.999073,0.0430496,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_white_destroyed_idap_co.paa"],1],["Land_PaperBox_01_small_destroyed_brown_IDAP_F",[5.65426,2.10157,0.694705],[[0.0631983,-0.998001,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_destroyed_idap_co.paa"],1],["Land_PaperBox_01_small_destroyed_brown_IDAP_F",[4.57308,-0.390128,0.690955],[[0.999999,-0.00128254,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_destroyed_idap_co.paa"],1],["Land_PaperBox_01_small_destroyed_brown_IDAP_F",[1.41769,2.78248,0.437802],[[0.999999,-0.00128254,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_destroyed_idap_co.paa"],1],["Leaflet_05_Old_F",[5.28988,-1.78319,0.489668],[[0.27275,0.962085,0],[0,0,1]],true,["a3\ui_f_orange\data\cfgleaflets\civ_ca.paa"],1],["Leaflet_05_Old_F",[6.85104,0.911874,0.483156],[[0.873135,-0.487479,0],[0,0,1]],true,["a3\ui_f_orange\data\cfgleaflets\civ_ca.paa"],1],["Leaflet_05_Old_F",[5.73446,1.52564,0.482574],[[0.863016,0.505176,0],[0,0,1]],true,["a3\ui_f_orange\data\cfgleaflets\civ_ca.paa"],1],["Leaflet_05_Old_F",[2.5848,-3.1665,0.24686],[[0.863016,0.505176,0],[0,0,1]],true,["a3\ui_f_orange\data\cfgleaflets\civ_ca.paa"],1],["Leaflet_05_Old_F",[6.51656,0.661874,0.483156],[[0.863016,0.505176,0],[0,0,1]],true,["a3\ui_f_orange\data\cfgleaflets\civ_ca.paa"],1],["Leaflet_05_Old_F",[-4.22904,-0.492179,0.244668],[[0.982945,-0.1839,0],[0,0,1]],true,["a3\ui_f_orange\data\cfgleaflets\civ_ca.paa"],1],["Leaflet_05_Old_F",[-4.58402,-0.921134,0.244668],[[0.113515,0.993536,0],[0,0,1]],true,["a3\ui_f_orange\data\cfgleaflets\civ_ca.paa"],1],["Leaflet_05_Old_F",[-4.58305,-0.503165,0.244668],[[0.913801,0.406163,0],[0,0,1]],true,["a3\ui_f_orange\data\cfgleaflets\civ_ca.paa"],1],["Leaflet_05_Old_F",[4.61398,-2.0371,0.489668],[[0.922363,0.386325,0],[0,0,1]],true,["a3\ui_f_orange\data\cfgleaflets\civ_ca.paa"],1],["Leaflet_05_Old_F",[4.98495,-2.10424,0.489668],[[-0.409525,0.912299,0],[0,0,1]],true,["a3\ui_f_orange\data\cfgleaflets\civ_ca.paa"],1],["Land_FoodSack_01_empty_white_idap_F",[3.98898,-2.13525,0.510264],[[0.582052,-0.813151,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_dmg_white_idap_co.paa"],1],["Land_FoodSack_01_empty_white_idap_F",[4.26095,-3.20214,0.464264],[[-0.773951,-0.633245,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_dmg_white_idap_co.paa"],1],["Land_FoodSack_01_empty_white_idap_F",[2.70174,-3.98656,0.278961],[[0.933413,-0.358804,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_dmg_white_idap_co.paa"],1],["Land_CampingTable_small_white_F",[4.54281,-1.39184,0.885518],[[0.999891,-0.0147653,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\camps\data\campingtable_white_co.paa"],1],["Land_FoodSack_01_dmg_white_idap_F",[3.27193,-3.83935,0.31966],[[0.29516,-0.955448,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_dmg_white_idap_co.paa"],1],["Land_FoodSack_01_dmg_white_idap_F",[4.69845,-3.84618,0.488342],[[-0.481264,-0.876576,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_dmg_white_idap_co.paa"],1],["UserTexture1m_F",[-7.35001,0.130868,1.811],[[0.999996,-0.00261816,0],[0,0,1]],true,["a3\structures_f_orange\signs\special\data\ad_idap_ca.paa"],1],["Land_EmergencyBlanket_01_discarded_F",[-1.27946,-1.91015,0.746672],[[0.0160539,-0.99985,0.00642755],[-0.000104182,0.0064267,0.999979]],true,[],1],["Land_EmergencyBlanket_01_discarded_F",[-3.81034,1.89698,0.74504],[[0,0.999979,0.00642755],[0,-0.00642755,0.999979]],true,[],1],["Land_EmergencyBlanket_01_discarded_F",[1.29696,2.08595,0.718805],[[0,0.999979,0.00642755],[0,-0.00642755,0.999979]],true,[],1],["Land_EmergencyBlanket_01_F",[1.2795,-1.01537,0.719891],[[0,0.9,0],[0,0,0.9]],true,[],0.9],["Land_EmergencyBlanket_01_F",[-2.49137,-0.954825,0.73454],[[-0.0774785,0.896659,0],[0,0,0.9]],true,[],0.9],["Land_EmergencyBlanket_01_F",[-1.26261,1.16432,0.695858],[[-0.00335863,-0.899994,0],[0,0,0.9]],true,[],0.9],["Land_Pillow_grey_F",[1.29549,3.14161,0.697589],[[-0.17692,1.38831,-0.0360631],[-0.00455889,0.0357738,1.39954]],true,[],1.4],["Land_Pillow_grey_F",[-1.29288,-2.99071,0.724212],[[1.39675,0.0882576,-0.0360611],[0.0359893,0.00227478,1.39954]],true,[],1.4],["Land_Pillow_grey_F",[-1.24052,1.26368,0.731371],[[1.39675,0.0830713,-0.0467864],[0.0359893,0.176796,1.38833]],true,[],1.4],["Land_PaperBox_01_small_ransacked_brown_IDAP_F",[4.55636,2.115,0.691363],[[-0.172454,-0.985017,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_dmg_idap_co.paa"],1],["Land_PaperBox_01_small_ransacked_brown_IDAP_F",[3.03268,2.26588,0.448729],[[-0.872625,0.48839,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_dmg_idap_co.paa"],1],["Land_PaperBox_01_small_ransacked_brown_IDAP_F",[2.80294,3.63233,0.449596],[[-0.780362,-0.625328,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_dmg_idap_co.paa"],1],["Land_PaperBox_01_small_ransacked_white_IDAP_F",[7.47945,-1.25048,0.688988],[[0.401588,0.91582,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_white_dmg_idap_co.paa"],1],["Land_PaperBox_01_small_ransacked_white_IDAP_F",[6.08309,-1.98363,0.683753],[[-0.691711,0.722175,0],[0,0,1]],true,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_white_dmg_idap_co.paa"],1],["Land_WaterBottle_01_compressed_F",[6.49374,1.07984,0.506754],[[-0.781383,-0.624051,0],[0,0,1]],true,[],1],["Land_WaterBottle_01_compressed_F",[5.87203,1.06593,0.5148],[[0.452628,0.891699,0],[0,0,1]],true,[],1],["Land_WaterBottle_01_compressed_F",[2.52462,-3.20922,0.271883],[[0.911663,0.410939,0],[0,0,1]],true,[],1],["Land_WaterBottle_01_compressed_F",[6.68356,1.54224,0.510445],[[-0.987623,0.156849,0],[0,0,1]],true,[],1],["Land_WaterBottle_01_compressed_F",[5.49044,1.38844,0.511109],[[-0.353872,0.935294,0],[0,0,1]],true,[],1],["Land_WaterBottle_01_compressed_F",[6.0317,1.72047,0.514599],[[-0.92497,-0.380039,0],[0,0,1]],true,[],1],["Land_WaterBottle_01_compressed_F",[3.05929,-2.79955,0.271683],[[-0.958882,0.283804,0],[0,0,1]],true,[],1],["Land_WaterBottle_01_compressed_F",[2.35421,-2.70214,0.268193],[[0.310664,0.95052,0],[0,0,1]],true,[],1],["Land_Pallets_stack_F",[4.39327,-3.50536,-0.0179396],[[0,1,0],[0,0,1]],true,[],1],["Land_WaterBottle_01_full_F",[2.97164,-3.13402,0.266805],[[-0.00470824,0.00686453,-0.999965],[-0.566058,0.824323,0.00832402]],true,[],1],["Land_WaterBottle_01_full_F",[6.17318,1.40455,0.509721],[[-0.00797064,0.00239942,-0.999965],[-0.957794,0.287336,0.00832396]],true,[],1],["Land_WheelieBin_01_F",[-5.99442,-3.89892,0.737024],[[0.000354679,-1,0],[0,0,1]],true,[],1],["Land_PaperBox_01_open_empty_F",[4.28097,3.43482,0.863189],[[0,1,0],[0,0,1]],true,[],1]]]; + + + comment "TODO : Populate. Format as follows..."; + comment "Building type (Actual comment for readability)"; + comment "_compData pushBack ['BuildingType',['compData']]; (Code that adds to _compData which is saved afterwards.)"; + + comment "Gustav's Compositions"; + + comment "Barracks (New)"; + + _compData pushBack ["Land_i_Barracks_V1_F",[["a3\structures_f\civ\market\cratesshabby_f.p3d",[-13.2344,-0.31543,4.61184],[[0.0340273,0.999421,0],[0,0,1]],true,[]],["a3\structures_f\items\vessels\canisterplastic_f.p3d",[-2.47021,-0.545898,0.888823],[[-0.999998,-0.00204228,0],[0,0,1]],true,[]],["a3\structures_f\civ\camping\campingchair_v1_folded_f.p3d",[-8.40967,-1.23828,4.36818],[[-0.998577,0.0533284,1.46329e-005],[-0.0520797,-0.975254,0.214864]],true,[]],["a3\structures_f\civ\camping\campingtable_small_f.p3d",[-7.47998,-1.48193,4.2512],[[0.00143114,-0.999999,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\school_clock.p3d",[-2.91162,-2.98633,2.47708],[[0.00278554,1.2,0],[0,0,1.2]],true,[]],["a3\structures_f\items\electronics\portable_generator_f.p3d",[-13.0317,0.559082,4.19318],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f\items\electronics\portable_generator_f.p3d",[-7.2832,-4.09668,0.870181],[[-0.999954,-0.00961669,0],[0,0,1]],true,[]],["a3\props_f_orange\civilian\infoboards\mapboard_01_wall_f.p3d",[-6.90283,-3.37158,5.21256],[[0.999998,-0.00198416,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[-10.3911,3.83691,3.84881],[[0.0343645,-0.999409,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[-1.2373,3.84082,3.84158],[[0.0224304,-0.999748,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\chairs\vojenska_palanda\vojenska_palanda.p3d",[-7.33691,2.66162,3.83478],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\chairs\vojenska_palanda\vojenska_palanda.p3d",[1.1958,2.6626,3.85436],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\chairs\vojenska_palanda\vojenska_palanda.p3d",[-13.0107,2.6626,3.84763],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\chairs\vojenska_palanda\vojenska_palanda.p3d",[-6,2.66455,3.82888],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_epb\furniture\shelveswooden_khaki_f.p3d",[-1.55762,-0.553711,1.01579],[[-0.999922,-0.012479,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\radiator.p3d",[-2.68848,0.967285,0.630576],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\radiator.p3d",[-0.101074,4.6748,4.03627],[[0.00247925,0.999997,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\radiator.p3d",[-8.47119,4.69873,4.09611],[[0.00247925,0.999997,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[-10.314,1.50879,3.84919],[[-0.00210508,-0.999998,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[-2.43945,1.51611,3.84542],[[0.0105614,-0.999944,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[-3.24658,1.50293,3.84763],[[0.0105614,-0.999944,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[-11.1172,1.51318,3.84919],[[-0.00210508,-0.999998,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\class_case_a_open.p3d",[-1.3833,4.29346,0.4969],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\class_case_a_open.p3d",[-5.30518,0.626465,3.8449],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\chairs\ch_mod_c\ch_mod_c.p3d",[-2.12939,-3.76367,0.503374],[[0.233265,0.972413,0],[0,0,1]],true,[]],["a3\props_f_orange\humanitarian\supplies\paperbox_01_small_destroyed_f.p3d",[-4.11719,0.688477,0.734864],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f\furniture\tabledesk_f.p3d",[-2.27197,-4.24463,0.927101],[[-0.00176794,0.999998,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v2.p3d",[-2.84473,1.50098,3.84519],[[0.00684629,-0.999977,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v2.p3d",[-3.64941,1.49902,3.84662],[[0.00684629,-0.999977,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v2.p3d",[-11.5186,1.51416,3.84919],[[-0.00210508,-0.999998,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\dhangar_borwnskrin\dhangar_brownskrin_open.p3d",[-5.17969,0.714844,0.512645],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\long_bench.p3d",[-3.01074,-6.28516,0.513291],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\long_bench.p3d",[-8.25391,-0.584473,0.509726],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\long_bench.p3d",[-8.14258,-0.571777,3.842],[[0.00799352,0.999968,0],[0,0,1]],true,[]],["Land_WallSign_01_chalkboard_F",[1.64111,3.03418,1.84113],[[-0.999998,-0.00191926,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n2\wallsign_01_f_chalkboard_tools_co.paa","a3\missions_f_orange\data\img\orange_compositions\n2\wallsign_01_f_chalkboard_tools_co.paa"]],["Land_WallSign_01_chalkboard_F",[-2.98096,1.23242,1.84368],[[0,1,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n2\wallsign_01_f_chalkboard_tools_co.paa","a3\missions_f_orange\data\img\orange_compositions\n2\wallsign_01_f_chalkboard_tools_co.paa"]],["a3\structures_f_enoch\furniture\cases\locker\locker_open_v1.p3d",[-10.7134,1.5127,3.85084],[[0.00878195,-0.999961,0],[0,0,1]],true,[]],["a3\structures_f_epa\civ\constructions\pallets_stack_f.p3d",[-7.7124,3.89355,0.954568],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\dhangar_borwnskrin\dhangar_brownskrin.p3d",[-10.2896,0.689453,3.85086],[[0,1,0],[0,0,1]],true,[]],["a3\props_f_orange\humanitarian\supplies\paperbox_01_open_water_f.p3d",[-12.7524,3.88379,1.14119],[[0.999768,0.0215531,0],[0,0,1]],true,[]],["a3\structures_f_epb\furniture\shelveswooden_f.p3d",[-0.391602,4.37549,1.01724],[[-0.999979,-0.00652498,0],[0,0,1]],true,[]],["Land_FoodSacks_01_cargo_brown_F",[-11.041,3.91309,1.04013],[[0,1,0],[0,0,1]],false,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_full_brown_co.paa","a3\props_f_orange\humanitarian\supplies\data\foodsack_01_cargo_brown_mlod_co.paa"]],["a3\structures_f\furniture\metal_rack_tall_f.p3d",[-8.09131,-4.37207,0.510435],[[-0.025172,-0.999683,0],[0,0,1]],true,[]],["a3\structures_f\furniture\metal_rack_tall_f.p3d",[-9.64355,-4.31934,0.517131],[[-0.025172,-0.999683,0],[0,0,1]],true,[]],["a3\structures_f\furniture\metal_rack_tall_f.p3d",[-10.416,-4.29639,0.51813],[[-0.025172,-0.999683,0],[0,0,1]],true,[]],["a3\structures_f\furniture\metal_rack_tall_f.p3d",[-8.86377,-4.34912,0.511434],[[-0.025172,-0.999683,0],[0,0,1]],true,[]],["a3\structures_f\civ\camping\campingchair_v1_f.p3d",[-9.90723,-2.95752,4.3462],[[-0.99984,0.017911,0],[0,0,1]],true,[]],["a3\structures_f\civ\camping\campingchair_v1_f.p3d",[-10.9248,-2.98145,4.34999],[[-0.99984,0.017911,0],[0,0,1]],true,[]],["a3\structures_f\civ\camping\campingchair_v1_f.p3d",[-10.9668,-3.88574,4.35284],[[-0.99984,0.017911,0],[0,0,1]],true,[]],["a3\structures_f\civ\camping\campingchair_v1_f.p3d",[-12.3647,-3.84717,4.35633],[[-0.99984,0.017911,0],[0,0,1]],true,[]],["a3\structures_f\civ\camping\campingchair_v1_f.p3d",[-12.3228,-2.94287,4.35347],[[-0.99984,0.017911,0],[0,0,1]],true,[]],["a3\structures_f\civ\camping\campingchair_v1_f.p3d",[-13.3916,-3.85059,4.36011],[[-0.99984,0.017911,0],[0,0,1]],true,[]],["a3\structures_f\civ\camping\campingchair_v1_f.p3d",[-9.94922,-3.86182,4.34906],[[-0.99984,0.017911,0],[0,0,1]],true,[]],["a3\structures_f\civ\camping\campingchair_v1_f.p3d",[-13.3496,-2.94629,4.35725],[[-0.99984,0.017911,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[-1.43408,4.27148,4.19884],[[-0.00471241,-0.999989,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[-10.5933,4.26514,4.20607],[[0.00722656,-0.999974,0],[0,0,1]],true,[]],["a3\structures_f\furniture\metal_rack_f.p3d",[-13.4482,-1.68652,1.41265],[[-0.999984,0.00561236,0],[0,0,1]],true,[]],["a3\structures_f\furniture\metal_rack_f.p3d",[-13.4458,-3.91602,1.41348],[[-0.999984,0.00561236,0],[0,0,1]],true,[]],["a3\structures_f\furniture\metal_rack_f.p3d",[-9.80225,-1.28174,1.41356],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f\furniture\metal_rack_f.p3d",[-8.68066,-1.27588,1.41548],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f\furniture\metal_rack_f.p3d",[-7.57275,-1.2666,1.41274],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f\furniture\metal_rack_f.p3d",[-13.4453,-2.79443,1.4154],[[-0.999984,0.00561236,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\workbench_01_f.p3d",[1.13867,2.93994,0.979948],[[0.999995,-0.00326125,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\various\workbench.p3d",[-4.13867,1.65576,0.496223],[[-0.999998,0.00193692,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\various\workbench_dz.p3d",[-4.55811,4.14453,0.876816],[[0,1,0],[0,0,1]],true,[]],["Land_FoodSacks_01_large_brown_F",[-5.89795,-4.49463,4.32311],[[0,1,0],[0,0,1]],false,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_full_brown_co.paa","a3\props_f_orange\humanitarian\supplies\data\foodsack_01_large_brown_mlod_co.paa"]],["a3\structures_f\civ\market\sack_f.p3d",[13.9712,4.29346,0.938272],[[-0.999829,0.0184669,0],[0,0,1]],true,[]],["a3\structures_f\civ\market\cratesplastic_f.p3d",[12.9829,4.24902,1.73874],[[0.00845338,0.999964,0],[0,0,1]],true,[]],["a3\structures_f\furniture\rack_f.p3d",[14.4199,-3.80762,1.3249],[[0.0119029,-0.999929,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\chairs\vojenska_palanda\vojenska_palanda.p3d",[7.82422,3.86328,0.504431],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\chairs\vojenska_palanda\vojenska_palanda.p3d",[7.79785,-1.90137,3.84128],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\chairs\vojenska_palanda\vojenska_palanda.p3d",[2.52393,-1.87158,0.514796],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\chairs\vojenska_palanda\vojenska_palanda.p3d",[9.15771,2.67236,3.86485],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\chairs\vojenska_palanda\vojenska_palanda.p3d",[2.64795,2.68359,0.506238],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\chairs\vojenska_palanda\vojenska_palanda.p3d",[2.54492,-1.9082,3.86053],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\chairs\vojenska_palanda\vojenska_palanda.p3d",[2.56348,2.67188,3.79388],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\chairs\vojenska_palanda\vojenska_palanda.p3d",[7.75488,2.68896,3.83138],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\chairs\vojenska_palanda\vojenska_palanda.p3d",[7.81982,-1.90186,0.530608],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\chairs\vojenska_palanda\vojenska_palanda.p3d",[14.1323,2.69922,3.82415],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\chairs\vojenska_palanda\vojenska_palanda.p3d",[9.18408,-1.91602,3.83934],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\chairs\vojenska_palanda\vojenska_palanda.p3d",[9.24854,-1.91211,0.496559],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\radiator.p3d",[5.64844,4.68408,0.656162],[[0.00251024,0.999997,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\radiator.p3d",[3.15674,-4.58789,4.00294],[[-0.0128627,-0.999917,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\radiator.p3d",[9.61523,-4.58447,4.01418],[[-0.0128627,-0.999917,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\radiator.p3d",[10.7173,-4.5835,0.65735],[[-0.0128627,-0.999917,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\radiator.p3d",[8.26416,1.0083,3.98103],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\radiator.p3d",[13.1182,4.67578,4.09928],[[0.00247837,0.999997,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\radiator.p3d",[6.44092,4.6875,4.05435],[[0.00247837,0.999997,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\radiator.p3d",[4.51514,-4.58594,0.57435],[[-0.0128627,-0.999917,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[5.25,1.49414,0.491456],[[-0.00210508,-0.999998,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[4.44678,1.49854,0.491456],[[-0.00210508,-0.999998,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[4.93408,1.50293,3.85031],[[0.0105614,-0.999944,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[4.12695,1.48975,3.85251],[[0.0105614,-0.999944,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[5.46582,-1.35645,0.516098],[[-0.000543896,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[12.123,1.49707,3.8462],[[0.00238505,-0.999997,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[5.01367,-1.36133,3.84921],[[-0.000543896,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[14.3848,-2.4707,0.503506],[[0.999989,-0.00460282,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[4.6626,-1.354,0.516098],[[-0.000543896,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[5.81689,-1.36377,3.84921],[[-0.000543896,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[10.7227,-1.35205,3.84926],[[-0.000543896,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[11.5259,-1.35449,3.84926],[[-0.000543896,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[12.9263,1.49609,3.8462],[[0.00238505,-0.999997,0],[0,0,1]],true,[]],["a3\props_f_orange\humanitarian\supplies\paperbox_01_small_destroyed_f.p3d",[6.67725,-0.531738,0.729656],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v2.p3d",[11.124,-1.35254,3.84926],[[-0.000543896,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v2.p3d",[3.72412,1.48584,3.85151],[[0.00684629,-0.999977,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v2.p3d",[11.9272,-1.354,3.84926],[[-0.000543896,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v2.p3d",[5.06396,-1.35449,0.516098],[[-0.000543896,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v2.p3d",[11.7217,1.49561,3.8462],[[0.00238505,-0.999997,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v2.p3d",[4.04541,1.49951,0.491456],[[-0.00210508,-0.999998,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v2.p3d",[14.3828,-2.87207,0.503506],[[0.999989,-0.00460282,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v2.p3d",[4.52881,1.48779,3.85008],[[0.00684629,-0.999977,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v2.p3d",[5.41504,-1.36182,3.84921],[[-0.000543896,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v2.p3d",[6.21826,-1.36328,3.84921],[[-0.000543896,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v2.p3d",[12.5249,1.49609,3.8462],[[0.00238505,-0.999997,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\long_bench.p3d",[9.90625,-0.564941,0.508],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\long_bench.p3d",[7.06299,-0.583008,3.835],[[-0.00640227,0.999979,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_open_v1.p3d",[4.85059,1.49805,0.493103],[[0.00878195,-0.999961,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\dhangar_borwnskrin\dhangar_brownskrin.p3d",[9.45752,-0.546387,3.84409],[[-0.00164947,-0.999999,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\dhangar_borwnskrin\dhangar_brownskrin.p3d",[3.50391,0.69043,3.83424],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\dhangar_borwnskrin\dhangar_brownskrin.p3d",[2.10205,0.6875,0.513576],[[0,1,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\rug_01_f.p3d",[4.16016,-3.35742,0.521549],[[0.999993,-0.00366489,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\rug_01_f.p3d",[5.98926,3.55225,0.525047],[[0.999993,-0.00366489,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\rug_01_f.p3d",[11.0552,-2.58936,3.89832],[[0.999993,-0.00366489,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\rug_01_f.p3d",[5.76318,-2.6748,3.89832],[[0.999993,-0.00366489,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\lab_teacher_bench.p3d",[12.4263,4.20898,0.489708],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_open_v3.p3d",[5.86914,-1.36475,0.520647],[[0.0165432,0.999863,0],[0,0,1]],true,[]],["a3\props_f_orange\humanitarian\camps\emergencyblanket_01_stack_f.p3d",[2.23682,-3.54785,0.705206],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f\furniture\icebox_f.p3d",[12.3154,1.70752,1.13538],[[-0.00602417,-0.999982,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\metalcrate\metalcrate.p3d",[2.3667,0.690918,3.83311],[[-0.999986,-0.00521895,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\metalcrate\metalcrate.p3d",[7.66357,-0.550781,0.520112],[[-0.999986,-0.00521895,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[11.7983,-1.47412,0.854268],[[0.00303331,-0.999995,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[4.47754,-4.16309,4.19813],[[-0.00115472,0.999999,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[3.96924,4.26074,0.8691],[[0.0054015,-0.999985,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[11.2817,4.28027,4.18992],[[-0.00312003,-0.999995,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[12.3481,-4.16113,4.19516],[[-0.00115472,0.999999,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[6.18311,-4.17285,0.865839],[[0.000345376,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[4.98682,4.2666,4.20121],[[0.00618111,-0.999981,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\class_case_b_open.p3d",[10.4722,-1.47217,0.525908],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\lab_sink.p3d",[14.0454,3.08154,0.581771],[[-0.999967,-0.00815954,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[12.0063,-1.78613,0.512901],[[-0.0408646,-0.999165,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[5.98486,-3.73633,0.508578],[[-0.0267958,0.999641,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[4.17041,3.83252,0.511838],[[0.0325409,-0.99947,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[4.27783,-3.72705,3.84086],[[-0.0282954,0.9996,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[12.1484,-3.7251,3.8379],[[-0.0282954,0.9996,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[11.4795,3.8501,3.83265],[[0.0240223,-0.999711,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[5.19336,3.78613,3.84482],[[-0.0079999,-0.999968,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[3.27783,0.651855,0.515693],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[4.53857,0.685059,3.84933],[[0,1,0],[0,0,1]],true,[]]]]; + _compData pushBack ["Land_i_Barracks_V1_F",[["Land_FoodSack_01_empty_brown_F",[-11.6152,2.1001,0.558815],[[-0.815727,-0.578437,0],[0,0,1]],false,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_dmg_brown_co.paa"]],["a3\structures_f\civ\market\cratesshabby_f.p3d",[-7.41211,4.2832,1.27651],[[-0.999615,0.0277503,0],[0,0,1]],true,[]],["a3\structures_f\civ\garbage\garbage_line_f.p3d",[-4.98535,0.368652,0.570384],[[-0.999854,0.0170661,0],[0,0,1]],true,[]],["a3\structures_f\civ\garbage\garbage_line_f.p3d",[-5.79004,-3.98877,3.89402],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f\civ\garbage\garbage_square3_f.p3d",[-3.16943,-4.89795,3.8936],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f\civ\garbage\garbage_square3_f.p3d",[-5.40869,-0.0996094,3.90442],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f\civ\garbage\garbage_square3_f.p3d",[-5.61133,-2.96094,0.561906],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f\civ\market\cratesplastic_f.p3d",[-10.145,4.21387,1.68707],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\decoration\box_c\box_c.p3d",[-12.3779,-0.590332,0.820963],[[0,1,0],[0,0,1]],true,[]],["Land_FoodSack_01_dmg_brown_F",[-12.3135,2.10352,0.602833],[[-0.141624,0.989921,0],[0,0,1]],false,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_dmg_brown_co.paa"]],["a3\structures_f\furniture\rack_f.p3d",[-1.26318,-0.605469,4.66094],[[-0.999999,0.00143386,0],[0,0,1]],true,[]],["a3\props_f_exp\civilian\garbage\garbageheap_03_f.p3d",[-6.00342,-3.4458,4.32975],[[0.997835,-0.0657686,0],[0,0,1]],true,[]],["a3\props_f_exp\civilian\garbage\garbageheap_04_f.p3d",[-6.11914,-2.81152,0.998375],[[0.998789,-0.0492044,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\workbench_01_f.p3d",[-7.36816,-2.79346,0.963759],[[0.999995,-0.00326125,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[-10.3916,3.83643,3.84881],[[0.0343645,-0.999409,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[-1.23779,3.84033,3.84158],[[0.0224304,-0.999748,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\chairs\vojenska_palanda\vojenska_palanda.p3d",[-13.0112,2.66211,3.84763],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\chairs\vojenska_palanda\vojenska_palanda.p3d",[-9.08398,-1.52148,3.85756],[[-0.999995,-0.00311754,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\chairs\vojenska_palanda\vojenska_palanda.p3d",[-7.3374,2.66113,3.83478],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\chairs\vojenska_palanda\vojenska_palanda.p3d",[1.19531,2.66211,3.85436],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\chairs\vojenska_palanda\vojenska_palanda.p3d",[-13.1387,-2.53662,3.86988],[[-0.0182104,-0.999834,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\chairs\vojenska_palanda\vojenska_palanda.p3d",[-6.00049,2.66406,3.82888],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\radiator.p3d",[-12.3022,-4.6084,4.0492],[[-0.00965351,-0.999953,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\radiator.p3d",[-8.47168,4.69824,4.09611],[[0.00247925,0.999997,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\radiator.p3d",[-8.78125,-0.871582,0.618763],[[-0.00056204,-1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\radiator.p3d",[-0.101563,4.67432,4.03627],[[0.00247925,0.999997,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\radiator.p3d",[-8.45117,-0.862305,4.08157],[[-0.00965351,-0.999953,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[1.40527,2.30615,0.506351],[[0.999991,0.00428945,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[1.40527,1.50342,0.509368],[[0.999991,0.00428945,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[-10.1694,-4.29688,3.84819],[[0.00190464,-0.999998,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[-3.38232,1.49707,0.50801],[[0.0052172,-0.999986,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[-11.1177,1.5127,3.84919],[[-0.00210508,-0.999998,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[-4.58691,1.49805,0.511246],[[0.0052172,-0.999986,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[-5.38965,1.49707,0.514263],[[0.0052172,-0.999986,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[-3.24707,1.50244,3.84763],[[0.0105614,-0.999944,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[-10.3145,1.5083,3.84919],[[-0.00210508,-0.999998,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[-0.432129,3.91016,0.714653],[[0.887307,0.46116,0.00428795],[0.461177,-0.887295,-0.0048724]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[-0.585449,3.81982,1.10644],[[0.801069,0.598557,0.00428699],[0.598572,-0.801054,-0.00486867]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[1.40625,3.10938,0.504666],[[0.999991,0.00428945,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[1.40625,3.9209,0.501649],[[0.999991,0.00428945,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[1.40723,3.51953,0.503116],[[0.999991,0.00428945,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[-2.43994,1.51563,3.84542],[[0.0105614,-0.999944,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[-2.98096,1.49854,0.506544],[[0.0052172,-0.999986,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[-3.78369,1.49756,0.509561],[[0.0052172,-0.999986,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[-7.14404,-2.70215,3.84625],[[0.999996,0.00269468,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\class_case_a_open.p3d",[-9.28613,-1.4248,0.4969],[[0,1,0],[0,0,1]],true,[]],["a3\props_f_orange\humanitarian\supplies\paperbox_01_small_destroyed_f.p3d",[1.625,0.68457,2.65847],[[-0.0549624,0.998488,0],[0,0,1]],true,[]],["a3\structures_f\furniture\tabledesk_f.p3d",[-1.6543,-5.40234,4.21025],[[-0.00662089,-0.00104024,-0.999978],[0.987932,0.154745,-0.00670211]],true,[]],["a3\structures_f_enoch\furniture\various\workbench.p3d",[-11.0039,-4.12061,0.496223],[[-0.999998,0.00193692,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v2.p3d",[-4.18604,1.49902,0.51101],[[0.000694426,-1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v2.p3d",[-2.58008,1.49951,0.506308],[[0.000694426,-1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v2.p3d",[1.40479,1.9043,0.509131],[[1,-0.000233336,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v2.p3d",[-4.98877,1.49805,0.514026],[[0.000694426,-1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v2.p3d",[-10.5732,-4.29395,3.84457],[[-0.0115958,-0.999933,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v2.p3d",[-7.14697,-3.10547,3.84263],[[0.999942,-0.0108059,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v2.p3d",[-3.6499,1.49854,3.84662],[[0.00684629,-0.999977,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v2.p3d",[1.4043,2.70703,0.506115],[[1,-0.000233336,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v2.p3d",[-11.519,1.51367,3.84919],[[-0.00210508,-0.999998,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v2.p3d",[1.40527,4.32178,0.501413],[[1,-0.000233336,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v2.p3d",[-2.84521,1.50049,3.84519],[[0.00684629,-0.999977,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\dhangar_borwnskrin\dhangar_brownskrin_open.p3d",[-5.37793,0.727051,3.83793],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\long_bench.p3d",[-4.05469,-6.28662,3.85119],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\long_bench.p3d",[0.896973,-0.568848,3.84571],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\long_bench.p3d",[-4.05566,0.72998,0.509357],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\long_bench.p3d",[-3.12939,0.722168,3.84481],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\long_bench.p3d",[-10.7988,0.693848,3.84079],[[0,1,0],[0,0,1]],true,[]],["Land_WallSign_01_chalkboard_F",[-6.90869,-2.6377,1.84068],[[-0.999998,-0.00191926,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n2\wallsign_01_f_chalkboard_tools_co.paa","a3\missions_f_orange\data\img\orange_compositions\n2\wallsign_01_f_chalkboard_tools_co.paa"]],["a3\structures_f_enoch\furniture\cases\locker\locker_open_v1.p3d",[-10.7139,1.51221,3.85084],[[0.00878195,-0.999961,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\dhangar_borwnskrin\dhangar_brownskrin.p3d",[-12.96,0.665039,3.84254],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\dhangar_borwnskrin\dhangar_brownskrin.p3d",[1.95361,0.681152,0.513945],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\dhangar_borwnskrin\dhangar_brownskrin.p3d",[-6.31934,0.690918,0.517114],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_epb\furniture\shelveswooden_f.p3d",[-12.6357,-1.40967,1.01724],[[-0.999979,-0.00652498,0],[0,0,1]],true,[]],["a3\structures_f_epb\furniture\shelveswooden_f.p3d",[-7.58105,1.50244,0.989462],[[0.999996,-0.00275079,0],[0,0,1]],true,[]],["a3\structures_f_epb\furniture\shelveswooden_f.p3d",[-1.8501,-3.32471,1.01125],[[-0.999989,-0.004765,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\lab_sink.p3d",[-8.48926,4.06299,0.601202],[[-0.0113939,-0.999935,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\class_case_b_open.p3d",[-3.01563,-3.3418,0.516295],[[0,1,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\rug_01_f.p3d",[-11.3804,-2.68457,3.86184],[[-0.0257905,-0.999667,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\rug_01_f.p3d",[-8.75195,-2.95361,3.84758],[[-0.999311,0.0371047,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\rug_01_f.p3d",[-9.16064,2.73438,3.84321],[[-0.999311,0.0371047,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\lab_teacher_bench.p3d",[-10.1279,4.24902,0.429156],[[0.00346105,0.999994,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\metalcrate\metalcrate.p3d",[-7.44482,0.703613,0.512756],[[-0.999967,-0.00810565,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[-2.78564,-4.29736,4.18933],[[0,0.0348551,-0.999392],[0,0.999392,0.0348551]],true,[]],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[-1.43457,4.271,4.19884],[[-0.00471241,-0.999989,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[-9.19385,-4.19385,4.19048],[[0.00298213,0.999996,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[-10.5938,4.26465,4.20607],[[0.00722656,-0.999974,0],[0,0,1]],true,[]],["a3\structures_f\furniture\metal_rack_f.p3d",[-13.4824,3.9834,1.40878],[[-0.999935,-0.0113733,0],[0,0,1]],true,[]],["a3\structures_f\furniture\metal_rack_f.p3d",[-10.7173,1.39404,1.41163],[[-0.00831079,-0.999965,0],[0,0,1]],true,[]],["a3\structures_f_epa\items\vessels\tincontainer_f.p3d",[-9.53857,3.99561,1.54979],[[-0.93563,0.352982,0],[0,0,1]],true,[]],["a3\structures_f_epb\furniture\shelveswooden_f.p3d",[-7.18018,-3.8252,4.35672],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f\furniture\bench_f.p3d",[-4.2168,4.35352,0.772909],[[0.999983,0.00587122,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[-9.44189,-3.81348,3.8375],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\various\workbench_dz.p3d",[-6.15039,2.77637,0.985172],[[-0.999981,-0.00612731,0],[0,0,1]],true,[]],["a3\structures_f\civ\garbage\garbage_line_f.p3d",[6.73975,0.27002,3.89668],[[0.999969,-0.00787529,0],[0,0,1]],true,[]],["a3\structures_f\civ\garbage\garbage_line_f.p3d",[6.24902,-0.518555,0.556075],[[-0.999854,0.0170661,0],[0,0,1]],true,[]],["a3\structures_f\civ\constructions\woodenbox_f.p3d",[12.4741,1.04004,0.788333],[[0,-0.0010085,0.999999],[0,-0.999999,-0.0010085]],true,[]],["a3\structures_f_enoch\furniture\decoration\box_c\box_c.p3d",[3.83057,0.736328,0.81843],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f\furniture\rack_f.p3d",[14.4194,-3.80811,1.3249],[[0.0119029,-0.999929,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[4.27734,-3.72754,3.84086],[[-0.0282954,0.9996,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[12.0059,-1.78662,0.512901],[[-0.0408646,-0.999165,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[4.16992,3.83203,0.511838],[[0.0325409,-0.99947,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[12.1479,-3.72559,3.8379],[[-0.0282954,0.9996,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[11.479,3.84961,3.83265],[[0.0240223,-0.999711,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[5.98438,-3.73682,0.508578],[[-0.0267958,0.999641,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[5.19287,3.78564,3.84482],[[-0.0079999,-0.999968,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[11.457,1.93506,0.516454],[[0.0449056,0.998991,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[3.01563,0.714844,0.505303],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\chairs\vojenska_palanda\vojenska_palanda.p3d",[14.1318,2.69873,3.82415],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\chairs\vojenska_palanda\vojenska_palanda.p3d",[9.18359,-1.9165,3.83934],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\chairs\vojenska_palanda\vojenska_palanda.p3d",[7.81934,-1.90234,0.530608],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\chairs\vojenska_palanda\vojenska_palanda.p3d",[9.15723,2.67188,3.86485],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\chairs\vojenska_palanda\vojenska_palanda.p3d",[2.52344,-1.87207,0.514796],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\chairs\vojenska_palanda\vojenska_palanda.p3d",[9.24805,-1.9126,0.496559],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\chairs\vojenska_palanda\vojenska_palanda.p3d",[2.64746,2.68311,0.506238],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\chairs\vojenska_palanda\vojenska_palanda.p3d",[2.54443,-1.90869,3.86053],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\chairs\vojenska_palanda\vojenska_palanda.p3d",[2.56299,2.67139,3.79388],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\chairs\vojenska_palanda\vojenska_palanda.p3d",[7.82373,3.86279,0.504431],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\chairs\vojenska_palanda\vojenska_palanda.p3d",[7.79736,-1.90186,3.84128],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\chairs\vojenska_palanda\vojenska_palanda.p3d",[7.75439,2.68848,3.83138],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\chairs\vojenska_palanda\vojenska_palanda.p3d",[9.146,2.65674,0.499664],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\chairs\vojenska_palanda\vojenska_palanda.p3d",[13.1973,1.8584,0.534049],[[-0.999996,-0.00286578,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\radiator.p3d",[3.15625,-4.58838,4.00294],[[-0.0128627,-0.999917,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\radiator.p3d",[10.8667,-0.842285,0.684637],[[-0.00056204,-1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\radiator.p3d",[9.61475,-4.58496,4.01418],[[-0.0128627,-0.999917,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\radiator.p3d",[6.44043,4.68701,4.05435],[[0.00247837,0.999997,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\radiator.p3d",[13.1177,4.67529,4.09928],[[0.00247837,0.999997,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\radiator.p3d",[5.64795,4.68359,0.656162],[[0.00251024,0.999997,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\radiator.p3d",[4.51465,-4.58643,0.57435],[[-0.0128627,-0.999917,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\radiator.p3d",[10.7168,-4.58398,0.65735],[[-0.0128627,-0.999917,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[4.93359,1.50244,3.85031],[[0.0105614,-0.999944,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[12.9258,1.49561,3.8462],[[0.00238505,-0.999997,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[5.81641,-1.36426,3.84921],[[-0.000543896,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[14.3843,-2.47119,0.503506],[[0.999989,-0.00460282,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[4.66211,-1.35449,0.516098],[[-0.000543896,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[5.46533,-1.35693,0.516098],[[-0.000543896,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[11.5254,-1.35498,3.84926],[[-0.000543896,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[10.7222,-1.35254,3.84926],[[-0.000543896,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[5.01318,-1.36182,3.84921],[[-0.000543896,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[4.44629,1.49805,0.491456],[[-0.00210508,-0.999998,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[5.24951,1.49365,0.491456],[[-0.00210508,-0.999998,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[4.12646,1.48926,3.85251],[[0.0105614,-0.999944,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[12.1226,1.49658,3.8462],[[0.00238505,-0.999997,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[14.3789,4.07715,0.512708],[[0.99994,0.0109111,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v2.p3d",[12.5244,1.49561,3.8462],[[0.00238505,-0.999997,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v2.p3d",[11.1235,-1.35303,3.84926],[[-0.000543896,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v2.p3d",[3.72363,1.48535,3.85151],[[0.00684629,-0.999977,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v2.p3d",[4.04492,1.49902,0.491456],[[-0.00210508,-0.999998,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v2.p3d",[6.21777,-1.36377,3.84921],[[-0.000543896,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v2.p3d",[5.41455,-1.3623,3.84921],[[-0.000543896,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v2.p3d",[14.3823,-2.87256,0.503506],[[0.999989,-0.00460282,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v2.p3d",[11.7212,1.49512,3.8462],[[0.00238505,-0.999997,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v2.p3d",[4.52832,1.4873,3.85008],[[0.00684629,-0.999977,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v2.p3d",[11.9268,-1.35449,3.84926],[[-0.000543896,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v2.p3d",[5.06348,-1.35498,0.516098],[[-0.000543896,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v2.p3d",[14.3833,3.67578,0.512523],[[0.99994,0.0109111,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\long_bench.p3d",[5.84668,-0.549805,0.508651],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\long_bench.p3d",[2.72119,0.726074,3.85087],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_open_v1.p3d",[4.8501,1.49756,0.493103],[[0.00878195,-0.999961,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\dhangar_borwnskrin\dhangar_brownskrin.p3d",[7.98779,-0.527344,0.511893],[[0.00420394,-0.999991,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\dhangar_borwnskrin\dhangar_brownskrin.p3d",[7.80615,0.698242,3.8496],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\dhangar_borwnskrin\dhangar_brownskrin.p3d",[4.93848,0.693848,3.84972],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\class_case_b_open.p3d",[10.9185,4.29932,0.511283],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\class_case_b_open.p3d",[10.4717,-1.47266,0.525908],[[0,1,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\rug_01_f.p3d",[11.0547,-2.58984,3.8603],[[0.999993,-0.00366489,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\rug_01_f.p3d",[5.98877,3.55176,0.525047],[[0.999993,-0.00366489,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\rug_01_f.p3d",[5.7627,-2.67529,3.85309],[[0.999993,-0.00366489,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\rug_01_f.p3d",[12.8613,3.48975,0.524874],[[0,1,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\rug_01_f.p3d",[4.15967,-3.35791,0.521549],[[0.999993,-0.00366489,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\rug_01_f.p3d",[11.2314,-3.2876,0.551683],[[0.999554,-0.0298631,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_open_v3.p3d",[5.86865,-1.36523,0.520647],[[0.0165432,0.999863,0],[0,0,1]],true,[]],["a3\props_f_orange\humanitarian\camps\emergencyblanket_01_stack_f.p3d",[2.23633,-3.54834,0.705206],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\metalcrate\metalcrate.p3d",[11.4531,-0.567383,3.85486],[[-0.999992,-0.00402258,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\metalcrate\metalcrate.p3d",[9.11963,-0.560547,0.507374],[[-0.999967,-0.00810565,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[11.2813,4.27979,4.18992],[[-0.00312003,-0.999995,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[4.47705,-4.16357,4.19813],[[-0.00115472,0.999999,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[12.3477,-4.16162,4.19516],[[-0.00115472,0.999999,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[11.7979,-1.47461,0.854268],[[0.00303331,-0.999995,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[11.6626,1.61475,0.857821],[[0.00101377,0.999999,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[4.98633,4.26611,4.20121],[[0.00618111,-0.999981,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[3.96875,4.26025,0.8691],[[0.0054015,-0.999985,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[6.18262,-4.17334,0.865839],[[0.000345376,1,0],[0,0,1]],true,[]],["a3\structures_f_epb\furniture\shelveswooden_f.p3d",[14.3491,2.88086,1.01469],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_epb\furniture\shelveswooden_f.p3d",[9.06104,0.711426,4.35706],[[0.999997,-0.00226311,0],[0,0,1]],true,[]]]]; + + comment "Shop House (White)"; + + _compData pushBack ["Land_i_Shop_01_V1_F",[["a3\props_f_orange\humanitarian\supplies\foodsack_01_empty_f.p3d",[-2.91514,-3.20249,0.301447],[[-0.998614,-0.05263,0],[0,0,1]],true,[]],["a3\props_f_orange\humanitarian\supplies\foodsack_01_empty_f.p3d",[2.16998,3.19205,0.313254],[[0.520985,-0.853566,0],[0,0,1]],true,[]],["a3\props_f_orange\humanitarian\supplies\foodsack_01_empty_f.p3d",[-1.66244,-0.0628369,0.305782],[[0.936393,0.350952,0],[0,0,1]],true,[]],["a3\props_f_orange\humanitarian\supplies\foodsack_01_empty_f.p3d",[-0.866745,3.93912,0.321618],[[-0.822303,-0.56905,0],[0,0,1]],true,[]],["a3\props_f_orange\humanitarian\supplies\foodsack_01_empty_f.p3d",[0.87029,-0.0516064,0.276983],[[0.829692,0.558222,0],[0,0,1]],true,[]],["a3\structures_f\furniture\bench_f.p3d",[1.2855,4.27115,4.42121],[[-0.999999,0.0011694,0],[-1.14199e-006,-0.000976562,1]],true,[]],["a3\structures_f\civ\garbage\garbage_line_f.p3d",[1.21625,3.50943,0.326047],[[-0.999999,0.0011694,0],[0,0,1]],true,[]],["a3\structures_f\civ\garbage\garbage_line_f.p3d",[-3.32812,-1.85825,4.18082],[[-0.00601118,-0.999982,0],[0,0,1]],true,[]],["a3\structures_f\civ\market\sack_f.p3d",[0.678482,2.94595,0.685194],[[0.765074,-0.643943,0],[0,0,1]],true,[]],["a3\structures_f\civ\market\sack_f.p3d",[1.28697,3.01968,0.679056],[[0.204995,-0.978763,0],[0,0,1]],true,[]],["a3\structures_f\civ\garbage\garbage_square5_f.p3d",[-1.10671,-1.67856,0.299347],[[-0.999999,0.0011694,0],[0,0,1]],true,[]],["a3\structures_f\civ\market\sacks_heap_f.p3d",[-3.28415,3.58853,4.57071],[[-0.999999,0.0011694,0],[0,0,1]],true,[]],["a3\structures_f_epb\items\luggage\luggageheap_01_f.p3d",[1.22452,-1.94663,4.64216],[[-0.999999,0.0011694,0],[0,0,1]],true,[]],["a3\structures_f\furniture\shelveswooden_blue_f.p3d",[1.63643,-0.030122,0.765687],[[-0.00443982,0.99999,0],[0,0,1]],true,[]],["a3\structures_f\furniture\shelveswooden_blue_f.p3d",[1.55494,-2.90854,4.61119],[[-0.0178704,0.99984,0],[0,0,1]],true,[]],["a3\structures_f\furniture\shelveswooden_blue_f.p3d",[1.64514,-0.933442,0.768753],[[-0.00443982,0.99999,0],[0,0,1]],true,[]],["a3\props_f_orange\humanitarian\supplies\foodsack_01_destroyed_f.p3d",[-2.10113,-0.664399,0.332387],[[0.888011,-0.459822,0],[0,0,1]],true,[]],["a3\props_f_orange\humanitarian\supplies\foodsack_01_destroyed_f.p3d",[0.0774014,-3.3226,0.347918],[[-0.97415,0.225904,0],[0,0,1]],true,[]],["a3\props_f_orange\humanitarian\supplies\foodsack_01_destroyed_f.p3d",[-3.06046,2.80093,0.359739],[[0.819358,0.573283,0],[0,0,1]],true,[]],["a3\props_f_orange\humanitarian\supplies\foodsack_01_destroyed_f.p3d",[3.35077,4.13394,0.342975],[[0.819358,0.573283,0],[0,0,1]],true,[]],["a3\props_f_orange\humanitarian\supplies\foodsack_01_destroyed_f.p3d",[-0.136356,3.03531,0.360723],[[0.547875,0.83656,0],[0,0,1]],true,[]],["a3\props_f_orange\humanitarian\supplies\foodsack_01_destroyed_f.p3d",[1.49086,-1.74936,0.338196],[[-0.740726,-0.671807,0],[0,0,1]],true,[]],["a3\props_f_orange\humanitarian\supplies\foodsack_01_destroyed_f.p3d",[-3.04151,-2.28403,0.352737],[[0.696384,0.717669,0],[0,0,1]],true,[]],["a3\props_f_orange\humanitarian\supplies\paperbox_01_small_ransacked_f.p3d",[-3.41415,-1.93833,5.25423],[[0.999997,-0.00229101,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\rattantable_01_f.p3d",[-2.8879,1.29849,4.53872],[[-0.999999,0.0011694,0],[0,0,1]],true,[]],["a3\structures_f\furniture\rack_f.p3d",[-1.79596,4.34146,1.07387],[[0.99998,0.00633756,0],[0,0,1]],true,[]],["a3\structures_f\furniture\shelvesmetal_f.p3d",[-3.86219,-2.59897,0.244096],[[0.00467811,0.999989,0],[0,0,1]],true,[]],["a3\structures_f\furniture\shelvesmetal_f.p3d",[-3.86278,-0.601899,0.242513],[[0.00467811,0.999989,0],[0,0,1]],true,[]],["Land_FoodSacks_01_small_brown_F",[-3.5418,-3.36606,4.52257],[[-0.999999,0.0011694,0],[0,0,1]],false,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_full_brown_co.paa"]],["a3\structures_f_heli\furniture\rattanchair_01_f.p3d",[-3.39932,1.97769,4.69549],[[-0.64279,0.766043,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\rattanchair_01_f.p3d",[-2.92558,0.394194,4.69264],[[0.00868718,-0.999962,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\tablesmall_01_f.p3d",[0.693625,0.863433,4.32163],[[-0.999999,0.0011694,0],[0,0,1]],true,[]],["a3\props_f_orange\items\decorative\flowerpot_01_flower_f.p3d",[0.314392,-4.42661,4.9173],[[-0.336485,0.941689,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[-0.967374,-1.10776,5.88346],[[-0.999999,0.0011694,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[-1.34006,-0.38022,2.36976],[[-0.999999,0.0011694,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[-1.60439,3.65103,5.83671],[[-0.999999,0.0011694,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\woodenbed_01_f.p3d",[0.807832,-0.433442,4.54392],[[0.999997,-0.00252036,0],[0,0,1]],true,[]],["a3\structures_f_heli\items\electronics\fridge_01_f.p3d",[-3.40354,-1.22006,4.62363],[[-0.999999,0.0011694,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\bathroom\sink\sink.p3d",[3.67685,4.04898,1.18707],[[0.999918,0.0127917,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\kitchen\dkamna_uhli\dkamna_uhli.p3d",[1.35434,1.75455,4.10896],[[0.999252,-0.0386819,0],[0,0,1]],true,[]],["a3\props_f_orange\humanitarian\supplies\paperbox_01_small_destroyed_f.p3d",[-3.511,-0.415376,4.33273],[[-0.999999,0.0011694,0],[0,0,1]],true,[]],["Land_FoodSacks_01_large_brown_F",[-2.5264,1.02652,0.739419],[[0.0286762,-0.999589,0],[0,0,1]],false,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_full_brown_co.paa","a3\props_f_orange\humanitarian\supplies\data\foodsack_01_large_brown_mlod_co.paa"]],["a3\props_f_orange\furniture\rug_01_f.p3d",[-2.93342,1.20962,4.14341],[[-0.0051958,-0.999987,0],[0,0,1]],true,[]],["a3\structures_f\furniture\icebox_f.p3d",[-0.59747,-4.21323,0.893359],[[0.00196627,-0.999998,0],[0,0,1]],true,[]],["a3\structures_f\furniture\icebox_f.p3d",[-2.54279,-4.2142,0.893244],[[0.00196627,-0.999998,0],[0,0,1]],true,[]],["a3\props_f_exp\commercial\market\woodencounter_01_f.p3d",[-3.47904,-2.72836,4.61096],[[0.999903,-0.0139287,0],[0,0,1]],true,[]],["a3\structures_f\furniture\cashdesk_f.p3d",[0.464226,0.943511,0.280221],[[0.0130749,0.999915,0],[0,0,1]],true,[]],["a3\props_f_orange\items\decorative\photoframe_01_f.p3d",[1.51338,4.56412,5.5708],[[0.999938,-0.011138,2.27912e-006],[8.59633e-006,0.000976378,1]],true,[]],["a3\props_f_orange\items\decorative\photoframe_01_broken_f.p3d",[1.59931,1.63589,0.280407],[[-0.910453,-0.413613,0],[0,0,1]],true,[]]]]; + _compData pushBack ["Land_i_Shop_01_V1_F",[["a3\structures_f\furniture\metal_rack_f.p3d",[0.0500176,4.38749,1.17464],[[-0.0042343,0.999991,0],[0,0,1]],true,[]],["a3\structures_f\furniture\metal_rack_f.p3d",[1.16183,4.40264,1.16623],[[-0.0042343,0.999991,0],[0,0,1]],true,[]],["a3\structures_f\furniture\shelvesmetal_f.p3d",[-1.89969,-3.57301,0.257275],[[0.00228128,-0.999997,0],[0,0,1]],true,[]],["a3\structures_f\furniture\shelvesmetal_f.p3d",[1.91916,-0.490779,0.253082],[[0.00228128,-0.999997,0],[0,0,1]],true,[]],["a3\structures_f\furniture\shelvesmetal_f.p3d",[-1.89969,-1.5798,0.258863],[[0.00228128,-0.999997,0],[0,0,1]],true,[]],["a3\structures_f\furniture\shelvesmetal_f.p3d",[-3.86453,-3.54742,0.25885],[[0.00228128,-0.999997,0],[0,0,1]],true,[]],["a3\structures_f\furniture\shelvesmetal_f.p3d",[-3.86453,-1.52052,0.260437],[[0.00228128,-0.999997,0],[0,0,1]],true,[]],["a3\props_f_exp\commercial\market\woodencrate_01_f.p3d",[-0.697541,-4.30539,0.595473],[[-0.999996,0.00293763,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\decoration\wallboards\picture_a_03\picture_a_03.p3d",[-3.86844,-2.13233,4.59698],[[0.999998,-0.00218664,0],[0,0,1]],true,[]],["a3\structures_f\civ\market\cratesshabby_f.p3d",[3.51974,3.18811,1.03002],[[0.0207331,0.999785,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[-0.956818,-1.6366,5.89453],[[-0.999996,0.00293763,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[0.384002,3.62658,5.84687],[[-0.999996,0.00293763,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[-0.852326,-0.561883,2.37652],[[-0.999996,0.00293763,0],[0,0,1]],true,[]],["a3\structures_f\civ\market\sacks_heap_f.p3d",[-2.95096,1.38676,0.675856],[[-0.0162534,-0.999868,0],[0,0,1]],true,[]],["a3\structures_f\civ\market\cratesplastic_f.p3d",[-0.49051,-4.32543,1.15905],[[0.0163995,-0.999866,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\bathroom\sink\sink.p3d",[3.68576,4.1092,1.00825],[[0.999971,0.00761205,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\sofa_01_f.p3d",[1.42306,-1.96938,4.60399],[[-0.999996,0.00293763,0],[0,0,1]],true,[]],["a3\structures_f_heli\items\electronics\fridge_01_f.p3d",[-3.56375,-4.36774,4.66119],[[0.00810575,-0.999967,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\decoration\wallboards\picture_a_05\picture_a_05.p3d",[1.91525,-0.366735,4.55306],[[-0.999999,-0.00135444,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\rattanchair_01_f.p3d",[-2.38358,-1.47883,4.70985],[[0.911472,0.411362,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\rattanchair_01_f.p3d",[-2.41922,-2.60027,4.71074],[[0.999153,-0.0411592,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\rattanchair_01_f.p3d",[-3.49442,-0.581853,4.70657],[[-0.198338,0.980134,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\kitchen\dkamna_uhli\dkamna_uhli.p3d",[0.639373,0.576941,4.11476],[[0.999908,-0.0135586,0],[0,0,1]],true,[]],["a3\structures_f_heli\items\electronics\microwave_01_f.p3d",[-3.56815,-4.36577,5.26391],[[-0.566403,-0.824128,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\decoration\flowers\flower_01.p3d",[1.62472,-3.71014,4.11639],[[-0.999996,0.00293763,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\decoration\flowers\flower_02.p3d",[-3.2991,3.23321,4.14618],[[-0.999996,0.00293763,0],[0,0,1]],true,[]],["UserTexture1m_F",[-2.6492,-4.73202,6.09304],[[-0.00282946,-0.999996,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\c6+c7\c6_curtain_01_ca.paa"]],["UserTexture1m_F",[1.30246,-4.74327,6.11658],[[0.0132761,0.999912,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\c6+c7\c6_curtain_01_ca.paa"]],["UserTexture1m_F",[1.30246,-4.73888,6.115],[[-0.00282255,-0.999996,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\c6+c7\c6_curtain_01_ca.paa"]],["UserTexture1m_F",[-2.65067,-4.73739,6.09452],[[0.0132761,0.999912,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\c6+c7\c6_curtain_01_ca.paa"]],["a3\props_f_orange\furniture\tablesmall_01_f.p3d",[0.370818,-1.91254,4.36178],[[0.00554023,0.999985,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\tablebig_01_f.p3d",[-3.37137,-2.17672,4.55331],[[-0.999996,0.00293763,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\library_a\library_a.p3d",[1.74582,1.84116,4.12872],[[-0.999993,0.00366575,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\decoration\box_c\box_c.p3d",[-1.57254,4.22344,1.18249],[[0.0964528,-0.995338,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\decoration\box_c\box_c.p3d",[-1.92606,4.0142,0.578986],[[-0.653896,-0.756584,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\decoration\box_c\box_c.p3d",[-1.06717,4.26544,0.58024],[[0.01153,-0.999934,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\woodenbed_01_f.p3d",[-2.74393,1.38674,4.58343],[[-0.999996,0.00293763,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\armchair_01_f.p3d",[0.345916,-0.586707,4.59478],[[0.0511817,-0.998689,0],[0,0,1]],true,[]],["a3\structures_f\furniture\cashdesk_f.p3d",[0.44992,0.906966,0.279009],[[-0.0189455,0.999821,0],[0,0,1]],true,[]],["Land_Rug_01_Traditional_F",[0.346893,-1.96077,4.14768],[[0.00218916,0.999998,0],[0,0,1]],false,["a3\props_f_orange\furniture\data\rug_01_traditional_co.paa"]],["a3\props_f_orange\furniture\rug_01_f.p3d",[1.04904,3.60287,4.14718],[[-0.999996,0.00293668,-5.5761e-006],[-8.42518e-006,-0.000970159,1]],true,[]]]]; + _compData pushBack ["Land_i_Shop_01_V1_F",[["Graffiti_01_v3",[-0.795686,-5.00284,1.80709],[[-0.00804559,0.999968,0],[0,0,1]],false,["a3\structures_f_epb\civ\graffiti\data\tags_ca.paa"]],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[-2.05106,2.02315,4.49128],[[-0.00629841,-0.99998,0],[0,0,1]],true,[]],["a3\structures_f\furniture\shelveswooden_blue_f.p3d",[1.62082,1.84426,4.64979],[[-0.02417,0.999708,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\bathroom\basin_a\basin_a.p3d",[3.89621,3.47382,1.11993],[[0.999976,-0.00691002,0],[0,0,1]],true,[]],["a3\props_f_orange\humanitarian\supplies\liquiddispenser_01_f.p3d",[3.35226,1.89787,1.52777],[[0.0489711,0.9988,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\decoration\wallboards\picture_f\picture_f.p3d",[-3.87869,-2.80933,4.57203],[[0.999941,-0.0108373,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\decoration\wallboards\picture_d_02\picture_d_02.p3d",[-2.15946,2.39548,4.48692],[[-0.00578177,-0.999983,0],[0,0,1]],true,[]],["a3\structures_f_epb\items\vessels\barreltrash_grey_f.p3d",[0.10617,-4.42255,0.672945],[[-0.999985,0.00554066,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\beds\postel_panelak1.p3d",[-2.82547,-0.580087,4.14003],[[-0.999985,0.00554066,0],[0,0,1]],true,[]],["a3\structures_f\items\documents\file1_f.p3d",[-2.51688,1.9941,4.84963],[[0.581354,-0.813651,0],[0,0,1]],true,[]],["Land_PaperBox_01_small_closed_brown_F",[0.0832207,1.02806,0.482421],[[-0.0115206,0.999934,0],[0,0,1]],false,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_co.paa"]],["Land_PaperBox_01_small_closed_brown_F",[-3.4036,-1.66066,4.35297],[[-0.00275755,0.999996,0],[0,0,1]],false,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_co.paa"]],["a3\structures_f_exp\signs\companies\attachedsign_01_v2_f.p3d",[-1.57791,-6.45509,3.651],[[0.00794072,0.999968,0],[0,0,1]],true,[]],["Land_Shoot_House_Wall_F",[1.36642,-4.88967,5.28366],[[-0.01107,0.999939,0],[0,0,1]],false,["#(argb,8,8,3)color(0,0,0,0,ca)","#(argb,8,8,3)color(0,0,0,0,ca)","#(argb,8,8,3)color(0,0,0,0,ca)","#(argb,8,8,3)color(0,0,0,0,ca)","#(argb,8,8,3)color(0,0,0,0,ca)","#(argb,8,8,3)color(0,0,0,0,ca)","#(argb,8,8,3)color(0,0,0,0,ca)","#(argb,8,8,3)color(0,0,0,0,ca)"]],["Land_Shoot_House_Wall_F",[-0.797639,-4.86708,1.31951],[[-0.00835504,0.999965,0],[0,0,1]],false,["#(argb,8,8,3)color(0,0,0,0,ca)","#(argb,8,8,3)color(0,0,0,0,ca)","#(argb,8,8,3)color(0,0,0,0,ca)","#(argb,8,8,3)color(0,0,0,0,ca)","#(argb,8,8,3)color(0,0,0,0,ca)","#(argb,8,8,3)color(0,0,0,0,ca)","#(argb,8,8,3)color(0,0,0,0,ca)","#(argb,8,8,3)color(0,0,0,0,ca)"]],["Land_Shoot_House_Wall_F",[-2.89041,-4.93873,1.28153],[[-0.00835504,0.999965,0],[0,0,1]],false,["#(argb,8,8,3)color(0,0,0,0,ca)","#(argb,8,8,3)color(0,0,0,0,ca)","#(argb,8,8,3)color(0,0,0,0,ca)","#(argb,8,8,3)color(0,0,0,0,ca)","#(argb,8,8,3)color(0,0,0,0,ca)","#(argb,8,8,3)color(0,0,0,0,ca)","#(argb,8,8,3)color(0,0,0,0,ca)","#(argb,8,8,3)color(0,0,0,0,ca)"]],["Land_Shoot_House_Wall_F",[-2.58231,-4.94621,5.56946],[[0.00457294,-0.99999,0],[0,0,1]],false,["#(argb,8,8,3)color(0,0,0,0,ca)","#(argb,8,8,3)color(0,0,0,0,ca)","#(argb,8,8,3)color(0,0,0,0,ca)","#(argb,8,8,3)color(0,0,0,0,ca)","#(argb,8,8,3)color(0,0,0,0,ca)","#(argb,8,8,3)color(0,0,0,0,ca)","#(argb,8,8,3)color(0,0,0,0,ca)","#(argb,8,8,3)color(0,0,0,0,ca)"]],["a3\structures_f\furniture\chairplastic_f.p3d",[1.54269,1.96492,0.731628],[[0.377617,-0.925962,0],[0,0,1]],true,[]],["a3\structures_f\civ\market\cratesshabby_f.p3d",[3.38742,4.19168,1.03543],[[-0.999985,0.00554066,0],[0,0,1]],true,[]],["a3\structures_f\civ\market\basket_f.p3d",[2.85129,2.07806,0.584263],[[-0.999973,-0.007372,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\rattantable_01_f.p3d",[0.899139,-3.24871,4.54554],[[-0.999934,-0.0114698,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\rattantable_01_f.p3d",[1.49679,-1.2732,0.642965],[[0.99995,-0.00999218,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\rattantable_01_f.p3d",[-3.43436,-0.219957,0.660282],[[-0.999985,0.00554066,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\rattantable_01_f.p3d",[-1.82547,-4.24724,0.663922],[[0.00258097,-0.999997,0],[0,0,1]],true,[]],["Land_RattanTable_01_F",[-2.39822,3.50801,0.675282],[[-0.999985,0.00554066,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[0.263885,3.63925,5.8522],[[-0.999985,0.00554066,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[-0.830353,-1.38037,5.90872],[[-0.999985,0.00554066,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[-1.04666,-0.644971,2.4065],[[-0.999985,0.00554066,0],[0,0,1]],true,[]],["a3\structures_f\civ\market\cratesplastic_f.p3d",[-2.65897,3.00341,4.38012],[[0.00484751,0.999988,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\chairs\ch_mod_c\ch_mod_c.p3d",[-1.83963,1.74337,4.1439],[[0.0717322,-0.997424,0],[0,0,1]],true,[]],["a3\structures_f_heli\items\electronics\fridge_01_f.p3d",[1.69113,0.205031,4.58128],[[0.999994,-0.00355158,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\rattanchair_01_f.p3d",[0.953826,-2.41213,4.70623],[[0.0848686,0.996392,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\rattanchair_01_f.p3d",[1.1301,-4.26791,4.69849],[[0.171883,-0.985117,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\rattanchair_01_f.p3d",[-1.8201,-3.19498,0.816398],[[0.0141854,0.999899,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\rattanchair_01_f.p3d",[-3.42215,0.702365,0.825671],[[-0.000674724,1,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\rattanchair_01_f.p3d",[-2.74588,-4.24535,0.829525],[[-0.999961,-0.00878816,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\rattanchair_01_f.p3d",[0.446014,-1.25431,0.806749],[[-0.999642,0.0267701,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\rattanchair_01_f.p3d",[1.31857,-2.18853,0.808567],[[-0.193998,-0.981002,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\rattanchair_01_f.p3d",[-3.23416,3.65044,0.816766],[[-0.999985,0.00554066,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\rattanchair_01_f.p3d",[-3.43729,-1.1648,0.819651],[[8.68714e-005,-1,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\rattanchair_01_f.p3d",[-0.880158,-4.2454,0.823504],[[0.999966,0.00821356,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\rattanchair_01_f.p3d",[-2.38162,-0.233979,0.823853],[[0.999751,-0.0223037,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\rattanchair_01_f.p3d",[1.5051,-0.328393,0.802547],[[0.00436734,0.99999,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\kitchen\dkamna_uhli\dkamna_uhli.p3d",[0.643279,0.660937,4.11831],[[0.999985,-0.00553258,0],[0,0,1]],true,[]],["UserTexture1m_F",[-3.43973,-0.218942,1.05436],[[-0.00316229,-2.88651e-005,-0.999995],[-0.999915,0.0126779,0.00316167]],false,["a3\missions_f_orange\data\img\orange_compositions\shared\s3_tablecloth_01_co.paa"]],["UserTexture1m_F",[-2.39822,3.51973,1.07055],[[-0.00316229,-2.88651e-005,-0.999995],[-0.999915,0.0126779,0.00316167]],false,["a3\missions_f_orange\data\img\orange_compositions\shared\s3_tablecloth_01_co.paa"]],["UserTexture1m_F",[1.49924,-1.26394,1.03906],[[-0.00316229,-2.88651e-005,-0.999995],[-0.999915,0.0126779,0.00316167]],false,["a3\missions_f_orange\data\img\orange_compositions\shared\s3_tablecloth_01_co.paa"]],["UserTexture1m_F",[-1.82303,-4.237,1.05907],[[-0.00316229,-2.88651e-005,-0.999995],[-0.999915,0.0126779,0.00316167]],false,["a3\missions_f_orange\data\img\orange_compositions\shared\s3_tablecloth_01_co.paa"]],["a3\props_f_orange\furniture\tablesmall_01_f.p3d",[-3.37967,0.780692,4.34713],[[-0.999985,0.00554066,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\library_a\library_a.p3d",[-3.24246,2.24223,4.14194],[[0.00521419,0.999986,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\decoration\box_c\box_c.p3d",[-3.6199,4.10427,4.44493],[[-0.999985,0.00554066,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\decoration\box_c\box_c.p3d",[-3.63651,3.20395,4.44527],[[-0.999985,0.00554066,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\decoration\box_c\box_c.p3d",[-3.63406,3.40999,5.03725],[[-0.999985,0.00554066,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\armchair_01_f.p3d",[-3.26785,-2.45215,4.61161],[[0.999799,-0.0200438,0],[0,0,1]],true,[]],["a3\structures_f\furniture\cashdesk_f.p3d",[0.457244,0.919055,0.268442],[[0.00532338,0.999986,0],[0,0,1]],true,[]],["Land_Rug_01_Traditional_F",[-0.958771,4.58173,1.97468],[[-0.999998,0.00180456,-9.78652e-005],[0.00180448,0.999998,0.000874584]],false,["a3\props_f_orange\furniture\data\rug_01_traditional_co.paa"]],["a3\props_f_orange\furniture\rug_01_f.p3d",[-2.83426,-0.0668194,4.14446],[[-0.999985,0.00554066,0],[0,0,1]],true,[]],["Land_Rug_01_Traditional_F",[1.94553,-2.13959,2.03368],[[-0.000329012,1,-0.000101291],[1,0.0003291,0.000872877]],false,["a3\props_f_orange\furniture\data\rug_01_traditional_co.paa"]],["a3\props_f_orange\furniture\rug_01_f.p3d",[0.942596,-3.21629,4.14051],[[-0.000254631,1,0],[0,0,1]],true,[]],["Land_Rug_01_Traditional_F",[-3.89774,-0.213865,2.03768],[[-0.000329012,1,-0.000101291],[1,0.0003291,0.000872877]],false,["a3\props_f_orange\furniture\data\rug_01_traditional_co.paa"]],["a3\structures_f_epa\civ\camping\woodentable_small_f.p3d",[3.05344,1.5957,0.735381],[[-0.999985,0.00554066,0],[0,0,1]],true,[]],["a3\props_f_orange\items\decorative\flowerpot_01_f.p3d",[-3.73074,4.38286,0.365913],[[-0.999985,0.00554066,0],[0,0,1]],true,[]],["a3\props_f_orange\items\decorative\flowerpot_01_f.p3d",[-1.51883,2.22607,4.96593],[[-0.999985,0.00554066,0],[0,0,1]],true,[]],["a3\props_f_orange\items\decorative\flowerpot_01_flower_f.p3d",[-3.56571,-4.28615,1.04998],[[-0.999985,0.00554066,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\class_case_b_closed.p3d",[-3.54715,-3.85754,4.15341],[[-0.999975,0.00710847,0],[0,0,1]],true,[]]]]; + _compData pushBack ["Land_i_Shop_01_V1_F",[["a3\structures_f_epa\items\tools\fireextinguisher_f.p3d",[1.69553,-1.2003,0.648655],[[0.0426478,0.99909,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\various\soustruh_proxy.p3d",[-3.20194,1.51079,0.87436],[[0.0053435,-0.999986,0],[0,0,1]],true,[]],["a3\structures_f\data\doorlocks\planks_1.p3d",[1.32248,-5.04997,4.34586],[[0.0774068,0.997,0],[0,0,1]],true,[]],["a3\structures_f\furniture\metal_wooden_rack_f.p3d",[-2.42459,-4.36691,1.25841],[[0.0106956,0.999943,0],[0,0,1]],true,[]],["a3\structures_f\furniture\metal_wooden_rack_f.p3d",[-1.3074,-4.38485,1.26446],[[0.0106956,0.999943,0],[0,0,1]],true,[]],["Leaflet_05_F",[-3.52908,-2.80747,1.10028],[[0.511924,-0.859031,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\c5+c11\c5c11_blueprint_01_co.paa"]],["a3\structures_f_epb\items\luggage\luggageheap_02_f.p3d",[-3.38065,3.12343,4.46387],[[0.625118,-0.78053,0],[0,0,1]],true,[]],["a3\structures_f\data\doorlocks\barricade_2.p3d",[1.91867,-1.93918,0.245583],[[0.00899196,0.99996,0],[0,0,1]],true,[]],["a3\props_f_exp\commercial\market\woodencounter_01_f.p3d",[-1.09158,4.16387,0.732902],[[-0.000728997,-1,0],[0,0,1]],true,[]],["a3\structures_f\data\doorlocks\planks_2.p3d",[-2.64627,-5.04608,4.23486],[[0.0136676,0.999907,0],[0,0,1]],true,[]],["a3\structures_f\items\tools\meter3m_f.p3d",[-3.29324,-0.775796,1.12285],[[0.355658,0.934616,0],[0,0,1]],true,[]],["a3\structures_f\furniture\chairwood_f.p3d",[-3.20389,-1.05182,4.14291],[[-0.24585,0.969308,0],[0,0,1]],true,[]],["a3\structures_f\furniture\chairwood_f.p3d",[-2.39041,-1.722,4.13592],[[0.980026,0.198869,0],[0,0,1]],true,[]],["a3\structures_f\furniture\chairwood_f.p3d",[-2.41483,-2.93624,4.13925],[[0.982701,-0.1852,0],[0,0,1]],true,[]],["a3\props_f_orange\humanitarian\supplies\plasticbucket_01_f.p3d",[-0.551057,-4.45842,0.488277],[[-0.999989,0.00473529,0],[0,0,1]],true,[]],["a3\structures_f\items\tools\drillaku_f.p3d",[-3.50418,-0.700608,1.22002],[[-0.746209,-0.665712,0],[0,0,1]],true,[]],["a3\structures_f_epa\civ\camping\woodentable_large_f.p3d",[-3.03397,-2.26788,4.57527],[[0.00827264,-0.999966,0],[0,0,1]],true,[]],["a3\structures_f\furniture\rack_f.p3d",[1.71799,-0.31125,1.05639],[[-0.00314322,-0.999995,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\decoration\wallboards\picture_e_02\picture_e_02.p3d",[-2.58524,2.39428,4.69086],[[-0.0111529,-0.999938,0],[0,0,1]],true,[]],["a3\structures_f\items\electronics\portable_generator_f.p3d",[-3.40067,-3.78155,0.615064],[[-0.999989,0.00473529,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\beds\postel_panelak2.p3d",[-3.55496,1.3638,4.16517],[[0.00632616,0.99998,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\metalcrate\metalcrate.p3d",[0.555877,4.23896,0.267882],[[-0.999989,0.00473529,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\metalcrate\metalcrate.p3d",[1.46213,-1.52146,4.14818],[[-0.999976,0.00697925,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\decoration\wallboards\picture_f\picture_f.p3d",[-3.87918,-2.27965,4.53676],[[0.999973,-0.00731127,0],[0,0,1]],true,[]],["a3\structures_f\items\vessels\barreltrash_f.p3d",[-2.62869,4.25893,0.665878],[[0.302985,-0.952996,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[0.155975,3.63816,5.84287],[[-0.999989,0.00473529,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[-0.956818,-0.726449,2.3767],[[-0.999989,0.00473529,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[-0.750764,-0.688806,5.88809],[[-0.999989,0.00473529,0],[0,0,1]],true,[]],["a3\structures_f\items\vessels\canisterfuel_f.p3d",[-3.36307,-3.19926,0.544678],[[-0.00799496,-0.999968,0],[0,0,1]],true,[]],["a3\structures_f_heli\items\electronics\fridge_01_f.p3d",[1.56125,-3.78153,4.60322],[[0.999985,-0.00541683,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\kitchen\dkamna_uhli\dkamna_uhli.p3d",[0.643279,0.548239,4.12453],[[0.999965,-0.00832094,0],[0,0,1]],true,[]],["UserTexture1m_F",[-3.01834,-1.06872,0.269],[[-0.0146475,8.24971e-005,-0.999893],[-0.999882,0.00472589,0.0146477]],false,["a3\missions_f_orange\data\img\orange_compositions\shared\wood_shaves_01_co.paa"]],["a3\structures_f\items\vessels\bucket_painted_f.p3d",[-1.89237,4.11421,0.565866],[[-0.738794,0.673931,0],[0,0,1]],true,[]],["a3\structures_f_epb\furniture\shelveswooden_f.p3d",[-3.45194,0.10229,0.753281],[[0.0186376,0.999826,0],[0,0,1]],true,[]],["a3\structures_f_epb\furniture\shelveswooden_f.p3d",[-1.83182,2.10734,4.32786],[[-0.999989,0.00473529,0],[0,0,1]],true,[]],["a3\structures_f\furniture\cashdesk_f.p3d",[1.55392,-2.653,5.12006],[[1,-0.000177401,-9.12971e-005],[-9.10696e-005,0.00128207,-0.999999]],true,[]],["a3\structures_f\furniture\cashdesk_f.p3d",[0.434783,0.912482,0.271623],[[0.00643964,0.999979,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\workbench_01_f.p3d",[-3.4075,-1.79606,0.761464],[[-0.999957,0.00927753,0],[0,0,1]],true,[]],["Land_WallSign_01_chalkboard_F",[-3.88699,-1.77127,1.68368],[[0.999999,-0.00120138,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n2\wallsign_01_f_chalkboard_tools_co.paa","a3\missions_f_orange\data\img\orange_compositions\n2\wallsign_01_f_chalkboard_tools_co.paa"]],["a3\structures_f_enoch\furniture\cases\library_a\library_a_open.p3d",[1.74631,1.82342,4.09914],[[-0.999901,0.0140527,0],[0,0,1]],true,[]],["a3\structures_f_exp\signs\companies\attachedsign_01_v4_f.p3d",[-1.5784,-6.40017,3.604],[[-0.00127831,-0.999999,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\rug_01_f.p3d",[-0.420197,-3.65119,4.14967],[[-0.999989,0.00473529,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\rug_01_f.p3d",[-3.06961,1.3546,4.14513],[[-0.0136132,-0.999907,0],[0,0,1]],true,[]],["a3\structures_f_epa\civ\camping\woodentable_small_f.p3d",[-1.30447,-1.85692,0.689104],[[-0.999989,0.00473529,0],[0,0,1]],true,[]]]]; + _compData pushBack ["Land_i_Shop_01_V1_F",[["a3\structures_f\furniture\icebox_f.p3d",[-2.54227,-4.21249,0.893244],[[0.00194248,-0.999998,0],[0,0,1]],true,[]],["a3\structures_f\furniture\icebox_f.p3d",[-0.596467,-4.21298,0.893359],[[0.00194248,-0.999998,0],[0,0,1]],true,[]],["Land_FoodSacks_01_large_brown_F",[-2.52762,1.02627,0.739419],[[0.028677,-0.999589,0],[0,0,1]],false,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_full_brown_co.paa","a3\props_f_orange\humanitarian\supplies\data\foodsack_01_large_brown_mlod_co.paa"]],["a3\structures_f_exp\signs\companies\attachedsign_01_v3_f.p3d",[-1.70584,-6.37105,3.64972],[[-0.00324773,0.999995,0],[0,0,1]],true,[]],["Land_Photoframe_01_broken_F",[1.6008,1.6359,0.280407],[[-0.910456,-0.413607,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\s1+s2+s3+s6\s3_chef_01_co.paa","a3\props_f_orange\items\decorative\data\photoframe_01_f_co.paa"]],["a3\props_f_exp\commercial\market\woodencounter_01_f.p3d",[-3.47537,-2.72718,4.61096],[[0.999903,-0.0139256,0],[0,0,1]],true,[]],["a3\structures_f_epb\items\luggage\luggageheap_01_f.p3d",[1.22336,-1.94478,4.64216],[[-0.999999,0.00117476,0],[0,0,1]],true,[]],["Land_FoodSack_01_dmg_brown_F",[-3.05936,2.80073,0.359739],[[0.819356,0.573286,0],[0,0,1]],false,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_dmg_brown_co.paa"]],["Land_FoodSack_01_dmg_brown_F",[1.48947,-1.75022,0.338196],[[-0.74076,-0.67177,0],[0,0,1]],false,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_dmg_brown_co.paa"]],["Land_FoodSack_01_dmg_brown_F",[3.35129,4.13317,0.342975],[[0.819356,0.573286,0],[0,0,1]],false,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_dmg_brown_co.paa"]],["Land_FoodSack_01_dmg_brown_F",[0.0783379,-3.32108,0.347918],[[-0.974148,0.22591,0],[0,0,1]],false,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_dmg_brown_co.paa"]],["Land_FoodSack_01_dmg_brown_F",[-3.04276,-2.28132,0.352737],[[0.696382,0.717671,0],[0,0,1]],false,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_dmg_brown_co.paa"]],["Land_FoodSack_01_dmg_brown_F",[-2.10281,-0.663613,0.332387],[[0.888012,-0.45982,0],[0,0,1]],false,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_dmg_brown_co.paa"]],["Land_FoodSack_01_dmg_brown_F",[-0.134064,3.0351,0.360723],[[0.547873,0.836562,0],[0,0,1]],false,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_dmg_brown_co.paa"]],["a3\props_f_orange\humanitarian\supplies\paperbox_01_small_ransacked_f.p3d",[-3.39627,-2.03488,4.51634],[[0.999997,-0.00228761,0],[0,0,1]],true,[]],["Land_FoodSack_01_empty_brown_F",[-0.867951,3.93916,0.321618],[[-0.822307,-0.569045,0],[0,0,1]],false,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_dmg_brown_co.paa"]],["Land_FoodSack_01_empty_brown_F",[2.16965,3.19051,0.313254],[[0.520987,-0.853564,0],[0,0,1]],false,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_dmg_brown_co.paa"]],["Land_FoodSack_01_empty_brown_F",[-1.66336,-0.0629785,0.305782],[[0.936392,0.350956,0],[0,0,1]],false,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_dmg_brown_co.paa"]],["Land_FoodSack_01_empty_brown_F",[-2.91531,-3.20235,0.301447],[[-0.998614,-0.0526244,0],[0,0,1]],false,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_dmg_brown_co.paa"]],["Land_FoodSack_01_empty_brown_F",[0.869354,-0.0523341,0.276983],[[0.82969,0.558225,0],[0,0,1]],false,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_dmg_brown_co.paa"]],["Land_FoodSacks_01_small_brown_F",[-3.54373,-3.36578,4.52257],[[-0.999999,0.00117476,0],[0,0,1]],false,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_full_brown_co.paa"]],["a3\props_f_orange\humanitarian\supplies\paperbox_01_small_destroyed_f.p3d",[-3.51102,-0.414154,4.33273],[[-0.999999,0.00117476,0],[0,0,1]],true,[]],["a3\structures_f\furniture\rack_f.p3d",[-1.79569,4.34194,1.07387],[[0.99998,0.00634083,0],[0,0,1]],true,[]],["Land_Photoframe_01_F",[1.51486,4.5647,5.5704],[[0.999938,-0.0111427,9.91084e-006],[9.79939e-007,0.000977384,1]],false,["a3\missions_f_orange\data\img\orange_compositions\shared\photoframe_random_04_co.paa","a3\props_f_orange\items\decorative\data\photoframe_01_f_co.paa"]],["a3\structures_f\furniture\shelveswooden_blue_f.p3d",[1.55539,-2.90849,4.61119],[[-0.0178685,0.99984,0],[0,0,1]],true,[]],["a3\structures_f\furniture\shelveswooden_blue_f.p3d",[1.64572,-0.93202,0.768753],[[-0.00443934,0.99999,0],[0,0,1]],true,[]],["a3\structures_f\furniture\shelveswooden_blue_f.p3d",[1.63596,-0.0286887,0.765687],[[-0.00443934,0.99999,0],[0,0,1]],true,[]],["a3\structures_f\furniture\shelvesmetal_f.p3d",[-3.8616,-2.60033,0.244096],[[0.00467772,0.999989,0],[0,0,1]],true,[]],["a3\structures_f\furniture\shelvesmetal_f.p3d",[-3.86112,-0.601303,0.242513],[[0.00467772,0.999989,0],[0,0,1]],true,[]],["a3\structures_f\civ\garbage\garbage_line_f.p3d",[-3.32694,-1.85672,4.18082],[[-0.00605285,-0.999982,0],[0,0,1]],true,[]],["a3\structures_f\civ\garbage\garbage_line_f.p3d",[1.21554,3.51031,0.326047],[[-0.999999,0.00117476,0],[0,0,1]],true,[]],["a3\structures_f\furniture\bench_f.p3d",[1.28635,4.27391,4.42121],[[-0.999999,0.00117477,-5.43514e-006],[-6.57544e-006,-0.000970659,1]],true,[]],["a3\structures_f\civ\market\sack_f.p3d",[1.28879,3.01951,0.679056],[[0.204996,-0.978763,0],[0,0,1]],true,[]],["a3\structures_f\civ\market\sack_f.p3d",[0.676482,2.94689,0.685194],[[0.765075,-0.643941,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\rattantable_01_f.p3d",[-2.88797,1.29958,4.53872],[[-0.999999,0.00117476,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[-1.60526,3.65083,5.83671],[[-0.999999,0.00117476,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[-1.33914,-0.37971,2.36976],[[-0.999999,0.00117476,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[-0.969025,-1.10811,5.88346],[[-0.999999,0.00117476,0],[0,0,1]],true,[]],["a3\structures_f\civ\garbage\garbage_square5_f.p3d",[-1.10526,-1.67682,0.299347],[[-0.999999,0.00117476,0],[0,0,1]],true,[]],["a3\structures_f\civ\market\sacks_heap_f.p3d",[-3.28201,3.59002,4.51818],[[-0.999999,0.00117476,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\bathroom\sink\sink.p3d",[3.67502,4.04642,1.18707],[[0.999918,0.012795,0],[0,0,1]],true,[]],["a3\structures_f_heli\items\electronics\fridge_01_f.p3d",[-3.40408,-1.21944,4.62363],[[-0.999999,0.00117476,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\rattanchair_01_f.p3d",[-2.92606,0.393854,4.69264],[[0.00867365,-0.999962,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\rattanchair_01_f.p3d",[-3.39774,1.97782,4.69549],[[-0.642786,0.766045,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\kitchen\dkamna_uhli\dkamna_uhli.p3d",[1.29855,1.53757,4.10896],[[0.999252,-0.0386782,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\tablesmall_01_f.p3d",[0.695525,0.864345,4.32163],[[-0.999999,0.00117476,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\woodenbed_01_f.p3d",[0.808318,-0.432645,4.54392],[[0.999997,-0.00251673,0],[0,0,1]],true,[]],["a3\structures_f\furniture\cashdesk_f.p3d",[0.46408,0.942214,0.280221],[[0.0130745,0.999915,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\rug_01_f.p3d",[-2.93387,1.20978,4.14341],[[-0.00523723,-0.999986,0],[0,0,1]],true,[]],["a3\props_f_orange\items\decorative\flowerpot_01_flower_f.p3d",[0.313689,-4.42727,4.9173],[[-0.336482,0.94169,0],[0,0,1]],true,[]]]]; + + comment "House (Large, White)"; + + _compData pushBack ["Land_i_House_Big_01_V1_F",[["a3\props_f_enoch\items\documents\book_02_f.p3d",[2.6128,-5.22489,0.902806],[[-0.379461,0.925208,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\desk_globe.p3d",[4.23389,-4.97538,4.77905],[[0.720866,0.693075,0],[0,0,1]],true,[]],["a3\structures_f\data\doorlocks\barricade_2.p3d",[-4.50341,6.44845,0.389868],[[-0.0206635,-0.999786,0],[0,0,1]],true,[]],["a3\structures_f\data\doorlocks\barricade_2.p3d",[4.48487,-3.35771,0.413881],[[0.0236265,0.999721,0],[0,0,1]],true,[]],["UserTexture_1x2_F",[-0.0844676,3.02608,5.20718],[[6.85771e-005,-1,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\s4+s5\s5_drawing_big_co.paa"]],["a3\props_f_exp\commercial\market\woodencounter_01_f.p3d",[1.43018,3.44063,0.904323],[[0,1,0],[0,0,1]],true,[]],["Leaflet_05_New_F",[4.13184,-5.40946,4.57267],[[0.998478,0.0551594,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\c4\c4_j_02_co.paa"]],["Leaflet_05_New_F",[3.97608,-5.73759,4.57567],[[0.868632,-0.495459,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\c4\c4_s_01_co.paa"]],["a3\structures_f_epb\items\luggage\luggageheap_01_f.p3d",[1.8628,-3.55106,0.952579],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\dhangar_borwnskrin\dhangar_brownskrin.p3d",[-2.85888,-7.02519,3.86837],[[-0.00235185,-0.999997,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\dhangar_borwnskrin\dhangar_brownskrin.p3d",[-1.48095,-7.03104,3.86968],[[-0.00235185,-0.999997,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\dhangar_borwnskrin\dhangar_brownskrin.p3d",[2.76954,3.31563,3.85945],[[-0.00235185,-0.999997,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\dhangar_borwnskrin\dhangar_brownskrin.p3d",[1.37793,3.3337,3.85907],[[-0.00235185,-0.999997,0],[0,0,1]],true,[]],["a3\structures_f\furniture\rack_f.p3d",[-4.26855,1.84151,1.3159],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[4.14014,-5.36454,4.21729],[[-0.999995,-0.00331114,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[-4.09765,3.93917,4.19311],[[0.999995,-0.00326029,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\officecabinet_01_f.p3d",[-1.84814,-1.73954,0.948283],[[0.999999,0.00126155,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\officecabinet_01_f.p3d",[-1.84814,-2.5247,0.948879],[[0.999999,0.00126155,0],[0,0,1]],true,[]],["a3\structures_f\furniture\metal_rack_f.p3d",[1.16797,6.97628,1.33271],[[0.00436201,0.99999,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\beds\postel_panelak2.p3d",[1.89161,-4.36796,3.88495],[[0,1,0],[0,0,1]],true,[]],["Land_Photoframe_01_F",[1.38575,7.1506,5.5264],[[0.999894,0.014573,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\shared\photoframe_random_08_co.paa","a3\props_f_orange\items\decorative\data\photoframe_01_f_co.paa"]],["a3\structures_f\furniture\shelveswooden_blue_f.p3d",[-1.50634,-3.47392,0.882624],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\decoration\wallboards\picture_f\picture_f.p3d",[-4.50537,-2.13798,4.44335],[[0.999989,0.0047515,0],[0,0,1]],true,[]],["a3\structures_f_epb\items\vessels\barreltrash_grey_f.p3d",[-4.13623,2.31075,4.27275],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\beds\postel_panelak1.p3d",[-0.393061,-4.38896,3.87389],[[0,1,0],[0,0,1]],true,[]],["a3\props_f_exp\commercial\market\woodencrate_01_f.p3d",[1.32129,5.74386,0.775402],[[0,1,0],[0,0,1]],true,[]],["a3\props_f_exp\commercial\market\woodencrate_01_f.p3d",[-0.577632,6.71456,0.782148],[[-0.999998,0.00180007,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\decoration\wallboards\picture_a_03\picture_a_03.p3d",[1.31299,1.03146,0.920151],[[0.000212344,-1,0],[0,0,1]],true,[]],["Land_PaperBox_01_small_closed_brown_F",[1.87501,-7.01444,4.0854],[[-0.0045536,0.99999,0],[0,0,1]],false,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_co.paa"]],["Land_PaperBox_01_small_closed_brown_F",[-3.90039,-6.99931,4.08024],[[-0.0135731,0.999908,0],[0,0,1]],false,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_co.paa"]],["Land_PaperBox_01_small_closed_brown_F",[2.58643,-7.01591,4.0826],[[-0.0045536,0.99999,0],[0,0,1]],false,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_co.paa"]],["Land_PaperBox_01_small_closed_brown_F",[2.27247,-7.01981,4.49436],[[-0.0045536,0.99999,0],[0,0,1]],false,["a3\props_f_orange\humanitarian\supplies\data\paperbox_01_small_brown_co.paa"]],["a3\structures_f\furniture\bench_f.p3d",[3.24366,6.80831,0.714032],[[0.99997,0.00780761,0],[0,0,1]],true,[]],["a3\structures_f\civ\market\sack_f.p3d",[3.01465,3.39962,0.883763],[[-0.371958,-0.928249,0],[0,0,1]],true,[]],["a3\structures_f\civ\constructions\woodenbox_f.p3d",[-3.08935,-3.42704,3.873],[[0.693059,0.720881,0],[0,0,1]],true,[]],["a3\structures_f\civ\market\basket_f.p3d",[-0.176265,3.44845,0.77169],[[-0.569937,0.821689,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\rattantable_01_f.p3d",[1.09278,-0.741006,0.864402],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[0.380864,5.21114,2.3422],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[0.529302,5.04513,5.63628],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[1.0752,-3.64677,2.33173],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[1.42139,-5.52812,5.64108],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[0.789556,-0.864053,5.63584],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f\civ\market\cratesplastic_f.p3d",[2.01856,3.42647,1.58934],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\chairs\ch_mod_c\ch_mod_c.p3d",[-3.71386,4.18673,3.8462],[[0.980679,0.195623,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\chairs\ch_mod_c\ch_mod_c.p3d",[3.5879,-5.44511,3.87038],[[-0.965622,0.259951,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\bathroom\sink\sink.p3d",[4.32374,3.90743,1.20429],[[0.999966,0.00828944,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\sofa_01_f.p3d",[3.91065,-5.07938,0.960263],[[-0.99967,0.0256854,0],[0,0,1]],true,[]],["a3\structures_f_heli\items\electronics\fridge_01_f.p3d",[-1.40429,-0.999795,0.913221],[[-0.999776,0.0211638,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\decoration\wallboards\picture_a_05\picture_a_05.p3d",[1.34766,-3.34159,4.24902],[[-0.00209555,-0.999998,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\rattanchair_01_f.p3d",[0.385747,0.0299902,4.43329],[[-0.0900989,0.995933,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\rattanchair_01_f.p3d",[0.962896,0.141318,1.02809],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\rattanchair_01_f.p3d",[2.01514,-0.750283,1.0207],[[0.999867,0.0162959,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\rattanchair_01_f.p3d",[0.354497,-1.92313,4.43393],[[0.0193511,-0.999813,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\rattanchair_01_f.p3d",[1.47071,-0.058877,4.43089],[[0.179312,0.983792,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\rattanchair_01_f.p3d",[1.41163,-1.91728,4.4333],[[0.103828,-0.994595,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\kitchen\dkamna_uhli\dkamna_uhli.p3d",[-1.25244,0.375693,0.408906],[[-0.999867,0.0163367,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\decoration\flowers\flower_01.p3d",[2.04444,0.727256,0.449348],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\decoration\flowers\flower_02.p3d",[4.08106,-6.86845,0.439436],[[0,1,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\tablesmall_01_f.p3d",[0.752935,6.49776,4.0933],[[0.0035378,-0.999994,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\tablesmall_01_f.p3d",[1.35596,-3.58476,4.07772],[[0.999784,0.0207999,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\tablesmall_01_f.p3d",[2.68604,-5.0496,0.6813],[[0,1,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\tablebig_01_f.p3d",[0.90772,-0.911416,4.30784],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\library_a\library_a.p3d",[-4.34619,6.58272,3.84636],[[0.999673,0.0255778,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\library_a\library_a.p3d",[1.11133,-7.06425,0.452265],[[-0.00213939,0.999998,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\decoration\box_c\box_c.p3d",[-3.71874,3.29854,1.33771],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\decoration\box_c\box_c.p3d",[-4.0332,3.29366,0.739706],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\decoration\box_c\box_c.p3d",[-3.14746,3.30294,0.734742],[[0,1,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\woodenbed_01_f.p3d",[2.10352,6.03438,4.25371],[[0,1,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\armchair_01_f.p3d",[2.79102,-3.64237,0.937105],[[-0.224345,-0.97451,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\armchair_01_f.p3d",[2.73487,-6.43388,0.921399],[[-0.171541,0.985177,0],[0,0,1]],true,[]],["a3\structures_f\furniture\cashdesk_f.p3d",[-1.479,-2.1287,1.44673],[[-0.999911,0.00775837,-0.0108647],[0.0108639,-0.000146468,-0.999941]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\class_case_b_open.p3d",[-4.14599,-0.996377,3.87947],[[-1,0.000802052,0],[0,0,1]],true,[]],["Land_WallSign_01_chalkboard_F",[1.40137,3.03292,1.87584],[[0.00183823,0.999998,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n2\wallsign_01_f_chalkboard_tools_co.paa","a3\missions_f_orange\data\img\orange_compositions\n2\wallsign_01_f_chalkboard_tools_co.paa"]],["Land_WallSign_01_chalkboard_F",[2.65088,-7.26493,2.34973],[[0.000539617,1,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[-1.87255,-0.728799,2.34631],[[0.999999,-0.00129799,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[-4.54785,5.42843,2.36674],[[0.999999,-0.00129799,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[4.57862,-5.38603,1.51585],[[0.999986,0.00522535,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[4.57959,-5.39237,2.36466],[[0.999986,0.00522535,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[-1.86083,-3.42606,2.3709],[[0.999986,0.00522535,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[2.64502,-7.26542,1.50067],[[0.000541052,1,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[-1.86181,-3.41972,1.52208],[[0.999986,0.00522535,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[-1.87499,-0.728799,1.49749],[[0.999999,-0.00129799,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[-4.55029,5.42843,1.51793],[[0.999999,-0.00129799,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["a3\structures_f_enoch\furniture\cases\library_a\library_a_open.p3d",[0.191411,-7.06571,0.451818],[[-0.0046423,0.999989,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\class_case_a_open.p3d",[-4.11181,-2.12284,3.84627],[[-0.99984,-0.0178919,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\rug_01_f.p3d",[1.00928,6.07882,3.87586],[[-0.0075195,-0.999972,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\rug_01_f.p3d",[0.91065,-0.972939,3.87302],[[-0.999945,0.0105093,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\rug_01_f.p3d",[0.192388,-4.39091,3.87876],[[0,1,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\rug_01_f.p3d",[2.52149,-4.3621,3.88663],[[0,1,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\rug_01_f.p3d",[1.42823,-0.338174,0.456403],[[-0.999835,0.0181393,0],[0,0,1]],true,[]],["Land_Rug_01_Traditional_F",[2.52588,-5.04667,0.458689],[[0,1,0],[0,0,1]],false,["a3\props_f_orange\furniture\data\rug_01_traditional_co.paa"]],["a3\structures_f_enoch\furniture\school_equipment\radiator.p3d",[0.322271,1.9587,0.46335],[[0.999765,-0.0216869,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\radiator.p3d",[4.52686,-2.04276,3.9403],[[0.999988,0.00498408,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\radiator.p3d",[0.258794,-7.2869,3.88335],[[-0.00342282,-0.999994,0],[0,0,1]],true,[]],["a3\props_f_orange\items\decorative\flowerpot_01_flower_f.p3d",[-4.0288,-0.0891504,4.6636],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_heli\items\electronics\microwave_01_f.p3d",[-1.49511,-2.6453,1.54021],[[-0.999997,-0.00263546,0],[0,0,1]],true,[]]]]; + _compData pushBack ["Land_i_House_Big_01_V1_F",[["a3\structures_f_enoch\furniture\cases\dhangar_borwnskrin\dhangar_brownskrin_open.p3d",[1.08252,-6.94218,0.446059],[[0.0112564,-0.999937,0],[0,0,1]],true,[]],["a3\weapons_f_orange\ammo\leaflet_05_old_f.p3d",[0.125005,-3.24394,0.465766],[[0.36257,-0.931957,0],[0,0,1]],true,[]],["a3\weapons_f_orange\ammo\leaflet_05_old_f.p3d",[-0.178218,-3.88358,0.465766],[[0.999513,0.0312076,0],[0,0,1]],true,[]],["a3\weapons_f_orange\ammo\leaflet_05_old_f.p3d",[-0.682612,-4.18046,0.463701],[[-0.541523,0.840686,0],[0,0,1]],true,[]],["a3\weapons_f_orange\ammo\leaflet_05_old_f.p3d",[3.70704,-5.26054,0.472018],[[-0.738536,0.674214,0],[0,0,1]],true,[]],["a3\weapons_f_orange\ammo\leaflet_05_old_f.p3d",[3.65137,-4.31425,0.468244],[[-0.986528,-0.163592,0],[0,0,1]],true,[]],["a3\weapons_f_orange\ammo\leaflet_05_old_f.p3d",[3.37501,-4.72147,0.472018],[[-0.487127,0.873331,0],[0,0,1]],true,[]],["a3\weapons_f_orange\ammo\leaflet_05_old_f.p3d",[2.96094,-4.60771,0.469954],[[0.991219,0.132227,0],[0,0,1]],true,[]],["a3\weapons_f_orange\ammo\leaflet_05_old_f.p3d",[-0.409663,-3.22733,0.465766],[[-0.295776,-0.955257,0],[0,0,1]],true,[]],["a3\weapons_f_orange\ammo\leaflet_05_old_f.p3d",[-0.673335,-2.8245,0.42292],[[0.567908,-0.823092,0],[0,0,1]],true,[]],["a3\weapons_f_orange\ammo\leaflet_05_old_f.p3d",[3.01465,-5.19071,0.472018],[[-0.397159,-0.91775,0],[0,0,1]],true,[]],["a3\weapons_f_orange\ammo\leaflet_05_old_f.p3d",[3.46436,-5.7371,0.472018],[[-0.997647,0.0685545,0],[0,0,1]],true,[]],["a3\weapons_f_orange\ammo\leaflet_05_old_f.p3d",[-0.756343,-3.75712,0.465766],[[-0.58296,-0.812501,0],[0,0,1]],true,[]],["a3\weapons_f_orange\ammo\leaflet_05_old_f.p3d",[1.98292,-1.22538,3.87927],[[-0.986528,-0.163592,0],[0,0,1]],true,[]],["a3\weapons_f_orange\ammo\leaflet_05_old_f.p3d",[1.29249,-1.51884,3.88098],[[0.991219,0.132227,0],[0,0,1]],true,[]],["a3\weapons_f_orange\ammo\leaflet_05_old_f.p3d",[1.70655,-1.63261,3.88304],[[-0.487127,0.873331,0],[0,0,1]],true,[]],["a3\weapons_f_orange\ammo\leaflet_05_old_f.p3d",[1.3462,-2.10185,3.88304],[[-0.397159,-0.91775,0],[0,0,1]],true,[]],["a3\weapons_f_orange\ammo\leaflet_05_old_f.p3d",[1.7959,-2.64823,3.88304],[[-0.997647,0.0685545,0],[0,0,1]],true,[]],["a3\weapons_f_orange\ammo\leaflet_05_old_f.p3d",[2.03858,-2.17167,3.88304],[[-0.738536,0.674214,0],[0,0,1]],true,[]],["a3\weapons_f_orange\ammo\leaflet_05_old_f.p3d",[-3.29101,-4.7288,3.89112],[[0.991219,0.132227,0],[0,0,1]],true,[]],["a3\weapons_f_orange\ammo\leaflet_05_old_f.p3d",[-2.87695,-4.84257,3.89319],[[-0.487127,0.873331,0],[0,0,1]],true,[]],["a3\weapons_f_orange\ammo\leaflet_05_old_f.p3d",[-2.60058,-4.43534,3.88941],[[-0.986528,-0.163592,0],[0,0,1]],true,[]],["a3\weapons_f_orange\ammo\leaflet_05_old_f.p3d",[-2.54492,-5.38163,3.89319],[[-0.738536,0.674214,0],[0,0,1]],true,[]],["a3\weapons_f_orange\ammo\leaflet_05_old_f.p3d",[-2.78759,-5.85819,3.89319],[[-0.997647,0.0685545,0],[0,0,1]],true,[]],["a3\weapons_f_orange\ammo\leaflet_05_old_f.p3d",[-3.2373,-5.31181,3.89319],[[-0.397159,-0.91775,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\lighting\light_bathroom\light_bathroom.p3d",[-3.25537,1.77999,3.63602],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_bootcamp\system\usertexture_1x2_f.p3d",[1.8335,-3.31181,5.14817],[[0,1,0],[0,0,1]],true,[]],["Land_Photoframe_01_broken_F",[4.13672,-6.2078,0.486211],[[-0.704107,-0.710094,0],[0,0,1]],false,["a3\props_f_orange\items\decorative\data\photos_camo_co.paa","a3\props_f_orange\items\decorative\data\photoframe_01_f_co.paa"]],["a3\props_f_exp\commercial\market\woodencounter_01_f.p3d",[1.58594,3.41036,0.908955],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_epb\items\luggage\luggageheap_04_f.p3d",[-1.52783,0.453818,4.35135],[[0.998975,0.0452591,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\various\carpet_2_dz.p3d",[0.70606,-5.38847,3.95211],[[-0.998393,-0.0566684,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\decoration\wallboards\picture_c\picture_c.p3d",[-3.23486,-7.25419,4.06471],[[0.000620876,1,0],[0,0,1]],true,[]],["Land_FoodSack_01_dmg_brown_F",[-1.5664,-0.514443,0.527378],[[0.00603115,-0.999982,0],[0,0,1]],false,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_dmg_brown_co.paa"]],["a3\structures_f\civ\camping\camping_light_off_f.p3d",[-2.59082,-3.31864,4.63953],[[0.97852,-0.206153,0],[0,0,1]],true,[]],["a3\props_f_orange\humanitarian\supplies\paperbox_01_small_ransacked_f.p3d",[2.71436,-2.25468,4.08599],[[-0.918597,0.395196,0],[0,0,1]],true,[]],["a3\props_f_orange\humanitarian\supplies\paperbox_01_small_ransacked_f.p3d",[-0.979487,-3.47685,0.667033],[[0.711805,-0.702377,0],[0,0,1]],true,[]],["a3\props_f_orange\humanitarian\supplies\paperbox_01_small_ransacked_f.p3d",[-3.57275,-5.69901,4.08836],[[-0.63977,-0.768566,0],[0,0,1]],true,[]],["Land_FoodSack_01_empty_brown_F",[-0.617671,-2.38163,0.485589],[[-0.934488,-0.355995,0],[0,0,1]],false,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_dmg_brown_co.paa"]],["a3\structures_f\civ\accessories\woodpile_f.p3d",[3.18897,6.73116,0.740178],[[-0.999916,-0.0129496,0],[0,0,1]],true,[]],["a3\structures_f\furniture\chairwood_f.p3d",[1.87452,0.436728,0.44549],[[0.988114,0.153723,0],[0,0,1]],true,[]],["a3\structures_f\furniture\chairwood_f.p3d",[1.81788,-0.799111,0.450131],[[0.993368,-0.114981,0],[0,0,1]],true,[]],["a3\structures_f\furniture\chairwood_f.p3d",[0.742193,0.244346,0.447516],[[-0.990979,0.134016,0],[0,0,1]],true,[]],["a3\structures_f\furniture\chairwood_f.p3d",[0.75147,-0.804971,0.452724],[[-0.961524,-0.27472,0],[0,0,1]],true,[]],["a3\props_f_orange\humanitarian\supplies\paperbox_01_small_destroyed_f.p3d",[-0.268061,-2.69267,4.07506],[[0,1,0],[0,0,1]],true,[]],["a3\props_f_orange\humanitarian\supplies\paperbox_01_small_destroyed_f.p3d",[-4.18847,-0.323525,4.08737],[[0.999474,0.0324154,0],[0,0,1]],true,[]],["a3\props_f_orange\humanitarian\supplies\paperbox_01_small_destroyed_f.p3d",[4.09424,-4.98417,0.684027],[[-0.997524,0.0703335,0],[0,0,1]],true,[]],["a3\props_f_orange\humanitarian\supplies\paperbox_01_small_destroyed_f.p3d",[-4.14013,-4.908,4.02158],[[0.989864,-0.14202,0],[0,0,1]],true,[]],["a3\structures_f\furniture\rack_f.p3d",[-4.28076,-1.54569,4.69056],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\decoration\wallboards\picture_e_02\picture_e_02.p3d",[1.29981,1.02413,0.757091],[[-0.00494368,-0.999988,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[4.17725,4.30538,4.21913],[[-0.999983,0.00584839,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[-3.51562,-6.81376,4.22389],[[0.00308794,0.999995,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\beds\postel_panelak2.p3d",[-0.20605,6.03341,3.82398],[[0.0148633,0.99989,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\metalcrate\metalcrate.p3d",[4.01954,-6.78495,0.466931],[[0.99998,-0.00627601,0],[0,0,1]],true,[]],["a3\structures_f\furniture\shelveswooden_blue_f.p3d",[0.951665,-2.74882,4.19212],[[-0.999987,-0.00506636,0],[0,0,1]],true,[]],["a3\structures_f\furniture\shelveswooden_blue_f.p3d",[0.00586438,1.97726,0.956153],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\bathroom\basin_a\basin_a.p3d",[4.5254,4.1169,1.27702],[[0.999993,0.00369544,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\beds\postel_panelak1.p3d",[2.04688,6.06612,3.86704],[[0.0242209,0.999707,0],[0,0,1]],true,[]],["a3\structures_f\furniture\shelvesmetal_f.p3d",[-4.40771,1.80685,0.305331],[[-0.00229486,-0.999997,0],[0,0,1]],true,[]],["a3\structures_f\furniture\shelvesmetal_f.p3d",[-3.41943,2.65694,0.306837],[[0.999987,0.00504189,0],[0,0,1]],true,[]],["a3\structures_f\furniture\shelvesmetal_f.p3d",[-3.41845,0.911338,0.306893],[[1,-0.000255748,0],[0,0,1]],true,[]],["a3\structures_f\civ\garbage\garbage_square3_f.p3d",[0.591802,-1.84599,3.92038],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f\civ\garbage\garbage_square3_f.p3d",[3.32959,-5.74931,0.512086],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f\civ\garbage\garbage_square3_f.p3d",[-3.33886,-5.20146,3.93279],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f\civ\garbage\garbage_line_f.p3d",[-1.20214,-2.79081,0.506083],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f\civ\market\cratesshabby_f.p3d",[3.25831,3.45089,1.1907],[[0.999974,0.00725175,0],[0,0,1]],true,[]],["a3\structures_f\civ\market\sack_f.p3d",[-0.560054,3.32247,0.8612],[[0.99997,0.00775182,0],[0,0,1]],true,[]],["a3\structures_f\civ\constructions\woodenbox_f.p3d",[1.93116,-5.34647,3.85589],[[-0.999869,0.0161798,0],[0,0,1]],true,[]],["a3\structures_f\civ\market\basket_f.p3d",[2.33692,3.45528,0.905699],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[2.21045,-5.38505,5.63335],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[1.81299,4.86983,5.64151],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[1.38477,-0.150186,2.29442],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[0.889165,-1.7913,5.62589],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f\civ\market\sacks_heap_f.p3d",[1.64649,5.91231,0.807787],[[-0.999877,-0.0156725,0],[0,0,1]],true,[]],["a3\structures_f\civ\market\cratesplastic_f.p3d",[0.869634,3.43136,0.854519],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\chairs\ch_mod_c\ch_mod_c.p3d",[-3.67187,-6.36942,3.87359],[[0.221104,0.97525,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\chairs\ch_mod_c\ch_mod_c.p3d",[3.80079,4.05294,3.86963],[[-0.981876,-0.189522,0],[0,0,1]],true,[]],["a3\structures_f\furniture\tabledesk_f.p3d",[2.69629,-6.77909,0.855147],[[0,1,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\sofa_01_f.p3d",[0.71729,0.388877,4.37087],[[0.0240185,-0.999712,0],[0,0,1]],true,[]],["a3\structures_f_heli\items\electronics\fridge_01_f.p3d",[0.0800831,3.45089,0.952645],[[-0.00329956,-0.999995,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\kitchen\dkamna_uhli\dkamna_uhli.p3d",[-3.4038,3.60519,0.411478],[[-0.026092,-0.99966,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\decoration\flowers\flower_01.p3d",[-1.50341,-1.16239,0.441839],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\decoration\flowers\flower_01.p3d",[4.17627,-3.61747,3.86984],[[0.273196,-0.961958,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\decoration\flowers\flower_01.p3d",[4.19288,-7.03251,3.87135],[[0.632038,0.774937,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\decoration\flowers\flower_02.p3d",[-4.02148,-2.74931,3.84816],[[0.894808,0.446451,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\tablesmall_01_f.p3d",[0.748052,-0.650186,4.10666],[[-1,-0.000887859,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\tablesmall_01_f.p3d",[4.03663,-6.58964,4.09042],[[-0.999438,-0.0335258,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\tablebig_01_f.p3d",[1.29297,-0.247354,0.89316],[[-0.999989,-0.00464198,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\library_a\library_a.p3d",[4.33887,-4.06229,0.4612],[[-0.999996,-0.00278662,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\library_a\library_a.p3d",[0.624517,3.20089,3.86644],[[-0.0128822,0.999917,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\decoration\box_c\box_c.p3d",[-0.702632,-1.75907,0.75214],[[-0.00131282,-0.999999,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\woodenbed_01_f.p3d",[3.3501,-5.37675,4.31753],[[0.999909,-0.0134646,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\armchair_01_f.p3d",[2.09327,-0.561318,4.35759],[[-1,0.000717175,0],[0,0,1]],true,[]],["Land_WallSign_01_chalkboard_F",[4.57813,-5.38603,1.51585],[[0.999986,0.00522535,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[4.57911,-5.39237,2.36466],[[0.999986,0.00522535,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[-1.86132,-3.42606,2.3709],[[0.999986,0.00522535,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[2.64454,-7.26542,1.50067],[[0.000541052,1,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[-4.55078,5.42843,1.51793],[[0.999999,-0.00129799,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[-1.87304,-0.728799,2.34631],[[0.999999,-0.00129799,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[-1.87548,-0.728799,1.49749],[[0.999999,-0.00129799,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[2.6504,-7.26493,2.34973],[[0.000539617,1,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[-1.86181,-3.41972,1.52168],[[0.999986,0.00521856,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[-4.54834,5.42843,2.36674],[[0.999999,-0.00129799,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["a3\structures_f_enoch\furniture\cases\library_a\library_a_open.p3d",[4.3379,-3.15214,0.458676],[[-0.999993,-0.00376842,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\library_a\library_a_open.p3d",[1.52979,3.20333,3.8618],[[0.0050945,0.999987,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\class_case_a_open.p3d",[-1.47265,-4.7996,0.44014],[[-0.999999,0.00105621,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\rug_01_f.p3d",[2.57862,5.99972,3.87263],[[-0.00372227,-0.999993,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\rug_01_f.p3d",[0.272466,5.97823,3.86926],[[0,1,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\rug_01_f.p3d",[0.742193,-0.252725,3.88726],[[-0.999758,0.0219804,0],[0,0,1]],true,[]],["Land_Rug_01_Traditional_F",[1.34766,-0.230264,0.450733],[[0,1,0],[0,0,1]],false,["a3\props_f_orange\furniture\data\rug_01_traditional_co.paa"]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[2.66553,-6.23661,0.445608],[[-0.23817,0.971223,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\radiator.p3d",[4.51612,-2.06962,3.88335],[[0.999999,-0.00119452,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\radiator.p3d",[-0.328608,-7.23417,0.46335],[[0.00180927,-0.999998,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\radiator.p3d",[-3.29052,2.99874,3.88335],[[-0.000448314,-1,0],[0,0,1]],true,[]],["a3\props_f_orange\items\decorative\flowerpot_01_f.p3d",[2.74561,0.338096,0.638101],[[0,1,0],[0,0,1]],true,[]],["a3\props_f_orange\items\decorative\flowerpot_01_f.p3d",[2.74561,0.338096,0.564967],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\class_case_b_closed.p3d",[-1.48925,-2.10087,0.462358],[[-1,-0.000454891,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\class_case_a_open.p3d",[-2.23779,-6.88261,3.74507],[[-0.0102145,-0.999948,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\class_case_b_open.p3d",[-1.15624,-6.90751,3.88263],[[-3.25841e-007,-1,0],[0,0,1]],true,[]],["a3\structures_f\furniture\bench_f.p3d",[0.439946,-3.60917,4.13002],[[-0.999868,-0.0162327,0],[0,0,1]],true,[]],["a3\props_f_exp\commercial\market\woodencrate_01_f.p3d",[-2.83496,-2.86698,4.1913],[[-0.715604,0.698506,0],[0,0,1]],true,[]],["a3\structures_f\furniture\bench_f.p3d",[-2.57958,6.87813,0.700289],[[0.999969,-0.00791617,0],[0,0,1]],true,[]],["a3\structures_f_epb\furniture\shelveswooden_f.p3d",[-1.02685,6.8879,0.462607],[[-0.999992,-0.00393484,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\decoration\wallboards\picture_a_05\picture_a_05.p3d",[4.51612,4.10616,4.28646],[[-0.999986,-0.00535389,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\dhangar_borwnskrin\dhangar_brownskrin.p3d",[-2.4121,6.86788,3.84284],[[0,1,0],[0,0,1]],true,[]]]]; + _compData pushBack ["Land_i_House_Big_01_V1_F",[["a3\structures_f_enoch\furniture\school_equipment\desk_globe.p3d",[-2.43749,-3.03983,4.96366],[[0.616823,-0.787102,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\desk_globe.p3d",[-2.46337,6.87276,1.53035],[[-0.923897,-0.382642,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\desk_globe.p3d",[2.65381,4.63644,4.95999],[[-0.608001,0.793936,0],[0,0,1]],true,[]],["a3\structures_f\data\doorlocks\barricade_2.p3d",[1.97071,1.02706,0.4127],[[-0.99967,0.0256796,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\periodic_table.p3d",[2.11768,-3.03202,4.7511],[[-6.04073e-005,-1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v2.p3d",[-1.58398,-1.52079,0.446912],[[-0.999944,-0.0105865,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v2.p3d",[-4.25244,-1.01298,3.87313],[[-0.999944,-0.0105865,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v2.p3d",[4.24366,-3.50468,0.460798],[[0.999937,0.0112054,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v2.p3d",[-4.25537,-1.81718,3.87181],[[-0.999944,-0.0105865,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v2.p3d",[-1.58691,-2.32499,0.445589],[[-0.999944,-0.0105865,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[-4.25146,-1.41337,3.87257],[[-0.999994,0.00345707,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[4.2417,-2.69511,0.460395],[[0.999958,0.00919992,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[4.23926,-3.0994,0.462087],[[0.999958,0.00919992,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[-1.58544,-2.72538,0.44502],[[-0.999994,0.00345707,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[-1.583,-1.92118,0.446343],[[-0.999994,0.00345707,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_closed_v1.p3d",[-4.2539,-2.21757,3.87124],[[-0.999994,0.00345707,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\locker\locker_open_v3.p3d",[4.25489,-3.9119,0.463153],[[0.999976,0.00696792,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\school_ringbell.p3d",[-2.29492,-5.03446,2.47585],[[-0.0034174,-0.999994,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\school_ringbell.p3d",[-0.722163,-3.1829,5.89868],[[-0.00154868,-0.999999,0],[0,0,1]],true,[]],["a3\structures_f_epa\civ\camping\woodentable_large_f.p3d",[1.56202,-0.927529,0.777778],[[0,1,0],[0,0,1]],true,[]],["blackboard",[-4.44335,5.39522,0.429083],[[-0.999962,0.008747,0],[0,0,1]],true,[]],["blackboard",[4.41016,5.42257,3.85872],[[0.999952,-0.00976134,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\metalcrate\metalcrate.p3d",[-2.69384,-2.55985,3.86959],[[0.999851,0.0172563,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_desk.p3d",[1.47852,6.30147,3.84523],[[0.99997,-0.00770768,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_desk.p3d",[-2.20556,3.88399,3.80915],[[0.99997,-0.00770768,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_desk.p3d",[3.14454,3.9172,0.354375],[[-0.999978,0.00669285,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_desk.p3d",[-0.840815,-6.41923,3.8729],[[-0.999994,-0.00345181,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_desk.p3d",[2.6543,-6.41728,3.81169],[[-0.999994,-0.00345181,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_desk.p3d",[0.0556691,6.35616,3.83108],[[0.99997,-0.00770768,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_desk.p3d",[0.0200245,3.84347,3.83386],[[0.99997,-0.00770768,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_desk.p3d",[1.35938,3.84884,3.84801],[[0.99997,-0.00770768,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_desk.p3d",[-0.428706,6.24435,0.41837],[[-0.999978,0.00669285,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_desk.p3d",[3.17042,6.34591,0.379515],[[-0.999978,0.00669285,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_desk.p3d",[2.86622,-4.15556,3.83683],[[-0.999994,-0.00345181,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_desk.p3d",[-0.514155,3.9255,0.41559],[[-0.999978,0.00669285,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_desk.p3d",[-2.17529,6.31466,3.78401],[[0.99997,-0.00770768,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_desk.p3d",[1.40967,3.842,0.401448],[[-0.999978,0.00669285,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_desk.p3d",[-0.102534,-4.14188,3.87568],[[-0.999994,-0.00345181,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_desk.p3d",[1.39063,6.33419,0.404227],[[-0.999978,0.00669285,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_desk.p3d",[0.910161,-6.41093,3.85876],[[-0.999994,-0.00345181,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_desk.p3d",[1.47803,-4.15409,3.86154],[[-0.999994,-0.00345181,0],[0,0,1]],true,[]],["a3\structures_f\items\documents\notepad_f.p3d",[1.10303,-6.21269,4.70407],[[-0.349651,-0.93688,0],[0,0,1]],true,[]],["a3\structures_f_epb\items\vessels\barreltrash_grey_f.p3d",[0.937505,-6.81034,0.844696],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_epb\items\vessels\barreltrash_grey_f.p3d",[-0.0419872,2.31856,0.832829],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_epb\items\vessels\barreltrash_grey_f.p3d",[2.97754,-2.63114,4.27095],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\long_bench.p3d",[2.60157,-0.982217,0.440496],[[0.999999,-0.00130634,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\long_bench.p3d",[0.387212,-0.948525,0.439541],[[0.999999,-0.00130634,0],[0,0,1]],true,[]],["a3\structures_f\furniture\bench_f.p3d",[-4.20703,1.49532,4.14076],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f\furniture\bench_f.p3d",[1.63086,-2.64579,4.10978],[[0.999962,-0.00867468,0],[0,0,1]],true,[]],["a3\structures_f\furniture\bench_f.p3d",[-1.50781,-4.11503,0.676461],[[0.00167719,-0.999999,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[0.992193,-0.805459,5.63588],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[0.290044,-5.35185,5.63124],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[-0.121089,5.0588,2.33732],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[-0.0707958,5.08126,5.63612],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[1.62745,-0.883096,2.33699],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\kitchen\dkamna_uhli\dkamna_uhli.p3d",[0.141118,-6.64237,0.429116],[[-0.00284466,-0.999996,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\decoration\flowers\flower_01.p3d",[-4.24218,-7.04179,3.86463],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\decoration\flowers\flower_02.p3d",[3.91749,-2.49833,3.85986],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\library_a\library_a.p3d",[-2.91894,-7.09745,3.8667],[[-0.00159437,0.999999,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\library_a\library_a.p3d",[-4.35693,3.88155,3.85982],[[1,-0.000636264,0],[0,0,1]],true,[]],["a3\structures_f_epb\furniture\shelveswooden_f.p3d",[-4.19091,-0.0666895,4.34885],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\vaulting_box_large.p3d",[-3.81347,1.14669,0.438945],[[0.999991,0.00420875,0],[0,0,1]],true,[]],["a3\structures_f\furniture\cashdesk_f.p3d",[2.12208,-6.85233,1.28009],[[-0.0026424,-0.999996,-0.000119033],[-0.00643952,0.000136047,-0.999979]],true,[]],["a3\structures_f\furniture\cashdesk_f.p3d",[4.17188,-5.68046,1.26254],[[0.999999,-0.00108078,-0.000119106],[-0.000126063,-0.00643973,-0.999979]],true,[]],["a3\structures_f\furniture\cashdesk_f.p3d",[3.73584,-6.85868,1.26215],[[-0.0026424,-0.999996,-0.000119033],[-0.00643952,0.000136047,-0.999979]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\class_case_b_open.p3d",[-0.0341747,-2.68192,3.87864],[[0.00205389,-0.999998,0],[0,0,1]],true,[]],["Land_WallSign_01_chalkboard_F",[-1.85839,-3.44071,2.42188],[[1,-4.37114e-008,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[4.55225,-5.46903,1.56683],[[0.999986,0.00522535,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[-1.86083,-0.811807,2.39729],[[0.999999,-0.00129799,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[4.55323,-5.47538,2.41564],[[0.999986,0.00522535,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[2.64356,-7.24931,1.55166],[[0.000541052,1,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[2.64942,-7.24882,2.40071],[[0.000539617,1,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[-4.55175,5.34542,1.56891],[[0.999999,-0.00129799,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[-4.54931,5.34542,2.41772],[[0.999999,-0.00129799,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[-1.86328,-0.811807,1.54848],[[0.999999,-0.00129799,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[-1.85937,-3.43437,1.57307],[[1,-4.37114e-008,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[-4.50683,-5.54569,5.25562],[[-0.999991,-0.00427148,0],[0,0,1]],false,["a3\structures_f_orange\signs\special\data\wallsign_01_f_chalkboard_co.paa","a3\structures_f_orange\signs\special\data\wallsign_01_f_chalkboard_co.paa"]],["a3\structures_f_enoch\furniture\cases\library_a\library_a_open.p3d",[-3.09716,3.19845,0.436696],[[0.000731148,1,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\rug_01_f.p3d",[-1.40576,1.78194,3.86976],[[1,-0.000701829,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\rug_01_f.p3d",[1.65381,-2.23856,3.93068],[[-0.999985,0.00545119,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[-2.81152,6.51241,3.81077],[[-0.999996,0.00278569,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[0.798345,3.76681,3.88107],[[-0.990361,-0.138512,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[3.66358,-3.86454,3.88112],[[0.986178,0.165691,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[-0.673335,4.29024,3.8542],[[-0.915073,0.403288,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[-3.47412,6.19063,0.439323],[[-0.915538,0.402231,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[-4.02636,-4.13163,3.87263],[[-0.957254,-0.289248,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[2.17627,6.51144,0.424562],[[0.990217,0.139538,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[2.14551,3.43575,0.433563],[[0.999998,-0.00174908,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[3.48682,-6.65165,3.83844],[[0.999965,0.00837383,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[0.0893605,3.51681,0.406097],[[0.977471,-0.211069,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[2.18946,-4.48515,3.88187],[[0.885364,-0.464899,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[-0.256343,-6.14237,3.86341],[[0.999799,0.0200441,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[0.527349,-4.21854,3.90874],[[0.988753,0.149555,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[1.65186,-6.81522,3.89087],[[0.999965,0.00837383,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[-3.03759,3.63009,3.85344],[[-0.987965,-0.154675,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[-0.567378,6.08272,3.8632],[[-0.999996,0.00278569,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[0.878911,6.56612,3.83573],[[-0.977252,0.212081,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[3.61622,3.90694,3.86896],[[0.915131,-0.403156,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[0.261235,6.43038,0.451432],[[0.990217,0.139538,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[4.11182,6.46163,0.423806],[[0.987805,0.155699,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[3.89405,3.46456,0.381131],[[0.999998,-0.00174908,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\radiator.p3d",[-4.51611,3.78927,0.516963],[[-0.999916,0.0129753,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\radiator.p3d",[-4.53173,5.91524,3.97684],[[-0.999977,0.00681253,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\radiator.p3d",[4.53809,-5.32401,4.00452],[[0.999991,0.00434703,0],[0,0,1]],true,[]],["a3\props_f_orange\items\decorative\flowerpot_01_flower_f.p3d",[4.20997,6.96017,4.66473],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\vaulting_box_small.p3d",[-3.85693,1.55294,0.434785],[[1,7.54979e-008,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\anatomy_poster_2.p3d",[4.51368,-4.0247,5.66121],[[1,-0.000334545,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\anatomy_poster_1.p3d",[-4.49609,1.78097,5.74192],[[-0.99998,0.00634953,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\teacher_desk.p3d",[2.96583,4.00362,3.83453],[[0.999922,-0.0124751,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\teacher_desk.p3d",[-2.82421,-3.71317,3.83821],[[-0.999999,0.00131608,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\teacher_desk.p3d",[-2.82226,6.20626,0.404897],[[-0.999934,0.0114601,0],[0,0,1]],true,[]]]]; + + comment "Bungalow"; + + _compData pushBack ["Land_i_House_Small_03_V1_F",[["Land_FoodSacks_01_large_brown_F",[4.82231,0.816866,0.76135],[[-0.999988,-0.00497427,0],[0,0,1]],false,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_full_brown_co.paa","a3\props_f_orange\humanitarian\supplies\data\foodsack_01_large_brown_mlod_co.paa"]],["a3\structures_f_enoch\furniture\lighting\light_bathroom\light_bathroom.p3d",[-0.0846694,3.78513,3.30641],[[-0.999988,-0.00497427,0],[0,0,1]],true,[]],["a3\props_f_orange\humanitarian\supplies\paperbox_01_small_ransacked_f.p3d",[-3.06564,-1.92044,1.16543],[[-0.999988,-0.00497427,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\dhangar_borwnskrin\dhangar_brownskrin.p3d",[0.377447,0.998507,0.28596],[[0.00795729,-0.999968,0],[0,0,1]],true,[]],["a3\structures_f\furniture\chairwood_f.p3d",[3.33719,-4.3428,0.319343],[[-0.999988,-0.00497427,0],[0,0,1]],true,[]],["a3\structures_f\furniture\chairwood_f.p3d",[4.303,-3.25589,0.319343],[[0.999999,-0.00160257,0],[0,0,1]],true,[]],["a3\structures_f\furniture\chairwood_f.p3d",[3.33595,-3.30813,0.319344],[[-0.999988,-0.00497427,0],[0,0,1]],true,[]],["a3\structures_f\furniture\chairwood_f.p3d",[4.32338,-4.21194,0.319344],[[0.999999,-0.00160257,0],[0,0,1]],true,[]],["a3\props_f_orange\humanitarian\supplies\paperbox_01_small_destroyed_f.p3d",[0.239855,0.190889,0.506487],[[0.00173465,-0.999999,0],[0,0,1]],true,[]],["a3\structures_f\furniture\rack_f.p3d",[-1.36846,1.1489,1.1359],[[-0.00618081,-0.999981,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\decoration\wallboards\picture_e_02\picture_e_02.p3d",[5.50128,1.25778,0.7356],[[1,-0.000460549,0],[0,0,1]],true,[]],["Land_Photoframe_01_F",[-5.49129,-0.486357,1.6694],[[0.00530562,0.999986,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_hub\photoframe_ca.paa","a3\props_f_orange\items\decorative\data\photoframe_01_f_co.paa"]],["a3\structures_f\furniture\metal_rack_tall_f.p3d",[2.1929,1.0029,-0.303546],[[-0.999988,-0.00497427,0],[0,0,1]],true,[]],["a3\structures_f\furniture\metal_rack_tall_f.p3d",[2.1936,1.74509,-0.304088],[[-0.999988,-0.00497427,0],[0,0,1]],true,[]],["a3\structures_f\furniture\shelveswooden_blue_f.p3d",[-0.64181,0.152315,0.373552],[[0.999991,-0.00429836,0],[0,0,1]],true,[]],["a3\structures_f\furniture\shelveswooden_blue_f.p3d",[-5.17257,3.27146,0.794566],[[0.021536,-0.999768,0],[0,0,1]],true,[]],["OfficeTable_01_old_F",[2.44873,2.58005,0.669316],[[1,-0.000949307,0],[0,0,1]],false,["a3\structures_f_heli\furniture\data\officetable_01_old_co.paa"]],["OfficeTable_01_old_F",[2.447,1.26023,0.669469],[[1,-0.000949307,0],[0,0,1]],false,["a3\structures_f_heli\furniture\data\officetable_01_old_co.paa"]],["a3\structures_f_enoch\furniture\bathroom\basin_a\basin_a.p3d",[2.10676,0.356417,1.02506],[[-0.999988,-0.00497427,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\beds\postel_panelak1.p3d",[0.343935,3.80857,0.285772],[[-0.00637527,0.99998,0],[0,0,1]],true,[]],["a3\props_f_exp\commercial\market\woodencrate_01_f.p3d",[-3.16579,-1.71585,0.624245],[[0.00804884,-0.999968,0],[0,0,1]],true,[]],["a3\structures_f\items\documents\file1_f.p3d",[-3.8729,1.24167,1.11162],[[-0.273557,0.961856,0],[0,0,1]],true,[]],["a3\structures_f\furniture\bench_f.p3d",[-1.69435,-2.14944,0.553754],[[0.999695,0.0246875,0],[0,0,1]],true,[]],["a3\structures_f\civ\market\sack_f.p3d",[5.16168,1.89499,0.717273],[[0.978566,-0.205934,0],[0,0,1]],true,[]],["a3\structures_f\civ\constructions\woodenbox_f.p3d",[5.1687,3.42771,0.294301],[[-0.999988,-0.00497427,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\rattantable_01_f.p3d",[-4.93148,-0.531767,0.692321],[[-0.0539976,-0.998541,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[3.81935,-3.69778,2.03496],[[-0.999988,-0.00497427,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[-3.61547,0.535128,2.00703],[[-0.999988,-0.00497427,0],[0,0,1]],true,[]],["a3\structures_f\furniture\tabledesk_f.p3d",[-3.58084,1.23142,0.689018],[[-0.0070124,-0.999976,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\sofa_01_f.p3d",[-3.66239,2.21384,0.798517],[[0.00352132,0.999994,0],[0,0,1]],true,[]],["a3\structures_f_heli\items\electronics\fridge_01_f.p3d",[2.48232,3.58103,0.794822],[[-0.999988,-0.00497427,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\rattanchair_01_f.p3d",[-5.02323,-1.32815,0.851524],[[-0.0553274,-0.998468,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\rattanchair_01_f.p3d",[-4.89526,0.235811,0.860892],[[0.0289353,0.999581,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\decoration\flowers\flower_01.p3d",[-5.17253,-2.13528,0.29602],[[-0.999988,-0.00497427,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\decoration\flowers\flower_02.p3d",[-5.06195,4.29782,0.279163],[[-0.999988,-0.00497427,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\tablesmall_01_f.p3d",[-3.78644,4.57321,0.517024],[[-0.999988,-0.00497427,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\tablebig_01_f.p3d",[3.81575,-3.76077,0.714093],[[-0.999988,-0.00497427,0],[0,0,1]],true,[]],["Land_WallSign_01_chalkboard_F",[-3.71712,-2.48977,1.47618],[[-0.00367629,0.999993,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[-2.53671,4.92819,1.47586],[[-0.00367629,0.999993,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[-3.71713,-2.48733,2.325],[[-0.00367629,0.999993,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[-2.53672,4.93064,2.32468],[[-0.00367629,0.999993,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[5.53845,-0.42288,1.47111],[[-0.999998,-0.00195485,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[5.53601,-0.42288,2.31992],[[-0.999998,-0.00195485,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[5.53963,3.26608,1.46336],[[-0.99994,-0.0109296,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[5.53719,3.26608,2.31217],[[-0.99994,-0.0109296,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["a3\props_f_orange\furniture\rug_01_f.p3d",[-1.70584,-1.60696,0.312561],[[-0.999988,-0.00497427,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\rug_01_f.p3d",[3.79528,-3.76761,0.330684],[[0.00525401,0.999986,0],[0,0,1]],true,[]],["Land_Rug_01_Traditional_F",[-3.74503,3.51267,0.300684],[[-0.999988,-0.00497427,0],[0,0,1]],false,["a3\props_f_orange\furniture\data\rug_01_traditional_co.paa"]],["a3\props_f_orange\furniture\rug_01_f.p3d",[0.807817,3.80759,0.306284],[[-0.000124542,-1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[-3.58682,0.665499,0.263157],[[0.140777,-0.990041,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\radiator.p3d",[-1.07639,3.97995,0.42855],[[0.999996,-0.00272171,0],[0,0,1]],true,[]],["a3\props_f_orange\items\decorative\flowerpot_01_flower_f.p3d",[-0.485445,-2.12747,1.09561],[[0.24661,-0.969115,0],[0,0,1]],true,[]]]]; + _compData pushBack ["Land_i_House_Small_03_V1_F",[["a3\structures_f_heli\furniture\rattantable_01_f.p3d",[-2.55444,4.33982,0.695625],[[-0.999959,0.00906451,0],[0,0,1]],true,[]],["a3\structures_f\civ\garbage\garbage_line_f.p3d",[2.5759,2.24265,0.347125],[[-0.0273842,-0.999625,0],[0,0,1]],true,[]],["a3\structures_f\civ\garbage\garbage_line_f.p3d",[4.81252,-3.29397,0.348087],[[-0.0273842,-0.999625,0],[0,0,1]],true,[]],["a3\structures_f\civ\garbage\garbage_line_f.p3d",[2.78659,-3.81936,0.336443],[[-0.0273842,-0.999625,0],[0,0,1]],true,[]],["a3\structures_f\civ\garbage\garbage_square5_f.p3d",[-3.14183,-0.0713177,0.327963],[[-0.999959,0.00906451,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\rattanchair_01_f.p3d",[-3.56083,4.39792,0.866446],[[-0.999997,-0.00231873,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\rattanchair_01_f.p3d",[-1.5786,4.35935,0.878216],[[0.999971,0.00757587,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\library_a\library_a.p3d",[-0.492998,0.271944,0.284631],[[-0.0116774,-0.999932,0],[0,0,1]],true,[]],["OfficeTable_01_old_F",[-0.0453551,3.27194,0.70602],[[0.0245418,-0.999699,0],[0,0,1]],false,["a3\structures_f_heli\furniture\data\officetable_01_old_co.paa"]],["OfficeTable_01_old_F",[-5.15096,2.81833,0.710475],[[-0.999833,-0.0182531,0],[0,0,1]],false,["a3\structures_f_heli\furniture\data\officetable_01_old_co.paa"]],["OfficeTable_01_old_F",[-3.51153,-2.0679,0.718307],[[0.00152591,-0.999999,0],[0,0,1]],false,["a3\structures_f_heli\furniture\data\officetable_01_old_co.paa"]],["OfficeTable_01_old_F",[-5.14782,0.41794,0.704675],[[-0.999833,-0.0182531,0],[0,0,1]],false,["a3\structures_f_heli\furniture\data\officetable_01_old_co.paa"]],["a3\structures_f_enoch\furniture\decoration\wallboards\picture_a_05\picture_a_05.p3d",[-1.40432,-2.43411,0.741364],[[-0.00299656,0.999996,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\decoration\flowers\flower_01.p3d",[0.589262,0.125948,0.293126],[[-0.174147,0.98472,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\decoration\flowers\flower_01.p3d",[-5.18055,4.56394,0.298754],[[-0.999959,0.00906451,0],[0,0,1]],true,[]],["Land_Photoframe_01_F",[-5.48583,1.64646,1.6424],[[0.00468384,0.999989,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\shared\photoframe_random_07_co.paa","a3\props_f_orange\items\decorative\data\photoframe_01_f_co.paa"]],["a3\props_f_orange\humanitarian\supplies\paperbox_01_small_ransacked_f.p3d",[2.6008,2.457,0.508213],[[0.999998,0.00201531,0],[0,0,1]],true,[]],["a3\props_f_orange\humanitarian\supplies\paperbox_01_small_ransacked_f.p3d",[-4.56496,-0.789091,0.510464],[[0.805758,0.592245,0],[0,0,1]],true,[]],["a3\props_f_orange\humanitarian\supplies\paperbox_01_small_ransacked_f.p3d",[4.92103,-5.86868,0.499508],[[-0.684828,0.728705,0],[0,0,1]],true,[]],["a3\props_f_orange\humanitarian\supplies\paperbox_01_small_ransacked_f.p3d",[-4.2423,3.66892,0.510482],[[0.679541,-0.733638,0],[0,0,1]],true,[]],["Land_Photoframe_01_broken_F",[-1.65869,3.54978,0.322054],[[-0.632749,-0.774357,0],[0,0,1]],false,["a3\props_f_orange\items\decorative\data\photos_camo_co.paa","a3\props_f_orange\items\decorative\data\photoframe_01_f_co.paa"]],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[-1.51302,1.14255,0.628772],[[-0.999959,0.00906451,0],[0,0,1]],true,[]],["a3\props_f_orange\humanitarian\supplies\paperbox_01_small_destroyed_f.p3d",[-2.44802,-2.12845,0.510006],[[-0.0152515,-0.999884,0],[0,0,1]],true,[]],["a3\props_f_orange\humanitarian\supplies\paperbox_01_small_destroyed_f.p3d",[1.12712,0.149874,0.515156],[[0.0122277,-0.999925,0],[0,0,1]],true,[]],["a3\structures_f\furniture\metal_rack_tall_f.p3d",[-0.671919,1.27439,0.300298],[[-0.999959,0.00906451,0],[0,0,1]],true,[]],["a3\structures_f\furniture\metal_rack_f.p3d",[-5.34945,-1.2471,1.19012],[[-0.999959,0.00906451,0],[0,0,1]],true,[]],["a3\props_f_exp\civilian\garbage\garbageheap_04_f.p3d",[2.43506,-3.81351,0.783323],[[0.999425,0.033913,0],[0,0,1]],true,[]],["a3\structures_f_epb\items\luggage\luggageheap_03_f.p3d",[4.74308,0.897432,0.8062],[[-0.999959,0.00906451,0],[0,0,1]],true,[]],["a3\structures_f_heli\items\electronics\printer_01_f.p3d",[-1.43417,1.49167,1.17241],[[0.999999,-0.00138239,0],[0,0,1]],true,[]],["Land_OfficeCabinet_02_F",[1.56205,1.80124,1.0715],[[0.999874,-0.0158707,0],[0,0,1]],false,[]],["a3\structures_f_bootcamp\items\electronics\watercooler_01_f.p3d",[2.32098,-2.1221,1.03331],[[-0.999959,0.00906451,0],[0,0,1]],true,[]],["a3\structures_f_bootcamp\items\electronics\watercooler_01_f.p3d",[0.154314,0.195772,1.02986],[[0.0341646,0.999416,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\officechair_01_f.p3d",[-4.38564,2.50925,0.973639],[[0.997304,0.0733847,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\officechair_01_f.p3d",[-3.12685,-1.38138,0.946179],[[0.292399,0.956296,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\officechair_01_f.p3d",[-4.3825,0.107882,0.965949],[[0.997304,0.0733847,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\officechair_01_f.p3d",[-0.388293,4.0654,0.969185],[[-0.308276,0.951297,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[-3.34625,1.6196,3.25441],[[0.0119059,0.999929,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\lighting\fluor_lamp\fluor_lamp.p3d",[3.90007,-0.737333,3.26335],[[0.0119059,0.999929,0],[0,0,1]],true,[]],["a3\structures_f_epb\furniture\shelveswooden_f.p3d",[-1.39115,-2.16604,0.789455],[[-0.999959,0.00906451,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\rug_01_f.p3d",[-2.94699,1.00681,0.330683],[[0.00135267,0.999999,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\rug_01_f.p3d",[0.247934,-1.00442,0.293775],[[-0.999959,0.00906451,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\rug_01_f.p3d",[0.245367,2.16013,0.29947],[[-0.999959,0.00906451,0],[0,0,1]],true,[]],["Land_Rug_01_Traditional_F",[-2.55294,4.01999,0.299195],[[-0.999959,0.00906451,0],[0,0,1]],false,["a3\props_f_orange\furniture\data\rug_01_traditional_co.paa"]],["a3\props_f_orange\furniture\rug_01_f.p3d",[3.84836,3.20065,0.308486],[[0.0059371,-0.999982,0],[0,0,1]],true,[]],["Land_WallSign_01_chalkboard_F",[0.540712,4.89743,1.55381],[[0.0103624,0.999946,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[0.540735,4.89987,2.40262],[[0.0103624,0.999946,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[5.53769,-0.32913,1.57718],[[-0.999973,-0.007345,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[-3.68125,-2.47513,2.29731],[[0.0103624,0.999946,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[-2.42988,4.8823,2.25694],[[0.0103624,0.999946,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[5.53525,-0.32913,2.426],[[-0.999973,-0.007345,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[5.54169,2.96628,2.28389],[[-0.999973,-0.007345,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[5.54413,2.96628,1.43508],[[-0.999973,-0.007345,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[-3.68127,-2.47757,1.4485],[[0.0103624,0.999946,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[-2.4299,4.87985,1.40813],[[0.0103624,0.999946,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["a3\structures_f\civ\garbage\garbage_square3_f.p3d",[-3.84616,3.24997,0.346421],[[-0.999959,0.00906451,0],[0,0,1]],true,[]],["Land_OfficeCabinet_02_F",[2.30687,-1.52444,1.1005],[[-0.999959,0.00906451,0],[0,0,1]],false,[]],["a3\structures_f_heli\furniture\officechair_01_f.p3d",[4.46601,-1.54788,0.962262],[[-0.999959,0.00906451,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\officechair_01_f.p3d",[4.47526,-3.76028,0.966699],[[-0.999959,0.00906451,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\officechair_01_f.p3d",[3.10433,0.903292,0.972571],[[0.995947,-0.0899462,0],[0,0,1]],true,[]],["OfficeTable_01_old_F",[5.15356,-1.65628,0.723462],[[0.999952,-0.00975741,0],[0,0,1]],false,["a3\structures_f_heli\furniture\data\officetable_01_old_co.paa"]],["OfficeTable_01_old_F",[5.14845,-4.05179,0.721276],[[0.999929,-0.0119505,0],[0,0,1]],false,["a3\structures_f_heli\furniture\data\officetable_01_old_co.paa"]],["OfficeTable_01_old_F",[2.46722,1.08151,0.721314],[[-0.999999,0.00115026,0],[0,0,1]],false,["a3\structures_f_heli\furniture\data\officetable_01_old_co.paa"]],["a3\structures_f_epb\furniture\shelveswooden_f.p3d",[2.70183,4.49851,0.373631],[[-0.999959,0.00906451,0],[0,0,1]],true,[]],["a3\props_f_orange\humanitarian\supplies\paperbox_01_small_destroyed_f.p3d",[5.18065,-2.70804,0.501131],[[-0.999959,0.00906451,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\decoration\flowers\flower_01.p3d",[5.17344,-5.12015,0.303002],[[-0.999959,0.00906451,0],[0,0,1]],true,[]],["a3\weapons_f_orange\ammo\leaflet_05_old_f.p3d",[-2.89579,-1.37161,0.304913],[[-0.0775948,-0.996985,0],[0,0,1]],true,[]],["a3\weapons_f_orange\ammo\leaflet_05_old_f.p3d",[-3.37015,-1.12503,0.304913],[[-0.680881,-0.732394,0],[0,0,1]],true,[]],["a3\weapons_f_orange\ammo\leaflet_05_old_f.p3d",[-4.31646,-1.1719,0.301139],[[0.154643,-0.98797,0],[0,0,1]],true,[]],["a3\weapons_f_orange\ammo\leaflet_05_old_f.p3d",[-3.91174,-1.45218,0.304913],[[-0.877711,-0.479191,0],[0,0,1]],true,[]],["a3\weapons_f_orange\ammo\leaflet_05_old_f.p3d",[-4.02926,-1.86477,0.302848],[[-0.123237,0.992377,0],[0,0,1]],true,[]],["a3\weapons_f_orange\ammo\leaflet_05_old_f.p3d",[-3.89372,2.63571,0.307037],[[0.914112,-0.405462,0],[0,0,1]],true,[]],["a3\weapons_f_orange\ammo\leaflet_05_old_f.p3d",[-3.34375,3.08054,0.307037],[[-0.0775948,-0.996985,0],[0,0,1]],true,[]],["a3\weapons_f_orange\ammo\leaflet_05_old_f.p3d",[-3.81763,3.32761,0.307037],[[-0.680881,-0.732394,0],[0,0,1]],true,[]],["a3\weapons_f_orange\ammo\leaflet_05_old_f.p3d",[-4.76442,3.28024,0.303262],[[0.154643,-0.98797,0],[0,0,1]],true,[]],["a3\weapons_f_orange\ammo\leaflet_05_old_f.p3d",[-4.3597,3.00046,0.307037],[[-0.877711,-0.479191,0],[0,0,1]],true,[]],["a3\weapons_f_orange\ammo\leaflet_05_old_f.p3d",[-4.47722,2.58737,0.304972],[[-0.123237,0.992377,0],[0,0,1]],true,[]],["a3\weapons_f_orange\ammo\leaflet_05_old_f.p3d",[4.0244,-5.0137,0.306945],[[0.914112,-0.405462,0],[0,0,1]],true,[]],["a3\weapons_f_orange\ammo\leaflet_05_old_f.p3d",[4.57487,-4.56936,0.306945],[[-0.0775948,-0.996985,0],[0,0,1]],true,[]],["a3\weapons_f_orange\ammo\leaflet_05_old_f.p3d",[4.1005,-4.32229,0.306945],[[-0.680881,-0.732394,0],[0,0,1]],true,[]],["a3\weapons_f_orange\ammo\leaflet_05_old_f.p3d",[3.15371,-4.36917,0.303171],[[0.154643,-0.98797,0],[0,0,1]],true,[]],["a3\weapons_f_orange\ammo\leaflet_05_old_f.p3d",[3.55843,-4.64944,0.306945],[[-0.877711,-0.479191,0],[0,0,1]],true,[]],["a3\weapons_f_orange\ammo\leaflet_05_old_f.p3d",[3.44091,-5.06253,0.304881],[[-0.123237,0.992377,0],[0,0,1]],true,[]],["a3\weapons_f_orange\ammo\leaflet_05_old_f.p3d",[-3.44625,-1.81643,0.304913],[[0.914112,-0.405462,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\radiator.p3d",[5.53459,2.99167,0.28335],[[0.999999,-0.00167613,0],[0,0,1]],true,[]]]]; + _compData pushBack ["Land_i_House_Small_03_V1_F",[["Land_FoodSacks_01_large_brown_F",[4.82231,0.816866,0.76135],[[-0.999988,-0.00497427,0],[0,0,1]],false,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_full_brown_co.paa","a3\props_f_orange\humanitarian\supplies\data\foodsack_01_large_brown_mlod_co.paa"]],["a3\structures_f_enoch\furniture\lighting\light_bathroom\light_bathroom.p3d",[-0.0846694,3.78513,3.30641],[[-0.999988,-0.00497427,0],[0,0,1]],true,[]],["a3\props_f_orange\humanitarian\supplies\paperbox_01_small_ransacked_f.p3d",[-3.06564,-1.92044,1.16543],[[-0.999988,-0.00497427,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\cases\dhangar_borwnskrin\dhangar_brownskrin.p3d",[0.377447,0.998507,0.28596],[[0.00795729,-0.999968,0],[0,0,1]],true,[]],["a3\structures_f\furniture\chairwood_f.p3d",[4.32338,-4.21194,0.319344],[[0.999999,-0.00160257,0],[0,0,1]],true,[]],["a3\structures_f\furniture\chairwood_f.p3d",[3.33595,-3.30813,0.319344],[[-0.999988,-0.00497427,0],[0,0,1]],true,[]],["a3\structures_f\furniture\chairwood_f.p3d",[3.33719,-4.3428,0.319343],[[-0.999988,-0.00497427,0],[0,0,1]],true,[]],["a3\structures_f\furniture\chairwood_f.p3d",[4.303,-3.25589,0.319343],[[0.999999,-0.00160257,0],[0,0,1]],true,[]],["a3\props_f_orange\humanitarian\supplies\paperbox_01_small_destroyed_f.p3d",[0.239855,0.190889,0.506487],[[0.00173465,-0.999999,0],[0,0,1]],true,[]],["a3\structures_f\furniture\rack_f.p3d",[-1.36846,1.1489,1.1359],[[-0.00618081,-0.999981,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\decoration\wallboards\picture_e_02\picture_e_02.p3d",[5.48954,1.26218,0.7356],[[-0.999999,-0.00176689,0],[0,0,1]],true,[]],["Land_Photoframe_01_F",[-5.49129,-0.486357,1.6694],[[0.00530562,0.999986,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_hub\photoframe_ca.paa","a3\props_f_orange\items\decorative\data\photoframe_01_f_co.paa"]],["a3\structures_f\furniture\metal_rack_tall_f.p3d",[2.1936,1.74509,-0.304088],[[-0.999988,-0.00497427,0],[0,0,1]],true,[]],["a3\structures_f\furniture\metal_rack_tall_f.p3d",[2.1929,1.0029,-0.303546],[[-0.999988,-0.00497427,0],[0,0,1]],true,[]],["a3\structures_f\furniture\shelveswooden_blue_f.p3d",[-5.17257,3.27146,0.794566],[[0.021536,-0.999768,0],[0,0,1]],true,[]],["a3\structures_f\furniture\shelveswooden_blue_f.p3d",[-0.64181,0.152315,0.373552],[[0.999991,-0.00429836,0],[0,0,1]],true,[]],["OfficeTable_01_old_F",[2.447,1.26023,0.669469],[[1,-0.000949307,0],[0,0,1]],false,["a3\structures_f_heli\furniture\data\officetable_01_old_co.paa"]],["OfficeTable_01_old_F",[2.44873,2.58005,0.669316],[[1,-0.000949307,0],[0,0,1]],false,["a3\structures_f_heli\furniture\data\officetable_01_old_co.paa"]],["a3\structures_f_enoch\furniture\bathroom\basin_a\basin_a.p3d",[2.10676,0.356417,1.02506],[[-0.999988,-0.00497427,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\beds\postel_panelak1.p3d",[0.343935,3.80857,0.285772],[[-0.00637527,0.99998,0],[0,0,1]],true,[]],["a3\props_f_exp\commercial\market\woodencrate_01_f.p3d",[-3.16579,-1.71585,0.624245],[[0.00804884,-0.999968,0],[0,0,1]],true,[]],["a3\structures_f\items\documents\file1_f.p3d",[-3.8729,1.24167,1.11162],[[-0.273557,0.961856,0],[0,0,1]],true,[]],["a3\structures_f\furniture\bench_f.p3d",[-1.69435,-2.14944,0.553754],[[0.999695,0.0246875,0],[0,0,1]],true,[]],["a3\structures_f\civ\market\sack_f.p3d",[5.16168,1.89499,0.717273],[[0.978566,-0.205934,0],[0,0,1]],true,[]],["a3\structures_f\civ\constructions\woodenbox_f.p3d",[5.1687,3.42771,0.294301],[[-0.999988,-0.00497427,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\rattantable_01_f.p3d",[-4.93148,-0.531767,0.692321],[[-0.0539976,-0.998541,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[-3.61547,0.535128,2.00703],[[-0.999988,-0.00497427,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\lighting\light_kitchen_03\light_kitchen_03.p3d",[3.81935,-3.69778,2.03496],[[-0.999988,-0.00497427,0],[0,0,1]],true,[]],["a3\structures_f\furniture\tabledesk_f.p3d",[-3.58084,1.23142,0.689018],[[-0.0070124,-0.999976,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\sofa_01_f.p3d",[-3.66239,2.21384,0.798517],[[0.00352132,0.999994,0],[0,0,1]],true,[]],["a3\structures_f_heli\items\electronics\fridge_01_f.p3d",[2.48232,3.58103,0.794822],[[-0.999988,-0.00497427,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\rattanchair_01_f.p3d",[-4.89526,0.235811,0.860892],[[0.0289353,0.999581,0],[0,0,1]],true,[]],["a3\structures_f_heli\furniture\rattanchair_01_f.p3d",[-5.02323,-1.32815,0.851524],[[-0.0553274,-0.998468,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\decoration\flowers\flower_01.p3d",[-5.17253,-2.13528,0.29602],[[-0.999988,-0.00497427,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\decoration\flowers\flower_02.p3d",[-5.06195,4.29782,0.279163],[[-0.999988,-0.00497427,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\tablesmall_01_f.p3d",[-3.78644,4.57321,0.517024],[[-0.999988,-0.00497427,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\tablebig_01_f.p3d",[3.81575,-3.76077,0.714093],[[-0.999988,-0.00497427,0],[0,0,1]],true,[]],["Land_WallSign_01_chalkboard_F",[-3.71713,-2.48733,2.325],[[-0.00367629,0.999993,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[-2.53672,4.93064,2.32468],[[-0.00367629,0.999993,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[-3.71712,-2.48977,1.47618],[[-0.00367629,0.999993,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[-2.53671,4.92819,1.47586],[[-0.00367629,0.999993,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[5.53845,-0.42288,1.47111],[[-0.999998,-0.00195485,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[5.53601,-0.42288,2.31992],[[-0.999998,-0.00195485,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[5.53963,3.26608,1.46336],[[-0.99994,-0.0109296,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_WallSign_01_chalkboard_F",[5.53719,3.26608,2.31217],[[-0.99994,-0.0109296,0],[0,0,1]],false,["a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa","a3\missions_f_orange\data\img\orange_compositions\n4\n4_windowcardboard_co.paa"]],["Land_Rug_01_Traditional_F",[-3.74503,3.51267,0.300684],[[-0.999988,-0.00497427,0],[0,0,1]],false,["a3\props_f_orange\furniture\data\rug_01_traditional_co.paa"]],["a3\props_f_orange\furniture\rug_01_f.p3d",[0.807817,3.80759,0.306284],[[-0.000124542,-1,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\rug_01_f.p3d",[-1.70584,-1.60696,0.312561],[[-0.999988,-0.00497427,0],[0,0,1]],true,[]],["a3\props_f_orange\furniture\rug_01_f.p3d",[3.79528,-3.76761,0.330684],[[0.00525401,0.999986,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[-3.58682,0.665499,0.263157],[[0.140777,-0.990041,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\radiator.p3d",[-1.07639,3.97995,0.42855],[[0.999996,-0.00272171,0],[0,0,1]],true,[]],["a3\props_f_orange\items\decorative\flowerpot_01_flower_f.p3d",[-0.485445,-2.12747,1.09561],[[0.24661,-0.969115,0],[0,0,1]],true,[]]]]; + + comment "Stone House (Gray)"; + + _compData pushBack ["Land_i_Stone_HouseSmall_V1_F",[["a3\props_f_exp\commercial\market\woodencounter_01_f.p3d",[4.19358,3.33937,1.68394],[[-0.00600793,-0.999982,-0.000488265],[0.0115097,-0.000557392,0.999934]],true,[]],["a3\structures_f_enoch\furniture\various\carpet_2_dz.p3d",[-5.24757,-1.71092,1.28934],[[-0.0409123,0.999163,-0.00048787],[-0.0115236,1.6392e-005,0.999934]],true,[]],["Land_FoodSack_01_dmg_brown_F",[2.58489,2.43508,1.27414],[[0.724655,0.689112,-0.000488315],[-0.00758015,0.00867969,0.999934]],false,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_dmg_brown_co.paa"]],["a3\props_f_orange\humanitarian\supplies\paperbox_01_small_ransacked_f.p3d",[-2.60425,-1.87938,1.42549],[[-0.640071,0.768303,-0.0044482],[-0.00284735,0.00341747,0.99999]],true,[]],["Land_FoodSack_01_empty_brown_F",[5.73655,-1.56102,1.27817],[[-0.349385,0.936969,-0.00444846],[-0.00155423,0.00416811,0.99999]],false,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_dmg_brown_co.paa"]],["Land_FoodSack_01_empty_brown_F",[5.5867,2.32277,1.29663],[[-0.424305,-0.905508,-0.00444844],[-0.00188752,-0.00402814,0.99999]],false,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_dmg_brown_co.paa"]],["Land_FoodSacks_01_small_brown_F",[3.57141,3.27004,1.60993],[[0.00475351,-0.999989,-0.00048828],[0.0115155,-0.000433513,0.999934]],false,["a3\props_f_orange\humanitarian\supplies\data\foodsack_01_full_brown_co.paa"]],["a3\props_f_orange\humanitarian\supplies\paperbox_01_small_destroyed_f.p3d",[5.71601,3.3174,1.41199],[[-0.999999,0.00139625,-0.000488281],[-0.000504324,-0.0115126,0.999934]],true,[]],["a3\structures_f_epa\civ\camping\woodentable_large_f.p3d",[-0.804316,2.4048,1.65514],[[-0.999989,0.00139624,-0.00444844],[-0.00444844,6.21116e-006,0.99999]],true,[]],["Land_Photoframe_01_F",[0.628242,-1.13719,2.6804],[[0.0283969,-0.999587,-0.00444822],[0.000126176,-0.00444643,0.99999]],false,["a3\missions_f_orange\data\img\orange_compositions\shared\photoframe_random_05_co.paa","a3\props_f_orange\items\decorative\data\photoframe_01_f_co.paa"]],["a3\structures_f_enoch\furniture\cases\metalcrate\metalcrate.p3d",[-3.73023,-2.23143,1.22214],[[-0.999989,0.00139624,-0.00444844],[-0.00444844,6.21116e-006,0.99999]],true,[]],["a3\props_f_exp\commercial\market\woodencrate_01_f.p3d",[-4.1233,1.96389,1.51148],[[-0.999999,0.00139625,-0.000488281],[-0.000504324,-0.0115126,0.999934]],true,[]],["a3\structures_f\civ\garbage\garbage_square3_f.p3d",[2.86007,-1.56688,1.25267],[[-0.999989,0.00139624,-0.00444844],[-0.00444844,6.21116e-006,0.99999]],true,[]],["a3\structures_f\civ\garbage\garbage_line_f.p3d",[-2.8195,-1.82225,1.27409],[[-0.999989,0.00139624,-0.00444844],[-0.00444844,6.21116e-006,0.99999]],true,[]],["a3\structures_f\furniture\bench_f.p3d",[-5.13016,-2.2534,1.44142],[[-0.999989,0.00139624,-0.00444844],[-0.00444844,6.21116e-006,0.99999]],true,[]],["a3\structures_f\items\vessels\canisterplastic_f.p3d",[4.67646,-0.527813,1.55721],[[-0.999999,0.00139625,0],[-3.60756e-006,-0.00258374,0.999997]],true,[]],["a3\structures_f\civ\market\basket_f.p3d",[-0.404228,-2.00975,1.57796],[[-0.540719,0.841192,-0.00444847],[-0.00240538,0.00374206,0.99999]],true,[]],["a3\structures_f\civ\constructions\pallet_vertical_f.p3d",[3.29596,-2.7202,2.8963],[[0.0342349,-0.999414,0],[0,0,1]],true,[]],["a3\structures_f\civ\constructions\pallet_vertical_f.p3d",[-3.49757,-2.76268,2.83568],[[0.0113575,-0.999936,0],[0,0,1]],true,[]],["a3\structures_f\civ\constructions\pallet_vertical_f.p3d",[-3.59224,3.92531,2.72754],[[-0.000467777,1,0],[0,0,1]],true,[]],["a3\structures_f\civ\constructions\pallet_vertical_f.p3d",[5.57036,3.90969,2.72573],[[0.00352024,0.999994,0],[0,0,1]],true,[]],["a3\structures_f\civ\market\cratesplastic_f.p3d",[-4.3182,1.9092,2.0688],[[-0.0203202,0.999793,-0.000487939],[-0.0115209,0.000253853,0.999934]],true,[]],["a3\structures_f\civ\market\cratesplastic_f.p3d",[4.88841,3.34279,2.35712],[[0.0596076,-0.998212,-0.00444843],[0.000264943,-0.00444053,0.99999]],true,[]],["a3\structures_f\furniture\tabledesk_f.p3d",[4.60167,-1.63768,1.62217],[[-0.99962,0.0272115,-0.00444805],[-0.00444641,0.000120951,0.99999]],true,[]],["a3\structures_f\civ\camping\fireplace_f.p3d",[1.6293,3.11769,1.58429],[[-0.999999,0.00139625,-0.000488692],[-0.000504743,-0.0115182,0.999934]],true,[]],["a3\structures_f_heli\furniture\rattanchair_01_f.p3d",[-1.2628,1.36623,1.80574],[[-0.00948515,-0.999955,-0.000488273],[0.0115082,-0.000597424,0.999934]],true,[]],["a3\structures_f_heli\furniture\rattanchair_01_f.p3d",[-1.26252,3.31398,1.76401],[[0.00946205,0.999955,-0.000488273],[-0.0115082,0.000597159,0.999934]],true,[]],["a3\structures_f_heli\furniture\rattanchair_01_f.p3d",[-2.44105,2.3926,1.79788],[[-0.99957,0.0293118,-0.000488272],[-0.000825505,-0.0114941,0.999934]],true,[]],["a3\structures_f_heli\furniture\rattanchair_01_f.p3d",[-0.294231,3.33107,1.7785],[[0.00946205,0.999955,-0.000488273],[-0.0115082,0.000597159,0.999934]],true,[]],["a3\structures_f_heli\furniture\rattanchair_01_f.p3d",[-0.297507,1.33498,1.80618],[[-0.00948515,-0.999955,-0.000488273],[0.0115082,-0.000597424,0.999934]],true,[]],["a3\structures_f_enoch\furniture\various\debris_small_house.p3d",[-3.6001,0.389667,1.23032],[[-0.999999,0.00139625,-0.000488281],[-0.000504324,-0.0115126,0.999934]],true,[]],["a3\structures_f_enoch\furniture\various\debris_small_house.p3d",[2.78965,0.104023,1.21816],[[-0.999989,0.00139624,-0.00444844],[-0.00444844,6.21116e-006,0.99999]],true,[]],["a3\structures_f_enoch\furniture\decoration\flowers\flower_01.p3d",[1.38626,-0.642071,1.1863],[[-0.999989,0.00139624,-0.00444844],[-0.00444844,6.21116e-006,0.99999]],true,[]],["a3\props_f_orange\furniture\armchair_01_f.p3d",[-1.43978,-1.94139,1.71661],[[0.00934415,0.999956,-0.0004882],[-0.0115082,0.000595728,0.999934]],true,[]],["a3\structures_f_epb\furniture\shelveswooden_f.p3d",[0.263486,-1.14402,1.71059],[[-0.000753493,0.99999,-0.00444823],[-3.35196e-006,0.00444823,0.99999]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\class_case_b_open.p3d",[1.40456,-1.52293,1.23407],[[-0.999989,0.00139624,-0.00444844],[-0.00444844,6.21116e-006,0.99999]],true,[]],["a3\props_f_orange\furniture\rug_01_f.p3d",[-0.77855,2.32277,1.25726],[[-0.999999,0.00139625,-0.000488281],[-0.000504324,-0.0115126,0.999934]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[4.20516,-1.65672,1.24221],[[-0.999989,0.00139624,-0.00444844],[-0.00444844,6.21116e-006,0.99999]],true,[]],["a3\props_f_orange\items\decorative\flowerpot_01_f.p3d",[0.27261,-0.904278,1.63099],[[-0.999989,0.00139624,-0.00444844],[-0.00444844,6.21116e-006,0.99999]],true,[]]]]; + + comment "Stone House (Big, Gray)"; + + _compData pushBack ["Land_i_Stone_HouseBig_V1_F",[["a3\structures_f_enoch\furniture\cases\dhangar_borwnskrin\dhangar_brownskrin_open.p3d",[-3.36077,1.00045,2.99859],[[-0.999999,-0.0017023,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\lighting\light_bathroom\light_bathroom.p3d",[-0.344166,-0.675336,5.90318],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\lighting\light_bathroom\light_bathroom.p3d",[-0.621021,-0.462445,2.83158],[[0,1,0],[0,0,1]],true,[]],["a3\props_f_exp\commercial\market\woodencounter_01_f.p3d",[-0.894947,-2.62211,0.598536],[[0,1,0],[-0.00258374,0,0.999997]],true,[]],["a3\props_f_orange\humanitarian\supplies\paperbox_01_small_ransacked_f.p3d",[-1.42278,-2.46049,3.21013],[[0.987306,0.158827,0],[0,0,1]],true,[]],["a3\structures_f\furniture\chairwood_f.p3d",[0.0332758,-0.815472,0.178596],[[0.974692,-0.223553,2.43075e-007],[0.000577275,0.00251801,0.999997]],true,[]],["a3\structures_f\furniture\chairwood_f.p3d",[-0.760181,-1.11039,0.191961],[[-0.0275127,-0.999621,2.01086e-007],[0.00258237,-7.08736e-005,0.999997]],true,[]],["a3\structures_f\furniture\chairwood_f.p3d",[-0.44524,-0.12309,0.17314],[[0.061346,0.998117,2.01093e-007],[-0.00257849,0.000158277,0.999997]],true,[]],["a3\props_f_orange\humanitarian\supplies\paperbox_01_small_destroyed_f.p3d",[-3.31585,-0.0185974,3.22358],[[-0.999938,-0.0111167,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\tables\conference_table_a\conference_table_a.p3d",[-2.65813,-2.66948,3.30003],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\beds\postel_panelak2.p3d",[-1.14739,1.32173,3.00631],[[0,1,0],[0,0,1]],true,[]],["a3\props_f_exp\commercial\market\woodencrate_01_f.p3d",[1.29744,0.445758,0.451928],[[0,1,0],[-0.00258374,0,0.999997]],true,[]],["a3\structures_f\furniture\bench_f.p3d",[-3.33196,-0.0928161,0.440388],[[0,1,0],[-0.00258374,0,0.999997]],true,[]],["a3\structures_f\civ\market\sack_f.p3d",[3.27351,-2.60551,3.42082],[[0.538771,0.842453,0],[0,0,1]],true,[]],["a3\structures_f\civ\market\sack_f.p3d",[-2.41448,-2.78618,0.541395],[[0.996375,-0.0850712,1.54207e-007],[0.000219647,0.00257437,0.999997]],true,[]],["a3\structures_f\items\vessels\canisterplastic_f.p3d",[1.28767,-0.44975,0.511551],[[0,1,0],[-0.00258374,0,0.999997]],true,[]],["a3\structures_f\civ\market\basket_f.p3d",[-0.247974,-2.61528,0.642997],[[0,1,0],[-0.00258374,0,0.999997]],true,[]],["a3\structures_f\civ\market\cratesplastic_f.p3d",[1.31941,0.222614,1.01084],[[-0.999972,-0.00750441,-1.1396e-008],[1.93755e-005,-0.00258333,0.999997]],true,[]],["a3\structures_f_enoch\furniture\various\debris_small_house.p3d",[-1.61565,0.977008,0.196162],[[0,1,0],[-0.00258374,0,0.999997]],true,[]],["a3\structures_f_enoch\furniture\various\dirtpile_small_house.p3d",[1.27498,-2.47563,3.01584],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_enoch\furniture\decoration\box_c\box_c.p3d",[-3.38909,3.73726,0.472985],[[0.999919,0.0127247,3.74512e-007],[-3.32515e-005,0.00258352,0.999997]],true,[]],["a3\props_f_orange\furniture\armchair_01_f.p3d",[-0.445728,-2.36332,3.46762],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_epb\furniture\shelveswooden_f.p3d",[-3.34856,-1.64164,0.656995],[[0,1,0],[-0.00258374,0,0.999997]],true,[]],["a3\structures_f_enoch\furniture\school_equipment\class_case_a_open.p3d",[3.30671,-1.76567,2.95915],[[1,0.000762776,0],[0,0,1]],true,[]],["Land_Rug_01_Traditional_F",[-0.614673,1.36714,3.01673],[[0,1,0],[0,0,1]],false,["a3\props_f_orange\furniture\data\rug_01_traditional_co.paa"]],["Land_Rug_01_Traditional_F",[-0.839771,-0.60307,0.187005],[[0.99991,0.0134397,-4.00178e-011],[-3.47247e-005,0.00258351,0.999997]],false,["a3\props_f_orange\furniture\data\rug_01_traditional_co.paa"]],["a3\structures_f_enoch\furniture\school_equipment\student_chair.p3d",[-2.88713,-2.3687,2.94846],[[0,1,0],[0,0,1]],true,[]],["a3\structures_f_epa\civ\camping\woodentable_small_f.p3d",[-0.646412,-0.693402,0.601127],[[0.999998,0.00209971,-4.41105e-011],[-5.42507e-006,0.00258373,0.999997]],true,[]],["a3\props_f_orange\items\decorative\flowerpot_01_f.p3d",[-1.88079,-2.70659,0.487852],[[0,1,0],[-0.00258374,0,0.999997]],true,[]],["a3\props_f_orange\items\decorative\flowerpot_01_f.p3d",[-1.87737,-2.70659,0.431579],[[0,1,0],[-0.00258374,0,0.999997]],true,[]]]]; + + private _data = profileNamespace getVariable ["MAZ_EZM_BuildingCompositionData",[]]; + private _count = 0; + { + _data = [_data,_x] call MAZ_EZM_fnc_addBuildingDataToVar; + _count = _count + 1; + }forEach _compData; + [format ["Saved %1 default compositions to composition data.",_count],"addItemOk"] call MAZ_EZM_fnc_systemMessage; + profileNamespace setVariable ["MAZ_EZM_BuildingCompositionData",_data]; + saveProfileNamespace; + }; + + MAZ_EZM_fnc_getDefaultInteriors = { + call MAZ_EZM_fnc_resetInteriorsData; + call MAZ_EZM_fnc_loadDefaultInteriorsData; + }; + + MAZ_EZM_fnc_weeklyUpdate = { + private _shouldWeeklyUpdate = profileNamespace getVariable ["MAZ_EZM_BuildingWeekly",true]; + if(!_shouldWeeklyUpdate) exitWith {false}; + private _lastSave = profileNamespace getVariable ["MAZ_EZM_BuildingLastSave",nil]; + if(isNil "_lastSave") then { + _lastSave = 0; + }; + systemTimeUTC params ["_year","_month","_day"]; + "Calculate days since June 1st 2024"; + + private _refYear = 2024; + private _refMonth = 6; + private _refDay = 1; + + _month = _month + ((_year - _refYear) * 12); + _day = _day + ((_month - refMonth) * 30); + + + + }; + + MAZ_EZM_fnc_interiorTypeInArray = { + params ["_type","_array"]; + private _return = false; + { + if(_type isKindOf _x) exitWith {_return = true;}; + }forEach _array; + _return + }; + + MAZ_EZM_fnc_addBuildingDataToVar = { + params ["_data","_comp"]; + _comp params ["_buildingType","_compData"]; + private _isFound = false; + { + _x params ["_type","_comps"]; + if(_isFound) exitWith {}; + if(_type isEqualType []) then { + if(_buildingType in _type || [_buildingType,_type] call MAZ_EZM_fnc_interiorTypeInArray) exitWith { + _isFound = true; + _comps pushBack _compData; + _data set [_forEachIndex,[_type,_comp]]; + }; + }; + if(_type isEqualType "") then { + if(_buildingType == _type || _buildingType isKindOf _type) exitWith { + _isFound = true; + _comps pushBack _compData; + _data set [_forEachIndex,[_type,_comps]]; + }; + }; + }forEach _data; + + if(!_isFound) then { + _data pushBack [_buildingType,[_compData]]; + }; + _data + }; + + MAZ_EZM_fnc_getBaseType = { + params ["_building"]; + private _type = typeOf _building; + private _parents = [configFile >> "CfgVehicles" >> _type, true] call BIS_fnc_returnParents; + private _baseType = _type; + { + if("land_u" in (toLower _baseType) && ("land_i" in (toLower _x))) exitWith {}; + if("house_small_f" in (toLower _x)) exitWith {}; + if("house_f" in (toLower _x)) exitWith {}; + _baseType = _x; + }forEach _parents; + _baseType + }; + + MAZ_EZM_fnc_exportInteriorsFromEditor = { + if(!is3DEN) exitWith {systemChat "Not in 3DEN!"}; + + private _br = toString [0x0D, 0x0A]; + private _tab = toString [9]; + private _outputText = "comment 'Interior Exports by " + profileName + "';" + _br; + + private _objects = get3DENSelected "object"; + _objects = [_objects,[],{(getText (configFile >> "CfgVehicles" >> typeOf _x >> "displayName"))}, "DESCEND"] call BIS_fnc_sortBy; + private _lastObjectType = ""; + { + private _type = typeOf _x; + private _displayName = getText (configFile >> "CfgVehicles" >> _type >> "displayName"); + if(_type != _lastObjectType) then { + _outputText = _outputText + _br + _tab + "comment '" + _displayName + "';" + _br; + _lastObjectType = _type; + }; + private _interiorData = [_x] call MAZ_EZM_fnc_getBuildingInteriorData; + _outputText = _outputText + _tab + _tab + "_compData pushBack " + (str _interiorData) + ";" + _br; + }forEach _objects; + + copyToClipboard _outputText; + _outputText + }; + + MAZ_EZM_fnc_getIfObjectIsVanilla = { + params ["_object",["_className",""]]; + if(_className == "") then { + _className = typeOf _object; + }; + private _isVanilla = true; + private _addon = (unitAddons _className) # 0; + private _author = getText (configfile >> "CfgPatches" >> _addon >> "author"); + if(_author != "" && {_author != "Bohemia Interactive"}) exitWith {false}; + private _required = getArray (configFile >> "CfgPatches" >> _addon >> "requiredAddons"); + while {count (_required) != 0} do { + _addon = _required # 0; + _author = getText (configfile >> "CfgPatches" >> _addon >> "author"); + if(_author != "" && {_author != "Bohemia Interactive"}) exitWith { + _isVanilla = false; + }; + _required = getArray (configFile >> "CfgPatches" >> _addon >> "requiredAddons"); + }; + _isVanilla; + }; + + MAZ_EZM_fnc_getBuildingInteriorData = { + params ["_building",["_save",false]]; + if(!((typeOf _building) isKindOf "House")) exitWith {["Not a building","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; + private _bbr = boundingBoxReal _building; + private _p1 = _bbr select 0; + private _p2 = _bbr select 1; + private _maxWidth = abs ((_p2 select 0) - (_p1 select 0)); + private _maxLength = abs ((_p2 select 1) - (_p1 select 1)); + private _maxHeight = abs ((_p2 select 2) - (_p1 select 2)); + if(!isNil "MAZ_EZM_buildingCompMarker") then { + deleteMarker MAZ_EZM_buildingCompMarker; + }; + MAZ_EZM_buildingCompMarker = createMarker ["BuildingSizeMarker", position _building]; + MAZ_EZM_buildingCompMarker setMarkerPos (getPos _building); + MAZ_EZM_buildingCompMarker setMarkerDir (getDir _building); + MAZ_EZM_buildingCompMarker setMarkerBrush "Solid"; + MAZ_EZM_buildingCompMarker setMarkerShape "RECTANGLE"; + MAZ_EZM_buildingCompMarker setMarkerSize [_maxWidth/2,_maxLength/2]; + MAZ_EZM_buildingCompMarker setMarkerColor "ColorBlack"; + MAZ_EZM_buildingCompMarker setMarkerAlpha 1; + + private _allObjects = (allSimpleObjects []) + (allMissionObjects "all"); + + private _compositionData = []; + { + if(_x == _building) then {continue}; + if(isAgent teamMember _x) then {continue}; + if(_x isKindOf "Man") then {continue}; + if(!(_x inArea MAZ_EZM_buildingCompMarker)) then {continue}; + private _worldPos = getPosWorld _x; + if (!(surfaceIsWater _worldPos)) then { + _worldPos = ASLToATL _worldPos; + }; + private _relPos = _building worldToModel _worldPos; + _relPos = _relPos vectorAdd (boundingCenter _building); + private _relDirAndUp = [_x,_building] call BIS_fnc_vectorDirAndUpRelative; + private _scale = getObjectScale _x; + + if(is3DEN) then { + if((_x get3DENAttribute "CSObject") # 0) then { + comment "CSO simple"; + private _isVanilla = [_x] call MAZ_EZM_fnc_getIfObjectIsVanilla; + if(_isVanilla) then { + _compositionData pushBack [ + typeOf _x, + _relPos, + _relDirAndUp, + true, + getObjectTextures _x, + _scale + ]; + } else { + (getModelInfo _x) params ["","_modelPath","",""]; + _compositionData pushBack [ + _modelPath, + _relPos, + _relDirAndUp, + true, + [], + _scale + ]; + }; + } else { + if ((_x get3DENAttribute "objectIsSimple") select 0) exitWith { + comment "Normally Simple"; + _compositionData pushBack [ + typeOf _x, + _relPos, + _relDirAndUp, + true, + getObjectTextures _x, + _scale + ]; + }; + comment "Normal object with simulation"; + _compositionData pushBack [ + typeOf _x, + _relPos, + _relDirAndUp, + isSimpleObject _x, + getObjectTextures _x, + _scale + ]; + }; + } else { + comment "In Zeus"; + _compositionData pushBack [ + typeOf _x, + _relPos, + _relDirAndUp, + isSimpleObject _x, + getObjectTextures _x, + _scale + ]; + }; + }forEach _allObjects; + + deleteMarker MAZ_EZM_buildingCompMarker; + MAZ_EZM_buildingCompMarker = nil; + + private _buildingType = [_building] call MAZ_EZM_fnc_getBaseType; + if(_save) then { + private _data = profileNamespace getVariable ["MAZ_EZM_BuildingCompositionData",[]]; + _data = [_data,[_buildingType,_compositionData]] call MAZ_EZM_fnc_addBuildingDataToVar; + profileNamespace setVariable ["MAZ_EZM_BuildingCompositionData",_data]; + saveProfileNamespace; + } else { + MAZ_EZM_buildingCompData = [_buildingType,_compositionData]; + systemChat "Saved to variable 'MAZ_EZM_buildingCompData'"; + }; + + [_buildingType,_compositionData] + }; + + MAZ_EZM_fnc_getBuildingInteriorDataCall = { + params ["_entity"]; + if(!((typeOf _entity) isKindOf "House")) exitWith { + private _pos = [true] call MAZ_EZM_fnc_getScreenPosition; + private _building = nearestBuilding _pos; + if(_building distance2D _pos < 20) then { + [_building] call MAZ_EZM_fnc_getBuildingInteriorData; + }; + }; + [_entity,true] call MAZ_EZM_fnc_getBuildingInteriorData; + }; + + MAZ_EZM_fnc_createInteriorObject = { + params ["_building","_objectParams"]; + _objectParams params ["_type","_modelPos","_relDirAndUp","_isSimple","_objectTextures",["_scale",1]]; + + private _object = objNull; + private _relPos = _modelPos vectorDiff (boundingCenter _building); + private _absPos = _building modelToWorldWorld _relPos; + if(_isSimple) then { + _object = createSimpleObject [_type,[0,0,0]]; + { + if("camo" in (toLower _x)) then {continue}; + _object hideSelection [_x,true]; + }forEach (selectionNames _object); + } else { + _object = createVehicle [_type,[0,0,0],[],0,"CAN_COLLIDE"]; + }; + _object setPosWorld _absPos; + _relDirAndUp params ["_dir","_up"]; + _dir = _building vectorModelToWorld _dir; + _up = _building vectorModelToWorld _up; + _object setVectorDirAndUp [_dir,_up]; + { + _object setObjectTextureGlobal [_forEachIndex,_x]; + }forEach _objectTextures; + [_object,_building] call BIS_fnc_attachToRelative; + _object setObjectScale _scale; + _object + }; + + MAZ_EZM_fnc_isSameBuildingType = { + params ["_typeOfBuilding","_searchType"]; + if(_searchType isEqualType [] && _typeOfBuilding in _searchType) exitWith {true}; + if(_searchType isEqualType []) exitWith {false}; + if(_searchType isEqualType "" && {_typeOfBuilding isKindOf _searchType}) exitWith {true}; + false + }; + + MAZ_EZM_fnc_getBuildingInteriorsForBuildingType = { + params ["_building"]; + private _compData = []; + private _allCompData = profileNamespace getVariable ["MAZ_EZM_BuildingCompositionData",[]]; + { + if(!([typeOf _building,(_x # 0)] call MAZ_EZM_fnc_isSameBuildingType)) then {continue}; + _compData pushBack _x; + }forEach _allCompData; + + _compData + }; + + MAZ_EZM_fnc_createBuildingInterior = { + params ["_building",["_compDataFull",[]],["_doDebug",true]]; + if(_building getVariable ["MAZ_EZM_hasCompSetup",false]) exitWith { + if(_doDebug) then { + ["This building already has a composition!","addItemFailed"] call MAZ_EZM_fnc_systemMessage; + }; + }; + private _typeOfBuilding = ""; + if(_compDataFull isEqualTo []) then { + private _buildingDatas = [_building] call MAZ_EZM_fnc_getBuildingInteriorsForBuildingType; + if(_buildingDatas isEqualTo []) exitWith {}; + _typeOfBuilding = _buildingDatas # 0 # 0; + _compDataFull = selectRandom (_buildingDatas # 0 # 1); + }; + if(_compDataFull isEqualTo []) exitWith {if(_doDebug) then {["Cannot find any saved types","addItemFailed"] call MAZ_EZM_fnc_systemMessage}}; + private _compData = _compDataFull; + if(!([typeOf _building,_typeOfBuilding] call MAZ_EZM_fnc_isSameBuildingType)) exitWith {if(_doDebug) then {["Wrong house type","addItemFailed"] call MAZ_EZM_fnc_systemMessage}}; + private _isTerrainBuilding = if(_building in(nearestTerrainObjects [getPos _building, ["House"], 50])) then {true} else {false}; + if(_isTerrainBuilding) then { + comment "Replace building, terrain buildings don't invoke BuildingChanged MEH"; + _building setVariable ["MAZ_EZM_hasCompSetup",true,true]; + private _buildingType = typeOf _building; + private _dir = vectorDir _building; + private _up = vectorUp _building; + private _worldPos = getPosWorld _building; + [_building,true] remoteExec ["hideObjectGlobal",2]; + [_building,false] remoteExec ['allowDamage']; + private _temp = _building; + _building = _buildingType createVehicle [0,0,0]; + _building setVariable ["MAZ_EZM_isCompClone",true,true]; + _building setVariable ["MAZ_EZM_compParent",_temp,true]; + _building setPosWorld _worldPos; + _building setVectorDirAndUp [_dir,_up]; + }; + private _objects = []; + { + _x params ["_type","_pos"]; + private _object = [_building,_x] call MAZ_EZM_fnc_createInteriorObject; + _objects pushBack [_object,_pos]; + }forEach _compData; + + _building setVariable ["MAZ_EZM_CompObjects",_objects,true]; + _building setVariable ["MAZ_EZM_hasCompSetup",true,true]; + + _building addEventhandler ["Deleted", { + params ["_entity"]; + private _objects = _entity getVariable ["MAZ_EZM_CompObjects",[]]; + { + _x params ["_object","_objectPos"]; + deleteVehicle _object; + }forEach _objects; + }]; + + _building addEventhandler ["Killed", { + params ["_unit", "_killer", "_instigator", "_useEffects"]; + [_unit] spawn { + params ["_unit"]; + private _objects = _unit getVariable ["MAZ_EZM_CompObjects",[]]; + sleep 0.8; + private _deleteObjects = []; + { + _x params ["_object","_objectPos"]; + if(!isTouchingGround _object) then { + _deleteObjects pushBack _x; + }; + detach _object; + }forEach _objects; + + { + _x params ["_object","_objectPos"]; + _objects deleteAt (_objects find _x); + deleteVehicle _object; + }forEach _deleteObjects; + + _unit setVariable ["MAZ_EZM_CompObjects",_objects,true]; + }; + }]; + + if(isNil "MAZ_EZM_buildingDestructSetup") then { + MAZ_EZM_buildingDestructSetup = true; + call MAZ_EZM_fnc_localBuildingDestruct; + }; + + }; + + MAZ_EZM_fnc_getNearestBuilding = { + params [ + ["_position",[0,0,0],[[],objNull]], + ["_radius",50,[0]], + ["_2d",false,[false]] + ]; + if(_position isEqualTo [0,0,0]) exitWith {["Provide a position argument to getNearestBuilding!","addItemFailed"] call MAZ_EZM_fnc_systemMessage}; + if(_position isEqualType objNull) then {_position = getPos _position;}; + private _nearestBuildings = (nearestObjects [_position, ["building"], _radius, _2d]) select { + + count ([_x] call BIS_fnc_buildingPositions) > 0 + }; + (_nearestBuildings select 0) + }; + + MAZ_EZM_fnc_createBuildingInteriorCall = { + params ["_entity"]; + if( + isNull _entity || + {!(_entity isEqualType objNull)} || + {!((typeOf _entity) isKindOf "House")} + ) exitWith { + private _pos = [true] call MAZ_EZM_fnc_getScreenPosition; + private _building = [_pos] call MAZ_EZM_fnc_getNearestBuilding; + if(_building distance2D _pos < 20) then { + [_building] call MAZ_EZM_fnc_createBuildingInterior; + }; + }; + [_entity] call MAZ_EZM_fnc_createBuildingInterior; + }; + + MAZ_EZM_fnc_localBuildingDestruct = { + if(!isNil "MAZ_EZM_MEH_BuildingCHanged_CompDestruct") then { + removeMissionEventhandler ["BuildingChanged",MAZ_EZM_MEH_BuildingCHanged_CompDestruct]; + }; + MAZ_EZM_MEH_BuildingCHanged_CompDestruct = addMissionEventHandler ["BuildingChanged", { + params ["_from", "_to", "_isRuin"]; + private _objects = _from getVariable ["MAZ_EZM_CompObjects",[]]; + { + _x params ["_object","_objectPos"]; + detach _object; + }forEach _objects; + [_from,_to,_isRuin,_objects] spawn { + params ["_from", "_to", "_isRuin","_objects"]; + sleep 0.8; + private _deleteObjects = []; + { + _x params ["_object","_objectPos"]; + private _relPos = _objectPos vectorDiff (boundingCenter _to); + private _absPos = _to modelToWorldWorld _relPos; + _object setPosWorld _absPos; + [_object,_to] call BIS_fnc_attachToRelative; + if(!isTouchingGround _object) then { + _deleteObjects pushBack _x; + }; + }forEach _objects; + + { + _x params ["_object","_objectPos"]; + _objects deleteAt (_objects find _x); + deleteVehicle _object; + }forEach _deleteObjects; + + _to addEventhandler ["Deleted", { + params ["_entity"]; + private _objects = _entity getVariable ["MAZ_EZM_CompObjects",[]]; + { + _x params ["_object","_objectPos"]; + deleteVehicle _object; + }forEach _objects; + }]; + + _to addEventhandler ["Killed", { + params ["_unit", "_killer", "_instigator", "_useEffects"]; + [_unit] spawn { + params ["_unit"]; + sleep 0.8; + private _objects = _unit getVariable ["MAZ_EZM_CompObjects",[]]; + private _deleteObjects = []; + { + _x params ["_object","_objectPos"]; + if(!isTouchingGround _object) then { + _deleteObjects pushBack _x; + }; + detach _object; + }forEach _objects; + + { + _x params ["_object","_objectPos"]; + _objects deleteAt (_objects find _x); + deleteVehicle _object; + }forEach _deleteObjects; + + _unit setVariable ["MAZ_EZM_CompObjects",_objects,true]; + }; + }]; + + _to setVariable ["MAZ_EZM_CompObjects",_objects,true]; + _to setVariable ["MAZ_EZM_hasCompSetup",true,true]; + }; + }]; + }; + + MAZ_EZM_DEBUG_fnc_showBuildingPositions = { + if(!is3DEN) exitWith {}; + params ["_building"]; + { + private _marker = "Sign_Arrow_Cyan_F" createVehicleLocal [0,0,0]; + _marker setPos _x; + }forEach ([_building] call BIS_fnc_buildingPositions); + }; + + MAZ_EZM_DEBUG_fnc_showBuildingPositionsCall = { + params ["_entity"]; + if(!((typeOf _entity) isKindOf "House")) exitWith { + private _pos = [true] call MAZ_EZM_fnc_getScreenPosition; + private _building = nearestObject [_pos, "House"]; + if(_building distance _pos < 20) then { + [_building] call MAZ_EZM_DEBUG_fnc_showBuildingPositions; + }; + }; + [_entity] call MAZ_EZM_DEBUG_fnc_showBuildingPositions; + }; + + MAZ_EZM_fnc_removeBuildingInterior = { + params ["_building"]; + if(!(_building getVariable ["MAZ_EZM_hasCompSetup",false])) exitWith { + ["This building does not already have a composition!","addItemFailed"] call MAZ_EZM_fnc_systemMessage; + }; + if(!isNull (_building getVariable ["MAZ_EZM_compParent",objNull])) then { + _building setVariable ["MAZ_EZM_hasCompSetup",false,true]; + _building = _building getVariable "MAZ_EZM_compParent"; + }; + private _isTerrainBuilding = if(_building in(nearestTerrainObjects [getPos _building, ["House"], 50])) then {true} else {false}; + if(_isTerrainBuilding) then { + comment "Replace building, terrain buildings don't invoke BuildingChanged MEH"; + _building setVariable ["MAZ_EZM_hasCompSetup",false,true]; + _building hideObjectGlobal false; + [_building,true] remoteExec ['allowDamage']; + private _buildings = nearestObjects [_building,[typeOf _building],20,true]; + { + if(_x getVariable ["MAZ_EZM_isCompClone",false]) then { + deleteVehicle _x; + }; + }forEach _buildings; + } else { + _building setVariable ["MAZ_EZM_hasCompSetup",false,true]; + private _objs = _building getVariable ["MAZ_EZM_CompObjects",[]]; + { + _x params ["_obj"]; + detach _obj; + deleteVehicle _obj; + }forEach _objs; + _building setVariable ["MAZ_EZM_CompObjects",[],true]; + }; + }; + + MAZ_EZM_fnc_removeBuildingInteriorCall = { + params ["_entity"]; + if( + isNull _entity || + {!(_entity isEqualType objNull)} || + {!((typeOf _entity) isKindOf "House")} + ) exitWith { + private _pos = [true] call MAZ_EZM_fnc_getScreenPosition; + private _building = nearestBuilding _pos; + if(_building distance2D _pos < 20) then { + [_building] call MAZ_EZM_fnc_removeBuildingInterior; + }; + }; + [_entity] call MAZ_EZM_fnc_removeBuildingInterior; + }; + + MAZ_EZM_fnc_checkForInteriorData = { + private _data = profileNamespace getVariable ["MAZ_EZM_BuildingCompositionData",[]]; + if(_data isEqualTo []) then { + call MAZ_EZM_fnc_getDefaultInteriors; + }; + }; + call MAZ_EZM_fnc_checkForInteriorData; + + comment "Clean Up"; + + MAZ_EZM_fnc_deleteObjectsServer = { + params ["_objects"]; + [[_objects], { + params ["_objects"]; + deleteVehicle _objects; + }] remoteExec ["spawn",2]; + }; + + MAZ_EZM_fnc_deleteEmptyGroupsModule = { + params ["_entity"]; + private _totalEmptyGroupsDeleted = 0; + { + if(count (units _x) == 0) then { + deleteGroup _x; + _totalEmptyGroupsDeleted = _totalEmptyGroupsDeleted + 1; + }; + }forEach allGroups; + [format ["%1 empty groups deleted.",_totalEmptyGroupsDeleted],"addItemOk"] call MAZ_EZM_fnc_systemMessage; + }; + + MAZ_EZM_fnc_deleteClutterModule = { + params ["_entity",["_deleteBuildings",true]]; + private _clutterNames = [ + 'Ground', + 'Canopy', + 'Ejection Seat', + 'Airplane Crater (Small)' + ]; + if(_deleteBuildings) then { + _clutterNames pushBack 'Damaged Building'; + }; + private _clutterDeleted = 0; + private _allMObjects = ((allMissionObjects 'All') + allUnits); + private _objectsToDelete = []; + { + if (_x getVariable ['MAZ_EZM_fnc_doNotRemove', false]) then {continue;}; + if ((!alive _x) or (damage _x == 1)) then { + comment "Delete dead soldiers & destroyed vehicles"; + _objectsToDelete pushBack _x; + _clutterDeleted = _clutterDeleted + 1; + continue; + }; + private _objName = getText (configFile >> 'cfgVehicles' >> typeOf _x >> 'displayName'); + if (_objName in _clutterNames) then { + comment "Delete Clutter"; + _objectsToDelete pushBack _x; + _clutterDeleted = _clutterDeleted + 1; + continue; + }; + if(!_deleteBuildings) then {continue}; + comment "Delete Destroyed Buildings (Ruins)"; + private _objName2 = _objName splitString ' '; + if ((count _objName2) == 0) then {continue}; + + private _lastWord = _objName2 select (count _objName2 - 1); + if ("ruin" in (toLower _lastWord)) then { + _objectsToDelete pushBack _x; + _clutterDeleted = _clutterDeleted + 1; + }; + }forEach _allMObjects; + [_objectsToDelete] call MAZ_EZM_fnc_deleteObjectsServer; + [format ["%1 dead objects and clutter deleted.",_clutterDeleted],"addItemOk"] call MAZ_EZM_fnc_systemMessage; + [objNull] call MAZ_EZM_fnc_deleteEmptyGroupsModule; + }; + + MAZ_EZM_fnc_deleteBodies = { + [objNull,false] call MAZ_EZM_fnc_deleteClutterModule; + }; + + MAZ_EZM_fnc_deleteMinesModule = { + params ["_entity"]; + [format ["%1 mines deleted.",count allMines],"addItemOk"] call MAZ_EZM_fnc_systemMessage; + [allMines] call MAZ_EZM_fnc_deleteObjectsServer; + }; + + MAZ_EZM_fnc_deleteMarkersModule = { + private _numOfMarkers = 0; + { + deleteMarker _x; + _numOfMarkers = _numOfMarkers + 1; + }forEach allMapMarkers; + [format ["%1 map markers deleted.",_numOfMarkers],"addItemOk"] call MAZ_EZM_fnc_systemMessage; + }; + + MAZ_EZM_fnc_deleteEverythingModule = { + [] spawn { + private _objBlacklist = + [ + "Logic", + "ModuleHQ_F", + "ModuleSector_F", + "ModuleCurator_F", + "VirtualCurator_F", + "ModuleCuratorSetCosts_F", + "ModuleCuratorSetCoefs_F", + "LogicSectorPreview100m_F", + "LogicSectorUnknown100m_F", + "ModuleCuratorSetCamera_F", + "ModuleMPTypeGameMaster_F", + "ModuleCuratorAddPoints_F", + "ModuleRadioChannelCreate_F", + "ModuleCuratorSetModuleCosts_F", + "ModuleCuratorSetObjectCosts_F", + "ModuleCuratorSetDefaultCosts_F", + "ModuleCuratorSetAttributesPlayer_F", + "ModuleCuratorAddEditingAreaPlayers_F" + ]; + + private _goodObjects = []; + { + if(!(typeOf _x in _objBlacklist)) then { + _goodObjects pushBack _x; + }; + }forEach allMissionObjects "All"; + + { + _goodObjects pushBack _x; + }forEach allSimpleObjects []; + + [_goodObjects] call MAZ_EZM_fnc_deleteObjectsServer; + }; + }; + + MAZ_EZM_fnc_deleteRadiusModule = { + private _pos = [true] call MAZ_EZM_fnc_getScreenPosition; + ["Delete Objects In Radius",[ + [ + "SLIDER:RADIUS", + "Radius", + [10,1000,100,_pos,[1,1,1,1]] + ] + ],{ + params ["_values","_args","_display"]; + private _objects = [_args,_values # 0] call MAZ_EZM_fnc_getEditableObjectsRadius; + [_objects] call MAZ_EZM_fnc_deleteObjectsServer; + _display closeDisplay 1; + },{ + params ["_values","_args","_display"]; + _display closeDisplay 2; + },_pos] call MAZ_EZM_fnc_createDialog; + }; + + MAZ_EZM_fnc_deleteProtectionZonesModule = { + { + if ((typeOf _x == 'ProtectionZone_F') or (typeOf _x == 'ProtectionZone_Invisible_F')) then + { + deleteVehicle _x; + }; + } forEach allMissionObjects ''; + + ["Protection zones removed.","addItemOk"] call MAZ_EZM_fnc_systemMessage; + }; + + comment "Create/Delete Ships"; + + MAZ_EZM_fnc_createCarrierModule = { + params ["_entity"]; + private _data = if(_entity isEqualTo objNull) then { + [objNull,[true] call MAZ_EZM_fnc_getScreenPosition]; + } else { + if !(_entity isKindOf "Ship") exitWith {["Object is not a boat!","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; + [_entity,nil]; + }; + _data spawn { + params ["_object","_pos"]; + private _dir = if(!isNull _object) then { + _pos = getPosATL _object; + ((getDir _object)+180); + } else { + _pos = ASLtoATL _pos; + 180; + }; + private _carrier = createVehicle ["Land_Carrier_01_base_F",[0,0,0],[],0,"CAN_COLLIDE"]; + _carrier setPosATL _pos; + _carrier setVectorDirAndUp [[sin _dir, cos _dir, 0], [0,0,1]]; + sleep 0.5; + [_carrier] remoteExec ["BIS_fnc_Carrier01Init", 0, _carrier]; + {deleteVehicle _x} forEach (nearestObjects [[0,0,0], ["Land_Carrier_01_hull_Base_F","DynamicAirport_01_F"], 300, true]); + if(!isNull _object) then { + {_object deleteVehicleCrew _x} forEach crew _object; + sleep 0.5; + deleteVehicle _object; + }; + }; + ["USS Freedom Carrier deployed!","addItemOk"] call MAZ_EZM_fnc_systemMessage; + }; + + MAZ_EZM_fnc_createDestroyerModule = { + params ["_entity"]; + private _data = if(_entity isEqualTo objNull) then { + [objNull,[true] call MAZ_EZM_fnc_getScreenPosition]; + } else { + if !(_entity isKindOf "Ship") exitWith {["Object is not a boat!","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; + [_entity,nil]; + }; + _data spawn { + params ["_object","_pos"]; + private _dir = if(!isNull _object) then { + _pos = getPosATL _object; + ((getDir _object)+180); + } else { + _pos = ASLtoATL _pos; + 180; + }; + private _destroyer = createVehicle ["Land_Destroyer_01_base_F",[-300,-300,0],[],0,"CAN_COLLIDE"]; + _destroyer setPosATL _pos; + _destroyer setVectorDirAndUp [[sin _dir, cos _dir, 0], [0,0,1]]; + sleep 0.5; + [_destroyer] remoteExec ["BIS_fnc_Destroyer01Init", 0, _destroyer]; + {deleteVehicle _x} forEach (nearestObjects [[-300,-300,0], ["Land_Destroyer_01_Boat_Rack_01_Base_F","Land_Destroyer_01_hull_base_F","ShipFlag_US_F"], 300, true]); + if(!isNull _object) then { + {_object deleteVehicleCrew _x} forEach crew _object; + sleep 0.1; + deleteVehicle _object; + }; + }; + ["USS Liberty Destroyer deployed!","addItemOk"] call MAZ_EZM_fnc_systemMessage; + }; + + MAZ_EZM_fnc_deleteAllCarriersModule = { + private _data = (getArray (configfile >> 'CfgVehicles' >> 'Land_Carrier_01_base_F' >> 'multiStructureParts')); + { + _x params ['_class','_pos']; + { + deleteVehicle _x; + } foreach allMissionObjects _class; + } foreach _data; + + ["All Aircraft Carriers are deleted.","addItemOk"] call MAZ_EZM_fnc_systemMessage; + }; + + MAZ_EZM_fnc_deleteAllDestroyersModule = { + private _data = (getArray (configfile >> 'CfgVehicles' >> 'Land_Destroyer_01_base_F' >> 'multiStructureParts')); + { + _x params ['_class','_pos']; + { + deleteVehicle _x; + } foreach allMissionObjects _class; + } foreach _data; + + ["All Destroyers are deleted.","addItemOk"] call MAZ_EZM_fnc_systemMessage; + }; + + comment "Developer Tools"; + + MAZ_EZM_fnc_functionViewer = { + [] call BIS_fnc_help; + }; + + MAZ_EZM_fnc_showObjectConfig = { + params ["_entity"]; + if (!isNull _entity) then { + BIS_fnc_configViewer_path = ["configFile", "CfgVehicles"]; + BIS_fnc_configViewer_selected = typeOf _entity; + }; + + [] call BIS_fnc_configViewer; + }; + + [[], { + MAZ_EZM_fnc_executeExpression = { + if(!isServer) exitWith {}; + + params ["_inputType","_expression","_target"]; + + if(!isMultiplayer) exitWith { + [ + [_expression,_target], + { + params ["_expression","_target"]; + (parsingNamespace getVariable ["BIS_RscDebugConsoleExpressionResultCtrl", controlNull]) ctrlSetText str ([nil] apply {[_target] call _expression} param [0, text ""]) + } + ] remoteExec ["call"]; + }; + + if(!isRemoteExecuted || isRemoteExecutedJIP) exitWith {}; + + switch (_inputType) do { + case 0: { + [ + [_expression,_target], + { + params ["_expression","_target"]; + (parsingNamespace getVariable ["BIS_RscDebugConsoleExpressionResultCtrl", controlNull]) ctrlSetText str ([nil] apply {[_target] call _expression} param [0, text ""]) + } + ] remoteExec ["call", remoteExecutedOwner]; + }; + case 1: { + [ + [_expression, remoteExecutedOwner,_target], + { + params ["_expression","_REOwner","_target"]; + (parsingNamespace getVariable ["BIS_RscDebugConsoleExpressionResultCtrl", controlNull]) ctrlSetText ([nil, str ([nil] apply {[_target] call _expression} param [0, text ""])] select ([_REOwner] in [[clientOwner]])) + } + ] remoteExec ["call", 0]; + }; + case 2: { + [ + [_expression, remoteExecutedOwner,_target], + { + params ["_expression","_REOwner","_target"]; + [str ([nil] apply {[_target] call _expression} param [0, text ""]), {(parsingNamespace getVariable ["BIS_RscDebugConsoleExpressionResultCtrl", controlNull]) ctrlSetText _this}] remoteExec ["call", _REOwner] + } + ] remoteExec ["call", 2]; + }; + default { }; + }; + }; + }] remoteExec ['spawn',2]; + + MAZ_EZM_fnc_saveExpression = { + params ["_expressionCtrl"]; + private _currentExpression = ctrlText _expressionCtrl; + private _lastExpression = profileNamespace getVariable ["RscDebugConsole_expression", ""]; + private _expressionHistory = profileNamespace getVariable ["RscDebugConsole_expressionHistory", []]; + + if (_lastExpression isEqualTo "" || _currentExpression isEqualTo _lastExpression) then { + _expressionHistory set [count _expressionHistory - 1, _currentExpression]; + } else { + if (_expressionHistory pushBack _currentExpression >= 10) then { _expressionHistory deleteRange [0, count _expressionHistory - 10] }; + }; + + profileNamespace setVariable ["RscDebugConsole_expression", _currentExpression]; + _parentDisplay setVariable ["RscDebugConsole_expressionHistory_index", count _expressionHistory - 1]; + }; + + MAZ_EZM_fnc_expressionResult = { + params ["_parentDisplay","_buttonType"]; + _backgroundColor = [0,0,0,0]; + switch _buttonType do { + case 0: {_backgroundColor = [0,0,1,0.25];}; + case 1: {_backgroundColor = [1,0,0,0.25];}; + case 2: {_backgroundColor = [0,1,0,0.25];}; + case 3: {_backgroundColor = [0,0,0,0];}; + }; + (_parentDisplay displayCtrl 13191) ctrlSetBackgroundColor _backgroundColor; + (parsingNamespace getVariable ["BIS_RscDebugConsoleExpressionResultCtrl", controlNull]) ctrlSetText ((parsingNamespace getVariable "BIS_RscDebugConsoleExpressionResultHistory") select 0); + }; + + MAZ_EZM_fnc_removeComments = { + params ["_input"]; + private _strings = []; + private _start = -1; + + while {_start = _input find "//"; _start > -1} do + { + _input select [0, _start] call + { + private _badQuotes = _this call + { + private _qtsGood = []; + private _qtsInfo = []; + private _arr = toArray _this; + + { + _qtsGood pushBack ((count _arr - count (_arr - [_x])) % 2 == 0); + _qtsInfo pushBack [_this find toString [_x], _x]; + } + forEach [34, 39]; + + if (_qtsGood isEqualTo [true, true]) exitWith {0}; + + _qtsInfo sort true; + _qtsInfo select 0 select 1 + }; + + if (_badQuotes > 0) exitWith + { + _last = _input select [_start] find toString [_badQuotes]; + + if (_last < 0) exitWith + { + _strings = [_input]; + _input = ""; + }; + + _last = _start + _last + 1; + _strings pushBack (_input select [0, _last]); + + _input = _input select [_last]; + }; + + _strings pushBack _this; + + _input = _input select [_start]; + + private _end = _input find toString [10]; + + if (_end < 0) exitWith {_input = ""}; + + _input = _input select [_end + 1]; + }; + }; + + _input = (_strings joinString "") + _input; + _input + }; + + MAZ_EZM_fnc_debugConsoleLocalModule = { + params ["_entity"]; + disableSerialization; + createDialog "RscDisplayEmpty"; + private _display = findDisplay -1; + private _debug = _display ctrlCreate ["RscDebugConsole",-1]; + _debug ctrlSetPosition [0.17,0.0599999,0.66,1]; + _display setVariable ["MAZ_EZM_debugTarget",_entity]; + + + _RSCDEBUGCONSOLE_LINK = _display ctrlCreate ["RscHTML", -1, _debug]; + _RSCDEBUGCONSOLE_LINK htmlLoad (["\A3\Ui_f\data\html\RscDebugConsole.html", "\A3\Ui_f\data\html\RscDebugConsoleCDC.html"] select (!isNull getMissionConfig "CfgDisabledCommands" && {count getMissionConfig "CfgDisabledCommands" > 0})); + _RSCDEBUGCONSOLE_LINK ctrlSetPosition [0.21,0,0.45,0.04]; + _RSCDEBUGCONSOLE_LINK ctrlSetText ""; + _RSCDEBUGCONSOLE_LINK ctrlSetBackgroundColor [0,0,0,0]; + _RSCDEBUGCONSOLE_LINK ctrlSetTextColor [1,1,1,1]; + _RSCDEBUGCONSOLE_LINK ctrlCommit 0; + + _RSCDEBUGCONSOLE_EXPRESSION = _display displayCtrl 12284; + _RSCDEBUGCONSOLE_EXPRESSION ctrlSetText (profileNamespace getVariable ["RscDebugConsole_expression", ""]); + _RSCDEBUGCONSOLE_EXPRESSION ctrlAddEventHandler ["KeyDown", { + params ["_displayOrControl", "_key", "_shift", "_ctrl", "_alt"]; + [_displayOrControl] call MAZ_EZM_fnc_saveExpression; + }]; + _RSCDEBUGCONSOLE_EXPRESSION ctrlCommit 0; + + _RSCDEBUGCONSOLE_BUTTONCODEPERFORMANCE = _display displayCtrl 13284; + _RSCDEBUGCONSOLE_BUTTONCODEPERFORMANCE ctrlAddEventHandler ["ButtonClick", { + _input = [(ctrlText ((ctrlParent (_this select 0)) displayCtrl 12284))] call MAZ_EZM_fnc_removeComments; + + [_input, nil, nil, (ctrlParent (_this select 0))] spawn BIS_fnc_codePerformance; + [(ctrlParent (_this select 0)) displayCtrl 12284] call MAZ_EZM_fnc_saveExpression; + [(ctrlParent (_this select 0)), 3] call MAZ_EZM_fnc_expressionResult; + }]; + _RSCDEBUGCONSOLE_BUTTONCODEPERFORMANCE ctrlCommit 0; + + _RSCDEBUGCONSOLE_BUTTONEXECUTESERVER = _display displayCtrl 13286; + _RSCDEBUGCONSOLE_BUTTONEXECUTESERVER ctrlAddEventHandler ["ButtonClick", { + private _debug = ctrlParent (_this select 0); + private _target = _debug getVariable ["MAZ_EZM_debugTarget",objNull]; + _input = [(ctrlText ((ctrlParent (_this select 0)) displayCtrl 12284))] call MAZ_EZM_fnc_removeComments; + _input = format ["this = _this select 0; %1",_input]; + + [[2, compile _input,_target],{[(_this select 0), (_this select 1), (_this select 2)] call MAZ_EZM_fnc_executeExpression;}] remoteExec ['call',2]; + [(ctrlParent (_this select 0)) displayCtrl 12284] call MAZ_EZM_fnc_saveExpression; + [(ctrlParent (_this select 0)), 2] call MAZ_EZM_fnc_expressionResult; + }]; + _RSCDEBUGCONSOLE_BUTTONEXECUTESERVER ctrlCommit 0; + + _RSCDEBUGCONSOLE_BUTTONEXECUTEALL = _display displayCtrl 13285; + _RSCDEBUGCONSOLE_BUTTONEXECUTEALL ctrlAddEventHandler ["ButtonClick", { + private _debug = ctrlParent (_this select 0); + private _target = _debug getVariable ["MAZ_EZM_debugTarget",objNull]; + _input = [(ctrlText ((ctrlParent (_this select 0)) displayCtrl 12284))] call MAZ_EZM_fnc_removeComments; + _input = format ["this = _this select 0; %1",_input]; + + [[1, compile _input,_target],{[(_this select 0), (_this select 1), (_this select 2)] call MAZ_EZM_fnc_executeExpression;}] remoteExec ['call',2]; + [(ctrlParent (_this select 0)) displayCtrl 12284] call MAZ_EZM_fnc_saveExpression; + [(ctrlParent (_this select 0)), 1] call MAZ_EZM_fnc_expressionResult; + }]; + _RSCDEBUGCONSOLE_BUTTONEXECUTEALL ctrlCommit 0; + + _RSCDEBUGCONSOLE_BUTTONEXECUTELOCAL = _display displayCtrl 13484; + _RSCDEBUGCONSOLE_BUTTONEXECUTELOCAL ctrlAddEventHandler ["ButtonClick", { + private _debug = ctrlParent (_this select 0); + private _target = _debug getVariable ["MAZ_EZM_debugTarget",objNull]; + _input = [(ctrlText ((ctrlParent (_this select 0)) displayCtrl 12284))] call MAZ_EZM_fnc_removeComments; + _input = format ["this = _this select 0; %1",_input]; + + private _return = [_target] call (compile _input); + [(ctrlParent (_this select 0)) displayCtrl 12284] call MAZ_EZM_fnc_saveExpression; + (parsingNamespace getVariable ["BIS_RscDebugConsoleExpressionResultCtrl", controlNull]) ctrlSetText (str _return); + }]; + _RSCDEBUGCONSOLE_BUTTONEXECUTELOCAL ctrlCommit 0; + + + _RSCDEBUGCONSOLE_BUTTONSPECTATORCAMERA = _display displayCtrl 13287; + _RSCDEBUGCONSOLE_BUTTONSPECTATORCAMERA ctrlAddEventHandler ["ButtonClick", + { + if (["IsInitialized"] call BIS_fnc_EGSpectator) exitWith + { + ["Terminate"] call BIS_fnc_EGSpectator; + ctrlParent (_this select 0) closeDisplay 2; + }; + + ["Initialize", [player, nil, true, true]] spawn BIS_fnc_EGSpectator; + }]; + _RSCDEBUGCONSOLE_BUTTONSPECTATORCAMERA ctrlCommit 0; + + _RSCDEBUGCONSOLE_BUTTONSPLENDIDCAMERA = _display displayCtrl 13288; + _RSCDEBUGCONSOLE_BUTTONSPLENDIDCAMERA ctrlAddEventHandler ["ButtonClick", {[] spawn (uiNamespace getVariable "BIS_fnc_camera")}]; + _RSCDEBUGCONSOLE_BUTTONSPLENDIDCAMERA ctrlCommit 0; + + _RSCDEBUGCONSOLE_BUTTONCANCEL = _display ctrlCreate ["RscButtonMenu", -1, _debug]; + _RSCDEBUGCONSOLE_BUTTONCANCEL ctrlSetPosition [0,0.864,0.222,0.04]; + _RSCDEBUGCONSOLE_BUTTONCANCEL ctrlSetText "CANCEL"; + _RSCDEBUGCONSOLE_BUTTONCANCEL ctrlSetBackgroundColor [0,0,0,0.8]; + _RSCDEBUGCONSOLE_BUTTONCANCEL ctrlSetTextColor [1,1,1,1]; + _RSCDEBUGCONSOLE_BUTTONCANCEL ctrlAddEventHandler ["ButtonClick", {ctrlParent (_this select 0) closeDisplay 2}]; + _RSCDEBUGCONSOLE_BUTTONCANCEL ctrlCommit 0; + + _RSCDEBUGCONSOLE_BUTTONFUNCTIONS = _display displayCtrl 13289; + _RSCDEBUGCONSOLE_BUTTONFUNCTIONS ctrlAddEventHandler ["ButtonClick", {[ctrlParent (_this select 0)] spawn (uiNamespace getVariable "BIS_fnc_help")}]; + _RSCDEBUGCONSOLE_BUTTONFUNCTIONS ctrlCommit 0; + + _RSCDEBUGCONSOLE_BUTTONCONFIG = _display displayCtrl 13290; + _RSCDEBUGCONSOLE_BUTTONCONFIG ctrlAddEventHandler ["ButtonClick", {[ctrlParent (_this select 0)] spawn (uiNamespace getVariable "BIS_fnc_configViewer")}]; + _RSCDEBUGCONSOLE_BUTTONCONFIG ctrlCommit 0; + + _RSCDEBUGCONSOLE_BUTTONANIMATIONS = _display displayCtrl 13291; + _RSCDEBUGCONSOLE_BUTTONANIMATIONS ctrlAddEventHandler ["ButtonClick", {[] spawn (uiNamespace getVariable "BIS_fnc_animViewer")}]; + _RSCDEBUGCONSOLE_BUTTONANIMATIONS ctrlCommit 0; + + _RSCDEBUGCONSOLE_BUTTONGUI = _display displayCtrl 13292; + _RSCDEBUGCONSOLE_BUTTONGUI ctrlAddEventHandler ["ButtonClick", {[] spawn BIS_fnc_guiEditor; ctrlParent (_this select 0) closeDisplay 2}]; + _RSCDEBUGCONSOLE_BUTTONGUI ctrlCommit 0; + + + { + private _value = profileNamespace getVariable ["RscDebugConsole_watch" + str (_forEachIndex + 1), [true, "", false]]; + if !(_value isEqualTypeParams [true, ""]) then {_value = [true, _value, false]}; + _x ctrlSetText (_value select 1); + if (_value select 2) then {ctrlSetFocus _x}; + _x setVariable ["RscDebugConsole_watchStatus", _value]; + + _x ctrlAddEventHandler ["KeyDown", { + params ["_displayOrControl", "_key", "_shift", "_ctrl", "_alt"]; + private _value = _displayOrControl getVariable ["RscDebugConsole_watchStatus", [true, ""]]; + if (_value select 1 isEqualTo "") then {_value set [0, true]}; + _value set [1, ctrlText _displayOrControl]; + _value set [2, _displayOrControl getVariable ["RscDebugConsole_watchPaused", false]]; + _ctrlIndex = 0; + switch (ctrlIDC _displayOrControl) do { + case 12285: {_ctrlIndex = 0;}; + case 12287: {_ctrlIndex = 1;}; + case 12289: {_ctrlIndex = 2;}; + case 12291: {_ctrlIndex = 3;}; + }; + profileNamespace setVariable ["RscDebugConsole_watch" + str (_ctrlIndex + 1), _value]; + }]; + + _x ctrlCommit 0; + } + forEach [_display displayCtrl 12285, _display displayCtrl 12287, _display displayCtrl 12289, _display displayCtrl 12291]; + + _display setVariable ["RscDebugConsole_fnc_watchField", { + params ["_input", "_output"]; + + _this = ctrlText _input; + if (_this isEqualTo "") exitWith { + _input ctrlSetBackgroundColor [0,0,0,0]; + _output ctrlSetText ""; + }; + + if (_input getVariable ["RscDebugConsole_watchPaused", false]) exitWith { + _input ctrlSetBackgroundColor [0.5,0.1,0,0.8]; + _output ctrlSetText ""; + }; + + _status = _input getVariable "RscDebugConsole_watchStatus"; + if (!(_status select 0) && {_status select 1 isEqualTo _this}) exitWith {_input ctrlSetBackgroundColor [0.5,0.1,0,0.8]}; + + _duration = diag_tickTime; + _duration = compile _this call { + _output ctrlSetText str ([nil] apply {private ["_input", "_output", "_status", "_duration"]; [] call _this} param [0, text ""]); + diag_tickTime - _duration + }; + + if (_duration < 0.003) exitWith { + _input ctrlSetBackgroundColor [0,0,0,0]; + _status set [0, true]; + }; + + _input ctrlSetBackgroundColor [0.8,0.4,0,0.5]; + _status set [0, false]; + + if (_duration > 0.1) exitWith {_status set [1, _this]}; + + _status set [1, ""]; + }]; + + _display displayAddEventHandler ["MouseMoving", {[_this select 0 displayCtrl 12285, _this select 0 displayCtrl 12286] call (_this select 0 getVariable "RscDebugConsole_fnc_watchField")}]; + _display displayAddEventHandler ["MouseHolding", {[_this select 0 displayCtrl 12285, _this select 0 displayCtrl 12286] call (_this select 0 getVariable "RscDebugConsole_fnc_watchField")}]; + _display displayAddEventHandler ["MouseMoving", {[_this select 0 displayCtrl 12287, _this select 0 displayCtrl 12288] call (_this select 0 getVariable "RscDebugConsole_fnc_watchField")}]; + _display displayAddEventHandler ["MouseHolding", {[_this select 0 displayCtrl 12287, _this select 0 displayCtrl 12288] call (_this select 0 getVariable "RscDebugConsole_fnc_watchField")}]; + _display displayAddEventHandler ["MouseMoving", {[_this select 0 displayCtrl 12289, _this select 0 displayCtrl 12290] call (_this select 0 getVariable "RscDebugConsole_fnc_watchField")}]; + _display displayAddEventHandler ["MouseHolding", {[_this select 0 displayCtrl 12289, _this select 0 displayCtrl 12290] call (_this select 0 getVariable "RscDebugConsole_fnc_watchField")}]; + _display displayAddEventHandler ["MouseMoving", {[_this select 0 displayCtrl 12291, _this select 0 displayCtrl 12293] call (_this select 0 getVariable "RscDebugConsole_fnc_watchField")}]; + _display displayAddEventHandler ["MouseHolding", {[_this select 0 displayCtrl 12291, _this select 0 displayCtrl 12293] call (_this select 0 getVariable "RscDebugConsole_fnc_watchField")}]; + + _display displayAddEventHandler ["MouseButtonDown", {ctrlSetFocus (_this select 0 displayCtrl 12284)}]; + + _display displayAddEventHandler ["KeyDown", { + if (_this select 1 in [0x1C, 0x9C]) then { + _parentDisplay = _this select 0; + if ({_x getVariable ["RscDebugConsole_watchPaused", false]} count [_parentDisplay displayCtrl 12285, _parentDisplay displayCtrl 12287,_parentDisplay displayCtrl 12289, _parentDisplay displayCtrl 12291] > 0) then { + ctrlSetFocus (_parentDisplay displayCtrl 12284); + true + }; + }; + }]; + + _display displayAddEventHandler ["KeyDown", { + params ["_parentDisplay", "_key"]; + if (_key in [0xC9, 0xD1]) then { + _expressionHistory = profileNamespace getVariable "RscDebugConsole_expressionHistory"; + _expressionResultHistory = parsingNamespace getVariable "BIS_RscDebugConsoleExpressionResultHistory"; + + _last = count _expressionHistory - 1; + + _index = 0 max ((_parentDisplay getVariable "RscDebugConsole_expressionHistory_index") + ([1, -1] select (_key == 0xD1))) min _last; + _parentDisplay setVariable ["RscDebugConsole_expressionHistory_index", _index]; + + _expressionCtrl = _parentDisplay displayCtrl 12284; + _expressionCtrl ctrlSetText (_expressionHistory select _index); + + if (ctrlEnabled _expressionCtrl) then { + _lastResult = ctrlText (parsingNamespace getVariable ["BIS_RscDebugConsoleExpressionResultCtrl", controlNull]); + _expressionResultHistory set [0, _lastResult]; + if (_lastResult isEqualTo "") then { _expressionResultHistory set [1, [0,0,0,0]] }; + }; + + if (_index < _last) then { + _expressionCtrl ctrlEnable false; + (parsingNamespace getVariable ["BIS_RscDebugConsoleExpressionResultCtrl", controlNull]) ctrlEnable false; + (parsingNamespace getVariable ["BIS_RscDebugConsoleExpressionResultCtrl", controlNull]) ctrlSetText ""; + + _parentDisplay displayCtrl 13191 ctrlSetBackgroundColor [0,0,0,0]; + _parentDisplay getVariable "RscDebugConsole_state" params ["_stateServer", "_stateGlobal", "_stateLocal"]; + + _stateServer select 0 ctrlSetText ""; + _stateGlobal select 0 ctrlSetText ""; + + if (isMultiplayer) then { + _stateServer select 0 ctrlenable false; + _stateGlobal select 0 ctrlenable false; + }; + + _stateLocal select 0 ctrlSetText format ["%1 %2", toUpper localize "str_usract_menu_select", (count _expressionHistory) - 1 - _index]; + ctrlSetFocus (_stateLocal select 0); + } else { + _expressionCtrl ctrlEnable true; + (parsingNamespace getVariable ["BIS_RscDebugConsoleExpressionResultCtrl", controlNull]) ctrlEnable true; + (parsingNamespace getVariable ["BIS_RscDebugConsoleExpressionResultCtrl", controlNull]) ctrlSetText (_expressionResultHistory select 0); + _parentDisplay displayCtrl 13191 ctrlSetBackgroundColor (_expressionResultHistory select 1); + + { + _x select 0 ctrlSetText (_x select 1); + if (isMultiplayer) then { _x select 0 ctrlEnable true }; + } forEach (_parentDisplay getVariable "RscDebugConsole_state"); + + ctrlSetFocus _expressionCtrl; + }; + + true + }; + }]; + + + _debug ctrlCommit 0; + saveProfileNamespace; + showChat true; + }; + + MAZ_EZM_fnc_openAnimViewerModule = { + params ["_entity"]; + if(isNull _entity) exitWith { + [] call BIS_fnc_animViewer; + }; + if(_entity isKindOf "CAManBase" && alive _entity) exitWith { + [[typeOf _entity, animationState _entity]] call BIS_fnc_animViewer; + }; + [] call BIS_fnc_animViewer; + }; + + MAZ_EZM_fnc_openGUIEditor = { + [] spawn { + (findDisplay 312) closeDisplay 0; + sleep 0.5; + call BIS_fnc_GUIeditor; + }; + }; + + comment "Environment"; + + MAZ_EZM_fnc_changeTimeModule = { + private _date = date; + _date params ["_year", "_month", "_day", "_hours", "_minutes"]; + (_date call BIS_fnc_sunriseSunsetTime) params ["_sunrise","_sunset"]; + private _sunriseData = [floor _sunrise, round ((_sunrise % 1) * 60)]; + { + if(_x < 10) then { + _sunriseData set [_forEachIndex,"0" + (str _x)]; + } else { + _sunriseData set [_forEachIndex,str _x]; + }; + }forEach _sunriseData; + + private _sunsetData = [floor _sunset, round ((_sunset % 1) * 60)]; + { + if(_x < 10) then { + _sunsetData set [_forEachIndex,"0" + (str _x)]; + } else { + _sunsetData set [_forEachIndex,str _x]; + }; + }forEach _sunsetData; + [format ["Change Time - Sunrise %1:%2 - Sunset %3:%4",_sunriseData # 0,_sunriseData # 1,_sunsetData # 0, _sunsetData # 1],[ + [ + "SLIDER", + "Hour:", + [0,24,_hours] + ], + [ + "SLIDER", + "Minute:", + [0,60,_minutes] + ] + ],{ + params ["_values","_pos","_display"]; + [_values,{ + params ["_hr","_min"]; + date params ["_year", "_month", "_day", "_hours", "_minutes"]; + setDate [_year,_month,_day,_hr,_min]; + }] remoteExec ['spawn',2]; + + _display closeDisplay 1; + },{ + params ["_values","_args","_display"]; + _display closeDisplay 2; + },[]] call MAZ_EZM_fnc_createDialog; + }; + + MAZ_EZM_fnc_changeDateModule = { + date params ["_year", "_month", "_day", "_hours", "_minutes"]; + ["Change Date",[ + [ + "SLIDER", + "Month:", + [0,12,_month] + ], + [ + "SLIDER", + "Day:", + [0,30,_day] + ], + [ + "SLIDER", + "Year (Does not work on Official):", + [2000,3000,_year] + ] + ],{ + params ["_values","_pos","_display"]; + _values params ["_month","_day","_year"]; + date params ["","","","_hour","_minute"]; + [[_year,_month,_day,_hour,_minute]] remoteExec ["setDate",2]; + _display closeDisplay 1; + },{ + params ["_values","_args","_display"]; + _display closeDisplay 2; + },[]] call MAZ_EZM_fnc_createDialog; + }; + + MAZ_EZM_fnc_editWeatherConditionsModule = { + fogParams params ["_fogValue","_fogDecay","_fogBase"]; + ["Edit Weather Conditions",[ + [ + "SLIDER", + ["Time for Effect","The time it takes for the changes to take effect, in in-game minutes."], + [0,60,0] + ], + [ + "SLIDER", + ["Cloud Cover","Amount of cloud cover, in percent."], + [0,100,round (overcast * 100)] + ], + [ + "SLIDER", + ["Fog","Amount of fog in percent."], + [0,100,round (_fogValue * 100)] + ], + [ + "SLIDER", + ["Fog Decay","How fast the fog decays as it moves upwards in the atmosphere, a percentage."], + [0,10,round (_fogDecay * 100)] + ], + [ + "SLIDER", + ["Fog Base","The base of the fog, in meters."], + [-1000,1000,_fogBase] + ], + [ + "SLIDER", + ["Rain Chance","The chance for it to rain, in percent.\nIn clear skies it will not rain."], + [0,100,round (rain * 100)] + ], + [ + "SLIDER", + ["Waves Strength","Strengths of the ocean waves, in percent."], + [0,100,round (waves * 100)] + ], + [ + "SLIDER", + ["Wind Strength","Strength of the wind, in percent."], + [0,100,round (windStr * 100)] + ], + [ + "SLIDER", + ["Gusts Strength","Strength of the wind gusts, in percent."], + [0,100,round (gusts * 100)] + ], + [ + "SLIDER", + ["Wind Direction","Direction of the wind and gusts, in degrees."], + [0,360,round windDir] + ] + ],{ + params ["_values","_pos","_display"]; + _display closeDisplay 1; + [_values,{ + params ["_time","_overcast","_fog","_fogDecay","_fogBase","_rain","_waves","_windStr","_gustStr","_windDir"]; + _time setOverCast (_overcast/100); + _time setFog [(_fog/100),(_fogDecay/100),_fogBase]; + _time setRain (_rain/100); + _time setWaves (_waves/100); + _time setWindStr (_windStr/100); + _time setGusts (_gustStr/100); + _time setWindDir _windDir; + if(_time == 0) then { + forceWeatherChange; + }; + }] remoteExec ['spawn',2]; + + },{ + params ["_values","_args","_display"]; + _display closeDisplay 2; + },[]] call MAZ_EZM_fnc_createDialog; + }; + + comment "Explosives"; + + MAZ_EZM_fnc_createMinefieldModule = { + private _pos = [] call MAZ_EZM_fnc_getScreenPosition; + ["Create Minefield",[ + [ + "COMBO", + "Mine Type", + [ + ["APERSMine","APERSBoundingMine","ATMine"], + ["APERS Mine","APERS Bounding Mine","AT Mine"], + 0 + ] + ], + [ + "SLIDER:RADIUS", + "Mines Radius", + [10,50,25,_pos,[1,0,0,1]] + ], + [ + "SLIDER", + "Mines Amount", + [5,35,15] + ] + ],{ + params ["_values","_pos","_display"]; + _values params ["_mineType","_radius","_amount"]; + private _mines = []; + for "_i" from 1 to _amount do { + private _randomPos = [ + [[_pos,_radius]], + [] + ] call BIS_fnc_randomPos; + + _randomPos set [2,0]; + + private _mine = createMine [_mineType,_randomPos,[],0]; + }; + + _display closeDisplay 1; + },{ + params ["_values","_args","_display"]; + _display closeDisplay 2; + },_pos] call MAZ_EZM_fnc_createDialog; + }; + + MAZ_EZM_fnc_createIEDModule = { + private _pos = [true] call MAZ_EZM_fnc_getScreenPosition; + ["Create IED",[ + [ + "COMBO", + "IED Disguise Type", + [ + [], + ["Cardboard Box","Suitcases","Trash Can","Barrels","Vehicle Wrecks"], + 0 + ] + ], + [ + "SLIDER:RADIUS", + "IED Explosive Radius", + [3,15,7,_pos,[1,0,0,1]] + ], + [ + "SIDES", + ["Sides That Trigger","Sides that when entering the radius the IED will detonate."], + [west,east,independent] + ] + ],{ + params ["_values","_pos","_display"]; + _values params ["_iedType","_radius","_sides"]; + private _trashCanTypes = ["Land_GarbageBin_01_F","TrashBagHolder_01_F"]; + private _cardboardBox = ["Land_PaperBox_01_small_destroyed_brown_F"]; + private _luggageTypes = ["Land_LuggageHeap_01_F","Land_LuggageHeap_03_F"]; + private _barrelTypes = ["Land_MetalBarrel_empty_F","Land_BarrelEmpty_grey_F","Land_BarrelEmpty_F"]; + private _vehicleWreckTypes = ["Land_Wreck_Skodovka_F","Land_Wreck_CarDismantled_F","Land_Wreck_Truck_F","Land_Wreck_Van_F","Land_Wreck_Offroad_F","Land_Wreck_Truck_dropSide_F","Land_Wreck_Offroad2_F","Land_Wreck_Car3_F","Land_Wreck_Car_F","Land_Wreck_Car2_F"]; + + _iedType = switch (_iedType) do { + case 0: {selectRandom _cardboardBox}; + case 1: {selectRandom _luggageTypes}; + case 2: {selectRandom _trashCanTypes}; + case 3: {selectRandom _barrelTypes}; + case 4: {selectRandom _vehicleWreckTypes}; + }; + + private _iedObject = createVehicle [_iedType,_pos,[],0,"CAN_COLLIDE"]; + [_iedObject] call MAZ_EZM_fnc_addObjectToInterface; + [_iedObject] call MAZ_EZM_fnc_deleteAttachedWhenDeleted; + ["IED created.","addItemOk"] call MAZ_EZM_fnc_systemMessage; + private _ied = createMine ["IEDLandSmall_F", position _iedObject,[],0]; + _ied attachTo [_iedObject,[0,0,-5]]; + [_iedObject,_ied,_radius,_sides] spawn { + params ["_obj","_ied","_radius","_sides"]; + waitUntil { + ( + (count (nearestObjects [_obj,["CAManBase"],_radius])) > 0 + ) && + ( + ((nearestObjects [_obj,["CAManBase"],_radius]) findIf {alive _x}) != -1 + ) && + ( + ((nearestObjects [_obj,["CAManBase"],_radius]) findIf {side (group _x) in _sides}) != -1 + ) + }; + private _pos = getPos _ied; + _pos set [2,0]; + _ied setPosATL _pos; + _ied setDamage 1; + sleep 0.3; + deleteVehicle _obj; + }; + + _display closeDisplay 1; + },{ + params ["_values","_args","_display"]; + _display closeDisplay 2; + },_pos] call MAZ_EZM_fnc_createDialog; + }; + + comment "Gameplay"; + + MAZ_EZM_fnc_startCountdown = { + params ["_time"]; + _time = time + _time; + MAZ_EZM_countDownStop = true; + sleep 0.1; + + with uiNamespace do { + private _display = findDisplay 46; + private _background = _display ctrlCreate ["RscPicture",-1]; + _background ctrlSetText "#(argb,8,8,3)color(0,0,0,0.8)"; + _background ctrlSetPosition [0 * safezoneW + safezoneX,0.973 * safezoneH + safezoneY,0.0515625 * safezoneW,0.033 * safezoneH]; + _background ctrlCommit 0; + + private _timerIcon = _display ctrlCreate ["RscPictureKeepAspect",-1]; + _timerIcon ctrlSetText "a3\modules_f_curator\data\portraitskiptime_ca.paa"; + _timerIcon ctrlSetPosition [0.002 * safezoneW + safezoneX,0.9755 * safezoneH + safezoneY,0.0154688 * safezoneW,0.022 * safezoneH]; + _timerIcon ctrlCommit 0; + + private _timerText = _display ctrlCreate ["RscStructuredText",-1]; + _timerText ctrlSetStructuredText parseText ""; + _timerText ctrlSetPosition [0.0204687 * safezoneW + safezoneX,0.9755 * safezoneH + safezoneY,0.0309375 * safezoneW,0.022 * safezoneH]; + _timerText ctrlCommit 0; + + MAZ_EZM_TimerControls = [_background,_timerIcon,_timerText]; + }; + + [_time] spawn { + params ["_time"]; + sleep 0.1; + MAZ_EZM_countDownStop = false; + while {time < _time && !MAZ_EZM_countDownStop} do { + private _difference = _time - time; + private _minutes = floor (_difference / 60); + private _seconds = floor (_difference % 60); + with uiNamespace do { + if(_minutes == 0) then { + (MAZ_EZM_TimerControls # 2) ctrlSetTextColor [0.85,0.4,0,1]; + }; + private _secondsStr = if(_seconds < 10) then {"0" + (str _seconds)} else {str _seconds}; + private _minutesStr = if(_minutes < 10) then {"0" + (str _minutes)} else {str _minutes}; + (MAZ_EZM_TimerControls # 2) ctrlSetStructuredText parseText (format ["%1:%2",_minutesStr,_secondsStr]); + }; + sleep 0.1; + }; + with uiNamespace do { + { + ctrlDelete _x; + }forEach MAZ_EZM_TimerControls; + }; + }; + }; + + MAZ_EZM_fnc_createCountdownModule = { + ["Create Countdown",[ + [ + "SLIDER", + "Minutes:", + [0,30,5] + ], + [ + "SLIDER", + "Seconds:", + [0,60,0] + ], + [ + "SIDES", + "Sides Who See The Timer:", + [west,east,independent,civilian] + ] + ],{ + params ["_values","_args","_display"]; + _values params ["_minutes","_seconds","_side"]; + private _sides = _side + [sideLogic]; + _seconds = round _seconds; _minutes = round _minutes; + private _timer = (_minutes * 60) + _seconds; + + if(isNil "MAZ_EZM_countdownAr") then { + MAZ_EZM_countdownAr = ['t',MAZ_EZM_fnc_startCountdown]; + publicVariable "MAZ_EZM_countdownAr"; + }; + + [[_timer], { + params ["_time"]; + [_time] call (MAZ_EZM_countdownAr # 1); + }] remoteExec ["spawn",_sides]; + + _display closeDisplay 1; + },{ + params ["_values","_args","_display"]; + _display closeDisplay 2; + },[]] call MAZ_EZM_fnc_createDialog; + }; + + comment "Markers"; + + MAZ_EZM_fnc_createAreaMarker = { + if(!visibleMap) exitWith {["Cannot place a marker without the map open!","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; + private _position = [] call MAZ_EZM_fnc_getScreenPosition; + if(isNil "MAZ_EZM_areaMarkers") then { + MAZ_EZM_areaMarkers = []; + publicVariable 'MAZ_EZM_areaMarkers'; + }; + private _marker = createMarker [format ["ZAM_EZM_marker_%1",count MAZ_EZM_areaMarkers],_position]; + _marker setMarkerSize [50,50]; + _marker setMarkerShape "ELLIPSE"; + MAZ_EZM_areaMarkers pushBack _marker; + publicVariable 'MAZ_EZM_areaMarkers'; + [_marker] call MAZ_EZM_fnc_createEditAreaMarkerDialog; + }; + + MAZ_EZM_fnc_editAreaMarker = { + params ["_marker","_values"]; + _values params ["_markerText","_markerPos","_markerSize","_markerBrush","_markerColor","_markerShape","_markerAlpha"]; + _marker setMarkerText _markerText; + _marker setMarkerPos _markerPos; + _marker setMarkerSize _markerSize; + _marker setMarkerBrush _markerBrush; + _marker setMarkerColor _markerColor; + _marker setMarkerAlpha _markerAlpha; + _marker setMarkerShape (["ELLIPSE","RECTANGLE"] select _markerShape); + }; + + MAZ_EZM_fnc_createEditAreaMarkerDialog = { + params ["_marker"]; + (getMarkerSize _marker) params ["_sizeX","_sizeY"]; + (getMarkerPos _marker) params ["_posX","_posY"]; + private _markerShapeSelect = [false,true] select (markerShape _marker == "RECTANGLE"); + private _dataList = []; + { + private _color = getArray (configFile >> "CfgMarkerColors" >> _x >> "color"); + if([0,0,0,1] isEqualTo _color) then {_color = [1,1,1,1]}; + if((_color select 0) isEqualType "") then { + { + _color set [_forEachIndex,call (compile _x)]; + }forEach _color; + }; + _dataList pushback [getText (configFile >> "CfgMarkerColors" >> _x >> "name"), "", "",_color]; + }forEach ["Default","ColorBlack","ColorGrey","ColorRed","ColorBrown","ColorOrange","ColorYellow","ColorKhaki","ColorGreen","ColorBlue","ColorPink","ColorWhite","ColorWest","ColorEAST","ColorGUER","ColorCIV","ColorUNKNOWN"]; + + private _brushList = []; + { + _brushList pushBack [getText (configFile >> "CfgMarkerBrushes" >> _x >> "name"), "", getText (configFile >> "CfgMarkerBrushes" >> _x >> "texture")]; + }forEach ["Solid","SolidFull","SolidBorder","Border","Horizontal","Vertical","Grid","FDiagonal","BDiagonal","Diaggrid","Cross"]; + + ["Edit Area Marker",[ + [ + "EDIT", + "Marker Text:", + [markerText _marker] + ], + [ + "VECTOR", + "Position:", + [[_posX,_posY],["X","Y"],2] + ], + [ + "VECTOR", + "Size:", + [[_sizeX,_sizeY],["X","Y"],2] + ], + [ + "COMBO", + "Marker Brush:", + [ + ["Solid","SolidFull","SolidBorder","Border","Horizontal","Vertical","Grid","FDiagonal","BDiagonal","Diaggrid","Cross"], + _brushList, + (["Solid","SolidFull","SolidBorder","Border","Horizontal","Vertical","Grid","FDiagonal","BDiagonal","Diaggrid","Cross"] find (markerBrush _marker)) + ] + ], + [ + "COMBO", + "Marker Color:", + [ + ["Default","ColorBlack","ColorGrey","ColorRed","ColorBrown","ColorOrange","ColorYellow","ColorKhaki","ColorGreen","ColorBlue","ColorPink","ColorWhite","ColorWest","ColorEAST","ColorGUER","ColorCIV","ColorUNKNOWN"], + _dataList, + (["Default","ColorBlack","ColorGrey","ColorRed","ColorBrown","ColorOrange","ColorYellow","ColorKhaki","ColorGreen","ColorBlue","ColorPink","ColorWhite","ColorWest","ColorEAST","ColorGUER","ColorCIV","ColorUNKNOWN"] find (markerColor _marker)) + ] + ], + [ + "TOOLBOX", + "Marker Shape:", + [_markerShapeSelect,[["ELLIPSE","Circle marker type."],["RECTANGLE","Rectangle marker type."]]] + ], + [ + "SLIDER", + "Marker Alpha:", + [ + 0, + 1, + 1, + objNull, + [1,1,1,1], + true + ] + ] + ],{ + params ["_values","_args","_display"]; + [_args,_values] call MAZ_EZM_fnc_editAreaMarker; + _display closeDisplay 1; + },{ + params ["_values","_args","_display"]; + _display closeDisplay 2; + },_marker] call MAZ_EZM_fnc_createDialog; + }; + + MAZ_EZM_fnc_createAOMarkerDialog = { + private _pos = [true] call MAZ_EZM_fnc_getScreenPosition; + ["Create AO Markers",[ + [ + "VECTOR", + "Size:", + [[500,500],["X","Y"],2] + ], + [ + "COMBO", + "Border Color:", + [ + ["Default","ColorBlack","ColorGrey","ColorRed","ColorBrown","ColorOrange","ColorYellow","ColorKhaki","ColorGreen","ColorBlue","ColorPink","ColorWhite","ColorWest","ColorEAST","ColorGUER","ColorCIV","ColorUNKNOWN"], + ["Default","ColorBlack","ColorGrey","ColorRed","ColorBrown","ColorOrange","ColorYellow","ColorKhaki","ColorGreen","ColorBlue","ColorPink","ColorWhite","ColorWest","ColorEAST","ColorGUER","ColorCIV","ColorUNKNOWN"], + 13 + ] + ] + ],{ + params ["_values","_args","_display"]; + _values params ["_size","_color"]; + [_args,_size,_color] call MAZ_EZM_fnc_createAOMarkers; + _display closeDisplay 1; + },{ + params ["_values","_args","_display"]; + _display closeDisplay 2; + },_pos] call MAZ_EZM_fnc_createDialog; + }; + + MAZ_EZM_fnc_createAOMarkers = { + params ["_pos","_size","_color"]; + private _middleLeft = [((_pos # 0) - (_size # 0)) / 2,worldSize/2]; + private _edgeRight = (_pos # 0) + (_size # 0); + private _middleRight = [((worldSize - _edgeRight) / 2) + _edgeRight,worldSize/2]; + + private _edgeTop = (_pos # 1) + (_size # 1); + private _edgeBottom = (_pos # 1) - (_size # 1); + private _middleTop = [_pos # 0, ((worldSize - _edgeTop) / 2) + _edgeTop]; + private _middleBottom = [_pos # 0, _edgeBottom / 2]; + + createMarker ["MAZ_AO_LeftMarker",[0,0,0]]; + "MAZ_AO_LeftMarker" setMarkerPos _middleLeft; + "MAZ_AO_LeftMarker" setMarkerShape "RECTANGLE"; + "MAZ_AO_LeftMarker" setMarkerBrush "SolidFull"; + "MAZ_AO_LeftMarker" setMarkerColor "ColorBlack"; + "MAZ_AO_LeftMarker" setMarkerAlpha 0.5; + "MAZ_AO_LeftMarker" setMarkerSize _middleLeft; + + createMarker ["MAZ_AO_RightMarker",[0,0,0]]; + "MAZ_AO_RightMarker" setMarkerPos _middleRight; + "MAZ_AO_RightMarker" setMarkerShape "RECTANGLE"; + "MAZ_AO_RightMarker" setMarkerBrush "SolidFull"; + "MAZ_AO_RightMarker" setMarkerColor "ColorBlack"; + "MAZ_AO_RightMarker" setMarkerAlpha 0.5; + "MAZ_AO_RightMarker" setMarkerSize [(_middleRight # 0) - _edgeRight, worldSize/2]; + + createMarker ["MAZ_AO_BottomMarker",[0,0,0]]; + "MAZ_AO_BottomMarker" setMarkerPos _middleBottom; + "MAZ_AO_BottomMarker" setMarkerShape "RECTANGLE"; + "MAZ_AO_BottomMarker" setMarkerBrush "SolidFull"; + "MAZ_AO_BottomMarker" setMarkerColor "ColorBlack"; + "MAZ_AO_BottomMarker" setMarkerAlpha 0.5; + "MAZ_AO_BottomMarker" setMarkerSize [_size # 0, _middleBottom # 1]; + + createMarker ["MAZ_AO_TopMarker",[0,0,0]]; + "MAZ_AO_TopMarker" setMarkerPos _middleTop; + "MAZ_AO_TopMarker" setMarkerShape "RECTANGLE"; + "MAZ_AO_TopMarker" setMarkerBrush "SolidFull"; + "MAZ_AO_TopMarker" setMarkerColor "ColorBlack"; + "MAZ_AO_TopMarker" setMarkerAlpha 0.5; + "MAZ_AO_TopMarker" setMarkerSize [_size # 0, (_middleTop # 1) - _edgeTop]; + + createMarker ["MAZ_AO_Border",[0,0,0]]; + "MAZ_AO_Border" setMarkerPos _pos; + "MAZ_AO_Border" setMarkerShape "RECTANGLE"; + "MAZ_AO_Border" setMarkerBrush "Border"; + "MAZ_AO_Border" setMarkerColor _color; + "MAZ_AO_Border" setMarkerSize _size; + }; + + MAZ_EZM_fnc_deleteAOMarkers = { + { + deleteMarker _x; + }forEach ["MAZ_AO_LeftMarker","MAZ_AO_RightMarker","MAZ_AO_TopMarker","MAZ_AO_BottomMarker","MAZ_AO_Border"]; + }; + + comment "Send Messages"; + + MAZ_EZM_fnc_checkForBlacklistedWords = { + params [["_message","",[""]]]; + private _isFound = false; + private _return = _message; + private _badWords = [ + ["s","h","i","t"] joinString "", + ["n","i","g","g","e"] joinString "", + ["n","i","g","g","a"] joinString "", + ["n","i","g","g","e","r"] joinString "", + ["n","i","g","g"] joinString "", + ["f","u","c","k"] joinString "", + ["c","u","n","t"] joinString "", + ["f","a","g"] joinString "", + ["g","a","y"] joinString "", + ["z","a","m"] joinString "" + ]; + + { + if(((toLower _return) find _x) != -1) then { + _isFound = true; + private _length = count _x; + private _index = (toLower _return) find _x; + _return = _return splitString ""; + for "_i" from _index to (_index + _length - 1) do { + _return set [_i,"*"]; + }; + _return = _return joinString ""; + }; + }forEach _badWords; + if(_isFound) then { + _return = [_return] call MAZ_EZM_fnc_checkForBlacklistedWords; + }; + _return + }; + + MAZ_EZM_fnc_3DSpeakModule = { + params ["_entity"]; + if (isNull _object) exitWith {["Place this module onto a unit!","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; + [ + "3D Speak Message", + [ + [ + "EDIT:MULTI", + "Message:", + [ + "3D spoken message", + 3 + ] + ], + [ + "SLIDER", + "Message Duration:", + [ + 5, + 10, + 8 + ] + ] + ], + { + params ["_values","_unit","_display"]; + _values params ["_message","_duration"]; + _message = [_message] call MAZ_EZM_fnc_checkForBlacklistedWords; + true remoteExec ['showChat']; + + private _objName = if (isPlayer _unit) then {name _unit} else {getText (configFile >> 'cfgVehicles' >> typeOf _unit >> 'displayName');}; + if (_objName == '') then { + _objName = typeOf _unit; + }; + + (format ['%3 (%1): %2', _objName, _message, str (side (group _unit))]) remoteExec ['systemChat']; + + [[_unit, _message,_duration],{ + params [["_unit", objnull], ["_message", "lorem ipsum..."], ["_duration", 8]]; + if (!isNil "MAZ_EZM_MEH_Draw3D_3DSpeak") then { + removeMissionEventHandler ['Draw3D', MAZ_EZM_MEH_Draw3D_3DSpeak]; + }; + MAZ_EZM_MEH_Draw3D_3DSpeak = addMissionEventHandler ['Draw3D', { + _thisArgs params ["_unit","_message"]; + private _pos = _unit modelToWorldVisual (_unit selectionPosition "Head"); + _pos set [2, (_pos select 2) + 0.35]; + private _intersects = lineIntersectsSurfaces [eyePos player, AGLtoASL _pos, player]; + if(count _intersects > 0) exitWith {}; + if(player distance _pos > 45) exitWith {}; + drawIcon3D + [ + "", + [1,1,1,1], + _pos, + 0, + -2, + 0, + _message, + 2, + 0.035, + "RobotoCondensedBold", + "center", + false + ]; + },[_unit,_message]]; + uiSleep _duration; + if (!isNil 'MAZ_EZM_MEH_Draw3D_3DSpeak') then { + removeMissionEventHandler ['Draw3D', MAZ_EZM_MEH_Draw3D_3DSpeak]; + }; + }] remoteExec ['spawn']; + + _display closeDisplay 1; + }, + { + params ["_values","_args","_display"]; + _display closeDisplay 2; + }, + _entity + ] call MAZ_EZM_fnc_createDialog; + }; + + MAZ_EZM_fnc_sendSubtitleModule = { + ["Send Subtitle Message",[ + [ + "EDIT", + "Sender Name", + [missionNamespace getVariable ["EZM_senderName","High Command"]] + ], + [ + "EDIT:MULTI", + "Message", + ["Message..."] + ], + [ + "SIDES", + "Sides Who See The Message", + [west,east,independent,civilian] + ] + ],{ + params ["_values","_args","_display"]; + _values params ["_sender","_message","_side"]; + private _sides = _side + [sideLogic]; + private _targets = []; + { + if(side (group _x) in _sides) then { + _targets pushBack _x; + }; + }forEach allPlayers; + if(count _message > 300) exitWith { + ["Message too long! Cannot send, max characters is 300.","addItemFailed"] call MAZ_EZM_fnc_systemMessage; + }; + _message = [_message] call MAZ_EZM_fnc_checkForBlacklistedWords; + [ + _sender, + _message + ] remoteExec ['BIS_fnc_showSubtitle',_targets]; + missionNamespace setVariable ["EZM_senderName",_sender]; + _display closeDisplay 1; + },{ + params ["_values","_args","_display"]; + _display closeDisplay 2; + },[]] call MAZ_EZM_fnc_createDialog; + }; + + EZM_fnc_getNumberOfSpeakers = { + params ['_topic','_container','_sentence']; + private ['_speakers','_cfgSentences','_actor','_numberOfSpeakers']; + _speakers = []; + _cfgSentences = (configfile >> "CfgSentences" >> _topic >> _container >> "Sentences") call BIS_fnc_getCfgSubClasses; + { + _sentence = _x; + _actor = getText (configFile >> "CfgSentences" >> _topic >> _container >> "Sentences" >> _sentence >> "Actor"); + if (not (_actor in _speakers)) then + { + _speakers pushBackUnique _actor; + }; + } forEach _cfgSentences; + _numberOfSpeakers = count _speakers; + _numberOfSpeakers + }; + + MAZ_EZM_fnc_moduleDialogMessage = { + params["_object"]; + with uiNamespace do { + createDialog "RscDisplayEmpty"; + showchat true; + _display = (findDisplay -1); + EMAZllDialogControls = []; + EZMDialogLastIndex = [0]; + _ctrl = _display ctrlCreate ["RscPicture",-1]; + _ctrl ctrlSetPosition [0.375312 * safezoneW + safezoneX,0.234 * safezoneH + safezoneY,0.249375 * safezoneW,0.56 * safezoneH]; + _ctrl ctrlSetText ("#(argb,8,8,3)color(1,1,1,1)"); + _ctrl ctrlSetTextColor [0,0,0,0.5]; + _ctrl ctrlCommit 0; + EMAZllDialogControls pushBack _ctrl; + _ctrl = _display ctrlCreate ["RscPicture",-1]; + _ctrl ctrlSetPosition [0.381875 * safezoneW + safezoneX,0.248 * safezoneH + safezoneY,0.23625 * safezoneW,0.532 * safezoneH]; + _ctrl ctrlSetText ("#(argb,8,8,3)color(1,1,1,1)"); + _ctrl ctrlSetTextColor [0,0,0,0.5]; + _ctrl ctrlCommit 0; + EMAZllDialogControls pushBack _ctrl; + _ctrl = _display ctrlCreate ["RscStructuredText",-1]; + _ctrl ctrlSetPosition [0.375312 * safezoneW + safezoneX,0.206926 * safezoneH + safezoneY,0.248854 * safezoneW,0.028 * safezoneH]; + _ctrl ctrlSetStructuredText parseText ("Dialog Selection"); + _ctrl ctrlSetBackgroundColor [0,0.5,1,1]; + _ctrl ctrlCommit 0; + EMAZllDialogControls pushBack _ctrl; + _ctrl = _display ctrlCreate ["RscCombo",-1]; + _ctrl ctrlSetPosition [0.375312 * safezoneW + safezoneX,0.794 * safezoneH + safezoneY,0.249375 * safezoneW,0.042 * safezoneH]; + _ctrl lbAdd "GLOBAL"; + _ctrl lbAdd "BLUFOR"; + _ctrl lbAdd "OPFOR"; + _ctrl lbAdd "Independent"; + _ctrl lbAdd "Civilian"; + _ctrl lbSetCurSel 0; + _ctrl ctrlCommit 0; + _ctrl ctrlShow false; + EZMDialogCombo = _ctrl; + EMAZllDialogControls pushBack _ctrl; + _ctrl = _display ctrlCreate ["RscTree",-1]; + _ctrl ctrlSetPosition [0.388437 * safezoneW + safezoneX,0.262 * safezoneH + safezoneY,0.223125 * safezoneW,0.434 * safezoneH]; + _ctrl ctrlCommit 0; + EZMDialogTree = _ctrl; + EMAZllDialogControls pushBack _ctrl; + _ctrl ctrlAddEventHandler ["TreeSelChanged",{ + params ["_control", "_selectedIndex"]; + with uiNamespace do {EZMDialogLastIndex = _selectedIndex;}; + }]; + _allDialogClasses = (configFile >> "CfgSentences") call BIS_fnc_getCfgSubClasses; + { + _topic = _x; + _pindex = _ctrl tvAdd [[],_topic]; + _ctrl tvSetData [[_pindex],_topic]; + _containers = (configFile >> "CfgSentences" >> _topic) call BIS_fnc_getCfgSubClasses; + { + _container = _x; + _cindex = _ctrl tvAdd [[_pindex],_container]; + _ctrl tvSetData [[_pindex,_cindex],_container]; + _sentences = (configFile >> "CfgSentences" >> _topic >> _container >> "Sentences") call BIS_fnc_getCfgSubClasses; + { + _sentence = _x; + _textPlain = getText(configFile >> "CfgSentences" >> _topic >> _container >> "Sentences" >> _sentence >> "textPlain"); + if(_textPlain isEqualTo "") then + { + _textPlain = getText(configFile >> "CfgSentences" >> _topic >> _container >> "Sentences" >> _sentence >> "text"); + }; + _index = _ctrl tvAdd [[_pindex,_cindex],_textPlain]; + _ctrl tvSetData [[_pindex,_cindex,_index],_sentence]; + } foreach _sentences; + } foreach _containers; + } foreach _allDialogClasses; + _ctrl = _display ctrlCreate ["RscButtonMenu",-1]; + _ctrl ctrlSetPosition [0.388437 * safezoneW + safezoneX,0.71 * safezoneH + safezoneY,0.223125 * safezoneW,0.056 * safezoneH]; + _ctrl ctrlSetStructuredText parseText ("PLAY DIALOG"); + _ctrl ctrlCommit 0; + EMAZllDialogControls pushBack _ctrl; + _ctrl ctrlAddEventHandler ["ButtonDown",{ + _comboBox = controlNull; + _tree = controlNull; + with uiNamespace do { + _tree = EZMDialogTree; + _comboBox = EZMDialogCombo; + }; + _channel = _comboBox lbText (lbCurSel _comboBox); + _index = tvCurSel _tree; + _topic = _tree tvData [(_index select 0)]; + _container = _tree tvData [(_index select 0),(_index select 1)]; + _sentence = _tree tvData _index; + _numberOfSpeakers = [_topic,_container,_sentence] call EZM_fnc_getNumberOfSpeakers; + _speakers = []; + _group = createGroup (playerSide); + _crewman = _group createUnit ["B_Story_SF_Captain_F",[0,0,0],[],0,"CAN_COLLIDE"]; + _crewman hideObjectGlobal true; + [_crewman] joinSilent _group; + removeAllWeapons _crewman; + [_crewman,_group] spawn + { + params ["_crewman","_group"]; + sleep 60; + deleteVehicle _crewman; + deleteGroup _group; + }; + for "_i" from 0 to (_numberOfSpeakers-1) do {_speakers pushBack _crewman;}; + [_container, _topic, [_sentence,_sentence], _channel, {true},_speakers, 1, true] spawn BIS_fnc_kbTell; + closeDialog 1; + [getAssignedCuratorLogic player, " "] call BIS_fnc_showCuratorFeedbackMessage; + }]; + }; + }; + + comment "Object Modifiers"; + + MAZ_EZM_fnc_attachToNearestModule = { + params ["_entity"]; + if(_entity isEqualTo objNull) exitWith {["No object selected.","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; + + private _nearestObjects = nearestObjects [_entity,["AllVehicles"],50]; + _nearestObjects = (_nearestObjects - [_entity]); + _nearestObject = _nearestObjects select 0; + if(isNil "_nearestObject") exitWith {["No near objects.","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; + [_entity,_nearestObject] call BIS_fnc_attachToRelative; + ["Object attached.","addItemOk"] call MAZ_EZM_fnc_systemMessage; + }; + + MAZ_EZM_fnc_detachModule = { + params ["_entity"]; + if(_entity isEqualTo objNull) exitWith {["No object selected.","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; + + {detach _x;} foreach attachedObjects _entity; + {detach _x;} foreach attachedObjects attachedTo _entity; + + ["Object detached.","addItemOk"] call MAZ_EZM_fnc_systemMessage; + }; + + MAZ_EZM_fnc_editObjectAttributesModule = { + params ["_entity"]; + if(isNull _entity) exitWith {["Place the module onto an object!","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; + private _textures = getObjectTextures _entity; + + private _objName = if (isPlayer _entity) then {name _entity} else {getText (configFile >> 'cfgVehicles' >> typeOf _entity >> 'displayName');}; + if (_objName == '') then { + _objName = typeOf _entity; + }; + + private _uiData = [ + [ + "EDIT:MULTI", + "Object Init:", + [ + "", + 3 + ] + ], + [ + "TOOLBOX:YESNO", + "God Mode:", + [ + !isDamageAllowed _entity + ] + ], + [ + "TOOLBOX:YESNO", + "Hide Object:", + [ + isObjectHidden _entity + ] + ], + [ + "TOOLBOX:YESNO", + "Enable Simulation:", + [ + simulationEnabled _entity + ] + ], + [ + "COMBO", + "Lock State:", + [ + ["0","1","2","3"], + ["Unlocked","Default","Locked","Locked for Players"], + locked _entity + ] + ] + ]; + + { + _uiData pushBack [ + "EDIT", + format ["Texture [%1]:",_forEachIndex], + [_x] + ] + }forEach _textures; + + [ + format ["Object Attributes Editor (%1)",_objName], + _uiData, + { + params ["_values","_entity","_display"]; + _values params ["_init","_godMode","_hidden","_sim","_lockState","_tex1","_tex2","_tex3","_tex4"]; + _entity call (compile _init); + _entity allowDamage !_godMode; + [_entity,_hidden] remoteExec ["hideObjectGlobal",2]; + [_entity,_sim] remoteExec ["enableSimulationGlobal",2]; + [_entity,parseNumber _lockState] remoteExec ["lock"]; + { + _entity setObjectTextureGlobal [_forEachIndex,_x]; + }forEach [_tex1,_tex2,_tex3,_tex4]; + _display closeDisplay 1; + }, + { + params ["_values","_args","_display"]; + _display closeDisplay 2; + }, + _entity + ] call MAZ_EZM_fnc_createDialog; + }; + + MAZ_EZM_fnc_toggleSimulationModule = { + params ["_entity"]; + if(_entity isEqualTo objNull) exitWith {["No object selected.","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; + + private _simmed = simulationEnabled _entity; + [_entity, !_simmed] remoteExec ["enableSimulationGlobal", 2]; + [["Object's simulation disabled.", "Object's simulation enabled."] select !_simmed,"addItemOk"] call MAZ_EZM_fnc_systemMessage; + }; + + MAZ_EZM_fnc_toggleInvincibleModule = { + params ["_entity"]; + if(_entity isEqualTo objNull) exitWith {["No object selected.","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; + + private _god = isDamageAllowed _entity; + [_entity,!_god] remoteExec ["allowDamage"]; + [["Object is god moded", "Object is no longer god moded."] select !_god,"addItemOk"] call MAZ_EZM_fnc_systemMessage; + }; + + MAZ_EZM_fnc_toggleHideObjectModule = { + params ["_entity"]; + if(_entity isEqualTo objNull) exitWith {["No object selected.","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; + + private _hidden = isObjectHidden _entity; + [_entity,!_hidden] remoteExec ["hideObjectGlobal",2]; + [["Object is hidden.","Object is shown."] select _hidden,"addItemOk"] call MAZ_EZM_fnc_systemMessage; + + private _objects = missionNamespace getVariable ["MAZ_EZM_hiddenObjects",[]]; + if(_hidden) then { + _objects deleteAt (_objects find _entity); + } else { + _objects pushBack _entity; + }; + missionNamespace setVariable ["MAZ_EZM_hiddenObjects",_objects,true]; + }; + + MAZ_EZM_fnc_unHideObjectAllModule = { + params ["_entity"]; + if(isNil "MAZ_EZM_hiddenObjects") exitWith {}; + { + [_x,false] remoteExec ['hideObjectGlobal',2]; + }forEach MAZ_EZM_hiddenObjects; + MAZ_EZM_hiddenObjects = []; + publicVariable "MAZ_EZM_hiddenObjects"; + + ["All hidden objects are revealed.","addItemOk"] call MAZ_EZM_fnc_systemMessage; + }; + + MAZ_EZM_fnc_replaceWithSimpleObject = { + params ["_object"]; + if(isPlayer _object || (typeOf _object) isKindOf "CAManBase") exitWith {["Not an object!","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; + private _typeOf = typeOf _object; + private _objPos = getPosASL _object; + private _vectorDir = vectorDir _object; + private _vectorUp = vectorUp _object; + + deleteVehicle _object; + private _newSimpleObj = createSimpleObject [_typeOf,_objPos]; + _newSimpleObj setVectorDirAndUp [_vectorDir,_vectorUp]; + private _logic = createVehicle ["Land_HelipadEmpty_F",_objPos,[],0,"CAN_COLLIDE"]; + [_logic] call MAZ_EZM_fnc_addObjectToInterface; + [_newSimpleObj,_logic] call BIS_fnc_attachToRelative; + [_newSimpleObj,_logic] spawn { + params ["_newSimpleObj","_logic"]; + [[_newSimpleObj,_logic],{ + params ["_newSimpleObj","_logic"]; + waitUntil {isNull _logic}; + deleteVehicle _newSimpleObj; + }] remoteExec ["spawn",2]; + }; + ["Object replaced with simple object.","addItemOk"] call MAZ_EZM_fnc_systemMessage; + }; + + comment "Player Modifiers"; + + MAZ_EZM_fnc_disarmModule = { + params ["_entity"]; + if(isNull _entity || !((typeOf _entity) isKindOf "Man")) exitWith {["Unit is not suitable.","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; + _entity remoteExec ['removeAllWeapons']; + + ["Weapons have been removed from the unit.","addItemOk"] call MAZ_EZM_fnc_systemMessage; + }; + + MAZ_EZM_fnc_healAndReviveModule = { + params ["_entity"]; + if(isNull _entity || !((typeOf _entity) isKindOf "Man")) exitWith {["Unit is not suitable.","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; + + if(isPlayer _entity) then { + [[],{ + player setDamage 0; + ["#rev",1,player] call BIS_fnc_reviveOnState; + }] remoteExec ['spawn',_entity]; + } else { + _entity setDamage 0; + }; + + ["The unit has been healed, and revived if possible.","addItemOk"] call MAZ_EZM_fnc_systemMessage; + }; + + MAZ_EZM_fnc_healAndReviveAllModule = { + [[],{ + player setDamage 0; + ["#rev",1,player] call BIS_fnc_reviveOnState; + }] remoteExec ['spawn',-2]; + ["The players have been healed, and revived if possible.","addItemOk"] call MAZ_EZM_fnc_systemMessage; + }; + + MAZ_EZM_fnc_changeSideModule = { + params ["_entity"]; + if(isNull _entity || !((typeOf _entity) isKindOf "Man")) exitWith {["Unit is not suitable.","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; + ["Change Unit Side",[ + [ + "SIDES", + "New Side", + (side _entity) + ] + ],{ + params ["_values","_args","_display"]; + private _grp = (createGroup [(_values # 0),true]); + + if((typeOf _args) isKindOf "Man") then { + private _count = {alive _x} count (units (group _args)); + if(_count > 1 && !isPlayer _args) then { + private _leader = leader (group _args); + (units (group _args)) joinSilent _grp; + _grp selectLeader _leader; + ["Unit group side is changed."] call MAZ_EZM_fnc_systemMessage; + } else { + [_args] joinSilent _grp; + ["Unit side is changed."] call MAZ_EZM_fnc_systemMessage; + }; + }; + if((typeOf _args) isKindOf "LandVehicle" || (typeOf _args) isKindOf "Air" || (typeOf _args) isKindOf "Ship") then { + (crew _args) joinSilent _grp; + ["Vehicle crew side is changed."] call MAZ_EZM_fnc_systemMessage; + }; + playSound 'addItemOk'; + _display closeDisplay 1; + },{ + params ["_values","_args","_display"]; + _display closeDisplay 2; + },_entity] call MAZ_EZM_fnc_createDialog; + }; + + MAZ_EZM_fnc_forceEjectModule = { + params ["_entity"]; + if(isNull _entity) exitWith {["No object selected.","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; + + { + moveOut _x; + } foreach (crew _entity); + + ["Units have been ejected from the vehicle.","addItemOk"] call MAZ_EZM_fnc_systemMessage; + }; + + MAZ_EZM_fnc_muteServerModule = { + private _muted = missionNamespace getVariable ["MAZ_EZM_ServerMuted",false]; + private _zeuses = allCurators apply {getAssignedCuratorUnit _x}; + [[_muted],{ + params ["_muted"]; + 0 enableChannel [true,_muted]; + 1 enableChannel [true,_muted]; + 2 enableChannel [true,_muted]; + 3 enableChannel [true,_muted]; + }] remoteExec ['spawn',(allPlayers - _zeuses)]; + _muted = !_muted; + missionNamespace setVariable ["MAZ_EZM_ServerMuted",_muted,true]; + [["The server has been unmuted.","The server has been muted."] select _muted,"addItemOk"] call MAZ_EZM_fnc_systemMessage; + }; + + MAZ_EZM_fnc_resetLoadout = { + params ["_entity"]; + if(isNull _entity || !((typeOf _entity) isKindOf "Man")) exitWith {["Unit is not suitable.","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; + _entity setUnitLoadout (configFile >> "EmptyLoadout"); + comment ' + TODO : Version 2.20 + _entity spawn { + waitUntil {!isSwitchingWeapon _this}; + _this setUnitLoadout (configFile >> "EmptyLoadout"); + }'; + + if(isPlayer _entity) then { + [[], { + if (!isNil "M9SD_EH_arsenalRespawnLoadout") then { + player removeEventHandler["Respawn", M9SD_EH_arsenalRespawnLoadout]; + }; + }] remoteExec ["spawn",_entity]; + }; + }; + + MAZ_EZM_fnc_killUnit = { + params ["_entity"]; + if(isNull _entity || !((typeOf _entity) isKindOf "Man")) exitWith {["Unit is not suitable.","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; + _entity setDamage 1; + }; + + comment "Server Settings"; + + MAZ_EZM_fnc_getFriendlyTo = { + params ["_side"]; + private _friendlySides = []; + { + private _isFriendly = _side getFriend _x; + if(_isFriendly > 0.6) then { + comment "Friendly"; + _friendlySides pushBack _x; + } else { + comment "Hostile"; + + }; + } forEach ([west,east,independent,civilian] - [_side]); + _friendlySides + }; + + MAZ_EZM_fnc_changeSideRelationsModule = { + ["Change Side Relations",[ + [ + "SIDES", + "Sides BLUFOR are friendly to:", + [west] call MAZ_EZM_fnc_getFriendlyTo + ], + [ + "SIDES", + "Sides OPFOR is friendly to:", + [east] call MAZ_EZM_fnc_getFriendlyTo + ], + [ + "SIDES", + "Sides INDEPENDENT is friendly to:", + [independent] call MAZ_EZM_fnc_getFriendlyTo + ], + [ + "SIDES", + "Sides CIVILIANS are friendly to:", + [civilian] call MAZ_EZM_fnc_getFriendlyTo + ] + ],{ + params ["_values","_args","_display"]; + { + private _sides = _x; + + private _side = switch (_forEachIndex) do { + case 0: {west}; + case 1: {east}; + case 2: {independent}; + case 3: {civilian}; + }; + + { + [_side,[_x,1]] remoteExec ["setFriend",2]; + }forEach _sides; + + private _enemySides = ([west,east,independent,civilian] - [_side]) - _sides; + + { + [_side,[_x,0.5]] remoteExec ["setFriend",2]; + }forEach _enemySides; + }forEach _values; + _display closeDisplay 1; + },{ + params ["_values","_args","_display"]; + _display closeDisplay 2; + },[]] call MAZ_EZM_fnc_createDialog; + }; + + MAZ_EZM_fnc_setRespawnTimerModule = { + ["Set Respawn Timer",[ + [ + "SLIDER", + "Timer", + [1,15,15] + ] + ],{ + params ["_values","_args","_display"]; + private _timer = round (_values # 0); + MAZ_EZM_respawnTimer = _timer + 5; + publicVariable 'MAZ_EZM_respawnTimer'; + [[],{ + if(!isNil "MAZ_EZM_respawnTimerEH") then { + player removeEventHandler ["Respawn",MAZ_EZM_respawnTimerEH]; + }; + setPlayerRespawnTime MAZ_EZM_respawnTimer; + MAZ_EZM_respawnTimerEH = player addEventHandler ["Respawn",{ + [] spawn { + sleep 3; + setPlayerRespawnTime MAZ_EZM_respawnTimer; + }; + }]; + }] remoteExec ['spawn',0,'MAZ_EZM_respawnTimer']; + ["Respawn timer applied.","addItemOk"] call MAZ_EZM_fnc_systemMessage; + _display closeDisplay 1; + },{ + params ["_values","_args","_display"]; + _display closeDisplay 2; + },[]] call MAZ_EZM_fnc_createDialog; + }; + + MAZ_EZM_fnc_noTeamKillersModule = { + [[],{ + private _score = rating player; + if(_score < 0) then { + player addRating (_score + 2000); + }; + if(_score < 2000) then { + player addRating (2000 - _score); + }; + }] remoteExec ['spawn',-2]; + }; + + MAZ_EZM_fnc_disableMortarsModule = { + MAZ_EZM_mortarTypes = ["I_Mortar_01_F","O_Mortar_01_F","I_E_Mortar_01_F","B_G_Mortar_01_F","I_G_Mortar_01_F","O_G_Mortar_01_F","B_Mortar_01_F","B_T_Mortar_01_F"]; + publicVariable 'MAZ_EZM_mortarTypes'; + + if(isNil "MAZ_EZM_mortarsDisabled") then { + MAZ_EZM_mortarsDisabled = false; + publicVariable 'MAZ_EZM_mortarsDisabled'; + }; + + if(MAZ_EZM_mortarsDisabled) then { + [[],{ + if(!isNil "MAZ_EZM_disableMortarEH") then { + player removeEventhandler ["GetInMan",MAZ_EZM_disableMortarEH]; + }; + }] remoteExec ['spawn',0,"MAZ_EZM_toggleMortars"]; + ["Mortars have been re-enabled.","addItemOk"] call MAZ_EZM_fnc_systemMessage; + MAZ_EZM_mortarsDisabled = false; + publicVariable 'MAZ_EZM_mortarsDisabled'; + } else { + [[],{ + if(!isNil "MAZ_EZM_disableMortarEH") then { + player removeEventhandler ["GetInMan",MAZ_EZM_disableMortarEH]; + }; + MAZ_EZM_disableMortarEH = player addEventHandler ["GetInMan",{ + params ["_unit", "_role", "_vehicle", "_turret"]; + if((typeOf _vehicle) in MAZ_EZM_mortarTypes) then { + player action ["getOut", _vehicle]; + hint "Sorry! Mortars have been disabled by the Zeus!"; + }; + }]; + }] remoteExec ['spawn',0,"MAZ_EZM_toggleMortars"]; + ["Mortars have been disabled.","addItemOk"] call MAZ_EZM_fnc_systemMessage; + MAZ_EZM_mortarsDisabled = true; + publicVariable 'MAZ_EZM_mortarsDisabled'; + }; + }; + + MAZ_EZM_fnc_482SideSwitchInit = { + ["Set View Distance",[ + [ + "SIDES", + "Side to switch to", + west + ], + [ + "COMBO", + "Side Flag", + [ + [], + [ + ["NATO (BLUFOR)","","\A3\Data_F\Flags\flag_NATO_CO.paa"], + ["CSAT (OPFOR)","","a3\data_f\flags\flag_csat_co.paa"], + ["AAF (INDEPENDENT)","","a3\data_f\flags\flag_aaf_co.paa"], + ["FIA (OPFOR)","","a3\data_f\flags\flag_fia_co.paa"], + ["RUS (OPFOR)","","a3\data_f_enoch\flags\flag_rus_co.paa"], + ["LDF (INDEPENDENT)","","a3\data_f_enoch\flags\flag_eaf_co.paa"], + ["Syndikat (INDEPENDENT)","","a3\data_f_exp\flags\flag_synd_co.paa"], + ["United Nations","","a3\data_f\flags\flag_uno_co.paa"], + ["United States","","a3\data_f\flags\flag_us_co.paa"], + ["United Kingdom","","a3\data_f\flags\flag_uk_co.paa"], + ["ION","","a3\data_f\flags\flag_ion_co.paa"] + ], + 0 + ] + ], + [ + "EDIT", + "Side Name Override", + ["Override"] + ] + ],{ + params ["_values","_args","_display"]; + _values params ["_side","_flagIndex","_nameOverride"]; + ([ + ["\A3\Data_F\Flags\flag_NATO_CO.paa","NATO (BLUFOR)"], + ["a3\data_f\flags\flag_csat_co.paa","CSAT (OPFOR)"], + ["a3\data_f\flags\flag_aaf_co.paa","AAF (INDEPENDENT)"], + ["a3\data_f\flags\flag_fia_co.paa","FIA (OPFOR)"], + ["a3\data_f_enoch\flags\flag_rus_co.paa","RUSSIA (OPFOR)"], + ["a3\data_f_enoch\flags\flag_eaf_co.paa","LDF (INDEPENDENT)"], + ["a3\data_f_exp\flags\flag_synd_co.paa","Syndikat (INDEPENDENT)"], + ["a3\data_f\flags\flag_uno_co.paa","United Nations"], + ["a3\data_f\flags\flag_us_co.paa","United States"], + ["a3\data_f\flags\flag_uk_co.paa","United Kingdom"], + ["a3\data_f\flags\flag_ion_co.paa","ION"] + ] select _flagIndex) params ["_flag","_name"]; + if(_nameOverride != "" && _nameOverride != "Override") then { + _name = _nameOverride; + }; + [_side,_flag,_name] call MAZ_EZM_fnc_482SideSwitcher; + _display closeDisplay 1; + },{ + params ["_values","_args","_display"]; + _display closeDisplay 2; + },[]] call MAZ_EZM_fnc_createDialog; + }; + + MAZ_EZM_fnc_482SideSwitcher = { + params [ + ["_side",west,[west]], + ["_flag","\A3\Data_F\Flags\flag_NATO_CO.paa",[""]], + ["_text","BLUFOR
(NATO)",[""]] + ]; + private _defaultGroup = createGroup _side; + private _defaultGroupLogic = _defaultGroup createUnit ['Logic', [0,0,0], [], 0, 'NONE']; + private _color = ([_side] call BIS_fnc_sideColor) call BIS_fnc_colorRGBAtoHTML; + private _structuredText = format ["--------------------------------------------------------------
You have been assigned to a team!
--------------------------------------------------------------



%1
--------------------------------------------------------------", _text, _color, _flag]; + private _stringToHint = parseText _structuredText; + [[_defaultGroup,_stringToHint, _side],{ + params ["_group","_text","_side"]; + if (!hasInterface) exitWith {}; + waitUntil { !isNil { player } && { !isNull player } }; + waitUntil { !isNull (findDisplay 46) }; + sleep 0.1; + if(!(isNull (getAssignedCuratorLogic player))) exitWith {}; + if(isNull _group) then { + comment "Some goober deleted the default group!"; + comment "Find a group of the same side and join it!"; + if(side (group player) != _side) then { + private _allGroupsWithPlayers = []; + { _allGroupsWithPlayers pushBackUnique (group _x) } forEach allPlayers; + private _newGroup = _allGroupsWithPlayers select {side _x == _side}; + if(count _newGroup == 0) exitWith { + comment "Nobody in the server OR no groups of that side... you're a lost cause..."; + }; + _newGroup = selectRandom _newGroup; + while {(side (group player) != _side)} do { + [player] joinSilent _newGroup; + sleep 0.5; + }; + }; + } else { + if(side (group player) != side _group) then { + while {(side (group player) != side _group)} do { + [player] joinSilent _group; + sleep 0.5; + }; + hint _text; + }; + }; + }] remoteExec ['spawn',0,"EZM_sideSwitcher"]; + }; + + MAZ_EZM_fnc_changeMapIndicators = { + private _values = missionNamespace getVariable ["MAZ_EZM_mapIndicators",[true,true,true,false]]; + ["Set Map Indicators",[ + [ + "TOOLBOX", + "Hide Friendlies", + [_values # 0,[["Show","Shows friendly position icons on the map."],["Hide","Doesn't show friendly position icons on the map."]]] + ], + [ + "TOOLBOX", + "Hide Enemies", + [_values # 1,[["Show","Shows enemy position icons on the map."],["Hide","Doesn't show enemy position icons on the map."]]] + ], + [ + "TOOLBOX", + "Hide Mines", + [_values # 2,[["Show","Shows mine position icons on the map."],["Hide","Doesn't show mine position icons on the map."]]] + ], + [ + "TOOLBOX", + "Hide Pings", + [_values # 3,[["Show","Shows ping icons on the map."],["Hide","Doesn't show ping icons on the map."]]] + ] + ],{ + params ["_values","_args","_display"]; + missionNamespace setVariable ["MAZ_EZM_mapIndicators",_values,true]; + [[], { + waitUntil {sleep 0.1; private _var = missionNamespace getVariable "MAZ_EZM_mapIndicators"; !isNil "_var"}; + disableMapIndicators (missionNamespace getVariable "MAZ_EZM_mapIndicators"); + }] remoteExec ['spawn',0,"MAZ_EZM_mapIndicators_JIP"]; + _display closeDisplay 1; + },{ + params ["_values","_args","_display"]; + _display closeDisplay 2; + },[]] call MAZ_EZM_fnc_createDialog; + }; + + comment "Sounds"; + + M9sd_fnc_moduleOpenJUKEBOX = { + params [["_object", objNull]]; + if (isNil 'M9_open_jukebox') then { + M9_open_jukebox = { + comment " + Author: + Killzone_Kid, + Edited by M9-SD + + Description: + A utility for playing music from CfgMusic + * Added button to play globally. + "; + + if (isNil 'M9_jukebox_selectedTrack_className') then { + M9_jukebox_selectedTrack_trackName = ''; + M9_jukebox_selectedTrack_className = ''; + M9_jukebox_selectedTrack_filePath = ''; + }; + + disableSerialization; + + private _fnc_addControlGroup = + { + params ["_display", "_class", "_position", "_bgcolor", "_fgcolor"]; + private _ctrl = _display ctrlCreate [_class, -1]; + _ctrl ctrlSetPosition _position; + _ctrl ctrlSetBackgroundColor _bgcolor; + _ctrl ctrlSetTextColor _fgcolor; + _ctrl ctrlCommit 0; + _ctrl + }; + + private _fnc_addControl = + { + params ["_display", "_class", "_text", "_position", "_bgcolor", "_fgcolor", "_tip", "_enable", ["_ctrlGroup", controlNull], ["_idc", -1]]; + _text params ["_text", "_font", "_size"]; + + private _ctrl = call + { + if (isNull _ctrlGroup) exitWith + { + _display ctrlCreate [_class, _idc]; + }; + _display ctrlCreate [_class, _idc, _ctrlGroup]; + }; + _ctrl ctrlSetPosition _position; + _ctrl ctrlSetBackgroundColor _bgcolor; + _ctrl ctrlSetTextColor _fgcolor; + if !(_text isEqualTo "") then {_ctrl ctrlSetText _text}; + if !(_font isEqualTo "") then {}; + if (_size > 0) then {_ctrl ctrlSetFontHeight _size}; + _ctrl ctrlCommit 0; + _ctrl ctrlSetTooltip _tip; + _ctrl ctrlEnable _enable; + _ctrl; + }; + + private ["_frame", "_close"]; + + private _missionDisplay = displayNull; + private _functionDisplay = displayNull; + + isNil + { + _missionDisplay = findDisplay 312; + { + if (_x getVariable ['__FILE__', false]) then + { + _x closeDisplay 2; + }; + } + forEach allDisplays; + + createDialog "RscDisplayEmpty"; + + _functionDisplay = findDisplay -1; + + _functionDisplay setVariable ['__FILE__', true]; + + [_functionDisplay, "RscText", ["","",0], [safeZoneXAbs, safeZoneY, safeZoneWAbs, safeZoneH], [0,0,0,0.9], [0,0,0,0], "", false] call _fnc_addControl; + _frame = [_functionDisplay, "RscEditMulti", ["","",0], [-0.01, -0.01, 1.02, 1.02], [0.1,0.1,0.1,1], [1,1,1,0.5], "", false] call _fnc_addControl; + _close = [_functionDisplay, "RscButtonMenu", ["X","PuristaMedium",0.03], [0.965, 0, 0.035, 0.04], [0.15,0.15,0.15,1], [1,1,1,1], "Exit", true] call _fnc_addControl; + _close ctrlAddEventhandler ["ButtonClick", "ctrlParent (_this select 0) closeDisplay 2"]; + }; + + uiNamespace setVariable ["BIS_utility_jukeboxDisplay", _functionDisplay]; + + _functionDisplay displayAddEventHandler ["Unload", + { + removeMusicEventHandler ["MusicStop", BIS_utility_jukeboxMusicStopEH]; + BIS_utility_jukeboxMusicStopEH = nil; + removeMissionEventHandler ["Draw3D", BIS_utility_jukeboxDraw3DEH]; + BIS_utility_jukeboxDraw3DEH = nil; + uiNamespace setVariable ["BIS_utility_jukeboxDisplay", nil]; + }]; + + _functionDisplay setVariable ["_progressLMB", false]; + _functionDisplay setVariable ["_playing", ["", 0, -1, false, [-1], true]]; + + private _counter = [_functionDisplay, "RscText", ["00:00","EtelISFonospacePro",0.13], [0,-0.01,0.29,0.2], [0,0,0,0], [0.7,0.7,0.7,1], "", false] call _fnc_addControl; + _functionDisplay setVariable ["_counter", _counter]; + + private _pause = [_functionDisplay, "RscText", ["PAUSED","EtelISFonospacePro",0.03], [0.003,0.01,0.1,0.04], [0,0,0,0], [0.3,0.3,0.3,1], "", false] call _fnc_addControl; + _functionDisplay setVariable ["_pause", _pause]; + _pause ctrlShow false; + + [_functionDisplay, "RscText", ["Track Info","EtelISFonospacePro",0.03], [0.25,0.01,0.13,0.04], [0,0,0,0], [0.3,0.3,0.3,1], "Copy&paste track info for use elsewhere", false] call _fnc_addControl; + + private _info = [_functionDisplay, "RscEditMulti", ["","PuristaMedium",0.035], [0.26,0.06,0.74,0.115], [0.05,0.05,0.05,1], [0.7,0.7,0.7,1], "", true] call _fnc_addControl; + _functionDisplay setVariable ["_info", _info]; + _info ctrlSetText format ["N > %1C > %1F >", toString [13,10]]; + _functionDisplay setVariable ["_context", ctrlText _info]; + + [_functionDisplay, "RscEdit", ["","",0], [0,0.209,1,0.053], [0.2,0.2,0.2,1], [0,0,0,0], "", false] call _fnc_addControl; + private _progress = [_functionDisplay, "RscProgress", ["","",0], [0,0.21,1,0.05], [1,1,1,1], [1,1,1,0.8], "", true] call _fnc_addControl; + _functionDisplay setVariable ["_progress", _progress]; + _progress progressSetPosition 0; + + _progress ctrlAddEventHandler ["MouseMoving", + { + params ["_ctrl", "_px", "_py"]; + _disp = ctrlParent _ctrl; + _playing = _disp getVariable "_playing"; + + if !(_playing select 3) exitWith {}; + + if (_disp getVariable "_progressLMB") then + { + _ctrl progressSetPosition _px; + + _musicTime = linearConversion [0, 1, _px, 0, _playing select 1, true]; + _minutes = floor (_musicTime / 60); + _seconds = floor _musicTime % 60; + _disp getVariable "_counter" ctrlSetText format ["%1%2:%3%4", ["","0"] select (_minutes < 10), _minutes, ["","0"] select (_seconds < 10), _seconds]; + + }; + }]; + + _progress ctrlAddEventHandler ["MouseButtonDown", + { + params ["_ctrl", "_button", "_px", "_py"]; + _disp = ctrlParent _ctrl; + _playing = _disp getVariable "_playing"; + + if !(_playing select 3) exitWith {}; + + if (_button isEqualTo 0) then + { + _disp setVariable ["_progressLMB", true]; + playMusic ""; + }; + + if (_disp getVariable "_progressLMB") then + { + _ctrl progressSetPosition _px; + }; + + }]; + + _progress ctrlAddEventHandler ["MouseButtonUp", + { + params ["_ctrl", "_button"]; + _disp = ctrlParent _ctrl; + _playing = _disp getVariable "_playing"; + + if !(_playing select 3) exitWith {}; + + if (_button isEqualTo 0) then + { + _disp setVariable ["_progressLMB", false]; + + _start = linearConversion [0, 1, progressPosition _ctrl, 0, _playing select 1, true]; + _playing set [2, time - _start]; + + _minutes = floor (_start / 60); + _seconds = ceil _start % 60; + _disp getVariable "_counter" ctrlSetText format ["%1%2:%3%4", ["","0"] select (_minutes < 10), _minutes, ["","0"] select (_seconds < 10), _seconds]; + + if (_playing select 5) exitWith {}; + + playMusic [_playing select 0, _start]; + }; + }]; + + [_functionDisplay, "RscText", ["CfgMusic Tracks","EtelISFonospacePro",0.03], [-0.01,0.3,0.3,0.04], [0,0,0,0], [0.3,0.3,0.3,1], "Click item once to play, click again to pause", false] call _fnc_addControl; + + private _list = [_functionDisplay, "RscTree", ["","EtelISFonospacePro",0.03], [0,0.35,1,0.64], [0.05,0.05,0.05,1], [0.9,0.9,0.9,1], "", true] call _fnc_addControl; + _functionDisplay setVariable ["_list", _list]; + + private _cfgMusic = + ("true" configClasses (configFile >> "CfgMusic")) + + ("true" configClasses (missionConfigFile >> "CfgMusic")) + + ("true" configClasses (campaignConfigFile >> "CfgMusic")); + + private _maxDigits = count _cfgMusic call + { + if (_this < 10) exitWith {1}; + if (_this < 100) exitWith {2}; + if (_this < 1000) exitWith {3}; + 4 + }; + + { + private _name = gettext (_x >> "name"); + private _displayName = _name; + private _class = configName _x; + if (_name isEqualTo "") then + { + _name = _class; + _displayName = "N/A"; + }; + _duration = getNumber (_x >> "duration"); + _minutes = floor (_duration / 60); + _seconds = floor _duration % 60; + private _index = _list tvAdd [[], format ["%1. (%2) - %3", + (((_foreachIndex + 1) / 10 ^ _maxDigits) toFixed _maxDigits) select [2], + format ["%1%2:%3%4", ["","0"] select (_minutes < 10), _minutes, ["","0"] select (_seconds < 10), _seconds], + _name + ]]; + _list tvSetColor [[_index], [[1,1,1,1],[0.6,0.6,0.6,1]] select (_forEachIndex % 2)]; + _list tvSetData [[_index], format ["[""%1"",%2,""%3"",""%4"",""%5""]", _class, _duration, _displayName, getArray (_x >> "sound") select 0]]; + } + forEach _cfgMusic; + + _list ctrlAddEventhandler ["TreeSelChanged", + { + params ["_ctrl", "_path"]; + + _disp = ctrlParent _ctrl; + _playing = _disp getVariable "_playing"; + + if ( _playing select 4 isEqualTo _path) exitwith + { + if (_playing select 5) exitWith + { + _progress = _disp getVariable "_progress"; + _start = linearConversion [0, 1, progressPosition _progress, 0, _playing select 1, true]; + _playing set [2, time - _start]; + _playing set [5, false]; + + playMusic [_playing select 0, _start]; + _disp getVariable "_pause" ctrlShow false; + }; + + playMusic ""; + _playing set [5, true]; + _disp getVariable "_pause" ctrlShow true; + }; + + + _data = call compile (_ctrl tvData _path); + _playing set [0, _data select 0]; + _playing set [1, _data select 1]; + _playing set [2, time]; + _playing set [3, true]; + _playing set [4, _path]; + _playing set [5, false]; + _disp getVariable "_progress" progressSetPosition 0; + + playMusic [_playing select 0, 0]; + _disp getVariable "_pause" ctrlShow false; + + M9_jukebox_selectedTrack_trackName = _data select 2; + M9_jukebox_selectedTrack_className = _data select 0; + M9_jukebox_selectedTrack_filePath = _data select 3; + + _context = format + [ + "N > %2%1C > %3%1F > %4", + toString [13,10], + _data select 2, + _data select 0, + _data select 3 + ]; + + _disp getVariable "_info" ctrlSetText _context; + _disp setVariable ["_context", _context]; + + }]; + + if (!isNil 'BIS_utility_jukeboxMusicStopEH') then { + removeMusicEventHandler ["MusicStop", BIS_utility_jukeboxMusicStopEH]; + }; + + BIS_utility_jukeboxMusicStopEH = addMusicEventHandler ["MusicStop", + { + _disp = uinamespace getVariable "BIS_utility_jukeboxDisplay"; + if(_disp getVariable ["_progressLMB", false]) exitWith {}; + _list = _disp getVariable "_list"; + _next = (tvCurSel _list select 0) + 1; + if (_next >= _list tvCount []) exitWith {}; + _list tvSetCurSel [_next]; + }]; + + BIS_utility_jukeboxDraw3DEH = addMissionEventHandler ["Draw3D", + { + _disp = uinamespace getVariable "BIS_utility_jukeboxDisplay"; + _disp getVariable "_playing" params ["_class", "_duration", "_start", "", "", "_pause"]; + if (_pause) exitWith {}; + + _progress = _disp getVariable "_progress"; + _progressPosition = progressPosition _progress; + _musicTime = time - _start; + + if (_progressPosition < 1 && {!(_disp getVariable "_progressLMB")}) then + { + _progress progressSetPosition linearConversion [0, _duration, _musicTime, 0, 1, true]; + _minutes = floor (_musicTime / 60); + _seconds = floor _musicTime % 60; + _disp getVariable "_counter" ctrlSetText format ["%1%2:%3%4", ["","0"] select (_minutes < 10), _minutes, ["","0"] select (_seconds < 10), _seconds]; + }; + }]; + + _functionDisplay displayAddEventHandler ["KeyDown", + { + params ["_disp", "_dik"]; + _playing = _disp getVariable "_playing"; + _pause = _playing select 5; + + if (_dik isEqualTo 57) then + { + if (_pause) exitWith + { + _progress = _disp getVariable "_progress"; + _start = linearConversion [0, 1, progressPosition _progress, 0, _playing select 1, true]; + _playing set [2, time - _start]; + _playing set [5, false]; + + playMusic [_playing select 0, _start]; + _disp getVariable "_pause" ctrlShow false; + + true + }; + + playMusic ""; + _playing set [5, true]; + _disp getVariable "_pause" ctrlShow true; + + true + }; + }]; + + _ctrl_play = _functionDisplay ctrlCreate ['RscButtonMenu', -1]; + _ctrl_play ctrlSetStructuredText parseText ("Play Track (Global)"); + _ctrl_play ctrlSetTooltip 'Plays the selected track on all clients connected to the server.'; + _ctrl_play ctrlSetBackgroundColor [0,0.5,0,0.7]; + _ctrl_play ctrlSetPosition [0.29375 * safezoneW + safezoneX,0.225 * safezoneH + safezoneY,0.09 * safezoneW,0.022 * safezoneH]; + _ctrl_play ctrladdEventHandler ['ButtonClick', + { + with uiNamespace do + { + disableSerialization; + BIS_utility_jukeboxDisplay closeDisplay 0; + (findDisplay 49) closeDisplay 0; + }; + if (isNil 'JAM_musicVolume') then { + JAM_musicVolume = 0.5; + }; + [M9_jukebox_selectedTrack_className,0,JAM_musicVolume] remoteExec ['BIS_fnc_playMusic']; + _jukeboxNotification = '_jukeboxNotification' cutText [format ["[ Jukebox ]
Now Playing:
“%1”
%2",M9_jukebox_selectedTrack_trackName,M9_jukebox_selectedTrack_className],'PLAIN DOWN',0,true,true]; + }]; + _ctrl_play ctrlCommit 0; + }; + }; + + [] spawn M9_open_jukebox; + }; + + M9sd_fnc_moduleSoundBoard = { + if (isNil 'JAM_zeus_uiColor') then + { + uiNamespace setVariable ['JAM_zeus_uiColor', [(profilenamespace getvariable ['GUI_BCG_RGB_R',0.13]),(profilenamespace getvariable ['GUI_BCG_RGB_G',0.54]),(profilenamespace getvariable ['GUI_BCG_RGB_B',0.21]),(profilenamespace getvariable ['GUI_BCG_RGB_A',0.8])]]; + missionNameSpace setVariable ['JAM_zeus_uiColor', [(profilenamespace getvariable ['GUI_BCG_RGB_R',0.13]),(profilenamespace getvariable ['GUI_BCG_RGB_G',0.54]),(profilenamespace getvariable ['GUI_BCG_RGB_B',0.21]),(profilenamespace getvariable ['GUI_BCG_RGB_A',0.8])]]; + }; + if (isNil 'JAM_zeus_allSound') then + { + JAM_zeus_allSound = []; + private _subClasses = [configFile >> "CfgSounds"] call BIS_fnc_returnChildren; + { + private _class = configName _x; + private _name = getText (configFile >> "CfgSounds" >> _class >> 'name'); + private _duration = getText (configFile >> "CfgSounds" >> _class >> 'duration'); + private _sound = getArray (configFile >> "CfgSounds" >> _class >> 'sound'); + private _titles = getArray (configFile >> "CfgSounds" >> _class >> 'titles'); + JAM_zeus_allSound pushBack [_class, _name, _duration, _sound, _titles]; + } forEach _subClasses; + missionNameSpace setVariable ['JAM_zeus_allSound', JAM_zeus_allSound]; + uiNamespace setVariable ['JAM_zeus_allSound', JAM_zeus_allSound]; + }; + findDisplay 49 closeDisplay 0; + with uiNamespace do + { + private _progress = 0; + disableSerialization; + createDialog 'RscDisplayEmpty'; + _display = findDisplay -1; + showChat true; + playSound 'click'; + playSound ['border_In', true]; + startLoadingScreen ["Loading Sound Board..."]; + + _progress = _progress + 3.33; + progressLoadingScreen _progress; + + _background = _display ctrlCreate ['RscText', -1]; + _background ctrlSetBackgroundColor [0,0,0,0.7]; + _background ctrlSetPosition [0.381406 * safezoneW + safezoneX,0.247 * safezoneH + safezoneY,0.237187 * safezoneW,0.517 * safezoneH]; + _background ctrlSetFade 1; + _background ctrlCommit 0; + _background ctrlSetFade 0; + _background ctrlCommit 1; + + _progress = _progress + 3.33; + progressLoadingScreen _progress; + + _background = _display ctrlCreate ['RscStructuredText', -1]; + _background ctrlSetBackgroundColor JAM_zeus_uiColor; + _background ctrlSetPosition [0.381406 * safezoneW + safezoneX,0.225 * safezoneH + safezoneY,0.237187 * safezoneW,0.022 * safezoneH]; + _background ctrlSetStructuredText parseText format ["Sound Board", str (1.0 * (safezoneh * 0.5))]; + _background ctrlSetFade 1; + _background ctrlCommit 0; + _background ctrlSetFade 0; + _background ctrlCommit 1; + + _progress = _progress + 3.33; + progressLoadingScreen _progress; + + _cancelCtrl = _display ctrlCreate ['RscButtonMenu',-1]; + _cancelCtrl ctrlSetPosition [0.603125 * safezoneW + safezoneX,0.225 * safezoneH + safezoneY,0.0154688 * safezoneW,0.022 * safezoneH]; + _cancelCtrl ctrlSetTooltip 'Exit'; + _cancelCtrl ctrlSetBackgroundColor [0,0,0,0]; + _cancelCtrl ctrlSetStructuredText parseText ("X"); + _cancelCtrl ctrladdEventHandler ["ButtonClick", + { + params ["_control"]; + [_control] spawn + { + params ["_control"]; + disableSerialization; + with uiNamespace do + { + _parentDisplay = ctrlParent _control; + _parentDisplay closeDisplay 0; + playSound 'click'; + playSound ['border_Out', true]; + }; + }; + }]; + _cancelCtrl ctrlSetFade 1; + _cancelCtrl ctrlCommit 0; + _cancelCtrl ctrlSetFade 0; + _cancelCtrl ctrlCommit 1; + + _progress = _progress + 3.33; + progressLoadingScreen _progress; + + _cancelCtrl = _display ctrlCreate ['RscButtonMenu',-1]; + _cancelCtrl ctrlSetPosition [0.546406 * safezoneW + safezoneX,0.731 * safezoneH + safezoneY,0.0670312 * safezoneW,0.022 * safezoneH]; + _cancelCtrl ctrlSetTooltip 'Stop all sounds started from this menu.'; + _cancelCtrl ctrlSetBackgroundColor [0.6,0,0,0.8]; + _cancelCtrl ctrlSetStructuredText parseText ("STOP SOUNDS"); + _cancelCtrl ctrladdEventHandler ["ButtonClick", + { + params ["_control"]; + [[], + { + { + deleteVehicle _x; + } forEach (missionNameSpace getVariable ['JAM_zeus_playedSounds', []]); + private _playedSounds = []; + { + if !(isNull _x) then + { + _playedSounds pushBack _x; + }; + } forEach (missionNameSpace getVariable ['JAM_zeus_playedSounds', []]); + missionNameSpace setVariable ['JAM_zeus_playedSounds', _playedSounds]; + }] remoteExec ['spawn']; + }]; + _cancelCtrl ctrlSetFade 1; + _cancelCtrl ctrlCommit 0; + _cancelCtrl ctrlSetFade 0; + _cancelCtrl ctrlCommit 1; + + _progress = _progress + 3.33; + progressLoadingScreen _progress; + + _background = _display ctrlCreate ['RscText', -1]; + _background ctrlSetBackgroundColor [0,0,0,0.7]; + _background ctrlSetPosition [0.546406 * safezoneW + safezoneX,0.665 * safezoneH + safezoneY,0.0670312 * safezoneW,0.022 * safezoneH]; + _background ctrlSetFade 1; + _background ctrlCommit 0; + _background ctrlSetFade 0; + _background ctrlCommit 1; + + _progress = _progress + 3.33; + progressLoadingScreen _progress; + + _background = _display ctrlCreate ['RscFrame', -1]; + _background ctrlSetPosition [0.546406 * safezoneW + safezoneX,0.665 * safezoneH + safezoneY,0.0670312 * safezoneW,0.022 * safezoneH]; + _background ctrlSetFade 1; + _background ctrlCommit 0; + _background ctrlSetFade 0; + _background ctrlCommit 1; + + _progress = _progress + 3.33; + progressLoadingScreen _progress; + + _background = _display ctrlCreate ['RscStructuredText', -1]; + _background ctrlSetBackgroundColor [0,0,0,0]; + _background ctrlSetPosition [0.561875 * safezoneW + safezoneX,0.665 * safezoneH + safezoneY,0.0515625 * safezoneW,0.022 * safezoneH]; + _background ctrlSetStructuredText parseText format ["isSpeech", str (1 * (safezoneh * 0.5))]; + _background ctrlSetFade 1; + _background ctrlCommit 0; + _background ctrlSetFade 0; + _background ctrlCommit 1; + + _progress = _progress + 3.33; + progressLoadingScreen _progress; + + _checkbox = _display ctrlCreate ["RscCheckbox", -1]; + _checkbox ctrlSetPosition [0.546406 * safezoneW + safezoneX,0.665 * safezoneH + safezoneY,0.0154688 * safezoneW,0.022 * safezoneH]; + _checkbox ctrladdEventHandler ["ButtonClick", + { + params ["_control"]; + with uiNamespace do + { + if (cbChecked _control) then + { + profileNamespace setVariable ['JAM_zeus_sB_isSpeech', true]; + } else + { + profileNamespace setVariable ['JAM_zeus_sB_isSpeech', false]; + }; + }; + }]; + _checkbox ctrlSetTooltip 'Boolean - \ntrue to play it as speech, fadeSpeech applies.\nFalse to play it as sound, fadeSound applies'; + _checkbox ctrlSetFade 1; + _checkbox ctrlCommit 0; + _checkbox ctrlSetFade 0; + _checkbox ctrlCommit 1; + _display setVariable ['cbSpeech', _checkbox]; + if (profileNamespace getVariable ['JAM_zeus_sB_isSpeech', false]) then + { + _checkbox cbSetChecked true; + } else + { + _checkbox cbSetChecked false; + }; + + _progress = _progress + 3.33; + progressLoadingScreen _progress; + + _background = _display ctrlCreate ['RscText', -1]; + _background ctrlSetBackgroundColor [0,0,0,0.7]; + _background ctrlSetPosition [0.546406 * safezoneW + safezoneX,0.698 * safezoneH + safezoneY,0.0670312 * safezoneW,0.022 * safezoneH]; + _background ctrlSetFade 1; + _background ctrlCommit 0; + _background ctrlSetFade 0; + _background ctrlCommit 1; + + _progress = _progress + 3.33; + progressLoadingScreen _progress; + + _background = _display ctrlCreate ['RscFrame', -1]; + _background ctrlSetPosition [0.546406 * safezoneW + safezoneX,0.698 * safezoneH + safezoneY,0.0670312 * safezoneW,0.022 * safezoneH]; + _background ctrlSetFade 1; + _background ctrlCommit 0; + _background ctrlSetFade 0; + _background ctrlCommit 1; + + _progress = _progress + 3.33; + progressLoadingScreen _progress; + + _background = _display ctrlCreate ['RscStructuredText', -1]; + _background ctrlSetBackgroundColor [0,0,0,0]; + _background ctrlSetPosition [0.561875 * safezoneW + safezoneX,0.698 * safezoneH + safezoneY,0.0515625 * safezoneW,0.022 * safezoneH]; + _background ctrlSetStructuredText parseText format ["Offset", str (1 * (safezoneh * 0.5))]; + _background ctrlSetFade 1; + _background ctrlCommit 0; + _background ctrlSetFade 0; + _background ctrlCommit 1; + + _progress = _progress + 3.33; + progressLoadingScreen _progress; + + _offset = _display ctrlCreate ['RscEdit', -1]; + _offset ctrlSetBackgroundColor [0,0,0,0.5]; + _offset ctrlSetPosition [0.546406 * safezoneW + safezoneX,0.698 * safezoneH + safezoneY,0.0154688 * safezoneW,0.022 * safezoneH]; + _offset ctrlSetTooltip "Number - \nstart, in seconds.\nCan be negative."; + _offset ctrlSetText '0'; + _offset ctrlSetFade 1; + _offset ctrlCommit 0; + _offset ctrlSetFade 0; + _offset ctrlCommit 1; + _display setVariable ['offset', _offset]; + + _progress = _progress + 3.33; + progressLoadingScreen _progress; + + _sounds = _display ctrlCreate ["RscListBox", -1]; + _sounds ctrlSetPosition [0.386562 * safezoneW + safezoneX,0.258 * safezoneH + safezoneY,0.226875 * safezoneW,0.341 * safezoneH]; + _favorites = profilenamespace getvariable ['JAM_zeus_favoriteSounds', []]; + { + private _class = _x # 0; + private _name = _x # 1; + private _duration = _x # 2; + private _sound = _x # 3; + private _titles = _x # 4; + private _index = _sounds lbAdd _class; + _sounds lbSetTooltip [_index, _class]; + _sounds lbSetData [_index, str _x]; + _sounds lbSetPicture [_index, "a3\modules_f_curator\data\portraitSound_ca.paa"]; + _sounds lbSetColorRight [_index, [1,1,1,0.5]]; + if (_class in _favorites) then + { + _sounds lbSetColor [_index, [1,1,1,1]]; + _sounds lbSetPictureColor [_index, [1,1,1,1]]; + _sounds lbSetPictureRight [_index, 'a3\ui_f_curator\data\displays\rscDisplayCurator\modeRecent_ca.paa']; + _sounds lbSetPictureRightColor [_index, [1,1,1,1]]; + } else + { + _sounds lbSetColor [_index, JAM_zeus_uiColor]; + _sounds lbSetPictureColor [_index, JAM_zeus_uiColor]; + _sounds lbSetPictureRight [_index, '']; + _sounds lbSetPictureRightColor [_index, [1,1,1,0]]; + }; + } forEach (uiNamespace getvariable ['JAM_zeus_allSound', []]); + _sounds ctrladdEventHandler ["LBSelChanged", + { + params ["_control", "_selectedIndex"]; + with uiNamespace do + { + _display = ctrlParent _control; + profileNamespace setVariable ['JAM_zeus_selectedSound', _selectedIndex]; + private _data = call (compile (_control lbData _selectedIndex)); + private _class = (_data # 0); + private _name = (_data # 1); + private _duration = (_data # 2); + private _sound = str (_data # 3); + private _titles = str (_data # 4); + private _classCtrl = _display getVariable 'class'; + private _nameCtrl = _display getVariable 'name'; + private _durationCtrl = _display getVariable 'duration'; + private _soundCtrl = _display getVariable 'sound'; + private _titlesCtrl = _display getVariable 'titles'; + if (_class == '') then + { + _class = 'N/A'; + }; + if (_name == '') then + { + _name = 'N/A'; + }; + if (_duration == '') then + { + _duration = 'N/A'; + }; + if (_sound == '[]') then + { + _sound = 'N/A'; + }; + if (_titles == '[]') then + { + _titles = 'N/A'; + }; + _classCtrl ctrlSetText _class; + _nameCtrl ctrlSetText _name; + _durationCtrl ctrlSetText _duration; + _soundCtrl ctrlSetText _sound; + _titlesCtrl ctrlSetText _titles; + _classCtrl ctrlSetTooltip _class; + _nameCtrl ctrlSetTooltip _name; + _durationCtrl ctrlSetTooltip _duration; + _soundCtrl ctrlSetTooltip _sound; + _titlesCtrl ctrlSetTooltip _titles; + _classCtrl ctrlCommit 0; + _nameCtrl ctrlCommit 0; + _durationCtrl ctrlCommit 0; + _soundCtrl ctrlCommit 0; + _titlesCtrl ctrlCommit 0; + private _speechCtrl = _display getVariable 'cbSpeech'; + private _offsetCtrl = _display getVariable 'offset'; + private _scriptCtrl = _display getVariable 'script'; + private _offset = parseNumber (ctrlText _offsetCtrl); + private _scriptTxt = format ["playSound '%1';", _class]; + if (cbChecked _speechCtrl) then + { + _scriptTxt = format ["playSound ['%1', true, 0];", _class]; + } else + { + _scriptTxt = format ["playSound ['%1', false, 0];", _class]; + }; + _scriptCtrl ctrlSetText _scriptTxt; + _scriptCtrl ctrlSetTooltip _scriptTxt; + _scriptCtrl ctrlCommit 0; + }; + }]; + _sounds ctrladdEventHandler ["LBDblClick", + { + params ["_control", "_selectedIndex"]; + profileNamespace setVariable ['JAM_zeus_selectedSound', _selectedIndex]; + _display = ctrlParent _control; + _favorites = profilenamespace getvariable ['JAM_zeus_favoriteSounds', []]; + _sound = _control lbText _selectedIndex; + _index = _favorites find _sound; + if (_index != -1) then + { + _favorites deleteAt _index; + _control lbSetColor [_selectedIndex, JAM_zeus_uiColor]; + _control lbSetPictureColor [_selectedIndex, JAM_zeus_uiColor]; + _control lbSetPictureRight [_selectedIndex, 'a3\ui_f_curator\data\CfgCurator\waypoint_ca.paa']; + _control lbSetPictureRightColor [_selectedIndex, [1,1,1,0]]; + profilenamespace setvariable ['JAM_zeus_favoriteSounds', _favorites]; + playSound 'click'; + playSound ['addItemOk', true]; + _control ctrlCommit 0; + } else + { + _favorites pushBackUnique _sound; + _control lbSetColor [_selectedIndex, [1,1,1,1]]; + _control lbSetPictureColor [_selectedIndex, [1,1,1,1]]; + _control lbSetPictureRight [_selectedIndex, 'a3\ui_f_curator\data\displays\rscDisplayCurator\modeRecent_ca.paa']; + _control lbSetPictureRightColor [_selectedIndex, [1,1,1,1]]; + profilenamespace setvariable ['JAM_zeus_favoriteSounds', _favorites]; + playSound 'addItemOk'; + playSound ['click', true]; + _control ctrlCommit 0; + }; + }]; + _sounds ctrlSetFade 1; + _sounds ctrlCommit 0; + _sounds ctrlSetFade 0; + _sounds ctrlCommit 1; + _display setVariable ['sounds', _sounds]; + + _display displayaddEventHandler ['unload', + { + params ["_display", "_exitCode"]; + saveProfileNamespace; + }]; + + _progress = _progress + 3.33; + progressLoadingScreen _progress; + + _background = _display ctrlCreate ['RscFrame', -1]; + _background ctrlSetPosition [0.546406 * safezoneW + safezoneX,0.61 * safezoneH + safezoneY,0.0309375 * safezoneW,0.044 * safezoneH]; + _background ctrlSetFade 1; + _background ctrlCommit 0; + _background ctrlSetFade 0; + _background ctrlCommit 1; + + _progress = _progress + 3.33; + progressLoadingScreen _progress; + + _preview = _display ctrlCreate ['RscButtonMenu',-1]; + _preview ctrlSetPosition [0.546406 * safezoneW + safezoneX,0.61 * safezoneH + safezoneY,0.0309375 * safezoneW,0.044 * safezoneH]; + _preview ctrlSetTooltip 'Preview the selected sound.\nThe audio will only play on your computer.'; + _preview ctrlSetBackgroundColor [0,0,0.6,0.2]; + _preview ctrlSetStructuredText parseText (""); + _preview ctrladdEventHandler ["ButtonClick", + { + params ["_control"]; + private _display = ctrlParent _control; + private _sounds = _display getVariable 'sounds'; + private _soundName = _sounds lbText (lbCurSel _sounds); + private _isSpeech = cbChecked (_display getVariable 'cbSpeech'); + private _offset = parseNumber (ctrlText (_display getVariable 'offset')); + private _sound = playSound [_soundName, _isSpeech, _offset]; + private _playedSounds = missionNameSpace getVariable ['JAM_zeus_playedSounds', []]; + _playedSounds pushBack _sound; + missionNameSpace setVariable ['JAM_zeus_playedSounds', _playedSounds]; + }]; + _preview ctrlSetFade 1; + _preview ctrlCommit 0; + _preview ctrlSetFade 0; + _preview ctrlCommit 1; + _background = _display ctrlCreate ['RscFrame', -1]; + _background ctrlSetPosition [0.5825 * safezoneW + safezoneX,0.61 * safezoneH + safezoneY,0.0309375 * safezoneW,0.044 * safezoneH]; + _background ctrlSetFade 1; + _background ctrlCommit 0; + _background ctrlSetFade 0; + _background ctrlCommit 1; + _play = _display ctrlCreate ['RscButtonMenu',-1]; + _play ctrlSetPosition [0.5825 * safezoneW + safezoneX,0.61 * safezoneH + safezoneY,0.0309375 * safezoneW,0.044 * safezoneH]; + _play ctrlSetTooltip 'Play the selected sound.\nThe audio will play on everyone’s computer.'; + _play ctrlSetBackgroundColor [0,0.6,0,0.2]; + _play ctrlSetStructuredText parseText (""); + _play ctrladdEventHandler ["ButtonClick", + { + params ["_control"]; + private _display = ctrlParent _control; + private _sounds = _display getVariable 'sounds'; + private _soundName = _sounds lbText (lbCurSel _sounds); + private _isSpeech = cbChecked (_display getVariable 'cbSpeech'); + private _offset = parseNumber (ctrlText (_display getVariable 'offset')); + [[_soundName, _isSpeech, _offset], + { + params ['_soundName', '_isSpeech', '_offset']; + private _sound = playSound [_soundName, _isSpeech, _offset]; + private _playedSounds = missionNameSpace getVariable ['JAM_zeus_playedSounds', []]; + _playedSounds pushBack _sound; + missionNameSpace setVariable ['JAM_zeus_playedSounds', _playedSounds]; + }] remoteExec ['spawn']; + }]; + _play ctrlSetFade 1; + _play ctrlCommit 0; + _play ctrlSetFade 0; + _play ctrlCommit 1; + + _progress = _progress + 3.33; + progressLoadingScreen _progress; + + _script = _display ctrlCreate ['RscEdit', -1]; + _script ctrlSetBackgroundColor [0,0,0,0.9]; + _script ctrlSetPosition [0.386562 * safezoneW + safezoneX,0.731 * safezoneH + safezoneY,0.154687 * safezoneW,0.022 * safezoneH]; + _script ctrlSetText "playSound '';"; + _script ctrlSetFade 1; + _script ctrlCommit 0; + _script ctrlSetFade 0; + _script ctrlCommit 1; + _display setVariable ['script', _script]; + + _progress = _progress + 3.33; + progressLoadingScreen _progress; + + _background = _display ctrlCreate ['RscText', -1]; + _background ctrlSetBackgroundColor [0,0,0,0.7]; + _background ctrlSetPosition [0.386562 * safezoneW + safezoneX,0.61 * safezoneH + safezoneY,0.154687 * safezoneW,0.11 * safezoneH]; + _background ctrlSetFade 1; + _background ctrlCommit 0; + _background ctrlSetFade 0; + _background ctrlCommit 1; + + _progress = _progress + 3.33; + progressLoadingScreen _progress; + + _background = _display ctrlCreate ['RscFrame', -1]; + _background ctrlSetPosition [0.386562 * safezoneW + safezoneX,0.61 * safezoneH + safezoneY,0.154687 * safezoneW,0.11 * safezoneH]; + _background ctrlSetFade 1; + _background ctrlCommit 0; + _background ctrlSetFade 0; + _background ctrlCommit 1; + + _progress = _progress + 3.33; + progressLoadingScreen _progress; + + _background = _display ctrlCreate ['RscStructuredText', -1]; + _background ctrlSetBackgroundColor [0,0,0,0]; + _background ctrlSetPosition [0.386563 * safezoneW + safezoneX,0.61 * safezoneH + safezoneY,0.154687 * safezoneW,0.022 * safezoneH]; + _background ctrlSetStructuredText parseText format ["Class:", str (1 * (safezoneh * 0.5))]; + _background ctrlSetFade 1; + _background ctrlCommit 0; + _background ctrlSetFade 0; + _background ctrlCommit 1; + + _progress = _progress + 3.33; + progressLoadingScreen _progress; + + _background = _display ctrlCreate ['RscStructuredText', -1]; + _background ctrlSetBackgroundColor [0,0,0,0]; + _background ctrlSetPosition [0.386562 * safezoneW + safezoneX,0.632 * safezoneH + safezoneY,0.154687 * safezoneW,0.022 * safezoneH]; + _background ctrlSetStructuredText parseText format ["Name:", str (1 * (safezoneh * 0.5))]; + _background ctrlSetFade 1; + _background ctrlCommit 0; + _background ctrlSetFade 0; + _background ctrlCommit 1; + + _progress = _progress + 3.33; + progressLoadingScreen _progress; + + _background = _display ctrlCreate ['RscStructuredText', -1]; + _background ctrlSetBackgroundColor [0,0,0,0]; + _background ctrlSetPosition [0.386562 * safezoneW + safezoneX,0.654 * safezoneH + safezoneY,0.154687 * safezoneW,0.022 * safezoneH]; + _background ctrlSetStructuredText parseText format ["Duration:", str (1 * (safezoneh * 0.5))]; + _background ctrlSetFade 1; + _background ctrlCommit 0; + _background ctrlSetFade 0; + _background ctrlCommit 1; + + _progress = _progress + 3.33; + progressLoadingScreen _progress; + + _background = _display ctrlCreate ['RscStructuredText', -1]; + _background ctrlSetBackgroundColor [0,0,0,0]; + _background ctrlSetPosition [0.386562 * safezoneW + safezoneX,0.676 * safezoneH + safezoneY,0.154687 * safezoneW,0.022 * safezoneH]; + _background ctrlSetStructuredText parseText format ["Sound:", str (1 * (safezoneh * 0.5))]; + _background ctrlSetFade 1; + _background ctrlCommit 0; + _background ctrlSetFade 0; + _background ctrlCommit 1; + + _progress = _progress + 3.33; + progressLoadingScreen _progress; + + _background = _display ctrlCreate ['RscStructuredText', -1]; + _background ctrlSetBackgroundColor [0,0,0,0]; + _background ctrlSetPosition [0.386562 * safezoneW + safezoneX,0.698 * safezoneH + safezoneY,0.154687 * safezoneW,0.022 * safezoneH]; + _background ctrlSetStructuredText parseText format ["Titles:", str (1 * (safezoneh * 0.5))]; + _background ctrlSetFade 1; + _background ctrlCommit 0; + _background ctrlSetFade 0; + _background ctrlCommit 1; + + _progress = _progress + 3.33; + progressLoadingScreen _progress; + + _class = _display ctrlCreate ['RscEdit', -1]; + _class ctrlSetPosition [0.427812 * safezoneW + safezoneX,0.61 * safezoneH + safezoneY,0.113437 * safezoneW,0.022 * safezoneH]; + _class ctrlSetFade 1; + _class ctrlCommit 0; + _class ctrlSetFade 0; + _class ctrlCommit 1; + _display setVariable ['class', _class]; + + _progress = _progress + 3.33; + progressLoadingScreen _progress; + + _name = _display ctrlCreate ['RscEdit', -1]; + _name ctrlSetPosition [0.427813 * safezoneW + safezoneX,0.632 * safezoneH + safezoneY,0.113437 * safezoneW,0.022 * safezoneH]; + _name ctrlSetFade 1; + _name ctrlCommit 0; + _name ctrlSetFade 0; + _name ctrlCommit 1; + _display setVariable ['name', _name]; + + _progress = _progress + 3.33; + progressLoadingScreen _progress; + + _duration = _display ctrlCreate ['RscEdit', -1]; + _duration ctrlSetPosition [0.427813 * safezoneW + safezoneX,0.654 * safezoneH + safezoneY,0.113437 * safezoneW,0.022 * safezoneH]; + _duration ctrlSetFade 1; + _duration ctrlCommit 0; + _duration ctrlSetFade 0; + _duration ctrlCommit 1; + _display setVariable ['duration', _duration]; + + _progress = _progress + 3.33; + progressLoadingScreen _progress; + + _sound = _display ctrlCreate ['RscEdit', -1]; + _sound ctrlSetPosition [0.427813 * safezoneW + safezoneX,0.676 * safezoneH + safezoneY,0.113437 * safezoneW,0.022 * safezoneH]; + _sound ctrlSetFade 1; + _sound ctrlCommit 0; + _sound ctrlSetFade 0; + _sound ctrlCommit 1; + _display setVariable ['sound', _sound]; + + _progress = _progress + 3.33; + progressLoadingScreen _progress; + + _titles = _display ctrlCreate ['RscEdit', -1]; + _titles ctrlSetPosition [0.427813 * safezoneW + safezoneX,0.698 * safezoneH + safezoneY,0.113437 * safezoneW,0.022 * safezoneH]; + _titles ctrlSetFade 1; + _titles ctrlCommit 0; + _titles ctrlSetFade 0; + _titles ctrlCommit 1; + _display setVariable ['titles', _titles]; + _sounds lbSetCurSel (profileNamespace getVariable ['JAM_zeus_selectedSound', 0]); + endLoadingScreen; + }; + + }; + + comment "Special Effects"; + + MAZ_EZM_fnc_getAllWeapons = { + private _cfgs = (configFile >> "CfgWeapons") call BIS_fnc_getCfgSubClasses; + private _weapons = []; + { + if !(_x isKindOf ["Rifle", configFile >> "CfgWeapons"] || _x isKindOf ["MGun", configFile >> "CfgWeapons"]) then {continue}; + if(getText (configFile >> "CfgWeapons" >> _x >> "model") == "") then {continue}; + private _cfg = (configFile >> "CfgWeapons" >> _x); + private _scope = getNumber (_cfg >> "Scope"); + private _parents = [_cfg, true] call BIS_fnc_returnParents; + private _parent = _parents select 1; + if ( + (_parent isKindOf ["Rifle", configFile >> "CfgWeapons"] || _parent isKindOf ["MGun", configFile >> "CfgWeapons"]) && + (getNumber (configFile >> "CfgWeapons" >> _parent >> "scope") >= 2) + ) then { + _x = _parent; + }; + if(_scope >= 2) then { + _weapons pushBackUnique _x; + }; + }forEach _cfgs; + _weapons + }; + + MAZ_EZM_fnc_tracerModuleDialog = { + private _weapons = call MAZ_EZM_fnc_getAllWeapons; + _weapons = [_weapons,[],{getText (configFile >> "CfgWeapons" >> _x >> "displayName")}, "ASCEND"] call BIS_fnc_sortBy; + ["CREATE TRACERS",[ + [ + "SIDES", + "Tracer Owner:", + opfor + ], + [ + "SLIDER", + ["Minimum Time:","The minimum time between bursts."], + [2,10,5] + ], + [ + "SLIDER", + ["Maximum Time:","How maximum time between bursts."], + [5,25,10] + ], + [ + "LIST", + ["Weapon:","The weapon that will be firing."], + [ + _weapons, + (_weapons apply { + [ + getText (configFile >> "CfgWeapons" >> _x >> "displayName"), + "", + getText (configFile >> "CfgWeapons" >> _x >> "picture") + ] + }), + 0, + 6 + ] + ], + [ + "EDIT", + ["Weapon Override:",format ["Entering a classname here will use this weapon instead of what is selected in the list.\nYour current weapon: %1",primaryWeapon player]], + [""] + ] + ],{ + params ["_values","_pos","_display"]; + if(_values # 0 == civilian) exitWith { + ["You can't make civilians fire tracers...","addItemFailed"] call MAZ_EZM_fnc_systemMessage; + }; + _values params ["_side","_min","_max","_weapon","_weaponOverride"]; + if(_weaponOverride != "") then { + private _weaponCfg = configFile >> "CfgWeapons" >> _weaponOverride; + if(!isClass _weaponCfg) exitWith { + ["The weapon supplied doesn't exist. Make sure to not include quotation marks.","addItemFailed"] call MAZ_EZM_fnc_systemMessage; + }; + _weapon = _weaponOverride; + }; + _values = [_side,_min,_max,_weapon]; + private _origin = "Land_HelipadEmpty_F" createVehicle _pos; + _origin setPos _pos; + [ + "Select Target", + { + params ["_origin","_position","_args","_shift","_ctrl","_alt"]; + deleteVehicle _origin; + _args params ["_values","_pos"]; + private _hovering = curatorMouseOver; + if(_hovering isEqualTo [""]) exitWith { + _values set [4,str (AGLToASL _position)]; + [_values,_pos] call MAZ_EZM_fnc_tracerModule; + }; + _hovering params ["_type","_object"]; + if(_object isEqualType objNull) exitWith { + private _index = missionNamespace getVariable ["MAZ_EZM_tracerTargetIndex",0]; + private _varName = format ["MAZ_EZM_tracerTargetVar_%1",_index]; + missionNamespace setVariable ["MAZ_EZM_tracerTargetIndex",_index + 1,true]; + missionNamespace setVariable [_varName,_object,true]; + _values set [4,_varName]; + [_values,_pos] call MAZ_EZM_fnc_tracerModule; + }; + }, + _origin, + [_values,_pos] + ] call MAZ_EZM_fnc_selectSecondaryPosition; + _display closeDisplay 1; + },{ + params ["_values","_args","_display"]; + _display closeDisplay 2; + },[true] call MAZ_EZM_fnc_getScreenPosition] call MAZ_EZM_fnc_createDialog; + }; + + MAZ_EZM_fnc_tracerModule = { + params ["_values","_position"]; + _values params ["_side","_min","_max","_weapon",["_target",objNull]]; + private _logic = (createGroup [sideLogic,true]) createUnit ["ModuleTracers_F",_position, [], 0, "NONE"]; + [_logic] call MAZ_EZM_fnc_addObjectToInterface; + _logic setVariable ["Side",str (_side call BIS_fnc_sideID),true]; + _logic setVariable ["Min",str (round _min),true]; + _logic setVariable ["Max",str (round _max),true]; + _logic setVariable ["Weapon",_weapon,true]; + private _magazines = (getArray (configFile >> "CfgWeapons" >> _weapon >> "magazines")) select {"tracer" in (toLower _x)}; + if(_magazines isEqualTo []) then { + _magazines = ([_weapon] call BIS_fnc_compatibleMagazines) select {"tracer" in (toLower _x)}; + if(_magazines isEqualTo []) then { + _magazines = getArray (configFile >> "CfgWeapons" >> _weapon >> "magazines"); + }; + }; + _logic setVariable ["Magazine",selectRandom _magazines,true]; + _logic setVariable ["Target",_target,true]; + [[_logic],{ + params ["_logic"]; + sleep 0.1; + [_logic,true] call BIS_fnc_moduleTracers; + }] remoteExec ['spawn',2]; + + _logic spawn { + waitUntil {uiSleep 0.1; !isNull (_this getVariable ["bis_fnc_moduleTracers_gunner",objNull])}; + private _gunner = _this getVariable "bis_fnc_moduleTracers_gunner"; + [_gunner,true] remoteExec ['hideObjectGlobal',2]; + }; + }; + + MAZ_EZM_fnc_ambientFlyByModule = { + comment "TODO:FINISH ME"; + }; + + MAZ_EZM_fnc_toggleLampsModule = { + private _pos = [true] call MAZ_EZM_fnc_getScreenPosition; + ["Toggle City Lights",[ + [ + "SLIDER:RADIUS", + "Radius", + [10,250,100,_pos,[1,1,1,1]] + ], + [ + "TOOLBOX", + "Toggle Mode", + [true,["Turn On","Turn Off"]] + ] + ],{ + params ["_values","_args","_display"]; + _values params ["_radius","_mode"]; + private _types = [ + "Lamps_Base_F", + "Land_LampAirport_F", + "Land_LampSolar_F", + "Land_LampStreet_F", + "Land_LampStreet_small_F", + "PowerLines_base_F", + "Land_LampDecor_F", + "Land_LampHalogen_F", + "Land_LampHarbour_F", + "Land_LampShabby_F", + "Land_PowerPoleWooden_L_F", + "Land_NavigLight", + "Land_runway_edgelight", + "Land_runway_edgelight_blue_F", + "Land_Flush_Light_green_F", + "Land_Flush_Light_red_F", + "Land_Flush_Light_yellow_F", + "Land_Runway_PAPI", + "Land_Runway_PAPI_2", + "Land_Runway_PAPI_3", + "Land_Runway_PAPI_4", + "Land_fs_roof_F", + "Land_fs_sign_F" + ]; + private _nearestLamps = nearestObjects [_args,_types, _radius]; + private _damage = [0.0,0.97] select _mode; + {_x setDamage _damage;} forEach _nearestLamps; + _display closeDisplay 1; + },{ + params ["_values","_args","_display"]; + _display closeDisplay 2; + },_pos] call MAZ_EZM_fnc_createDialog; + }; + + MAZ_EZM_fnc_createParticleEffectModule = { + private _pos = [true] call MAZ_EZM_fnc_getScreenPosition; + [ + "Particle Effect Creator", + [ + [ + "COMBO", + "Particle Type:", + [ + ["FIRE_SMALL","FIRE_MEDIUM","FIRE_BIG","SMOKE_SMALL","SMOKE_MEDIUM","SMOKE_BIG"], + ["Fire (Small)","Fire (Medium)","Fire (Big)","Smoke (Small)","Smoke (Medium)","Smoke (Big)"], + 0 + ] + ] + ], + { + params ["_values","_pos","_display"]; + _values params ["_type"]; + private _particleData = [_type,_pos] call MAZ_EZM_fnc_createParticleEffect; + _particleData params ["_particle",["_light", objNull]]; + private _helipad = attachedTo _particle; + if(_type == "FIRE_SMALL") then { + private _smokeData = ["SMOKE_SMALL",_pos] call MAZ_EZM_fnc_createParticleEffect; + _smokeData params ["_smoke"]; + + private _helipadSmoke = attachedTo _smoke; + detach _smoke; + deleteVehicle _helipadSmoke; + _smoke attachTo [_helipad,[0,0,0]]; + }; + if(_type == "FIRE_MEDIUM") then { + private _smokeData = ["SMOKE_MEDIUM",_pos] call MAZ_EZM_fnc_createParticleEffect; + _smokeData params ["_smoke"]; + + private _helipadSmoke = attachedTo _smoke; + detach _smoke; + deleteVehicle _helipadSmoke; + _smoke attachTo [_helipad,[0,0,0]]; + }; + if(_type == "FIRE_BIG") then { + private _smokeData = ["SMOKE_BIG",_pos] call MAZ_EZM_fnc_createParticleEffect; + _smokeData params ["_smoke"]; + + private _helipadSmoke = attachedTo _smoke; + detach _smoke; + deleteVehicle _helipadSmoke; + _smoke attachTo [_helipad,[0,0,0]]; + }; + _display closeDisplay 1; + }, + { + params ["_values","_args","_display"]; + _display closeDisplay 2; + }, + _pos + ] call MAZ_EZM_fnc_createDialog; + }; + + MAZ_EZM_fnc_createParticleEffect = { + params ["_type","_pos"]; + private _particle = "#particlesource" createVehicle [0,0,0]; + private _lightData = switch (_type) do { + case "SMOKE_SMALL": { + _particle setParticleClass "SmallDestructionSmoke"; + []; + }; + case "SMOKE_MEDIUM": { + _particle setParticleClass "MediumSmoke"; + []; + }; + case "SMOKE_BIG": { + _particle setParticleClass "BigDestructionSmoke"; + []; + }; + case "FIRE_SMALL": { + _pos = _pos vectorAdd [0,0,0.05]; + _particle setParticleClass "SmallDestructionFire"; + [ + 1, + [1,0.85,0.6], + [1,0.3,0], + 50, + [0,0,0,2] + ]; + }; + case "FIRE_MEDIUM": { + _particle setParticleClass "MediumDestructionFire"; + [ + 1, + [1,0.85,0.6], + [1,0.3,0], + 400, + [0,0,0,2] + ]; + }; + case "FIRE_BIG": { + _particle setParticleClass "BigDestructionFire"; + [ + 1, + [1,0.85,0.6], + [1,0.45,0.3], + 1600, + [0,0,0,1.6] + ]; + }; + default {[false]}; + }; + private _helipad = "Land_HelipadEmpty_F" createVehicle [0,0,0]; + _helipad setPos _pos; + [_helipad] call MAZ_EZM_fnc_addObjectToInterface; + [_helipad] call MAZ_EZM_fnc_deleteAttachedWhenDeleted; + _particle attachTo [_helipad,[0,0,0]]; + if(count _lightData == 0) exitWith {[_particle,objNull]}; + if(count _lightData == 1) exitWith {objNull}; + private _light = createVehicle ["#lightpoint",[0,0,0], [], 0, "CAN_COLLIDE"]; + [_light,_lightData # 0] remoteExec ["setLightBrightness",0,_light]; + [_light,_lightData # 1] remoteExec ["setLightColor",0,_light]; + [_light,_lightData # 2] remoteExec ["setLightAmbient",0,_light]; + [_light,_lightData # 3] remoteExec ["setLightIntensity",0,_light]; + [_light,_lightData # 4] remoteExec ["setLightAttenuation",0,_light]; + [_light,true] remoteExec ["setLightDayLight",0,_light]; + _light attachTo [_helipad,[0,0,1]]; + [_particle,_light]; + }; + + MAZ_EZM_fnc_earthquakeEffectModule = { + [ + "Earthquake Module", + [ + [ + "SLIDER", + "Earthquake Strength:", + [ + 1, + 4, + 2 + ] + ] + ], + { + params ["_values","_pos","_display"]; + _values params ["_strength"]; + [_strength] remoteExec ['BIS_fnc_earthquake']; + _display closeDisplay 1; + }, + { + params ["_values","_args","_display"]; + _display closeDisplay 2; + } + ] call MAZ_EZM_fnc_createDialog; + }; + + comment "Terrain Modifiers"; + + MAZ_EZM_fnc_doorConfig = { + params ["_building"]; + private _doors = [_building] call MAZ_EZM_fnc_getDoors; + if(_doors isEqualTo []) exitWith {}; + + private _display = findDisplay 312; + private _existingControls = []; + + private _icon = [ + "\a3\modules_f\data\editterrainobject\icon3d_doorclosed32_ca.paa", + "\a3\modules_f\data\editterrainobject\icon3d_doorlocked32_ca.paa", + "\a3\modules_f\data\editterrainobject\icon3d_dooropened32_ca.paa" + ]; + { + if((ctrlText _x) in _icon) then { + ctrlDelete _x; + }; + }forEach allControls _display; + + private _controls = []; + { + private _control = _display ctrlCreate ["RscActivePicture",-1]; + + _control setVariable ["params",[_building,_forEachIndex + 1]]; + _control ctrlAddEventHandler ["ButtonClick",{ + params ["_control"]; + (_control getVariable "params") params ["_building","_door"]; + [_building,_door] call MAZ_EZM_fnc_doorSetState; + }]; + _control ctrlCommit 0; + + _controls pushBack _control; + }forEach _doors; + + ["MAZ_updateDoorsEachFrame","onEachFrame",{ + params ["_building","_doors","_controls"]; + if(isNull (findDisplay 312)) exitWith { + ["MAZ_updateDoorsEachFrame","onEachFrame"] call BIS_fnc_removeStackedEventHandler; + }; + + if(curatorCamera distance _building > 200) then { + ["MAZ_updateDoorsEachFrame","onEachFrame"] call BIS_fnc_removeStackedEventHandler; + {ctrlDelete _x} forEach _controls; + }; + + { + private _control = _controls select _forEachIndex; + + private _position = _building modelToWorldVisual _x; + private _distance = curatorCamera distance _position; + private _screenPos = worldToScreen _position; + + if(_screenPos isEqualTo [] || {_distance > 100}) then { + _control ctrlShow false; + } else { + _control ctrlShow true; + + private _state = [_building,_forEachIndex + 1] call MAZ_EZM_fnc_doorGetState; + private _icon = [ + "\a3\modules_f\data\editterrainobject\icon3d_doorclosed32_ca.paa", + "\a3\modules_f\data\editterrainobject\icon3d_doorlocked32_ca.paa", + "\a3\modules_f\data\editterrainobject\icon3d_dooropened32_ca.paa" + ] select _state; + private _color = [ + [1,1,1,1], + [1,1,1,1], + [1,1,1,1] + ] select _state; + + _control ctrlSetText _icon; + _control ctrlSetActiveColor _color; + + _color set [3,0.8]; + _control ctrlSetTextColor _color; + + _screenPos params ["_posX","_posY"]; + + private _size = linearConversion [0,100,_distance,1.75,1,true]; + private _posW = ["W",_size] call MAZ_EZM_fnc_convertToGUI_GRIDFormat; + private _posH = ["H",_size] call MAZ_EZM_fnc_convertToGUI_GRIDFormat; + + _control ctrlSetPosition [_posX - _posW / 2, _posY - _posH / 2,_posW,_posH]; + _control ctrlCommit 0; + }; + } forEach _doors; + },[_building,_doors,_controls]] call BIS_fnc_addStackedEventHandler; + }; + + MAZ_EZM_fnc_getDoors = { + params ["_building"]; + private _cfg = (configOf _building >> "UserActions"); + if !(isClass _cfg) exitWith {[]}; + + private _positions = []; + private _position = ""; + + for "_doorID" from 1 to 24 do { + _position = getText(_cfg >> format["OpenDoor_%1",_doorID] >> "position"); + if (_position == "") exitWith {}; + _positions pushBack (_building selectionPosition _position); + }; + + if (count _positions == 0) exitWith {[]}; + + _positions + }; + + MAZ_EZM_fnc_doorSetState = { + params ["_building","_door"]; + private _state = [_building,_door] call MAZ_EZM_fnc_doorGetState; + + _building setVariable [format ["bis_disabled_door_%1",_door],[1, 0, 0] select _state, true]; + _building animateSource [format ["door_%1_sound_source", _door], [0, 1, 0] select _state, false]; + _building animateSource [format ["door_%1_noSound_source", _door], [0, 1, 0] select _state, false]; + }; + + MAZ_EZM_fnc_doorGetState = { + params ["_building","_door"]; + private _var = _building getVariable [(format ["bis_disabled_door_%1",_door]),0]; + + comment "If locked, exit function"; + if(_var == 1) exitWith {1}; + comment "Get animationSourcePhase from door, if closed return 0, if open return 2."; + [0,2] select (_building animationSourcePhase (format ["door_%1_sound_source", _door]) > 0.5) + }; + + MAZ_EZM_fnc_initDoorModule = { + params ["_pos"]; + private _building = nearestObject [_pos, "Building"]; + + if(isNull _building) exitWith {["No near buildings!","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; + [_building] call MAZ_EZM_fnc_doorConfig; + }; + + MAZ_EZM_fnc_openDoorsModule = { + [[true] call MAZ_EZM_fnc_getScreenPosition] call MAZ_EZM_fnc_initDoorModule; + }; + + MAZ_EZM_fnc_godModeFencesModule = { + private _pos = [true] call MAZ_EZM_fnc_getScreenPosition; + ["God Mode Fences",[ + [ + "SLIDER:RADIUS", + "Fences Radius:", + [10,200,25,_pos,[1,1,1,1]] + ] + ],{ + params ["_values","_pos","_display"]; + _values params ["_radius"]; + + private _blackListFences = [ + "land_pipewall_conretel_8m_f","land_mil_wiredfence_gate_f","land_mil_concretewall_f","land_cncbarrier_f","land_cncbarrier_stripes_f", + "land_concrete_smallwall_8m_f","land_concrete_smallwall_4m_f", + "land_brickwall_04_l_pole_f","land_brickwall_03_l_pole_f", + "land_polewall_01_pole_f","land_brickwall_04_l_5m_d_f","land_slums01_pole", + "land_canal_wall_stairs_f","land_mil_wallbig_4m_damaged_left_f","land_backalley_01_l_1m_f", + "land_brickwall_04_l_5m_old_d_f","land_brickwall_02_l_5m_d_f","land_brickwall_03_l_5m_v2_d_f", + "land_mil_wallbig_gate_f","land_canal_wall_d_center_f","land_backalley_01_l_gap_f","land_bamboofence_01_s_d_f", + "land_brickwall_04_l_pole_old_f","land_backalley_01_l_gate_f","land_concretewall_01_m_d_f","land_concretewall_01_l_d_f", + "land_hbarrier_01_wall_4_green_f","land_concretewall_02_m_d_f","land_brickwall_02_l_corner_v2_f","land_brickwall_03_l_5m_v1_d_f", + "land_gravefence_02_f","land_mil_wallbig_debris_f","land_stone_gate_f","land_stone_8md_f", + "land_canal_wallsmall_10m_f","land_canal_wall_10m_f","land_new_wiredfence_10m_dam_f","land_new_wiredfence_pole_f","land_slums02_pole", + "land_canal_wall_d_left_f","land_city_8md_f","land_city2_8md_f","land_wall_tin_pole","land_mil_wiredfenced_f","land_ancient_wall_8m_f", + "land_ancient_wall_4m_f","land_wall_indcnc_pole_f","land_canal_wall_d_right_f","land_wall_indcnc_end_2_f","land_indfnc_pole_f", + "land_indfnc_3_d_f","land_bamboofence_01_s_pole_f","land_backalley_02_l_1m_f","land_woodenwall_02_s_pole_f", + "land_concretewall_02_m_pole_f","land_hbarrier_01_wall_6_green_f","land_wiredfence_01_pole_45_f","land_brickwall_01_l_end_f", + "land_gravefence_01_f","land_brickwall_01_l_pole_f","land_wallcity_01_8m_dmg_whiteblue_f","land_pipefence_01_m_d_f", + "land_wallcity_01_8m_dmg_pink_f","land_concretewall_01_l_pole_f","land_concretewall_03_m_pole_f","land_netfence_03_m_pole_f", + "land_mil_wallbig_4m_damaged_center_f","land_pipefence_01_m_pole_f","land_wiredfence_01_8m_d_f","land_gravefence_04_f", + "land_brickwall_01_l_5m_d_f","land_brickwall_02_l_end_f","land_silagewall_01_l_pole_f","land_wiredfence_01_pole_f", + "land_camoconcretewall_01_pole_v1_f","land_woodenwall_01_m_pole_f","land_netfence_02_m_pole_f","land_camoconcretewall_01_l_end_v1_f", + "land_wiredfence_01_gate_f","land_tinwall_01_m_pole_f","land_gameprooffence_01_l_d_f","land_hbarrier_01_wall_corner_green_f", + "land_mil_wallbig_4m_damaged_right_f","land_netfence_03_m_3m_d_f","land_tinwall_02_l_pole_f","land_wallcity_01_8m_dmg_yellow_f", + "land_netfence_02_m_d_f","land_gravefence_03_f","land_wallcity_01_8m_dmg_grey_f","land_wallcity_01_8m_dmg_blue_f", + "land_quayconcrete_01_20m_wall_f","land_fortress_01_innercorner_90_f","land_fortress_01_innercorner_70_f","land_fortress_01_5m_f", + "land_woodenwall_03_s_d_5m_v1_f","land_fortress_01_outtercorner_80_f","land_pipefence_02_s_8m_f","land_woodenwall_05_m_d_4m_f", + "land_fortress_01_d_r_f","land_woodenwall_02_s_8m_f","land_woodenwall_04_s_pole_f","land_petroglyphwall_01_f", + "land_hbarrierwall_corner_f","land_basaltwall_01_4m_f","land_hbarrierwall4_f","land_wired_fence_4m_f","land_wired_fence_8m_f", + "land_mound02_8m_f","land_mound01_8m_f","land_wall_tin_4_2","land_hbarrier_1_f","land_mil_wiredfence_f","land_razorwire_f", + "land_slums01_8m","land_slums02_4m","land_hbarrier_5_f","land_hbarrier_big_f","land_pipe_fence_4m_f","land_sportground_fence_f", + "land_hbarrier_3_f","land_net_fenced_8m_f","land_net_fence_pole_f","land_net_fence_8m_f","land_net_fence_4m_f", + "land_wired_fence_4md_f","land_wired_fence_8md_f","land_pipefence_02_s_4m_f","land_woodenwall_05_m_4m_v2_f", + "land_woodenwall_04_s_end_v2_f","land_woodenwall_04_s_d_5m_f","land_basaltwall_01_d_right_f","land_woodenwall_01_m_4m_f", + "land_woodenwall_02_s_4m_f","land_woodenwall_05_m_end_f","land_woodenwall_03_s_pole_f","land_woodenwall_04_s_end_v1_f", + "land_woodenwall_03_s_5m_v1_f","land_petroglyphwall_02_f","land_woodenwall_03_s_d_5m_v2_f","land_woodenwall_01_m_8m_f", + "land_tinwall_02_l_4m_f","land_vineyardfence_01_f","land_slumwall_01_s_2m_f","land_hbarrierwall_corridor_f", + "land_basaltwall_01_gate_f","land_tinwall_01_m_4m_v2_f","land_plasticnetfence_01_long_f","land_plasticnetfence_01_short_f", + "land_plasticnetfence_01_short_d_f","land_fortress_01_outtercorner_50_f","land_fortress_01_innercorner_110_f", + "land_polewall_03_5m_v1_f","land_hbarrierwall6_f","land_slumwall_01_s_4m_f","land_hedge_01_s_4m_f","land_polewall_03_5m_v2_f", + "land_gameprooffence_01_l_pole_f","land_woodenwall_03_s_5m_v2_f","land_woodenwall_04_s_5m_f","land_woodenwall_05_m_pole_f", + "land_bamboofence_01_s_4m_f","land_bamboofence_01_s_8m_f","land_plasticnetfence_01_pole_f","land_plasticnetfence_01_long_d_f", + "land_castleruins_01_wall_d_l_f","land_hedge_01_s_2m_f","land_stonewall_01_s_10m_f","land_tinwall_01_m_4m_v1_f", + "land_polewall_03_end_f","land_hbarriertower_f","land_woodenwall_02_s_2m_f","land_tinwall_02_l_8m_f","land_wall_tin_4", + "land_stonewall_01_s_d_f","land_woodenwall_01_m_d_f","land_gameprooffence_01_l_gate_f","land_fortress_01_10m_f", + "land_stonewall_02_s_10m_f","land_woodenwall_05_m_4m_v1_f","land_woodenwall_03_s_d_pole_f","land_woodenwall_02_s_d_f", + "land_gameprooffence_01_l_5m_f","land_mound04_8m_f","land_fortress_01_outtercorner_90_f","land_mound03_8m_f", + "land_castleruins_01_wall_d_r_f","land_castleruins_01_wall_10m_f","land_fortress_01_d_l_f","land_basaltwall_01_8m_f", + "land_basaltwall_01_d_left_f","land_castle_01_wall_01_f","land_castle_01_wall_02_f","land_castle_01_wall_03_f", + "land_castle_01_wall_04_f","land_castle_01_wall_05_f","land_castle_01_wall_06_f","land_castle_01_wall_07_f","land_castle_01_wall_08_f", + "land_castle_01_wall_09_f","land_castle_01_wall_10_f","land_castle_01_wall_11_f","land_castle_01_wall_12_f","land_castle_01_wall_13_f", + "land_castle_01_wall_14_f","land_castle_01_wall_15_f","land_castle_01_wall_16_f","land_pipe_fence_4mnolc_f","land_crash_barrier_f", + "land_crashbarrier_01_4m_f","land_crashbarrier_01_8m_f","land_crashbarrier_01_end_l_f","land_crashbarrier_01_end_r_f", + "land_castle_01_church_ruin_f","land_castle_01_church_b_ruin_f","land_castle_01_step_f","land_pier_wall_f","land_castle_01_house_ruin_f", + "land_new_wiredfence_5m_f","land_new_wiredfence_10m_f","land_cncbarriermedium_f","land_sportground_fence_nolc_f","land_cncwall1_f", + "land_cncwall4_f","land_cncshelter_f" + ]; + private _count = 0; + { + if(!alive _x) then {continue}; + private _modelString = ((str _x) splitString ":" select 1) select [1]; + private _removeExtension = _modelString splitString "." select 0; + private _type = format ['land_%1',_removeExtension]; + + if !((toLower _type) in _blackListFences) then { + _count = _count + 1; + private _position = getPosASL _x; + private _newObj = createSimpleObject [format ["%1",_type],_position]; + _newObj setPosASL _position; + _newObj setVectorDirAndUp [vectorDir _x,surfaceNormal _position]; + if("pillar" in _type) then { + _newObj setVectorUp (vectorUp _x); + }; + [_x,true] remoteExec ["hideObjectGlobal",2]; + [_x,false] remoteExec ["allowDamage"]; + }; + }forEach (nearestTerrainObjects [_pos,["WALL","FENCE"],_radius]); + + [format ["%1 fences replaced!",_count],"addItemOk"] call MAZ_EZM_fnc_systemMessage; + _display closeDisplay 1; + },{ + params ["_values","_args","_display"]; + _display closeDisplay 2; + },_pos] call MAZ_EZM_fnc_createDialog; + }; + + MAZ_EZM_fnc_hideTerrainRadiusModule = { + private _pos = [true] call MAZ_EZM_fnc_getScreenPosition; + ["Hide Terrain Objects",[ + [ + "SLIDER:RADIUS", + "Radius", + [1,250,50,_pos,[1,1,1,1]] + ], + [ + "TOOLBOX", + "Hide or Show", + [true,[["SHOW","Reveals the terrain objects within the radius."],["HIDE","Hides terrain objects within the radius."]]] + ], + [ + "TOOLBOX", + "Buildings", + [true,[["NO","Don't apply to buildings."],["YES","Apply to buildings."]]] + ], + [ + "TOOLBOX", + "Fences and Walls", + [true,[["NO","Don't apply to fences and walls."],["YES","Apply to fences and walls."]]] + ], + [ + "TOOLBOX", + "Vegetation", + [true,[["NO","Don't apply to vegetation."],["YES","Apply to vegetation."]]] + ], + [ + "TOOLBOX", + "Other", + [true,[["NO","Don't apply to other objects."],["YES","Apply to other objects."]]] + ] + ],{ + params ["_values","_args","_display"]; + _values params ["_radius","_hide","_buildings","_fences","_veg","_other"]; + if(!_buildings && !_fences && !_veg && !_other) exitWith { + ["You didn't even select any options...","addItemFailed"] call MAZ_EZM_fnc_systemMessage; + }; + private _nearestObjects = []; + if(_buildings) then { + _nearestObjects = _nearestObjects + (nearestTerrainObjects [_args,["BUILDING","HOUSE","CHURCH","CHAPEL","FUELSTATION","HOSPITAL","RUIN","BUNKER"],_radius,false,true]); + }; + if(_fences) then { + _nearestObjects = _nearestObjects + (nearestTerrainObjects [_args,["WALL","FENCE"],_radius,false,true]); + }; + if(_veg) then { + _nearestObjects = _nearestObjects + (nearestTerrainObjects [_args,["TREE","SMALL TREE","BUSH"],_radius,false,true]); + }; + if(_other) then { + _nearestObjects = _nearestObjects + (nearestTerrainObjects [_args,["ROCK","ROCKS","FOREST BORDER","FOREST TRIANGLE","FOREST SQUARE","CROSS","FORTRESS","FOUNTAIN","VIEW-TOWER","LIGHTHOUSE","QUAY","HIDE","BUSSTOP","ROAD","FOREST","TRANSMITTER","STACK","TOURISM","WATERTOWER","TRACK","MAIN ROAD","POWER LINES","RAILWAY","POWERSOLAR","POWERWAVE","POWERWIND","SHIPWRECK","TRAIL"],_radius,false,true]); + }; + if(_hide) then { + { + [_x,true] remoteExec ["hideObjectGlobal",2]; + [_x,false] remoteExec ["allowDamage"]; + } forEach _nearestObjects; + } else { + { + [_x,false] remoteExec ["hideObjectGlobal",2]; + [_x,true] remoteExec ["allowDamage"]; + } forEach _nearestObjects; + }; + _display closeDisplay 1; + },{ + params ["_values","_args","_display"]; + _display closeDisplay 2; + },_pos] call MAZ_EZM_fnc_createDialog; + }; + + comment "Teleportation"; + + MAZ_EZM_fnc_teleportSelfModule = { + private _pos = [true] call MAZ_EZM_fnc_getScreenPosition; + if(surfaceIsWater _pos) then { + _pos = AGLtoASL _pos; + player setPosASL _pos; + } else { + player setPosATL _pos; + }; + + ["Teleported.","addItemOk"] call MAZ_EZM_fnc_systemMessage; + }; + + MAZ_EZM_fnc_teleportAllPlayersModule = { + private _pos = [true] call MAZ_EZM_fnc_getScreenPosition; + if(surfaceIsWater _pos) then { + _pos = AGLtoASL _pos; + { + _x setPosASL _pos; + }forEach allPlayers; + } else { + { + _x setPosATL _pos; + }forEach allPlayers; + }; + + ["All players teleported.","addItemOk"] call MAZ_EZM_fnc_systemMessage; + }; + + MAZ_EZM_fnc_teleportPlayerModule = { + params ["_entity",["_pos",nil]]; + if(isNil "_pos") then { + _pos = [true] call MAZ_EZM_fnc_getScreenPosition; + }; + ["Teleport Player",[ + [ + "LIST", + "Player to Teleport", + [ + [], + (allPlayers apply {name _x}), + 0 + ] + ] + ],{ + params ["_values","_args","_display"]; + private _value = _values # 0; + private _unit = (allPlayers select _value); + if(surfaceIsWater _args) then { + _args = AGLtoASL _args; + _unit setPosASL _args; + } else { + _unit setPosATL _args; + }; + _display closeDisplay 1; + },{ + params ["_values","_args","_display"]; + _display closeDisplay 2; + },_pos] call MAZ_EZM_fnc_createDialog; + }; + + MAZ_EZM_fnc_teleportSideModule = { + ["Teleport Side",[ + [ + "SIDES", + "Side to teleport:", + [west,east,independent,civilian] + ] + ],{ + params ["_values","_args","_display"]; + _values = _values # 0; + _values apply { + private _return = _x; + if(str _x == "GUER") then { + _return = independent; + }; + if(str _x == "CIV") then { + _return = civilian; + }; + }; + private _allUnits = []; + { + { + if(isPlayer _x) then { + _allUnits pushback _x; + }; + }forEach (units _x); + }forEach _values; + + if(surfaceIsWater _args) then { + _args = AGLtoASL _args; + { + _x setPosASL _args; + }forEach _allUnits; + } else { + { + _x setPosATL _args; + }forEach _allUnits; + }; + + _display closeDisplay 1; + },{ + params ["_values","_args","_display"]; + _display closeDisplay 2; + },[true] call MAZ_EZM_fnc_getScreenPosition] call MAZ_EZM_fnc_createDialog; + }; + + comment "Utilities"; + + MAZ_EZM_zeusObjectBlacklist = [ + "Logic", + "ModuleHQ_F", + "ModuleSector_F", + "ModuleCurator_F", + "VirtualCurator_F", + "ModuleCuratorSetCosts_F", + "ModuleCuratorSetCoefs_F", + "LogicSectorPreview100m_F", + "LogicSectorUnknown100m_F", + "ModuleCuratorSetCamera_F", + "ModuleMPTypeGameMaster_F", + "ModuleCuratorAddPoints_F", + "ModuleRadioChannelCreate_F", + "ModuleCuratorSetModuleCosts_F", + "ModuleCuratorSetObjectCosts_F", + "ModuleCuratorSetDefaultCosts_F", + "ModuleCuratorSetAttributesPlayer_F", + "ModuleCuratorAddEditingAreaPlayers_F" + ]; + MAZ_EZM_zeusObjectWhitelist = [ + "ModuleLightning_F", + "ModuleRemoteControl_F", + "ModuleArsenal_F", + "ModuleHint_F", + "ModulePunishment_F", + "ModuleBootcampStage_F", + "ModuleSmokeYellow_F", + "ModuleSmokeWhite_F", + "ModuleSmokeRed_F", + "ModuleSmokePurple_F", + "ModuleSmokeOrange_F", + "ModuleSmokeGreen_F", + "ModuleSmokeBlue_F", + "ModuleMissionName_F", + "ModuleRespawnTickets_F", + "ModuleEndMission_F", + "ModuleCountdown_F", + "ModuleDiary_F", + "ModuleVehicleRespawnPositionEast_F", + "ModuleVehicleRespawnPositionGuer_F", + "ModuleVehicleRespawnPositionCiv_F", + "ModuleVehicleRespawnPositionWest_F", + "ModuleRespawnPositionEast_F", + "ModuleRespawnPositionGuer_F", + "ModuleRespawnPositionCiv_F", + "ModuleRespawnPositionWest_F", + "ModuleRespawnInventory_F", + "ModuleObjectiveRaceStart_F", + "ModuleObjectiveRaceFinish_F", + "ModuleObjectiveRaceCP_F", + "ModuleObjectiveProtect_F", + "ModuleObjectiveNeutralize_F", + "ModuleObjectiveMove_F", + "ModuleObjectiveGetIn_F", + "ModuleObjective_F", + "ModuleObjectiveSector_F", + "ModuleObjectiveAttackDefend_F", + "ModuleFlareGreen_F", + "ModuleFlareRed_F", + "ModuleFlareWhite_F", + "ModuleFlareYellow_F", + "ModuleCASMissile_F", + "ModuleCASGun_F", + "ModuleCASGunMissile_F", + "ModuleCASBomb_F", + "ModuleOrdnanceMortar_F", + "ModuleOrdnanceRocket_F", + "ModuleOrdnanceHowitzer_F", + "ModuleWeather_F", + "ModuleTimeMultiplier_F", + "ModuleSkiptime_F", + "ModulePostprocess_F", + "ModuleTracers_F", + "ModuleIRGrenade_F", + "ModuleChemlightBlue_F", + "ModuleChemlightGreen_F", + "ModuleChemlightRed_F", + "ModuleChemlightYellow_F", + "ModuleMusic_F", + "ModuleRadio_F", + "ModuleSound_F", + "ModuleAnimalsButterflies_F", + "ModuleAnimalsGoats_F", + "ModuleAnimalsPoultry_F", + "ModuleAnimalsSeagulls_F", + "ModuleAnimalsSheep_F" + ]; + + MAZ_EZM_fnc_addObjectsToInterfaceModule = { + [] spawn { + private _goodObjects = []; + { + if(!(typeOf _x in MAZ_EZM_zeusObjectBlacklist)) then { + _goodObjects pushBack _x; + }; + }forEach allMissionObjects "All"; + [_goodObjects] call MAZ_EZM_fnc_addObjectToInterface; + }; + }; + + MAZ_EZM_fnc_getEditableObjectsRadius = { + params ['_addPos', '_addRadius']; + private _allObjs = nearestObjects [_addPos, ['ALL'], _addRadius, true]; + private _simpleObjectsInRange = (allSimpleObjects []) select {(_x distance _addPos) <= _addRadius}; + private _objsToAdd = []; + { + _addObject = false; + _className = typeOf _x; + _isKindOfLogic = _x isKindOf 'Logic'; + _isInWhitelist = _className in MAZ_EZM_zeusObjectWhitelist; + _isInBlacklist = _className in MAZ_EZM_zeusObjectBlacklist; + if (_isKindOfLogic) then { + "If its logic NOT in blacklist OR in whitelist"; + if ((!_isInBlacklist) OR (_isInWhitelist)) then { + _addObject = true; + }; + } else { + "If its NOT logic AND NOT in blacklist"; + if (!_isInBlacklist) then { + _addObject = true; + }; + }; + if !(_x getVariable ['JAM_isEditable', true]) then { + _addObject = false; + }; + if (_addObject) then { + _objsToAdd pushBack _x; + }; + } forEach (_allObjs + _simpleObjectsInRange); + _objsToAdd; + }; + + MAZ_EZM_fnc_addObjectsToInterfaceRadiusModule = { + private _pos = [true] call MAZ_EZM_fnc_getScreenPosition; + ["Add Objects to Interface",[ + [ + "SLIDER:RADIUS", + "Radius", + [10,2000,250,_pos,[1,1,1,1]] + ], + [ + "TOOLBOX", + "Global or Local", + [true,[["Local","Adds to interface for you only."],["Global","Adds to interface for every zeus."]]] + ] + ],{ + params ["_values","_args","_display"]; + private _radius = round (_values # 0); + private _isGlobal = _values # 1; + _isGlobal = [getAssignedCuratorLogic player, allCurators] select _isGlobal; + private _objects = [_args,_radius] call MAZ_EZM_fnc_getEditableObjectsRadius; + [_objects,_isGlobal] call MAZ_EZM_fnc_addObjectToInterface; + _display closeDisplay 1; + },{ + params ["_values","_args","_display"]; + _display closeDisplay 2; + },_pos] call MAZ_EZM_fnc_createDialog; + }; + + MAZ_EZM_fnc_toggleAutoAddToInterface = { + MAZ_EZM_autoAdd = !MAZ_EZM_autoAdd; + profileNamespace setVariable ["MAZ_EZM_autoAddVar",MAZ_EZM_autoAdd]; + saveProfileNamespace; + [["Auto Add to Interface disabled","Auto Add to Interface enabled"] select MAZ_EZM_autoAdd,"addItemOk"] call MAZ_EZM_fnc_systemMessage; + }; + + MAZ_EZM_BIS_fnc_remoteControlUnit = { + params ["_logic","_unit","_activated"]; + if (_activated && local _logic && !isnull curatorcamera) then { + + if !(isnull (missionnamespace getvariable ["bis_fnc_moduleRemoteControl_unit",objnull])) exitwith {}; + + private _targetObjArray = curatorMouseOver; + _unit = _targetObjArray select 1; + if(isNull _unit) exitWith { + deletevehicle _logic; + }; + _unit = effectivecommander _unit; + + private _tempOwner = _unit getvariable ["bis_fnc_moduleRemoteControl_owner", objnull]; + + _error = ""; + if !(side group _unit in [east,west,resistance,civilian]) then {_error = localize "str_a3_cfgvehicles_moduleremotecontrol_f_errorEmpty";}; + if (isplayer _unit) then {_error = localize "str_a3_cfgvehicles_moduleremotecontrol_f_errorPlayer";}; + if !(alive _unit) then {_error = localize "str_a3_cfgvehicles_moduleremotecontrol_f_errorDestroyed";}; + if (isnull _unit) then {_error = localize "str_a3_cfgvehicles_moduleremotecontrol_f_errorNull";}; + if (!isnull _tempOwner && {_tempOwner in allPlayers}) then {_error = localize "str_a3_cfgvehicles_moduleremotecontrol_f_errorControl";}; + if (isuavconnected vehicle _unit) then {_error = localize "str_a3_cfgvehicles_moduleremotecontrol_f_errorControl";}; + + if (_error == "") then { + _unit spawn { + scriptname "bis_fnc_moduleRemoteControl: Loop"; + _unit = _this; + _vehicle = vehicle _unit; + _vehicleRole = str assignedvehiclerole _unit; + private _initialPos = getPos player; + private _initialHidden = isObjectHidden player; + + bis_fnc_moduleRemoteControl_unit = _unit; + _unit setvariable ["bis_fnc_moduleRemoteControl_owner",player,true]; + + [format ["wind%1",ceil random 5],"bis_fnc_playsound"] call bis_fnc_mp; + + _blur = ppeffectcreate ["RadialBlur",144]; + _blur ppeffectenable true; + _blur ppeffectadjust [0,0,0.3,0.3]; + _blur ppeffectcommit 0; + _blur ppeffectadjust [0.03,0.03,0.1,0.1]; + _blur ppeffectcommit 1; + + _cam = "camera" camcreate getposatl curatorcamera; + _cam cameraeffect ["internal","back"]; + _cam campreparetarget (screentoworld [0.5,0.5]); + _cam camcommitprepared 0; + _cam campreparetarget _unit; + _cam campreparefov 0.1; + _cam camcommitprepared 1; + sleep 0.75; + + ("bis_fnc_moduleRemoteCurator" call bis_fnc_rscLayer) cuttext ["","black out",0.25]; + sleep 0.25; + + (finddisplay 312) closedisplay 2; + waituntil {isnull curatorcamera}; + + player remotecontrol _unit; + if (cameraon != _vehicle) then { + _vehicle switchcamera cameraview; + }; + private _oldGroup = group player; + private _oldSide = side _oldGroup; + private _isDamageAllowed = isDamageAllowed player; + [player] joinSilent (group _unit); + player allowDamage false; + player attachTo [_unit,[0,0,0]]; + [player,""] remoteExec ["switchMove"]; + [player,true] remoteExec ["hideObjectGlobal",2]; + + ppeffectdestroy _blur; + _cam cameraeffect ["terminate","back"]; + camdestroy _cam; + + _color = ppeffectcreate ["colorCorrections",1896]; + _color ppeffectenable true; + _color ppeffectadjust [1,1,0,[0,0,0,1],[1,1,1,1],[0,0,0,0],[0.9,0.0,0,0,0,0.5,1]]; + _color ppeffectcommit 0; + + _curator = getassignedcuratorlogic player; + [_curator,"curatorObjectRemoteControlled",[_curator,player,_unit,true]] call bis_fnc_callScriptedEventHandler; + [["Curator","RemoteControl"],nil,nil,nil,nil,nil,nil,true] call bis_fnc_advHint; + + sleep 0.3; + _color ppeffectadjust [1,1,0,[0,0,0,1],[1,1,1,1],[0,0,0,0],[0.9,0.85,0,0,0,0.5,1]]; + _color ppeffectcommit 0.3; + ("bis_fnc_moduleRemoteCurator" call bis_fnc_rscLayer) cuttext ["","black in",0.5]; + + _vehicle = vehicle _unit; + _vehicleRole = str assignedvehiclerole _unit; + _rating = rating player; + waituntil { + if ((vehicle _unit != _vehicle || str assignedvehiclerole _unit != _vehicleRole) && {alive _unit}) then { + player remotecontrol _unit; + _vehicle = vehicle _unit; + _vehicleRole = str assignedvehiclerole _unit; + }; + if (rating player < _rating) then { + player addrating (-rating player + _rating); + }; + sleep 0.01; + !isnull curatorcamera + || + {cameraon == vehicle player} + || + {!alive _unit} + || + {!alive player} + || + {isnull getassignedcuratorlogic player} + }; + + player addrating (-rating player + _rating); + objnull remotecontrol _unit; + _unit setvariable ["bis_fnc_moduleRemoteControl_owner",nil,true]; + + if (alive player) then { + if ( + isnull curatorcamera + && + {cameraon != vehicle player} + && + {!isnull _unit} + && + {!isnull getassignedcuratorlogic player} + ) then { + sleep 2; + ("bis_fnc_moduleRemoteCurator" call bis_fnc_rscLayer) cuttext ["","black out",1]; + sleep 1; + }; + if !(isnull _unit) then { + _unitPos = getposatl _unit; + _camPos = [_unitPos,10,direction _unit + 180] call bis_fnc_relpos; + _camPos set [2,(_unitPos select 2) + (getterrainheightasl _unitPos) - (getterrainheightasl _camPos) + 10]; + (getassignedcuratorlogic player) setvariable ["bis_fnc_modulecuratorsetcamera_params",[_camPos,_unit]]; + }; + + sleep 0.1; + ("bis_fnc_moduleRemoteCurator" call bis_fnc_rscLayer) cuttext ["","black in",1e10]; + opencuratorinterface; + ppeffectdestroy _color; + + waituntil {!isnull curatorcamera}; + } else { + ppeffectdestroy _color; + }; + player switchcamera cameraview; + bis_fnc_moduleRemoteControl_unit = nil; + ("bis_fnc_moduleRemoteCurator" call bis_fnc_rscLayer) cuttext ["","black in",1]; + [_curator,"curatorObjectRemoteControlled",[_curator,player,_unit,false]] call bis_fnc_callScriptedEventHandler; + detach player; + player setPos _initialPos; + if(_isDamageAllowed) then { + [] spawn { + waitUntil {vectorMagnitude velocity player == 0}; + sleep 0.1; + player allowDamage true; + }; + }; + if(isNull _oldGroup) then { + [player] joinSilent (createGroup [_oldSide,true]); + } else { + [player] joinSilent _oldGroup; + }; + [player,_initialHidden] remoteExec ["hideObjectGlobal",2]; + sleep 0.01; + }; + } else { + [objnull,_error] call bis_fnc_showCuratorFeedbackMessage; + }; + deletevehicle _logic; + }; + }; + + MAZ_EZM_fnc_toggleCleaner = { + MAZ_EZM_enableCleaner = !MAZ_EZM_enableCleaner; + [["Auto Cleaner disabled","Auto Cleaner enabled"] select MAZ_EZM_enableCleaner,"addItemOk"] call MAZ_EZM_fnc_systemMessage; + profileNamespace setVariable ["MAZ_EZM_autoCleanerVar",MAZ_EZM_enableCleaner]; + }; + + comment "Vehicle Modifications"; + + MAZ_EZM_fnc_unflipVehicleModule = { + params ["_entity"]; + if(isNull _entity) exitWith {["No object!","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; + + _entity setVectorUp surfaceNormal getPos _entity; + _entity setPosATL [getPosATL _entity select 0, getPosATL _entity select 1, 0.2]; + + ["Vehicle unflipped.","addItemOk"] call MAZ_EZM_fnc_systemMessage; + }; + + MAZ_EZM_fnc_rearmVehicleModule = { + params ["_entity"]; + if(isNull _entity) exitWith {["No object!","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; + [[_entity],{ + [_this,1] remoteExec ["setVehicleAmmo",owner _entity]; + }] remoteExec ['spawn',2]; + + ["Vehicle rearmed.","addItemOk"] call MAZ_EZM_fnc_systemMessage; + }; + + MAZ_EZM_fnc_refuelVehicleModule = { + params ["_entity"]; + if(isNull _entity) exitWith {["No object!","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; + [_entity,{ + [_this,1] remoteExec ['setFuel',owner _this]; + }] remoteExec ['spawn',2]; + + ["Vehicle refueled.","addItemOk"] call MAZ_EZM_fnc_systemMessage; + }; + + MAZ_EZM_fnc_repairVehicleModule = { + params ["_entity"]; + if(isNull _entity) exitWith {["No object!","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; + _entity setDamage 0; + + ["Vehicle repaired.","addItemOk"] call MAZ_EZM_fnc_systemMessage; + }; + + comment "Zeus"; + + MAZ_EZM_fnc_toggleGameModerator = { + private _mod = missionNamespace getVariable ["bis_curator_1",objNull]; + private _curator = getAssignedCuratorLogic player; + if(isNull _curator) exitWith {}; + if(_curator == _mod) exitWith { + ["You cannot disable the Game Mod slot as the Game Mod you dingus!","addItemFailed"] call MAZ_EZM_fnc_systemMessage; + }; + ["Disable Game Moderator?",[ + [ + "TOOLBOX", + "Disable Game Mod?", + [true,[["No, enable","Enables Game Moderator Rights."],["Yes, disable","Removes Game Moderator rights."]]] + ] + ],{ + params ["_values","_args","_display"]; + _values params ["_disable"]; + missionNamespace setVariable ["MAZ_EZM_disableModerator",_disable,true]; + + _display closeDisplay 1; + },{ + params ["_values","_args","_display"]; + _display closeDisplay 2; + },[]] call MAZ_EZM_fnc_createDialog; + }; + + comment "Auto-Add to Interface"; + + MAZ_EZM_fnc_addToInterface = { + [] spawn { + if(!MAZ_EZM_autoAdd) exitWith {}; + call MAZ_EZM_fnc_addObjectsToInterfaceModule; + }; + }; + + comment "Faction Functions"; + + MAZ_EZM_fnc_removeAllClothing = { + params ["_unit"]; + _unit setUnitLoadout [[],[],[],[],[],[],"","",["","","","",[],[],""],["ItemMap","ItemGPS","ItemRadio","ItemCompass","ItemWatch",""]]; + removeGoggles _unit; + }; + + MAZ_EZM_fnc_createMan = { + params [ + ["_side",west,[west]], + ["_unitType","B_Soldier_F",[""]], + ["_unitPos",MAZ_EZM_stanceForAI,[""]], + ["_behaviour","AWARE",[""]], + ["_rank","PRIVATE",[""]], + ["_pos",[true] call MAZ_EZM_fnc_getScreenPosition,[[]]] + ]; + private _grp = createGroup [_side,true]; + [_grp,0] setWayPointPosition [_pos,0]; + private _unit = _grp createUnit [_unitType,_pos,[],0,"CAN_COLLIDE"]; + _unit setUnitPos _unitPos; + _unit setRank _rank; + _grp setBehaviour _behaviour; + [_unit] call MAZ_EZM_fnc_addObjectToInterface; + [_unit] spawn MAZ_EZM_fnc_cleanerWaitTilNoPlayers; + + [missionNamespace, "EZM_onManCreated", [_unit]] call BIS_fnc_callScriptedEventHandler; + + _unit + }; + + MAZ_EZM_fnc_addItemAndWeapons = { + params [ + ["_unit",objNull,[objNull]], + ["_primWeapon",[],[[]]], + ["_secWeapon",[],[[]]], + ["_handgunWeapon",[],[[]]], + ["_numFirstAidKits",3,[3]], + ["_grenadeInfo",[],[[]]], + ["_extraItems",[],[[]]] + ]; + + if(isNull _unit) exitWith {}; + + for "_i" from 1 to _numFirstAidKits do { + _unit addItem "FirstAidKit"; + }; + + { + _x params ["_grenadeType","_grenadeQuantity"]; + for "_i" from 1 to _grenadeQuantity do { + _unit addMagazine _grenadeType; + }; + }forEach _grenadeInfo; + + if(!(_primWeapon isEqualTo [])) then { + _primWeapon params [["_primWeaponType","",[""]],["_magInfo",[],[[]]],["_primAttachments",[]]]; + for "_i" from 1 to (_magInfo select 1) do { + _unit addMagazine (_magInfo select 0); + }; + _unit addWeapon _primWeaponType; + { + _unit addPrimaryWeaponItem _x; + }forEach _primAttachments; + }; + + if(!(_secWeapon isEqualTo [])) then { + _secWeapon params [["_secWeaponType","",[""]],["_secMagInfo","",[[]]],["_secAttachments",[]]]; + for "_i" from 1 to (_secMagInfo select 1) do { + _unit addMagazine (_secMagInfo select 0); + }; + _unit addWeapon _secWeaponType; + { + _unit addSecondaryWeaponItem _x; + }forEach _secAttachments; + }; + + if(!(_handgunWeapon isEqualTo [])) then { + _handgunWeapon params [["_hGunWeaponType","",[""]],["_hGunMagInfo","",[[]]],["_hGunAttachments",[]]]; + for "_i" from 1 to (_hGunMagInfo select 1) do { + _unit addMagazine (_hGunMagInfo select 0); + }; + _unit addWeapon _hGunWeaponType; + { + _unit addSecondaryWeaponItem _x; + }forEach _hGunAttachments; + }; + + { + _x params ["_itemType","_itemQuantity"]; + for "_i" from 1 to _itemQuantity do { + _unit addItem _itemType; + }; + }forEach _extraItems; + }; + + MAZ_EZM_fnc_createVehicle = { + params [ + ["_vehicleType","B_MRAP_01_F",[""]], + ["_textures",[],[[]]], + ["_pos",[],[[]]] + ]; + private _isOnCarrier = false; + if(_pos isEqualTo []) then { + _pos = [true] call MAZ_EZM_fnc_getScreenPosition; + if(surfaceIsWater _pos && {(_pos # 2) != 0}) then {_isOnCarrier = true}; + if(!(_vehicleType isKindOf "Ship") && !(getNumber (configFile >> "CfgVehicles" >> _vehicleType >> "canFloat") == 1)) then { + _pos = ASLtoATL (AGLtoASL _pos); + } else { + _pos = _pos vectorAdd [0,0,1]; + }; + }; + private _vehicle = objNull; + if(surfaceIsWater _pos && _vehicleType isKindOf "Air" && !_isOnCarrier) then { + _vehicle = createVehicle [_vehicleType,_pos,[],0,"FLY"]; + } else { + _vehicle = createVehicle [_vehicleType,_pos,[],0,"CAN_COLLIDE"]; + }; + { + _vehicle setObjectTextureGlobal [_forEachIndex, _x]; + }forEach _textures; + [_vehicle] call MAZ_EZM_fnc_addObjectToInterface; + [_vehicle] spawn MAZ_EZM_fnc_cleanerWaitTilNoPlayers; + + [missionNamespace, "EZM_onVehicleCreated", [_vehicle]] call BIS_fnc_callScriptedEventHandler; + + _vehicle + }; + + MAZ_EZM_fnc_addNVGs = { + params [["_unit",objNull,[objNull]],["_nvg","",[""]]]; + if(isNull _unit) exitWith {}; + if(!MAZ_EZM_nvgsOnlyAtNight) exitWith {}; + if(_nvg == "") then { + private _loadout = getUnitLoadout (configFile >> "CfgVehicles" >> typeOf _unit); + private _loadoutNVG = (_loadout select 9) select {"NV" in _x}; + if(_loadoutNVG isEqualTo []) exitWith {}; + _loadoutNVG = _loadoutNVG select 0; + _nvg = _loadoutNVG; + }; + if(call MAZ_EZM_fnc_isNightTime) then { + _unit addItem _nvg; + _unit assignItem _nvg; + } else { + private _nvg = (assignedItems _unit) select {"NV" in _x}; + if(_nvg isEqualTo []) exitWith {}; + _nvg = _nvg select 0; + _unit unassignItem _nvg; + _unit removeItem _nvg; + }; + }; + + MAZ_EZM_fnc_cacheExplodeOnExplosiveDamage = { + params ["_cache"]; + _cache addEventHandler ["HandleDamage", { + params ["_unit", "_selection", "_damage", "_source", "_projectile", "_hitIndex", "_instigator", "_hitPoint"]; + systemChat (format ["Proj: %1 T1: %2 T2: %3 T3: %4 T4: %5",_projectile,_projectile isKindOf "TimeBombCore", _projectile isKindOf "GrenadeCore", _projectile isKindOf "BombCore", _projectile isKindOf "RocketCore"]); + if(_projectile isKindOf "TimeBombCore" || _projectile isKindOf "GrenadeCore" || _projectile isKindOf "BombCore" || _projectile isKindOf "RocketCore") then { + private _bomb = "IEDUrbanBig_Remote_Ammo" createVehicle (_unit modelToWorld [0,0,0]); + _bomb setDamage 1; + deleteVehicle _unit; + }; + }]; + }; + + MAZ_EZM_fnc_createDeadSoldierModule = { + params [["_gunType","Weapon_arifle_CTAR_blk_F"]]; + private _pos = [true] call MAZ_EZM_fnc_getScreenPosition; + + private _soldier = createVehicle ["O_Soldier_F",[24602.4,19234.3,2.38419e-007],[],0,"CAN_COLLIDE"]; + _soldier setUnitLoadout [[],[],[],["U_O_CombatUniform_ocamo",[["FirstAidKit",1],["Chemlight_red",1,1]]],["V_HarnessO_brn",[]],[],"H_HelmetO_ocamo","",[],["ItemMap","ItemGPS","ItemRadio","ItemCompass","ItemWatch",""]]; + + private _animData = selectRandom [ + ["KIA_gunner_static_low01",[24602.4,19234.4,3.19144],[24603.4,19234.9,3.20104],[24601.7,19235,3.195]], + ["KIA_gunner_standup01",[24602.4,19234.4,3.19144],[24602.9,19233.5,3.2036],[24602.4,19234.3,3.19136]], + ["KIA_driver_boat01",[24602.4,19234.4,3.19144],[24603,19235.2,3.19],[24602.8,19234.5,3.195]], + ["KIA_passenger_boat_holdleft",[24602.5,19234.4,3.19144],[24603,19235.1,3.19896],[24602.8,19234.4,3.195]] + ]; + + _animData params ["_anim","_unitPos","_gunPos","_bloodPos"]; + [_soldier,_anim] remoteExec ['switchMove',0,_soldier]; + _soldier disableAI "ALL"; + _soldier setCaptive true; + _soldier setSpeaker "NoVoice"; + _soldier allowDamage false; + _soldier setPosWorld _unitPos; + _soldier setVectorDirAndUp [[0.965509,-0.26037,0],[0,0,1]]; + _soldier setDir (random 359); + [_soldier] call MAZ_EZM_fnc_deleteAttachedWhenKilled; + [_soldier] call MAZ_EZM_fnc_deleteAttachedWhenDeleted; + [_soldier] call MAZ_EZM_fnc_addObjectToInterface; + [_soldier] call MAZ_EZM_fnc_ignoreWhenCleaning; + + _soldier spawn { + while {!isNull _this} do { + private _sounds = [ + ["A3\Missions_F_Oldman\Data\sound\Flies\Flies_02.wss",10.5,0.5,15] + ]; + private _soundData = selectRandom _sounds; + _soundData params ["_sound","_time","_volume","_distance"]; + playSound3D [_sound,_this,false,getPosASL _this, _volume, 1, _distance]; + sleep _time; + }; + }; + + private _gun = createVehicle [_gunType,[24603.4,19234.9,0.0110364],[],0,"CAN_COLLIDE"]; + _gun setPosWorld _gunPos; + _gun setDir (random 90); + [_gun,_soldier] call BIS_fnc_attachToRelative; + + private _blood = createVehicle ["BloodSplatter_01_Medium_New_F",[24601.7,19235,0],[],0,"CAN_COLLIDE"]; + _blood setPosWorld _bloodPos; + _blood setVectorDirAndUp [[0,1,0],[0,0,1]]; + _blood setObjectTextureGlobal [0,"a3\props_f_orange\humanitarian\garbage\data\bloodsplatter_medium_fresh_ca.paa"]; + _blood setDir (random 359); + [_blood, _soldier] call BIS_fnc_attachToRelative; + + _soldier setpos _pos; + + _soldier + }; + + comment "Pylon Editor"; + + "TODO : Rewrite and use a GUI instead. 3D icons is just too aids to handle with the internal bays."; + "https://steamcommunity.com/sharedfiles/filedetails/?id=1867660876"; + ZAM_EZM_fnc_editVehiclePylons = { + params ["_veh"]; + private _pylons = []; + { + if(_x find "pylon" != -1 && _x find "proxy" != -1) then { + _pylons pushBack _x; + }; + }forEach (_veh selectionNames "FireGeometry"); + + private _pylonSlotsUnfiltered = (configFile >> "CfgVehicles" >> typeOf _veh >> "Components" >> "TransportPylonsComponent" >> "Pylons") call BIS_fnc_getCfgSubClasses; + private _pylonSlots = []; + { + if((toLower _x) find "bay" == -1) then { + _pylonSlots pushBack _x; + }; + }forEach _pylonSlotsUnfiltered; + private _pylonsNew = []; + { + private _numberOfPylon = _x splitString "."; + private _pylonIndex = -1; + if(count _numberOfPylon != 2) then {} else { + _pylonIndex = (parseNumber (_numberOfPylon # 1)) - 1; + if(_pylonIndex <= (count _pylonSlots -1)) then { + _pylonsNew set [_pylonIndex,_veh selectionPosition _x]; + }; + }; + }forEach _pylons; + + + private _currentMags = getPylonMagazines _veh; + private _pylonWeapons = []; + private _pylonDisplayNames = []; + + { + private _pylon = _x; + private _compatMags = _veh getCompatiblePylonMagazines _x; + private _temp = []; + { + _temp pushBack (getText (configFile >> "CfgMagazines" >> _x >> "displayName")); + }forEach _compatMags; + _pylonWeapons pushBack _compatMags; + _pylonDisplayNames pushBack _temp; + }forEach _pylonSlots; + + private _display = findDisplay 312; + private _controls = []; + { + private _control = _display ctrlCreate ["RscCombo",-1]; + _control setVariable ["pylonEditorPylon",_x]; + private _pylonNames = _pylonDisplayNames select _forEachIndex; + private _pylonConfigNames = _pylonWeapons select _forEachIndex; + private _currentMag = _currentMags select _forEachIndex; + private _indexPylon = _pylonConfigNames find _currentMag; + { + private _index = _control lbAdd _x; + _control lbSetData [_index,_pylonConfigNames select _forEachIndex]; + }forEach _pylonNames; + _control setVariable ["pylonEditorVehicle",_veh]; + _control ctrlAddEventHandler ["LBSelChanged",{ + params ["_control", "_selectedIndex"]; + private _vehicle = _control getVariable 'pylonEditorVehicle'; + private _pylonSlot = _control getVariable "pylonEditorPylon"; + private _pylonNew = _control lbData _selectedIndex; + private _pylonMaxAmmo = getNumber (configFile >> "CfgMagazines" >> _pylonNew >> "count"); + + comment "TODO : Fix pylons not saving globally."; + [_vehicle,[_pylonSlot,_pylonNew]] remoteExec ['setPylonLoadout']; + _vehicle setPylonLoadout [_pylonSlot,_pylonNew]; + comment "_vehicle setPylonLoadout [_pylonSlot,_pylonNew]"; + _vehicle setAmmoOnPylon [_pylonSlot,_pylonMaxAmmo]; + }]; + _control lbSetCurSel _indexPylon; + + _controls pushBack _control; + }forEach _pylonSlots; + + if(!isNil "MAZ_updateEachFramePylons") then { + private _pylonEditorControls = player getVariable ["pylonEditorControls",[]]; + { + ctrlDelete _x; + }forEach _pylonEditorControls; + player setVariable ["pylonEditorControls",[]]; + [MAZ_updateEachFramePylons,"onEachFrame"] call BIS_fnc_removeStackedEventHandler; + }; + player setVariable ["pylonEditorControls",_controls]; + + MAZ_updateEachFramePylons = ["MAZ_updatePylonsEachFrame","onEachFrame",{ + params ["_vehicle","_pylons","_controls"]; + if(isNull findDisplay 312) exitWith { + [MAZ_updateEachFramePylons,"onEachFrame"] call BIS_fnc_removeStackedEventHandler; + }; + + if(curatorCamera distance _vehicle > 125) then { + [MAZ_updateEachFramePylons,"onEachFrame"] call BIS_fnc_removeStackedEventHandler; + {ctrlDelete _x} forEach _controls; + }; + + { + private _control = _controls select _forEachIndex; + + private _position = _vehicle modelToWorldVisual _x; + private _distance = curatorCamera distance _position; + private _screenPos = worldToScreen _position; + + if(_screenPos isEqualTo [] || {_distance > 75}) then { + _control ctrlShow false; + } else { + _control ctrlShow true; + + _screenPos params ["_posX","_posY"]; + + private _size = linearConversion [0,100,_distance,1.75,1,true]; + private _posW = ["W",(_size*4)] call MAZ_EZM_fnc_convertToGUI_GRIDFormat; + private _posH = ["H",1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat; + + _control ctrlSetPosition [_posX - _posW / 2, _posY - _posH / 2,_posW,_posH]; + _control ctrlCommit 0; + }; + } forEach _pylons; + + },[_veh,_pylonsNew,_controls]] call BIS_fnc_addStackedEventHandler; + }; + + comment "Collapse Expand Trees"; + + MAZ_EZM_fnc_collapseAllTrees = { + private _display = (findDisplay 312); + { + for '_n' from 0 to ((_display displayCtrl _x) tvCount []) do { + (_display displayCtrl _x) tvCollapse [_n]; + }; + } forEach [270,271,272,273,274,275,276,277,278,280]; + }; + + MAZ_EZM_fnc_expandAllTrees = { + private _display = (findDisplay 312); + { + for '_n' from 0 to ((_display displayCtrl _x) tvCount []) do { + (_display displayCtrl _x) tvExpand [_n]; + }; + } forEach [270,271,272,273,274,275,276,277,278,280]; + }; + + comment "Seasonal Functions"; + + MAZ_EZM_fnc_isInRange = { + params ["_start","_end","_num"]; + if(_num >= _start && _num <= _end) exitWith {true}; + false + }; + + MAZ_EZM_fnc_getHoliday = { + (systemTimeUTC) params ["_year","_month","_day","_hr","_min","_s","_ms"]; + + comment "New Years"; + if((_month == 12 && _day == 31) || (_month == 1 && _day == 1)) exitWith {"NewYears"}; + + comment "Valentines Day"; + if(_month == 2 && _day == 14) exitWith {"Valentines"}; + + comment "St. Patricks Day"; + if(_month == 3 && _day == 17) exitWith {"StPatricks"}; + + comment "April Fools"; + if(_month == 4 && _day == 1) exitWith {"AprilFools"}; + + comment "Easter"; + if(_month == 4 && _day == 17) exitWith {"Easter"}; + + comment "July 4th"; + if(_month == 7 && _day == 4) exitWith {"July4th"}; + + comment "Halloween"; + if(_month == 10 && ([24,31,_day] call MAZ_EZM_fnc_isInRange)) exitWith {"Halloween"}; + + comment "Veterans Day"; + if(_month == 11 && _day == 11) exitWith {"Veterans"}; + + comment "Christmas"; + if(_month == 12 && ([1,31,_day] call MAZ_EZM_fnc_isInRange)) exitWith {"Christmas"}; + "" + }; + + MAZ_EZM_fnc_isHoliday = { + private _holiday = call MAZ_EZM_fnc_getHoliday; + if(_holiday != "") exitWith {true}; + false + }; + + switch (call MAZ_EZM_fnc_getHoliday) do { + case "Christmas": { + MAZ_EZM_holidayFunctions = { + MAZ_EZM_fnc_createChristmasTree = { + private _pos = [true] call MAZ_EZM_fnc_getScreenPosition; + private _tree = createSimpleObject ["a3\Vegetation_F_Enoch\Tree\t_PiceaAbiesNativitatis_2s.p3d",_pos]; + private _helipad = "Land_HelipadEmpty_F" createVehicle _pos; + _helipad setPos _pos; + _tree attachto [_helipad, [0,0,8.1]]; + [_helipad] call MAZ_EZM_fnc_addObjectToInterface; + [_helipad] call MAZ_EZM_fnc_deleteAttachedWhenDeleted; + }; + + MAZ_EZM_fnc_createSantaHostage = { + private _santa = [west, "I_G_Story_SF_Captain_F"] call MAZ_EZM_fnc_createMan; + [_santa] spawn { + params ["_santa"]; + sleep 0.1; + comment "SANTA_1 UNIT INIT"; + + _santa setVariable ["BIS_enableRandomization", false]; + _santa setUnitLoadout [["sgun_HunterShotgun_01_sawedoff_F","","","",["2Rnd_12Gauge_Pellets",2],[],""],[],[],["U_C_Paramedic_01_F",[["FirstAidKit",1],["Chemlight_green",1,1],["2Rnd_12Gauge_Pellets",3,2]]],["V_DeckCrew_red_F",[]],[],"H_Beret_CSAT_01_F","G_Squares",[],["ItemMap","","ItemRadio","ItemCompass","ItemWatch",""]]; + _santa setName "Santa Claus"; + [_santa, "WhiteHead_26"] remoteExec ["setFace"]; + _santa allowDamage false; + removeGoggles _santa; + _santa addItem 'G_Squares'; + _santa assignItem 'G_Squares'; + }; + _santa setCaptive true; + _santa disableAI 'Move'; + [_santa,"Acts_AidlPsitMstpSsurWnonDnon_loop"] remoteExec ["switchMove"]; + [ + _santa, + "Free SANTA CLAUS", + "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_secure_ca.paa", + "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_secure_ca.paa", + "_this distance _target < 3", + "_caller distance _target < 3", + {}, + {}, + { + _unit = (_this select 0); + [_unit,false] remoteExec ["setCaptive"]; + [_unit,"Move"]remoteExec ["enableAI"]; + [_unit,"AmovPercMstpSnonWnonDnon"] remoteExec ["playMove"]; + [_unit] remoteExec ["removeAllActions"]; + detach _unit; + }, + {}, + [], + 6, + 0, + true, + false + ] remoteExec ["BIS_fnc_holdActionAdd", 0, _santa]; + }; + + MAZ_EZM_fnc_createCandyCane = { + params [["_color","#(rgb,8,8,3)color(0,1,0,1)",[""]],["_layerWhiteList",[],[[]]],["_layerBlacklist",[],[[]]],["_posCenter",[0,0,0],[[]]],["_dir",0,[0]],["_idBlacklist",[],[[]]]]; + private _allWhitelisted = _layerWhiteList isEqualTo []; + private _layerRoot = (_allWhitelisted || {true in _layerWhiteList}) && {!(true in _layerBlackList)}; + private _markers = []; + private _markerIDs = []; + private _groups = []; + private _groupIDs = []; + private _objects = []; + private _objectIDs = []; + + private _item14 = objNull; + if (_layerRoot) then { + _item14 = createVehicle ["Land_VR_Block_04_F",[4912.04,5544.64,8.956],[],0,"CAN_COLLIDE"]; + _this = _item14; + _objects pushback _this; + _objectIDs pushback 14; + _this setPosWorld [4912.04,5544.64,18.456]; + _this setVectorDirAndUp [[-1.0411e-006,-1,0],[0,0,1]]; + _this setObjectTextureGlobal [0,"#(argb,8,8,3)color(0.75,0.75,0.75,1.0,co)"]; + _this setObjectMaterialGlobal [0,"a3\structures_f_bootcamp\vr\coverobjects\data\vr_coverobject_basic.rvmat"]; + _this setObjectTextureGlobal [1,"#(argb,8,8,3)color(1.0,1.0,1.0,1.0,co)"]; + _this setObjectMaterialGlobal [1,"a3\structures_f_bootcamp\vr\coverobjects\data\vr_coverobject_emmisive.rvmat"]; + }; + + private _item15 = objNull; + if (_layerRoot) then { + _item15 = createVehicle ["Land_VR_Block_04_F",[4911.98,5544.67,17.956],[],0,"CAN_COLLIDE"]; + _this = _item15; + _objects pushback _this; + _objectIDs pushback 15; + _this setPosWorld [4911.98,5544.67,27.456]; + _this setVectorDirAndUp [[-1.0411e-006,-1,0],[0,0,1]]; + _this setObjectTextureGlobal [0,"#(argb,8,8,3)color(0.75,0.75,0.75,1.0,co)"]; + _this setObjectMaterialGlobal [0,"a3\structures_f_bootcamp\vr\coverobjects\data\vr_coverobject_basic.rvmat"]; + _this setObjectTextureGlobal [1,"#(argb,8,8,3)color(1.0,1.0,1.0,1.0,co)"]; + _this setObjectMaterialGlobal [1,"a3\structures_f_bootcamp\vr\coverobjects\data\vr_coverobject_emmisive.rvmat"]; + }; + + private _item16 = objNull; + if (_layerRoot) then { + _item16 = createVehicle ["Land_VR_Block_04_F",[4912.05,5544.67,26.956],[],0,"CAN_COLLIDE"]; + _this = _item16; + _objects pushback _this; + _objectIDs pushback 16; + _this setPosWorld [4912.05,5544.67,36.456]; + _this setVectorDirAndUp [[-1.0411e-006,-1,0],[0,0,1]]; + _this setObjectTextureGlobal [0,"#(argb,8,8,3)color(0.75,0.75,0.75,1.0,co)"]; + _this setObjectMaterialGlobal [0,"a3\structures_f_bootcamp\vr\coverobjects\data\vr_coverobject_basic.rvmat"]; + _this setObjectTextureGlobal [1,"#(argb,8,8,3)color(1.0,1.0,1.0,1.0,co)"]; + _this setObjectMaterialGlobal [1,"a3\structures_f_bootcamp\vr\coverobjects\data\vr_coverobject_emmisive.rvmat"]; + }; + + private _item17 = objNull; + if (_layerRoot) then { + _item17 = createVehicle ["Land_VR_Block_04_F",[4912.02,5544.75,35.956],[],0,"CAN_COLLIDE"]; + _this = _item17; + _objects pushback _this; + _objectIDs pushback 17; + _this setPosWorld [4912.02,5544.75,45.456]; + _this setVectorDirAndUp [[-1.0411e-006,-1,0],[0,0,1]]; + _this setObjectTextureGlobal [0,"#(argb,8,8,3)color(0.75,0.75,0.75,1.0,co)"]; + _this setObjectMaterialGlobal [0,"a3\structures_f_bootcamp\vr\coverobjects\data\vr_coverobject_basic.rvmat"]; + _this setObjectTextureGlobal [1,"#(argb,8,8,3)color(1.0,1.0,1.0,1.0,co)"]; + _this setObjectMaterialGlobal [1,"a3\structures_f_bootcamp\vr\coverobjects\data\vr_coverobject_emmisive.rvmat"]; + }; + + private _item18 = objNull; + if (_layerRoot) then { + _item18 = createVehicle ["Land_VR_Block_04_F",[4912,5546.24,41.492],[],0,"CAN_COLLIDE"]; + _this = _item18; + _objects pushback _this; + _objectIDs pushback 18; + _this setPosWorld [4912,5546.24,50.992]; + _this setVectorDirAndUp [[-3.25841e-007,-0.866026,0.499998],[3.01992e-007,0.499998,0.866026]]; + _this setObjectTextureGlobal [0,"#(argb,8,8,3)color(0.75,0.75,0.75,1.0,co)"]; + _this setObjectMaterialGlobal [0,"a3\structures_f_bootcamp\vr\coverobjects\data\vr_coverobject_basic.rvmat"]; + _this setObjectTextureGlobal [1,"#(argb,8,8,3)color(1.0,1.0,1.0,1.0,co)"]; + _this setObjectMaterialGlobal [1,"a3\structures_f_bootcamp\vr\coverobjects\data\vr_coverobject_emmisive.rvmat"]; + }; + + private _item19 = objNull; + if (_layerRoot) then { + _item19 = createVehicle ["Land_VR_Block_04_F",[4911.98,5550.38,45.832],[],0,"CAN_COLLIDE"]; + _this = _item19; + _objects pushback _this; + _objectIDs pushback 19; + _this setPosWorld [4911.98,5550.38,55.332]; + _this setVectorDirAndUp [[-8.02679e-007,-0.500002,0.866024],[7.78829e-007,0.866024,0.500002]]; + _this setObjectTextureGlobal [0,"#(argb,8,8,3)color(0.75,0.75,0.75,1.0,co)"]; + _this setObjectMaterialGlobal [0,"a3\structures_f_bootcamp\vr\coverobjects\data\vr_coverobject_basic.rvmat"]; + _this setObjectTextureGlobal [1,"#(argb,8,8,3)color(1.0,1.0,1.0,1.0,co)"]; + _this setObjectMaterialGlobal [1,"a3\structures_f_bootcamp\vr\coverobjects\data\vr_coverobject_emmisive.rvmat"]; + }; + + private _item20 = objNull; + if (_layerRoot) then { + _item20 = createVehicle ["Land_VR_Block_04_F",[4911.95,5556.08,47.357],[],0,"CAN_COLLIDE"]; + _this = _item20; + _objects pushback _this; + _objectIDs pushback 20; + _this setPosWorld [4911.95,5556.08,56.857]; + _this setVectorDirAndUp [[-1.75635e-006,4.37119e-008,1],[3.01992e-007,1,-4.37114e-008]]; + _this setObjectTextureGlobal [0,"#(argb,8,8,3)color(0.75,0.75,0.75,1.0,co)"]; + _this setObjectMaterialGlobal [0,"a3\structures_f_bootcamp\vr\coverobjects\data\vr_coverobject_basic.rvmat"]; + _this setObjectTextureGlobal [1,"#(argb,8,8,3)color(1.0,1.0,1.0,1.0,co)"]; + _this setObjectMaterialGlobal [1,"a3\structures_f_bootcamp\vr\coverobjects\data\vr_coverobject_emmisive.rvmat"]; + }; + + private _item21 = objNull; + if (_layerRoot) then { + _item21 = createVehicle ["Land_VR_Block_04_F",[4912.04,5561.75,45.918],[],0,"CAN_COLLIDE"]; + _this = _item21; + _objects pushback _this; + _objectIDs pushback 21; + _this setPosWorld [4912.04,5561.75,55.418]; + _this setVectorDirAndUp [[3.2559e-006,0.500001,0.866025],[0,-0.866025,0.500001]]; + _this setObjectTextureGlobal [0,"#(argb,8,8,3)color(0.75,0.75,0.75,1.0,co)"]; + _this setObjectMaterialGlobal [0,"a3\structures_f_bootcamp\vr\coverobjects\data\vr_coverobject_basic.rvmat"]; + _this setObjectTextureGlobal [1,"#(argb,8,8,3)color(1.0,1.0,1.0,1.0,co)"]; + _this setObjectMaterialGlobal [1,"a3\structures_f_bootcamp\vr\coverobjects\data\vr_coverobject_emmisive.rvmat"]; + }; + + private _item22 = objNull; + if (_layerRoot) then { + _item22 = createVehicle ["Land_VR_Block_04_F",[4912.23,5565.96,41.578],[],0,"CAN_COLLIDE"]; + _this = _item22; + _objects pushback _this; + _objectIDs pushback 22; + _this setPosWorld [4912.23,5565.96,51.078]; + _this setVectorDirAndUp [[3.12924e-006,0.866026,0.499999],[-1.3411e-007,-0.499999,0.866026]]; + _this setObjectTextureGlobal [0,"#(argb,8,8,3)color(0.75,0.75,0.75,1.0,co)"]; + _this setObjectMaterialGlobal [0,"a3\structures_f_bootcamp\vr\coverobjects\data\vr_coverobject_basic.rvmat"]; + _this setObjectTextureGlobal [1,"#(argb,8,8,3)color(1.0,1.0,1.0,1.0,co)"]; + _this setObjectMaterialGlobal [1,"a3\structures_f_bootcamp\vr\coverobjects\data\vr_coverobject_emmisive.rvmat"]; + }; + + private _item23 = objNull; + if (_layerRoot) then { + _item23 = createVehicle ["Land_VR_Block_04_F",[4912.21,5567.47,36.042],[],0,"CAN_COLLIDE"]; + _this = _item23; + _objects pushback _this; + _objectIDs pushback 23; + _this setPosWorld [4912.21,5567.47,45.542]; + _this setVectorDirAndUp [[4.06802e-006,1,0],[0,0,1]]; + _this setObjectTextureGlobal [0,"#(argb,8,8,3)color(0.75,0.75,0.75,1.0,co)"]; + _this setObjectMaterialGlobal [0,"a3\structures_f_bootcamp\vr\coverobjects\data\vr_coverobject_basic.rvmat"]; + _this setObjectTextureGlobal [1,"#(argb,8,8,3)color(1.0,1.0,1.0,1.0,co)"]; + _this setObjectMaterialGlobal [1,"a3\structures_f_bootcamp\vr\coverobjects\data\vr_coverobject_emmisive.rvmat"]; + }; + + private _item24 = objNull; + if (_layerRoot) then { + _item24 = createVehicle ["Land_VR_Block_04_F",[4912.04,5544.66,0],[],0,"CAN_COLLIDE"]; + _this = _item24; + _objects pushback _this; + _objectIDs pushback 24; + _this setPosWorld [4912.04,5544.66,9.5]; + _this setVectorDirAndUp [[-1.0411e-006,-1,0],[0,0,1]]; + candyCaneGreen_base = _this; + _this setVehicleVarName "candyCaneGreen_base"; + _this setObjectTextureGlobal [0,"#(argb,8,8,3)color(0.75,0.75,0.75,1.0,co)"]; + _this setObjectMaterialGlobal [0,"a3\structures_f_bootcamp\vr\coverobjects\data\vr_coverobject_basic.rvmat"]; + _this setObjectTextureGlobal [1,"#(argb,8,8,3)color(1.0,1.0,1.0,1.0,co)"]; + _this setObjectMaterialGlobal [1,"a3\structures_f_bootcamp\vr\coverobjects\data\vr_coverobject_emmisive.rvmat"]; + }; + private _triggers = []; + private _triggerIDs = []; + private _waypoints = []; + private _waypointIDs = []; + private _logics = []; + private _logicIDs = []; + isNil { + if !(isnull _item14) then { + this = _item14; + [this,[0,'#(rgb,8,8,3)color(1,1,1,1)']] remoteExec ['setObjectTextureGlobal',0,this];[this, candyCaneGreen_base] call BIS_fnc_attachToRelative;; + }; + if !(isnull _item15) then { + this = _item15; + [this,[0,_color]] remoteExec ['setObjectTextureGlobal',0,this];[this, candyCaneGreen_base] call BIS_fnc_attachToRelative;; + }; + if !(isnull _item16) then { + this = _item16; + [this,[0,'#(rgb,8,8,3)color(1,1,1,1)']] remoteExec ['setObjectTextureGlobal',0,this];[this, candyCaneGreen_base] call BIS_fnc_attachToRelative;; + }; + if !(isnull _item17) then { + this = _item17; + [this,[0,_color]] remoteExec ['setObjectTextureGlobal',0,this];[this, candyCaneGreen_base] call BIS_fnc_attachToRelative;; + }; + if !(isnull _item18) then { + this = _item18; + [this,[0,'#(rgb,8,8,3)color(1,1,1,1)']] remoteExec ['setObjectTextureGlobal',0,this];[this, candyCaneGreen_base] call BIS_fnc_attachToRelative;; + }; + if !(isnull _item19) then { + this = _item19; + [this,[0,_color]] remoteExec ['setObjectTextureGlobal',0,this];[this, candyCaneGreen_base] call BIS_fnc_attachToRelative;; + }; + if !(isnull _item20) then { + this = _item20; + [this,[0,'#(rgb,8,8,3)color(1,1,1,1)']] remoteExec ['setObjectTextureGlobal',0,this];[this, candyCaneGreen_base] call BIS_fnc_attachToRelative;; + }; + if !(isnull _item21) then { + this = _item21; + [this,[0,_color]] remoteExec ['setObjectTextureGlobal',0,this];[this, candyCaneGreen_base] call BIS_fnc_attachToRelative;; + }; + if !(isnull _item22) then { + this = _item22; + [this,[0,'#(rgb,8,8,3)color(1,1,1,1)']] remoteExec ['setObjectTextureGlobal',0,this];[this, candyCaneGreen_base] call BIS_fnc_attachToRelative;; + }; + if !(isnull _item23) then { + this = _item23; + [this,[0,_color]] remoteExec ['setObjectTextureGlobal',0,this];[this, candyCaneGreen_base] call BIS_fnc_attachToRelative;; + }; + if !(isnull _item24) then { + this = _item24; + [this,[0,_color]] remoteExec ['setObjectTextureGlobal',0,this];; + }; + }; + + [[_objects,_groups,_triggers,_waypoints,_logics,_markers],[_objectIDs,_groupIDs,_triggerIDs,_waypointIDs,_logicIDs,_markerIDs]]; + candyCaneGreen_base + }; + + MAZ_EZM_fnc_createCandyCaneRed = { + private _base = ["#(rgb,8,8,3)color(1,0,0,1)"] call MAZ_EZM_fnc_createCandyCane; + private _pos = [true] call MAZ_EZM_fnc_getScreenPosition; + _base setPosATL _pos; + [_base] call MAZ_EZM_fnc_addObjectToInterface; + [_base] call MAZ_EZM_fnc_deleteAttachedWhenDeleted; + }; + + MAZ_EZM_fnc_createCandyCaneGreen = { + private _base = [] call MAZ_EZM_fnc_createCandyCane; + private _pos = [true] call MAZ_EZM_fnc_getScreenPosition; + _base setPosATL _pos; + [_base] call MAZ_EZM_fnc_addObjectToInterface; + [_base] call MAZ_EZM_fnc_deleteAttachedWhenDeleted; + }; + + MAZ_EZM_fnc_createSittingSanta = { + params [["_layerWhiteList",[],[[]]],["_layerBlacklist",[],[[]]],["_posCenter",[0,0,0],[[]]],["_dir",0,[0]],["_idBlacklist",[],[[]]]]; + private _allWhitelisted = _layerWhiteList isEqualTo []; + private _layerRoot = (_allWhitelisted || {true in _layerWhiteList}) && {!(true in _layerBlackList)}; + + private _markers = []; + private _markerIDs = []; + private _groups = []; + private _groupIDs = []; + + private _item30 = grpNull; + if (_layerRoot) then { + _item30 = createGroup west; + _this = _item30; + _groups pushback _this; + _groupIDs pushback 30; + }; + private _objects = []; + private _objectIDs = []; + private _item31 = objNull; + if (_layerRoot) then { + _item31 = _item30 createUnit ["I_G_Story_SF_Captain_F",[4875.9,5554.56,0],[],0,"CAN_COLLIDE"]; + _item30 selectLeader _item31; + _this = _item31; + _objects pushback _this; + _objectIDs pushback 31; + _this setPosWorld [4875.9,5554.61,5.00144]; + _this setVectorDirAndUp [[0,1,0],[0,0,1]]; + SANTA = _this; + _this setVehicleVarName "SANTA"; + _this allowdamage false;; + _this enablestamina false;; + _this setname "Alexandros Moritiadou";; + _this setpitch 1.03;; + }; + + private _item32 = objNull; + if (_layerRoot) then { + _item32 = createVehicle ["Land_ArmChair_01_F",[4875.92,5554.5,0.435],[],0,"CAN_COLLIDE"]; + _this = _item32; + _objects pushback _this; + _objectIDs pushback 32; + _this setPosWorld [4875.92,5554.5,5.9188]; + _this setVectorDirAndUp [[0,1,0],[0,0,1]]; + }; + + private _item33 = objNull; + if (_layerRoot) then { + _item33 = createVehicle ["Land_HelipadEmpty_F",[4875.92,5554.51,0.00500011],[],0,"CAN_COLLIDE"]; + _this = _item33; + _objects pushback _this; + _objectIDs pushback 33; + _this setPosWorld [4875.92,5554.51,5.005]; + _this setVectorDirAndUp [[0,1,0],[0,0,1]]; + santa_base = _this; + _this setVehicleVarName "santa_base"; + }; + private _triggers = []; + private _triggerIDs = []; + _this = _item30; + if !(units _this isEqualTo []) then { + [_this,0] setWaypointPosition [position leader _this,0]; + _this setGroupID ["Alpha 1-1"];; + }; + private _waypoints = []; + private _waypointIDs = []; + private _logics = []; + private _logicIDs = []; + isNil { + if !(isnull _item31) then { + this = _item31; + [] spawn + {sleep 0.1;comment "SANTA UNIT INIT"; + + SANTA setVariable ["BIS_enableRandomization", false]; + SANTA setUnitLoadout [["sgun_HunterShotgun_01_sawedoff_F","","","",["2Rnd_12Gauge_Pellets",2],[],""],[],[],["U_C_Paramedic_01_F",[["FirstAidKit",1],["Chemlight_green",1,1],["2Rnd_12Gauge_Pellets",3,2]]],["V_DeckCrew_red_F",[]],[],"H_Beret_CSAT_01_F","G_Squares",[],["ItemMap","","ItemRadio","ItemCompass","ItemWatch",""]]; + SANTA setname "Santa Claus"; + [SANTA, "WhiteHead_26"] remoteExec ['setFace']; + SANTA allowDamage false; + removeGoggles SANTA; + SANTA addItem 'G_Squares'; + SANTA assignItem 'G_Squares'; + }; + [this, santa_base] call BIS_fnc_attachToRelative; + [this, 2.1] remoteExec ['setObjectScale'];; + [SANTA, 'crew'] remoteExec ['switchMove']; + + [SANTA, ["Sit on Santa's Lap", + { + _this spawn + { + params ["_target", "_caller", "_actionId", "_arguments"]; + private _pos = getPosASL _caller; + _caller attachto [_target getVariable 'seat',[0,0.55,0.8]]; + [_caller, 'crew'] remoteExec ['switchMove']; + sleep 10; + detach _caller; + [_caller, ''] remoteExec ['switchMove']; + _caller setPosASL _pos; + }; + },nil,1.5,true,true,"","_target distance _this < 6"]] remoteExec ['addAction',0,SANTA];; + }; + if !(isnull _item32) then { + this = _item32; + [this, santa_base] call BIS_fnc_attachToRelative; + [this, 2] remoteExec ['setObjectScale', 0, this];; + [this,[0,'#(rgb,8,8,3)color(1,1,1,1)']] remoteExec ['setObjectTextureGlobal',0,this]; + ; + }; + if !(isnull _item33) then { + this = _item33; + SANTA setVariable ["seat", this, true]; ; + }; + }; + [[_objects,_groups,_triggers,_waypoints,_logics,_markers],[_objectIDs,_groupIDs,_triggerIDs,_waypointIDs,_logicIDs,_markerIDs]]; + santa_base + }; + + MAZ_EZM_fnc_createSittingSantaCall = { + private _base = [] call MAZ_EZM_fnc_createSittingSanta; + private _pos = [true] call MAZ_EZM_fnc_getScreenPosition; + _base setPosATL _pos; + [_base] call MAZ_EZM_fnc_addObjectToInterface; + [_base] call MAZ_EZM_fnc_deleteAttachedWhenDeleted; + }; + + MAZ_EZM_fnc_setupSnow = { + private _fnc = { + fn_initSnow = { + if (!isServer) exitWith {}; + params ["_snowfall","_duration_storm","_ambient_sounds_al","_breath_vapors","_snow_burst","_effect_on_objects","_vanilla_fog","_local_fog","_intensifywind","_unitsneeze"]; + [] spawn fn_hunt; waitUntil {!isNil "hunt_alias"}; + if (_vanilla_fog) then {al_foglevel = fog; publicVariable "al_foglevel"; 60 setFog [1,0.01,0.5]}; + [_duration_storm] spawn {params ["_duration_storm"];al_snowstorm_om=true; publicvariable "al_snowstorm_om"; sleep _duration_storm; al_snowstorm_om=false; publicvariable "al_snowstorm_om"; if (!isNil "al_foglevel") then {60 setFog al_foglevel}}; + sleep 5; + comment '["AL_snowstorm\al_check_pos.sqf"] remoteExec ["execVM",0,true]'; + [[],{ + waitUntil{!isNil "fn_check_pos"}; + [] spawn fn_check_pos; + }] remoteExec ['spawn',0,true]; + if (_local_fog) then {[[],{waitUntil{!isNil "fn_mediumFog"};[] spawn fn_mediumFog;}] remoteExec ["spawn",0,true]}; + if (_breath_vapors) then {[[],{waitUntil{!isNil "fn_snowBreath"};[] spawn fn_snowBreath;}] remoteExec ["spawn",0,true]}; + if (_snowfall) then { + [[],{ + waitUntil{!isNil "fn_snowfall_SFX" && alive player}; + [] spawn fn_snowfall_SFX; + snowFallInit = player addEventHandler ["Respawn",{ + params ["_unit", "_corpse"]; + player removeEventHandler ["respawn",snowFallInit]; + [] spawn fn_snowfall_SFX; + }]; + }] remoteExec ["spawn",0,true]; + }; + if (_snow_burst>0) then {[_effect_on_objects] spawn fn_rotocol_server; interval_burst = _snow_burst; publicVariable "interval_burst"; sleep 10; [[_unitsneeze],{params ['_unitSneeze'];waitUntil{!isNil "fn_breath"};[_unitSneeze] spawn fn_rotocol_client}] remoteExec ["spawn",0,true]}; + if (_intensifywind) then { + al_windlevel = wind; for "_i" from 1 to 5 step 0.2 do {setWind [(al_windlevel#0)*_i,(al_windlevel#1)*_i,true]; sleep 4}; + waitUntil {sleep 60; !al_snowstorm_om}; + al_windlevel = wind; for "_i" from 1 to 5 step 0.1 do {setWind [(al_windlevel#0)/_i,(al_windlevel#1)/_i,true]; sleep 4}; + }; + }; + + fn_hunt = { + if (!isServer) exitWith {}; + if (!isNil "hunt_alias") exitwith {}; + + while {true} do + { + _allunits = []; + {if (alive _x) then {_allunits pushBack _x};} foreach (if (isMultiplayer) then {playableUnits} else {switchableUnits}); + hunt_alias = selectRandom _allunits; publicVariable "hunt_alias"; + sleep 60; + }; + }; + + fn_check_pos = { + if (!hasInterface) exitWith {}; + if (!isNil {player getVariable "ck_ON"}) exitwith {}; + player setVariable ["ck_ON",true]; + + alias_snow = "Land_HelipadEmpty_F" createVehiclelocal [0,0,0]; + + KK_fnc_inHouse = + { + _house = lineIntersectsSurfaces [getPosWorld _this,getPosWorld _this vectorAdd [0,0,50],_this,objNull,true,1,"GEOM","NONE"]; + if (((_house select 0) select 3) isKindOf "house") exitWith {pos_p = "in_da_house"; cladire = ((_house select 0) select 3); casa= typeOf ((_house select 0) select 3); raza_snow = sizeof casa}; + if ((getPosASL player select 2 < 0)&&(getPosASL player select 2 > -3)) exitWith {pos_p = "under_water"; alias_snow setPosASL [getPosASL player #0,getPosASL player #1,1]}; + if (getPosASL player select 2 < -3) exitWith {pos_p = "deep_sea"}; + if ((player != vehicle player)&&(getPosASL player select 2 > 0)) exitWith {pos_p = "player_car"; }; + pos_p = "open"; + }; + while {!isNull player} do {while {al_snowstorm_om} do {player call KK_fnc_inHouse; sleep 0.5};waitUntil {sleep 10; al_snowstorm_om}}; + }; + + fn_mediumFog = { + if (!hasInterface) exitWith {}; + waitUntil {!isNil "pos_p"}; + while {(!isNull player) and (al_snowstorm_om)} do + { + if (pos_p=="open") then + { + _alias_local_fog = "#particlesource" createVehicleLocal (getpos player); + _alias_local_fog setParticleCircle [10,[3,3,0]]; + _alias_local_fog setParticleRandom [2,[0.25,0.25,0],[1,1,0],1,1,[0,0,0,0.1],0,0]; + _alias_local_fog setParticleParams [["\A3\data_f\cl_basic",1,0,1],"","Billboard",1,8,[0,0,0],[-1,-1,0],3,10.15,7.9,0.03,[5,10,10],[[0.5,0.5,0.5,0],[0.5,0.5,0.5,0.1],[1,1,1,0]],[1],1, 0,"","",player]; + _alias_local_fog setDropInterval 0.1; + waitUntil {pos_p!="open"}; + deleteVehicle _alias_local_fog; + }; + if (pos_p=="player_car") then + { + _alias_local_fog = "#particlesource" createVehicleLocal (getpos player); + _alias_local_fog setParticleCircle [30,[3,3,0]]; + _alias_local_fog setParticleRandom [0,[0.25,0.25,0],[1,1,0],1,1,[0,0,0,0.1],0,0]; + _alias_local_fog setParticleParams [["\A3\data_f\cl_basic",1,0,1],"","Billboard",1,4,[0,0,0],[-1,-1,0],3,10.15,7.9,0.03,[5,10,20],[[0.5,0.5,0.5,0],[0.5,0.5,0.5,0.1],[1,1,1,0]],[1],1, 0,"","",player]; + _alias_local_fog setDropInterval 0.1; + waitUntil {pos_p!="player_car"}; + deleteVehicle _alias_local_fog; + }; + if (pos_p=="in_da_house") then + { + _alias_local_fog = "#particlesource" createVehicleLocal (getpos player); + _alias_local_fog setParticleCircle [raza_snow,[3,3,0]]; + _alias_local_fog setParticleRandom [0,[0.25,0.25,0],[1,1,0],1,1,[0,0,0,0.1],0,0]; + _alias_local_fog setParticleParams [["\A3\data_f\cl_basic",1,0,1],"","Billboard",1,4,[0,0,0],[-1,-1,0],3,10.15,7.9,0.03,[5,10,20],[[0.5,0.5,0.5,0],[0.5,0.5,0.5,0.1],[1,1,1,0]],[1],1, 0,"","",player]; + _alias_local_fog setDropInterval 0.1; + waitUntil {pos_p!="in_da_house"}; + deleteVehicle _alias_local_fog; + }; + if (pos_p=="under_water") then {waitUntil {sleep 5; pos_p!="under_water"}}; + if (pos_p=="deep_sea") then {waitUntil {sleep 5; pos_p!="deep_sea"}}; + }; + }; + + fn_snowBreath = { + private ["_footmobile","_alias_breath"]; + if (!hasInterface) exitWith {}; + _alias_breath = "Land_HelipadEmpty_F" createVehiclelocal [0,0,0]; + _alias_breath attachto [player,[0,0.2,0],"head"]; + while {!isnull player} do + { + if ((alive player)&&(eyePos player select 2 > 0)) then + { + _footmobile= player nearEntities ["Man",20]; + _alias_breath attachto [selectrandom _footmobile,[0,0.1,0],"head"]; + _flow = (getposasl _alias_breath vectorFromTo (_alias_breath getRelPos [10,90])) vectorMultiply 0.5; + drop [ + [ + "\A3\data_f\ParticleEffects\Universal\Universal", + 16, + 12, + 8, + 1 + ], + "", + "Billboard", + 0.15, + 0.3, + [0,0,0], + [_flow#0,_flow#1,-0.2], + 3, + 1.2, + 1, + 0, + [0.1,.2,.3], + [[1,1,1,0.05],[1,1,1,0.2],[1,1,1,0.05]], + [0.1], + 0, + 0.04, + "", + "", + _alias_breath, + 90 + ]; + sleep 0.15; drop [["\A3\data_f\ParticleEffects\Universal\Universal",16,12,8,1],"","Billboard",0.15,0.3,[0,0,0],[_flow#0/2,_flow#1/2,-0.2],3,1.2,1,0,[0.1,.2,.3],[[1,1,1,0.05],[1,1,1,0.1],[1,1,1,0]],[0.1],0,0.04,"","",_alias_breath,90]; + sleep 5+random 5; + } else {sleep 10}; + }; + }; + + fn_snowfall_SFX = { + if (!hasInterface) exitWith {}; + + waitUntil {!isNil "pos_p"}; + waitUntil {!isNil "al_snowstorm_om"}; + while {al_snowstorm_om} do + { + if (pos_p=="open") then + { + _fulg_nea = "#particlesource" createVehiclelocal getposaTL player; + _fulg_nea setParticleCircle [0,[0,0,0]]; + _fulg_nea setParticleRandom [0,[20,20,9],[0,0,0],0,0.1,[0,0,0,0.1],0,0]; + _fulg_nea setParticleParams [["\A3\data_f\ParticleEffects\Universal\Universal.p3d",16,12,8,1],"","Billboard",1,7,[0,0,10],[0,0,0],3,1.7,1,1,[0.1],[[1,1,1,1]],[1],0.3,1,"","",player]; + _fulg_nea setDropInterval 0.005; + waitUntil {pos_p!="open"}; + deleteVehicle _fulg_nea; + }; + if (pos_p=="player_car") then + { + _fulg_nea = "#particlesource" createVehiclelocal getposaTL player; + _fulg_nea setParticleCircle [0,[0,0,0]]; + _fulg_nea setParticleRandom [0,[20,20,9],[0,0,0],0,0.1,[0,0,0,0.1],0,0]; + _fulg_nea setParticleParams [["\A3\data_f\ParticleEffects\Universal\Universal.p3d",16,12,8,1],"","Billboard",1,7,[0,0,10],[0,0,0],3,1.7,1,1,[0.1],[[1,1,1,1]],[1],0.3,1,"","",player]; + _fulg_nea setDropInterval 0.005; + waitUntil {pos_p!="player_car"}; + deleteVehicle _fulg_nea; + }; + if (pos_p=="under_water") then + { + _fulg_nea = "#particlesource" createVehiclelocal getposasl alias_snow; + _fulg_nea setParticleCircle [0,[0,0,0]]; + _fulg_nea setParticleRandom [0,[25,25,0],[0,0,0],0,0.1,[0,0,0,0.1],1,1]; + _fulg_nea setParticleParams [["\A3\data_f\ParticleEffects\Universal\Universal.p3d",16,12,8,1],"","Billboard",1,4,[0,0,15],[0,0,0],3,2,1,0.7,[0.1],[[1,1,1,1]],[1],1,1,"","",alias_snow]; + _fulg_nea setDropInterval 0.005; + waitUntil {pos_p!="under_water"}; + deleteVehicle _fulg_nea; + }; + if (pos_p=="deep_sea") then {waitUntil {pos_p!="deep_sea"}}; + if (pos_p=="in_da_house") then + { + _fulg_nea_1 = "#particlesource" createVehiclelocal getposATL cladire; + _fulg_nea_1 setParticleCircle [raza_snow,[0,0,0]]; + _fulg_nea_1 setParticleRandom [0,[5,5,0],[0,0,0],0,0,[0,0,0,0],0,0.5]; + _fulg_nea_1 setParticleParams [["\A3\data_f\ParticleEffects\Universal\Universal.p3d",16,12,8,1],"","Billboard",1,0.2,[0,0,1],[0,0,0],3,2,1,0,[0.1],[[1,1,1,1]],[1],0,1,"","",cladire,0,true]; + _fulg_nea_1 setDropInterval 0.01; + waitUntil {pos_p!="in_da_house"}; + deleteVehicle _fulg_nea_1; + }; + }; + }; + + fn_rotocol_server = { + params ["_effect_on_objects"]; + while {al_snowstorm_om} do + { + snow_gust=selectrandom [["rafala_1",12],["rafala_2",8.5],["rafala_3",17],["rafala_5",13],["rafala_6",16],["rafala_7",13.5]]; publicVariable "snow_gust"; + vit_x = (selectrandom [1,-1])*round(2+random 5); vit_y = (selectrandom [1,-1])*round(2+random 5); publicVariable "vit_x";publicVariable "vit_y"; + if (_effect_on_objects) then {[vit_x,vit_y] spawn fn_blow_objects}; + sleep 60; + }; + }; + + fn_blow_objects = { + params ["_vit_x","_vit_y"]; + waitUntil {!isNil "rafala"}; + if (rafala) then { + al_nearobjects = nearestObjects [hunt_alias,[],50]; + ar_obj_eligibl = []; + {if((_x isKindOf "LandVehicle") or (_x isKindOf "Man") or (_x isKindOf "Air") or (_x isKindOf "Wreck")) then {ar_obj_eligibl pushBack _x;}} foreach al_nearobjects; + sleep 1; + if (count ar_obj_eligibl > 0) then { + _blowobj= selectRandom ar_obj_eligibl; + _blowobj setvelocity [_vit_x,_vit_y,random 0.1];sleep 0.1;_blowobj setvelocity [_vit_x*1.5,_vit_y*1.5,random 0.1];sleep 0.1; _blowobj setvelocity [wind#0/4,wind#0/4,random 0.1]; + } + }; + }; + + fn_rotocol_client = { + if (!hasInterface) exitWith {}; + params ["_unit_cold"]; + if (_unit_cold) then {player_act_cold = true} else {player_act_cold = false}; + while {al_snowstorm_om} do + { + if ((pos_p=="open")&&(player == hunt_alias)) then + { + rafala = true; publicVariable "rafala"; + _pozitie_x = (selectrandom [1,-1])*round(random 50); _pozitie_y = (selectrandom [1,-1])*round(random 50); + [[_pozitie_x,_pozitie_y],{params ["_x1","_y1"];[_x1,_y1] spawn fn_trembling;}] remoteExec ["spawn",0]; + sleep (snow_gust#1); + rafala = false; publicVariable "rafala"; + }; + sleep 20+random interval_burst; + }; + }; + + fn_trembling = { + if ((!hasInterface)or(pos_p!="open")) exitWith {}; + params ["_pozitie_x","_pozitie_y"]; + + drop [["\A3\data_f\cl_basic",1,0,1],"","Billboard",0.5,(snow_gust#1)/2,[_pozitie_x,_pozitie_y,0],[vit_x,vit_y,0],13,1.3,1,0.1,[1,10,15],[[1,1,1,0],[1,1,1,.1],[1,1,1,0]],[1],1,0,"","",hunt_alias,0,true,0.1]; + sleep 0.6; + + _fulgi = "#particlesource" createVehiclelocal getposaTL player; + _fulgi setParticleCircle [0,[0,0,0]]; + _fulgi setParticleRandom [0,[10,10,5],[0,0,0],0,0.1,[0,0,0,0.1],0,0]; + _fulgi setParticleParams [["\A3\data_f\ParticleEffects\Universal\Universal.p3d",16,12,8,1],"","Billboard",1,5,[0,0,7],[vit_x,vit_y,0],0,1.7,1,0,[0.1],[[1,1,1,1]],[1],0,0,"","",player]; + _fulgi setDropInterval 0.01; + + _snow_flakes = "#particlesource" createVehiclelocal getposaTL player; + _snow_flakes setParticleCircle [0,[0,0,0]]; + _snow_flakes setParticleRandom [0,[5,5,9],[0,0,0],0,0.1,[0,0,0,0.1],0,0]; + _snow_flakes setParticleParams [["\A3\data_f\ParticleEffects\Universal\Universal.p3d",16,12,8,1],"","Billboard",1,3,[0,0,10],[vit_x*2,vit_y*2,0],3,1.7,1,0,[0.2],[[1,1,1,1]],[1],0.3,1,"","",player]; + _snow_flakes setDropInterval 0.01; + + if (player_act_cold) then { + enableCamShake true; + + 0 = ["FilmGrain",2000] spawn + { + params ["_name","_priority","_effect","_handle"]; + while {_handle = ppEffectCreate [_name, _priority]; _handle < 0} do {_priority = _priority + 1}; + _handle ppEffectEnable true; + for "_i" from 0 to 0.1 step 0.01 do + { + _handle ppEffectAdjust [_i,1,5,0.5,0.3,0]; + sleep 0.3; + _handle ppEffectCommit 0; + }; + sleep 5; + _i=0.1; + while {_i>0} do + { + _i = _i-0.01; + _handle ppEffectAdjust [_i,1,5,0.5,0.3,0]; + sleep 0.5; + _handle ppEffectCommit 0; + }; + _handle ppEffectEnable false; + ppEffectDestroy _handle; + }; + if (goggles player=="") then + { + 0 = ["RadialBlur",100,[0.11,1,0.33,0.16]] spawn + { + params ["_name", "_priority", "_effect", "_handle"]; + while { _handle = ppEffectCreate [_name, _priority];_handle < 0} do {_priority = _priority + 1}; + sleep 2; + call BIS_fnc_fatigueEffect; + _handle ppEffectEnable true; + _handle ppEffectAdjust _effect; + _handle ppEffectCommit 4; + waitUntil {ppEffectCommitted _handle}; + call BIS_fnc_fatigueEffect; + _i = 0.11; + sleep 2; + while {_i>0} do + { + _i = _i-0.01; + _handle ppEffectAdjust [_i,1,0.33,0.16]; + sleep 0.5; + _handle ppEffectCommit 0; + }; + _handle ppEffectEnable false; + ppEffectDestroy _handle; + }; + }; + + sleep 1; + addCamShake [0.5,(snow_gust#1)*2,25]}; + sleep (snow_gust#1)/2; + deleteVehicle _snow_flakes; + deleteVehicle _fulgi; + }; + + fn_breath = { + drop [["\A3\data_f\ParticleEffects\Universal\Universal",16,12,8,1],"","Billboard",1,1,_this,[0,0,0.1],1,1.275,1,1,[.3,.5,.7],[[1,1,1,0.1],[1,1,1,0.03],[1,1,1,0]],[0.8],1,0.5,"","",_this,90]; + }; + }; + private _varName = "MAZ_EZM_Snow"; + private _myJIPCode = "MAZ_EZM_Snow_JIP"; + + private _value = (str _fnc) splitString ""; + + _value deleteAt (count _value - 1); + _value deleteAt 0; + + _value = _value joinString ""; + _value = _value + "removeMissionEventhandler ['EachFrame',_thisEventHandler];"; + _value = _value splitString ""; + + missionNamespace setVariable [_varName,_value,true]; + + [[_varName], { + params ["_ding"]; + private _data = missionNamespace getVariable [_ding,[]]; + _data = _data joinString ""; + private _id = addMissionEventhandler ["EachFrame", _data]; + }] remoteExec ['spawn',0,_myJIPCode]; + }; + + MAZ_EZM_fnc_startSnowStorm = { + if(count (missionNamespace getVariable ["MAZ_EZM_Snow",[]]) == 0) then {call MAZ_EZM_fnc_setupSnow;}; + if(missionNamespace getVariable ["al_snowstorm_om",false]) exitWith {["Snow storm already happening!","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; + [[],{ + waitUntil {!isNil "fn_initSnow"}; + comment '[ + "_snowfall", + "_duration_storm", + "_ambient_sounds_al", + "_breath_vapors", + "_snow_burst", + "_effect_on_objects", + "_vanilla_fog", + "_no_snow_indoor", + "_local_fog", + "_intensifywind", + "_unitsneeze" + ]'; + [true,3600,15,true,0,true,false,false,false,true] spawn fn_initSnow; + }] remoteExec ['spawn',2]; + ["Guys, look! Its snowing!","addItemOk"] call MAZ_EZM_fnc_systemMessage; + }; + }; + MAZ_EZM_holidayModulesAdd = { + with uiNamespace do { + MAZ_zeusModulesTree tvSetPictureRight [[MAZ_FestiveTree],"a3\3den\data\displays\display3den\toolbar\help_updates_new_ca.paa"]; + MAZ_zeusModulesTree tvSetColor [[MAZ_FestiveTree],[0,0.7,0,1]]; + [ + MAZ_zeusModulesTree, + MAZ_FestiveTree, + "Create a Christmas Tree", + "Create a Christmas Tree!", + "MAZ_EZM_fnc_createChristmasTree", + "a3\modules_f\data\editterrainobject\texturechecked_tree_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_FestiveTree, + "Create a Candy Cane (Red)", + "Create a Red Candy Cane!", + "MAZ_EZM_fnc_createCandyCaneRed", + "\A3\ui_f\data\IGUI\Cfg\simpleTasks\types\help_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_FestiveTree, + "Create a Candy Cane (Green)", + "Create a Green Candy Cane!", + "MAZ_EZM_fnc_createCandyCaneGreen", + "\A3\ui_f\data\IGUI\Cfg\simpleTasks\types\help_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_FestiveTree, + "Create a Big, Sitting Santa", + "Create a Big, Sitting Santa!", + "MAZ_EZM_fnc_createSittingSantaCall", + "\A3\ui_f\data\IGUI\Cfg\simpleTasks\types\help_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_FestiveTree, + "Create a Santa Hostage", + "Create a Santa Hostage!", + "MAZ_EZM_fnc_createSantaHostage", + "\A3\ui_f\data\IGUI\Cfg\simpleTasks\types\help_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_FestiveTree, + "Start Snow Storm", + "Create a Snow Storm!", + "MAZ_EZM_fnc_startSnowStorm", + "\A3\ui_f\data\IGUI\Cfg\simpleTasks\types\help_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + }; + }; + }; + case "NewYears": { + MAZ_EZM_holidayFunctions = { + MAZ_EZM_fnc_createFirework = { + DCON_boomSounds = [ + "A3\Sounds_F\arsenal\explosives\shells\30mm40mm_shell_explosion_01.wss", + "A3\Sounds_F\arsenal\explosives\shells\Artillery_tank_shell_155mm_explosion_02.wss", + "A3\Sounds_F\arsenal\explosives\shells\Tank_shell_explosion_02.wss", + "A3\Sounds_F\arsenal\explosives\shells\Artillery_shell_explosion_04.wss", + "A3\Sounds_F\arsenal\explosives\shells\Artillery_shell_explosion_05.wss", + "A3\Sounds_F\arsenal\explosives\shells\Artillery_shell_explosion_06.wss", + "A3\Sounds_F\arsenal\explosives\shells\Artillery_shell_explosion_07.wss", + "A3\Sounds_F\arsenal\weapons\Launchers\RPG32\RPG32_Hit.wss" + ]; + DCON_launchSounds = [ + "A3\Sounds_F\arsenal\weapons_static\Missile_Launcher\Titan.wss", + "A3\Sounds_F\arsenal\weapons\Launchers\Titan\Titan.wss", + "A3\Sounds_F\arsenal\weapons\Launchers\RPG32\rpg32.wss", + "A3\Sounds_F\arsenal\weapons\Launchers\NLAW\nlaw.wss" + ]; + DCON_fnc_FireworkSounds = { + _boomSound = DCON_boomSounds call BIS_fnc_selectRandom; + _launchSound = DCON_launchSounds call BIS_fnc_selectRandom; + playSound3D [_launchSound, _this select 0]; + sleep 2.3; + playSound3D [_boomSound, _this select 0]; + }; + DCON_fnc_FireworkVisuals = { + _firing_position = _this select 0; + _firing_dir = _this select 1; + _rocket = _this select 2; + _color = _this select 3; + _explosion_power = 100; + _glitter_count = 20; + _initial_velocity = _firing_dir vectorMultiply 300; + _explosion_fragments_array = []; + _explosion_subfragments_array = []; + _randomLaunch = (random 4.5) - 2.3; + _randomSleep = (random 0.5) - 0.25; + _randomSleepLong = (random 8) - 4; + for [{_i=0},{_i < _glitter_count},{_i=_i+1}] do { + _rand_expl_power1 = ((random _explosion_power)*2) - _explosion_power; + _rand_expl_power2 = ((random _explosion_power)*2) - _explosion_power; + _rand_expl_power3 = ((random _explosion_power)*2) - _explosion_power; + _explosion_fragments_array = _explosion_fragments_array + + [[(_rand_expl_power1) -_rand_expl_power1/2,(_rand_expl_power2) -_rand_expl_power2/2, (_rand_expl_power3) -_rand_expl_power3/2]]; + if (_i < _glitter_count/3) then { + _rand_subexpl_power1 = ((random _explosion_power)/2) - _explosion_power/2; + _rand_subexpl_power2 = ((random _explosion_power)/2) - _explosion_power/2; + _rand_subexpl_power3 = ((random _explosion_power)/2) - _explosion_power/2; + _explosion_subfragments_array = _explosion_subfragments_array + + [[(_rand_subexpl_power1/4) -_rand_subexpl_power1/8,(_rand_subexpl_power2/4) -_rand_subexpl_power2/8, (_rand_subexpl_power3/4) -_rand_subexpl_power3/8]]; + }; + }; + comment "_rocket setVelocity _initial_velocity; "; + _light1 = "#lightpoint" createVehicle [0,0,0]; + [_light1,0.1] remoteExec ['setLightBrightness']; + [_light1,[1,0.3,0]] remoteExec ['setLightColor']; + [_light1,true] remoteExec ['setLightUseFlare']; + [_light1,1000] remoteExec ['setLightFlareMaxDistance']; + [_light1,5] remoteExec ['setLightFlareSize']; + _light2 = "#lightpoint" createVehicle [0,0,0]; + [_light2,3] remoteExec ['setLightBrightness']; + [_light2,[1,0.8,0]] remoteExec ['setLightColor']; + [_light2,true] remoteExec ['setLightUseFlare']; + [_light2,1000] remoteExec ['setLightFlareMaxDistance']; + [_light2,8] remoteExec ['setLightFlareSize']; + sleep 0.01; + [_light1,[_rocket,[0,0,0]]] remoteExec ['lightAttachObject']; + [_light2,[_rocket,[0,0,0]]] remoteExec ['lightAttachObject']; + sleep 2.3; + deleteVehicle _light1; + deleteVehicle _light2; + for [{_i=0},{_i < count _explosion_fragments_array},{_i=_i+1}] do { + [_rocket,_explosion_fragments_array,_color,_i] spawn { + _rocket = _this select 0; + _fragments = _this select 1; + _color2 = _this select 2; + _selector = _this select 3; + _rocket = "CMflare_Chaff_Ammo" createVehicle (getPos _rocket); + _smoke = "SmokeLauncherAmmo" createVehicle (getPos _rocket); + _rocket setVelocity (_fragments select _selector); + _light2 = "#lightpoint" createVehicle [0,0,0]; + [_light2,3] remoteExec ['setLightBrightness']; + [_light2,_color2] remoteExec ['setLightAmbient']; + [_light2,_color2] remoteExec ['setLightColor']; + [_light2,[_rocket,[0,0,0]]] remoteExec ['lightAttachObject']; + [_light2,true] remoteExec ['setLightUseFlare']; + [_light2,1000] remoteExec ['setLightFlareMaxDistance']; + [_light2,10] remoteExec ['setLightFlareSize']; + sleep 5; + deleteVehicle _light2; + }; + }; + sleep 1; + sleep 7; + deleteVehicle _rocket; + }; + M9SD_fnc_spawnFireworks = { + _pos = _this; + + _fireworkCount = 1; + _colorArray = [ + [0.42,0.81,0.1], + [0.8,0.1,0.35], + [0.2,0.73,0.85], + [1,1,1], + [0.1,0.81,0.1] + ]; + for "_i" from 1 to _fireworkCount do { + _velocity = [random 1024,random 1024,random [1000,2500,5000]]; + _color = _colorArray call BIS_fnc_selectRandom; + + _firework = "CMflare_Chaff_Ammo" createVehicle _pos; + _firework setDir (random 359); + _firework setVelocity _velocity; + _firingdir = [selectRandom [0,1],selectRandom [0,1],selectRandom [0,1]]; + [_pos,_firingdir,_firework,_color] spawn DCON_fnc_FireworkVisuals; + [_firework] spawn DCON_fnc_FireworkSounds; + sleep 1.5; + }; + }; + private _pos = [true] call MAZ_EZM_fnc_getScreenPosition; + _pos spawn M9SD_fnc_spawnFireworks; + }; + }; + MAZ_EZM_holidayModulesAdd = { + with uiNamespace do { + MAZ_zeusModulesTree tvSetPictureRight [[MAZ_FestiveTree],"a3\3den\data\displays\display3den\toolbar\help_updates_new_ca.paa"]; + MAZ_zeusModulesTree tvSetColor [[MAZ_FestiveTree],[0,0.7,0,1]]; + [ + MAZ_zeusModulesTree, + MAZ_FestiveTree, + "Spawn a Firework", + "Creates a random colored firework!", + "MAZ_EZM_fnc_createFirework", + "a3\modules_f_curator\data\portraitflarewhite_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + }; + }; + }; + default { + MAZ_EZM_holidayFunctions = {}; + MAZ_EZM_holidayModulesAdd = { + with uiNamespace do { + [ + MAZ_zeusModulesTree, + MAZ_FestiveTree, + "No Festive Modules...", + "Its not a holiday!", + "", + "a3\ui_f\data\gui\rsc\rscdisplayarcademap\icon_exit_cross_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + }; + }; + }; + }; + + call MAZ_EZM_holidayFunctions; + uiNamespace setVariable ["MAZ_EZM_holidayModulesAdd",MAZ_EZM_holidayModulesAdd]; + + comment "End"; + +}; +[] call MAZ_EZM_fnc_initFunction; + +MAZ_EZM_fnc_editZeusInterface = { + comment " 👽 "; + if (isNull (findDisplay 312)) exitWith {}; + showChat true; + private _fnc_editInterface = { + disableSerialization; + with uiNamespace do { + private _display = displayNull; + _display = findDisplay 312; + if(isNull _display) exitWith {}; + + comment "Re-Color Zeus Watermark"; + _display displayAddEventHandler ['KeyDown', { + if (_this select 1 == 14) then { + private _display = findDisplay 312; + [_display] spawn { + params [['_display', displayNull]]; + uiSleep 0.01; + if (isNull _display) exitWith {}; + (_display displayCtrl 15717) ctrlSetTextColor [0,0.6,0.6,0.7]; + if(_display getVariable ["MAZ_EZM_hideWarnings",false]) then { + _display setVariable ["MAZ_EZM_hideWarnings",false]; + call (uiNamespace getVariable "MAZ_EZM_fnc_unhideAllWarnings"); + } else { + _display setVariable ["MAZ_EZM_hideWarnings",true]; + call (uiNamespace getVariable "MAZ_EZM_fnc_hideAllWarnings"); + }; + }; + }; + }]; + + comment "Transparency & Function Defines"; + + missionNamespace setVariable ['MAZ_zeusModulesWithFunction', []]; + private _transparency = profilenamespace getVariable ['MAZ_EZM_zeusTransparency_currentValue', 1]; + [_transparency] call (missionNamespace getvariable ['MAZ_EZM_fnc_setZeusTransparency', {}]); + + MAZ_EZM_fnc_zeusAddCategory = { + params [ + ['_parentTree', findDisplay 312 displayCtrl 280], + ['_categoryName', '[ Category ]'], + ['_iconPath', '\a3\ui_f_curator\Data\Displays\RscDisplayCurator\modeModules_ca.paa'], + ['_textColor', [1,1,1,1]], + ['_toolTip', ''] + ]; + private _pindex = _parentTree tvAdd [[], _categoryName]; + _parentTree tvSetPictureRight [[_pindex], _iconPath]; + _parentTree tvSetColor [[_pindex], _textColor]; + _parentTree tvSetTooltip [[_pindex], _toolTip]; + _pindex; + }; + + MAZ_EZM_fnc_zeusAddSubCategory = { + params [ + ['_parentTree', findDisplay 312 displayCtrl 280], + ['_parentCategory', 1], + ['_categoryName', '[ Subcategory ]'], + ['_iconPath', '\a3\ui_f_curator\Data\Displays\RscDisplayCurator\modeModules_ca.paa'] + ]; + private _cindex = _parentTree tvAdd [[_parentCategory], _categoryName]; + _parentTree tvSetPictureRight [[_parentCategory,_cindex], _iconPath]; + _cindex; + }; + + MAZ_EZM_fnc_zeusAddModule = { + params [ + ['_parentTree', findDisplay 312 displayCtrl 280], + ['_parentCategory', 1], + ['_moduleName', '[ Module ]'], + ['_moduleTip', '[ Placeholder ]'], + ['_moduleFunction', 'MAZ_EZM_fnc_nullFunction'], + ['_iconPath', '\a3\ui_f_curator\Data\Displays\RscDisplayCurator\modeModules_ca.paa'], + ['_textColor', [1,1,1,1]], + ['_iconColor', [1,1,1,1]], + ['_iconColorSelected', [0,0,0,1]], + ['_iconColorDisabled', [0.8,0,0,0.8]] + ]; + + comment "Setup functions"; + private _functionArray = missionNamespace getVariable ['MAZ_zeusModulesWithFunction', []]; + private _functionCount = count _functionArray; + private _functionIndex = 7000 + (_functionCount + 1); + private _moduleTip = format ['%1\n\nFunction ID:\n%2', _moduleTip, str _functionIndex]; + _functionArray pushBack [_functionIndex, _moduleFunction]; + missionNamespace setVariable ['MAZ_zeusModulesWithFunction', _functionArray]; + + comment "Add modules"; + private _cindex = _parentTree tvAdd [[_parentCategory], _moduleName]; + private _path = [_parentCategory,_cindex]; + _parentTree tvSetTooltip [_path,_moduleTip]; + _parentTree tvSetPicture [_path, _iconPath]; + _parentTree tvSetData [_path, 'ModuleEmpty_F']; + _parentTree tvSetPictureColor [_path, _iconColor]; + _parentTree tvSetColor [_path, _textColor]; + comment "_parentTree tvSetPictureColorSelected [_path, _iconColorSelected];"; + comment "_parentTree tvSetPictureColorDisabled [_path, _iconColorDisabled];"; + _parentTree ctrlCommit 0; + _path; + }; + + MAZ_EZM_fnc_zeusAddModule_BLUFOR = { + params [ + ['_parentTree', findDisplay 312 displayCtrl 280], + ['_parentCategory', 1], + ['_parentSubcategory',1], + ['_moduleName', '[ Module ]'], + ['_moduleTip', '[ Placeholder ]'], + ['_moduleFunction', 'MAZ_EZM_fnc_nullFunction'], + ['_iconPath', '\a3\ui_f_curator\Data\Displays\RscDisplayCurator\modeModules_ca.paa'], + ['_textColor', [1,1,1,1]], + ['_iconColor', [1,1,1,1]], + ['_iconColorSelected', [0,0,0,1]], + ['_iconColorDisabled', [0.8,0,0,0.8]] + ]; + + comment "Setup functions"; + _functionArray = missionNamespace getVariable ['MAZ_zeusModulesWithFunction', []]; + private _functionCount = count _functionArray; + private _functionIndex = 7000 + (_functionCount + 1); + private _moduleTip = format ['%1\n\nFunction ID:\n%2', _moduleTip, str _functionIndex]; + _functionArray pushBack [_functionIndex, _moduleFunction]; + missionNamespace setVariable ['MAZ_zeusModulesWithFunction', _functionArray]; + + comment "Add modules"; + private _cindex = _parentTree tvAdd [[_parentCategory,_parentSubcategory], _moduleName]; + private _path = [_parentCategory,_parentSubcategory,_cindex]; + _parentTree tvSetTooltip [_path,_moduleTip]; + _parentTree tvSetPicture [_path, _iconPath]; + _parentTree tvSetData [_path, 'B_Soldier_VR_F']; + _parentTree tvSetPictureColor [_path, _iconColor]; + _parentTree tvSetColor [_path, _textColor]; + comment "_parentTree tvSetPictureColorSelected [_path, _iconColorSelected];"; + comment "_parentTree tvSetPictureColorDisabled [_path, _iconColorDisabled];"; + _parentTree ctrlCommit 0; + _path; + }; + + MAZ_EZM_fnc_zeusAddModule_OPFOR = { + params [ + ['_parentTree', findDisplay 312 displayCtrl 280], + ['_parentCategory', 1], + ['_parentSubcategory',1], + ['_moduleName', '[ Module ]'], + ['_moduleTip', '[ Placeholder ]'], + ['_moduleFunction', 'MAZ_EZM_fnc_nullFunction'], + ['_iconPath', '\a3\ui_f_curator\Data\Displays\RscDisplayCurator\modeModules_ca.paa'], + ['_textColor', [1,1,1,1]], + ['_iconColor', [1,1,1,1]], + ['_iconColorSelected', [0,0,0,1]], + ['_iconColorDisabled', [0.8,0,0,0.8]] + ]; + + comment "Setup functions"; + _functionArray = missionNamespace getVariable ['MAZ_zeusModulesWithFunction', []]; + private _functionCount = count _functionArray; + private _functionIndex = 7000 + (_functionCount + 1); + private _moduleTip = format ['%1\n\nFunction ID:\n%2', _moduleTip, str _functionIndex]; + _functionArray pushBack [_functionIndex, _moduleFunction]; + missionNamespace setVariable ['MAZ_zeusModulesWithFunction', _functionArray]; + + comment "Add modules"; + private _cindex = _parentTree tvAdd [[_parentCategory,_parentSubcategory], _moduleName]; + private _path = [_parentCategory,_parentSubcategory,_cindex]; + _parentTree tvSetTooltip [_path,_moduleTip]; + _parentTree tvSetPicture [_path, _iconPath]; + _parentTree tvSetData [_path, 'O_Soldier_VR_F']; + _parentTree tvSetPictureColor [_path, _iconColor]; + _parentTree tvSetColor [_path, _textColor]; + comment "_parentTree tvSetPictureColorSelected [_path, _iconColorSelected];"; + comment "_parentTree tvSetPictureColorDisabled [_path, _iconColorDisabled];"; + _parentTree ctrlCommit 0; + _path; + }; + + MAZ_EZM_fnc_zeusAddModule_INDEP = { + params [ + ['_parentTree', findDisplay 312 displayCtrl 280], + ['_parentCategory', 1], + ['_parentSubcategory',1], + ['_moduleName', '[ Module ]'], + ['_moduleTip', '[ Placeholder ]'], + ['_moduleFunction', 'MAZ_EZM_fnc_nullFunction'], + ['_iconPath', '\a3\ui_f_curator\Data\Displays\RscDisplayCurator\modeModules_ca.paa'], + ['_textColor', [1,1,1,1]], + ['_iconColor', [1,1,1,1]], + ['_iconColorSelected', [0,0,0,1]], + ['_iconColorDisabled', [0.8,0,0,0.8]] + ]; + + comment "Setup functions"; + _functionArray = missionNamespace getVariable ['MAZ_zeusModulesWithFunction', []]; + private _functionCount = count _functionArray; + private _functionIndex = 7000 + (_functionCount + 1); + private _moduleTip = format ['%1\n\nFunction ID:\n%2', _moduleTip, str _functionIndex]; + _functionArray pushBack [_functionIndex, _moduleFunction]; + missionNamespace setVariable ['MAZ_zeusModulesWithFunction', _functionArray]; + + comment "Add modules"; + private _cindex = _parentTree tvAdd [[_parentCategory,_parentSubcategory], _moduleName]; + private _path = [_parentCategory,_parentSubcategory,_cindex]; + _parentTree tvSetTooltip [_path,_moduleTip]; + _parentTree tvSetPicture [_path, _iconPath]; + _parentTree tvSetData [_path, 'I_Soldier_VR_F']; + _parentTree tvSetPictureColor [_path, _iconColor]; + _parentTree tvSetColor [_path, _textColor]; + comment "_parentTree tvSetPictureColorSelected [_path, _iconColorSelected];"; + comment "_parentTree tvSetPictureColorDisabled [_path, _iconColorDisabled];"; + _parentTree ctrlCommit 0; + _path; + }; + + MAZ_EZM_fnc_zeusAddModule_CIVILIAN = { + params [ + ['_parentTree', findDisplay 312 displayCtrl 280], + ['_parentCategory', 1], + ['_parentSubcategory',1], + ['_moduleName', '[ Module ]'], + ['_moduleTip', '[ Placeholder ]'], + ['_moduleFunction', 'MAZ_EZM_fnc_nullFunction'], + ['_iconPath', '\a3\ui_f_curator\Data\Displays\RscDisplayCurator\modeModules_ca.paa'], + ['_textColor', [1,1,1,1]], + ['_iconColor', [1,1,1,1]], + ['_iconColorSelected', [0,0,0,1]], + ['_iconColorDisabled', [0.8,0,0,0.8]] + ]; + + comment "Setup functions"; + _functionArray = missionNamespace getVariable ['MAZ_zeusModulesWithFunction', []]; + private _functionCount = count _functionArray; + private _functionIndex = 7000 + (_functionCount + 1); + private _moduleTip = format ['%1\n\nFunction ID:\n%2', _moduleTip, str _functionIndex]; + _functionArray pushBack [_functionIndex, _moduleFunction]; + missionNamespace setVariable ['MAZ_zeusModulesWithFunction', _functionArray]; + + comment "Add modules"; + private _cindex = _parentTree tvAdd [[_parentCategory,_parentSubcategory], _moduleName]; + private _path = [_parentCategory,_parentSubcategory,_cindex]; + _parentTree tvSetTooltip [_path,_moduleTip]; + _parentTree tvSetPicture [_path, _iconPath]; + _parentTree tvSetData [_path, 'C_Soldier_VR_F']; + _parentTree tvSetPictureColor [_path, _iconColor]; + _parentTree tvSetColor [_path, _textColor]; + comment "_parentTree tvSetPictureColorSelected [_path, _iconColorSelected];"; + comment "_parentTree tvSetPictureColorDisabled [_path, _iconColorDisabled];"; + _parentTree ctrlCommit 0; + _path; + }; + + MAZ_EZM_fnc_addZeusPreviewEvents = { + private _zeusDisplay = findDisplay 312; + if (isNull _zeusDisplay) exitWith {}; + if (_zeusDisplay getVariable ['MAZ_zeusPreviewInitialized', false]) exitWith {}; + private _idcs = [270,271,272,273,274]; + { + private _ctrl = _zeusDisplay displayCtrl _x; + _ctrl ctrlAddEventHandler ['TreeMouseMove',{ + params ['_control', '_path']; + private _data = _control tvData _path; + private _img = getText (configfile >> 'CfgVehicles' >> _data >> 'editorPreview'); + if (_data == '' || _img == '') then { + with uiNamespace do { + { + _x ctrlShow false; + } forEach MAZ_zeusPreviewCtrls; + }; + } else { + getMousePosition params ['_mouseX', '_mouseY']; + _mouseY = _mouseY - 0.11; + (getTextureInfo _img) params ["_width","_height"]; + private _ratio = (_width / _height); + private _posEdgeX = switch (getResolution # 5) do { + case 0.47 : {52.5}; + case 0.55 : {47.5}; + case 0.7 : {42.5}; + case 0.85 : {37.5}; + case 1 : {32.5}; + default {47.5}; + }; + private _previewImage = uiNamespace getVariable "MAZ_ctrl_previewImage"; + private _previewBackground = uiNamespace getVariable "MAZ_ctrl_previewBackground"; + private _previewFrame = uiNamespace getVariable "MAZ_ctrl_previewFrame"; + _previewImage ctrlSetPositionW (["W",(5.5 * _ratio)] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _previewImage ctrlSetPositionX (["X",((_posEdgeX - 0.5) - (5.5*_ratio))] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _previewImage ctrlSetPositionY (_mouseY + 0.019); + _previewImage ctrlSetText _img; + _previewImage ctrlCommit 0; + + { + _x ctrlSetPositionW (["W",(5.5 * _ratio) + 1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _x ctrlSetPositionX (["X",((_posEdgeX - 1) - (5.5*_ratio))] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _x ctrlSetPositionY _mouseY; + _x ctrlCommit 0; + }forEach [_previewBackground,_previewFrame]; + + (ctrlPosition _previewBackground) params ["","_posY","","_posH"]; + private _extendsTooLow = (_posY + _posH) > (["Y",35] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + private _modifyPos = (_posY + _posH) - (["Y",35] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + if(_extendsTooLow) then { + { + comment "35 Y pos"; + private _y = (ctrlPosition _x) select 1; + _x ctrlSetPositionY (_y - _modifyPos); + }forEach [_previewImage,_previewBackground,_previewFrame]; + }; + + { + _x ctrlShow true; + _x ctrlCommit 0; + } forEach [_previewImage,_previewBackground,_previewFrame]; + }; + }]; + _ctrl ctrlAddEventHandler ['TreeMouseExit',{ + params ['_control']; + with uiNamespace do { + { + _x ctrlShow false; + } forEach MAZ_zeusPreviewCtrls; + }; + }]; + } forEach _idcs; + _zeusDisplay getVariable ['MAZ_zeusPreviewInitialized', true]; + }; + + MAZ_EZM_fnc_zeusPreviewImage = { + with uiNamespace do { + _display = findDisplay 312; + MAZ_ctrl_previewBackground = _display ctrlCreate ['RscPicture', 1200]; + MAZ_ctrl_previewBackground ctrlSetText '#(argb,8,8,3)color(0,0,0,0.6)'; + MAZ_ctrl_previewBackground ctrlSetPosition [["X",32.5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,["Y",28] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,["W",15] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,["H",6.5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat]; + MAZ_ctrl_previewBackground ctrlCommit 0; + MAZ_ctrl_previewImage = _display ctrlCreate ['RscPicture', 1201]; + MAZ_ctrl_previewImage ctrlSetText '#(argb,8,8,3)color(0,0,0,0)'; + MAZ_ctrl_previewImage ctrlSetPosition [["X",33] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,["Y",28.5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,["W",14] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,["H",5.5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat]; + MAZ_ctrl_previewImage ctrlCommit 0; + MAZ_ctrl_previewFrame = _display ctrlCreate ['RscFrame', 1800]; + MAZ_ctrl_previewFrame ctrlSetPosition [["X",32.5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,["Y",28] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,["W",15] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,["H",6.5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat]; + MAZ_ctrl_previewFrame ctrlCommit 0; + MAZ_zeusPreviewCtrls = [ + MAZ_ctrl_previewBackground, + MAZ_ctrl_previewImage, + MAZ_ctrl_previewFrame + ]; + { + _x ctrlShow false; + } forEach MAZ_zeusPreviewCtrls; + }; + }; + + MAZ_EZM_fnc_drawEventhandlerAreaMarkers = { + private _ctrlMap = findDisplay 312 displayCtrl 50; + _ctrlMap ctrlAddEventHandler ["Draw",{ + params ["_map"]; + { + if((markerShape _x == "ELLIPSE") || (markerShape _x == "RECTANGLE")) then { + private _color = getArray (configFile >> "CfgMarkerColors" >> markerColor _x >> "color"); + if((_color select 0) isEqualType "") then { + { + _color set [_forEachIndex,call (compile _x)]; + }forEach _color; + }; + _map drawIcon ["\a3\3den\data\cfg3den\marker\texturecenter_ca.paa",_color,getMarkerPos _x,10,10,0]; + }; + }forEach allMapMarkers; + }]; + }; + + comment "Quality of Life Stuff"; + + MAZ_EZM_fnc_addCollapseExpandButtons = { + private _display = (findDisplay 312); + private _zeusSearchBar = _display displayCtrl 283; + private _zeusSearchButton = _display displayCtrl 646; + (ctrlPosition _zeusSearchBar) params ["_searchPosX","_searchPosY","_searchPosW","_searchPosH"]; + _zeusSearchBar ctrlSetPositionW (_searchPosW - (["W",2.2] call MAZ_EZM_fnc_convertToGUI_GRIDFormat)); + _zeusSearchBar ctrlCommit 0; + + private _ctrlGroup = ctrlParentControlsGroup _zeusSearchButton; + (ctrlPosition _zeusSearchButton) params ["_searchButtonPosX","_searchButtonPosY","_searchButtonPosW","_searchButtonPosH"]; + _zeusSearchButton ctrlSetPositionX (_searchButtonPosX - (["W",2.2] call MAZ_EZM_fnc_convertToGUI_GRIDFormat)); + _zeusSearchButton ctrlSetPositionY (_searchButtonPosY - (["H",0.1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat)); + _zeusSearchButton ctrlCommit 0; + + private _bgCtrl = _display ctrlCreate ["RscPicture",-1,_ctrlGroup]; + _bgCtrl ctrlSetText "#(argb,8,8,3)color(1,1,1,1)"; + _bgCtrl ctrlSetTextColor [0.13,0.13,0.15,1]; + _bgCtrl ctrlSetPosition [(_searchButtonPosX - (["W",1.2] call MAZ_EZM_fnc_convertToGUI_GRIDFormat)),_searchButtonPosY - (["H",0.095] call MAZ_EZM_fnc_convertToGUI_GRIDFormat),(_searchButtonPosW * 2) + (["W",1.2] call MAZ_EZM_fnc_convertToGUI_GRIDFormat),_searchButtonPosH]; + _bgCtrl ctrlCommit 0; + + private _zeusCollapse = _display ctrlCreate ["RscActivePicture",-1,_ctrlGroup]; + _zeusCollapse ctrlSetText "a3\3den\data\displays\display3den\tree_collapse_ca.paa"; + _zeusCollapse ctrlSetTextColor [1,1,1,0.8]; + _zeusCollapse ctrlSetActiveColor [1,1,1,1]; + _zeusCollapse ctrlSetTooltip "Collapse all the trees"; + _zeusCollapse ctrlSetPosition [(_searchButtonPosX - (["W",1.1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat)),_searchButtonPosY - (["H",0.1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat),_searchButtonPosW,_searchButtonPosH]; + _zeusCollapse ctrlAddEventHandler ["ButtonClick",{ + [] call MAZ_EZM_fnc_collapseAllTrees; + }]; + _zeusCollapse ctrlCommit 0; + + private _zeusExpand = _display ctrlCreate ["RscActivePicture",-1,_ctrlGroup]; + _zeusExpand ctrlSetText "a3\3den\data\displays\display3den\tree_expand_ca.paa"; + _zeusExpand ctrlSetTextColor [1,1,1,0.8]; + _zeusExpand ctrlSetActiveColor [1,1,1,1]; + _zeusExpand ctrlSetTooltip "Expand all the trees"; + _zeusExpand ctrlSetPosition [_searchButtonPosX,_searchButtonPosY + (["Y",0.075] call MAZ_EZM_fnc_convertToGUI_GRIDFormat),_searchButtonPosW,_searchButtonPosH - (["Y",0.1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat)]; + _zeusExpand ctrlAddEventHandler ["ButtonClick",{ + [] call MAZ_EZM_fnc_expandAllTrees; + }]; + _zeusExpand ctrlCommit 0; + }; + call MAZ_EZM_fnc_addCollapseExpandButtons; + + MAZ_EZM_fnc_removeFactionStuffFromEmpty = { + private _display = (findDisplay 312); + private _civilianUnitTree = (_display displayCtrl 274); + private _factionNames = [ + "$STR_A3_CFGFACTIONCLASSES_IND_F0", + "$STR_A3_CFGFACTIONCLASSES_CIV_F0", + "$STR_A3_CFGFACTIONCLASSES_OPF_F0", + "$STR_A3_CFGFACTIONCLASSES_OPF_T_F0", + "$STR_A3_CFGFACTIONCLASSES_BLU_CTRG_F0", + "$STR_A3_CFGFACTIONCLASSES_IND_G_F0", + "$STR_A3_CFGFACTIONCLASSES_BLU_GEN_F0", + "$STR_A3_CFGFACTIONCLASSES_CIV_IDAP_F0", + "$STR_A3_C_CFGFACTIONCLASSES_IND_E_F0", + "$STR_A3_CFGFACTIONCLASSES_BLU_F0", + "$STR_A3_CFGFACTIONCLASSES_BLU_T_F0", + "$STR_A3_C_CFGFACTIONCLASSES_BLU_W_F0", + "$STR_A3_CFGFACTIONCLASSES_IND_C_F0" + ] apply {localize _x}; + private _treePaths = []; + for '_n' from 0 to 40 do { + private _text = _civilianUnitTree tvText [_n]; + if(_text in _factionNames) then { + _treePaths pushBack _n; + }; + }; + { + _civilianUnitTree tvDelete [_x - _forEachIndex]; + }forEach _treePaths; + }; + call MAZ_EZM_fnc_removeFactionStuffFromEmpty; + + MAZ_EZM_fnc_addSpawnWithoutCrewButton = { + private _display = (findDisplay 312); + private _spawnBannerCtrl = (_display displayCtrl 270); + private _ctrlGroup = ctrlParentControlsGroup _spawnBannerCtrl; + (ctrlPosition _spawnBannerCtrl) params ["_posX","_posY","_posW","_posH"]; + private _yPosButton = _posY + _posH - (["H",1.1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + + private _zeusCheckBoxBG = _display ctrlCreate ["RscPicture",-1,_ctrlGroup]; + _zeusCheckBoxBG ctrlSetText "#(argb,8,8,3)color(0.18,0.19,0.21,1)"; + _zeusCheckBoxBG ctrlSetPosition [_posX,_yPosButton - (["H",0.1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat),_posW,["H",1.2] call MAZ_EZM_fnc_convertToGUI_GRIDFormat]; + _zeusCheckBoxBG ctrlEnable false; + _zeusCheckBoxBG ctrlCommit 0; + + private _zeusCheckBoxFrame = _display ctrlCreate ["RscFrame",-1,_ctrlGroup]; + _zeusCheckBoxFrame ctrlSetTextColor [0,0,0,1]; + _zeusCheckBoxFrame ctrlSetPosition [_posX,_yPosButton - (["H",0.1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat),_posW,["H",1.2] call MAZ_EZM_fnc_convertToGUI_GRIDFormat]; + _zeusCheckBoxFrame ctrlEnable false; + _zeusCheckBoxFrame ctrlCommit 0; + + private _zeusCheckBoxText = _display ctrlCreate ["RscText",-1,_ctrlGroup]; + _zeusCheckBoxText ctrlSetText "Spawn vehicles with crew"; + _zeusCheckBoxText ctrlSetTextColor [1,1,1,1]; + _zeusCheckBoxText ctrlSetPosition [(_posX + (["W",1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat)),_yPosButton,_posW - (["W",1.2] call MAZ_EZM_fnc_convertToGUI_GRIDFormat),["H",1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat]; + _zeusCheckBoxText ctrlEnable false; + _zeusCheckBoxText ctrlCommit 0; + + private _zeusCheckBox = _display ctrlCreate ["RscCheckbox",-1,_ctrlGroup]; + _zeusCheckBox ctrlSetTextColor [1,1,1,0.8]; + _zeusCheckBox ctrlSetActiveColor [1,1,1,1]; + _zeusCheckBox cbSetChecked (missionNamespace getVariable ["MAZ_EZM_spawnWithCrew",true]); + _zeusCheckBox ctrlSetPosition [(_posX + (["W",0.1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat)),_yPosButton,["W",1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,["H",1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat]; + _zeusCheckBox ctrlAddEventHandler ["ButtonClick",{ + if(MAZ_EZM_spawnWithCrew) then { + MAZ_EZM_spawnWithCrew = false; + } else { + MAZ_EZM_spawnWithCrew = true; + }; + }]; + _zeusCheckBox ctrlCommit 0; + + { + (ctrlPosition (_display displayCtrl _x)) params ["","_posY","","_posH"]; + (_display displayCtrl _x) ctrlSetPositionH (_posH - (["H",1.2] call MAZ_EZM_fnc_convertToGUI_GRIDFormat)); + (_display displayCtrl _x) ctrlCommit 0; + } forEach [270,271,272,273,274,275,276,277,278,279,280,281,282]; + }; + call MAZ_EZM_fnc_addSpawnWithoutCrewButton; + + comment "TODO : Move groups tree back once"; + MAZ_EZM_fnc_moveTree = { + params ["_ctrl","_fromPath","_toPath"]; + private _data = [_ctrl,_fromPath] call MAZ_EZM_fnc_getSubChildrenOfTree; + [_ctrl,_fromPath,_toPath,_data] spawn MAZ_EZM_fnc_createTree; + }; + + MAZ_EZM_fnc_getSubChildrenOfTree = { + params ["_ctrl","_fromPath"]; + private _size = _ctrl tvCount _fromPath; + if(_size <= 0) exitWith {}; + private _subChildren = []; + for "_i" from 0 to (_size - 1) do { + private _xPath = _fromPath + [_i]; + private _xText = _ctrl tvText _xPath; + private _xData = _ctrl tvData _xPath; + private _xHasChildren = false; + if(_ctrl tvCount _xPath > 0) then { + comment "Has subchildren"; + _xHasChildren = true; + }; + _subChildren pushBack [_i,_xText,_xData,_xHasChildren]; + }; + _subChildren + }; + + MAZ_EZM_fnc_createTree = { + params ["_ctrl","_fromPath","_toPath","_data"]; + { + _x params ["_path","_text","_data","_hasChildren"]; + _ctrl tvAdd [_toPath,_text]; + private _xPath = _toPath + [_forEachIndex]; + _ctrl tvSetData [_xPath,_data]; + if(_hasChildren) then { + private _children = [_ctrl,_fromPath + [_forEachIndex]] call MAZ_EZM_fnc_getSubChildrenOfTree; + [_ctrl,_fromPath + [_forEachIndex],_xPath,_children] spawn MAZ_EZM_fnc_createTree; + }; + sleep 0.5; + }forEach _data; + }; + + MAZ_EZM_fnc_removeUselessGroupTrees = { + { + ((findDisplay 312) displayCtrl _x) tvDelete [0]; + } forEach [275,276,277]; + }; + + MAZ_EZM_fnc_findTree = { + params ["_parent","_value",["_parentPath",[]]]; + private _index = -1; + for "_i" from 0 to (_parent tvCount _parentPath) do { + private _newPath = +_parentPath; + _newPath pushBack _i; + if(_parent tvText _newPath == _value) then { + _index = _i; + break; + }; + }; + _index + }; + + comment "Warning System"; + + MAZ_EZM_fnc_getActiveWarnings = { + private _count = 0; + { + if(isNil "_x") then {continue}; + _x params ["_ctrl","_warningInfo","_isActive"]; + if(_isActive) then {_count = _count + 1;} + }forEach (uiNamespace getVariable ["MAZ_EZM_activeWarnings",[]]); + _count + }; + + MAZ_EZM_fnc_addWarningElement = { + params ["_text",["_icon","A3\UI_F\Data\Map\Markers\Military\warning_ca.paa"],["_color",[1,0,0,1]]]; + if !(currentNamespace isEqualTo uiNamespace) exitWith {["This function should only be called from the uiNamespace!","addItemFailed"] call MAZ_EZM_fnc_systemMessage; nil}; + with uiNamespace do { + private _warningPicture = (findDisplay 312) ctrlCreate ["RscPicture",-1]; + _warningPicture ctrlSetPosition [["X",46] call MAZ_EZM_fnc_convertToGUI_GRIDFormat, ["Y",-8] call MAZ_EZM_fnc_convertToGUI_GRIDFormat, ["W",1.5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,["H",1.5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat]; + _warningPicture ctrlSetText _icon; + _warningPicture ctrlSetTooltip _text; + _warningPicture ctrlSetTextColor _color; + _warningPicture ctrlSetPositionY (["Y",-8 + (2 * ([] call MAZ_EZM_fnc_getActiveWarnings))] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _warningPicture ctrlCommit 0; + + playSound "addItemFailed"; + + MAZ_EZM_activeWarnings pushBack [_warningPicture,[_text,_icon,_color],true]; + }; + }; + missionNamespace setVariable ["MAZ_EZM_fnc_addWarningElement",MAZ_EZM_fnc_addWarningElement]; + + MAZ_EZM_fnc_removeWarningElement = { + params ["_warningIndex"]; + private _warningData = (uiNamespace getVariable ["MAZ_EZM_activeWarnings",[]]) select _warningIndex; + _warningData params ["_warningPicture","_warningInfo","_isActive"]; + (uiNamespace getVariable ["MAZ_EZM_activeWarnings",[]]) set [_warningIndex,nil]; + ctrlDelete _warningPicture; + private _count = 0; + { + if(isNil "_x") then {continue}; + _x params ["_ctrl","_warningInfo","_isActive"]; + if(isNil "_warningInfo") then {continue}; + if(!_isActive) then {continue}; + _ctrl ctrlSetPositionY (["Y",-8 + (2 * _count)] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _ctrl ctrlCommit 0; + _count = _count + 1; + }forEach (uiNamespace getVariable ["MAZ_EZM_activeWarnings",[]]); + }; + missionNamespace setVariable ["MAZ_EZM_fnc_removeWarningElement",MAZ_EZM_fnc_removeWarningElement]; + + MAZ_EZM_fnc_showAllWarnings = { + if(count (uiNamespace getVariable ["MAZ_EZM_activeWarnings",[]]) < 0) exitWith {}; + if(isNull (findDisplay 312)) exitWith {}; + with uiNamespace do { + private _count = 0; + if(isNil "MAZ_EZM_activeWarnings") exitWith {}; + { + if(isNil "_x") then {continue}; + _x params ["","_warningInfo","_isActive"]; + if(isNil "_warningInfo") then {continue}; + _warningInfo params ["_text","_icon","_color"]; + if(!_isActive) then {continue}; + private _ctrl = (findDisplay 312) ctrlCreate ["RscPicture",-1]; + _ctrl ctrlSetPosition [["X",46] call MAZ_EZM_fnc_convertToGUI_GRIDFormat, ["Y",-8] call MAZ_EZM_fnc_convertToGUI_GRIDFormat, ["W",1.5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,["H",1.5] call MAZ_EZM_fnc_convertToGUI_GRIDFormat]; + _ctrl ctrlSetText _icon; + _ctrl ctrlSetTooltip _text; + _ctrl ctrlSetTextColor _color; + _ctrl ctrlSetPositionY (["Y",-8 + (2 * _count)] call MAZ_EZM_fnc_convertToGUI_GRIDFormat); + _ctrl ctrlCommit 0; + _count = _count + 1; + if(!isNil "MAZ_EZM_activeWarnings") then { + MAZ_EZM_activeWarnings set [_forEachIndex,[_ctrl,_warningInfo,_isActive]]; + }; + }forEach MAZ_EZM_activeWarnings; + }; + (findDisplay 312) setVariable ["MAZ_EZM_hideWarnings",false]; + }; + [] call MAZ_EZM_fnc_showAllWarnings; + + MAZ_EZM_fnc_hideAllWarnings = { + if(count (uiNamespace getVariable ["MAZ_EZM_activeWarnings",[]]) < 0) exitWith {}; + if(isNull (findDisplay 312)) exitWith {}; + with uiNamespace do { + if(isNil "MAZ_EZM_activeWarnings") exitWith {}; + { + if(isNil "_x") then {continue}; + _x params ["_ctrl","_warningInfo","_isActive"]; + if(isNil "_ctrl") then {continue}; + _ctrl ctrlSetFade 1; + _ctrl ctrlCommit 0.1; + }forEach MAZ_EZM_activeWarnings; + }; + }; + + MAZ_EZM_fnc_unhideAllWarnings = { + if(count (uiNamespace getVariable ["MAZ_EZM_activeWarnings",[]]) < 0) exitWith {}; + if(isNull (findDisplay 312)) exitWith {}; + with uiNamespace do { + if(isNil "MAZ_EZM_activeWarnings") exitWith {}; + { + if(isNil "_x") then {continue}; + _x params [["_ctrl", controlNull],"_warningInfo","_isActive"]; + if(isNull _ctrl) then {continue}; + _ctrl ctrlSetFade 0; + _ctrl ctrlCommit 0.1; + }forEach MAZ_EZM_activeWarnings; + }; + }; + + MAZ_EZM_fnc_detectRespawnsUnavailable = { + with uiNamespace do { + private _warningText = ""; + private _sideStrings = ["BLUFOR","OPFOR","INDEPENDENT","CIVILIAN"]; + { + private _sideOf = _x; + private _numPlayers = {side (group _x) == _sideOf} count allPlayers; + if(_numPlayers <= 0) then {continue}; + + private _respawnCountSide = count ([_sideOf] call BIS_fnc_getRespawnPositions); + if(_respawnCountSide != 0) then {continue}; + + _warningText = _warningText + "There is no respawn for " + (_sideStrings select _forEachIndex) + " players!\n"; + }forEach [west,east,independent,civilian]; + + if(_warningText == "") exitWith { + if(!isNil "MAZ_EZM_missingRespawnWarn") then { + [MAZ_EZM_missingRespawnWarn] call MAZ_EZM_fnc_removeWarningElement; + MAZ_EZM_missingRespawnWarn = nil; + }; + }; + + if(!isNil "MAZ_EZM_missingRespawnWarn") exitWith { + private _currentWarnText = MAZ_EZM_activeWarnings select MAZ_EZM_missingRespawnWarn select 1 select 0; + if(_currentWarnText != _warningText) then { + [MAZ_EZM_missingRespawnWarn] call MAZ_EZM_fnc_removeWarningElement; + MAZ_EZM_missingRespawnWarn = [_warningText] call MAZ_EZM_fnc_addWarningElement; + }; + }; + + MAZ_EZM_missingRespawnWarn = [_warningText] call MAZ_EZM_fnc_addWarningElement; + }; + }; + + MAZ_EZM_fnc_detectLowServerPerformance = { + 0=[] spawn { + "MAZ_EZM_serverFPS"; "defined on server"; + waitUntil {uiSleep 0.1; !(missionNamespace getVariable ["MAZ_EZM_isPingingServerFPS",false])}; + private _fps = uiNamespace getVariable "MAZ_EZM_serverFPS"; + if(!isNil "MAZ_EZM_lowServerFPSWarn") then { + [MAZ_EZM_lowServerFPSWarn] call MAZ_EZM_fnc_removeWarningElement; + MAZ_EZM_lowServerFPSWarn = nil; + }; + if(_fps < 30) then { + private _warnText = format ["The server FPS is low! Current server FPS: %1",_fps]; + MAZ_EZM_lowServerFPSWarn = [_warnText,"a3\ui_f\data\gui\cfg\hints\fatigue_ca.paa",[0,0,0.8,1]] call MAZ_EZM_fnc_addWarningElement; + }; + }; + }; + + [] spawn { + while {!isNull (findDisplay 312)} do { + call MAZ_EZM_fnc_detectRespawnsUnavailable; + "call MAZ_EZM_fnc_detectLowServerPerformance"; + sleep 5; + }; + }; + + comment "Define Trees"; + + MAZ_UnitsTree_BLUFOR = (_display displayCtrl 270); + MAZ_UnitsTree_OPFOR = (_display displayCtrl 271); + MAZ_UnitsTree_INDEP = (_display displayCtrl 272); + MAZ_UnitsTree_CIVILIAN = (_display displayCtrl 273); + MAZ_UnitsTree_EMPTY = (_display displayCtrl 274); + MAZ_zeusModulesTree = (_display displayCtrl 280); + MAZ_GroupsTree_EMPTY = (_display displayCtrl 279); + + for '_n' from 0 to 32 do + { + uiNamespace getVariable "MAZ_UnitsTree_BLUFOR" tvCollapse [_n]; + uiNamespace getVariable "MAZ_UnitsTree_OPFOR" tvCollapse [_n]; + uiNamespace getVariable "MAZ_UnitsTree_INDEP" tvCollapse [_n]; + uiNamespace getVariable "MAZ_UnitsTree_CIVILIAN" tvCollapse [_n]; + uiNamespace getVariable "MAZ_UnitsTree_EMPTY" tvCollapse [_n]; + uiNamespace getVariable "MAZ_zeusModulesTree" tvCollapse [_n]; + comment " + MAZ_GroupsTree_BLUFOR tvCollapse [_n]; + MAZ_GroupsTree_OPFOR tvCollapse [_n]; + MAZ_GroupsTree_INDEP tvCollapse [_n]; + MAZ_GroupsTree_CIVILIAN tvCollapse [_n]; + "; + }; + + { + _x ctrlAddEventhandler ["TreeSelChanged","[(_this select 1)] call MAZ_EZM_fnc_updateModuleSelection"]; + } forEach [MAZ_UnitsTree_BLUFOR,MAZ_UnitsTree_OPFOR,MAZ_UnitsTree_INDEP,MAZ_UnitsTree_CIVILIAN,MAZ_UnitsTree_EMPTY,MAZ_zeusModulesTree]; + + comment "Add Divider"; + + [MAZ_zeusModulesTree,"------------------------------------------------------","",EZM_themeColor] call MAZ_EZM_fnc_zeusAddCategory; + + MAZ_EZMLabelTree = [MAZ_zeusModulesTree,"Enhanced Zeus Modules",'\a3\ui_f_curator\Data\Displays\RscDisplayCurator\modeModules_ca.paa',EZM_themeColor] call MAZ_EZM_fnc_zeusAddCategory; + MAZ_zeusModulesTree tvSetPictureRightColor [[MAZ_EZMLabelTree], EZM_themeColor]; + [ + MAZ_zeusModulesTree, + MAZ_EZMLabelTree, + format ["ZAM Edition - %1",missionNamespace getVariable ['MAZ_EZM_Version','']], + "Framework originally created by: M9-SD & GamesByChris.\nExpanded and made public by: Expung3d to enhance Public Zeus.\n\nNeed help? Found a bug? Join our Discord:\nhttps://discord.gg/W4ew5HP", + "MAZ_EZM_fnc_hiddenEasterEggModule" + ] call MAZ_EZM_fnc_zeusAddModule; + + [MAZ_zeusModulesTree,"------------------------------------------------------","",EZM_themeColor] call MAZ_EZM_fnc_zeusAddCategory; + + comment "AI Modifers"; + MAZ_EditAITree = [ + MAZ_zeusModulesTree, + "AI Modifiers", + '\A3\ui_f\data\IGUI\Cfg\simpleTasks\types\intel_ca.paa' + ] call MAZ_EZM_fnc_zeusAddCategory; + + [ + MAZ_zeusModulesTree, + MAZ_EditAITree, + "Garrison (Instant)", + "Places AI's group in randomized position in nearest building.", + "MAZ_EZM_fnc_garrisonInstantModule", + '\A3\ui_f\data\IGUI\Cfg\simpleTasks\types\run_ca.paa' + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_EditAITree, + "Garrison (Search)", + "Places AI's group in randomized position in nearest building.", + "MAZ_EZM_fnc_garrisonSearchModule", + '\A3\ui_f\data\IGUI\Cfg\simpleTasks\types\getin_ca.paa' + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_EditAITree, + "Un-Garrison", + "Removes AI from their garrisoned position.", + "MAZ_EZM_fnc_unGarrisonModule", + '\A3\ui_f\data\IGUI\Cfg\simpleTasks\types\getout_ca.paa' + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_EditAITree, + "Edit AI Equipment", + "Remove or equip AI with NVGs or flashlights.", + "MAZ_EZM_fnc_removeNVGsAddFlashlightsModule", + "a3\ui_f\data\igui\cfg\actions\gear_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_EditAITree, + "Enable AI Lasers", + "Makes AI turn on their lasers and lights.", + "MAZ_EZM_fnc_toggleLightsModule", + "a3\ui_f_curator\data\cfgcurator\laser_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_EditAITree, + "Disable AI Lasers", + "Makes AI turn off their lasers and lights.", + "MAZ_EZM_fnc_toggleOffLightsModule", + "a3\ui_f\data\map\markers\military\dot_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_EditAITree, + "Make Hostage", + "Makes AI into a restrained hostage.", + "MAZ_EZM_fnc_makeHostageModule", + '\A3\ui_f\data\IGUI\Cfg\simpleTasks\types\help_ca.paa' + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_EditAITree, + "Make HVT", + "Makes AI an HVT that, when killed, everyone will be notified.", + "MAZ_EZM_fnc_makeHVTModule", + "a3\modules_f_curator\data\portraitobjectiveneutralize_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_EditAITree, + "Set Ambient Animation", + "Set Ambient Animations", + "MAZ_EZM_fnc_setAmbientAnimationModule", + "a3\ui_f_curator\data\rsccommon\rscattributepunishmentanimation\pushupslegs.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_EditAITree, + "Set Difficulty", + "Adjust all AI's difficulty.", + "MAZ_EZM_fnc_changeDifficultyModule", + '\A3\ui_f\data\IGUI\RscIngameUI\RscUnitInfo\SI_stand_ca.paa' + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_EditAITree, + "Set Stance", + "Makes AI forced into stance mode. i.e. prone, crouch, standing, auto.", + "MAZ_EZM_fnc_changeStanceModule", + '\A3\ui_f\data\IGUI\RscIngameUI\RscUnitInfo\SI_stand_ca.paa' + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_EditAITree, + "Suppressive Fire", + "Makes the AI suppress the position you select.", + "MAZ_EZM_fnc_suppressiveFireModule", + "a3\static_f_oldman\hmg_02\data\ui\icon_hmg_02_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_EditAITree, + "Toggle Unit Surrender", + "Makes AI surrender or un-surrender.", + "MAZ_EZM_fnc_toggleSurrenderModule", + '\A3\ui_f\data\IGUI\Cfg\simpleTasks\types\help_ca.paa' + ] call MAZ_EZM_fnc_zeusAddModule; + + comment "AI Supports"; + MAZ_AISupportTree = [ + MAZ_zeusModulesTree, + "AI Supports", + "a3\modules_f_curator\data\portraitradio_ca.paa" + ] call MAZ_EZM_fnc_zeusAddCategory; + + [ + MAZ_zeusModulesTree, + MAZ_AISupportTree, + "Airdrop", + "Calls an airdrop to module position.", + "MAZ_EZM_fnc_callAirdropModule", + "a3\air_f_beta\parachute_01\data\ui\portrait_parachute_01_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_AISupportTree, + "Evac Helicopter", + "HOW TO USE:\n1: Place module on position to which a helicopter will fly and land to pickup players.\n2: Select secondary position that the helicopter will drop them off at.", + "MAZ_EZM_fnc_callEvacModule", + "a3\air_f\heli_light_01\data\ui\map_heli_light_01_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_AISupportTree, + "Call Reinforcements", + "HOW TO USE:\n1: Place module on position to which a helicopter will fly and drop off troops.\n2: Select reinforcements parameters in menu.\n3: Select secondary position that reinforcements will move to on foot.", + "MAZ_EZM_fnc_callReinforcements", + '\A3\ui_f\data\gui\rsc\rscdisplayarsenal\radio_ca.paa' + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_AISupportTree, + "Mortar Area", + "Sends virtual fire support to the area with a radius of error and a delay between rounds.", + "MAZ_EZM_fnc_mortarAreaModule", + "a3\static_f\mortar_01\data\ui\map_mortar_01_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + comment "Arsenal (s)"; + + MAZ_ArsenalTree = [ + MAZ_zeusModulesTree, + "Arsenal Creator", + '\A3\ui_f\data\Logos\a_64_ca.paa' + ] call MAZ_EZM_fnc_zeusAddCategory; + + MAZ_zeusModulesTree tvSetTooltip [[MAZ_ArsenalTree], ""]; + + [ + MAZ_zeusModulesTree, + MAZ_ArsenalTree, + "AIO Arsenal", + "----------------------------------------------------------------------------------------------------------------------------------------------------------------------\nAll-In-One Arsenal (by M9-SD)\n----------------------------------------------------------------------------------------------------------------------------------------------------------------------\n\nDescription:\n There are two ways to use this module:\n(1) Place onto another object to make it an AIO arsenal.\n(2) Place on ground to spawn supply box AIO arsenal.\n\nIncludes the following options:\n- Full Arsenal\n- Quick Rearm\n- Copy Loadout\n- Empty Loadout\n- Save Respawn Loadout\n- Load Respawn Loadout\n- Delete Respawn Loadout\n- Edit Group Loadouts", + "MAZ_EZM_fnc_createAIOArsenalDialog", + '\A3\ui_f\data\Logos\a_64_ca.paa' + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_ArsenalTree, + "Reset All Saved Loadouts", + "----------------------------------------------------------------------------------------------------------------------------------------------------------------------\nDelete All Saved Loadouts\n----------------------------------------------------------------------------------------------------------------------------------------------------------------------\n\nDescription:\n This module will remove the saved loadouts from all players.", + "MAZ_EZM_fnc_resetSavedLoadouts", + '\A3\ui_f\data\Logos\a_64_ca.paa' + ] call MAZ_EZM_fnc_zeusAddModule; + + comment "Automatic Missions"; + + MAZ_AutoMissionTree = [ + MAZ_zeusModulesTree, + "Automatic Missions", + "a3\ui_f\data\map\markers\military\objective_ca.paa", + [1,1,1,1], + "Automated Missions that can be spawned on different maps." + ] call MAZ_EZM_fnc_zeusAddCategory; + + [ + MAZ_zeusModulesTree, + MAZ_AutoMissionTree, + "Toggle Automatic Heli Crash Missions", + "Toggles randomized helicopter crash missions.\nWill spawn and last for 15 minutes before despawning.\nAfter a mission despawns or is completed another will spawn in 10 minutes.", + "MAZ_EZM_fnc_toggleRandomHelicrashModule", + "a3\modules_f_curator\data\portraitobjectiveneutralize_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_AutoMissionTree, + "Toggle Automatic Convoy Missions", + "Toggles randomized convoy missions.\nPlayers must capture the truck moving within the convoy.\nWill spawn and last until killed or reaching its destination.\nAfter a mission despawns or is completed another will spawn in 10 minutes.", + "MAZ_EZM_fnc_toggleRandomConvoyModule", + "a3\modules_f_curator\data\portraitobjectivemove_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_AutoMissionTree, + "Auto Garrison Town", + "Automatically garrisons a named town or the town where the module is placed.", + "MAZ_EZM_fnc_createGarrisonTownDialog", + "a3\modules_f_curator\data\portraitobjectiveneutralize_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + comment "Building Interiors"; + + MAZ_BuildingInteriorsTree = [ + MAZ_zeusModulesTree, + "Building Interiors", + "a3\3den\data\cfg3den\group\iconcustomcomposition_ca.paa" + ] call MAZ_EZM_fnc_zeusAddCategory; + + [ + MAZ_zeusModulesTree, + MAZ_BuildingInteriorsTree, + "Spawn Interior", + "Spawn random interior data onto selected building.", + "MAZ_EZM_fnc_createBuildingInteriorCall", + "a3\3den\data\cfg3den\group\iconcustomcomposition_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_BuildingInteriorsTree, + "Remove Interior", + "Removes interior from selected building.", + "MAZ_EZM_fnc_removeBuildingInteriorCall", + "a3\3den\data\cfg3den\group\iconcustomcomposition_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_BuildingInteriorsTree, + "Get Default Interior Data", + "Resets EZM interior data to the default. \nYOU WILL LOSE ALL CHANGES YOU MADE TO YOUR INTERIORS WITHOUT UPDATING MAZ_EZM_fnc_loadDefaultInteriorsData!", + "MAZ_EZM_fnc_getDefaultInteriors", + "a3\3den\data\displays\display3den\toolbar\undo_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + comment "Clean Up Stuff"; + MAZ_CleanUpTree = [ + MAZ_zeusModulesTree, + "Clean-Up Tools", + "a3\3den\data\displays\display3den\panelleft\entitylist_delete_ca.paa" + ] call MAZ_EZM_fnc_zeusAddCategory; + + [ + MAZ_zeusModulesTree, + MAZ_CleanUpTree, + "Delete Bodies", + "Similar to Delete Clutter except it does not delete destroyed buildings.", + "MAZ_EZM_fnc_deleteBodies", + "a3\3den\data\displays\display3den\panelleft\entitylist_delete_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_CleanUpTree, + "Delete Clutter", + "Deletes all clutter on the ground.", + "MAZ_EZM_fnc_deleteClutterModule", + "a3\3den\data\displays\display3den\panelleft\entitylist_delete_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_CleanUpTree, + "Delete Empty Groups", + "Deletes all empty groups.", + "MAZ_EZM_fnc_deleteEmptyGroupsModule", + "\a3\ui_f_curator\data\rsccommon\rscattributeformation\wedge_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_CleanUpTree, + "Delete Everything", + "Deletes all mission objects.", + "MAZ_EZM_fnc_deleteEverythingModule", + "a3\3den\data\displays\display3den\panelleft\entitylist_delete_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_CleanUpTree, + "Delete Markers", + "Deletes all markers.", + "MAZ_EZM_fnc_deleteMarkersModule", + "a3\3den\data\displays\display3den\panelright\submode_marker_icon_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_CleanUpTree, + "Delete Mines", + "Deletes all mines.", + "MAZ_EZM_fnc_deleteMinesModule", + "a3\ui_f_curator\data\cfgmarkers\minefieldap_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_CleanUpTree, + "Delete Protection Zones", + "Deletes all protection zones.", + "MAZ_EZM_fnc_deleteProtectionZonesModule" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_CleanUpTree, + "Delete Radius", + "Deletes all objects in a radius.", + "MAZ_EZM_fnc_deleteRadiusModule", + "a3\3den\data\displays\display3den\panelleft\entitylist_delete_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + comment "Create/Delete Ships"; + MAZ_DeleteShipTree = [ + MAZ_zeusModulesTree, + "Create/Delete Ships", + "a3\ui_f\data\map\vehicleicons\iconship_ca.paa" + ] call MAZ_EZM_fnc_zeusAddCategory; + + [ + MAZ_zeusModulesTree, + MAZ_DeleteShipTree, + "Create Carrier", + "When placed on a boat, creates the USS Freedom at its position.", + "MAZ_EZM_fnc_createCarrierModule" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_DeleteShipTree, + "Create Destroyer", + "When placed on a boat, creates the USS Liberty at its position.", + "MAZ_EZM_fnc_createDestroyerModule" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_DeleteShipTree, + "Delete All Carriers", + "Deletes all carriers on the map.", + "MAZ_EZM_fnc_deleteAllCarriersModule" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_DeleteShipTree, + "Delete All Destroyers", + "Deletes all destroyers on the map.", + "MAZ_EZM_fnc_deleteAllDestroyersModule" + ] call MAZ_EZM_fnc_zeusAddModule; + + comment "Developer Tools"; + + MAZ_DevToolsTree = [ + MAZ_zeusModulesTree, + "Developer Tools", + "a3\ui_f\data\gui\rsc\rscdisplayarcademap\icon_debug_ca.paa" + ] call MAZ_EZM_fnc_zeusAddCategory; + + [ + MAZ_zeusModulesTree, + MAZ_DevToolsTree, + "Animation Viewer", + "Opens the Animation Viewer, if placed on a unit it will open using that unit and its current animation.", + "MAZ_EZM_fnc_openAnimViewerModule", + "a3\ui_f\data\gui\cfg\keyframeanimation\iconcamera_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_DevToolsTree, + "Open Debug Console", + "Opens the Debug Console.", + "MAZ_EZM_fnc_debugConsoleLocalModule", + "a3\3den\data\displays\display3den\entitymenu\findconfig_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_DevToolsTree, + "Find in Config Viewer", + "Opens the Config Viewer to the entity's config.", + "MAZ_EZM_fnc_showObjectConfig", + "a3\3den\data\displays\display3den\entitymenu\findconfig_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_DevToolsTree, + "Function Viewer", + "Opens the Function Viewer.", + "MAZ_EZM_fnc_functionViewer", + "a3\ui_f\data\gui\rsc\rscdisplayarcademap\icon_functions_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_DevToolsTree, + "GUI Editor", + "Opens the GUI Editor.", + "MAZ_EZM_fnc_openGUIEditor" + ] call MAZ_EZM_fnc_zeusAddModule; + + comment "Environment"; + + MAZ_EnvironmentTree = [ + MAZ_zeusModulesTree, + "Environment", + "a3\modules_f_curator\data\portraitweather_ca.paa" + ] call MAZ_EZM_fnc_zeusAddCategory; + + [ + MAZ_zeusModulesTree, + MAZ_EnvironmentTree, + "Change Time", + "Change the current time.", + "MAZ_EZM_fnc_changeTimeModule", + "a3\modules_f_curator\data\portraitskiptime_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_EnvironmentTree, + "Change Date", + "Change the current date.", + "MAZ_EZM_fnc_changeDateModule", + "a3\modules_f_curator\data\portraitskiptime_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_EnvironmentTree, + "Edit Weather Conditions", + "Edit the current meteorological atmospheric environment conditions.", + "MAZ_EZM_fnc_editWeatherConditionsModule", + "a3\modules_f_curator\data\portraitweather_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + comment "Explosives"; + + MAZ_ExplosivesTree = [ + MAZ_zeusModulesTree, + "Explosives", + '\A3\ui_f\data\IGUI\Cfg\simpleTasks\types\destroy_ca.paa' + ] call MAZ_EZM_fnc_zeusAddCategory; + + [ + MAZ_zeusModulesTree, + MAZ_ExplosivesTree, + "Create Minefield", + "Create a minefield.", + "MAZ_EZM_fnc_createMinefieldModule", + "a3\ui_f_curator\data\cfgmarkers\minefieldap_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_ExplosivesTree, + "Create IED", + "Create an IED.", + "MAZ_EZM_fnc_createIEDModule", + "a3\ui_f_curator\data\cfgmarkers\minefieldap_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + comment "Festive"; + + MAZ_FestiveTree = [ + MAZ_zeusModulesTree, + "Festive Modules", + "a3\3den\data\displays\display3den\toolbar\help_updates_ca.paa" + ] call MAZ_EZM_fnc_zeusAddCategory; + + call MAZ_EZM_holidayModulesAdd; + + comment "Gameplay"; + + MAZ_GameplayTree = [ + MAZ_zeusModulesTree, + "Gameplay", + '\A3\ui_f\data\IGUI\Cfg\simpleTasks\types\meet_ca.paa' + ] call MAZ_EZM_fnc_zeusAddCategory; + + [ + MAZ_zeusModulesTree, + MAZ_GameplayTree, + "Create Countdown", + "Creates an on screen countdown for players of specified side.", + "MAZ_EZM_fnc_createCountdownModule", + "a3\ui_f\data\igui\cfg\actions\settimer_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + comment "Markers"; + + [] call MAZ_EZM_fnc_drawEventhandlerAreaMarkers; + + MAZ_MarkersTree = [ + MAZ_zeusModulesTree, + "Markers", + "a3\3den\data\displays\display3den\panelright\submode_marker_icon_ca.paa" + ] call MAZ_EZM_fnc_zeusAddCategory; + + [ + MAZ_zeusModulesTree, + MAZ_MarkersTree, + "Create Area Marker", + "Creates an area marker on the map position.", + "MAZ_EZM_fnc_createAreaMarker", + "a3\ui_f\data\map\markerbrushes\fdiagonal_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_MarkersTree, + "Create AO Markers", + "Creates markers that darkens out everywhere except for the AO.", + "MAZ_EZM_fnc_createAOMarkerDialog", + "a3\ui_f\data\gui\rsc\rscdisplayarsenal\map_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_MarkersTree, + "Delete AO Markers", + "Deletes the spawned AO Markers.", + "MAZ_EZM_fnc_deleteAOMarkers", + "a3\ui_f\data\gui\rsc\rscdisplayarcademap\icon_exit_cross_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + comment "Messages"; + + MAZ_MessagesTree = [ + MAZ_zeusModulesTree, + "Messages", + "a3\3den\data\cfg3den\comment\texture_ca.paa" + ] call MAZ_EZM_fnc_zeusAddCategory; + + [ + MAZ_zeusModulesTree, + MAZ_MessagesTree, + '3D Speak', + 'Make an speak via 3D text above head.', + 'MAZ_EZM_fnc_3DSpeakModule', + '\A3\ui_f\data\IGUI\Cfg\simpleTasks\types\talk3_ca.paa' + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_MessagesTree, + "Send Subtitle Message", + "Sends a subtitle message to specific side players.", + "MAZ_EZM_fnc_sendSubtitleModule", + "a3\3den\data\cfg3den\comment\texture_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_MessagesTree, + 'Voice Dialog Message', + 'Play a voiced message from Arma 3.\n(Select voice lines from a menu.)', + 'MAZ_EZM_fnc_moduleDialogMessage', + '\A3\ui_f\data\IGUI\Cfg\actions\talk_ca.paa' + ] call MAZ_EZM_fnc_zeusAddModule; + + comment "Object Modifiers"; + + MAZ_ObjectModTree = [ + MAZ_zeusModulesTree, + "Object Modifiers", + "a3\3den\data\displays\display3den\toolbar\widget_local_ca.paa" + ] call MAZ_EZM_fnc_zeusAddCategory; + + [ + MAZ_zeusModulesTree, + MAZ_ObjectModTree, + "Attach to Nearest", + "Attaches the object to the nearest object.", + "MAZ_EZM_fnc_attachToNearestModule" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_ObjectModTree, + "Detach", + "Detaches the object from anything it's attached to.", + "MAZ_EZM_fnc_detachModule" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_ObjectModTree, + "Edit Object Attributes", + "Edit object attributes through an advanced menu.\nEdit textures, edit init fields, god mode, enable/disable sim, etc.", + "MAZ_EZM_fnc_editObjectAttributesModule", + "a3\3den\data\cfgwaypoints\scripted_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_ObjectModTree, + "Replace w/ Simple Object", + "Replaces the object it's placed on with a simple object to improve performance.", + "MAZ_EZM_fnc_replaceWithSimpleObject", + "a3\3den\data\cfgwaypoints\scripted_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_ObjectModTree, + "Toggle Simulation", + "Enables or disables simulation on the object.", + "MAZ_EZM_fnc_toggleSimulationModule", + '\A3\ui_f\data\IGUI\Cfg\simpleTasks\types\danger_ca.paa' + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_ObjectModTree, + "Toggle God Mode", + "Makes the object god moded or un-god moded.", + "MAZ_EZM_fnc_toggleInvincibleModule", + '\A3\ui_f\data\IGUI\Cfg\simpleTasks\types\kill_ca.paa' + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_ObjectModTree, + "Toggle Object Hidden", + "Toggles whether the object is hidden.", + "MAZ_EZM_fnc_toggleHideObjectModule", + '\A3\ui_f\data\IGUI\Cfg\simpleTasks\types\scout_ca.paa' + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_ObjectModTree, + "Un-Hide All Objects", + "Un-Hides all hidden objects.", + "MAZ_EZM_fnc_unHideObjectAllModule", + '\A3\ui_f\data\IGUI\Cfg\simpleTasks\types\whiteboard_ca.paa' + ] call MAZ_EZM_fnc_zeusAddModule; + + comment "Player Modifiers"; + MAZ_PlayerModTree = [ + MAZ_zeusModulesTree, + "Player Modifiers", + "a3\ui_f\data\gui\rsc\rscdisplaymain\menu_singleplayer_ca.paa" + ] call MAZ_EZM_fnc_zeusAddCategory; + + [ + MAZ_zeusModulesTree, + MAZ_PlayerModTree, + "Change Side", + "Change the side of the selected player.", + "MAZ_EZM_fnc_changeSideModule", + '\A3\ui_f\data\IGUI\Cfg\simpleTasks\types\meet_ca.paa' + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_PlayerModTree, + "Disarm", + "Removes the weapons from a player.", + "MAZ_EZM_fnc_disarmModule", + '\a3\3den\data\displays\display3den\entitymenu\arsenal_ca.paa' + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_PlayerModTree, + "Heal / Revive", + "Heal and/or revive the selected player.", + "MAZ_EZM_fnc_healAndReviveModule", + '\A3\ui_f\data\IGUI\Cfg\simpleTasks\types\heal_ca.paa' + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_PlayerModTree, + "Heal / Revive All", + "Heal and/or revive all players.", + "MAZ_EZM_fnc_healAndReviveAllModule", + '\A3\ui_f\data\IGUI\Cfg\simpleTasks\types\heal_ca.paa' + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_PlayerModTree, + "Kill Player", + "Kills the player its placed on.", + "MAZ_EZM_fnc_killUnit", + "a3\ui_f_curator\data\cfgmarkers\kia_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_PlayerModTree, + "Force Eject", + "Eject players from the selected vehicle.", + "MAZ_EZM_fnc_forceEjectModule", + '\A3\ui_f\data\IGUI\Cfg\actions\eject_ca.paa' + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_PlayerModTree, + "Toggle Mute Server", + "Toggles every player's voice chat (Global, Side, Group, Command).", + "MAZ_EZM_fnc_muteServerModule", + '\A3\ui_f\data\IGUI\RscIngameUI\RscDisplayChannel\MuteVON_crossed_ca.paa' + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_PlayerModTree, + "Reset Player Loadout", + "Removes a player's loadout.", + "MAZ_EZM_fnc_resetLoadout", + "a3\ui_f\data\igui\cfg\actions\obsolete\ui_action_gear_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + comment "Server Settings"; + + MAZ_ServerSettingsTree = [ + MAZ_zeusModulesTree, + "Server Settings", + "a3\3den\data\displays\display3den\statusbar\server_ca.paa" + ] call MAZ_EZM_fnc_zeusAddCategory; + + private _maxPlayable = (playableSlotsNumber west) + (playableSlotsNumber east) + (playableSlotsNumber independent) + (playableSlotsNumber civilian) + (playableSlotsNumber sideLogic); + if(_maxPlayable > 18) then { + [ + MAZ_zeusModulesTree, + MAZ_ServerSettingsTree, + "48+2 Team Switcher", + "Makes all players on the selected side when they join making everyone in the server the same side.\nPrimarily for 48+2 servers.", + "MAZ_EZM_fnc_482SideSwitchInit", + '\A3\ui_f\data\IGUI\Cfg\simpleTasks\types\help_ca.paa' + ] call MAZ_EZM_fnc_zeusAddModule; + }; + + [ + MAZ_zeusModulesTree, + MAZ_ServerSettingsTree, + "Change Side Relations", + "Change the relations of different sides towards Independent factions.", + "MAZ_EZM_fnc_changeSideRelationsModule", + "a3\ui_f\data\gui\cfg\communicationmenu\attack_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_ServerSettingsTree, + "Change Map Indicators", + "Change the shown map indicators.", + "MAZ_EZM_fnc_changeMapIndicators" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_ServerSettingsTree, + "Disable Mortars", + "Disable or enable mortars for all players.", + "MAZ_EZM_fnc_disableMortarsModule", + '\A3\ui_f\data\GUI\Cfg\CommunicationMenu\mortar_ca.paa' + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_ServerSettingsTree, + "Set Respawn Timer", + "Set the respawn timer.", + "MAZ_EZM_fnc_setRespawnTimerModule", + "a3\ui_f\data\igui\cfg\actions\settimer_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_ServerSettingsTree, + "Remove Team-Killers", + "Removes the Team-Killer status from all players.", + "MAZ_EZM_fnc_noTeamKillersModule", + "a3\ui_f_curator\data\cfgmarkers\kia_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + comment "Sounds"; + + MAZ_SoundsTree = [ + MAZ_zeusModulesTree, + "Sounds", + '\A3\ui_f\data\IGUI\RscIngameUI\RscDisplayChannel\MuteVON_ca.paa' + ] call MAZ_EZM_fnc_zeusAddCategory; + + [ + MAZ_zeusModulesTree, + MAZ_SoundsTree, + 'Jukebox', + 'Music Player:\n\nThis module will open the Jukebox GUI and play music for everyone.\nView and preview all music in arma 3.\nClick the green (top left) to play the selected song for everyone.', + 'M9sd_fnc_moduleOpenJUKEBOX', + 'a3\modules_f_curator\data\portraitmusic_ca.paa' + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_SoundsTree, + 'Sound Board', + 'Open the Sound Board GUI and play any sound from the game files.\nYou can preview sounds to play them only on your client,\nor you can play them on all clients.', + 'M9sd_fnc_moduleSoundBoard', + 'a3\modules_f_curator\data\portraitSound_ca.paa' + ] call MAZ_EZM_fnc_zeusAddModule; + + comment "Special Effects"; + + MAZ_SpecialFXTree = [ + MAZ_zeusModulesTree, + "Special Effects", + '\A3\ui_f\data\IGUI\Cfg\simpleTasks\types\destroy_ca.paa' + ] call MAZ_EZM_fnc_zeusAddCategory; + + [ + MAZ_zeusModulesTree, + MAZ_SpecialFXTree, + "Particle Effect", + "Creates a particle effect.", + "MAZ_EZM_fnc_createParticleEffectModule", + "a3\ui_f\data\igui\cfg\actions\obsolete\ui_action_fire_in_flame_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_SpecialFXTree, + "Earthquake", + "Creates an earthquake.", + "MAZ_EZM_fnc_earthquakeEffectModule", + "a3\modules_f\data\editterrainobject\icon_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_SpecialFXTree, + "Toggle Lamps", + "Disables or enables lamps in a radius.", + "MAZ_EZM_fnc_toggleLampsModule", + "a3\3den\data\displays\display3den\toolbar\flashlight_off_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_SpecialFXTree, + "Tracers", + "Creates tracer effects in at the position.", + "MAZ_EZM_fnc_tracerModuleDialog", + "a3\modules_f_curator\data\portraittracers_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + comment "Terrain Object Modifiers"; + MAZ_terrainObjectModTree = [ + MAZ_zeusModulesTree, + "Terrain Object Modifiers", + "a3\ui_f\data\igui\rscingameui\rscunitinfo\icon_terrain_ca.paa" + ] call MAZ_EZM_fnc_zeusAddCategory; + + [ + MAZ_zeusModulesTree, + MAZ_terrainObjectModTree, + "Edit Building Doors", + "Allows you to open and close doors on buildings.", + "MAZ_EZM_fnc_openDoorsModule", + "\a3\ui_f\data\igui\cfg\actions\open_door_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_terrainObjectModTree, + "God Mode Fences", + "Allows you to god mode fences in a radius.", + "MAZ_EZM_fnc_godModeFencesModule", + "a3\modules_f\data\editterrainobject\texturechecked_wall_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_terrainObjectModTree, + "Hide Terrain Objects (Radius)", + "Hide terrain objects in a given radius.", + "MAZ_EZM_fnc_hideTerrainRadiusModule", + "a3\modules_f\data\hideterrainobjects\icon_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + comment "Teleportation"; + MAZ_TeleportTree = [ + MAZ_zeusModulesTree, + "Teleportation", + "a3\ui_f\data\igui\cfg\simpletasks\types\move_ca.paa" + ] call MAZ_EZM_fnc_zeusAddCategory; + + [ + MAZ_zeusModulesTree, + MAZ_TeleportTree, + "Teleport Self", + "Teleport your character to the modules position.", + "MAZ_EZM_fnc_teleportSelfModule" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_TeleportTree, + "Teleport All Players", + "Teleport all players to the modules position.", + "MAZ_EZM_fnc_teleportAllPlayersModule", + "a3\ui_f\data\gui\rsc\rscdisplaymain\menu_multiplayer_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_TeleportTree, + "Teleport One Player", + "Teleport specific player to the modules position.", + "MAZ_EZM_fnc_teleportPlayerModule", + "a3\ui_f\data\gui\rsc\rscdisplaymain\menu_singleplayer_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_TeleportTree, + "Teleport Side", + "Teleport specific side to the modules position.", + "MAZ_EZM_fnc_teleportSideModule", + '\A3\ui_f\data\IGUI\Cfg\simpleTasks\types\meet_ca.paa' + ] call MAZ_EZM_fnc_zeusAddModule; + + comment "Utilities"; + MAZ_UtilitiesTree = [ + MAZ_zeusModulesTree, + "Utilities", + "a3\3den\data\cfgwaypoints\scripted_ca.paa" + ] call MAZ_EZM_fnc_zeusAddCategory; + + [ + MAZ_zeusModulesTree, + MAZ_UtilitiesTree, + "Add Objects to Interface", + "Adds all objects to your zeus interface.", + "MAZ_EZM_fnc_addObjectsToInterfaceModule", + '\A3\ui_f\data\IGUI\Cfg\simpleTasks\types\download_ca.paa' + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_UtilitiesTree, + "Add Objects to Interface (Radius)", + "Adds all objects to your zeus interface within a radius.", + "MAZ_EZM_fnc_addObjectsToInterfaceRadiusModule", + '\A3\ui_f\data\IGUI\Cfg\simpleTasks\types\download_ca.paa' + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_UtilitiesTree, + "Toggle Auto-Add to Interface", + "Adds all objects to your zeus interface when you open it.", + "MAZ_EZM_fnc_toggleAutoAddToInterface", + '\A3\3den\data\cfgwaypoints\cycle_ca.paa' + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_UtilitiesTree, + "Toggle Auto-Cleaner System", + "Automatically deletes destroyed objects when they're out of player view.", + "MAZ_EZM_fnc_toggleCleaner", + "a3\3den\data\displays\display3den\panelleft\entitylist_delete_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + comment "Vehicle Modifiers"; + MAZ_VehicleModTree = [ + MAZ_zeusModulesTree, + "Vehicle Modifiers", + "a3\ui_f\data\igui\cfg\vehicletoggles\engineiconon_ca.paa" + ] call MAZ_EZM_fnc_zeusAddCategory; + + [ + MAZ_zeusModulesTree, + MAZ_VehicleModTree, + "Unflip Vehicle", + "Unflip the vehicle the module is placed on.", + "MAZ_EZM_fnc_unflipVehicleModule" + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_VehicleModTree, + "Rearm", + "Rearm the vehicle.", + "MAZ_EZM_fnc_rearmVehicleModule", + '\A3\ui_f\data\IGUI\Cfg\simpleTasks\types\rearm_ca.paa' + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_VehicleModTree, + "Refuel", + "Refuel the vehicle.", + "MAZ_EZM_fnc_refuelVehicleModule", + '\A3\ui_f\data\IGUI\Cfg\simpleTasks\types\refuel_ca.paa' + ] call MAZ_EZM_fnc_zeusAddModule; + + [ + MAZ_zeusModulesTree, + MAZ_VehicleModTree, + "Repair", + "Repair the vehicle.", + "MAZ_EZM_fnc_repairVehicleModule", + '\A3\ui_f\data\IGUI\Cfg\simpleTasks\types\repair_ca.paa' + ] call MAZ_EZM_fnc_zeusAddModule; + + comment "Zeus"; + + MAZ_ZeusTree = [ + MAZ_zeusModulesTree, + "Zeus Settings", + "a3\ui_f_curator\data\logos\arma3_zeus_icon_ca.paa" + ] call MAZ_EZM_fnc_zeusAddCategory; + + [ + MAZ_zeusModulesTree, + MAZ_ZeusTree, + "Toggle Game Mod Rights", + "Change the Game Moderator rights.", + "MAZ_EZM_fnc_toggleGameModerator", + "a3\3den\data\attributes\taskstates\canceled_ca.paa" + ] call MAZ_EZM_fnc_zeusAddModule; + + comment "Zeus Preview"; + [] call MAZ_EZM_fnc_zeusPreviewImage; + [] call MAZ_EZM_fnc_addZeusPreviewEvents; + + comment "End"; + + comment "Select respawns if no respawns"; + private _serverMainSide = west; + private _sideCount = [0,0,0]; + private _max = 0; + { + private _side = side (group _x); + private _index = switch (_side) do { + case west: {0}; + case east: {1}; + case independent: {2}; + default {0}; + }; + _sideCount set [_index, (_sideCount select _index) + 1]; + }forEach allPlayers; + { + if(_x > _max) then { + _serverMainSide = switch (_forEachIndex) do { + case 0: {west}; + case 1: {east}; + case 2: {independent}; + }; + }; + }forEach _sideCount; + if(count (_serverMainSide call BIS_fnc_getRespawnPositions) == 0) then { + private _respawnIndex = switch (_serverMainSide) do { + case WEST: {1}; + case EAST: {4}; + case INDEPENDENT: {3}; + case CIVILIAN: {2}; + }; + [((findDisplay 312) displayCtrl 152)] call (missionNamespace getVariable "MAZ_EZM_fnc_emulateModeClick"); + private _respawnLocalText = localize "$STR_A3_RSCRESPAWNCONTROLS_RESPAWN"; + private _index = [uiNamespace getVariable "MAZ_zeusModulesTree",_respawnLocalText,[]] call (uiNamespace getVariable "MAZ_EZM_fnc_findTree"); + (uiNamespace getVariable "MAZ_zeusModulesTree") tvExpand [_index]; + (uiNamespace getVariable "MAZ_zeusModulesTree") tvSetCurSel [_index]; + }; + }; + call MAZ_EZM_fnc_addNewFactionsToZeusInterface; + call MAZ_EZM_fnc_addNewModulesToZeusInterface; + call MAZ_EZM_fnc_sortFactionModules; + }; + [] call _fnc_editInterface; +}; + +MAZ_EZM_editZeusLogic = { + private _zeusLogic = objNull; + private _zeusLogic = getAssignedCuratorLogic player; + if (isNull _zeusLogic) exitWith {}; + player setVariable ["MAZ_EZM_ZeusLogic",_zeusLogic]; + + if(!isNil "MAZ_EZM_zeusRespawnFix") then { + player removeEventHandler ["Respawn",MAZ_EZM_zeusRespawnFix]; + }; + MAZ_EZM_zeusRespawnFix = player addEventhandler ["Respawn",{ + [] spawn { + waitUntil {alive player && !isNull (findDisplay 46)}; + private _zeusLogic = player getVariable "MAZ_EZM_ZeusLogic"; + if(isNil "_zeusLogic") exitWith { + ["Error! Zeus Logic not found!","addItemFailed"] call MAZ_EZM_fnc_systemMessage; + }; + [_zeusLogic] remoteExec ['unassignCurator',2]; + + waitUntil{isNull (getAssignedCuratorUnit _zeusLogic)}; + ["Curator unassigned."] call MAZ_EZM_fnc_systemMessage; + + ["Attempting to assign..."] call MAZ_EZM_fnc_systemMessage; + while{isNull (getAssignedCuratorUnit _zeusLogic)} do { + [player,_zeusLogic] remoteExec ['assignCurator',2]; + sleep 0.1; + }; + ["Curator assigned! Press Y to open/close Zeus."] call MAZ_EZM_fnc_systemMessage; + private _zeusLoadout = profileNamespace getVariable "MAZ_EZM_ZeusLoadout"; + player setUnitLoadout _zeusLoadout; + }; + }]; + [] call MAZ_EZM_fnc_addToInterface; + + if((_zeusLogic getVariable ["MAZ_zeusEH_modulePlaced",-200]) != -200) then { + _zeusLogic removeEventHandler ['CuratorObjectPlaced',(_zeusLogic getVariable 'MAZ_zeusEH_modulePlaced')]; + }; + _zeusLogic setVariable [ + "MAZ_zeusEH_modulePlaced", + _zeusLogic addEventHandler [ + 'CuratorObjectPlaced', + MAZ_EZM_fnc_runZeusModule + ] + ]; + + _zeusLogic addEventHandler ["CuratorGroupPlaced", { + params ["_curator", "_group"]; + _group deleteGroupWhenEmpty true; + [units _group] call MAZ_EZM_fnc_addObjectToInterface; + }]; + + if((_zeusLogic getVariable ["MAZ_zeusEH_objectDblClicked",-200]) != -200) then { + _zeusLogic removeEventHandler ['CuratorObjectDoubleClicked',(_zeusLogic getVariable 'MAZ_zeusEH_objectDblClicked')]; + }; + _zeusLogic setVariable [ + "MAZ_zeusEH_objectDblClicked", + _zeusLogic addEventhandler ["CuratorObjectDoubleClicked",{ + params ["_curator", "_entity"]; + private _entityType = typeOf _entity; + private _objectiveModules = [ + "ModuleObjectiveAttackDefend_F", + "ModuleObjectiveSector_F", + "ModuleObjective_F", + "ModuleObjectiveGetIn_F", + "ModuleObjectiveMove_F", + "ModuleObjectiveNeutralize_F", + "ModuleObjectiveProtect_F", + "ModuleObjectiveRaceCP_F", + "ModuleObjectiveRaceFinish_F", + "ModuleObjectiveRaceStart_F", + "ModuleCASBomb_F", + "ModuleCASGunMissile_F", + "ModuleCASMissile_F", + "ModuleCASGun_F" + ]; + if (_entityType in _objectiveModules && !(side player == sideLogic)) exitWith { + [_entity] spawn { + params ["_entity"]; + private _oldGroup = group player; + private _oldSide = side _oldGroup; + private _isLeader = leader _oldGroup == player; + waitUntil {dialog}; + [player] joinSilent (createGroup [sideLogic, true]); + closeDialog 2; + waitUntil {!dialog}; + _entity call BIS_fnc_showCuratorAttributes; + waitUntil {dialog}; + if (isNull _oldGroup) exitWith {[player] joinSilent (createGroup [_oldSide, true])}; + [player] joinSilent _oldGroup; + if(_isLeader) then { + _oldGroup selectLeader player; + }; + }; + }; + if(isPlayer _entity) exitWith { + [_entity] spawn MAZ_EZM_createPlayerAttributesDialog; + true + }; + if((typeOf _entity) isKindOf "CAManBase" && !isPlayer _entity && alive _entity) exitWith { + [_entity] spawn MAZ_EZM_createManAttributesDialog; + true + }; + if((typeOf _entity) isKindOf "LandVehicle" && alive _entity) exitWith { + [_entity] spawn MAZ_EZM_createLandVehicleAttributesDialog; + true + }; + if(((typeOf _entity) isKindOf "Air" || (typeOf _entity) isKindOf "Ship") && alive _entity) exitWith { + [_entity] spawn MAZ_EZM_createVehicleAttributesDialog; + true + }; + false + }] + ]; + if((_zeusLogic getVariable ["MAZ_zeusEH_groupDblClicked",-200]) != -200) then { + _zeusLogic removeEventHandler ['CuratorGroupDoubleClicked',(_zeusLogic getVariable 'MAZ_zeusEH_groupDblClicked')]; + }; + _zeusLogic setVariable [ + "MAZ_zeusEH_groupDblClicked", + _zeusLogic addEventhandler ["CuratorGroupDoubleClicked",{ + params ["_curator", "_group"]; + [_group] spawn MAZ_EZM_createGroupAttributesDialog; + true + }] + ]; + + if((_zeusLogic getVariable ["MAZ_zeusEH_markerDblClicked",-200]) != -200) then { + _zeusLogic removeEventHandler ['CuratorMarkerDoubleClicked',(_zeusLogic getVariable 'MAZ_zeusEH_markerDblClicked')]; + }; + _zeusLogic setVariable [ + "MAZ_zeusEH_markerDblClicked", + _zeusLogic addEventhandler ["CuratorMarkerDoubleClicked",{ + params ["_curator", "_marker"]; + [_marker] spawn MAZ_EZM_createMarkerAttributesDialog; + true + }] + ]; + if((_zeusLogic getVariable ["MAZ_zeusEH_markerPlaced",-200]) != -200) then { + _zeusLogic removeEventHandler ['CuratorMarkerPlaced',(_zeusLogic getVariable 'MAZ_zeusEH_markerPlaced')]; + }; + _zeusLogic setVariable [ + "MAZ_zeusEH_markerPlaced", + _zeusLogic addEventhandler ["CuratorMarkerPlaced",{ + params ["_curator", "_marker"]; + private _tab = RscDisplayCurator_sections select 0; + if(_tab == 1) exitWith {comment "IN GROUPS TAB";}; + if(missionNamespace getVariable ["MAZ_EZM_isInGroupTabVar",false]) exitWith {}; + + if(isNil "MAZ_EZM_markerColorDefault") then { + MAZ_EZM_markerColorDefault = "Default"; + }; + _marker setMarkerColor MAZ_EZM_markerColorDefault; + }] + ]; + + if((_zeusLogic getVariable ["MAZ_zeusEH_waypointPlaced",-200]) != -200) then { + _zeusLogic removeEventHandler ['CuratorWaypointPlaced',(_zeusLogic getVariable 'MAZ_zeusEH_waypointPlaced')]; + }; + _zeusLogic setVariable [ + "MAZ_zeusEH_waypointPlaced", + _zeusLogic addEventhandler ["CuratorWaypointPlaced",{ + params ["_curator", "_group", "_waypointID"]; + private _wp = [_group,_waypointID]; + private _hovering = curatorMouseOver; + if(_hovering isEqualTo [""] || {_group != (group (_hovering # 1))}) then { + [] spawn { + waitUntil {call ZAM_fnc_isContextMenuOpen}; + call ZAM_fnc_closeContextMenu; + }; + } else { + deleteWaypoint _wp; + }; + private _pos = [true] call MAZ_EZM_fnc_getScreenPosition; + if(surfaceIsWater _pos) then { + _pos = AGLtoASL _pos; + _wp setWaypointPosition [_pos,-1]; + }; + }] + ]; + + if((_zeusLogic getVariable ["MAZ_zeusEH_curatorObjectPlaced",-200]) != -200) then { + _zeusLogic removeEventHandler ['CuratorObjectPlaced',(_zeusLogic getVariable 'MAZ_zeusEH_curatorObjectPlaced')]; + }; + _zeusLogic setVariable [ + "MAZ_zeusEH_curatorObjectPlaced", + _zeusLogic addEventHandler ["CuratorObjectPlaced", { + params ["_curator", "_entity"]; + private _tab = RscDisplayCurator_sections select 0; + if(_tab == 1) exitWith {comment "IN GROUPS TAB";}; + if(missionNamespace getVariable ["MAZ_EZM_isInGroupTabVar",false]) exitWith {}; + if(missionNamespace getVariable ["MAZ_EZM_copyingTimerOn",false]) exitWith {}; + + private _objPos = getPos _entity; + private _newPos = [true] call MAZ_EZM_fnc_getScreenPosition; + if(surfaceIsWater _objPos) then { + private _isOnCarrier = false; + if(_newPos # 2 != 0) then { + "Carrier terrain over water!"; + _isOnCarrier = true; + }; + _newPos = AGLtoASL _newPos; + _newPos = if((typeOf _entity) isKindOf "Air" && !_isOnCarrier) then { + private _newVehicle = createVehicle [typeOf _entity,[0,0,100],[],0,"FLY"]; + createVehicleCrew _newVehicle; + [crew _newVehicle + [_newVehicle]] call MAZ_EZM_fnc_addObjectToInterface; + { + deleteVehicle _x; + }forEach (crew _entity); + deleteVehicle _entity; + _entity = _newVehicle; + _newPos vectorAdd [0,0,50] + } else {_newPos vectorAdd [0,0,0.12]}; + _entity setPosASL _newPos; + private _sim = getText(configFile >> "CfgVehicles" >> (typeOf _entity) >> "simulation"); + if (toLower _sim == "airplanex" && !_isOnCarrier) then { + private _dir = getDir _entity; + _entity setVelocity [100 * (sin _dir), 100 * (cos _dir), 0]; + }; + if(_isOnCarrier) then { + _entity setVectorDirAndUp [[0, 0, 0], [0,0,1]]; + _entity setPosASL (_newPos vectorAdd [0,0,0.1]); + }; + } else { + if(_entity isKindOf "AllVehicles") then { + _entity setPosATL _newPos; + }; + }; + }] + ]; + + if((_zeusLogic getVariable ["MAZ_zeusEH_pinged",-200]) != -200) then { + _zeusLogic removeEventHandler ['CuratorPinged',(_zeusLogic getVariable 'MAZ_zeusEH_pinged')]; + }; + _zeusLogic setVariable [ + "MAZ_zeusEH_pinged", + _zeusLogic addEventHandler [ + "CuratorPinged", { + params ["_curator", "_player"]; + if(isNil "MAZ_EZM_pingPad" || {isNull MAZ_EZM_pingPad}) then { + MAZ_EZM_pingPad = "Land_HelipadEmpty_F" createVehicle [0,0,0]; + }; + detach MAZ_EZM_pingPad; + MAZ_EZM_pingPad attachTo [_player,[0,0,0]]; + missionNamespace setVariable ["bis_fnc_curatorPinged_player",MAZ_EZM_pingPad]; + } + ] + ]; +}; + +MAZ_EZM_addZeusKeybinds_312 = { + waitUntil{!isNull(findDisplay 312)}; + + if(!isNil "MAZ_EZM_closeZeusInterface") then { + (findDisplay 312) displayRemoveEventHandler ["KeyDown",MAZ_EZM_closeZeusInterface]; + }; + if(!isNil "MAZ_EZM_changeCuratorSideEH") then { + (findDisplay 312) displayRemoveEventHandler ["KeyDown",MAZ_EZM_changeCuratorSideEH]; + }; + + if(!isNil "MAZ_EZM_remoteControlShortcutUpEH") then { + (findDisplay 312) displayRemoveEventHandler ["MouseButtonUp",MAZ_EZM_remoteControlShortcutUpEH]; + }; + if(!isNil "MAZ_EZM_remoteControlShortcutDownEH") then { + (findDisplay 312) displayRemoveEventHandler ["MouseButtonDown",MAZ_EZM_remoteControlShortcutDownEH]; + }; + + if(!isNil "MAZ_EZM_mapClickDownEH") then { + ((findDisplay 312) displayCtrl 50) ctrlRemoveEventHandler ["MouseButtonDown",MAZ_EZM_mapClickDownEH]; + }; + if(!isNil "MAZ_EZM_mapClickUpEH") then { + ((findDisplay 312) displayCtrl 50) ctrlRemoveEventHandler ["MouseButtonUp",MAZ_EZM_mapClickUpEH]; + }; + if(!isNil "MAZ_EZM_mapMovingEH") then { + ((findDisplay 312) displayCtrl 50) ctrlRemoveEventHandler ["MouseMoving",MAZ_EZM_mapMovingEH]; + }; + if(!isNil "MAZ_EZM_deleteMarkerMapEH") then { + (findDisplay 312) displayRemoveEventHandler ["KeyDown",MAZ_EZM_deleteMarkerMapEH]; + }; + if(!isNil "MAZ_EZM_mapDoubleClickEH") then { + ((findDisplay 312) displayCtrl 50) ctrlRemoveEventHandler ["MouseButtonDblClick",MAZ_EZM_mapDoubleClickEH]; + }; + + if(!isNil "MAZ_EZM_rightClickContextMenuUpEH") then { + (findDisplay 312) displayRemoveEventHandler ["MouseButtonUp",MAZ_EZM_rightClickContextMenuUpEH]; + }; + if(!isNil "MAZ_EZM_rightClickContextMenuDownEH") then { + (findDisplay 312) displayRemoveEventHandler ["MouseButtonDown",MAZ_EZM_rightClickContextMenuDownEH]; + }; + + if(!isNil "MAZ_EZM_deployFlaresOnAircraft") then { + (findDisplay 312) displayRemoveEventHandler ["KeyDown",MAZ_EZM_deployFlaresOnAircraft]; + }; + + if(!isNil "MAZ_EZM_editorTabActions") then { + (findDisplay 312) displayRemoveEventHandler ["KeyDown",MAZ_EZM_editorTabActions]; + }; + + if(!isNil "MAZ_EZM_copyPasteFix") then { + (findDisplay 312) displayRemoveEventHandler ["KeyDown",MAZ_EZM_copyPasteFix]; + }; + + MAZ_EZM_closeZeusInterface = (findDisplay 312) displayAddEventHandler ["KeyDown", { + params ["_displayOrControl", "_key", "_shift", "_ctrl", "_alt"]; + if(_key == 21 && _ctrl) then { + (findDisplay 312) closeDisplay 0; + }; + }]; + MAZ_EZM_changeCuratorSideEH = (findDisplay 312) displayAddEventHandler ["KeyDown", { + params ["_displayOrControl", "_key", "_shift", "_ctrl", "_alt"]; + if(_key == 22 && _ctrl) then { + [] spawn MAZ_EZM_fnc_groupMenuTeamSwitcher; + }; + }]; + + MAZ_EZM_remoteControlShortcutDownEH = (findDisplay 312) displayAddEventHandler ["MouseButtonDown",{ + params ["_displayOrControl", "_button", "_xPos", "_yPos", "_shift", "_ctrl", "_alt"]; + if(_button == 0 && _alt) then { + if(isNil "MAZ_EZM_mousePressTime") then { + MAZ_EZM_mousePressTime = time; + }; + }; + }]; + MAZ_EZM_remoteControlShortcutUpEH = (findDisplay 312) displayAddEventHandler ["MouseButtonUp", { + params ["_displayOrControl", "_button", "_xPos", "_yPos", "_shift", "_ctrl", "_alt"]; + + if(_button == 0 && _alt) then { + private _buttonHoldTime = time - MAZ_EZM_mousePressTime; + MAZ_EZM_mousePressTime = nil; + if(_buttonHoldTime < 0.1) then { + private _logic = createVehicle ["Land_HelipadEmpty_F",[0,0,0],[],0,"CAN_COLLIDE"]; + [_logic,_targetObj,true] spawn MAZ_EZM_BIS_fnc_remoteControlUnit; + }; + }; + }]; + + MAZ_EZM_mapClickDownEH = ((findDisplay 312) displayCtrl 50) ctrlAddEventHandler ["MouseButtonDown",{ + params ["_displayOrControl", "_button", "_xPos", "_yPos", "_shift", "_ctrl", "_alt"]; + if(_button != 0) exitWith {}; + if((curatorMouseOver isEqualTo []) or (curatorMouseOver isEqualTo [''])) then { + private _pos = [] call MAZ_EZM_fnc_getScreenPosition; + if(({(markerPos _x) distance2D _pos < 75} count allMapMarkers) != 0) then { + private _closest = nil; + { + if(isNil "_closest" && ((markerPos _x) distance2D _pos < 75)) then { + _closest = _x; + }; + if(!isNil "_closest" && markerPos _x distance2D _pos < markerPos _closest distance2D _pos) then { + _closest = _x; + }; + }forEach allMapMarkers; + if(!isNil "_closest") then { + if((markerShape _closest == "ELLIPSE") || (markerShape _closest == "RECTANGLE")) then { + _displayOrControl setVariable ["EZM_isMovingMarker",true]; + _displayOrControl setVariable ["EZM_movingMarker",_closest]; + }; + }; + }; + }; + }]; + MAZ_EZM_mapClickUpEH = ((findDisplay 312) displayCtrl 50) ctrlAddEventHandler ["MouseButtonUp",{ + params ["_displayOrControl", "_button", "_xPos", "_yPos", "_shift", "_ctrl", "_alt"]; + if(_button != 0) exitWith {}; + if(_displayOrControl getVariable ["EZM_isMovingMarker",false]) then { + private _marker = _displayOrControl getVariable "EZM_movingMarker"; + if(!isNil "_marker") then { + _marker setMarkerPos (getMarkerPos _marker); + }; + _displayOrControl setVariable ["EZM_isMovingMarker",false]; + _displayOrControl setVariable ["EZM_movingMarker",nil]; + }; + }]; + MAZ_EZM_mapMovingEH = ((findDisplay 312) displayCtrl 50) ctrlAddEventHandler ["MouseMoving",{ + params ["_control", "_xPos", "_yPos", "_mouseOver"]; + if(_control getVariable ["EZM_isMovingMarker",false]) then { + private _marker = _control getVariable "EZM_movingMarker"; + if(!isNil "_marker") then { + _marker setMarkerPosLocal (_control ctrlMapScreenToWorld getMousePosition); + }; + }; + }]; + MAZ_EZM_deleteMarkerMapEH = (findDisplay 312) displayAddEventHandler ["KeyDown",{ + params ["_displayOrControl", "_key", "_shift", "_ctrl", "_alt"]; + if(!visibleMap) exitWith {}; + if(_key != 211) exitWith {}; + if((curatorMouseOver isEqualTo []) or (curatorMouseOver isEqualTo [''])) then { + private _pos = [] call MAZ_EZM_fnc_getScreenPosition; + if(({(markerPos _x) distance2D _pos < 100} count allMapMarkers) != 0) then { + private _closest = nil; + { + if(isNil "_closest" && ((markerPos _x) distance2D _pos < 100)) then { + _closest = _x; + }; + if(!isNil "_closest" && markerPos _x distance2D _pos < markerPos _closest distance2D _pos) then { + _closest = _x; + }; + }forEach allMapMarkers; + if(!isNil "_closest") then { + if((markerShape _closest == "ELLIPSE") || (markerShape _closest == "RECTANGLE")) then { + deleteMarker _closest; + }; + }; + }; + }; + }]; + MAZ_EZM_mapDoubleClickEH = ((findDisplay 312) displayCtrl 50) ctrlAddEventHandler ["MouseButtonDblClick",{ + params ["_control", "_button", "_xPos", "_yPos", "_shift", "_ctrl", "_alt"]; + private _pos = [] call MAZ_EZM_fnc_getScreenPosition; + if ((curatorMouseOver isEqualTo []) or (curatorMouseOver isEqualTo [''])) then { + if(({(markerPos _x) distance2D _pos < 100} count allMapMarkers) != 0) then { + private _closest = nil; + { + if(isNil "_closest" && ((markerPos _x) distance2D _pos < 100)) then { + _closest = _x; + }; + if(!isNil "_closest" && markerPos _x distance2D _pos < markerPos _closest distance2D _pos) then { + _closest = _x; + }; + }forEach allMapMarkers; + if(!isNil "_closest") then { + if((markerShape _closest == "ELLIPSE") || (markerShape _closest == "RECTANGLE")) then { + [_closest] spawn MAZ_EZM_fnc_createEditAreaMarkerDialog; + } else { + [_closest] spawn MAZ_EZM_createMarkerAttributesDialog; + }; + }; + }; + }; + }]; + + MAZ_EZM_rightClickContextMenuDownEH = (findDisplay 312) displayAddEventHandler ["MouseButtonDown",{ + params ["_displayOrControl", "_button", "_xPos", "_yPos", "_shift", "_ctrl", "_alt"]; + if(_button == 1 && (!_ctrl && !_shift && !_alt)) then { + + MAZ_EZM_mousePressTimeContext = time; + + comment "detect mouse movement (panning camera)"; + + JAM_EZM_mouseMovementContext = getMousePosition; + + }; + }]; + MAZ_EZM_rightClickContextMenuUpEH = (findDisplay 312) displayAddEventHandler ["MouseButtonUp", { + params ["_displayOrControl", "_button", "_xPos", "_yPos", "_shift", "_ctrl", "_alt"]; + comment "TODO:Optimize"; + if(_button == 1 && (!_ctrl && !_shift && !_alt)) then { + if (isNil 'MAZ_EZM_mousePressTimeContext') then {MAZ_EZM_mousePressTimeContext = time;}; + private _buttonHoldTime = time - MAZ_EZM_mousePressTimeContext; + MAZ_EZM_mousePressTimeContext = nil; + if (_buttonHoldTime < 0.2) then { + + comment "Tweak amount of tolerance (for camera panning):"; + + comment "systemchat 'holdtime good';"; + + _wiggleRoom = 0.01; + + _mousePosLast = missionNamespace getvariable ['JAM_EZM_mouseMovementContext', getMousePosition]; + _mousePosCurrent = getMousePosition; + + _mousePosLast_x = _mousePosLast # 0; + _mousePosLast_y = _mousePosLast # 1; + + _mousePosCurrent_x = _mousePosCurrent # 0; + _mousePosCurrent_y = _mousePosCurrent # 1; + + _difference_x = _mousePosCurrent_x - _mousePosLast_x; + _difference_y = _mousePosCurrent_y - _mousePosLast_y; + + _absoluteDifference_x = if (_difference_x < 0) then {_difference_x * -1} else {_difference_x}; + _absoluteDifference_y = if (_difference_y < 0) then {_difference_y * -1} else {_difference_y}; + + comment "distance formula: d=√((x2−x1)^2+(y2−y1)^2)"; + + _distanceTraveled = sqrt (((_difference_x)^2) + ((_difference_y)^2)); + + if (_distanceTraveled <= _wiggleRoom) then + { + [] call ZAM_fnc_createContextMenu; + }; + }; + } else { + if(call ZAM_fnc_isContextMenuOpen) then { + [] spawn ZAM_fnc_destroyContextMenu; + }; + }; + }]; + + MAZ_EZM_deployFlaresOnAircraft = (findDisplay 312) displayAddEventhandler ["KeyDown",{ + params ["_displayOrControl", "_key", "_shift", "_ctrl", "_alt"]; + if(!(_key in (actionKeys "launchCM")) || (_shift || _ctrl || _alt)) exitWith {}; + if(!(curatorMouseOver isEqualTo []) && !(curatorMouseOver isEqualTo [''])) then { + private _vehicle = curatorMouseOver select 1; + if(typeOf _vehicle isKindOf "Air") then { + private _driverVeh = driver _vehicle; + if(!isPlayer _driverVeh && alive _driverVeh) then { + _driverVeh spawn { + for "_i" from 0 to 3 do { + _this forceWeaponFire ["CMFlareLauncher", "AIBurst"]; + sleep 0.4; + }; + }; + }; + }; + }; + private _objectsSelected = curatorSelected select 0; + { + if(typeOf _x isKindOf "Air") then { + private _driverVeh = driver _x; + if(!isPlayer _driverVeh && alive _driverVeh) then { + _driverVeh spawn { + for "_i" from 0 to 3 do { + _this forceWeaponFire ["CMFlareLauncher", "AIBurst"]; + sleep 0.4; + }; + }; + }; + }; + }forEach _objectsSelected; + }]; + + MAZ_EZM_editorTabActions = (findDisplay 312) displayAddEventHandler ["KeyDown",{ + params ["_displayOrControl", "_key", "_shift", "_ctrl", "_alt"]; + if(!(_key in [59,60,61,62,63])) exitWith {}; + switch (_key) do { + case 59: { + if(_shift) then { + [(findDisplay 312) displayCtrl 155] call MAZ_EZM_fnc_emulateSideClick; + } else { + [((findDisplay 312) displayCtrl 150)] call MAZ_EZM_fnc_emulateModeClick; + MAZ_EZM_isInGroupTabVar = false; + }; + }; + case 60: { + if(_shift) then { + [(findDisplay 312) displayCtrl 156] call MAZ_EZM_fnc_emulateSideClick; + } else { + [((findDisplay 312) displayCtrl 151)] call MAZ_EZM_fnc_emulateModeClick; + MAZ_EZM_isInGroupTabVar = true; + }; + }; + case 61: { + if(_shift) then { + [(findDisplay 312) displayCtrl 157] call MAZ_EZM_fnc_emulateSideClick; + } else { + [((findDisplay 312) displayCtrl 152)] call MAZ_EZM_fnc_emulateModeClick; + MAZ_EZM_isInGroupTabVar = false; + }; + }; + case 62: { + if(_shift) then { + [(findDisplay 312) displayCtrl 158] call MAZ_EZM_fnc_emulateSideClick; + } else { + [((findDisplay 312) displayCtrl 154)] call MAZ_EZM_fnc_emulateModeClick; + MAZ_EZM_isInGroupTabVar = false; + }; + }; + case 63: { + if(_shift) then { + [(findDisplay 312) displayCtrl 159] call MAZ_EZM_fnc_emulateSideClick; + } else { + [((findDisplay 312) displayCtrl 170)] call MAZ_EZM_fnc_emulateModeClick; + MAZ_EZM_isInGroupTabVar = false; + }; + }; + }; + }]; + + MAZ_EZM_copyPasteFix = (findDisplay 312) displayAddEventHandler ["KeyDown",{ + params ["_displayOrControl", "_key", "_shift", "_ctrl", "_alt"]; + if(!_ctrl) exitWith {}; + if(!(_key in [46,47])) exitWith {}; + if(isNil "MAZ_EZM_copyingTimerOn") then { + MAZ_EZM_copyingTimerOn = false; + }; + switch (_key) do { + case 46: { + MAZ_EZM_copyingTimer = 15; + if(!MAZ_EZM_copyingTimerOn) then { + [] spawn { + MAZ_EZM_copyingTimerOn = true; + while {MAZ_EZM_copyingTimer > 0} do { + sleep 1; + MAZ_EZM_copyingTimer = MAZ_EZM_copyingTimer - 1; + }; + MAZ_EZM_copyingTimerOn = false; + }; + }; + }; + case 47: { + if(MAZ_EZM_copyingTimerOn) then { + MAZ_EZM_copyingTimer = 15; + }; + }; + }; + }]; +}; + +MAZ_EZM_fnc_switchGroupSetup = { + params ["_side"]; + private _group = createGroup [_side,true]; + private _groupName = "Stryker 1-4"; + [player] join _group; + [_group, player] remoteExec ["selectLeader"]; + _group setGroupIdGlobal [_groupName]; + private _leader = leader _group; + private _data = ["Curator", _groupName, false]; comment " [, , ] "; + ["RegisterGroup", [_group, player, _data]] remoteExec ['BIS_fnc_dynamicGroups']; + ["AddGroupMember", [_group,player]] remoteExec ['BIS_fnc_dynamicGroups']; + ["SwitchLeader", [_group,player]] remoteExec ['BIS_fnc_dynamicGroups']; + ["SetPrivateState", [_group,true]] remoteExec ['BIS_fnc_dynamicGroups']; + ["SetName", [_group,_groupName]] remoteExec ['BIS_fnc_dynamicGroups']; +}; + +MAZ_EZM_fnc_groupMenuTeamSwitcher = { + if (!isNull findDisplay 60490) exitWith {}; + with uiNamespace do + { + disableSerialization; + closeDialog 1; + createDialog "RscDisplayDynamicGroups"; + showChat true; + _display = findDisplay 60490; + if (!isNull _display) then + { + _bcknd1 = _display ctrlCreate ['RscText',-1]; + _bcknd1 ctrlSetPosition [0.345312 * safezoneW + safezoneX,0.093 * safezoneH + safezoneY,0.309375 * safezoneW,0.099 * safezoneH]; + _bcknd1 ctrlSetBackgroundColor [0,0,0,0.5]; + _bcknd1 ctrlCommit 0; + _bcknd2 = _display ctrlCreate ['RscText',-1]; + _bcknd2 ctrlSetPosition [0.350469 * safezoneW + safezoneX,0.104 * safezoneH + safezoneY,0.299062 * safezoneW,0.077 * safezoneH]; + _bcknd2 ctrlSetBackgroundColor [0,0,0,0.5]; + _bcknd2 ctrlCommit 0; + _ttile = _display ctrlCreate ["RscStructuredText", -1]; + _ttile ctrlSetPosition [0.360781 * safezoneW + safezoneX,0.104 * safezoneH + safezoneY,0.278437 * safezoneW,0.033 * safezoneH]; + _ttile ctrlSetStructuredText parseText ("CHANGE SIDE:"); + _ttile ctrlSetBackgroundColor [0,0,0,0]; + _ttile ctrlCommit 0; + _btn_west = _display ctrlCreate ['RscButtonMenu',-1]; + _btn_west ctrlSetPosition [0.360781 * safezoneW + safezoneX,0.137 * safezoneH + safezoneY,0.0515625 * safezoneW,0.033 * safezoneH]; + _btn_west ctrlSetBackgroundColor [0,0,0.5,0.8]; + _btn_west ctrlSetStructuredText parseText ("BLUFOR"); + _btn_west ctrladdEventHandler ["ButtonClick", + { + [west] call MAZ_EZM_fnc_switchGroupSetup; + }]; + _btn_west ctrlCommit 0; + _btn_east = _display ctrlCreate ['RscButtonMenu',-1]; + _btn_east ctrlSetPosition [0.4175 * safezoneW + safezoneX,0.137 * safezoneH + safezoneY,0.0515625 * safezoneW,0.033 * safezoneH]; + _btn_east ctrlSetBackgroundColor [0.5,0,0,0.8]; + _btn_east ctrlSetStructuredText parseText ("OPFOR"); + _btn_east ctrladdEventHandler ["ButtonClick", + { + [east] call MAZ_EZM_fnc_switchGroupSetup; + }]; + _btn_east ctrlCommit 0; + _btn_indep = _display ctrlCreate ['RscButtonMenu',-1]; + _btn_indep ctrlSetPosition [0.474219 * safezoneW + safezoneX,0.137 * safezoneH + safezoneY,0.0515625 * safezoneW,0.033 * safezoneH]; + _btn_indep ctrlSetBackgroundColor [0,0.5,0,0.8]; + _btn_indep ctrlSetStructuredText parseText ("INDEP"); + _btn_indep ctrladdEventHandler ["ButtonClick", + { + [independent] call MAZ_EZM_fnc_switchGroupSetup; + }]; + _btn_indep ctrlCommit 0; + _btn_civ = _display ctrlCreate ['RscButtonMenu',-1]; + _btn_civ ctrlSetPosition [0.530937 * safezoneW + safezoneX,0.137 * safezoneH + safezoneY,0.0515625 * safezoneW,0.033 * safezoneH]; + _btn_civ ctrlSetBackgroundColor [0.4,0,0.4,0.8]; + _btn_civ ctrlSetStructuredText parseText ("CIV"); + _btn_civ ctrladdEventHandler ["ButtonClick", + { + [civilian] call MAZ_EZM_fnc_switchGroupSetup; + }]; + _btn_civ ctrlCommit 0; + _btn_zeus = _display ctrlCreate ['RscButtonMenu',-1]; + _btn_zeus ctrlSetPosition [0.587656 * safezoneW + safezoneX,0.137 * safezoneH + safezoneY,0.0515625 * safezoneW,0.033 * safezoneH]; + _btn_zeus ctrlSetBackgroundColor [0.4,0.4,0.4,0.8]; + _btn_zeus ctrlSetStructuredText parseText ("ZEUS"); + _btn_zeus ctrladdEventHandler ["ButtonClick", + { + [sideLogic] call MAZ_EZM_fnc_switchGroupSetup; + }]; + _btn_zeus ctrlCommit 0; + }; + }; +}; + +MAZ_EZM_fnc_initMainLoop = { + MAZ_EZM_mainLoop_Active = true; + ["Enhanced Zeus Modules Initialized!","beep_target"] call MAZ_EZM_fnc_systemMessage; + + while {MAZ_EZM_mainLoop_Active} do { + waitUntil {uiSleep 0.01; (!isNull (findDisplay 312))}; + if(!isNil "MAZ_EP_ServerDLCs" && !isNil "MAZ_CDLC_EP_fnc_newZeus" && isNil "MAZ_CDLC_Setup") then { + [getAssignedCuratorLogic player] remoteExec ["unassignCurator",2]; + waitUntil {isNull (getAssignedCuratorLogic player)}; + [[player],{ + params ["_unit"]; + [_unit,getPlayerUID _unit] spawn MAZ_CDLC_EP_fnc_newZeus; + }] remoteExec ["spawn",2]; + waitUntil {!isNull (getAssignedCuratorLogic player)}; + MAZ_CDLC_Setup = true; + }; + + [] spawn MAZ_EZM_editZeusLogic; + [] spawn MAZ_EZM_addZeusKeybinds_312; + [] spawn MAZ_EZM_fnc_editZeusInterface; + call MAZ_EZM_fnc_addRespawnModules; + playSound "beep_target"; + [missionNamespace, "EZM_onZeusInterfaceOpened", [findDisplay 312]] call BIS_fnc_callScriptedEventHandler; + waitUntil {uiSleep 0.1; (isNull (findDisplay 312))}; + [missionNamespace, "EZM_onZeusInterfaceClosed", [displayNull]] call BIS_fnc_callScriptedEventHandler; + }; +}; + +if(isNil "MAZ_EZM_shamelesslyPlugged") then { + call MAZ_EZM_fnc_ezmShamelessPlug; + if(getAssignedCuratorLogic player == (missionNamespace getVariable ["bis_curator",objNull])) then { + missionNamespace setVariable ["MAZ_EZM_disableModerator",true,true]; + ["Game Moderator has been disabled. If you'd like to enable it go to the Zeus Settings modules section."] call MAZ_EZM_fnc_systemMessage; + }; + [[], { + waitUntil {alive player && !isNull (findDisplay 46)}; + private _mod = missionNamespace getVariable ["bis_curator_1",objNull]; + private _time = time + 2; + waitUntil {uiSleep 0.1; !isNull (getAssignedCuratorLogic player) || time > _time}; + private _curator = getAssignedCuratorLogic player; + if(isNull _curator) exitWith {}; + if(_curator != _mod) exitWith {}; + private _loaded = false; + if(missionNamespace getVariable ["MAZ_EZM_disableModerator",false]) then { + (format ["%1 connected as Game Moderator, their slot is disabled.",name player]) remoteExec ["systemChat"]; + } else { + (format ["%1 connected as Game Moderator, their slot is enabled.",name player]) remoteExec ["systemChat"]; + }; + while{true} do { + waitUntil {!(isNull (findDisplay 312)) || _loaded}; + _loaded = true; + if(missionNamespace getVariable ["MAZ_EZM_disableModerator",false]) then { + while{!isNull (findDisplay 312)} do { + (findDisplay 312) closeDisplay 0; + }; + if(isNull (["GetDisplay"] call BIS_fnc_EGSpectator) || isNull (["GetCamera"] call BIS_fnc_EGSpectator) || !(["IsSpectating"] call BIS_fnc_EGSpectator)) then { + ["Terminate"] call BIS_fnc_EGSpectator; + ["Initialize",[player]] call BIS_fnc_EGSpectator; + }; + } else { + if(["Terminate"] call BIS_fnc_EGSpectator) then { + openCuratorInterface; + }; + }; + sleep 1; + }; + }] remoteExec ['spawn',-2,"EZM_Moderator_JIP"]; + missionNamespace setVariable ["MAZ_EZM_shamelesslyPlugged",true,true]; +}; + +private _changelog = [ + "Changed Auto Cleaner to run on the server so that the bodies get deleted even after the Zeus who placed them leaves", + "Changed Mortar Area to do a ranging round first with a delay of 5-10 seconds before the main barrage", + "Fixed Suppressive Fire to actually work", + "Fixed vehicle attributes not applying", + "Fixed unit skill percentage showing up with an insane amount of decimals", + "Fixed the Auto Cleaner not deleting dead bodies", + "Fixed God Mode fences would remove gates", + "Fixed aircraft carrier module wouldn't delete bad carriers", + "Fixed issue with the Create Zeus Unit bugging Zeuses out of their interface", + "Removed AVG FPS function. Was almost setting Bohemia servers on fire", + "Did a remoteExec audit, hopefully pleasing Dwarden and sparing the Bohemia server logs" +]; + +private _changelogString = ""; +{ + _changelogString = _changelogString + "- " + _x + (toString [13,10]); +}forEach _changelog; + +["Create Zeus Unit?",[ + [ + "TOOLBOX:YESNO", + ["Create Zeus Unit?","Whether to create a new controllable unit for your player."], + [true] + ], + [ + "TOOLBOX:YESNO", + ["Join a Side Channel?","Whether you will be set as a certain side and be able to hear their side chat."], + [true] + ], + [ + "SIDES", + "Side to Join", + west + ], + [ + "EDIT:MULTI", + "Change Log", + [ + _changelogString, + 5 + ] + ] +],{ + params ["_values","_args","_display"]; + _values params ["_createZeusUnit","_joinSide","_sideToJoin"]; + + if(_createZeusUnit) then { + [_joinSide,_sideToJoin] spawn MAZ_EZM_fnc_createUnitForZeus; + } else { + if(_joinSide) then { + [player] joinSilent (createGroup [_sideToJoin,true]); + }; + if (isNil "MAZ_EZM_mainLoop_Active") then { + [] spawn MAZ_EZM_fnc_initMainLoop; + }; + }; + _display closeDisplay 1; +},{ + params ["_values","_args","_display"]; + _display closeDisplay 2; +},[]] call MAZ_EZM_fnc_createDialog; + +comment " + TODO Expung3d: + - EZM Eventhandlers + - Add Dead Soldier compositions to all factions + - NATO+ + - Better Looters + - Paradrop Reinforcements + - Airdrop selected object + - Disable/Enable Thermals + - More waypoints + - Composition wrecks do not attach objects correctly + - Other seasonal modules + - Add more building interiors (Malden) + - Advanced Difficulty Settings + + - Airstrike Helicopter + - Cinematics + - Play video module +"; + +}; \ No newline at end of file diff --git a/ZAM_fnc_EZMLiteV2.1.1.sqf b/previous-versions/ZAM_fnc_EZMLiteV2.1.1.sqf similarity index 98% rename from ZAM_fnc_EZMLiteV2.1.1.sqf rename to previous-versions/ZAM_fnc_EZMLiteV2.1.1.sqf index 291c5f2..f7d9760 100644 --- a/ZAM_fnc_EZMLiteV2.1.1.sqf +++ b/previous-versions/ZAM_fnc_EZMLiteV2.1.1.sqf @@ -1061,7 +1061,7 @@ comment "Attributes Dialog Creation"; private _sliderEdit = _display ctrlCreate ["RscEdit",IDC_ATTRIBS_SLIDER_EDIT,_rowControlsGroup]; _sliderEdit ctrlSetPosition [["W",23.1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,pixelH,["W",2.9] call MAZ_EZM_fnc_convertToGUI_GRIDFormat,((["H",1] call MAZ_EZM_fnc_convertToGUI_GRIDFormat) - pixelH)]; if(_isPercent) then { - _sliderEdit ctrlSetText ((str (round (_default * 100))) + "%"); + _sliderEdit ctrlSetText ((str (_default * 100)) + "%"); } else { _sliderEdit ctrlSetText (str _default); }; @@ -1593,13 +1593,13 @@ comment "Attributes Dialog Creation"; MAZ_EZM_applyAttributeChangesToMan = { params ["_unit","_attributes"]; _attributes params ["_name","_rank","_stance","_health","_skill","_respawn"]; - [_unit,_name] remoteExec ['setName']; - [_unit,_rank] remoteExec ["setRank"]; - [_unit,_stance] remoteExec ["setUnitPos"]; + [_unit,_name] remoteExec ['setName',0,_unit]; + _unit setRank _rank; + _unit setUnitPos _stance; MAZ_EZM_stanceForAI = _stance; _unit setDamage (1 - _health); if(!(_unit getVariable ["MAZ_EZM_doesHaveCustomSkills",false])) then { - [_unit, _skill] remoteExec ["setSkill"]; + _unit setSkill _skill; }; [_unit,_respawn] call MAZ_EZM_applyCreateRespawnToUnitAttribs; @@ -2424,10 +2424,10 @@ comment "Attributes Dialog Creation"; params ["_vehicle","_attributes"]; _attributes params [["_health",damage _vehicle],["_fuel",fuel _vehicle],["_lockState",locked _vehicle],["_engineState",isEngineOn _vehicle],["_lightState",isLightOn _vehicle],"_respawn"]; _vehicle setDamage (1-_health); - [_vehicle,_fuel] remoteExec ["setFuel"]; - [_vehicle,_lockState] remoteExec ["lock"]; - [_vehicle,_engineState] remoteExec ["engineOn"]; - [_vehicle,_lightState] remoteExec ["setPilotLight"]; + _vehicle setFuel _fuel; + _vehicle lock _lockState; + _vehicle engineOn _engineState; + _vehicle setPilotLight _lightState; [_vehicle,_respawn] call MAZ_EZM_applyCreateRespawnToUnitAttribs; }; @@ -2560,11 +2560,11 @@ comment "Attributes Dialog Creation"; params ["_vehicle","_attributes"]; _attributes params [["_health",damage _vehicle],["_fuel",fuel _vehicle],["_lockState",locked _vehicle],["_engineState",isEngineOn _vehicle],["_lightState",isLightOn _vehicle],["_colLightState",isCollisionLightOn _vehicle],"_respawn"]; _vehicle setDamage (1-_health); - [_vehicle,_fuel] remoteExec ["setFuel"]; - [_vehicle,_lockState] remoteExec ["lock"]; - [_vehicle,_engineState] remoteExec ["engineOn"]; - [_vehicle,_lightState] remoteExec ["setPilotLight"]; - [_vehicle,_colLightState] remoteExec ["setCollisionLight"]; + _vehicle setFuel _fuel; + [_vehicle,_lockState] remoteExec ['lock',0,_vehicle]; + _vehicle engineOn _engineState; + _vehicle setPilotLight _lightState; + _vehicle setCollisionLight _colLightState; [_vehicle,_respawn] call MAZ_EZM_applyCreateRespawnToUnitAttribs; }; @@ -4111,9 +4111,9 @@ MAZ_EZM_fnc_createUnitForZeus = { private _namePlayer = name player; selectPlayer _zeusObject; waitUntil{player == _zeusObject}; - [_zeusObject,false] remoteExec ["allowDamage"]; + [_zeusObject,false] remoteExec ['allowDamage']; - [_zeusLogic] remoteExec ["unassignCurator",2]; + [_zeusLogic] remoteExec ['unassignCurator',2]; waitUntil{(getAssignedCuratorUnit _zeusLogic) != _oldPlayer}; deleteVehicle _oldPlayer; @@ -4125,7 +4125,7 @@ MAZ_EZM_fnc_createUnitForZeus = { waitUntil {_zeusLogic in (missionNamespace getVariable ["MAZ_EZM_CuratorWhitelist",[]])}; while{isNull (getAssignedCuratorUnit (allCurators select _zeusIndex))} do { - [player,allCurators select _zeusIndex] remoteExec ["assignCurator",2]; + [player,allCurators select _zeusIndex] remoteExec ['assignCurator',2]; sleep 0.1; }; @@ -4148,6 +4148,8 @@ MAZ_EZM_fnc_createUnitForZeus = { playSound "beep_target"; sleep 0.2; + [_oldPlayer,true] remoteExec ["hideObjectGlobal"]; + [_zeusObject,_namePlayer] remoteExec ["setName"]; [_zeusObject] call MAZ_EZM_fnc_addObjectToInterface; ["Zeus Unit created, you can adjust its loadout by setting a Zeus Loadout."] call MAZ_EZM_fnc_systemMessage; @@ -4913,23 +4915,17 @@ MAZ_EZM_fnc_initFunction = { MAZ_EZM_fnc_cleanerWaitTilNoPlayers = { params ["_object"]; if(!MAZ_EZM_enableCleaner) exitWith {}; - [[_object], { - private _fnc_cleaner = { - params ["_object"]; - waitUntil {uiSleep 0.1; !alive _object}; - waitUntil { - (count (allPlayers select { (getPos _x) distance _object < 1600 })) == 0 || - isNull _object - }; - if(!isNull _object) then { - sleep 300; - "After 5 minutes check if players are still near, if they are, call function again, else delete."; - if(count (allPlayers select { (getPos _x) distance _object < 1600 }) != 0) exitWith {[_object] spawn _fnc_cleaner;}; - deleteVehicle _object; - }; - }; - _this spawn _fnc_cleaner; - }] remoteExec ["spawn",2]; + waitUntil {!alive _object}; + waitUntil { + (count (allPlayers select { (getPos _x) distance _object < 3000 })) == 0 || + isNull _object + }; + if(!isNull _object) then { + sleep 300; + comment "After 5 minutes check if players are still near, if they are, call function again, else delete."; + if(count (allPlayers select { (getPos _x) distance _object < 3000 }) != 0) exitWith {[_object] spawn MAZ_EZM_fnc_cleanerWaitTilNoPlayers;}; + deleteVehicle _object; + }; }; MAZ_EZM_fnc_ezmShamelessPlug = { @@ -4945,29 +4941,20 @@ MAZ_EZM_fnc_initFunction = { safeZoneX + safeZoneW / 1.5, safeZoneY + safeZoneH / 1.3 ] spawn BIS_fnc_typeText; - if (!isNil "M9_EZM_EH_plugOverlayFix") then { - removeMissionEventHandler ["EachFrame", M9_EZM_EH_plugOverlayFix]; + if (!isNil 'M9_EZM_EH_plugOverlayFix') then { + removeMissionEventHandler ['EachFrame', M9_EZM_EH_plugOverlayFix]; }; M9_EZM_EH_plugOverlayFix = addMissionEventHandler ["EachFrame", { (uinamespace getvariable ["RscTilesGroup", displayNull]) closeDisplay 0; }]; sleep 90; - if (!isNil "M9_EZM_EH_plugOverlayFix") then { - removeMissionEventHandler ["EachFrame", M9_EZM_EH_plugOverlayFix]; + if (!isNil 'M9_EZM_EH_plugOverlayFix') then { + removeMissionEventHandler ['EachFrame', M9_EZM_EH_plugOverlayFix]; }; - }] remoteExec ["spawn", 0, "EZM_PLUG_JIP"]; + }] remoteExec ['spawn', 0, 'EZM_PLUG_JIP']; private _wl = missionNamespace getVariable ["MAZ_EZM_CuratorWhitelist",[]]; _wl = _wl + allCurators; missionNamespace setVariable ["MAZ_EZM_CuratorWhitelist",_wl,true]; - - [[], { - MAZ_EZM_broadcastServerFPS = true; - MAZ_EZM_serverFPS = 100; - while {MAZ_EZM_broadcastServerFPS} do { - MAZ_EZM_serverFPS = floor diag_fps; - sleep 1; - }; - }] remoteExec ["spawn",2]; }; MAZ_EZM_fnc_fixDynamicGroups = { @@ -5050,6 +5037,27 @@ MAZ_EZM_fnc_initFunction = { dayTime > _sunset || dayTime < _sunrise }; + MAZ_EZM_fnc_getServerFPS = { + if(missionNamespace getVariable ["MAZ_EZM_isPingingServerFPS",false]) exitWith {}; + missionNamespace setVariable ["MAZ_EZM_isPingingServerFPS",true]; + + MAZ_EZM_serverFPS = 0; + MAZ_EZM_serverResponded = false; + [[], { + [diag_fps,{ + _this call { + uiNamespace setVariable ["MAZ_EZM_serverFPS",floor _this]; + uiNamespace setVariable ["MAZ_EZM_serverResponded", true]; + }; + }] remoteExec ['call',remoteExecutedOwner]; + }] remoteExec ['spawn',2]; + + [] spawn { + waitUntil {uiSleep 0.1; MAZ_EZM_serverResponded}; + missionNamespace setVariable ["MAZ_EZM_isPingingServerFPS",false]; + }; + }; + comment "EZM Eventhandlers"; MAZ_EZM_fnc_addEZMEventHandler = { params ["_type","_code"]; @@ -5267,18 +5275,18 @@ MAZ_EZM_fnc_initFunction = { if(_anim == "") then { [_args,"AmovPercMstpSnonWnonDnon"] remoteExec ["switchMove"]; _args setBehaviour "AWARE"; - [_args,"Move"] remoteExec ["enableAI"]; - [_args,"Anim"] remoteExec ["enableAI"]; + [_args,"Move"]remoteExec ["enableAI",0]; + [_args,"Anim"]remoteExec ["enableAI",0]; ["Animation reset."] call MAZ_EZM_fnc_systemMessage; } else { (group _args) setBehaviour "CARELESS"; - [_args,"Move"] remoteExec ["disableAI"]; - [_args,"Anim"] remoteExec ["disableAI"]; - [_args,_anim] remoteExec ["switchMove"]; + [_args,"Move"]remoteExec ["disableAI",0]; + [_args,"Anim"]remoteExec ["disableAI",0]; + [_args,_anim] remoteExec ['switchMove',0]; _args setVariable ["MAZ_EZM_animDone", _args addEventhandler ["AnimDone",{ params ["_unit","_anim"]; - [_args,_anim] remoteExec ["switchMove"]; + [_args,_anim] remoteExec ['switchMove']; }],true ]; if(_isCombat) then { @@ -5288,8 +5296,8 @@ MAZ_EZM_fnc_initFunction = { _unit removeEventHandler [_thisEvent, _thisEventHandler]; 'ඞ'; [_unit,"AmovPercMstpSnonWnonDnon"] remoteExec ["switchMove"]; _unit setBehaviour "COMBAT"; - [_unit,"Move"] remoteExec ["enableAI"]; - [_unit,"Anim"] remoteExec ["enableAI"]; + [_unit,"Move"]remoteExec ["enableAI",0]; + [_unit,"Anim"]remoteExec ["enableAI",0]; }],true ]; }; @@ -5314,6 +5322,21 @@ MAZ_EZM_fnc_initFunction = { },_entity] call MAZ_EZM_fnc_createDialog; }; + MAZ_EZM_fnc_getNearestBuilding = { + params [ + ["_position",[0,0,0],[[],objNull]], + ["_radius",50,[0]], + ["_2d",false,[false]] + ]; + if(_position isEqualTo [0,0,0]) exitWith {["Provide a position argument to getNearestBuilding!","addItemFailed"] call MAZ_EZM_fnc_systemMessage}; + if(_position isEqualType objNull) then {_position = getPos _position;}; + private _nearestBuildings = (nearestObjects [_position, ["building"], _radius, _2d]) select { + + count ([_x] call BIS_fnc_buildingPositions) > 0 + }; + (_nearestBuildings select 0) + }; + MAZ_EZM_fnc_garrisonInstantModule = { params ["_entity"]; if(isNull _entity || !((typeOf _entity) isKindOf "CAManBase")) exitWith {["Unit is not suitable.","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; @@ -5363,10 +5386,10 @@ MAZ_EZM_fnc_initFunction = { private _unit = _units select _forEachIndex; _unit setPos _x; _newUnits = _newUnits - [_unit]; - [_unit,0] remoteExec ['forceSpeed']; + [_unit,0] remoteExec ['forceSpeed',owner _unit]; _unit addEventHandler ["Suppressed", { params ["_unit", "_distance", "_shooter", "_instigator", "_ammoObject", "_ammoClassName", "_ammoConfig"]; - [_unit,-1] remoteExec ['forceSpeed']; + [_unit,-1] remoteExec ['forceSpeed',owner _unit]; }]; }; }forEach _positions; @@ -5444,10 +5467,10 @@ MAZ_EZM_fnc_initFunction = { waitUntil {moveToCompleted _unit}; _unit setPos _pos; _unit setBehaviour "SAFE"; - [_unit,0] remoteExec ['forceSpeed']; + [_unit,0] remoteExec ['forceSpeed',owner _unit]; _unit addEventHandler ["Suppressed", { params ["_unit", "_distance", "_shooter", "_instigator", "_ammoObject", "_ammoClassName", "_ammoConfig"]; - [_unit,-1] remoteExec ['forceSpeed']; + [_unit,-1] remoteExec ['forceSpeed',owner _unit]; }]; }; @@ -5612,9 +5635,9 @@ MAZ_EZM_fnc_initFunction = { params ["_entity"]; if(isNull _entity || !((typeOf _entity) isKindOf "Man")) exitWith {["Unit is not suitable.","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; - [_entity,true] remoteExec ["setCaptive"]; - [_entity,"Move"] remoteExec ["disableAI"]; - [_entity,"Acts_AidlPsitMstpSsurWnonDnon_loop"] remoteExec ["switchMove"]; + [_entity,true] remoteExec ["setCaptive",0]; + [_entity,"Move"]remoteExec ["disableAI",0]; + [_entity,"Acts_AidlPsitMstpSsurWnonDnon_loop"] remoteExec["switchMove",0]; private _holdActionIndex = [ _entity, "Free Hostage", @@ -5625,14 +5648,11 @@ MAZ_EZM_fnc_initFunction = { {}, {}, { - params ["_unit","_caller"]; - [_unit,false] remoteExec ["setCaptive"]; - [_unit,"Move"] remoteExec ["enableAI"]; - [_unit,"AmovPercMstpSnonWnonDnon"] remoteExec ["playMove"]; - [_unit] remoteExec ["removeAllActions"]; - ["TaskSucceeded",["",format ["Hostage (%1) was freed by %2",name _unit,name _caller]]] remoteExec ['BIS_fnc_showNotification']; - - remoteExec ["",_unit]; "Remove from JIP queue"; + _unit = (_this select 0); + [_unit,false] remoteExec ["setCaptive",0]; + [_unit,"Move"]remoteExec ["enableAI",0]; + [_unit,"AmovPercMstpSnonWnonDnon"] remoteExec["playMove",0]; + [_unit] remoteExec ["removeAllActions",0]; }, {}, [], @@ -5645,15 +5665,14 @@ MAZ_EZM_fnc_initFunction = { if(_entity getVariable ["MAZ_EZM_hostageEH",-1] == -1) then { _entity setVariable ['MAZ_EZM_hostageEH',_entity addEventHandler ["Killed",{ params ["_unit", "_killer", "_instigator", "_useEffects"]; - [_unit] remoteExec ["removeAllActions"]; - remoteExec ["",_unit]; - ["TaskFailed",["",format ["Hostage (%1) was killed by %2",name _unit,name _killer]]] remoteExec ['BIS_fnc_showNotification']; + [_unit] remoteExec ["removeAllActions",0]; + ["TaskFailed",["",format ["Hostage (%1) was killed by %2",name _unit,name _killer]]] remoteExec ['BIS_fnc_showNotification',0]; [_unit,[ "Take Dogtag", { params ["_target", "_caller", "_actionId", "_arguments"]; - ["TaskSucceeded",["",format ["Hostage (%1) dogtag was taken by %2",name _target,name _caller]]] remoteExec ['BIS_fnc_showNotification']; - [_target] remoteExec ["removeAllActions"]; + ["TaskSucceeded",["",format ["Hostage (%1) dogtag was taken by %2",name _target,name _caller]]] remoteExec ['BIS_fnc_showNotification',0]; + [_target] remoteExec ["removeAllActions",0]; }, nil, 1.5, @@ -5661,7 +5680,7 @@ MAZ_EZM_fnc_initFunction = { true, "", "_target distance _this < 5" - ]] remoteExec ["addAction"]; + ]] remoteExec ['addAction',0]; }]]; }; @@ -5676,10 +5695,9 @@ MAZ_EZM_fnc_initFunction = { params ["_nearestMan"]; _nearestMan addEventHandler ["Killed",{ params ["_unit", "_killer", "_instigator", "_useEffects"]; - ["TaskSucceeded",["",format ["%1 was killed by %2",name _unit,name _killer]]] remoteExec ['BIS_fnc_showNotification']; - remoteExec ["",_unit]; + ["TaskSucceeded",["",format ["%1 was killed by %2",name _unit,name _killer]]] remoteExec ['BIS_fnc_showNotification',0]; }]; - }] remoteExec ["spawn",0,_entity]; + }] remoteExec ['spawn',0,_entity]; ["HVT created, all players will be notified of their death.","addItemOk"] call MAZ_EZM_fnc_systemMessage; }; @@ -5728,17 +5746,32 @@ MAZ_EZM_fnc_initFunction = { }] remoteExec ["spawn"]; [format ["Difficulty set to %1.",_overrideValue]] call MAZ_EZM_fnc_systemMessage; }; - private _skill = switch (_value) do { - case "easy": {0}; - case "medium": {0.5}; - case "hard": {1}; + switch (_value) do { + case "easy": { + [[], { + { + _x setSkill 0; + } forEach allUnits; + }] remoteExec ["spawn"]; + ["Difficulty set to EASY."] call MAZ_EZM_fnc_systemMessage; + }; + case "medium": { + [[], { + { + _x setSkill 0.5; + } forEach allUnits; + }] remoteExec ["spawn"]; + ["Difficulty set to MEDIUM."] call MAZ_EZM_fnc_systemMessage; + }; + case "hard": { + [[], { + { + _x setSkill 1; + } forEach allUnits; + }] remoteExec ["spawn"]; + ["Difficulty set to HARD."] call MAZ_EZM_fnc_systemMessage; + }; }; - [_skill, { - { - _x setSkill _this; - } forEach allUnits; - }] remoteExec ["spawn"]; - [format ["Difficulty set to %1.",toUpper _value]] call MAZ_EZM_fnc_systemMessage; playSound 'addItemOk'; _display closeDisplay 1; },{ @@ -5778,7 +5811,7 @@ MAZ_EZM_fnc_initFunction = { params ["_mode"]; { _x setUnitPos _mode; - }forEach allUnits; + }forEach allunits; }] remoteExec ['spawn']; [format ["All units stance mode set to %1.",_value],"addItemOk"] call MAZ_EZM_fnc_systemMessage; _display closeDisplay 1; @@ -5795,107 +5828,78 @@ MAZ_EZM_fnc_initFunction = { private _isSurrendered = _entity getVariable ['EZM_isSurrendered',false]; if(_isSurrendered) then { [_entity,"AmovPercMstpSnonWnonDnon"] remoteExec ["switchMove"]; - [_entity,false] remoteExec ["setCaptive"]; - _entity setVariable ["EZM_isSurrendered",false,true]; + [_entity,false] remoteExec ["setCaptive",0]; + _entity setVariable ['EZM_isSurrendered',false,true]; ["Unit is no longer surrendered.","addItemOk"] call MAZ_EZM_fnc_systemMessage; } else { - _entity action ["Surrender",_entity]; - [_entity,true] remoteExec ["setCaptive"]; - _entity setVariable ["EZM_isSurrendered",true,true]; + [_entity,["Surrender",_entity]] remoteExec ["action"]; + [_entity,true] remoteExec ["setCaptive",0]; + _entity setVariable ['EZM_isSurrendered',true,true]; [_entity] spawn { - params ["_entity"]; - private _weapon = currentWeapon _entity; + _dude = (_this select 0); + _weapon = currentWeapon _dude; if(_weapon isEqualTo "") exitWith{}; - [_entity, _weapon] remoteExec ["removeWeapon"]; + [_dude, _weapon] remoteExec ['removeWeapon']; sleep 0.1; - private _weaponHolder = "WeaponHolderSimulated" createVehicle [0,0,0]; + _weaponHolder = "WeaponHolderSimulated" createVehicle [0,0,0]; _weaponHolder addWeaponCargoGlobal [_weapon,1]; - _weaponHolder setPos (_entity modelToWorld [0,.2,1.2]); - _weaponHolder disableCollisionWith _entity; - private _dir = random(360); - private _speed = 1.5; + _weaponHolder setPos (_dude modelToWorld [0,.2,1.2]); + _weaponHolder disableCollisionWith _dude; + _dir = random(360); + _speed = 1.5; _weaponHolder setVelocity [_speed * sin(_dir), _speed * cos(_dir),4]; }; ["Unit is now surrendered.","addItemOk"] call MAZ_EZM_fnc_systemMessage; }; }; - + comment "TODO: Rewrite"; MAZ_EZM_fnc_suppressiveFireModule = { params ["_entity"]; - - if (!(_entity isKindOf "CAManBase") && !(_entity isKindOf "AllVehicles")) exitWith {["This must be done to a vehicle or a unit!","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; - if(_entity isKindOf "AllVehicles" && isNull (gunner _entity)) exitWith {["This vehicle has no gunner!","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; - if (_entity getVariable ["MAZ_EZM_isSuppressing", false]) exitwith {["Unit is already suppressing!", "addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; - - ["Suppressive fire", [ + if(!(_entity isKindOf "CAManBase") && !(_entity isKindOf "StaticMGWeapon")) exitWith {["Object is not a man!.","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; + if(_entity isKindOf "StaticMGWeapon") then { + if(gunner _entity == objNull) exitWith {["No gunner!.","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; + _entity = gunner _entity; + }; + if(_entity getVariable ["MAZ_EZM_isSuppressing",false]) exitWith {["Unit is already suppressing!.","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; + ["Suppressive Fire",[ [ "SLIDER", "Duration of Suppress", - [5, 60, 10] + [5,20,10] ] - ], { - params ["_values", "_entity", "_display"]; + ],{ + params ["_values","_entity","_display"]; _values params ["_duration"]; _display closeDisplay 1; - - ["Position to Suppress", { - params ["_objects", "_position", "_args", "_shift", "_ctrl", "_alt"]; - _args params ["_entity", "_duration"]; - - private _target = (creategroup [east, true]) createUnit ["O_Soldier_unarmed_F", _position, [], 0, "CAN_COLLIDE"]; - _target disableAI "Move"; - _target allowDamage false; - [_target,true] remoteExec ["hideObjectGlobal",2]; - _target setUnitPos "UP"; - _target addRating -100000000000; - - [_entity, _duration, _target] spawn { - params ["_entity", "_duration", "_target"]; - _entity setVariable ["MAZ_EZM_isSuppressing", true, true]; - _entity doSuppressiveFire _target; - _entity suppressFor _duration; - private _behaviorPrior = behaviour _entity; - _entity setBehaviour "COMBAT"; - _entity doWatch _target; - - sleep 3; - private _timeToStop = time + _duration + 1; + ["Position to Suppress",{ + params ["_objects","_position","_args","_shift","_ctrl","_alt"]; + _args params ["_entity","_duration"]; - - private _currentWeapon = currentWeapon _entity; - private _weaponModes = getArray (configFile >> "Cfgweapons" >> _currentWeapon >> "modes"); - private _weaponMode = if("FullAuto" in _weaponModes) then {"FullAuto"} else {"Single"}; - private _burstLength = 20; - private _reloadTime = getNumber (configFile >> "CfgWeapons" >> _currentWeapon >> _weaponMode >> "realodTime"); - while {time < _timeToStop} do { - if !(_entity isKindOf "CAManBase") then { - _entity action ["useWeapon",_entity,gunner _entity,0]; - sleep (0.5 + random 1.5); - continue; - }; + private _target = (createGroup [east,true]) createUnit ["O_Soldier_unarmed_F",_position,[],0,"CAN_COLLIDE"]; + _target disableAI "MOVE"; + _target hideObject true; + [_target, true] remoteExec ['hideObjectGlobal', 0]; + _target setUnitPOs "UP"; + _target addRating -100000000000; - private _roundsNumber = round (3 + random 2); - for "_i" from 0 to _roundsNumber do { - _entity forceWeaponFire [_currentWeapon, _weaponMode]; - sleep _reloadTime; - }; - _entity setVehicleAmmo 1; - sleep (0.5 + random 1.5); - }; - + [_entity,_duration,_target] spawn { + params ["_entity","_duration","_target"]; + _entity setVariable ["MAZ_EZM_isSuppressing",true,true]; + _entity doSuppressiveFire _target; + _entity suppressFor _duration; + sleep _duration; _entity doWatch objNull; - deletevehicle _target; - _entity setBehaviour _behaviorPrior; - _entity setVariable ["MAZ_EZM_isSuppressing", false, true]; + deleteVehicle _target; + _entity setVariable ["MAZ_EZM_isSuppressing",false,true]; }; - }, _entity, [_entity, _duration], "a3\ui_f\data\igui\cfg\cursors\attack_ca.paa", 45] call MAZ_EZM_fnc_selectSecondaryposition; - }, { - params ["_values", "_args", "_display"]; + },_entity,[_entity,_duration],"a3\ui_f\data\igui\cfg\cursors\attack_ca.paa",45] call MAZ_EZM_fnc_selectSecondaryPosition; + },{ + params ["_values","_args","_display"]; _display closeDisplay 2; - }, _entity] call MAZ_EZM_fnc_createdialog; + },_entity] call MAZ_EZM_fnc_createDialog; }; MAZ_EZM_fnc_removeNVGsAddFlashlightsModule = { @@ -6055,7 +6059,7 @@ MAZ_EZM_fnc_initFunction = { case "RadioAmbient6": {playSound _radioChatter; sleep 6; playSound "RadioAmbient2";}; case "RadioAmbient8": {playSound _radioChatter;}; }; - }] remoteExec ["spawn",_sideOf]; + }] remoteExec ['spawn',0]; }; private _wayPointMove = _grp addWaypoint [[(_pos select 0),(_pos select 1),300],0]; @@ -6089,7 +6093,7 @@ MAZ_EZM_fnc_initFunction = { case "RadioAmbient6": {playSound _radioChatter; sleep 6; playSound "RadioAmbient2";}; case "RadioAmbient8": {playSound _radioChatter;}; }; - }] remoteExec ['spawn',_sideof]; + }] remoteExec ['spawn',0]; }; private _dropPos = position _spawnedVeh getPos [10,getDir _spawnedVeh+180]; @@ -6536,7 +6540,7 @@ MAZ_EZM_fnc_initFunction = { waitUntil{!isNull driver _spawnedVeh}; _grp setBehaviour "CARELESS"; - _spawnedVeh lock 2; + [_spawnedVeh,2] remoteExec ['lock']; private _heliParams = switch (_heliType) do { case "B_Heli_Transport_01_F": { @@ -6791,13 +6795,8 @@ MAZ_EZM_fnc_initFunction = { { params ["_values","_pos","_display"]; _values params ["_roundType","_radius","_rounds","_min","_max"]; + [_pos,_roundType,_radius,_rounds,[_min,_max]] spawn BIS_fnc_fireSupportVirtual; _display closeDisplay 1; - [_pos,_roundType,_radius,_rounds,_min,_max] spawn { - params ["_pos","_roundType","_radius","_rounds","_min","_max"]; - [_pos,_roundType,_radius * 1.1,1,[_min,_max],{false},(_radius * 0.75)] spawn BIS_fnc_fireSupportVirtual; - sleep (5 + random 5); - [_pos,_roundType,_radius,_rounds,[_min,_max]] spawn BIS_fnc_fireSupportVirtual; - }; }, { params ["_values","_args","_display"]; @@ -6893,64 +6892,115 @@ MAZ_EZM_fnc_initFunction = { }; if(_this select 3) then { private _arsenalAnims = [ - "Salute", - "gear", - "acts_Mentor_Freeing_Player", - "Acts_Hilltop_Calibration_Pointing_Left", - "Acts_Hilltop_Calibration_Pointing_Right", - [player,"acts_civilidle_1"], - [player,"acts_civilListening_2"], - [player,"acts_commenting_on_fight_loop"], - [player,"acts_gallery_visitor_01"], - [player,"acts_gallery_visitor_02"], - [player,"acts_hilltop_calibration_loop"], - [player,"acts_kore_talkingoverradio_loop"], - [player,"acts_staticPose_photo"], - [player,"Acts_Taking_Cover_From_Jets"], - [player,"Acts_standingSpeakingUnarmed"], - [player,"acts_kore_talkingOverRadio_In"], - [player,"acts_kore_idleNoWeapon_In"], - [player,"Acts_JetsOfficerSpilling"], - [player,"Acts_Grieving"] - + { + player playActionNow "Salute"; + }, { + [player, "acts_civilidle_1"] remoteExec["switchMove"]; + }, { + [player, "acts_civilListening_2"] remoteExec["switchMove"]; + }, { + [player, "acts_commenting_on_fight_loop"] remoteExec["switchMove"]; + }, { + [player, "acts_gallery_visitor_01"] remoteExec["switchMove"]; + }, { + [player, "acts_gallery_visitor_02"] remoteExec["switchMove"]; + }, { + [player, "acts_hilltop_calibration_loop"] remoteExec["switchMove"]; + }, { + [player, "acts_kore_talkingoverradio_loop"] remoteExec["switchMove"]; + }, { + [player, "acts_staticPose_photo"] remoteExec["switchMove"]; + }, { + player playActionNow "gear"; + }, { + [player, "Acts_Taking_Cover_From_Jets"] remoteExec["switchMove"]; + }, { + [player, "Acts_standingSpeakingUnarmed"] remoteExec["switchMove"]; + }, { + player playMoveNow "acts_Mentor_Freeing_Player"; + }, { + [player, "acts_kore_talkingOverRadio_In"] remoteExec["switchMove"]; + }, { + [player, "acts_kore_idleNoWeapon_In"] remoteExec["switchMove"]; + }, { + [player, "Acts_JetsOfficerSpilling"] remoteExec["switchMove"]; + }, { + player playMoveNow "Acts_Hilltop_Calibration_Pointing_Left"; + }, { + player playMoveNow "Acts_Hilltop_Calibration_Pointing_Right"; + }, { + [player, "Acts_Grieving"] remoteExec["switchMove"]; + } ]; private _arsenalAnimsAdd = switch (currentWeapon player) do { case (primaryWeapon player): { [ - "Acts_SupportTeam_Right_ToKneelLoop", - "Acts_SupportTeam_Left_ToKneelLoop", - "Acts_SupportTeam_Front_ToKneelLoop", - "Acts_SupportTeam_Back_ToKneelLoop", - "acts_RU_briefing_Turn", - "acts_RU_briefing_point", - "acts_RU_briefing_point_tl", - "acts_RU_briefing_move", - "acts_rifle_operations_right", - "acts_rifle_operations_left", - "acts_rifle_operations_front", - "acts_rifle_operations_checking_chamber", - "acts_rifle_operations_barrel", - "acts_rifle_operations_back", - "acts_pointing_up", - "acts_pointing_down", - "acts_peering_up", - "acts_peering_down", - "acts_peering_front", - [player,"acts_briefing_SA_loop"], - [player, "acts_getAttention_loop"], - [player, "acts_millerIdle"], - [player, "Acts_starGazer"], - [player, "acts_rifle_operations_zeroing"], - [player, "Acts_Helping_Wake_Up_1"] - ]; + { + [player, "acts_briefing_SA_loop"] remoteExec["switchMove"]; + }, { + [player, "acts_getAttention_loop"] remoteExec["switchMove"]; + }, { + [player, "acts_millerIdle"] remoteExec["switchMove"]; + }, { + player playMoveNow "Acts_SupportTeam_Right_ToKneelLoop"; + }, { + player playMoveNow "Acts_SupportTeam_Left_ToKneelLoop"; + }, { + player playMoveNow "Acts_SupportTeam_Front_ToKneelLoop"; + }, { + player playMoveNow "Acts_SupportTeam_Back_ToKneelLoop"; + }, { + [player, "Acts_starGazer"] remoteExec["switchMove"]; + }, { + player playMoveNow "acts_RU_briefing_Turn"; + }, { + player playMoveNow "acts_RU_briefing_point"; + }, { + player playMoveNow "acts_RU_briefing_point_tl"; + }, { + player playMoveNow "acts_RU_briefing_move"; + }, { + [player, "acts_rifle_operations_zeroing"] remoteExec["switchMove"]; + }, { + player playMoveNow "acts_rifle_operations_right"; + }, { + player playMoveNow "acts_rifle_operations_left"; + }, { + player playMoveNow "acts_rifle_operations_front"; + }, { + player playMoveNow "acts_rifle_operations_checking_chamber"; + }, { + player playMoveNow "acts_rifle_operations_barrel"; + }, { + player playMoveNow "acts_rifle_operations_back"; + }, { + player playMoveNow "acts_pointing_up"; + }, { + player playMoveNow "acts_pointing_down"; + }, { + player playMoveNow "acts_peering_up"; + }, { + player playMoveNow "acts_peering_down"; + }, { + player playMoveNow "acts_peering_front"; + }, { + [player, "Acts_Helping_Wake_Up_1"] remoteExec["switchMove"]; + } + ] }; case (handgunWeapon player): { [ - [player, "acts_examining_device_player"], - [player, "acts_executioner_standingloop"], - "Acts_ViperMeeting_A_End", - "Acts_UGV_Jamming_Loop", - "Acts_starterPistol_Fire" + { + [player, "acts_examining_device_player"] remoteExec["switchMove"]; + }, { + [player, "acts_executioner_standingloop"] remoteExec["switchMove"]; + }, { + player playMoveNow "Acts_ViperMeeting_A_End"; + }, { + player playMoveNow "Acts_UGV_Jamming_Loop"; + }, { + player playMoveNow "Acts_starterPistol_Fire"; + } ] }; default { @@ -6959,11 +7009,7 @@ MAZ_EZM_fnc_initFunction = { }; _arsenalAnims = _arsenalAnims + _arsenalAnimsAdd; private _playAnim = selectRandom _arsenalAnims; - if(typeName _playAnim == "STRING") then { - player playMoveNow _playAnim; - } else { - _playAnim remoteExec ["switchMove"]; - }; + call _playAnim; if !(isNil "M9SD_EH_ResetPlayerAnimsOnArsenalClosed") then { (findDisplay 46) displayRemoveEventHandler["keyDown", M9SD_EH_ResetPlayerAnimsOnArsenalClosed]; }; @@ -6983,7 +7029,7 @@ MAZ_EZM_fnc_initFunction = { player playMoveNow ""; player switchMove ""; if (isMultiplayer) then { - [player, ""] remoteExec ["switchMove"] + [player, ""] remoteExec["switchMove"] }; "arsenalNotification1" cutFadeOut 0; @@ -7298,13 +7344,13 @@ MAZ_EZM_fnc_initFunction = { ]; } forEach _arsenals; }]; - }] remoteExec ["spawn", 0, "M9SD_JIP_smallArsenalIcons"]; + }] remoteExec["spawn", 0, "M9SD_JIP_smallArsenalIcons"]; }; [_arsenalBox] call M9SD_fnc_smallArsenalMarkers; }; - [_arsenalBox, false] remoteExec ["allowDamage"]; + [_arsenalBox, false] remoteExec["allowDamage"]; { - [_x, false] remoteExec ["allowDamage"]; + [_x, false] remoteExec["allowDamage"]; }forEach attachedObjects _arsenalBox; [_arsenalBox] call MAZ_EZM_fnc_addObjectToInterface; [attachedObjects _arsenalBox] call MAZ_EZM_fnc_addObjectToInterface; @@ -7506,7 +7552,7 @@ MAZ_EZM_fnc_initFunction = { private _positionOfCrash = getPos _craterCrash; private _smokeObject = [_positionOfCrash] call MAZ_EZM_fnc_createSmokeForCrash; private _crashObjects = [_craterCrash,_crashGhosthawk,_smokeObject]; - ["TaskAssignedIcon",["A3\UI_F\Data\Map\Markers\Military\warning_CA.paa","Helicopter Crash"]] remoteExec ['BIS_fnc_showNotification']; + ["TaskAssignedIcon",["A3\UI_F\Data\Map\Markers\Military\warning_CA.paa","Helicopter Crash"]] remoteExec ['BIS_fnc_showNotification',0]; private _heliCrashMarker = createMarker ["heliCrashMarker_0",_positionOfCrash]; _heliCrashMarker setMarkerText "Helicopter Crash"; _heliCrashMarker setMarkerType "mil_objective"; @@ -7532,7 +7578,7 @@ MAZ_EZM_fnc_initFunction = { sleep 1; }; if(({alive _x} count _soldiersArray) == 0) then { - ["TaskSucceeded",["","Helicopter Crash Secured"]] remoteExec ['BIS_fnc_showNotification']; + ["TaskSucceeded",["","Helicopter Crash Secured"]] remoteExec ['BIS_fnc_showNotification',0]; private _randomAmount = selectRandom [1,2]; private _rewardBoxes = []; for "_i" from 0 to (_randomAmount-1) do { @@ -7548,7 +7594,7 @@ MAZ_EZM_fnc_initFunction = { } forEach _crashObjects + _soldiersArray + _rewardBoxes; }; if(_timer <= 0 && (({alive _x} count _soldiersArray) != 0)) then { - ["TaskFailed",["","Helicopter Crash Not Secured"]] remoteExec ['BIS_fnc_showNotification']; + ["TaskFailed",["","Helicopter Crash Not Secured"]] remoteExec ['BIS_fnc_showNotification',0]; deleteMarker _heliCrashMarker; { deleteVehicle _x; @@ -7948,6 +7994,7 @@ MAZ_EZM_fnc_initFunction = { _convoyGroup setFormation "COLUMN"; _convoyGroup setSpeedMode "LIMITED"; + enableEnvironment [false,true]; [[false,true]] remoteExec ['enableEnvironment',2]; { @@ -7964,7 +8011,7 @@ MAZ_EZM_fnc_initFunction = { private _cargoVehicles = []; { _x allowCrewInImmobile true; - [_x,2] remoteExec ["lock"]; + [_x,2] remoteExec ['lock',0,_x]; _x limitSpeed 57; (driver _x) limitSpeed 57; _x forceSpeed 15.84; @@ -8005,7 +8052,7 @@ MAZ_EZM_fnc_initFunction = { _markers pushBack _checkpointMarker; }forEach _markerLocations; - ["TaskAssignedIcon",["A3\UI_F\Data\Map\Markers\Military\warning_CA.paa","A Convoy is Moving"]] remoteExec ['BIS_fnc_showNotification']; + ["TaskAssignedIcon",["A3\UI_F\Data\Map\Markers\Military\warning_CA.paa","A Convoy is Moving"]] remoteExec ['BIS_fnc_showNotification',0]; [_vehicles] spawn { params ["_vehicles"]; @@ -8030,7 +8077,7 @@ MAZ_EZM_fnc_initFunction = { } count _vehicles) != 0 ) }; - ["TaskAssignedIcon",["A3\UI_F\Data\Map\Markers\Military\warning_CA.paa",format ["The Convoy Has Reached Checkpoint %1",_i + 1]]] remoteExec ['BIS_fnc_showNotification']; + ["TaskAssignedIcon",["A3\UI_F\Data\Map\Markers\Military\warning_CA.paa",format ["The Convoy Has Reached Checkpoint %1",_i + 1]]] remoteExec ['BIS_fnc_showNotification',0]; }; }; @@ -8040,7 +8087,7 @@ MAZ_EZM_fnc_initFunction = { waitUntil {currentWaypoint _convoyGroup >= _numWaypoints || (({alive _x} count _soldiersArray) == 0) || (({alive _x} count _trucks) == 0)}; if(({alive _x} count _soldiersArray) == 0) exitWith { comment "Success"; - ["TaskSucceeded",["","Convoy Stopped!"]] remoteExec ['BIS_fnc_showNotification']; + ["TaskSucceeded",["","Convoy Stopped!"]] remoteExec ['BIS_fnc_showNotification',0]; { deleteMarker _x; }forEach _markers; @@ -8056,7 +8103,7 @@ MAZ_EZM_fnc_initFunction = { }; if(currentWaypoint _convoyGroup >= _numWaypoints) exitWith { comment "Failure"; - ["TaskFailed",["","Convoy Reached Their End"]] remoteExec ['BIS_fnc_showNotification']; + ["TaskFailed",["","Convoy Reached Their End"]] remoteExec ['BIS_fnc_showNotification',0]; { deleteMarker _x; }forEach _markers; @@ -8070,7 +8117,7 @@ MAZ_EZM_fnc_initFunction = { }; if(({alive _x} count _trucks) == 0) exitWith { comment "Failure"; - ["TaskFailed",["","Convoy Cargo Destroyed!"]] remoteExec ['BIS_fnc_showNotification']; + ["TaskFailed",["","Convoy Cargo Destroyed!"]] remoteExec ['BIS_fnc_showNotification',0]; { deleteMarker _x; }forEach _markers; @@ -8352,7 +8399,7 @@ MAZ_EZM_fnc_initFunction = { [_units] call MAZ_EZM_fnc_addObjectToInterface; if(_notify) then { - ["TaskAssignedIcon",["A3\UI_F\Data\Map\Markers\Military\warning_CA.paa",_townAlert]] remoteExec ['BIS_fnc_showNotification']; + ["TaskAssignedIcon",["A3\UI_F\Data\Map\Markers\Military\warning_CA.paa",_townAlert]] remoteExec ['BIS_fnc_showNotification',0]; }; true @@ -8811,7 +8858,7 @@ MAZ_EZM_fnc_initFunction = { private _dir = vectorDir _building; private _up = vectorUp _building; private _worldPos = getPosWorld _building; - [_building,true] remoteExec ["hideObjectGlobal",2]; + [_building,true] remoteExec ['hideObject',0,_building]; [_building,false] remoteExec ['allowDamage']; private _temp = _building; _building = _buildingType createVehicle [0,0,0]; @@ -8871,21 +8918,6 @@ MAZ_EZM_fnc_initFunction = { }; - MAZ_EZM_fnc_getNearestBuilding = { - params [ - ["_position",[0,0,0],[[],objNull]], - ["_radius",50,[0]], - ["_2d",false,[false]] - ]; - if(_position isEqualTo [0,0,0]) exitWith {["Provide a position argument to getNearestBuilding!","addItemFailed"] call MAZ_EZM_fnc_systemMessage}; - if(_position isEqualType objNull) then {_position = getPos _position;}; - private _nearestBuildings = (nearestObjects [_position, ["building"], _radius, _2d]) select { - - count ([_x] call BIS_fnc_buildingPositions) > 0 - }; - (_nearestBuildings select 0) - }; - MAZ_EZM_fnc_createBuildingInteriorCall = { params ["_entity"]; if( @@ -9008,7 +9040,7 @@ MAZ_EZM_fnc_initFunction = { if(_isTerrainBuilding) then { comment "Replace building, terrain buildings don't invoke BuildingChanged MEH"; _building setVariable ["MAZ_EZM_hasCompSetup",false,true]; - _building hideObjectGlobal false; + [_building,false] remoteExec ['hideObject',0,_building]; [_building,true] remoteExec ['allowDamage']; private _buildings = nearestObjects [_building,[typeOf _building],20,true]; { @@ -9230,7 +9262,7 @@ MAZ_EZM_fnc_initFunction = { _carrier setPosATL _pos; _carrier setVectorDirAndUp [[sin _dir, cos _dir, 0], [0,0,1]]; sleep 0.5; - [_carrier] remoteExec ["BIS_fnc_Carrier01Init", 0, _carrier]; + [_carrier] remoteExecCall ["BIS_fnc_Carrier01Init", 0, _carrier]; {deleteVehicle _x} forEach (nearestObjects [[0,0,0], ["Land_Carrier_01_hull_Base_F","DynamicAirport_01_F"], 300, true]); if(!isNull _object) then { {_object deleteVehicleCrew _x} forEach crew _object; @@ -9262,7 +9294,7 @@ MAZ_EZM_fnc_initFunction = { _destroyer setPosATL _pos; _destroyer setVectorDirAndUp [[sin _dir, cos _dir, 0], [0,0,1]]; sleep 0.5; - [_destroyer] remoteExec ["BIS_fnc_Destroyer01Init", 0, _destroyer]; + [_destroyer] remoteExecCall ["BIS_fnc_Destroyer01Init", 0, _destroyer]; {deleteVehicle _x} forEach (nearestObjects [[-300,-300,0], ["Land_Destroyer_01_Boat_Rack_01_Base_F","Land_Destroyer_01_hull_base_F","ShipFlag_US_F"], 300, true]); if(!isNull _object) then { {_object deleteVehicleCrew _x} forEach crew _object; @@ -9326,7 +9358,7 @@ MAZ_EZM_fnc_initFunction = { params ["_expression","_target"]; (parsingNamespace getVariable ["BIS_RscDebugConsoleExpressionResultCtrl", controlNull]) ctrlSetText str ([nil] apply {[_target] call _expression} param [0, text ""]) } - ] remoteExec ["call"]; + ] remoteExec ["call", 0]; }; if(!isRemoteExecuted || isRemoteExecutedJIP) exitWith {}; @@ -9495,7 +9527,7 @@ MAZ_EZM_fnc_initFunction = { _input = [(ctrlText ((ctrlParent (_this select 0)) displayCtrl 12284))] call MAZ_EZM_fnc_removeComments; _input = format ["this = _this select 0; %1",_input]; - [[2, compile _input,_target],{[(_this select 0), (_this select 1), (_this select 2)] call MAZ_EZM_fnc_executeExpression;}] remoteExec ['call',2]; + [[2, compile _input,_target],{[(_this select 0), (_this select 1), (_this select 2)] call MAZ_EZM_fnc_executeExpression;}] remoteExec ['bis_fnc_call',2]; [(ctrlParent (_this select 0)) displayCtrl 12284] call MAZ_EZM_fnc_saveExpression; [(ctrlParent (_this select 0)), 2] call MAZ_EZM_fnc_expressionResult; }]; @@ -9508,7 +9540,7 @@ MAZ_EZM_fnc_initFunction = { _input = [(ctrlText ((ctrlParent (_this select 0)) displayCtrl 12284))] call MAZ_EZM_fnc_removeComments; _input = format ["this = _this select 0; %1",_input]; - [[1, compile _input,_target],{[(_this select 0), (_this select 1), (_this select 2)] call MAZ_EZM_fnc_executeExpression;}] remoteExec ['call',2]; + [[1, compile _input,_target],{[(_this select 0), (_this select 1), (_this select 2)] call MAZ_EZM_fnc_executeExpression;}] remoteExec ['bis_fnc_call',2]; [(ctrlParent (_this select 0)) displayCtrl 12284] call MAZ_EZM_fnc_saveExpression; [(ctrlParent (_this select 0)), 1] call MAZ_EZM_fnc_expressionResult; }]; @@ -10570,7 +10602,8 @@ MAZ_EZM_fnc_initFunction = { _speakers = []; _group = createGroup (playerSide); _crewman = _group createUnit ["B_Story_SF_Captain_F",[0,0,0],[],0,"CAN_COLLIDE"]; - _crewman hideObjectGlobal true; + [_crewman, true] remoteExec ['hideObjectGlobal', 2]; + [_crewman, name _crewman] remoteExec ['setName']; [_crewman] joinSilent _group; removeAllWeapons _crewman; [_crewman,_group] spawn @@ -10679,9 +10712,9 @@ MAZ_EZM_fnc_initFunction = { _values params ["_init","_godMode","_hidden","_sim","_lockState","_tex1","_tex2","_tex3","_tex4"]; _entity call (compile _init); _entity allowDamage !_godMode; - [_entity,_hidden] remoteExec ["hideObjectGlobal",2]; + _entity hideObjectGlobal _hidden; [_entity,_sim] remoteExec ["enableSimulationGlobal",2]; - [_entity,parseNumber _lockState] remoteExec ["lock"]; + _entity lock (parseNumber _lockState); { _entity setObjectTextureGlobal [_forEachIndex,_x]; }forEach [_tex1,_tex2,_tex3,_tex4]; @@ -10699,18 +10732,28 @@ MAZ_EZM_fnc_initFunction = { params ["_entity"]; if(_entity isEqualTo objNull) exitWith {["No object selected.","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; - private _simmed = simulationEnabled _entity; - [_entity, !_simmed] remoteExec ["enableSimulationGlobal", 2]; - [["Object's simulation disabled.", "Object's simulation enabled."] select !_simmed,"addItemOk"] call MAZ_EZM_fnc_systemMessage; + if(simulationEnabled _entity) then { + [_entity,false] remoteExec ["enableSimulationGlobal",2]; + ["Simulation disabled."] call MAZ_EZM_fnc_systemMessage; + } else { + [_entity,true] remoteExec ["enableSimulationGlobal",2]; + ["Simulation enabled."] call MAZ_EZM_fnc_systemMessage; + }; + playSound "addItemOk"; }; MAZ_EZM_fnc_toggleInvincibleModule = { params ["_entity"]; if(_entity isEqualTo objNull) exitWith {["No object selected.","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; - private _god = isDamageAllowed _entity; - [_entity,!_god] remoteExec ["allowDamage"]; - [["Object is god moded", "Object is no longer god moded."] select !_god,"addItemOk"] call MAZ_EZM_fnc_systemMessage; + if(isDamageAllowed _entity) then { + [_entity,false] remoteExec ["allowDamage",0]; + ["Object is god moded."] call MAZ_EZM_fnc_systemMessage; + } else { + [_entity,true] remoteExec ["allowDamage",0]; + ["Object is no longer god moded."] call MAZ_EZM_fnc_systemMessage; + }; + playSound "addItemOk"; }; MAZ_EZM_fnc_toggleHideObjectModule = { @@ -10737,7 +10780,6 @@ MAZ_EZM_fnc_initFunction = { [_x,false] remoteExec ['hideObjectGlobal',2]; }forEach MAZ_EZM_hiddenObjects; MAZ_EZM_hiddenObjects = []; - publicVariable "MAZ_EZM_hiddenObjects"; ["All hidden objects are revealed.","addItemOk"] call MAZ_EZM_fnc_systemMessage; }; @@ -10762,7 +10804,7 @@ MAZ_EZM_fnc_initFunction = { params ["_newSimpleObj","_logic"]; waitUntil {isNull _logic}; deleteVehicle _newSimpleObj; - }] remoteExec ["spawn",2]; + }] remoteExec ["Spawn",_logic]; }; ["Object replaced with simple object.","addItemOk"] call MAZ_EZM_fnc_systemMessage; }; @@ -10778,7 +10820,7 @@ MAZ_EZM_fnc_initFunction = { }; MAZ_EZM_fnc_healAndReviveModule = { - params ["_entity"]; + params ["_entity",["_doMessage",true]]; if(isNull _entity || !((typeOf _entity) isKindOf "Man")) exitWith {["Unit is not suitable.","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; if(isPlayer _entity) then { @@ -10790,14 +10832,15 @@ MAZ_EZM_fnc_initFunction = { _entity setDamage 0; }; - ["The unit has been healed, and revived if possible.","addItemOk"] call MAZ_EZM_fnc_systemMessage; + if(_doMessage) then { + ["The unit has been healed, and revived if possible.","addItemOk"] call MAZ_EZM_fnc_systemMessage; + }; }; MAZ_EZM_fnc_healAndReviveAllModule = { - [[],{ - player setDamage 0; - ["#rev",1,player] call BIS_fnc_reviveOnState; - }] remoteExec ['spawn',-2]; + { + [_x,false] call MAZ_EZM_fnc_healAndReviveModule; + }forEach allPlayers; ["The players have been healed, and revived if possible.","addItemOk"] call MAZ_EZM_fnc_systemMessage; }; @@ -10877,6 +10920,10 @@ MAZ_EZM_fnc_initFunction = { if(isPlayer _entity) then { [[], { + if(!isNil "MAZ_customArsenalRespawnEH") then { + player removeEventHandler ["Respawn",MAZ_customArsenalRespawnEH]; + }; + player setVariable ["MAZ_customLoadoutFromModule",nil]; if (!isNil "M9SD_EH_arsenalRespawnLoadout") then { player removeEventHandler["Respawn", M9SD_EH_arsenalRespawnLoadout]; }; @@ -10943,13 +10990,19 @@ MAZ_EZM_fnc_initFunction = { }; { - [_side,[_x,1]] remoteExec ["setFriend",2]; + [[_side,_x],{ + params ["_sideChange","_sideFriendly"]; + _sideChange setFriend [_sideFriendly,1]; + }] remoteExec ['spawn',2]; }forEach _sides; private _enemySides = ([west,east,independent,civilian] - [_side]) - _sides; { - [_side,[_x,0.5]] remoteExec ["setFriend",2]; + [[_side,_x],{ + params ["_sideChange","_sideFriendly"]; + _sideChange setFriend [_sideFriendly,0.5]; + }] remoteExec ['spawn',2]; }forEach _enemySides; }forEach _values; _display closeDisplay 1; @@ -11000,7 +11053,7 @@ MAZ_EZM_fnc_initFunction = { if(_score < 2000) then { player addRating (2000 - _score); }; - }] remoteExec ['spawn',-2]; + }] remoteExec ['spawn',allPlayers]; }; MAZ_EZM_fnc_disableMortarsModule = { @@ -12289,7 +12342,7 @@ MAZ_EZM_fnc_initFunction = { _logic spawn { waitUntil {uiSleep 0.1; !isNull (_this getVariable ["bis_fnc_moduleTracers_gunner",objNull])}; private _gunner = _this getVariable "bis_fnc_moduleTracers_gunner"; - [_gunner,true] remoteExec ['hideObjectGlobal',2]; + [_gunner,true] remoteExec ['hideObjectGlobal',0,_gunner]; }; }; @@ -12652,7 +12705,8 @@ MAZ_EZM_fnc_initFunction = { params ["_values","_pos","_display"]; _values params ["_radius"]; - private _blackListFences = [ + private ["_modelString","_newObj","_vectorDirUp","_position","_hideTerrain","_type","_blackListFences"]; + _blackListFences = [ "land_pipewall_conretel_8m_f","land_mil_wiredfence_gate_f","land_mil_concretewall_f","land_cncbarrier_f","land_cncbarrier_stripes_f", "land_concrete_smallwall_8m_f","land_concrete_smallwall_4m_f", "land_brickwall_04_l_pole_f","land_brickwall_03_l_pole_f", @@ -12711,21 +12765,17 @@ MAZ_EZM_fnc_initFunction = { private _count = 0; { if(!alive _x) then {continue}; - private _modelString = ((str _x) splitString ":" select 1) select [1]; - private _removeExtension = _modelString splitString "." select 0; - private _type = format ['land_%1',_removeExtension]; + _modelString = (str _x) splitString " ."; + _type = format ['land_%1',_modelString select (count _modelString) - 2]; if !((toLower _type) in _blackListFences) then { _count = _count + 1; - private _position = getPosASL _x; - private _newObj = createSimpleObject [format ["%1",_type],_position]; - _newObj setPosASL _position; - _newObj setVectorDirAndUp [vectorDir _x,surfaceNormal _position]; - if("pillar" in _type) then { - _newObj setVectorUp (vectorUp _x); - }; - [_x,true] remoteExec ["hideObjectGlobal",2]; - [_x,false] remoteExec ["allowDamage"]; + _position = getPosASL _x; + _vectorDirUp = [vectorDir _x,vectorUp _x]; + _newObj = createSimpleObject [format ["%1",_type],_position]; + _newObj setVectorDirAndUp [vectorDir _x,vectorUp _x]; + [_x,true] remoteExec ['hideObject',0,true]; + [_x,false] remoteExec ['allowDamage',0,true]; }; }forEach (nearestTerrainObjects [_pos,["WALL","FENCE"],_radius]); @@ -12791,13 +12841,13 @@ MAZ_EZM_fnc_initFunction = { }; if(_hide) then { { - [_x,true] remoteExec ["hideObjectGlobal",2]; - [_x,false] remoteExec ["allowDamage"]; + [_x,true] remoteExec ['hideObject',0,_x]; + _x allowDamage false; } forEach _nearestObjects; } else { { - [_x,false] remoteExec ["hideObjectGlobal",2]; - [_x,true] remoteExec ["allowDamage"]; + [_x,false] remoteExec ['hideObject',0,_x]; + _x allowDamage true; } forEach _nearestObjects; }; _display closeDisplay 1; @@ -13154,7 +13204,7 @@ MAZ_EZM_fnc_initFunction = { player allowDamage false; player attachTo [_unit,[0,0,0]]; [player,""] remoteExec ["switchMove"]; - [player,true] remoteExec ["hideObjectGlobal",2]; + [player,true] remoteExec ["hideObjectGlobal"]; ppeffectdestroy _blur; _cam cameraeffect ["terminate","back"]; @@ -13250,7 +13300,9 @@ MAZ_EZM_fnc_initFunction = { } else { [player] joinSilent _oldGroup; }; - [player,_initialHidden] remoteExec ["hideObjectGlobal",2]; + if(!_initialHidden) then { + [player,false] remoteExec ["hideObjectGlobal"]; + }; sleep 0.01; }; } else { @@ -13282,7 +13334,11 @@ MAZ_EZM_fnc_initFunction = { params ["_entity"]; if(isNull _entity) exitWith {["No object!","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; [[_entity],{ - [_this,1] remoteExec ["setVehicleAmmo",owner _entity]; + params ["_entity"]; + [[_entity],{ + params ["_entity"]; + _entity setVehicleAmmo 1; + }] remoteExec ['spawn',owner _entity]; }] remoteExec ['spawn',2]; ["Vehicle rearmed.","addItemOk"] call MAZ_EZM_fnc_systemMessage; @@ -13301,7 +13357,9 @@ MAZ_EZM_fnc_initFunction = { MAZ_EZM_fnc_repairVehicleModule = { params ["_entity"]; if(isNull _entity) exitWith {["No object!","addItemFailed"] call MAZ_EZM_fnc_systemMessage;}; - _entity setDamage 0; + [_entity,{ + _this setDamage 0; + }] remoteExec ['spawn',_entity]; ["Vehicle repaired.","addItemOk"] call MAZ_EZM_fnc_systemMessage; }; @@ -13780,7 +13838,7 @@ MAZ_EZM_fnc_initFunction = { _santa setVariable ["BIS_enableRandomization", false]; _santa setUnitLoadout [["sgun_HunterShotgun_01_sawedoff_F","","","",["2Rnd_12Gauge_Pellets",2],[],""],[],[],["U_C_Paramedic_01_F",[["FirstAidKit",1],["Chemlight_green",1,1],["2Rnd_12Gauge_Pellets",3,2]]],["V_DeckCrew_red_F",[]],[],"H_Beret_CSAT_01_F","G_Squares",[],["ItemMap","","ItemRadio","ItemCompass","ItemWatch",""]]; _santa setName "Santa Claus"; - [_santa, "WhiteHead_26"] remoteExec ["setFace"]; + [_santa, "WhiteHead_26"] remoteExec ['setFace',0,true]; _santa allowDamage false; removeGoggles _santa; _santa addItem 'G_Squares'; @@ -13800,10 +13858,10 @@ MAZ_EZM_fnc_initFunction = { {}, { _unit = (_this select 0); - [_unit,false] remoteExec ["setCaptive"]; - [_unit,"Move"]remoteExec ["enableAI"]; - [_unit,"AmovPercMstpSnonWnonDnon"] remoteExec ["playMove"]; - [_unit] remoteExec ["removeAllActions"]; + [_unit,false] remoteExec ["setCaptive",0]; + [_unit,"Move"]remoteExec ["enableAI",0]; + [_unit,"AmovPercMstpSnonWnonDnon"] remoteExec ["playMove",0]; + [_unit] remoteExec ["removeAllActions",0]; detach _unit; }, {}, @@ -14131,15 +14189,15 @@ MAZ_EZM_fnc_initFunction = { SANTA setVariable ["BIS_enableRandomization", false]; SANTA setUnitLoadout [["sgun_HunterShotgun_01_sawedoff_F","","","",["2Rnd_12Gauge_Pellets",2],[],""],[],[],["U_C_Paramedic_01_F",[["FirstAidKit",1],["Chemlight_green",1,1],["2Rnd_12Gauge_Pellets",3,2]]],["V_DeckCrew_red_F",[]],[],"H_Beret_CSAT_01_F","G_Squares",[],["ItemMap","","ItemRadio","ItemCompass","ItemWatch",""]]; SANTA setname "Santa Claus"; - [SANTA, "WhiteHead_26"] remoteExec ['setFace']; + [SANTA, "WhiteHead_26"] remoteExec ['setFace',0,true]; SANTA allowDamage false; removeGoggles SANTA; SANTA addItem 'G_Squares'; SANTA assignItem 'G_Squares'; }; [this, santa_base] call BIS_fnc_attachToRelative; - [this, 2.1] remoteExec ['setObjectScale'];; - [SANTA, 'crew'] remoteExec ['switchMove']; + [this, 2.1] remoteExec ['setObjectScale', 0, true];; + [SANTA, 'crew'] remoteExec ['switchMove',0, true]; [SANTA, ["Sit on Santa's Lap", { @@ -15478,8 +15536,9 @@ MAZ_EZM_fnc_editZeusInterface = { }; MAZ_EZM_fnc_detectLowServerPerformance = { + private _svrFnc = missionNamespace getVariable ["MAZ_EZM_fnc_getServerFPS",{}]; + call _svrFnc; 0=[] spawn { - "MAZ_EZM_serverFPS"; "defined on server"; waitUntil {uiSleep 0.1; !(missionNamespace getVariable ["MAZ_EZM_isPingingServerFPS",false])}; private _fps = uiNamespace getVariable "MAZ_EZM_serverFPS"; if(!isNil "MAZ_EZM_lowServerFPSWarn") then { @@ -17257,22 +17316,6 @@ MAZ_EZM_addZeusKeybinds_312 = { }]; }; -MAZ_EZM_fnc_switchGroupSetup = { - params ["_side"]; - private _group = createGroup [_side,true]; - private _groupName = "Stryker 1-4"; - [player] join _group; - [_group, player] remoteExec ["selectLeader"]; - _group setGroupIdGlobal [_groupName]; - private _leader = leader _group; - private _data = ["Curator", _groupName, false]; comment " [, , ] "; - ["RegisterGroup", [_group, player, _data]] remoteExec ['BIS_fnc_dynamicGroups']; - ["AddGroupMember", [_group,player]] remoteExec ['BIS_fnc_dynamicGroups']; - ["SwitchLeader", [_group,player]] remoteExec ['BIS_fnc_dynamicGroups']; - ["SetPrivateState", [_group,true]] remoteExec ['BIS_fnc_dynamicGroups']; - ["SetName", [_group,_groupName]] remoteExec ['BIS_fnc_dynamicGroups']; -}; - MAZ_EZM_fnc_groupMenuTeamSwitcher = { if (!isNull findDisplay 60490) exitWith {}; with uiNamespace do @@ -17303,7 +17346,23 @@ MAZ_EZM_fnc_groupMenuTeamSwitcher = { _btn_west ctrlSetStructuredText parseText ("BLUFOR"); _btn_west ctrladdEventHandler ["ButtonClick", { - [west] call MAZ_EZM_fnc_switchGroupSetup; + _side = west; + _groupName = "Stryker 1-4"; + _groups = ["GetAllGroupsOfSide", [_side]] call BIS_fnc_dynamicGroups; + EZM_curator_group = createGroup _side; + EZM_curator_group deleteGroupWhenEmpty true; + [player] join EZM_curator_group; + EZM_curator_group selectLeader player; + [EZM_curator_group, player] remoteExec ["selectLeader", groupOwner EZM_curator_group]; + EZM_curator_group setGroupIdGlobal [_groupName]; + private _group = EZM_curator_group; + private _leader = leader _group; + private _data = [nil, _groupName, false]; comment " [, , ] "; + ["RegisterGroup", [_group, _leader, _data]] remoteExecCall ['BIS_fnc_dynamic\a3\ui_f_curator\data\rsccommon\rscattributeformation\wedge_ca.paa']; + ["AddGroupMember", [EZM_curator_group,player]] remoteExecCall ['BIS_fnc_dynamicGroups']; + ["SwitchLeader", [EZM_curator_group,player]] remoteExecCall ['BIS_fnc_dynamicGroups']; + ["SetPrivateState", [EZM_curator_group,true]] remoteExecCall ['BIS_fnc_dynamicGroups']; + ["SetName", [EZM_curator_group,_groupName]] remoteExecCall ['BIS_fnc_dynamicGroups']; }]; _btn_west ctrlCommit 0; _btn_east = _display ctrlCreate ['RscButtonMenu',-1]; @@ -17312,7 +17371,23 @@ MAZ_EZM_fnc_groupMenuTeamSwitcher = { _btn_east ctrlSetStructuredText parseText ("OPFOR"); _btn_east ctrladdEventHandler ["ButtonClick", { - [east] call MAZ_EZM_fnc_switchGroupSetup; + _side = east; + _groupName = "Stryker 1-4"; + _groups = ["GetAllGroupsOfSide", [_side]] call BIS_fnc_dynamicGroups; + EZM_curator_group = createGroup _side; + EZM_curator_group deleteGroupWhenEmpty true; + [player] join EZM_curator_group; + EZM_curator_group selectLeader player; + [EZM_curator_group, player] remoteExec ["selectLeader", groupOwner EZM_curator_group]; + EZM_curator_group setGroupIdGlobal [_groupName]; + private _group = EZM_curator_group; + private _leader = leader _group; + private _data = [nil, _groupName, false]; comment " [, , ] "; + ["RegisterGroup", [_group, _leader, _data]] remoteExecCall ['BIS_fnc_dynamicGroups']; + ["AddGroupMember", [EZM_curator_group,player]] remoteExecCall ['BIS_fnc_dynamicGroups']; + ["SwitchLeader", [EZM_curator_group,player]] remoteExecCall ['BIS_fnc_dynamicGroups']; + ["SetPrivateState", [EZM_curator_group,true]] remoteExecCall ['BIS_fnc_dynamicGroups']; + ["SetName", [EZM_curator_group,_groupName]] remoteExecCall ['BIS_fnc_dynamicGroups']; }]; _btn_east ctrlCommit 0; _btn_indep = _display ctrlCreate ['RscButtonMenu',-1]; @@ -17321,7 +17396,23 @@ MAZ_EZM_fnc_groupMenuTeamSwitcher = { _btn_indep ctrlSetStructuredText parseText ("INDEP"); _btn_indep ctrladdEventHandler ["ButtonClick", { - [independent] call MAZ_EZM_fnc_switchGroupSetup; + _side = independent; + _groupName = "Stryker 1-4"; + _groups = ["GetAllGroupsOfSide",[_side]] call BIS_fnc_dynamicGroups; + EZM_curator_group = createGroup _side; + EZM_curator_group deleteGroupWhenEmpty true; + [player] join EZM_curator_group; + EZM_curator_group selectLeader player; + [EZM_curator_group, player] remoteExec ["selectLeader", groupOwner EZM_curator_group]; + EZM_curator_group setGroupIdGlobal [_groupName]; + private _group = EZM_curator_group; + private _leader = leader _group; + private _data = [nil, _groupName, false]; comment " [, , ] "; + ["RegisterGroup", [_group, _leader, _data]] remoteExecCall ['BIS_fnc_dynamicGroups']; + ["AddGroupMember", [EZM_curator_group,player]] remoteExecCall ['BIS_fnc_dynamicGroups']; + ["SwitchLeader", [EZM_curator_group,player]] remoteExecCall ['BIS_fnc_dynamicGroups']; + ["SetPrivateState", [EZM_curator_group,true]] remoteExecCall ['BIS_fnc_dynamicGroups']; + ["SetName", [EZM_curator_group,_groupName]] remoteExecCall ['BIS_fnc_dynamicGroups']; }]; _btn_indep ctrlCommit 0; _btn_civ = _display ctrlCreate ['RscButtonMenu',-1]; @@ -17330,7 +17421,23 @@ MAZ_EZM_fnc_groupMenuTeamSwitcher = { _btn_civ ctrlSetStructuredText parseText ("CIV"); _btn_civ ctrladdEventHandler ["ButtonClick", { - [civilian] call MAZ_EZM_fnc_switchGroupSetup; + _side = civilian; + _groupName = "Stryker 1-4"; + _groups = ["GetAllGroupsOfSide",[_side]] call BIS_fnc_dynamicGroups; + EZM_curator_group = createGroup _side; + EZM_curator_group deleteGroupWhenEmpty true; + [player] join EZM_curator_group; + EZM_curator_group selectLeader player; + [EZM_curator_group, player] remoteExec ["selectLeader", groupOwner EZM_curator_group]; + EZM_curator_group setGroupIdGlobal [_groupName]; + private _group = EZM_curator_group; + private _leader = leader _group; + private _data = [nil, _groupName, false]; comment " [, , ] "; + ["RegisterGroup", [_group, _leader, _data]] remoteExecCall ['BIS_fnc_dynamicGroups']; + ["AddGroupMember", [EZM_curator_group,player]] remoteExecCall ['BIS_fnc_dynamicGroups']; + ["SwitchLeader", [EZM_curator_group,player]] remoteExecCall ['BIS_fnc_dynamicGroups']; + ["SetPrivateState", [EZM_curator_group,true]] remoteExecCall ['BIS_fnc_dynamicGroups']; + ["SetName", [EZM_curator_group,_groupName]] remoteExecCall ['BIS_fnc_dynamicGroups']; }]; _btn_civ ctrlCommit 0; _btn_zeus = _display ctrlCreate ['RscButtonMenu',-1]; @@ -17339,7 +17446,23 @@ MAZ_EZM_fnc_groupMenuTeamSwitcher = { _btn_zeus ctrlSetStructuredText parseText ("ZEUS"); _btn_zeus ctrladdEventHandler ["ButtonClick", { - [sideLogic] call MAZ_EZM_fnc_switchGroupSetup; + _side = sideLogic; + _groupName = "Stryker 1-4"; + _groups = ["GetAllGroupsOfSide",[_side]] call BIS_fnc_dynamicGroups; + EZM_curator_group = createGroup _side; + EZM_curator_group deleteGroupWhenEmpty true; + [player] join EZM_curator_group; + EZM_curator_group selectLeader player; + [EZM_curator_group, player] remoteExec ["selectLeader", groupOwner EZM_curator_group]; + EZM_curator_group setGroupIdGlobal [_groupName]; + private _group = EZM_curator_group; + private _leader = leader _group; + private _data = [nil, _groupName, false]; comment " [, , ] "; + ["RegisterGroup", [_group, _leader, _data]] remoteExecCall ['BIS_fnc_dynamicGroups']; + ["AddGroupMember", [EZM_curator_group,player]] remoteExecCall ['BIS_fnc_dynamicGroups']; + ["SwitchLeader", [EZM_curator_group,player]] remoteExecCall ['BIS_fnc_dynamicGroups']; + ["SetPrivateState", [EZM_curator_group,true]] remoteExecCall ['BIS_fnc_dynamicGroups']; + ["SetName", [EZM_curator_group,_groupName]] remoteExecCall ['BIS_fnc_dynamicGroups']; }]; _btn_zeus ctrlCommit 0; }; @@ -17353,7 +17476,7 @@ MAZ_EZM_fnc_initMainLoop = { while {MAZ_EZM_mainLoop_Active} do { waitUntil {uiSleep 0.01; (!isNull (findDisplay 312))}; if(!isNil "MAZ_EP_ServerDLCs" && !isNil "MAZ_CDLC_EP_fnc_newZeus" && isNil "MAZ_CDLC_Setup") then { - [getAssignedCuratorLogic player] remoteExec ["unassignCurator",2]; + [getAssignedCuratorLogic player] remoteExec ["unassignCurator"]; waitUntil {isNull (getAssignedCuratorLogic player)}; [[player],{ params ["_unit"];