diff --git a/@GMS/addons/custom_server/Compiles/Functions/GMS_fnc_addMoneyToObject.sqf b/@GMS/addons/custom_server/Compiles/Functions/GMS_fnc_addMoneyToObject.sqf index 7f4c32d..2c17267 100644 --- a/@GMS/addons/custom_server/Compiles/Functions/GMS_fnc_addMoneyToObject.sqf +++ b/@GMS/addons/custom_server/Compiles/Functions/GMS_fnc_addMoneyToObject.sqf @@ -13,26 +13,14 @@ #include "\q\addons\custom_server\Configs\blck_defines.hpp"; if (toLower(blck_modType) isEqualTo "default") exitWith {}; -params["_obj","_difficulty"]; - -if (blck_modType isEqualTo "Exile") then +params["_obj",["_money",-1]]; +_money = ([_money] call blck_fnc_getNumberFromRange); +if (blck_debugLevel >= 3) then {[format["_fnc_addmoneyToObject: _money = %1 _obj = %2",_money,_obj]] call blck_fnc_log}; +if !(_money <= 0) then { - switch (_difficulty) do + switch(toLower(blck_modType)) do { - case "blue":{_obj setVariable["ExileMoney", floor(random([blck_crateMoneyBlue] call blck_fnc_getNumberFromRange)),true];}; - case "red":{_obj setVariable["ExileMoney", floor(random([blck_crateMoneyRed] call blck_fnc_getNumberFromRange)),true];}; - case "green":{_obj setVariable["ExileMoney", floor(random([blck_crateMoneyGreen] call blck_fnc_getNumberFromRange)),true];}; - case "orange":{_obj setVariable["ExileMoney", floor(random([blck_crateMoneyGreen] call blck_fnc_getNumberFromRange)),true];}; + case "exile": {_obj setVariable["ExileMoney",_money,true]}; + case "epoch": {_obj setVariable["Crypto", _money,true]}; }; }; - -if (blck_modType isEqualTo "Epoch") then -{ - switch (_difficulty) do - { - case "blue":{_obj setVariable["Crypto", floor(random([blck_crateMoneyBlue] call blck_fnc_getNumberFromRange)),true];}; - case "red":{_obj setVariable["Crypto", floor(random([blck_crateMoneyRed] call blck_fnc_getNumberFromRange)),true];}; - case "green":{_obj setVariable["Crypto", floor(random([blck_crateMoneyGreen] call blck_fnc_getNumberFromRange)),true];}; - case "orange":{_obj setVariable["Crypto", floor(random([blck_crateMoneyGreen] call blck_fnc_getNumberFromRange)),true];}; - }; -}; \ No newline at end of file diff --git a/@GMS/addons/custom_server/Compiles/Functions/GMS_fnc_createMissionMarkers.sqf b/@GMS/addons/custom_server/Compiles/Functions/GMS_fnc_createMissionMarkers.sqf index 1970283..05f5629 100644 --- a/@GMS/addons/custom_server/Compiles/Functions/GMS_fnc_createMissionMarkers.sqf +++ b/@GMS/addons/custom_server/Compiles/Functions/GMS_fnc_createMissionMarkers.sqf @@ -21,21 +21,22 @@ private "_markers"; ["_markerBrush","GRID"] ]; -/* -private _pList =[ - "_markerName", // the name used when creating the marker. Must be unique. - "_markerPos", - "_markerLabel", - "_markerColor", - "_markerType", // Use either the name of the icon or "ELLIPSE" or "RECTANGLE" where non-icon markers are used - "_markerSize", - "_markerBrush" - ]; -for "_i" from 0 to ((count _this) - 1) do +if (blck_debugLevel >= 3) then { - diag_log format["_fnc_createMarker: parameter %1 = %2",_pList select _i,_this select _i]; -}; -*/ + private _pList =[ + "_markerName", // the name used when creating the marker. Must be unique. + "_markerPos", + "_markerLabel", + "_markerColor", + "_markerType", // Use either the name of the icon or "ELLIPSE" or "RECTANGLE" where non-icon markers are used + "_markerSize", + "_markerBrush" + ]; + for "_i" from 0 to ((count _this) - 1) do + { + diag_log format["_fnc_createMarker: parameter %1 = %2",_pList select _i,_this select _i]; + }; +}; if (toUpper(_markerType) in ["ELLIPSE","RECTANGLE"]) then // not an Icon .... { @@ -60,4 +61,4 @@ if (toUpper(_markerType) in ["ELLIPSE","RECTANGLE"]) then // not an Icon .... //diag_log format["_fnc_createMarkers: case of ICON: _markers = %1",_markers]; }; -_markers \ No newline at end of file +_markers diff --git a/@GMS/addons/custom_server/Compiles/Functions/GMS_fnc_findSafePosn.sqf b/@GMS/addons/custom_server/Compiles/Functions/GMS_fnc_findSafePosn.sqf index 3500071..6162ee1 100644 --- a/@GMS/addons/custom_server/Compiles/Functions/GMS_fnc_findSafePosn.sqf +++ b/@GMS/addons/custom_server/Compiles/Functions/GMS_fnc_findSafePosn.sqf @@ -180,10 +180,10 @@ while { !_validspot} do if (_coords isEqualTo []) then { - diag_log format["[blckeagls] Could not find a safe position for a mission, consider reducing values for minimum distances between missions and players, bases, other missions or towns"]; + ["Could not find a safe position for a mission, consider reducing values for minimum distances between missions and players, bases, other missions or towns","error"] call blck_fnc_log; } else { _coords set[2, 0]; - diag_log format["_fnc_findSafePosn: _exit with _coords = %1 | time spent = %2",_coords,diag_tickTime - _timeIn]; + //diag_log format["_fnc_findSafePosn: _exit with _coords = %1 | time spent = %2",_coords,diag_tickTime - _timeIn]; }; _coords diff --git a/@GMS/addons/custom_server/Compiles/Functions/GMS_fnc_mainThread.sqf b/@GMS/addons/custom_server/Compiles/Functions/GMS_fnc_mainThread.sqf index b5c73d1..a06d129 100644 --- a/@GMS/addons/custom_server/Compiles/Functions/GMS_fnc_mainThread.sqf +++ b/@GMS/addons/custom_server/Compiles/Functions/GMS_fnc_mainThread.sqf @@ -58,17 +58,25 @@ while {true} do { _timer1min = diag_tickTime + 60; - [] call blck_fnc_groupWaypointMonitor; + [] call blck_fnc_groupWaypointMonitor; + [] call blck_fnc_cleanupAliveAI; + [] call blck_fnc_cleanupObjects; + [] call blck_fnc_cleanupDeadAI; if (blck_useHC) then {[] call blck_fnc_HC_passToHCs}; if (blck_useTimeAcceleration) then {[] call blck_fnc_timeAcceleration}; if (blck_ai_offload_to_client) then {[] call blck_fnc_ai_offloadToClients}; }; if (diag_tickTime > _timer5min) then { - [format["Timstamp %8 |Dynamic Missions Running %1 | UMS Running %2 | Vehicles %3 | Groups %4 | Server FPS %5 | Server Uptime %6 Min | Missions Run %7",blck_missionsRunning,blck_dynamicUMS_MissionsRuning,count blck_monitoredVehicles,count blck_monitoredMissionAIGroups,diag_FPS,floor(diag_tickTime/60),blck_missionsRun, diag_tickTime]] call blck_fnc_log; - [] call blck_fnc_cleanupAliveAI; - [] call blck_fnc_cleanupObjects; - [] call blck_fnc_cleanupDeadAI; + [format["Timstamp %8 |Dynamic Missions Running %1 | UMS Running %2 | Vehicles %3 | Groups %4 | Server FPS %5 | Server Uptime %6 Min | Missions Run %7", + blck_missionsRunning, + blck_dynamicUMS_MissionsRuning, + count blck_monitoredVehicles, + count blck_monitoredMissionAIGroups, + diag_FPS,floor(diag_tickTime/60), + blck_missionsRun, + diag_tickTime] + ] call blck_fnc_log; [] call blck_fnc_cleanEmptyGroups; _timer5min = diag_tickTime + 300; }; diff --git a/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_addMIssionToQue.sqf b/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_addMIssionToQue.sqf index 68fac18..b245575 100644 --- a/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_addMIssionToQue.sqf +++ b/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_addMIssionToQue.sqf @@ -13,6 +13,12 @@ */ #include "\q\addons\custom_server\Configs\blck_defines.hpp"; params["_missionList","_path","_marker","_difficulty","_tMin","_tMax",["_noMissions",1]]; +if (blck_debugLevel >= 3) then +{ + { + diag_log format["_addMissionToQue: _this %1 = %2",_forEachIndex, _this select _forEachIndex]; + } forEach _this; +}; private _waitTime = diag_tickTime + (_tMin) + random((_tMax) - (_tMin)); private _missionsData = []; // Parameters definine each of the missions for this difficulty are stored as arrays here. { diff --git a/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_endMission.sqf b/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_endMission.sqf index 91c1b59..bcddd0f 100644 --- a/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_endMission.sqf +++ b/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_endMission.sqf @@ -60,7 +60,18 @@ params[ switch (_endCondition) do { - case 1: { + case -1: { + #define cleanupCompositionTimer 0 + #define cleanupAliveAITimer 0 + + { + if (local _x) then {deleteVehicle _x}; + }forEach _crates; + + [_coords,_mines,_objects,_blck_AllMissionAI,_markerName,cleanupAliveAITimer,cleanupCompositionTimer,_isScubaMission] call _fn_missionCleanup; + [format["Mission | _coords %1 : _markerClass %2 : _markerMissionName %3",_coords,_markerName,_markerLabel]] call blck_fnc_log; + }; + case 1: { // Normal End if (blck_useSignalEnd) then { [_crates select 0] spawn blck_fnc_signalEnd; @@ -92,6 +103,7 @@ switch (_endCondition) do } forEach _vehicles; [_coords,_mines,_objects,_blck_AllMissionAI,_markerName,blck_AliveAICleanUpTimer,blck_cleanupCompositionTimer,_isScubaMission] call _fn_missionCleanup; + [format["Mission Completed | _coords %1 : _markerClass %2 : _markerMissionName %3",_coords,_markerName,_markerLabel]] call blck_fnc_log; }; case 2: { // Aborted for moving a crate @@ -101,6 +113,7 @@ switch (_endCondition) do #define illegalCrateMoveMsg "Crate moved before mission completed" [["warming",illegalCrateMoveMsg,_markerLabel]] call blck_fnc_messageplayers; [_coords,_mines,_objects,_blck_AllMissionAI,_markerName,cleanupAliveAITimer,cleanupCompositionTimer,_isScubaMission] call _fn_missionCleanup; + [format["Mission Aborted | _coords %1 : _markerClass %2 : _markerMissionName %3",_coords,_markerName,_markerLabel]] call blck_fnc_log; }; case 3: { // Mision aborted for killing an asset #define cleanupCompositionTimer 0 @@ -111,6 +124,7 @@ switch (_endCondition) do }forEach _crates; [["warning",_endMsg,_markerLabel]] call blck_fnc_messageplayers; [_coords,_mines,_objects,_blck_AllMissionAI,_markerName,cleanupAliveAITimer,cleanupCompositionTimer,_isScubaMission] call _fn_missionCleanup; + [format["Mission Aborted | _coords %1 : _markerClass %2 : _markerMissionName %3",_coords,_markerName,_markerLabel]] call blck_fnc_log; }; case 4: { @@ -125,5 +139,4 @@ switch (_endCondition) do }; }; -[format["Mission Completed | _cords %1 : _markerClass %2 : _markerMissionName %3",_coords,_markerName,_markerLabel]] call blck_fnc_log; -blck_missionsRun = blck_missionsRun + 1; \ No newline at end of file +blck_missionsRun = blck_missionsRun + 1; diff --git a/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_garrisonBuilding_relPosSystem.sqf b/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_garrisonBuilding_relPosSystem.sqf index 64aca66..a35c1e6 100644 --- a/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_garrisonBuilding_relPosSystem.sqf +++ b/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_garrisonBuilding_relPosSystem.sqf @@ -11,7 +11,8 @@ */ #include "\q\addons\custom_server\Configs\blck_defines.hpp"; -params["_center","_garrisonedBuilding_relPosSystem", +params["_center", + "_garrisonedBuilding_relPosSystem", ["_aiDifficultyLevel","Red"], ["_uniforms",[]], ["_headGear",[]], @@ -20,11 +21,7 @@ params["_center","_garrisonedBuilding_relPosSystem", ["_weaponList",[]], ["_sideArms",[]] ]; -/* -{ - diag_log format["_fnc_garrisonBuilding_relPosSystem: _this %1 = %2",_forEachIndex,_this select _forEachIndex]; -}forEach _this; -*/ + if (_weaponList isEqualTo []) then {_weaponList = [_aiDifficultyLevel] call blck_fnc_selectAILoadout}; if (_sideArms isEqualTo []) then {_sideArms = [_aiDifficultyLevel] call blck_fnc_selectAISidearms}; if (_uniforms isEqualTo []) then {_uniforms = [_aiDifficultyLevel] call blck_fnc_selectAIUniforms}; @@ -38,14 +35,13 @@ _group = [blck_AI_Side,true] call blck_fnc_createGroup; if !(isNull _group) then { { - _g = _x; // ["Land_Unfinished_Building_02_F",[-21.8763,-45.978,-0.00213432],0,true,true,0.67,3,[],4], - _g params["_bldClassName","_bldRelPos","_bldDir","_s","_d","_p","_noStatics","_typesStatics","_noUnits"]; + _x params["_bldClassName","_bldRelPos","_bldDir","_s","_d","_p","_noStatics","_typesStatics","_noUnits"]; if (_typesStatics isEqualTo []) then {_typesStatics = ["B_HMG_01_high_F"]}; _building = createVehicle[_bldClassName,[0,0,0],[],0,"CAN_COLLIDE"]; _buildingsSpawned pushBack _building; _building setPosATL (_bldRelPos vectorAdd _center); - _building setDir _bldDir; + [_building, _bldDir] call blck_fnc_setDirUp; _staticsSpawned = [_building,_group,_noStatics,_typesStatics,_noUnits,_aiDifficultyLevel,_uniforms,_headGear,_vests,_backpacks,"none",_weaponList,_sideArms] call blck_fnc_spawnGarrisonInsideBuilding_relPos; }forEach _garrisonedBuilding_relPosSystem; }; diff --git a/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_initializeMission.sqf b/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_initializeMission.sqf index 50ef6f8..425500e 100644 --- a/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_initializeMission.sqf +++ b/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_initializeMission.sqf @@ -18,7 +18,20 @@ params["_missionCategoryDescriptors","_missionParameters"]; "_missionsData" // ]; - +if (blck_debugLevel >= 3) then +{ + { + diag_log format["_initializeMission: _missionCategoryDescriptors %1 = %2",_forEachIndex, _missionCategoryDescriptors]; + } forEach [ + "_difficulty", + "_noMissions", // Max no missions of this category + "_noActive", // Number active + "_tMin", // Used to calculate waittime in the future + "_tMax", // as above + "_waitTime", // time at which a mission should be spawned + "_missionsData" // + ]; +}; if (_noActive > _noMissions) exitWith {if (blck_debugOn) then {}}; _missionParameters params[ @@ -150,3 +163,5 @@ private _missionData = [_coords,_mines,_objects,_crates, _blck_AllMissionAI,_ass blck_activeMissionsList pushBack [_missionCategoryDescriptors,_missionTimeoutAt,_triggered,_spawnPara,_missionData,_missionParameters]; [format["Initialized Mission %1 | description %2 | difficulty %3 at %4",_markerName, _markerMissionName, _difficulty, diag_tickTime]] call blck_fnc_log; + +true \ No newline at end of file diff --git a/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_loadMissionCrate.sqf b/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_loadMissionCrate.sqf index 103389d..2f44471 100644 --- a/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_loadMissionCrate.sqf +++ b/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_loadMissionCrate.sqf @@ -11,7 +11,6 @@ #include "\q\addons\custom_server\Configs\blck_defines.hpp"; private _crate = _this select 0; [_crate,(_crate getVariable "lootArray"),(_crate getVariable "lootCounts")] call blck_fnc_fillBoxes; -[_crate, _crate getVariable "difficulty"] call blck_fnc_addMoneyToObject; _crate setVariable["lootLoaded",true]; diff --git a/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_missionSpawner.sqf b/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_missionSpawner.sqf index 16b9a45..130baa9 100644 --- a/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_missionSpawner.sqf +++ b/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_missionSpawner.sqf @@ -19,14 +19,14 @@ private ["_abort","_crates","_aiGroup","_objects","_groupPatrolRadius","_mission "_wait","_missionStartTime","_playerInRange","_missionTimedOut","_temp","_patrolVehicles","_vehToSpawn","_noChoppers","_chancePara","_paraSkill","_marker","_vehicleCrewCount", "_defaultMissionLocations","_garrisonedbuildings_buildingposnsystem","_garrisonedBuilding_ATLsystem", "_isScubaMission","_markerlabel","_missionLootBoxes","_airpatrols"]; -params["_markerName","_aiDifficultyLevel"]; +params["_markerName",["_aiDifficultyLevel","Red"]]; if (isNil "_markerLabel") then {_markerLabel = _markerMissionName}; if (isNil "_assetKilledMsg") then {_assetKilledMsg = ""}; if (isNil "_markerColor") then {_markerColor = "ColorBlack"}; if (isNil "_markerType") then {_markerType = ["mil_box",[]]}; if (isNil "_markerSize") then {_markerSize = []}; if (isNil "_endCondition") then {_endCondition = blck_missionEndCondition}; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear"}; -if (isNil "_spawnCratesTiming") then {_spawnCratesTiming = blck_spawnCratesTiming}; // Choices: "atMissionSpawnGround","atMissionStartAir","atMissionEndGround","atMissionEndAir". +if (isNil "_spawnCratesTiming") then {_spawnCratesTiming = blck_spawnCratesTiming}; // Choices: "atMissionSpawnGround","atMissionSpawnAir","atMissionEndGround","atMissionEndAir". if (isNil "_loadCratesTiming") then {_loadCratesTiming = blck_loadCratesTiming}; // valid choices are "atMissionCompletion" and "atMissionSpawn"; if (isNil "_missionPatrolVehicles") then {_missionPatrolVehicles = []}; if (isNil "_missionGroups") then {_missionGroups = []}; @@ -73,6 +73,23 @@ if !(_defaultMissionLocations isEqualTo []) then _markerType params["_markerType",["_markersize",[250,250]],["_markerBrush","GRID"]]; private _paraSkill = _aiDifficultyLevel; + +if !(_spawnCratesTiming in blck_validLootSpawnTimings) then +{ + [format['Invalid crate spawn timing %1 found in mission %2 :: default value "atMissionSpawnGround" used',_spawnCratesTiming,_markerMissionName],""] call blck_fnc_log; + _spawnCratesTiming = "atMissionSpawnGround"; +}; +if !(_loadCratesTiming in blck_validLootLoadTimings) then +{ + [format['Invalid crate loading timing %1 found in mission %2 :: default "atMissionSpawn" value used',_loadCratesTiming,_markerMissionName],""] call blck_fnc_log; + _loadCratesTiming = "atMissionSpawn"; +}; +if !(_endCondition in blck_validEndStates) then +{ + [format['Invalid mission end condition %1 found in mission %2 :: default value "allKilledOrPlayerNear"; used',_endCondition,_markerMissionName],""] call blck_fnc_log; + _endCondition = "allKilledOrPlayerNear"; +}; + private _table = [ _markerName, _markerMissionName, // Name used for setMarkerText and also for the root name for all markers diff --git a/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_monitorInitializedMissions.sqf b/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_monitorInitializedMissions.sqf index db67a66..589675c 100644 --- a/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_monitorInitializedMissions.sqf +++ b/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_monitorInitializedMissions.sqf @@ -121,9 +121,9 @@ _missionParameters params[ // Handle Timeout case -1: { - [format["_fnc_monitorInitializedMissions: mission timed out: %1",_el]] call blck_fnc_log; + //[format["_fnc_monitorInitializedMissions: mission timed out: %1",_el]] call blck_fnc_log; _missionCategoryDescriptors set[noActive, _noActive - 1]; - [_coords,_mines,_objects,_crates, _blck_AllMissionAI,_endMsg,_markers,markerPos (_markers select 1),_markerName,_markerMissionName, 1] call blck_fnc_endMission; + [_coords,_mines,_objects,_crates, _blck_AllMissionAI,_endMsg,_markers,markerPos (_markers select 1),_markerName,_markerMissionName, -1] call blck_fnc_endMission; }; // Handle mission waiting to be triggerd and player is within the range to trigger @@ -270,7 +270,7 @@ _missionParameters params[ uiSleep delayTime; if (blck_debugLevel >= 3) then {diag_log format["monitorInitializedMissions: _spawnCrateTiming = %1 _loadCratesTiming = %2 | _markerMissionName = %3",_spawnCratesTiming,_loadCratesTiming, _markerMissionName]}; if (blck_debugLevel >= 3) then {diag_log format["monitorInitializedMissions: _missionLootBoxes = %1",_missionLootBoxes]}; - if (_spawnCratesTiming in ["atMissionSpawnGround","atMissionStartAir"]) then + if (_spawnCratesTiming in ["atMissionSpawnGround","atMissionSpawnAir"]) then { if (_missionLootBoxes isEqualTo []) then { @@ -285,6 +285,13 @@ _missionParameters params[ { _objects append _crates; }; + if (_loadCratesTiming isEqualTo "atMissionSpawn") then + { + private _crateMoney = missionNamespace getVariable (format["blck_crateMoney%1",_difficulty]); + { + [_x,_crateMoney] call blck_fnc_addMoneyToObject; + } forEach _crates; + }; }; _missionData set[2,_objects]; _missionData set[3,_crates]; @@ -328,6 +335,9 @@ _missionParameters params[ /* "_endCondition", */ + _secureAsset = false; + _endIfPlayerNear = true; + _endIfAIKilled = true; switch (_endCondition) do { @@ -367,7 +377,7 @@ _missionParameters params[ }; if (random(1) < _chanceLoot) then { - private _extraCrates = [_coords,[[selectRandom blck_crateTypes,[0,0,0],_paraLoot,_paraLootCounts]], "atMissionSpawn","atMissionStartAir", "start", _difficulty] call blck_fnc_spawnMissionCrates; + private _extraCrates = [_coords,[[selectRandom blck_crateTypes,[0,0,0],_paraLoot,_paraLootCounts]], "atMissionSpawn","atMissionSpawnAir", "start", _difficulty] call blck_fnc_spawnMissionCrates; if (blck_cleanUpLootChests) then { _objects append _extraCrates; @@ -439,15 +449,21 @@ _missionParameters params[ { _objects append _crates; }; + private _crateMoney = missionNamespace getVariable (format["blck_crateMoney%1",_difficulty]); + { + [_x,_crateMoney] call blck_fnc_addMoneyToObject; + } forEach _crates; }; }; - if (_spawnCratesTiming isEqualTo "atMissionSpawnGround" && _loadCratesTiming isEqualTo "atMissionCompletion") then + if (_spawnCratesTiming in ["atMissionSpawnGround","atMissionSpawnAir"] && _loadCratesTiming isEqualTo "atMissionCompletion") then { if (!(_secureAsset) || (_secureAsset && (alive _assetSpawned))) then { + private _crateMoney = missionNamespace getVariable (format["blck_crateMoney%1",_difficulty]); { - [_x] call blck_fnc_loadMissionCrate; + [_x] call blck_fnc_loadMissionCrate; + [_x,_crateMoney] call blck_fnc_addMoneyToObject; } forEach _crates; }; }; diff --git a/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_sm_initializeMission.sqf b/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_sm_initializeMission.sqf index c0fe1b9..58345e7 100644 --- a/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_sm_initializeMission.sqf +++ b/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_sm_initializeMission.sqf @@ -28,7 +28,7 @@ if (isNil "_aiGroupParameters") then {_aiGroupParameters = []}; if (isNil "_missionEmplacedWeapons") then {_missionEmplacedWeapons = []}; if (isNil "_vehiclePatrolParameters") then {_vehiclePatrolParameters = []}; if (isNil "_missionLootVehicles") then {_missionLootVehicles = []}; - +if (isNil "_crateMoney") then {_crateMoney = 0}; _markerClass = format["static%1",floor(random(1000000))]; _blck_localMissionMarker = [_markerClass,_missionCenter,"","",_markerColor,_markerType]; if (blck_labelMapMarkers select 0) then @@ -43,25 +43,6 @@ _blck_localMissionMarker set [3,blck_labelMapMarkers select 1]; // Use an arrow [_blck_localMissionMarker] call blck_fnc_spawnMarker; [_missionLandscape] call blck_fnc_sm_spawnObjects; - -{ - //diag_log format["processing _garrisonedBuilding_ASL %1 which = %2",_forEachIndex,_x]; - // ["Land_i_House_Big_02_V2_F",[23650.3,18331.9,3.19],[[0,1,0],[0,0,1]],[true,true],"Red", - _x params["_buildingClassName","_buildingPosnASL","_buildingVectorDirUp","_buildingDamSim","_aiDifficulty","_staticsASL","_unitsASL","_respawnTimer","_noRespawns"]; - private _building = [_buildingClassName,_buildingPosnASL,_buildingVectorDirUp,_buildingDamSim] call blck_fnc_sm_spawnObjectASLVectorDirUp; - [blck_sm_garrisonBuildings_ASL,[_building,_aiDifficulty,_staticsASL,_unitsASL,_respawnTimer,_noRespawns]] call blck_fnc_sm_AddGroupToArray; - //diag_log format["_fnc_sm_initializeMission: blck_sm_garrisonBuildings_ASL updated to: %1",blck_sm_garrisonBuildings_ASL]; -}forEach _garrisonedBuilding_ASLsystem; - -// blcl_sm_garrisonBuilding_relPos -{ - //diag_log format["processing _garrisonedBuilding_relPos %1 which = %2",_forEachIndex,_x]; - _x params["_buildingClassName","_buildingPosnASL","_buildingVectorDirUp","_buildingDamSim","_aiDifficulty","_p","_noStatics","_typesStatics","_noUnits","_respawnTimer","_noRespawns"]; - private _building = [_buildingClassName,_buildingPosnASL,_buildingVectorDirUp,_buildingDamSim] call blck_fnc_sm_spawnObjectASLVectorDirUp; - [blcl_sm_garrisonBuilding_relPos,[_building,_aiDifficulty,_noStatics,_typesStatics,_noUnits,_respawnTimer,_noRespawns]] call blck_fnc_sm_AddGroupToArray; - //diag_log format["_fnc_sm_initializeMission: blcl_sm_garrisonBuilding_relPos updated to: %1",blcl_sm_garrisonBuilding_relPos]; -}forEach _garrisonedBuildings_BuildingPosnSystem; - { [blck_sm_Aircraft,_x] call blck_fnc_sm_AddGroupToArray; @@ -82,7 +63,7 @@ _blck_localMissionMarker set [3,blck_labelMapMarkers select 1]; // Use an arrow uiSleep 30; // spawn loot chests -[_missionLootBoxes,_missionCenter] call blck_fnc_sm_spawnLootContainers; -[_missionLootVehicles,_missionCenter] call blck_fnc_sm_spawnLootContainers; -diag_log format["[blckeagls] Static Mission Spawner: Mission %1 spawned",_mission]; +[_missionLootBoxes,_missionCenter,_crateMoney] call blck_fnc_sm_spawnLootContainers; +[_missionLootVehicles,_missionCenter,_crateMoney] call blck_fnc_sm_spawnLootContainers; +[format["Static Mission Spawner: Mission %1 spawned",_mission]] call blck_fnc_log; diff --git a/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_sm_initializeUMSStaticMission.sqf b/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_sm_initializeUMSStaticMission.sqf index e1ed9a3..e57d06b 100644 --- a/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_sm_initializeUMSStaticMission.sqf +++ b/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_sm_initializeUMSStaticMission.sqf @@ -70,4 +70,4 @@ _blck_localMissionMarker set [3,blck_labelMapMarkers select 1]; // Use an arrow // spawn loot chests [_missionLootBoxes,_missionCenter] call blck_fnc_sm_spawnLootContainers; -diag_log format["[blckeagls] UMS Mission Spawner: Static UMS Mission %1 spawned",_mission]; +[format["UMS Mission Spawner: Static UMS Mission %1 spawned",_mission]] call blck_fnc_log; diff --git a/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_sm_spawnLootContainers.sqf b/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_sm_spawnLootContainers.sqf index 3c7d549..91e4d09 100644 --- a/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_sm_spawnLootContainers.sqf +++ b/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_sm_spawnLootContainers.sqf @@ -10,7 +10,7 @@ */ #include "\q\addons\custom_server\Configs\blck_defines.hpp"; -params["_objectDescriptors","_coords"]; +params["_objectDescriptors","_coords",["_money",-1]]; if !(_objectDescriptors isEqualTo []) then { // Spawn loot crates where specified in _objects using the information for loot parameters provided for each location. @@ -18,6 +18,14 @@ if !(_objectDescriptors isEqualTo []) then // data within the descriptor for each loot crate is organized as follows (not that the _allowDamageSim is included just for backward compatibilty but is not used _x params["_crateClassName","_cratePosASL","_vectorDirUp","_allowDamageSim","_crateLoot","_lootCounts"]; private _crate = [_cratePosASL, _crateClassName] call blck_fnc_spawnCrate; + if (blck_debugLevel >= 3) then + { + [format["_fnc_sm_initializeMission: _money = %1",_money]] call blck_fnc_log; + }; + if (_money > 0) then + { + [_crate,_money] call blck_fnc_addMoneyToObject; + }; [_crate, _crateLoot,_lootCounts] call blck_fnc_fillBoxes; } forEach _objectDescriptors; } @@ -26,6 +34,10 @@ else { _crateType = selectRandom blck_crateTypes; _crate = [_coords,_crateType] call blck_fnc_spawnCrate; + if !(_money == -1) then + { + [_crate,_money] call blck_fnc_addMoneyToObject; + }; [_crate,blck_BoxLoot_Red,blck_lootCountsGreen] call blck_fnc_fillBoxes; }; diff --git a/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_spawnBaseObjects.sqf b/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_spawnBaseObjects.sqf index 4c9afd8..46d0548 100644 --- a/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_spawnBaseObjects.sqf +++ b/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_spawnBaseObjects.sqf @@ -36,7 +36,7 @@ _newObjs pushBack _obj; _obj = createVehicle[(_x select 0),_center vectorAdd (_x select 1),[],0,"CAN_COLLIDE"]; _newObjs pushback _obj; - _obj setDir (_x select 2); + [_obj, (_x select 2)] call blck_fnc_setDirUp; _obj enableDynamicSimulation _sim; _obj allowDamage _dam; if ((typeOf _obj) isKindOf "LandVehicle" || (typeOf _obj) isKindOf "Air" || (typeOf _obj) isKindOf "Sea") then diff --git a/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_spawnCrate.sqf b/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_spawnCrate.sqf index 884ae82..eaa569d 100644 --- a/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_spawnCrate.sqf +++ b/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_spawnCrate.sqf @@ -19,7 +19,7 @@ _crate allowDamage false; _crate enableRopeAttach false; [_crate] call blck_fnc_emptyObject; _crate setPosATL [_coords select 0, _coords select 1, (_coords select 2) + 0.25]; -_crate setDir _crateDir; +[_crate, _crateDir] call blck_fnc_setDirUp; _crate setVectorUp surfaceNormal position _crate; if ((_coords select 2) < 0 || surfaceIsWater (_coords)) then diff --git a/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_spawnEmplacedWeaponArray.sqf b/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_spawnEmplacedWeaponArray.sqf index 195b9f5..265c65c 100644 --- a/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_spawnEmplacedWeaponArray.sqf +++ b/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_spawnEmplacedWeaponArray.sqf @@ -75,7 +75,7 @@ if (_missionEmplacedWeapons isEqualTo []) then } else { _abort = true; _return = grpNull; - diag_log format["[blckeagls] createGroup returned grpNull"]; + ["createGroup returned grpNull","warning"] call blck_fnc_log; }; } forEach _missionEmplacedWeapons; if !(_abort) then diff --git a/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_spawnGarrisonInsideBuilding_relPos.sqf b/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_spawnGarrisonInsideBuilding_relPos.sqf index 4193761..7d17a2e 100644 --- a/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_spawnGarrisonInsideBuilding_relPos.sqf +++ b/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_spawnGarrisonInsideBuilding_relPos.sqf @@ -29,11 +29,10 @@ private _staticsSpawned = []; uiSleep 1; for "_i" from 1 to _statics do { - diag_log format["_fnc_spawnGarrisonInsideBuilding_relPos: _x = %1",_x]; _pos = selectRandom _allBldPsn; _allBldPsn = _allBldPsn - [_pos]; _staticClassName = selectRandom _typesStatics; - _obj = [_staticClassName, [0,0,0], true] call blck_fnc_spawnVehicle; + _obj = [_staticClassName, [0,0,0]] call blck_fnc_spawnVehicle; _obj setVariable["GRG_vehType","emplaced"]; _staticsSpawned pushBack _obj; _obj setPosATL _pos; // (_pos vectorAdd (getPosATL _building)); diff --git a/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_spawnMissionCrates.sqf b/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_spawnMissionCrates.sqf index df6853e..98ee94d 100644 --- a/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_spawnMissionCrates.sqf +++ b/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_spawnMissionCrates.sqf @@ -58,7 +58,7 @@ private _cratesSpawned = []; private _pos = _coords vectorAdd _crateOffset; private _crate = [_pos,_crateType] call blck_fnc_spawnCrate; - _crate setDir _crateDir; + [_crate, _crateDir] call blck_fnc_setDirUp; _crate setVariable["lootArray",_lootArray]; _crate setVariable["lootCounts",_lootCounts]; _crate setVariable["difficulty",_difficulty]; @@ -70,7 +70,7 @@ private _cratesSpawned = []; }forEach _cratesToSpawn; -if (_spawnCrateTiming in ["atMissionEndAir","atMissionStartAir"]) then +if (_spawnCrateTiming in ["atMissionEndAir","atMissionSpawnAir"]) then { [_cratesSpawned] spawn _fnc_dropMissionCrates; }; diff --git a/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_spawnMissionLootVehicles.sqf b/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_spawnMissionLootVehicles.sqf index e0be5c4..acbe0b4 100644 --- a/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_spawnMissionLootVehicles.sqf +++ b/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_spawnMissionLootVehicles.sqf @@ -18,14 +18,8 @@ private _vehs = []; _x params["_vehType","_vehOffset",["_dir",0],"_lootArray","_lootCounts"]; private _pos =_coords vectorAdd _vehOffset; _veh = [_vehType, _pos] call blck_fnc_spawnVehicle; - if (typeName _dir isEqualTo "SCALAR") then - { - _veh setDir _dir; - }; - if (typeName _dir isEqualTo "ARRAY") then - { - _veh setVectorDirAndUp _dir; - }; + [_veh, _dir] call blck_fnc_setDirUp; + _veh lock _lock; if (_loadCrateTiming isEqualTo "atMissionSpawn") then { diff --git a/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_spawnPendingMissions.sqf b/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_spawnPendingMissions.sqf index cbad33f..77be5fd 100644 --- a/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_spawnPendingMissions.sqf +++ b/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_spawnPendingMissions.sqf @@ -20,10 +20,20 @@ if (blck_missionsRunning >= blck_maxSpawnedMissions) exitWith {}; // time to reset timers and spawn something. private _wt = diag_tickTime + _tmin + (random(_tMax - _tMin)); - #define waitTime 5 - #define noActive 2 - _x set[waitTime, _wt]; // _x here is the _missionCategoryDescriptors being evaluated - _x set[noActive, _noActiveMissions + 1]; private _missionInitialized = [_x,selectRandom _missionsData] call blck_fnc_initializeMission; + if (blck_debugLevel >= 3) then + { + if !(_missionInitialized) then + { + [format["fnc_spawnPendingMissions: _missionInitialized = %1",_missionInitialized],"warning"] call blck_fnc_log; + }; + }; + if (_missionInitialized) then + { + #define waitTime 5 + #define noActive 2 + _x set[waitTime, _wt]; // _x here is the _missionCategoryDescriptors being evaluated + _x set[noActive, _noActiveMissions + 1]; + }; }; } forEach blck_missionData; diff --git a/@GMS/addons/custom_server/Compiles/Units/GMS_fnc_spawnUnit.sqf b/@GMS/addons/custom_server/Compiles/Units/GMS_fnc_spawnUnit.sqf index a355c2d..356f671 100644 --- a/@GMS/addons/custom_server/Compiles/Units/GMS_fnc_spawnUnit.sqf +++ b/@GMS/addons/custom_server/Compiles/Units/GMS_fnc_spawnUnit.sqf @@ -22,7 +22,7 @@ if (_headGear isEqualTo []) then {_headGear = [_skillLevel] call blck_fnc_sele if (_vests isEqualTo []) then {_vests = [_skillLevel] call blck_fnc_selectAIVests}; if (_backpacks isEqualTo []) then {_backpacks = [_skillLevel] call blck_fnc_selectAIBackpacks}; -if (isNull _aiGroup) exitWith {diag_log "[blckeagls] ERROR CONDITION:-->> NULL-GROUP Provided to _fnc_spawnUnit"}; +if (isNull _aiGroup) exitWith {["NULL-GROUP Provided to _fnc_spawnUnit"] call blck_fnc_log}; _unit = ObjNull; diff --git a/@GMS/addons/custom_server/Compiles/blck_functions.sqf b/@GMS/addons/custom_server/Compiles/blck_functions.sqf index 20e562f..20094d7 100644 --- a/@GMS/addons/custom_server/Compiles/blck_functions.sqf +++ b/@GMS/addons/custom_server/Compiles/blck_functions.sqf @@ -51,6 +51,7 @@ private _functions = [ ["blck_fnc_getAllDMSMarkers","\q\addons\custom_server\Compiles\Functions\GMS_fnc_getAllDMSMarkers.sqf"], ["blck_fnc_createMissionMarkers","\q\addons\custom_server\Compiles\Functions\GMS_fnc_createMissionMarkers.sqf"], ["blck_fnc_log","\q\addons\custom_server\Compiles\Functions\GMS_fnc_log.sqf"], + ["blck_fnc_setDirUp","\q\addons\custom_server\Compiles\Functions\GMS_fnc_setDirUp.sqf"], // Player-related functions ["blck_fnc_handlePlayerUpdates","\q\addons\custom_server\Compiles\Units\GMS_fnc_handlePlayerUpdates.sqf"], @@ -199,7 +200,7 @@ private _functions = [ #ifdef GRGserver if (isServer) then {blck_fnc_broadcastServerFPS = compileFinal preprocessFileLineNumbers "\q\addons\custom_server\Compiles\Functions\GMS_fnc_broadcastServerFPS.sqf";}; -diag_log "blck_functions loaded using GRGserver settings ---- >>>> "; +["blck_functions loaded using GRGserver settings ---- >>>> "] call blck_fnc_log; #endif diff --git a/@GMS/addons/custom_server/Compiles/blck_variables.sqf b/@GMS/addons/custom_server/Compiles/blck_variables.sqf index a2d60a8..8777869 100644 --- a/@GMS/addons/custom_server/Compiles/blck_variables.sqf +++ b/@GMS/addons/custom_server/Compiles/blck_variables.sqf @@ -52,5 +52,9 @@ blck_activeMissionsList = []; blck_initializedMissionsList = []; blck_blackListedLocations = []; // [ [marker, time]] +blck_validEndStates = ["allUnitsKilled", "playerNear", "allKilledOrPlayerNear","assetSecured"]; +blck_validLootSpawnTimings = ["atMissionSpawnGround","atMissionSpawnAir","atMissionEndGround","atMissionEndAir"]; +blck_validLootLoadTimings = ["atMissionCompletion", "atMissionSpawn"]; + if (blck_debugOn) then {diag_log "[blckeagls] Variables Loaded"}; diff --git a/@GMS/addons/custom_server/Configs/blck_configs.sqf b/@GMS/addons/custom_server/Configs/blck_configs.sqf index e431e94..8eb80bb 100644 --- a/@GMS/addons/custom_server/Configs/blck_configs.sqf +++ b/@GMS/addons/custom_server/Configs/blck_configs.sqf @@ -22,11 +22,11 @@ #ifdef blck_milServer if (true) exitWith { - diag_log format["[blckeagls] Running configs for militarized servers build %1",blck_buildNumber]; + [format["Running configs for militarized servers build %1",blck_buildNumber]] call blck_fnc_log; execVM "\q\addons\custom_server\Configs\blck_configs_mil.sqf"; }; #endif - diag_log format["[blckeagls] Loading configurations for Non-militarized servers build %1",blck_buildNumber]; + [format["Loading configurations for Non-militarized servers build %1",blck_buildNumber]] call blck_fnc_log; /* ************************************** Configurations begin here @@ -122,7 +122,7 @@ /////////////////////////////// blck_killPercentage = 0.999999; // The mission will complete if this fraction of the total AI spawned has been killed. // This facilitates mission completion when one or two AI are spawned into objects. - blck_spawnCratesTiming = "atMissionSpawnGround"; // Choices: "atMissionSpawnGround","atMissionStartAir","atMissionEndGround","atMissionEndAir". + blck_spawnCratesTiming = "atMissionSpawnGround"; // Choices: "atMissionSpawnGround","atMissionSpawnAir","atMissionEndGround","atMissionEndAir". // Crates spawned in the air will be spawned at mission center or the position(s) defined in the mission file and dropped under a parachute. // This sets the default value but can be overridden by defining _spawnCrateTiming in the file defining a particular mission. blck_loadCratesTiming = "atMissionSpawn"; // valid choices are "atMissionCompletion" and "atMissionSpawn"; @@ -253,10 +253,10 @@ //Maximum Spawn time between missions in seconds - blck_TMax_Orange = 520; + blck_TMax_Orange = 560; blck_TMax_Green = 500; - blck_TMax_Blue = 340; - blck_TMax_Red = 400; + blck_TMax_Blue = 360; + blck_TMax_Red = 420; blck_TMax_UMS = 400; @@ -494,12 +494,10 @@ if (toLower(blck_modType) isEqualTo "epoch") then { - execVM "\q\addons\custom_server\Configs\blck_configs_epoch.sqf"; }; if (toLower(blck_modType) isEqualTo "exile") then { - execVM "\q\addons\custom_server\Configs\blck_configs_exile.sqf"; }; if (toLower(blck_modType) isEqualTo "default") then @@ -509,11 +507,11 @@ uiSleep 10; if (blck_useConfigsGeneratedLoadouts) then { - diag_log format["[blckeagls] Dynamic Configs Enabled"]; + ["Dynamic Configs Enabled"] call blck_fnc_log; execVM "\q\addons\custom_server\Configs\blck_dynamicConfigs.sqf"; } else { }; blck_configsLoaded = true; - diag_log format["<--- blck_configs loaded at %1 --->",diag_tickTime]; + //diag_log format["<--- blck_configs loaded at %1 --->",diag_tickTime]; diff --git a/@GMS/addons/custom_server/Configs/blck_configs_default.sqf b/@GMS/addons/custom_server/Configs/blck_configs_default.sqf index c2d43e0..52a08a5 100644 --- a/@GMS/addons/custom_server/Configs/blck_configs_default.sqf +++ b/@GMS/addons/custom_server/Configs/blck_configs_default.sqf @@ -12,7 +12,7 @@ #include "\q\addons\custom_server\Configs\blck_defines.hpp"; #include "\q\addons\custom_server\init\build.sqf"; -diag_log format["[blckeagls] loading default configurations for blckeagls build %1",blck_buildNumber]; +//diag_log format["[blckeagls] loading default configurations for blckeagls build %1",blck_buildNumber]; //////////// // default settings //////////// @@ -52,7 +52,7 @@ AI WEAPONS, UNIFORMS, VESTS AND GEAR blck_maximumItemPriceInAI_Loadouts = 100; - blck_lightlyArmed_ARMA3 = [ + blck_lightlyArmed_ARMA3 = [ "B_G_Offroad_01_armed_F", "O_G_Offroad_01_armed_F", "B_MRAP_01_gmg_F", @@ -80,22 +80,20 @@ AI WEAPONS, UNIFORMS, VESTS AND GEAR blck_tracked_APC_ARMA3 = [ "B_APC_Tracked_01_rcws_F", "B_APC_Tracked_01_CRV_F", - "B_APC_Tracked_01_AA_F", "O_APC_Tracked_02_cannon_F", - "O_APC_Tracked_02_AA_F", "O_APC_Wheeled_02_rcws_F", "I_APC_tracked_03_cannon_F" ]; blck_Tanks_ARMA3 = [ //"B_MBT_01_arty_F", - "B_MBT_01_mlrs_F", + //"B_MBT_01_mlrs_F", "B_MBT_01_TUSK_F", "O_MBT_02_cannon_F", //"O_MBT_02_arty_F", "I_MBT_03_cannon_F" ]; - + #ifdef useCUP blck_APC_CUP = [ "CUP_B_Mastiff_GMG_GB_D", "CUP_B_Mastiff_HMG_GB_D", @@ -124,35 +122,36 @@ AI WEAPONS, UNIFORMS, VESTS AND GEAR blck_Tanks_CUP = [ "CUP_B_M2A3Bradley_USA_D", - "CUP_B_M113_desert_USA", - "CUP_B_M163_USA", + //"CUP_B_M113_desert_USA", + //"CUP_B_M163_USA", "CUP_B_M6LineBacker_USA_D", "CUP_B_M1A1_DES_US_Army", "CUP_B_M1A2_TUSK_MG_DES_US_Army", - "CUP_B_AAV_USMC", - "CUP_B_M270_DPICM_USA", + //"CUP_B_AAV_USMC", + //"CUP_B_M270_DPICM_USA", "CUP_B_ZSU23_CDF", - "CUP_B_BMP2_CDF", + //"CUP_B_BMP2_CDF", "CUP_B_T72_CDF", - "CUP_I_T34_NAPA", + //"CUP_I_T34_NAPA", "CUP_B_Challenger2_NATO", - "CUP_B_FV432_Bulldog_GB_D_RWS", - "CUP_B_FV432_Bulldog_GB_D", + //"CUP_B_FV432_Bulldog_GB_D_RWS", + //"CUP_B_FV432_Bulldog_GB_D", "CUP_B_FV510_GB_D_SLAT", - "CUP_B_MCV80_GB_D_SLAT", - "CUP_O_2S6_RU", + //"CUP_B_MCV80_GB_D_SLAT", + //"CUP_O_2S6_RU", "CUP_O_BMP3_RU", "CUP_O_T90_RU", - "CUP_O_T55_SLA", - "CUP_O_BMP1P_TKA", - "CUP_B_M270_DPICM_USA", - "CUP_B_M2Bradley_USA_W", - "CUP_B_FV510_GB_D", - "CUP_B_MCV80_GB_D", - "CUP_B_M7Bradley_USA_D", - "CUP_O_2S6_RU", - "CUP_O_BMP1_TKA" - ]; + "CUP_O_T55_SLA" //, + //"CUP_O_BMP1P_TKA", + //"CUP_B_M270_DPICM_USA", + //"CUP_B_M2Bradley_USA_W", + //"CUP_B_FV510_GB_D", + //"CUP_B_MCV80_GB_D", + //"CUP_B_M7Bradley_USA_D", + //"CUP_O_2S6_RU", + //"CUP_O_BMP1_TKA"" + ]; + #endif blck_AIPatrolVehicles = ["B_LSV_01_armed_F","I_C_Offroad_02_LMG_F","B_T_LSV_01_armed_black_F","B_T_LSV_01_armed_olive_F","B_T_LSV_01_armed_sand_F"]; // Type of vehicle spawned to defend AI bases blck_AIPatrolVehiclesBlue = blck_AIPatrolVehicles; @@ -964,5 +963,5 @@ blck_contructionLoot = blck_BoxLoot_Orange; blck_highPoweredLoot = blck_BoxLoot_Orange; blck_supportLoot = blck_BoxLoot_Orange; -diag_log "[blckeagls] Default Configurations Loaded"; +["[blckeagls] Default Configurations Loaded"] call blck_fnc_log; diff --git a/@GMS/addons/custom_server/Configs/blck_configs_default_mil.sqf b/@GMS/addons/custom_server/Configs/blck_configs_default_mil.sqf index 54c5125..7d72d4d 100644 --- a/@GMS/addons/custom_server/Configs/blck_configs_default_mil.sqf +++ b/@GMS/addons/custom_server/Configs/blck_configs_default_mil.sqf @@ -952,5 +952,5 @@ blck_contructionLoot = blck_BoxLoot_Orange; blck_highPoweredLoot = blck_BoxLoot_Orange; blck_supportLoot = blck_BoxLoot_Orange; -diag_log "[blckeagls] Default Configurations Loaded"; +["Default Configurations Loaded"] call blck_fnc_log; diff --git a/@GMS/addons/custom_server/Configs/blck_configs_epoch.sqf b/@GMS/addons/custom_server/Configs/blck_configs_epoch.sqf index a4d56a6..a2e9dcf 100644 --- a/@GMS/addons/custom_server/Configs/blck_configs_epoch.sqf +++ b/@GMS/addons/custom_server/Configs/blck_configs_epoch.sqf @@ -12,7 +12,7 @@ #include "\q\addons\custom_server\Configs\blck_defines.hpp"; #include "\q\addons\custom_server\init\build.sqf"; -diag_log format["[blckeagls] loading configurations for Epoch for blckeagls build %1",blck_buildNumber]; +[format["Loading configurations for Epoch for blckeagls build %1",blck_buildNumber]] call blck_fnc_log; //////////// // Epoch-specific settings //////////// @@ -1177,5 +1177,5 @@ blck_contructionLoot = blck_BoxLoot_Orange; blck_highPoweredLoot = blck_BoxLoot_Orange; blck_supportLoot = blck_BoxLoot_Orange; -diag_log "[blckeagls] Configurations for Epoch Loaded"; +["Configurations for Epoch Loaded"] call blck_fnc_log; diff --git a/@GMS/addons/custom_server/Configs/blck_configs_epoch_mil.sqf b/@GMS/addons/custom_server/Configs/blck_configs_epoch_mil.sqf index 64d7ed9..ab7da7a 100644 --- a/@GMS/addons/custom_server/Configs/blck_configs_epoch_mil.sqf +++ b/@GMS/addons/custom_server/Configs/blck_configs_epoch_mil.sqf @@ -1094,5 +1094,5 @@ for examples of how you can do this see \Major\Compositions.sqf blck_highPoweredLoot = blck_BoxLoot_Orange; blck_supportLoot = blck_BoxLoot_Orange; - diag_log "[blckeagls] Configurations for Epoch Loaded"; + ["Configurations for Epoch Loaded"] call blck_fnc_log; diff --git a/@GMS/addons/custom_server/Configs/blck_configs_exile.sqf b/@GMS/addons/custom_server/Configs/blck_configs_exile.sqf index df6fb37..1e5e885 100644 --- a/@GMS/addons/custom_server/Configs/blck_configs_exile.sqf +++ b/@GMS/addons/custom_server/Configs/blck_configs_exile.sqf @@ -17,11 +17,11 @@ #ifdef blck_milServer if (true) exitWith { - diag_log "[blckeagls] running blck_configs_exile_mil for militarized servers"; + ["Running blck_configs_exile_mil for militarized servers"] call blck_fnc_log; execVM "\q\addons\custom_server\Configs\blck_configs_exile_mil.sqf"; }; #endif -diag_log "[blckeagls] Loading Exile-specific configs for Non-militarized servers: blck_configs_exile.sqf"; +["Loading Exile-specific configs for Non-militarized servers: blck_configs_exile.sqf"] call blck_fnc_log; //////////// // Exile-specific settings //////////// @@ -1272,4 +1272,4 @@ blck_highPoweredLoot = [ ] ]; -diag_log format["[blckeagls] Configurations for Exile Loaded"]; +["Configurations for Exile Loaded"] call blck_fnc_log; diff --git a/@GMS/addons/custom_server/Configs/blck_configs_exile_mil.sqf b/@GMS/addons/custom_server/Configs/blck_configs_exile_mil.sqf index cf33878..aa8fc5a 100644 --- a/@GMS/addons/custom_server/Configs/blck_configs_exile_mil.sqf +++ b/@GMS/addons/custom_server/Configs/blck_configs_exile_mil.sqf @@ -1321,5 +1321,5 @@ blck_highPoweredLoot = [ ] ]; - diag_log format["[blckeagls] Configurations for Exile Loaded"]; + ["Configurations for Exile Loaded"] call blck_fnc_log; diff --git a/@GMS/addons/custom_server/Configs/blck_configs_mil.sqf b/@GMS/addons/custom_server/Configs/blck_configs_mil.sqf index 476ff73..779c5d8 100644 --- a/@GMS/addons/custom_server/Configs/blck_configs_mil.sqf +++ b/@GMS/addons/custom_server/Configs/blck_configs_mil.sqf @@ -12,7 +12,7 @@ #include "\q\addons\custom_server\Configs\blck_defines.hpp"; #include "\q\addons\custom_server\init\build.sqf" - diag_log format["[blckeagls] Loading blck_configs_mil.sqf for Militarized Servers for blckeagls build %1",blck_buildNumber]; + [format["Loading blck_configs_mil.sqf for Militarized Servers for blckeagls build %1",blck_buildNumber]] call blck_fnc_log; /*************************************************************** BLCKEAGLS SUPPLEMENTAL MODULES @@ -98,7 +98,7 @@ blck_missionEndCondition = "playerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear" blck_killPercentage = 0.99999999999; // The mission will complete if this fraction of the total AI spawned has been killed. // This facilitates mission completion when one or two AI are spawned into objects. - blck_spawnCratesTiming = "atMissionSpawnGround"; // Choices: "atMissionSpawnGround","atMissionStartAir","atMissionEndGround","atMissionEndAir". + blck_spawnCratesTiming = "atMissionSpawnGround"; // Choices: "atMissionSpawnGround","atMissionSpawnAir","atMissionEndGround","atMissionEndAir". // Crates spawned in the air will be spawned at mission center or the position(s) defined in the mission file and dropped under a parachute. // This sets the default value but can be overridden by defining _spawnCrateTiming in the file defining a particular mission. blck_loadCratesTiming = "atMissionSpawn"; // valid choices are "atMissionCompletion" and "atMissionSpawn"; @@ -231,18 +231,18 @@ //////////////////// // Reduce to 1 sec for immediate spawns, or longer if you wish to space the missions out - blck_TMin_Orange = 250; - blck_TMin_Green = 200; - blck_TMin_Blue = 120; - blck_TMin_Red = 150; - blck_TMin_UMS = 180; + blck_TMin_Orange = 480; + blck_TMin_Green = 420; + blck_TMin_Blue = 300; + blck_TMin_Red = 360; + blck_TMin_UMS = 300; //Maximum Spawn time between missions in seconds - blck_TMax_Orange = 360; - blck_TMax_Green = 300; - blck_TMax_Blue = 200; - blck_TMax_Red = 250; - blck_TMax_UMS = 200; + blck_TMax_Orange = 560; + blck_TMax_Green = 500; + blck_TMax_Blue = 360; + blck_TMax_Red = 420; + blck_TMax_UMS = 400; /////////////////////////////// // AI VEHICLE PATROL PARAMETERS @@ -422,17 +422,17 @@ if (toLower(blck_modType) isEqualTo "epoch") then { - diag_log format["[blckeagls] Loading Mission System using Parameters for %1 for militarized servers",blck_modType]; + [format[" Loading Mission System using Parameters for %1 for militarized servers",blck_modType]] call blck_fnc_log; execVM "\q\addons\custom_server\Configs\blck_configs_epoch_mil.sqf"; }; if (toLower(blck_modType) isEqualTo "exile") then { - diag_log format["[blckeagls] Loading Mission System using Parameters for %1 for militarized servers",blck_modType]; + [format[" Loading Mission System using Parameters for %1 for militarized servers",blck_modType]] call blck_fnc_log; execVM "\q\addons\custom_server\Configs\blck_configs_exile_mil.sqf"; }; if (toLower(blck_modType) isEqualTo "default") then { - diag_log format["[blckeagls] Loading Mission System using Parameters for %1 for militarized servers",blck_modType]; + diag_log format[" Loading Mission System using Parameters for %1 for militarized servers",blck_modType]] call blck_fnc_log; execVM "\q\addons\custom_server\Configs\blck_configs_default_mil.sqf"; }; //waitUntil{!isNil "blck_useConfigsGeneratedLoadouts"}; @@ -440,7 +440,7 @@ uiSleep 10; if (blck_useConfigsGeneratedLoadouts) then { - diag_log format["[blckeagls] Dynamic Configs Enabled"]; + [" Dynamic Configs Enabled"] call blck_fnc_log; execVM "\q\addons\custom_server\Configs\blck_dynamicConfigs.sqf"; }; diff --git a/@GMS/addons/custom_server/Missions/Blue/IDAP.sqf b/@GMS/addons/custom_server/Missions/Blue/IDAP.sqf new file mode 100644 index 0000000..94c6e69 --- /dev/null +++ b/@GMS/addons/custom_server/Missions/Blue/IDAP.sqf @@ -0,0 +1,143 @@ +/* + Mission Template by Ghostrider [GRG] + Mission Compositions by Bill prepared for ghostridergaming + Copyright 2016 + Last modified 3/20/17 + + -------------------------- + License + -------------------------- + All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License. + + http://creativecommons.org/licenses/by-nc-sa/4.0/ +*/ +#include "\q\addons\custom_server\Configs\blck_defines.hpp"; +#include "\q\addons\custom_server\Missions\privateVars.sqf"; + +//diag_log "[blckeagls] Spawning Blue Mission with template = default"; +_crateLoot = blck_BoxLoot_Blue; +_lootCounts = blck_lootCountsBlue; +_startMsg = "A IDAP HQ was sighted in a nearby sector! Check the Blue marker on your map for the location!"; +_endMsg = "The IDAP HQ at the Blue Marker is under survivor control!"; +_markerLabel = ""; +_markerType = ["ELLIPSE",[200,200],"Solid"]; +_markerColor = "ColorBlue"; +_markerMissionName = "IDAP"; +_missionLandscapeMode = "precise"; // acceptable values are "none","random","precise" + +////////// +// Past the output of the script here +_garrisonedBuildings_BuildingPosnSystem = [ +]; + +_garrisonedBuilding_ATLsystem = [ + ["Land_Cargo_Patrol_V3_F",[-24.0081,2.26978,-0.00143814],126.833,true,true,[["B_G_HMG_02_high_F",[-0.0534668,1.83252,4.38749],311.417]],[]], + ["Land_Cargo_Patrol_V3_F",[-5.29565,-28.9109,-0.00143814],1.92,true,true,[["B_G_HMG_02_high_F",[1.3645,-1.13159,4.38749],184.956]],[]], + ["Land_Cargo_HQ_V3_F",[-0.00732422,-3.21069,-0.00143814],270.541,true,true,[["B_G_HMG_02_high_F",[1.68311,6.03589,3.16996],360]],[]] +]; + + +_missionLandscape = [ + ["Land_Sign_WarningMilitaryArea_F",[-7.08057,-34.5996,-0.00143862],2.31973,true,true], + ["Land_CncShelter_F",[-11.4443,-31.9636,-0.00143862],0,true,true], + ["Land_CncShelter_F",[-11.4595,-33.4424,-0.00143862],0,true,true], + ["Land_HBarrier_Big_F",[-13.7441,-29.9917,-0.00143862],270.667,true,true], + ["Land_HBarrier_Big_F",[-28.533,-12.366,-0.00143862],92.486,true,true], + ["Land_HBarrier_Big_F",[-25.606,-19.6677,-0.00143862],223.764,true,true], + ["Land_HBarrier_Big_F",[-18.7449,-24.3645,-0.00143862],29.6621,true,true], + ["Land_HBarrier_Big_F",[-9.21753,-20.6865,-0.00143862],92.486,true,true], + ["Land_HBarrier_Big_F",[-9.28906,-28.9602,-0.00143862],92.486,true,true], + ["CamoNet_OPFOR_big_F",[-21.7307,-10.7373,1.64043],272.913,true,true], + ["Land_Cargo_House_V3_F",[-13.5071,0.647949,-0.00143862],0.832826,true,true], + ["Land_HBarrier_Big_F",[-8.40747,-6.52612,-0.00143862],269.796,true,true], + ["Land_HBarrier_Big_F",[-20.4199,6.59521,-0.00143862],180.674,true,true], + ["Land_HBarrier_Big_F",[-11.9136,6.71753,-0.00143862],180.674,true,true], + ["Land_HBarrier_Big_F",[-28.7576,-3.9104,-0.00143862],269.796,true,true], + ["Land_HBarrier_Big_F",[-8.60986,1.66675,-0.00143862],269.796,true,true], + ["Land_HBarrier_Big_F",[-26.3406,3.49731,-0.00143862],305.711,true,true], + ["CamoNet_OPFOR_F",[5.36572,-16.136,0.610557],90.0482,true,true], + ["Land_HBarrier_Big_F",[0.511719,-24.9692,-0.00143862],2.055,true,true], + ["Land_HBarrier_Big_F",[6.54102,-21.916,-0.00143862],307.294,true,true], + ["Land_HBarrier_Big_F",[-1.5127,-29.9829,-0.00143862],270.667,true,true], + ["Land_HBarrier_Big_F",[8.75342,-14.7712,-0.00143862],269.796,true,true], + ["Land_HBarrier_Big_F",[-6.03955,-33.3083,-0.00143862],2.055,true,true], + ["Land_HBarrier_5_F",[-5.41772,-20.895,-0.00143862],2.05508,true,true], + ["Land_HBarrier_Big_F",[8.23633,2.08301,-0.00143862],269.796,true,true], + ["Land_HBarrier_Big_F",[-3.49609,6.90259,-0.00143862],180.674,true,true], + ["Land_HBarrier_Big_F",[8.43506,-6.2915,-0.00143862],269.796,true,true], + ["Land_HBarrier_Big_F",[4.94263,6.96313,-0.00143862],180.674,true,true], + ["CargoNet_01_barrels_F",[-22.2239,-18.2131,-0.00143814],0.000125958,true,true], + ["CargoNet_01_barrels_F",[6.12988,-10.5715,-0.00143862],0.000316873,true,true], + ["CargoNet_01_barrels_F",[4.43457,-19.3284,-0.00143862],3.40987e-006,true,true] +]; + +_missionLootBoxes = [ +]; + +_missionLootVehicles = [ +]; + +_missionPatrolVehicles = [ + ["B_G_Offroad_01_armed_F",[3.04663,-40.3821,0.00804186],262.322] +]; + +_submarinePatrolParameters = [ +]; + +_airPatrols = [ +]; + +_missionEmplacedWeapons = [ + +]; + +_missionGroups = [ + //[[-19.4963,-14.0864,4.76837e-007],3,6,"Red",30,45], + //[[-14.4426,-4.01489,4.76837e-007],3,6,"Red",30,45], + //[[-1.97192,-13.9941,4.76837e-007],3,6,"Red",30,45] +]; + + + +////////// +// The lines below define additional variables you may wish to configure. + + +// Change _useMines to true/false below to enable mission-specific settings. +_useMines = blck_useMines; +_minNoAI = blck_MinAI_Blue; +_maxNoAI = blck_MaxAI_Blue; +_noAIGroups = blck_AIGrps_Blue; +_noVehiclePatrols = blck_SpawnVeh_Blue; +_noEmplacedWeapons = blck_SpawnEmplaced_Blue; +//_uniforms = blck_SkinList; +//_headgear = blck_headgear; + +_chancePara = 0.75; // Setting this in the mission file overrides the defaults +_noPara = 5; // Setting this in the mission file overrides the defaults +_paraTriggerDistance = 400; // Distance from mission at which a player triggers these reinforcements and any supplemental loot. // To have paras spawn at the time the mission spawns with/without accompanying loot set this to 0. +_paraSkill = "Blue"; // Choose any skill you like; bump up skill or add AI to justify more valuable loot. + +_chanceLoot = 0.7; +private _lootIndex = selectRandom[1,2,3,4]; +private _paralootChoices = [blck_contructionLoot,blck_contructionLoot,blck_highPoweredLoot,blck_supportLoot]; +private _paralootCountsChoices = [[0,0,0,10,10,0],[0,0,0,10,10,0],[10,10,0,0,0,0],[0,0,0,0,15,0]]; +_paraLoot = _paralootChoices select _lootIndex; +_paraLootCounts = _paralootCountsChoices select _lootIndex; // Throw in something more exotic than found at a normal blue mission. + +_spawnCratesTiming = blck_spawnCratesTiming; // Choices: "atMissionSpawnGround","atMissionEndGround","atMissionEndAir". + // Crates spawned in the air will be spawned at mission center or the position(s) defined in the mission file and dropped under a parachute. + // This sets the default value but can be overridden by defining _spawnCrateTiming in the file defining a particular mission. +_loadCratesTiming = blck_loadCratesTiming; // valid choices are "atMissionCompletion" and "atMissionSpawn"; + // Pertains only to crates spawned at mission spawn. + // This sets the default but can be overridden for specific missions by defining _loadCratesTiming + + // Examples: + // To spawn crates at mission start loaded with gear set blck_spawnCratesTiming = "atMissionSpawnGround" && blck_loadCratesTiming = "atMissionSpawn" + // To spawn crates at mission start but load gear only after the mission is completed set blck_spawnCratesTiming = "atMissionSpawnGround" && blck_loadCratesTiming = "atMissionCompletion" + // To spawn crates on the ground at mission completion set blck_spawnCratesTiming = "atMissionEndGround" // Note that a loaded crate will be spawned. + // To spawn crates in the air and drop them by chutes set blck_spawnCratesTiming = "atMissionEndAir" // Note that a loaded crate will be spawned. +_endCondition = allKilledOrPlayerNear; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear" + // Setting this in the mission file overrides the defaults + +#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf"; diff --git a/@GMS/addons/custom_server/Missions/Blue/Service_point.sqf b/@GMS/addons/custom_server/Missions/Blue/Service_point.sqf new file mode 100644 index 0000000..7a2550f --- /dev/null +++ b/@GMS/addons/custom_server/Missions/Blue/Service_point.sqf @@ -0,0 +1,162 @@ +/* + Mission Template by Ghostrider [GRG] + Mission Compositions by Bill prepared for ghostridergaming + Copyright 2016 + Last modified 3/20/17 + + -------------------------- + License + -------------------------- + All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License. + + http://creativecommons.org/licenses/by-nc-sa/4.0/ +*/ +#include "\q\addons\custom_server\Configs\blck_defines.hpp"; +#include "\q\addons\custom_server\Missions\privateVars.sqf"; + +//diag_log "[blckeagls] Spawning Blue Mission with template = default"; +_crateLoot = blck_BoxLoot_Blue; +_lootCounts = blck_lootCountsBlue; +_startMsg = "A Service Point was sighted in a nearby sector! Check the Blue marker on your map for the location!"; +_endMsg = "The Service Point at the Blue Marker is under survivor control!"; +_markerLabel = ""; +_markerType = ["ELLIPSE",[200,200],"Solid"]; +_markerColor = "ColorBlue"; +_markerMissionName = "Service Point"; +_missionLandscapeMode = "precise"; // acceptable values are "none","random","precise" + +////////// +// Past the output of the script here +_garrisonedBuildings_BuildingPosnSystem = [ +]; + +_garrisonedBuilding_ATLsystem = [ + ["Land_Cargo_Patrol_V1_F",[-19.2107,-30.5151,-0.00143814],0,true,true,[["B_G_HMG_02_high_F",[1.16187,-1.16968,4.38749],177.998],["B_G_HMG_02_high_F",[-2.16211,13.6677,0.0444469],95.0891]],[]], + ["Land_Cargo_Patrol_V1_F",[-0.0581055,-30.4399,-0.00143814],0,true,true,[["B_G_HMG_02_high_F",[-1.44629,-1.22632,4.38749],184.401]],[]] +]; + +_missionLandscape = [ + ["Land_RoadBarrier_01_F",[-9.31006,-35.3601,-0.00143862],0,true,true], + ["Land_Sign_WarningMilitaryArea_F",[-2.61255,-36.5635,-0.00143862],359.892,true,true], + ["Land_HBarrierBig_F",[-24.6367,-14.2813,-0.00143862],271.204,true,true], + ["Land_HBarrierBig_F",[-18.7668,-25.9514,-0.00143862],0.792412,true,true], + ["Land_HBarrierBig_F",[-24.3547,-22.8525,-0.00143862],269.27,true,true], + ["Land_HBarrierBig_F",[-24.0122,-31.4038,-0.00143862],269.27,true,true], + ["Land_HBarrierBig_F",[-18.7783,-34.6914,-0.00143862],0.792412,true,true], + ["Land_PaperBox_closed_F",[-21.1392,-13.5237,-0.00143862],0,true,true], + ["CamoNet_INDP_open_F",[-20.3684,-17.9075,-0.00143862],93.326,true,true], + ["Land_Device_assembled_F",[-4.73267,4.11304,-0.00143862],0,true,true], + ["Land_Cargo_House_V1_F",[-12.1433,1.5144,-0.00143862],359.944,true,true], + ["Land_Cargo_House_V1_F",[-18.6406,-5.72363,-0.00143862],270.169,true,true], + ["Land_HBarrierBig_F",[-13.1831,7.9502,-0.00143862],181.375,true,true], + ["Land_HBarrierBig_F",[-24.7129,-5.87695,-0.00143862],271.204,true,true], + ["Land_HBarrierBig_F",[-4.71753,8.1543,-0.00143862],181.375,true,true], + ["Land_HBarrierBig_F",[-24.738,2.64307,-0.00143862],271.568,true,true], + ["Land_HBarrierBig_F",[-21.6355,7.85986,-0.00143862],181.375,true,true], + ["CargoPlaftorm_01_green_F",[-19.5588,2.55005,-0.00143862],0,true,true], + ["Land_HBarrierBig_F",[-0.253174,-26.094,-0.00143862],0.792412,true,true], + ["Land_HBarrierBig_F",[13.2122,-14.0542,-0.00143862],270.301,true,true], + ["Land_HBarrierBig_F",[8.23169,-25.9136,-0.00143862],359.697,true,true], + ["Land_HBarrierBig_F",[-0.206543,-34.8694,-0.00143862],359.697,true,true], + ["Land_HBarrierBig_F",[13.2056,-22.5811,-0.00143862],271.956,true,true], + ["Land_HBarrierBig_F",[4.76733,-31.5369,-0.00143862],271.956,true,true], + ["Land_BagFence_Long_F",[15.9219,-12.9792,-0.00143862],359.93,true,true], + ["Land_PaperBox_closed_F",[2.95581,-21.4031,-0.00143862],327.535,true,true], + ["Land_PaperBox_closed_F",[9.46167,-21.7529,-0.00143862],88.9779,true,true], + ["Land_BagFence_Corner_F",[17.7617,-12.5837,-0.00143862],89.1122,true,true], + ["Land_MedicalTent_01_wdl_generic_outer_F",[6.18726,-18.9663,-0.00143862],90.6678,true,true], + ["Land_BagFence_Short_F",[18.0669,-11.1177,-0.00143862],270.301,true,true], + ["Land_Cargo_House_V1_F",[18.2529,0.919678,-0.00143862],359.944,true,true], + ["Land_RoadBarrier_01_F",[13.8696,-5.63843,-0.00143862],89.9252,true,true], + ["Land_HBarrierBig_F",[13.0317,2.95288,-0.00143862],271.956,true,true], + ["Land_HBarrierBig_F",[3.65161,8.21143,-0.00143862],181.375,true,true], + ["Land_HBarrierBig_F",[9.88525,8.16089,-0.00143862],181.89,true,true], + // + ["B_Slingload_01_Repair_F",[-34.0637,-5.31909,-0.00143814],286.86,true,true], + ["B_Slingload_01_Ammo_F",[-33.7891,1.13989,-0.00143719],1.26154,true,true], + ["CargoNet_01_barrels_F",[-20.8491,-21.4822,-0.00143909],326.531,true,true], + ["Land_Pod_Heli_Transport_04_fuel_F",[-19.8706,2.42847,7.17512],360,true,true], + ["CargoNet_01_barrels_F",[-7.34326,5.33838,-0.00143862],36,true,true], + ["B_Slingload_01_Cargo_F",[-28.2134,-3.27197,-0.00143862],347.458,true,true], + ["B_Slingload_01_Ammo_F",[-1.96753,20.9294,-0.00143814],13.8038,true,true], + ["B_Slingload_01_Fuel_F",[-4.57788,15.0125,-0.00143862],307.628,true,true], + ["CargoNet_01_barrels_F",[5.34155,-21.6731,0.269362],13.203,true,true], + ["B_Slingload_01_Repair_F",[2.70557,16.3206,-0.00143814],299.402,true,true], + ["CargoNet_01_barrels_F",[2.15674,5.51074,-0.00143957],326.531,true,true], + ["B_Slingload_01_Cargo_F",[8.86084,17.0483,-0.00143862],360,true,true], + ["Land_RepairDepot_01_green_F",[5.00415,1.97778,-0.000936985],180.302,true,true] +]; + +_missionLootBoxes = [ +]; + +_missionLootVehicles = [ +]; + +_missionPatrolVehicles = [ + ["B_G_Offroad_01_armed_F",[-8.93213,-44.4866,0.00822115],273.053], + ["B_G_Offroad_01_armed_F",[16.876,-5.17969,0.00825357],294.284] +]; + +_submarinePatrolParameters = [ +]; + +_airPatrols = [ +]; + +_missionEmplacedWeapons = [ + //["B_G_HMG_02_high_F",[-21.3728,-16.8474,0.0430088],95.0891], + //["B_G_HMG_02_high_F",[16.0146,-12.0088,0.043014],89.3354] +]; + +_missionGroups = [ + //[[-18.5681,-19.4417,4.76837e-007],3,6,"Red",30,45], + //[[-9.15723,-30.8086,4.76837e-007],3,6,"Red",30,45], + //[[7.19946,-18.9819,4.76837e-007],3,6,"Red",30,45], + //[[3.74561,-8.16309,4.76837e-007],3,6,"Red",30,45] +]; + + + +////////// +// The lines below define additional variables you may wish to configure. + + +// Change _useMines to true/false below to enable mission-specific settings. +_useMines = blck_useMines; +_minNoAI = blck_MinAI_Blue; +_maxNoAI = blck_MaxAI_Blue; +_noAIGroups = blck_AIGrps_Blue; +_noVehiclePatrols = blck_SpawnVeh_Blue; +_noEmplacedWeapons = blck_SpawnEmplaced_Blue; +//_uniforms = blck_SkinList; +//_headgear = blck_headgear; + +_chancePara = 0.75; // Setting this in the mission file overrides the defaults +_noPara = 5; // Setting this in the mission file overrides the defaults +_paraTriggerDistance = 400; // Distance from mission at which a player triggers these reinforcements and any supplemental loot. // To have paras spawn at the time the mission spawns with/without accompanying loot set this to 0. +_paraSkill = "Blue"; // Choose any skill you like; bump up skill or add AI to justify more valuable loot. + +_chanceLoot = 0.7; +private _lootIndex = selectRandom[1,2,3,4]; +private _paralootChoices = [blck_contructionLoot,blck_contructionLoot,blck_highPoweredLoot,blck_supportLoot]; +private _paralootCountsChoices = [[0,0,0,10,10,0],[0,0,0,10,10,0],[10,10,0,0,0,0],[0,0,0,0,15,0]]; +_paraLoot = _paralootChoices select _lootIndex; +_paraLootCounts = _paralootCountsChoices select _lootIndex; // Throw in something more exotic than found at a normal blue mission. + +_spawnCratesTiming = blck_spawnCratesTiming; // Choices: "atMissionSpawnGround","atMissionEndGround","atMissionEndAir". + // Crates spawned in the air will be spawned at mission center or the position(s) defined in the mission file and dropped under a parachute. + // This sets the default value but can be overridden by defining _spawnCrateTiming in the file defining a particular mission. +_loadCratesTiming = blck_loadCratesTiming; // valid choices are "atMissionCompletion" and "atMissionSpawn"; + // Pertains only to crates spawned at mission spawn. + // This sets the default but can be overridden for specific missions by defining _loadCratesTiming + + // Examples: + // To spawn crates at mission start loaded with gear set blck_spawnCratesTiming = "atMissionSpawnGround" && blck_loadCratesTiming = "atMissionSpawn" + // To spawn crates at mission start but load gear only after the mission is completed set blck_spawnCratesTiming = "atMissionSpawnGround" && blck_loadCratesTiming = "atMissionCompletion" + // To spawn crates on the ground at mission completion set blck_spawnCratesTiming = "atMissionEndGround" // Note that a loaded crate will be spawned. + // To spawn crates in the air and drop them by chutes set blck_spawnCratesTiming = "atMissionEndAir" // Note that a loaded crate will be spawned. +_endCondition = allKilledOrPlayerNear; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear" + // Setting this in the mission file overrides the defaults + +#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf"; diff --git a/@GMS/addons/custom_server/Missions/Blue/Toxin.sqf b/@GMS/addons/custom_server/Missions/Blue/Toxin.sqf new file mode 100644 index 0000000..8c35c92 --- /dev/null +++ b/@GMS/addons/custom_server/Missions/Blue/Toxin.sqf @@ -0,0 +1,166 @@ +/* + Mission Template by Ghostrider [GRG] + Mission Compositions by Bill prepared for ghostridergaming + Copyright 2016 + Last modified 3/20/17 + + -------------------------- + License + -------------------------- + All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License. + + http://creativecommons.org/licenses/by-nc-sa/4.0/ +*/ +#include "\q\addons\custom_server\Configs\blck_defines.hpp"; +#include "\q\addons\custom_server\Missions\privateVars.sqf"; + +//diag_log "[blckeagls] Spawning Blue Mission with template = default"; +_crateLoot = blck_BoxLoot_Blue; +_lootCounts = blck_lootCountsBlue; +_startMsg = "A Toxin Center was sighted in a nearby sector! Check the Blue marker on your map for the location!"; +_endMsg = "The Toxin Center at the Blue Marker is under survivor control!"; +_markerLabel = ""; +_markerType = ["ELLIPSE",[200,200],"Solid"]; +_markerColor = "ColorBlue"; +_markerMissionName = "Toxin Center"; +_missionLandscapeMode = "precise"; // acceptable values are "none","random","precise" + +////////// +// Past the output of the script here +_garrisonedBuildings_BuildingPosnSystem = [ +]; + +_garrisonedBuilding_ATLsystem = [ + ["Land_Research_HQ_F",[-6.71143,10.6191,-0.00143909],179.046,true,true,[["B_GMG_01_high_F",[2.39746,3.8103,3.11371],360]],[]], + ["Land_Research_HQ_F",[11.5024,-2.94189,-0.00143909],89.179,true,true,[["B_Mortar_01_F",[0.713867,-5.21362,3.1624],360],["B_HMG_01_high_F",[-7.5625,-20.228,-0.0121174],180.433]],[]] +]; + +_missionLandscape = [ + ["Land_Mil_WiredFence_F",[-9.75415,-20.865,-0.00143909],359.2,true,true], + ["Land_Mil_WiredFence_F",[-21.4592,-9.60181,-0.00143909],89.3037,true,true], + ["Land_Mil_WiredFence_F",[-17.6565,-20.9314,-0.00143909],359.2,true,true], + ["Land_Mil_WiredFence_F",[-21.3225,-17.4338,-0.00143909],89.3037,true,true], + ["Land_Mil_WiredFence_F",[-21.4573,-1.78149,-0.00143909],89.3037,true,true], + ["Land_Device_assembled_F",[-12.4314,0.409668,-0.00143909],0,true,true], + ["Land_Sign_WarningMilitaryArea_F",[-7.7229,-21.8035,-0.00143909],359.892,true,true], + ["Land_Sign_WarningMilitaryArea_F",[4.04224,-21.6248,-0.00143909],359.892,true,true], + ["Land_HBarrierBig_F",[-17.3535,-2.16992,-0.00143909],271.204,true,true], + ["Land_HBarrierBig_F",[-17.0715,-10.7412,-0.00143909],269.27,true,true], + ["Land_HBarrierBig_F",[-11.4836,-13.8401,-0.00143909],0.792412,true,true], + ["Land_BagFence_Long_F",[-7.15112,-24.29,-0.00143909],0.556939,true,true], + ["Land_BagFence_Long_F",[3.73877,-24.3738,-0.00143909],180.252,true,true], + ["Land_PaperBox_closed_F",[-14.3025,-3.37964,-0.00143909],327.535,true,true], + ["Land_BagFence_Corner_F",[-9.23682,-24.0522,-0.00143909],177.869,true,true], + ["Land_BagFence_Corner_F",[5.64087,-23.9683,-0.00143909],90.5438,true,true], + ["Land_BagFence_Short_F",[-9.64136,-22.7109,-0.00143909],268.498,true,true], + ["Land_Mil_WiredFenceD_F",[-21.8179,13.9368,-0.00143909],89.5986,true,true], + ["Land_Mil_WiredFence_F",[5.21021,25.5369,-0.00143909],179.508,true,true], + ["Land_Mil_WiredFence_F",[-21.8245,21.7146,-0.00143909],89.3037,true,true], + ["Land_Mil_WiredFence_F",[-18.2957,25.3298,-0.00143909],179.508,true,true], + ["Land_Mil_WiredFence_F",[-2.63354,25.4646,-0.00143909],179.508,true,true], + ["Land_Mil_WiredFence_F",[-10.4656,25.3845,-0.00143909],179.508,true,true], + ["Land_Mil_WiredFence_F",[-21.5764,6.02905,-0.00143909],89.3037,true,true], + ["Land_HBarrierBig_F",[-14.3523,19.9712,-0.00143909],181.375,true,true], + ["Land_HBarrierBig_F",[-1.87573,20.2095,-0.00143909],181.375,true,true], + ["Land_HBarrierBig_F",[-17.4297,6.23438,-0.00143909],271.204,true,true], + ["Land_HBarrierBig_F",[2.31177,20.2192,-0.00143909],181.375,true,true], + ["Land_HBarrierBig_F",[-17.4548,14.7544,-0.00143909],271.568,true,true], + ["Land_Mil_WiredFence_F",[5.88647,-20.7947,-0.00143909],359.2,true,true], + ["Land_Mil_WiredFence_F",[25.0657,-17.1169,-0.00143909],269.14,true,true], + ["Land_Mil_WiredFence_F",[21.5857,-20.6306,-0.00143909],0.102386,true,true], + ["Land_Mil_WiredFence_F",[24.927,-9.29077,-0.00143909],269.14,true,true], + ["Land_Mil_WiredFence_F",[13.738,-20.6443,-0.00143909],0.102386,true,true], + ["Land_Mil_WiredFence_F",[24.8528,-1.49976,-0.00143909],269.14,true,true], + ["Land_HBarrierBig_F",[20.4888,-10.4697,-0.00143909],271.956,true,true], + ["Land_HBarrierBig_F",[20.4954,-1.94287,-0.00143909],270.301,true,true], + ["Land_HBarrierBig_F",[7.03003,-13.9827,-0.00143909],0.792412,true,true], + ["Land_HBarrierBig_F",[15.5149,-13.8022,-0.00143909],359.697,true,true], + ["Land_BagFence_Short_F",[5.89844,-22.4365,-0.00143909],268.498,true,true], + ["Land_Mil_WiredFence_F",[13.0396,25.6086,-0.00143909],179.508,true,true], + ["Land_Mil_WiredFence_F",[20.884,25.658,-0.00143909],179.508,true,true], + ["Land_Mil_WiredFence_F",[24.5051,22.0549,-0.00143909],269.14,true,true], + ["Land_Mil_WiredFence_F",[24.6458,14.1819,-0.00143909],269.14,true,true], + ["Land_Mil_WiredFence_F",[24.7532,6.3479,-0.00143909],269.14,true,true], + ["Land_HBarrierBig_F",[20.4177,4.55054,-0.00143909],271.054,true,true], + ["Land_HBarrierBig_F",[10.9348,20.3228,-0.00143909],181.375,true,true], + ["Land_HBarrierBig_F",[17.1685,20.2722,-0.00143909],181.89,true,true], + ["Land_HBarrierBig_F",[20.3484,15.8003,-0.00143909],271.956,true,true], + ["Land_Research_house_V1_F",[14.592,14.5435,-0.00143909],0,true,true], + // + ["CargoNet_01_barrels_F",[-13.5122,-10.8784,-0.00144005],0.00034241,true,true], + ["CargoNet_01_barrels_F",[-13.6389,-8.33862,-0.00143957],326.531,true,true], + ["CargoNet_01_barrels_F",[9.43994,17.6221,-0.00143957],326.531,true,true], + ["B_Slingload_01_Fuel_F",[29.73,4.14917,-0.00143909],156.234,true,true] +]; + +_missionLootBoxes = [ +]; + +_missionLootVehicles = [ +]; + +_missionPatrolVehicles = [ + ["B_T_LSV_01_armed_F",[-2.67554,-31.7471,-0.0237646],87.6435], + ["B_T_LSV_01_armed_F",[-5.24243,34.4316,-0.023603],270.757] +]; + +_submarinePatrolParameters = [ +]; + +_airPatrols = [ +]; + +_missionEmplacedWeapons = [ + //["B_HMG_01_high_F",[3.93994,-23.1699,-0.0135565],180.433], + //["B_HMG_01_high_F",[-7.9519,-23.1421,-0.0135584],180.433] +]; + +_missionGroups = [ + //[[-1.2981,-19.1914,0],3,6,"Red",30,45], + //[[6.48682,10.343,0],3,6,"Red",30,45] +]; + + + +////////// +// The lines below define additional variables you may wish to configure. + + +// Change _useMines to true/false below to enable mission-specific settings. +_useMines = blck_useMines; +_minNoAI = blck_MinAI_Blue; +_maxNoAI = blck_MaxAI_Blue; +_noAIGroups = blck_AIGrps_Blue; +_noVehiclePatrols = blck_SpawnVeh_Blue; +_noEmplacedWeapons = blck_SpawnEmplaced_Blue; +//_uniforms = blck_SkinList; +//_headgear = blck_headgear; + +_chancePara = 0.75; // Setting this in the mission file overrides the defaults +_noPara = 5; // Setting this in the mission file overrides the defaults +_paraTriggerDistance = 400; // Distance from mission at which a player triggers these reinforcements and any supplemental loot. // To have paras spawn at the time the mission spawns with/without accompanying loot set this to 0. +_paraSkill = "Blue"; // Choose any skill you like; bump up skill or add AI to justify more valuable loot. + +_chanceLoot = 0.7; +private _lootIndex = selectRandom[1,2,3,4]; +private _paralootChoices = [blck_contructionLoot,blck_contructionLoot,blck_highPoweredLoot,blck_supportLoot]; +private _paralootCountsChoices = [[0,0,0,10,10,0],[0,0,0,10,10,0],[10,10,0,0,0,0],[0,0,0,0,15,0]]; +_paraLoot = _paralootChoices select _lootIndex; +_paraLootCounts = _paralootCountsChoices select _lootIndex; // Throw in something more exotic than found at a normal blue mission. + +_spawnCratesTiming = blck_spawnCratesTiming; // Choices: "atMissionSpawnGround","atMissionEndGround","atMissionEndAir". + // Crates spawned in the air will be spawned at mission center or the position(s) defined in the mission file and dropped under a parachute. + // This sets the default value but can be overridden by defining _spawnCrateTiming in the file defining a particular mission. +_loadCratesTiming = blck_loadCratesTiming; // valid choices are "atMissionCompletion" and "atMissionSpawn"; + // Pertains only to crates spawned at mission spawn. + // This sets the default but can be overridden for specific missions by defining _loadCratesTiming + + // Examples: + // To spawn crates at mission start loaded with gear set blck_spawnCratesTiming = "atMissionSpawnGround" && blck_loadCratesTiming = "atMissionSpawn" + // To spawn crates at mission start but load gear only after the mission is completed set blck_spawnCratesTiming = "atMissionSpawnGround" && blck_loadCratesTiming = "atMissionCompletion" + // To spawn crates on the ground at mission completion set blck_spawnCratesTiming = "atMissionEndGround" // Note that a loaded crate will be spawned. + // To spawn crates in the air and drop them by chutes set blck_spawnCratesTiming = "atMissionEndAir" // Note that a loaded crate will be spawned. +_endCondition = allKilledOrPlayerNear; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear" + // Setting this in the mission file overrides the defaults + +#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf"; diff --git a/@GMS/addons/custom_server/Missions/Blue/derbunker.sqf b/@GMS/addons/custom_server/Missions/Blue/derbunker.sqf new file mode 100644 index 0000000..2f78e1b --- /dev/null +++ b/@GMS/addons/custom_server/Missions/Blue/derbunker.sqf @@ -0,0 +1,116 @@ +/* + Mission Template by Ghostrider [GRG] + Mission Compositions by Bill prepared for ghostridergaming + Copyright 2016 + Last modified 3/20/17 + + -------------------------- + License + -------------------------- + All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License. + + http://creativecommons.org/licenses/by-nc-sa/4.0/ +*/ +#include "\q\addons\custom_server\Configs\blck_defines.hpp"; +#include "\q\addons\custom_server\Missions\privateVars.sqf"; + +//diag_log "[blckeagls] Spawning Blue Mission with template = default"; +_crateLoot = blck_BoxLoot_Blue; +_lootCounts = blck_lootCountsBlue; +_startMsg = "An enemy Bunker was sighted in a nearby sector! Check the Blue marker on your map for the location!"; +_endMsg = "The Bunker at the Blue Marker is under survivor control!"; +_markerLabel = ""; +_markerType = ["ELLIPSE",[300,300],"GRID"]; +_markerColor = "ColorBlue"; +_markerMissionName = "DerBunker"; +_missionLandscapeMode = "precise"; // acceptable values are "none","random","precise" + +////////// +// Past the output of the script here +_garrisonedBuildings_BuildingPosnSystem = [ +]; + +_garrisonedBuilding_ATLsystem = [ + ["Land_Bunker_01_big_F",[-15.925,9.02295,0.760561],90.071,true,true,[["O_HMG_01_high_F",[-5.45947,-3.38574,0.109706],359.994]],[]], + ["Land_Bunker_01_tall_F",[-15.377,-8.8042,-0.00143909],90.071,true,true,[["O_HMG_01_high_F",[5.50562,-2.54395,-0.0121193],0.00145215],["O_HMG_01_high_F",[-1.72095,-0.109375,4.96893],0.00948966]],[]], + ["Land_Bunker_01_tall_F",[-15.76,28.606,-0.00143909],90.071,true,true,[["O_HMG_01_high_F",[5.47437,2.47559,-0.0121179],0.000581241],["O_HMG_01_high_F",[-1.38867,-0.0722656,4.967],359.999],["O_HMG_01_high_F",[11.8271,5.87988,-0.0121188],0.00143633]],[]], + ["Land_Bunker_01_big_F",[20.199,10.729,0.760561],270.416,true,true,[["O_HMG_01_high_F",[5.86328,3.25586,0.109697],0.0117801]],[]], + ["Land_Bunker_01_tall_F",[19.8899,-8.86914,-0.00143909],270.416,true,true,[["O_HMG_01_high_F",[-5.13818,-2.33496,-0.0121174],0.0002874],["O_HMG_01_high_F",[1.45801,0.0512695,4.96698],360]],[]], + ["Land_Bunker_01_tall_F",[19.731,28.542,-0.00143909],270.416,true,true,[["O_HMG_01_high_F",[-5.00977,2.1792,-0.0121188],0.00143735],["O_HMG_01_high_F",[1.80957,0.26709,4.96756],360],["O_HMG_01_high_F",[-12.0127,6.1333,-0.0121193],0.00145178]],[]] +]; + +_missionLandscape = [ + ["Land_Bunker_01_blocks_3_F",[-13.762,17.5518,-0.00143909],270.35,true,true], + ["Land_Bunker_01_blocks_3_F",[-0.0979004,-12.9033,-0.00143909],179.955,true,true], + ["Land_Bunker_01_blocks_3_F",[-5.18799,-12.9092,-0.00143909],179.955,true,true], + ["Land_Bunker_01_blocks_3_F",[-10.175,-12.9253,-0.502439],179.955,true,true], + ["Land_Bunker_01_blocks_3_F",[-13.814,-4.44141,-0.00143909],270.35,true,true], + ["Land_Bunker_01_blocks_3_F",[-13.7959,0.544922,-0.00143909],270.35,true,true], + ["CamoNet_INDP_big_F",[2.23804,-2.70508,-0.00143909],182.545,true,true], + ["Land_Bunker_01_blocks_3_F",[-13.7451,22.5391,-0.00143909],270.35,true,true], + ["Land_Bunker_01_blocks_3_F",[-2.51611,30.105,-0.00143909],90.192,true,true], + ["Land_Bunker_01_blocks_3_F",[-10.6179,32.6689,-0.432439],0.106,true,true], + ["Land_Bunker_01_blocks_3_F",[-5.63013,32.6719,-0.00143909],0.106,true,true], + ["Land_Bunker_01_blocks_3_F",[17.958,2.1958,-0.00143909],90.695,true,true], + ["Land_Bunker_01_blocks_3_F",[14.9771,-12.854,-0.529439],179.955,true,true], + ["Land_Bunker_01_blocks_3_F",[4.88892,-12.8853,-0.00143909],179.955,true,true], + ["Land_Bunker_01_blocks_3_F",[17.9109,-2.78906,-0.00143909],90.695,true,true], + ["Land_Bunker_01_blocks_3_F",[9.98999,-12.8711,-0.00143909],179.955,true,true], + ["Land_Bunker_01_blocks_3_F",[6.58691,30.1689,-0.00143909],269.774,true,true], + ["Land_Bunker_01_blocks_3_F",[18.095,19.2026,-0.00143909],90.695,true,true], + ["Land_Bunker_01_blocks_3_F",[18.1409,24.189,-0.00143909],90.695,true,true], + ["Land_Bunker_01_blocks_3_F",[9.54907,32.6689,-0.00143909],0.106,true,true], + ["Land_Bunker_01_blocks_3_F",[14.5359,32.6729,-0.363439],0.106,true,true] +]; + +_missionLootBoxes = [ + //["Exile_Container_SupplyBox",[0.0446777,-1.31494,-0.001441],_crateLoot,_lootCounts,0.00167282] +]; + +_missionLootVehicles = [ +]; + +_missionPatrolVehicles = [ + ["O_LSV_02_armed_F",[-37.46,8.55273,-0.0378561],359.999], + ["O_LSV_02_unarmed_F",[38.3699,8.21484,-0.0378113],359.999] +]; + +_submarinePatrolParameters = [ +]; + +_airPatrols = [ +]; + +_missionEmplacedWeapons = []; // + + + +////////// +// The lines below define additional variables you may wish to configure. + + +// Change _useMines to true/false below to enable mission-specific settings. +_useMines = blck_useMines; +_minNoAI = blck_MinAI_Blue; +_maxNoAI = blck_MaxAI_Blue; +_noAIGroups = blck_AIGrps_Blue; +_noVehiclePatrols = blck_SpawnVeh_Blue; +_noEmplacedWeapons = blck_SpawnEmplaced_Blue; +//_uniforms = blck_SkinList; +//_headgear = blck_headgear; + +_chancePara = 0.75; // Setting this in the mission file overrides the defaults +_noPara = 5; // Setting this in the mission file overrides the defaults +_paraTriggerDistance = 400; // Distance from mission at which a player triggers these reinforcements and any supplemental loot. // To have paras spawn at the time the mission spawns with/without accompanying loot set this to 0. +_paraSkill = "Blue"; // Choose any skill you like; bump up skill or add AI to justify more valuable loot. + +_chanceLoot = 0.7; +private _lootIndex = selectRandom[1,2,3,4]; +private _paralootChoices = [blck_contructionLoot,blck_contructionLoot,blck_highPoweredLoot,blck_supportLoot]; +private _paralootCountsChoices = [[0,0,0,10,10,0],[0,0,0,10,10,0],[10,10,0,0,0,0],[0,0,0,0,15,0]]; +_paraLoot = _paralootChoices select _lootIndex; +_paraLootCounts = _paralootCountsChoices select _lootIndex; // Throw in something more exotic than found at a normal blue mission. + +_endCondition = "allKilledOrPlayerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear" +//_timeOut = -1; +#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf"; diff --git a/@GMS/addons/custom_server/Missions/Blue/forgotten_HQ.sqf b/@GMS/addons/custom_server/Missions/Blue/forgotten_HQ.sqf new file mode 100644 index 0000000..73c2431 --- /dev/null +++ b/@GMS/addons/custom_server/Missions/Blue/forgotten_HQ.sqf @@ -0,0 +1,208 @@ +/* + Mission Template by Ghostrider [GRG] + Mission Compositions by Bill prepared for ghostridergaming + Copyright 2016 + Last modified 3/20/17 + + -------------------------- + License + -------------------------- + All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License. + + http://creativecommons.org/licenses/by-nc-sa/4.0/ +*/ +#include "\q\addons\custom_server\Configs\blck_defines.hpp"; +#include "\q\addons\custom_server\Missions\privateVars.sqf"; + +//diag_log "[blckeagls] Spawning Blue Mission with template = default"; +_crateLoot = blck_BoxLoot_Blue; +_lootCounts = blck_lootCountsBlue; +_startMsg = "A Forgotten HQ was sighted in a nearby sector! Check the Blue marker on your map for the location!"; +_endMsg = "The Forgotten HQ at the Blue Marker is under survivor control!"; +_markerLabel = ""; +_markerType = ["ELLIPSE",[200,200],"Solid"]; +_markerColor = "ColorBlue"; +_markerMissionName = "Forgotten"; +_missionLandscapeMode = "precise"; // acceptable values are "none","random","precise" + +////////// +// Past the output of the script here +_garrisonedBuildings_BuildingPosnSystem = [ +]; + +_garrisonedBuilding_ATLsystem = [ + ["Land_Cargo_Patrol_V2_F",[-16.0361,-36.5635,-0.00143862],0,true,true,[["O_G_HMG_02_high_F",[1.07422,-1.17676,4.38749],183.214]],[]], + ["Land_Cargo_Patrol_V2_F",[1.44385,-36.4934,-0.00143862],0,true,true,[["O_G_HMG_02_high_F",[-1.49438,-1.08521,4.38749],183.771]],[]], + ["Land_Cargo_HQ_V2_F",[-20.6721,-8.55249,-0.00143862],180,true,true,[["O_G_HMG_02_high_F",[-4.84253,-3.34399,3.16997],0.00630354]],[]], + ["Land_Cargo_Tower_V2_F",[-16.9631,-26.0334,-0.00143909],180,true,true,[["O_G_HMG_02_high_F",[-4.54858,0.758057,17.9329],0.00661736],["O_G_HMG_02_high_F",[3.65967,3.33838,17.9329],0.000690221]],[]], + ["Land_Cargo_HQ_V2_F",[7.14893,2.62769,-0.00143862],270.279,true,true,[["O_G_HMG_02_high_F",[-0.843506,5.84277,3.16996],0.00567617]],[]] +]; + + +_missionLandscape = [ + ["Land_CncWall4_F",[-32.4219,-12.8027,-0.00143909],90,true,true], + ["Land_CncWall4_F",[-32.4495,-2.36279,-0.00143909],90,true,true], + ["Land_CncWall4_F",[-32.4219,-7.55273,-0.00143909],90,true,true], + ["Land_CncWall1_F",[-32.4219,-16.0527,-0.00143909],90,true,true], + ["Land_CncWall1_F",[-32.1719,-17.3027,-0.00143909],60,true,true], + ["Land_CncWall4_F",[-17.2,-37.5388,-0.00143909],0,true,true], + ["Land_CncWall4_F",[-19.45,-35.2888,-0.00143909],90,true,true], + ["Land_CncWall1_F",[-13.95,-37.2888,-0.00143909],345,true,true], + ["Land_CncWall1_F",[-0.469971,-37.123,-0.00143909],15,true,true], + ["Land_CncWall1_F",[-1.70728,-36.5938,-0.00143909],30,true,true], + ["Land_CncWall1_F",[-12.7,-36.7888,-0.00143909],330,true,true], + ["Land_Mil_WiredFence_Gate_F",[-7.18335,-36.4424,-0.00143909],0,true,true], + ["Land_LampShabby_F",[-2.78442,-36.3179,-0.00143909],267.423,true,true], + ["Land_LampShabby_F",[-11.5483,-36.9063,-0.00143909],96.8408,true,true], + ["Land_Razorwire_F",[-15.4663,-50.6616,-0.00143909],0,true,true], + ["Land_Garbage_square5_F",[-5.48242,-33.7585,-0.00143909],0,true,true], + ["Land_New_WiredFence_10m_Dam_F",[-23.4219,-33.3027,0.0484428],90,true,true], + ["Oil_Spill_F",[-0.250732,-46.9929,-0.00143909],0,true,true], + ["Land_New_WiredFence_10m_F",[-18.6699,-48.1602,-0.00143909],0,true,true], + ["Land_New_WiredFence_10m_F",[-8.92188,-48.0527,-0.00143909],0,true,true], + ["Land_New_WiredFence_10m_F",[-23.377,-43.2129,-0.00143909],90,true,true], + ["Land_CncWall4_F",[-10.9219,-12.4277,-0.00143909],270,true,true], + ["Land_CncWall4_F",[-10.9219,-7.17773,-0.00143909],270,true,true], + ["Land_CncWall4_F",[-23.9219,-17.8027,-0.00143909],0,true,true], + ["Land_CncWall4_F",[-19.0479,-28.729,-0.00143909],90,true,true], + ["Land_CncWall4_F",[-18.5469,-17.8027,-0.00143909],0,true,true], + ["Land_CncWall4_F",[-29.2969,-17.8027,-0.00143909],0,true,true], + ["Land_CncWall4_F",[-19.0479,-23.479,-0.00143909],90,true,true], + ["Land_CncWall1_F",[-12.0469,-16.5527,-0.00143909],315,true,true], + ["Land_CncWall1_F",[-13.0469,-17.1777,-0.00143909],345,true,true], + ["Land_CncWall1_F",[-11.2969,-15.5527,-0.00143909],300,true,true], + ["Land_CncWall1_F",[-18.7979,-20.229,-0.00143909],105,true,true], + ["Land_CncWall1_F",[-19.2,-32.0388,-0.00143909],105,true,true], + ["Land_CncWall1_F",[-1.87036,-6.15894,-0.00143909],76.1339,true,true], + ["Land_CncWall1_F",[-18.2979,-18.979,-0.00143909],120,true,true], + ["Land_CncWall1_F",[-0.776123,-8.00391,-0.00143909],44.3183,true,true], + ["Land_CncWall1_F",[-1.98975,-5.05225,-0.00143909],89.3183,true,true], + ["Land_CncWall1_F",[-10.9346,-1.3584,-0.00143909],254.791,true,true], + ["Land_CncWall1_F",[-1.50586,-7.08521,-0.00143909],59.3183,true,true], + ["Land_LampShabby_F",[-12.0967,-15.9277,-0.00143909],304.187,true,true], + ["Land_CncShelter_F",[-5.76489,-3.25,-0.00143909],90.2789,true,true], + ["Land_CncShelter_F",[-2.69824,-3.26221,-0.00143909],90.2789,true,true], + ["Land_CncShelter_F",[-10.3674,-3.21143,-0.00143909],90.2789,true,true], + ["Land_CncShelter_F",[-7.29834,-3.24414,-0.00143909],90.2789,true,true], + ["Land_CncShelter_F",[-8.83398,-3.21729,-0.00143909],90.2789,true,true], + ["Land_CncShelter_F",[-4.23169,-3.25635,-0.00143909],90.2789,true,true], + ["Land_CncShelter_F",[-14.8062,-17.8242,-0.00143909],0,true,true], + ["Land_New_WiredFence_10m_F",[-23.4219,-23.3027,-0.00143909],90,true,true], + ["Land_Garbage_line_F",[-6.69629,-14.0273,-0.00143909],0,true,true], + ["Land_CncWall4_F",[-2.08496,5.92285,-0.00143909],90.2789,true,true], + ["Land_CncWall4_F",[-24.9495,-0.112793,-0.00143909],180,true,true], + ["Land_CncWall4_F",[-2.11108,0.548096,-0.00143909],90.2789,true,true], + ["Land_CncWall4_F",[-19.6995,-0.112793,-0.00143909],180,true,true], + ["Land_CncWall4_F",[-2.05884,11.2979,-0.00143909],90.2789,true,true], + ["Land_CncWall4_F",[-30.1995,-0.112793,-0.00143909],180,true,true], + ["Land_CncWall4_F",[-14.4768,-0.108398,-0.00143909],180,true,true], + ["Land_CncWall1_F",[-0.293457,14.4143,-0.00143909],180.279,true,true], + ["Land_CncWall1_F",[-11.5137,-0.462158,-0.00143909],218.676,true,true], + ["Land_CncWall1_F",[-1.54468,14.1704,-0.00143909],150.279,true,true], + ["Land_CncWall4_F",[2.78003,-37.373,-0.00143909],0,true,true], + ["Land_CncWall4_F",[5.15894,-34.9495,-0.00143909],270,true,true], + ["Land_New_WiredFence_5m_F",[18.6162,-49.2598,-0.00143909],180,true,true], + ["Land_Mil_WiredFence_Gate_F",[1.02295,-48.2319,-0.00143909],0,true,true], + ["Land_Razorwire_F",[14.8767,-50.5405,-0.0014348],0,true,true], + ["Land_Garbage_square5_F",[3.02661,-41.5759,-0.00143909],0,true,true], + ["Land_New_WiredFence_10m_F",[22.4329,-43.2773,-0.00143766],90,true,true], + ["Land_New_WiredFence_10m_F",[20.8657,-33.5273,-0.00143909],270,true,true], + ["Land_New_WiredFence_10m_F",[11.0781,-47.8027,-0.00143909],0,true,true], + ["Land_CncWall4_F",[15.5647,-3.63062,-0.00143909],270.279,true,true], + ["Land_CncWall4_F",[12.5393,-8.48145,-0.00143909],0.278918,true,true], + ["Land_CncWall4_F",[2.11768,-8.40479,-0.00143909],0.278918,true,true], + ["Land_CncWall4_F",[7.28931,-8.45581,-0.00143909],0.278918,true,true], + ["Land_CncWall4_F",[5.1084,-19.2168,-0.00143909],270,true,true], + ["Land_CncWall4_F",[5.07373,-13.9578,-0.00143909],270,true,true], + ["Land_CncWall4_F",[5.14282,-29.6782,-0.00143909],270,true,true], + ["Land_CncWall4_F",[5.11499,-24.4495,-0.00143909],270,true,true], + ["Land_CncWall1_F",[15.2651,-8.03906,-0.00143909],300.801,true,true], + ["Land_CncWall1_F",[15.5632,-6.90161,-0.00143909],270.801,true,true], + ["Land_HelipadSquare_F",[14.0413,-24.9829,-0.00143909],0,true,true], + ["Land_New_WiredFence_5m_F",[18.8281,-8.80273,-0.00143909],180,true,true], + ["Land_LampShabby_F",[14.521,-6.92456,-0.00143909],315,true,true], + ["Land_CncShelter_F",[4.83472,-10.1133,-0.00143909],90.2789,true,true], + ["Land_GarbageBags_F",[2.49902,-16.0364,-0.00143909],0,true,true], + ["Land_New_WiredFence_10m_F",[20.8281,-23.5527,-0.00143909],270,true,true], + ["Land_New_WiredFence_10m_F",[20.8281,-13.5527,-0.00143909],270,true,true], + ["Land_Wreck_Heli_Attack_02_F",[13.4341,-23.897,-0.00143909],0,true,true], + ["Land_CncWall4_F",[15.6953,12.0864,-0.00143909],270.279,true,true], + ["Land_CncWall4_F",[13.4563,14.3474,-0.00143909],180.279,true,true], + ["Land_CncWall4_F",[15.6443,1.58667,-0.00143909],270.279,true,true], + ["Land_CncWall4_F",[8.2063,14.3728,-0.00143909],180.279,true,true], + ["Land_CncWall4_F",[15.6697,6.83643,-0.00143909],270.279,true,true], + ["Land_CncWall4_F",[2.9563,14.3984,-0.00143909],180.279,true,true] +]; + +_missionLootBoxes = [ +]; + +_missionLootVehicles = [ +]; + +_missionPatrolVehicles = [ + ["O_G_Offroad_01_armed_F",[-10.8826,-67.0554,0.00841188],85.3805], + ["O_G_Offroad_01_armed_F",[-7.25098,-35.3657,0.00811148],357.094] +]; + +_submarinePatrolParameters = [ +]; + +_airPatrols = [ +]; + +_missionEmplacedWeapons = [ + +]; + +_missionGroups = [ + //[[-10.0691,-41.8555,0],3,6,"Red",30,45], + //[[-1.13232,-24.1541,0],3,6,"Red",30,45], + //[[-9.49146,-26.8044,0],3,6,"Red",30,45], + //[[12.8374,-37.3408,0],3,6,"Red",30,45] +]; + + + +////////// +// The lines below define additional variables you may wish to configure. + + +// Change _useMines to true/false below to enable mission-specific settings. +_useMines = blck_useMines; +_minNoAI = blck_MinAI_Blue; +_maxNoAI = blck_MaxAI_Blue; +_noAIGroups = blck_AIGrps_Blue; +_noVehiclePatrols = blck_SpawnVeh_Blue; +_noEmplacedWeapons = blck_SpawnEmplaced_Blue; +//_uniforms = blck_SkinList; +//_headgear = blck_headgear; + +_chancePara = 0.75; // Setting this in the mission file overrides the defaults +_noPara = 5; // Setting this in the mission file overrides the defaults +_paraTriggerDistance = 400; // Distance from mission at which a player triggers these reinforcements and any supplemental loot. // To have paras spawn at the time the mission spawns with/without accompanying loot set this to 0. +_paraSkill = "Blue"; // Choose any skill you like; bump up skill or add AI to justify more valuable loot. + +_chanceLoot = 0.7; +private _lootIndex = selectRandom[1,2,3,4]; +private _paralootChoices = [blck_contructionLoot,blck_contructionLoot,blck_highPoweredLoot,blck_supportLoot]; +private _paralootCountsChoices = [[0,0,0,10,10,0],[0,0,0,10,10,0],[10,10,0,0,0,0],[0,0,0,0,15,0]]; +_paraLoot = _paralootChoices select _lootIndex; +_paraLootCounts = _paralootCountsChoices select _lootIndex; // Throw in something more exotic than found at a normal blue mission. + +_spawnCratesTiming = blck_spawnCratesTiming; // Choices: "atMissionSpawnGround","atMissionEndGround","atMissionEndAir". + // Crates spawned in the air will be spawned at mission center or the position(s) defined in the mission file and dropped under a parachute. + // This sets the default value but can be overridden by defining _spawnCrateTiming in the file defining a particular mission. +_loadCratesTiming = blck_loadCratesTiming; // valid choices are "atMissionCompletion" and "atMissionSpawn"; + // Pertains only to crates spawned at mission spawn. + // This sets the default but can be overridden for specific missions by defining _loadCratesTiming + + // Examples: + // To spawn crates at mission start loaded with gear set blck_spawnCratesTiming = "atMissionSpawnGround" && blck_loadCratesTiming = "atMissionSpawn" + // To spawn crates at mission start but load gear only after the mission is completed set blck_spawnCratesTiming = "atMissionSpawnGround" && blck_loadCratesTiming = "atMissionCompletion" + // To spawn crates on the ground at mission completion set blck_spawnCratesTiming = "atMissionEndGround" // Note that a loaded crate will be spawned. + // To spawn crates in the air and drop them by chutes set blck_spawnCratesTiming = "atMissionEndAir" // Note that a loaded crate will be spawned. +_endCondition = allKilledOrPlayerNear; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear" + // Setting this in the mission file overrides the defaults + +#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf"; diff --git a/@GMS/addons/custom_server/Missions/Blue/garrison.sqf b/@GMS/addons/custom_server/Missions/Blue/garrison.sqf index 191984a..be4b26b 100644 --- a/@GMS/addons/custom_server/Missions/Blue/garrison.sqf +++ b/@GMS/addons/custom_server/Missions/Blue/garrison.sqf @@ -17,7 +17,7 @@ //diag_log "[blckeagls] Spawning Green Mission with template = default"; _crateLoot = blck_BoxLoot_Green; _lootCounts = blck_lootCountsGreen; -_startMsg = "An enemy garrison!"; +_startMsg = "An enemy garrison was sighted in a nearby sector!"; _endMsg = "The garrison is under survivor control!"; _markerLabel = ""; _markerType = ["ellipse",[225,225],"GRID"]; diff --git a/@GMS/addons/custom_server/Missions/Blue/inhaftierung.sqf b/@GMS/addons/custom_server/Missions/Blue/inhaftierung.sqf new file mode 100644 index 0000000..30609f8 --- /dev/null +++ b/@GMS/addons/custom_server/Missions/Blue/inhaftierung.sqf @@ -0,0 +1,180 @@ +/* + Mission Template by Ghostrider [GRG] + + -------------------------- + License + -------------------------- + All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License. + + http://creativecommons.org/licenses/by-nc-sa/4.0/ +*/ +#include "\q\addons\custom_server\Configs\blck_defines.hpp"; +#include "\q\addons\custom_server\Missions\privateVars.sqf"; + +//diag_log "[blckeagls] Spawning Blue Mission with template = default2"; + +_crateLoot = blck_BoxLoot_Blue; +_lootCounts = blck_lootCountsBlue; +_startMsg = "A local Mafia Don has been spotted! Capture him and earn a reward!"; +_endMsg = "The Maria Don was captured and the area is under survivor control!"; +_assetKilledMsg = "Enemy Leader Killed and Bandits Fled with All Loot: Mission Aborted"; +_markerLabel = ""; +_markerType = ["ELLIPSE",[300,300],"Solid"]; +_markerColor = "ColorBlue"; +_markerMissionName = "inhaftierung"; +_missionLandscapeMode = "precise"; // acceptable values are "none","random","precise" +_missionLandscape = [ + //["babe_helper",[-3327.46,-2809.42,-0.00143909],0,true,true], + //["Sign_Arrow_Green_F",[-3324.96,-2809.92,-0.00143909],0,true,true], + //["Sign_Arrow_F",[-3324.96,-2809.92,-0.00143909],0,true,true], + //["Sign_Arrow_Yellow_F",[-3324.96,-2809.92,-0.00143909],0,true,true], + ["Land_HBarrier_Big_F",[-2.76221,-30.3596,-0.00143909],0,true,true], + ["Land_HBarrier_1_F",[-9.74463,-27.0081,-0.00143909],180,true,true], + ["Land_BagFence_Long_F",[-9.74268,-29.0042,-0.00143909],270,true,true], + ["Land_BagFence_Long_F",[-8.36182,-30.3743,-0.00143909],180,true,true], + ["CamoNet_OPFOR_open_F",[-0.361816,-1.01782,-0.00143909],180,true,true], + ["Land_HBarrier_3_F",[-15.3853,-13.9866,-0.00143909],315,true,true], + ["Land_HBarrier_Big_F",[-3.61768,-5.26782,-0.00143909],180,true,true], + ["Land_HBarrier_Big_F",[-5.46533,3.40405,-0.00143909],0,true,true], + ["Land_HBarrier_Big_F",[-18.5767,-14.5354,-0.00143909],45,true,true], + ["Land_HBarrier_Big_F",[-12.4985,-20.3987,-0.00143909],45,true,true], + ["Land_HBarrier_1_F",[-22.9692,-2.77563,-0.00143909],270,true,true], + ["Land_HBarrier_1_F",[-23.3423,0.478271,-0.00143909],15,true,true], + ["Land_BagFence_Long_F",[-24.5767,-9.90649,-0.00143909],315,true,true], + ["Land_BagFence_Long_F",[-22.8071,-8.13794,-0.00143909],315,true,true], + ["Land_BagFence_Long_F",[-18.7427,-12.3811,-0.00143909],315,true,true], + ["Land_BagFence_Long_F",[-23.2368,2.26245,-0.00143909],90,true,true], + ["Land_BagFence_Long_F",[-21.8657,6.25952,-0.00143909],0,true,true], + ["Land_BagFence_Long_F",[-22.3657,-13.8772,-0.00143909],135,true,true], + ["Land_BagFence_Long_F",[-9.74268,-25.1174,-0.00143909],90,true,true], + ["Land_BagFence_Long_F",[-18.5649,-8.3147,-0.00143909],45,true,true], + ["Land_BagFence_Long_F",[-23.2368,4.88843,-0.00143909],90,true,true], + ["Land_BagFence_Long_F",[-25.2192,0.111084,-0.00143909],0,true,true], + ["Land_BagFence_Long_F",[-25.2192,-2.76587,-0.00143909],0,true,true], + ["Land_BagFence_Long_F",[-26.5884,-1.39282,-0.00143909],270,true,true], + ["Land_BagFence_Long_F",[-24.3989,-13.9709,-0.00143909],225,true,true], + ["Land_BagFence_Round_F",[-17.5747,-10.4006,-0.00143909],270,true,true], + ["Land_BagFence_Round_F",[-25.5493,-11.9026,-0.00143909],90,true,true], + ["Land_BagFence_Round_F",[-20.7212,-7.07642,-0.00143909],180,true,true], + ["Land_BagFence_End_F",[-9.7583,-23.3167,-0.00143909],270,true,true], + ["Land_Cargo_Patrol_V3_F",[-10.9263,-16.053,-0.00143862],45,true,true], + ["Land_Cargo_House_V3_F",[-3.09424,-20.7424,-0.00143909],180,true,true], + ["CamoNet_OPFOR_open_F",[-0.225098,8.17163,-0.00143909],0,true,true], + ["Land_HBarrier_3_F",[-1.85596,17.1208,-0.00143909],180,true,true], + ["Land_HBarrier_3_F",[-2.70752,19.4275,-0.00143909],90,true,true], + ["Land_HBarrier_Big_F",[-19.6177,9.36694,-0.00143909],270,true,true], + ["Land_HBarrier_Big_F",[-19.6646,17.5466,-0.00143909],90,true,true], + ["Land_HBarrier_1_F",[-4.93994,9.58374,-0.00143909],270,true,true], + ["Land_HBarrier_1_F",[-16.4673,27.1775,-0.00143909],285,true,true], + ["Land_HBarrier_1_F",[-2.68408,25.3513,-0.00143909],120,true,true], + ["Land_BagFence_Long_F",[-2.30908,23.7244,-0.00143909],270,true,true], + ["Land_BagFence_Long_F",[-19.7173,23.0505,-0.00143909],270,true,true], + ["Land_BagFence_Long_F",[-19.7153,25.9265,-0.00143909],270,true,true], + ["Land_BagFence_Long_F",[-18.3462,27.4314,-0.00143909],0,true,true], + ["Land_Cargo_Patrol_V3_F",[-15.4087,10.7146,-0.00143862],90,true,true], + ["Land_HBarrier_5_F",[-15.7407,14.7517,-0.00143909],0,true,true], + ["Land_HBarrier_5_F",[-6.33838,7.41382,-0.00143909],270,true,true], + ["Land_HBarrier_Big_F",[4.87646,-28.4124,-0.00143909],330,true,true], + ["Land_HBarrier_3_F",[10.5171,0.540771,-0.00143909],0,true,true], + ["Land_HBarrier_3_F",[11.3687,-7.17212,-0.00143909],270,true,true], + ["Land_HBarrier_Big_F",[23.0171,-13.6155,-0.00143909],285,true,true], + ["Land_HBarrier_Big_F",[3.04834,3.62964,-0.00143909],1.36604e-005,true,true], + ["Land_HBarrier_Big_F",[11.8745,-23.9084,-0.00143909],330,true,true], + ["Land_HBarrier_Big_F",[7.90967,0.343506,-0.00143909],90,true,true], + ["Land_HBarrier_Big_F",[24.978,-5.36938,-0.00143909],285,true,true], + ["Land_HBarrier_Big_F",[11.2808,-4.62427,-0.00143909],180,true,true], + ["Land_HBarrier_Big_F",[25.9077,2.68921,-0.00143909],270,true,true], + ["Land_HBarrier_1_F",[4.35498,-2.41431,-0.00143909],90,true,true], + ["Land_HBarrier_1_F",[21.0073,-21.7493,-0.00143909],30,true,true], + ["Land_BagFence_Long_F",[19.1304,-21.6174,-0.00143909],0,true,true], + ["Land_BagFence_Long_F",[16.5073,-21.6174,-0.00143909],0,true,true], + ["Land_BagFence_Long_F",[7.89795,6.07788,-0.00143909],270,true,true], + ["Land_Loudspeakers_F",[21.2026,-15.3088,-0.00143909],196,true,true], + ["Land_HBarrier_5_F",[17.7847,6.20483,-0.00143909],270,true,true], + ["Land_HBarrier_5_F",[11.3823,-11.5022,-0.00143909],270,true,true], + ["Land_HBarrier_5_F",[5.75146,-0.244385,-0.00143909],90,true,true], + ["Land_Cargo_House_V3_F",[5.49561,-9.99927,-0.00143909],90,true,true], + ["Land_Cargo_House_V3_F",[5.03076,-17.6174,-0.00143909],150,true,true], + ["CamoNet_OPFOR_open_F",[22.6538,9.88257,-0.00143909],270,true,true], + ["Land_HBarrier_3_F",[18.7593,9.75757,-0.00143909],0,true,true], + ["Land_HBarrier_Big_F",[9.20264,21.2849,-0.00143909],180,true,true], + ["Land_HBarrier_Big_F",[15.9546,18.7849,-0.00143909],225,true,true], + ["Land_HBarrier_Big_F",[22.4077,16.1892,-0.00143909],0,true,true], + ["Land_HBarrier_Big_F",[0.70459,21.283,-0.00143909],180,true,true], + ["Land_HBarrier_Big_F",[25.7827,11.0642,-0.00143909],90,true,true], + ["Land_BagFence_Long_F",[4.57764,19.0466,-0.00143909],270,true,true], + ["Land_BagFence_Long_F",[4.57764,16.1716,-0.00143909],270,true,true], + ["Land_BagFence_Long_F",[11.3843,19.2634,-0.00143909],90,true,true], + ["Land_BagFence_End_F",[4.57764,14.4216,-0.00143909],90,true,true], + ["Land_BagFence_End_F",[7.68896,7.77515,-0.00143909],240,true,true], + ["Land_BagFence_End_F",[11.3843,17.5134,-0.00143909],90,true,true] + ]; // list of objects to spawn as landscape; // list of objects to spawn as landscape + +_buildings = [ + //"Land_Cargo_HQ_V4_F", + //"Land_Cargo_HQ_V1_F", + //"Land_Cargo_HQ_V2_F", + //"Land_Cargo_HQ_V3_F", + //"Land_Cargo_Tower_V1_F", + //"Land_Cargo_Tower_V2_F", + //"Land_Cargo_Tower_V3_F", + "Land_Cargo_Patrol_V3_F", + "Land_Cargo_House_V3_F" +]; +_enemyLeaderConfig = + ["I_G_resistanceLeader_F", // select 0 + [-7.83789,13.1465,-0.00143886], // select 1 + 126.345, // select 2 + [true,false], // select 3 + ["Acts_B_briefings"], // Use the animation viewer to see other choices: http://killzonekid.com/arma-3-animation-viewer-jumping-animation/ + ["H_Beret_Colonel"], // array of headgear choices + ["U_OrestesBody"], // array of uniform choices + [selectRandom _buildings,[-3.79102,2.56055,0],0,[true,false]] + ]; +_enemyLeaderConfig set[ + 1, selectRandom [[-7.83789,13.1465,-0.00143886]] + ]; + // This allows us to place the antagonist to be arrested in one of several random locations. +_missionLootBoxes = [ + //["Box_NATO_Wps_F",[3,-3,0],_crateLoot,[4,10,2,5,5,1]], // Standard loot crate with standard loadout + //["Land_PaperBox_C_EPOCH",[-4,-3,0],_crateLoot,[0,0,0,10,10,3]], // No Weapons, Magazines, or optics; 10 each construction supplies and food/drink items, 3 backpacks + //["Land_CargoBox_V1_F",[3,4,0],_crateLoot,[0,10,2,5,5,1]] + ]; // Parameters are "Box Item Code", array defining the loot to be spawned, and position. + + // blck_lootCountsBlue= [4,12,3,6,6,1]; +_missionPatrolVehicles = [ + //["B_LSV_01_armed_F",[-41.377,-5.40894,-0.0238895],0.00171121], + ["B_LSV_01_armed_F",[39.5627,-5.26709,-0.0237107],0.00169144] + ]; // Parameters are "vehiclel type", offset relative to mission center, loot array, items to load from each category of the loot array. + // ["B_HMG_01_high_F"/*,"B_GMG_01_high_F","O_static_AT_F"*/]; + + /* + ["B_G_Soldier_AR_F",[-19.5156,25.2598,-0.00143886],0,[true,false]], + ["B_G_Soldier_AR_F",[-27.7676,-24.5508,-0.00143886],0,[true,false]], + ["B_G_Soldier_AR_F",[32.4883,-23.4609,-0.00143886],0,[true,false]], + ["B_G_Soldier_AR_F",[36.6914,12.1836,-0.00143886],0,[true,false]] + */ + + +_missionEmplacedWeapons = []; // +_missionPatrolVehicles = [ + //["B_MRAP_01_hmg_F",[27.8945,100.275,0],0,[true,false]], + //["B_MRAP_01_hmg_F",[-84.7793,72.2617,9.53674e-007],0,[true,false]], + //["B_MRAP_01_gmg_F",[-87.8457,-109.947,7.15256e-007],0,[true,false]] +]; +// Change _useMines to true/false below to enable mission-specific settings. +_useMines = blck_useMines; +_minNoAI = blck_MinAI_Blue; +_maxNoAI = blck_MaxAI_Blue; +_noAIGroups = blck_AIGrps_Blue; +_noVehiclePatrols = blck_SpawnVeh_Blue; +_noEmplacedWeapons = blck_SpawnEmplaced_Blue; +//_uniforms = blck_SkinList; +//_headgear = blck_headgear; +_chanceReinforcements = blck_chanceParaBlue; +_noPara = blck_noParaBlue; +_chanceHeliPatrol = 0; +_spawnCratesTiming = "atMissionEndAir"; +_endCondition = "assetSecured"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear", "assetSecured" +//_timeOut = -1; +#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf"; diff --git a/@GMS/addons/custom_server/Missions/Green/Camp_Moreell.sqf b/@GMS/addons/custom_server/Missions/Green/Camp_Moreell.sqf new file mode 100644 index 0000000..24acfb8 --- /dev/null +++ b/@GMS/addons/custom_server/Missions/Green/Camp_Moreell.sqf @@ -0,0 +1,156 @@ +/* + Mission Template by Ghostrider [GRG] + Mission Compositions by Bill prepared for ghostridergaming + Copyright 2016 + Last modified 3/20/17 + + -------------------------- + License + -------------------------- + All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License. + + http://creativecommons.org/licenses/by-nc-sa/4.0/ +*/ +#include "\q\addons\custom_server\Configs\blck_defines.hpp"; +#include "\q\addons\custom_server\Missions\privateVars.sqf"; + +//diag_log "[blckeagls] Spawning Green Mission with template = default"; +_crateLoot = blck_BoxLoot_Green; +_lootCounts = blck_lootCountsGreen; +_startMsg = "Enemy Camp Moreell was built in a nearby sector! Check the Green marker on your map for the location!"; +_endMsg = "The Camp Moreell at the Green Marker is under survivor control!"; +_markerLabel = ""; +_markerType = ["ELLIPSE",[200,200],"Solid"]; +_markerColor = "ColorGreen"; +_markerMissionName = "Camp Moreell"; +_missionLandscapeMode = "precise"; // acceptable values are "none","random","precise" + +////////// +// Past the output of the script here +_garrisonedBuildings_BuildingPosnSystem = [ +]; + +_garrisonedBuilding_ATLsystem = [ + ["Land_Cargo_Patrol_V3_F",[-3.45557,32.6038,-0.00143814],163.034,true,true,[["O_HMG_01_high_F",[-1.75244,0.382568,4.33092],0.00157772]],[]], + ["Land_Cargo_HQ_V3_F",[1.5835,1.53711,-0.00143814],90.021,true,true,[["O_HMG_01_high_F",[-4.53003,1.89331,3.1134],270.551],["O_Mortar_01_F",[0.884277,-5.92041,3.1624],178.341],["O_GMG_01_high_F",[-11.2842,-8.48218,-0.0118098],221.694],["O_HMG_01_high_F",[-12.6897,-6.82007,-0.0121179],236.126],["O_GMG_01_high_F",[10.885,-11.4487,-0.0118084],147.658],["O_GMG_01_high_F",[19.3098,-6.53003,-0.0118093],147.655]],[]], + ["Land_Cargo_Patrol_V3_F",[10.9478,34.4741,-0.00143814],195.395,true,true,[["O_HMG_01_high_F",[1.41943,0.690674,4.33092],359.999]],[]] +]; + + + +_missionLandscape = [ + ["Land_HBarrier_Big_F",[-14.1831,0.348877,-0.00143862],54.7855,true,true], + ["Land_HBarrier_1_F",[-7.70728,-8.24048,-0.00143862],295.873,true,true], + ["Land_BagFence_Long_F",[-11.6091,-6.83057,-0.00143862],45.3947,true,true], + ["Land_BagFence_Round_F",[-12.8318,-4.68042,-0.00143862],90.3947,true,true], + ["Land_BagFence_Round_F",[-9.44946,-8.13599,-0.00143862],0.394724,true,true], + ["Land_Cargo_House_V3_F",[-11.8579,27.8225,-0.00143862],341.505,true,true], + ["CamoNet_OPFOR_open_F",[-14.8772,18.198,-0.00143862],90.3947,true,true], + ["Land_HBarrier_Big_F",[-24.5461,25.9207,-0.00143862],195.395,true,true], + ["Land_HBarrier_Big_F",[-7.8335,30.6655,-0.00143862],255.395,true,true], + ["Land_HBarrier_Big_F",[-24.0242,10.8638,-0.00143862],165.395,true,true], + ["Land_HBarrier_Big_F",[-18.0986,7.95679,-0.00143862],255.395,true,true], + ["Land_HBarrier_Big_F",[-19.7212,22.9065,-0.00143862],90.3947,true,true], + ["Land_HBarrier_Big_F",[-31.6633,25.0271,-0.00143862],150.395,true,true], + ["Land_HBarrier_Big_F",[-12.3518,34.6216,-0.00143862],345.395,true,true], + ["Land_HBarrier_Big_F",[-17.9399,30.3276,-0.00143862],300.395,true,true], + ["Land_HBarrier_Big_F",[-19.3733,16.4546,-0.00143862],90.3947,true,true], + ["Land_HBarrier_1_F",[-32.8965,12.5454,-0.00143862],42.5069,true,true], + ["Land_HBarrier_1_F",[-30.3511,10.0146,-0.00143862],42.5069,true,true], + ["CamoNet_OPFOR_big_F",[-27.2468,18.4834,-0.00143862],75.3947,true,true], + ["Land_BagFence_Round_F",[-33.3694,10.7087,-0.00143862],87.5069,true,true], + ["Land_BagFence_Round_F",[-31.8938,9.28491,-0.00143862],357.507,true,true], + ["Land_HBarrier_5_F",[9.15552,-4.91626,-0.00143862],269.593,true,true], + ["Land_HBarrier_5_F",[9.13477,0.585938,-0.00143862],269.593,true,true], + ["Land_Cargo_House_V3_F",[25.2329,2.59155,-0.00143862],105.395,true,true], + ["Land_HBarrier_Big_F",[-2.57373,-8.99463,-0.00143862],180.395,true,true], + ["Land_HBarrier_Big_F",[26.4961,-2.62256,-0.00143862],195.395,true,true], + ["Land_HBarrier_Big_F",[5.79712,-8.80371,-0.00143862],180.395,true,true], + ["Land_HBarrier_1_F",[14.0208,-8.50757,-0.00143862],334.157,true,true], + ["Land_HBarrier_1_F",[22.1511,-3.42603,-0.00143862],324.626,true,true], + ["Land_HBarrier_1_F",[19.1423,-5.3833,-0.00143862],324.626,true,true], + ["Land_HBarrier_1_F",[10.7295,-9.9397,-0.00143862],334.157,true,true], + ["Land_BagFence_Round_F",[22.5408,-5.08765,-0.00143862],279.626,true,true], + ["Land_BagFence_Round_F",[20.8389,-6.23145,-0.00143862],9.62595,true,true], + ["Land_BagFence_Round_F",[14.1299,-10.2107,-0.00143862],289.157,true,true], + ["Land_BagFence_Round_F",[12.262,-11.0569,-0.00143862],19.157,true,true], + ["Land_HBarrier_5_F",[7.05835,9.52783,-0.00143862],181.048,true,true], + ["Land_HBarrier_5_F",[26.3564,29.2161,-0.00143862],195.395,true,true], + ["Land_HBarrier_5_F",[9.08203,5.92139,-0.00143862],269.593,true,true], + ["Land_HBarrier_Big_F",[18.55,34.8018,-0.00143862],195.395,true,true], + ["Land_HBarrier_Big_F",[1.32568,35.1333,-0.00143862],255.395,true,true], + ["Land_HBarrier_Big_F",[7.22388,36.5254,-0.00143862],285.395,true,true], + ["Land_HBarrier_Big_F",[-4.35571,36.8228,-0.00143862],345.395,true,true], + ["Land_HBarrier_Big_F",[7.04761,30.9424,-0.00143862],195.395,true,true], + ["Land_BagFence_Long_F",[24.1768,15.7207,-0.00143862],105.395,true,true], + ["Land_BagFence_Long_F",[22.7461,10.5283,-0.00143862],285.395,true,true], + ["Land_HBarrier_3_F",[25.4558,17.1135,-0.00143862],195.395,true,true], + ["Land_HBarrier_3_F",[22.7898,29.1609,-0.00143862],285.395,true,true], + ["Land_HBarrier_3_F",[23.3201,8.88696,-0.00143862],195.395,true,true], + ["Land_HBarrier_Big_F",[12.9075,38.3318,-0.00143862],195.395,true,true], + ["Land_HBarrier_Big_F",[30.9158,1.41919,-0.00143862],105.395,true,true], + ["Land_HBarrier_5_F",[29.5054,24.8923,-0.00143862],269.593,true,true], + ["Land_HBarrier_5_F",[29.5303,19.5947,-0.00143862],269.593,true,true], + ["CamoNet_OPFOR_open_F",[28.1597,12.0786,-0.00143862],195.395,true,true], + ["Land_HBarrier_Big_F",[31.4031,16.592,-0.00143862],0.394724,true,true], + ["Land_HBarrier_Big_F",[28.876,7.35913,-0.00143862],195.395,true,true], + ["Land_HBarrier_1_F",[33.3733,10.5449,-0.00143862],15.3947,true,true], + ["Land_HBarrier_1_F",[27.9988,12.1958,-0.00143862],195.395,true,true], + ["Land_BagFence_Long_F",[32.6428,9.11694,-0.00143862],285.395,true,true], + ["Land_BagFence_Long_F",[28.4683,13.8879,-0.00143862],105.395,true,true], + ["Land_HBarrier_3_F",[29.9619,29.1274,-0.00143862],105.395,true,true], + ["Land_HBarrier_3_F",[34.8462,14.4836,-0.00143862],90.3947,true,true], + ["Land_BagBunker_Large_F",[27.696,35.6018,-0.00143862],195.395,true,true] +]; + +_missionLootBoxes = [ +]; + +_missionLootVehicles = [ +]; + +_missionPatrolVehicles = [ + ["O_LSV_02_armed_F",[34.9805,-28.0225,-0.0376697],359.999] +]; + +_submarinePatrolParameters = [ +]; + +_airPatrols = [ +]; + +_missionEmplacedWeapons = [ + +]; + + + +////////// +// The lines below define additional variables you may wish to configure. + + +// Change _useMines to true/false below to enable mission-specific settings. +_useMines = blck_useMines; +_minNoAI = blck_MinAI_Green; +_maxNoAI = blck_MaxAI_Green; +_noAIGroups = blck_AIGrps_Green; +_noVehiclePatrols = blck_SpawnVeh_Green; +_noEmplacedWeapons = blck_SpawnEmplaced_Green; +//_uniforms = blck_SkinList; +//_headgear = blck_headgear; + +_chancePara = 0.75; // Setting this in the mission file overrides the defaults +_noPara = 5; // Setting this in the mission file overrides the defaults +_paraTriggerDistance = 400; // Distance from mission at which a player triggers these reinforcements and any supplemental loot. // To have paras spawn at the time the mission spawns with/without accompanying loot set this to 0. +_paraSkill = "Green"; // Choose any skill you like; bump up skill or add AI to justify more valuable loot. + +_chanceLoot = 0.7; +private _lootIndex = selectRandom[1,2,3,4]; +private _paralootChoices = [blck_contructionLoot,blck_contructionLoot,blck_highPoweredLoot,blck_supportLoot]; +private _paralootCountsChoices = [[0,0,0,10,10,0],[0,0,0,10,10,0],[10,10,0,0,0,0],[0,0,0,0,15,0]]; +_paraLoot = _paralootChoices select _lootIndex; +_paraLootCounts = _paralootCountsChoices select _lootIndex; // Throw in something more exotic than found at a normal blue mission. + +_endCondition = "allKilledOrPlayerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear" +//_timeOut = -1; +#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf"; diff --git a/@GMS/addons/custom_server/Missions/Green/Operations_Command.sqf b/@GMS/addons/custom_server/Missions/Green/Operations_Command.sqf new file mode 100644 index 0000000..3dac5e0 --- /dev/null +++ b/@GMS/addons/custom_server/Missions/Green/Operations_Command.sqf @@ -0,0 +1,184 @@ +/* + Mission Template by Ghostrider [GRG] + Mission Compositions by Bill prepared for ghostridergaming + Copyright 2016 + Last modified 3/20/17 + + -------------------------- + License + -------------------------- + All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License. + + http://creativecommons.org/licenses/by-nc-sa/4.0/ +*/ +#include "\q\addons\custom_server\Configs\blck_defines.hpp"; +#include "\q\addons\custom_server\Missions\privateVars.sqf"; + +//diag_log "[blckeagls] Spawning Green Mission with template = default"; +_crateLoot = blck_BoxLoot_Green; +_lootCounts = blck_lootCountsGreen; +_startMsg = "An Operations Command was sighted in a nearby sector! Check the Green marker on your map for the location!"; +_endMsg = "The Operations Command at the Green Marker is under survivor control!"; +_markerLabel = ""; +_markerType = ["ELLIPSE",[300,300],"Solid"]; +_markerColor = "ColorGreen"; +_markerMissionName = "Operations Command"; +_missionLandscapeMode = "precise"; // acceptable values are "none","random","precise" + +////////// +// Past the output of the script here +_garrisonedBuildings_BuildingPosnSystem = [ +]; + +_garrisonedBuilding_ATLsystem = [ + ["Land_Cargo_Patrol_V3_F",[-26.1375,13.395,-0.00143862],104.247,true,true,[["O_HMG_01_high_F",[-1.16919,-1.02051,4.33092],359.999]],[]], + ["Land_Cargo_Tower_V3_F",[0.0512695,-43.2329,-0.00143909],1.37485,true,true,[["O_HMG_01_high_F",[-11.6333,3.14819,-0.0121188],360],["O_Mortar_01_F",[-3.08325,4.21802,17.9254],0.000187431],["O_GMG_01_high_F",[-3.21069,-3.16113,17.8767],360],["O_GMG_01_high_F",[4.70557,-0.741943,17.8767],360]],[]], + ["Land_Cargo_Patrol_V3_F",[-22.3018,-36.6943,-0.00143862],16.3749,true,true,[["O_HMG_01_high_F",[-1.44019,-0.544922,4.33092],0.000570454],["O_HMG_01_high_F",[-6.95337,5.57886,-0.0121193],359.998]],[]], + ["Land_Cargo_HQ_V3_F",[0.157227,3.02832,-0.00143862],91.3748,true,true,[["O_Mortar_01_F",[1.9917,1.24707,3.16241],359.999],["O_HMG_01_high_F",[-4.22266,1.80176,3.1134],359.999],["O_HMG_01_high_F",[3.10205,-5.8584,3.1134],359.999],["O_HMG_01_high_F",[-6.48584,7.63452,-0.0121193],359.998],["O_HMG_01_high_F",[9.13306,15.3284,-0.0121193],359.998]],[]], + ["Land_Cargo_Tower_V3_F",[-16.1003,25.6072,-0.00143909],181.375,true,true,[["O_HMG_01_high_F",[3.25903,3.35229,17.8764],359.997],["O_GMG_01_high_F",[-4.9707,0.915771,17.8767],359.995]],[]], + ["Land_Cargo_Patrol_V3_F",[21.9438,-2.25854,-0.00143862],269.918,true,true,[["O_GMG_01_high_F",[1.11499,0.921387,4.33123],360]],[]], + ["Land_Cargo_House_V3_F",[7.7749,-26.0698,-0.00143909],1.37485,true,true,[["O_HMG_01_high_F",[2.2688,8.65552,-0.0121188],360]],[]] +]; + + + +_missionLandscape = [ + ["CamoNet_OPFOR_open_F",[-31.8352,-29.0081,-0.00143909],235.13,true,true], + ["CamoNet_OPFOR_open_F",[-43.8352,-16.6941,-0.00143909],181.375,true,true], + ["Land_HBarrier_Big_F",[-37.4087,-8.59814,-0.00143909],286.375,true,true], + ["Land_HBarrier_Big_F",[-29.3643,-37.0271,-0.00143909],37.1575,true,true], + ["Land_HBarrier_Big_F",[-35.4788,-31.5889,-0.00143909],50.6964,true,true], + ["Land_HBarrier_Big_F",[-38.9624,-25.2727,-0.00143909],255.154,true,true], + ["Land_BagBunker_Large_F",[-43.364,-16.4709,-0.00143909],91.3748,true,true], + ["Land_HBarrier_Big_F",[-34.405,-1.28906,-0.00143909],301.375,true,true], + ["Land_HBarrier_Big_F",[-29.0862,14.3416,-0.00143909],286.375,true,true], + ["Land_HBarrier_Big_F",[-31.1816,6.38184,-0.00143909],286.375,true,true], + ["Land_LampHalogen_F",[-29.8584,2.74854,-0.00143862],256.375,true,true], + ["Land_HBarrierWall_corridor_F",[-16.1533,-40.845,-0.00143909],106.375,true,true], + ["Land_HBarrier_Big_F",[-10.9395,-43.5535,-0.00143909],13.6286,true,true], + ["Land_HBarrier_Big_F",[-3.8855,-44.2878,-0.00143909],0.866833,true,true], + ["Land_HBarrier_Big_F",[-22.3318,-40.6543,-0.00143909],200.888,true,true], + ["Land_HBarrier_Big_F",[4.41016,-44.2852,-0.00143909],0.866833,true,true], + ["Land_HBarrier_5_F",[2.9043,-17.4326,-0.00143909],271.375,true,true], + ["Land_HBarrier_5_F",[-5.53174,-9.47681,-0.00143909],181.375,true,true], + ["Land_Cargo_House_V3_F",[-1.97241,-25.8367,-0.00143909],1.37485,true,true], + ["Land_HBarrier_Big_F",[-9.21558,-15.051,-0.00143909],271.375,true,true], + ["Land_HBarrier_Big_F",[-5.97168,-20.2385,-0.00143909],181.375,true,true], + ["Land_HBarrier_Big_F",[2.51318,-20.2158,-0.00143909],181.375,true,true], + ["Land_HBarrier_3_F",[2.83398,-22.9663,-0.00143909],91.3748,true,true], + ["Land_HBarrier_3_F",[2.75586,-26.2246,-0.00143909],91.3748,true,true], + ["Land_HBarrier_3_F",[2.94287,-10.5574,-0.00143909],271.375,true,true], + ["Land_HBarrier_3_F",[0.964355,-9.63477,-0.00143909],1.37485,true,true], + ["Land_HBarrier_3_F",[-6.09448,-25.2507,-0.00143909],271.375,true,true], + ["Land_HBarrier_3_F",[1.72021,-27.6951,-0.00143909],1.37485,true,true], + ["Land_HBarrier_3_F",[-6.02515,-22.2542,-0.00143909],271.375,true,true], + ["Land_HBarrier_3_F",[4.84912,-27.7708,-0.00143909],1.37485,true,true], + ["Land_HBarrier_3_F",[-5.15039,-27.5239,-0.00143909],1.37485,true,true], + ["Land_HelipadCircle_F",[-22.2104,-10.7046,-0.00143909],90.8075,true,true], + ["Land_TTowerBig_2_F",[-3.03882,-15.5251,-0.00143909],1.37485,true,true], + ["Land_HBarrier_5_F",[-24.4253,17.3018,-0.00143909],194.949,true,true], + ["Land_HBarrier_5_F",[-12.988,7.96045,-0.00143909],181.375,true,true], + ["Land_HBarrier_5_F",[-26.457,9.23633,-0.00143909],16.5662,true,true], + ["Land_Cargo_House_V3_F",[-15.2529,3.47607,-0.00143909],91.3748,true,true], + ["Land_HBarrier_Big_F",[-5.96069,14.4766,-0.00143909],1.375,true,true], + ["Land_HBarrier_Big_F",[2.22437,14.509,-0.00143909],1.375,true,true], + ["Land_HBarrier_Big_F",[-9.21826,9.43896,-0.00143909],271.375,true,true], + ["Land_HBarrier_Big_F",[-9.23389,1.12988,-0.00143909],271.375,true,true], + ["Land_HBarrier_Big_F",[-9.2439,-6.94019,-0.00143909],271.375,true,true], + ["Land_HBarrier_Big_F",[-26.9719,22.2693,-0.00143909],286.375,true,true], + ["Land_HBarrier_3_F",[-10.071,23.9849,-0.00143909],91.3748,true,true], + ["Land_HBarrier_Big_F",[-14.6584,26.7698,-0.00143909],1.375,true,true], + ["Land_HBarrier_Big_F",[-22.5229,26.7314,-0.00143909],1.375,true,true], + ["Land_HBarrier_Big_F",[-6.28784,26.8616,-0.00143909],1.375,true,true], + ["Land_HBarrier_Big_F",[1.70752,25.8137,-0.00143909],16.375,true,true], + ["CamoNet_OPFOR_open_F",[13.4675,-46.5574,-0.00143909],256.375,true,true], + ["Land_BagBunker_Large_F",[13.6731,-46.6125,-0.00143909],346.375,true,true], + ["Land_HBarrier_Big_F",[25.0122,-8.42798,-0.00143909],89.245,true,true], + ["Land_HBarrier_Big_F",[20.2207,-26.6072,-0.00143909],346.375,true,true], + ["Land_HBarrier_Big_F",[10.3425,-20.1804,-0.00143909],181.375,true,true], + ["Land_HBarrier_Big_F",[13.3196,-15.1829,-0.00143909],91.375,true,true], + ["Land_HBarrier_Big_F",[25.2847,-22.1433,-0.00143909],89.8961,true,true], + ["Land_HBarrier_Big_F",[15.2939,-23.981,-0.00143909],61.375,true,true], + ["Land_HBarrier_Big_F",[17.6921,-30.4187,-0.00143909],261.124,true,true], + ["Land_HBarrier_Big_F",[18.2314,-37.9956,-0.00143909],275.055,true,true], + ["Land_HBarrier_1_F",[26.3027,-13.0132,-0.00143909],224.245,true,true], + ["Land_HBarrier_1_F",[26.3459,-17.553,-0.00143909],134.896,true,true], + ["Land_HBarrier_3_F",[24.4424,-13.2629,-0.00143909],179.245,true,true], + ["Land_HBarrier_3_F",[23.5449,-11.0381,-0.00143909],89.245,true,true], + ["Land_HBarrier_3_F",[23.5166,-19.6731,-0.00143909],269.896,true,true], + ["Land_HBarrier_3_F",[24.4841,-17.4751,-0.00143909],359.896,true,true], + ["Land_HBarrier_3_F",[26.4421,-11.2278,-0.00143909],89.245,true,true], + ["Land_HBarrier_3_F",[26.521,-19.3137,-0.00143909],269.896,true,true], + ["Land_Tank_rust_F",[17.9231,-22.1641,-0.00143909],238.726,true,true], + ["Land_LampHalogen_F",[25.1262,-18.7678,-0.00143862],151.326,true,true], + ["Land_LampHalogen_F",[25.188,-11.5505,-0.00143862],241.375,true,true], + ["Land_HBarrierWall_corridor_F",[8.88965,13.3088,-0.00143909],76.3748,true,true], + ["Land_HBarrierWall_corridor_F",[11.9426,4.98389,-0.00143909],1.37485,true,true], + ["Land_HBarrierWall_corridor_F",[14.0635,10.1843,-0.00143909],331.375,true,true], + ["CamoNet_OPFOR_open_F",[16.8806,13.8459,-0.00143909],46.3748,true,true], + ["Land_HBarrierWall4_F",[12.9727,17.2073,-0.00143909],301.375,true,true], + ["Land_HBarrierWall4_F",[13.927,14.678,-0.00143909],241.375,true,true], + ["Land_HBarrier_Big_F",[24.7051,-0.242188,-0.00143909],89.245,true,true], + ["Land_HBarrier_Big_F",[8.90503,22.6189,-0.00143909],33.6192,true,true], + ["Land_HBarrier_Big_F",[13.2727,-6.86401,-0.00143909],91.375,true,true], + ["Land_HBarrier_Big_F",[24.3503,8.13452,-0.00143909],89.245,true,true], + ["Land_HBarrier_Big_F",[13.3027,-0.90332,-0.00143909],91.375,true,true], + ["Land_BagBunker_Small_F",[20.2654,17.5417,-0.00143909],226.375,true,true], + ["Land_LampHalogen_F",[10.6421,2.27686,-0.00143862],241.375,true,true], + ["Land_LampHalogen_F",[11.4541,10.5645,-0.00143862],136.375,true,true], + ["Land_HBarrierWall_corner_F",[21.3845,12.748,-0.00143909],46.3748,true,true], + ["Land_HBarrierWall_corner_F",[15.5208,19.1467,-0.00143909],346.375,true,true], + ["Land_HBarrierWall_corner_F",[18.5425,9.32104,-0.00143909],136.375,true,true] +]; + +_missionLootBoxes = [ +]; + +_missionLootVehicles = [ +]; + +_missionPatrolVehicles = [ + ["O_LSV_02_unarmed_F",[-53.4402,-44.895,-0.037971],359.999], + ["O_LSV_02_armed_F",[7.56689,40.9209,-0.0379591],359.999], + ["O_LSV_02_armed_F",[38.9788,-44.417,-0.0373936],359.999] +]; + +_submarinePatrolParameters = [ +]; + +_airPatrols = [ +]; + +_missionEmplacedWeapons = []; // + + + +////////// +// The lines below define additional variables you may wish to configure. + + +// Change _useMines to true/false below to enable mission-specific settings. +_useMines = blck_useMines; +_minNoAI = blck_MinAI_Green; +_maxNoAI = blck_MaxAI_Green; +_noAIGroups = blck_AIGrps_Green; +_noVehiclePatrols = blck_SpawnVeh_Green; +_noEmplacedWeapons = blck_SpawnEmplaced_Green; +//_uniforms = blck_SkinList; +//_headgear = blck_headgear; + +_chancePara = 0.75; // Setting this in the mission file overrides the defaults +_noPara = 5; // Setting this in the mission file overrides the defaults +_paraTriggerDistance = 400; // Distance from mission at which a player triggers these reinforcements and any supplemental loot. // To have paras spawn at the time the mission spawns with/without accompanying loot set this to 0. +_paraSkill = "Red"; // Choose any skill you like; bump up skill or add AI to justify more valuable loot. + +_chanceLoot = 0.7; +private _lootIndex = selectRandom[1,2,3,4]; +private _paralootChoices = [blck_contructionLoot,blck_contructionLoot,blck_highPoweredLoot,blck_supportLoot]; +private _paralootCountsChoices = [[0,0,0,10,10,0],[0,0,0,10,10,0],[10,10,0,0,0,0],[0,0,0,0,15,0]]; +_paraLoot = _paralootChoices select _lootIndex; +_paraLootCounts = _paralootCountsChoices select _lootIndex; // Throw in something more exotic than found at a normal blue mission. + +_endCondition = "allKilledOrPlayerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear" +//_timeOut = -1; +#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf"; diff --git a/@GMS/addons/custom_server/Missions/Green/charlston.sqf b/@GMS/addons/custom_server/Missions/Green/charlston.sqf index 844ca31..ca25c6d 100644 --- a/@GMS/addons/custom_server/Missions/Green/charlston.sqf +++ b/@GMS/addons/custom_server/Missions/Green/charlston.sqf @@ -14,13 +14,13 @@ #include "\q\addons\custom_server\Configs\blck_defines.hpp"; #include "\q\addons\custom_server\Missions\privateVars.sqf"; -_crateLoot = blck_BoxLoot_Red; -_lootCounts = blck_lootCountsRed; +_crateLoot = blck_BoxLoot_Green; +_lootCounts = blck_lootCountsGreen; _startMsg = "Camp Charlston is being built by the enemy in a nearby sector."; _endMsg = "Camp Charleston is under survivor control!"; _markerLabel = ""; -_markerType = ["ellipse",[200,200],"GRID"]; -_markerColor = "ColorRed"; +_markerType = ["ellipse",[200,200],"Solid"]; +_markerColor = "ColorGreen"; _markerMissionName = "Camp Charleston"; _missionLandscapeMode = "precise"; // acceptable values are "none","random","precise" @@ -156,8 +156,8 @@ _missionLootBoxes = []; _missionLootVehicles = []; _missionPatrolVehicles = [ - // ["B_G_Offroad_01_armed_F",[21.4174,19.0781,0.00804281],90.3115], - // ["B_G_Offroad_01_armed_F",[27.5131,-53.1431,0.00819397],268.528] + ["B_G_Offroad_01_armed_F",[21.4174,19.0781,0.00804281],90.3115], + ["B_G_Offroad_01_armed_F",[27.5131,-53.1431,0.00819397],268.528] ]; _missionLootBoxes = []; // Parameters are "Box Item Code", array defining the loot to be spawned, and position. @@ -167,11 +167,11 @@ _missionGroups = []; // Change _useMines to true/false below to enable mission-specific settings. _useMines = blck_useMines; -_minNoAI = blck_MinAI_Red; -_maxNoAI = blck_MaxAI_Red; -_noAIGroups = blck_AIGrps_Red; -_noVehiclePatrols = blck_SpawnVeh_Red; -_noEmplacedWeapons = blck_SpawnEmplaced_Red; +_minNoAI = blck_MinAI_Green; +_maxNoAI = blck_MaxAI_Green; +_noAIGroups = blck_AIGrps_Green; +_noVehiclePatrols = blck_SpawnVeh_Green; +_noEmplacedWeapons = blck_SpawnEmplaced_Green; _uniforms = blck_SkinList; _headgear = blck_headgear; _chanceLoot = 0.6; @@ -180,6 +180,6 @@ private _paralootChoices = [blck_contructionLoot,blck_contructionLoot,blck_highP private _paralootCountsChoices = [[0,0,0,8,8,0],[0,0,0,8,8,0],[8,8,0,0,0,0],[0,0,0,0,12,0]]; _paraLoot = _paralootChoices select _lootIndex; _paraLootCounts = _paralootCountsChoices select _lootIndex; // Throw in something more exotic than found at a normal blue mission. -//_endCondition = "allKilledOrPlayerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear" +_endCondition = "allKilledOrPlayerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear" //_timeOut = -1; #include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf"; diff --git a/@GMS/addons/custom_server/Missions/Green/dashq.sqf b/@GMS/addons/custom_server/Missions/Green/dashq.sqf new file mode 100644 index 0000000..31c72ee --- /dev/null +++ b/@GMS/addons/custom_server/Missions/Green/dashq.sqf @@ -0,0 +1,230 @@ +/* + Mission Template by Ghostrider [GRG] + Mission Compositions by Bill prepared for ghostridergaming + Copyright 2016 + Last modified 3/20/17 + + -------------------------- + License + -------------------------- + All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License. + + http://creativecommons.org/licenses/by-nc-sa/4.0/ +*/ +#include "\q\addons\custom_server\Configs\blck_defines.hpp"; +#include "\q\addons\custom_server\Missions\privateVars.sqf"; + +//diag_log "[blckeagls] Spawning Green Mission with template = default"; +_crateLoot = blck_BoxLoot_Green; +_lootCounts = blck_lootCountsGreen; +_startMsg = "An enemy HQ center was sighted in a nearby sector! Check the Green marker on your map for the location!"; +_endMsg = "The HQ at the Green Marker is under survivor control!"; +_markerLabel = ""; +_markerType = ["ELLIPSE",[300,300],"Solid"]; +_markerColor = "ColorGreen"; +_markerMissionName = "Operationsbasis"; +_missionLandscapeMode = "precise"; // acceptable values are "none","random","precise" + +////////// +// Past the output of the script here +_garrisonedBuildings_BuildingPosnSystem = [ +]; + +_garrisonedBuilding_ATLsystem = [ + ["Land_Cargo_HQ_V1_F",[-0.358154,-18.6514,-0.00143862],179.905,true,true,[["B_HMG_01_high_F",[-6.5437,1.09253,3.11855],145.121],["B_HMG_01_high_F",[-13.9094,-10.7791,-0.0121183],206.716]],[]] +]; + +_missionLandscape = [ + ["Land_PortableLight_double_F",[-42.614,-26.0178,-0.00143909],225.577,true,true], + ["Land_CncWall4_F",[-45.3523,-21.509,-0.00143909],89.9051,true,true], + ["Land_CncWall4_F",[-33.5913,-28.1145,-0.00143909],359.905,true,true], + ["Land_CncWall4_F",[-38.842,-28.124,-0.00143909],359.905,true,true], + ["Land_CncWall1_F",[-44.093,-26.7578,-0.00143909],44.9051,true,true], + ["Land_CncWall1_F",[-43.0923,-27.5063,-0.00143909],29.9051,true,true], + ["Land_CncWall1_F",[-45.2207,-24.6689,-0.00143909],74.9051,true,true], + ["Land_CncWall1_F",[-44.845,-25.7581,-0.00143909],59.9051,true,true], + ["Land_CncWall1_F",[-41.9668,-28.0046,-0.00143909],14.9051,true,true], + ["Land_BagBunker_01_large_green_F",[-49.7271,-16.9226,-0.00143909],90.2555,true,true], + ["Land_Cargo_Tower_V1_F",[-36.3582,-19.3394,-0.00143909],89.905,true,true], + ["Land_CncWall4_F",[-33.4968,-9.73975,-0.00143909],179.905,true,true], + ["Land_CncWall4_F",[-45.3792,-5.75879,-0.00143909],89.9051,true,true], + ["Land_CncWall4_F",[-45.3867,-0.508789,-0.00143909],89.9051,true,true], + ["Land_CncWall4_F",[-45.3694,-11.0095,-0.00143909],89.9051,true,true], + ["Land_CncWall4_F",[-45.3955,4.74121,-0.00143909],89.9051,true,true], + ["Land_CncWall4_F",[-45.4041,9.99072,-0.00143909],89.9051,true,true], + ["Land_CncWall1_F",[-32.0076,1.70923,-0.00143909],74.9051,true,true], + ["Land_CncWall1_F",[-31.6313,0.61792,-0.00143909],59.9051,true,true], + ["Land_BagBunker_01_large_green_F",[-49.7959,14.4089,-0.00143909],90.2555,true,true], + ["Land_Cargo_HQ_V1_F",[-34.4014,20.1455,-0.00143862],269.491,true,true], + ["Land_CncWall4_F",[-45.4214,20.4915,-0.00143909],89.9051,true,true], + ["Land_CncWall4_F",[-45.4302,25.7415,-0.00143909],89.9051,true,true], + ["Land_CncWall4_F",[-38.8159,32.2512,-0.00143909],179.905,true,true], + ["Land_CncWall4_F",[-33.5662,32.2607,-0.00143909],179.905,true,true], + ["Land_CncWall1_F",[-43.0654,31.7451,-0.00143909],149.905,true,true], + ["Land_CncWall1_F",[-41.9753,32.1199,-0.00143909],164.905,true,true], + ["Land_CncWall1_F",[-44.0635,30.9924,-0.00143909],134.905,true,true], + ["Land_CncWall1_F",[-44.8127,29.991,-0.00143909],119.905,true,true], + ["Land_CncWall1_F",[-45.3108,28.8672,-0.00143909],104.905,true,true], + ["Land_BagFence_Round_F",[-15.3367,-30.4338,-0.00143909],44.9051,true,true], + ["Land_BagFence_Round_F",[-25.8376,-30.2017,-0.00143909],314.905,true,true], + ["Land_PortableLight_double_F",[-2.30811,-29.9211,-0.00143909],44.7366,true,true], + ["Land_CncWall4_F",[-2.09229,-28.0632,-0.00143909],359.905,true,true], + ["Land_CncWall4_F",[-26.9856,-16.3538,-0.00143909],269.905,true,true], + ["Land_CncWall4_F",[-13.8528,-21.4565,-0.00143909],89.9051,true,true], + ["Land_CncWall4_F",[-26.9783,-21.6038,-0.00143909],269.905,true,true], + ["Land_CncWall4_F",[-7.34155,-28.0718,-0.00143909],359.905,true,true], + ["Land_CncWall4_F",[-13.8606,-16.2065,-0.00143909],89.9051,true,true], + ["Land_CncWall1_F",[-13.3455,-25.7068,-0.00143909],59.9051,true,true], + ["Land_CncWall1_F",[-12.593,-26.7058,-0.00143909],44.9051,true,true], + ["Land_CncWall1_F",[-27.5952,-25.8552,-0.00143909],299.905,true,true], + ["Land_CncWall1_F",[-27.0967,-24.7288,-0.00143909],284.905,true,true], + ["Land_CncWall1_F",[-13.7209,-24.6165,-0.00143909],74.9051,true,true], + ["Land_CncWall1_F",[-10.4666,-27.9514,-0.00143909],14.9051,true,true], + ["Land_CncWall1_F",[-29.3428,-27.6084,-0.00143909],329.905,true,true], + ["Land_CncWall1_F",[-30.4331,-27.9832,-0.00143909],344.905,true,true], + ["Land_CncWall1_F",[-11.592,-27.4541,-0.00143909],29.9051,true,true], + ["Land_CncWall1_F",[-28.3438,-26.855,-0.00143909],314.905,true,true], + ["Land_BagFence_Long_F",[-25.2168,-27.7002,-0.00143909],269.905,true,true], + ["Land_BagFence_Long_F",[-15.9658,-27.9348,-0.00143909],269.905,true,true], + ["Land_BagFence_Long_F",[-12.8359,-31.0559,-0.00143909],359.905,true,true], + ["Land_BagFence_Long_F",[-28.3364,-30.8318,-0.00143909],179.905,true,true], + ["Land_BagFence_Round_F",[-7.19092,10.5073,-0.00143909],44.9051,true,true], + ["Land_PortableLight_double_F",[-11.7207,0.158936,-0.00143909],135.598,true,true], + ["Land_PortableLight_double_F",[-29.4041,0.418701,-0.00143909],218.658,true,true], + ["Land_CncWall4_F",[-7.24731,-9.69678,-0.00143909],179.905,true,true], + ["Land_CncWall4_F",[-20.376,-1.73682,-0.00143909],359.905,true,true], + ["Land_CncWall4_F",[-25.6274,-1.74609,-0.00143909],359.905,true,true], + ["Land_CncWall4_F",[-15.1272,-1.72925,-0.00143909],359.905,true,true], + ["Land_CncWall1_F",[-10.4058,-9.82935,-0.00143909],164.905,true,true], + ["Land_CncWall1_F",[-10.8779,-1.22144,-0.00143909],329.905,true,true], + ["Land_CncWall1_F",[-9.13086,0.531982,-0.00143909],299.905,true,true], + ["Land_CncWall1_F",[-11.4956,-10.2031,-0.00143909],149.905,true,true], + ["Land_CncWall1_F",[-8.63257,1.65747,-0.00143909],284.905,true,true], + ["Land_CncWall1_F",[-11.9688,-1.59668,-0.00143909],344.905,true,true], + ["Land_CncWall1_F",[-27.4932,-12.1047,-0.00143909],239.905,true,true], + ["Land_CncWall1_F",[-12.4951,-10.9553,-0.00143909],134.905,true,true], + ["Land_CncWall1_F",[-13.2424,-11.9563,-0.00143909],119.905,true,true], + ["Land_CncWall1_F",[-29.8777,-1.12744,-0.00143909],29.9051,true,true], + ["Land_CncWall1_F",[-9.87939,-0.470703,-0.00143909],314.905,true,true], + ["Land_CncWall1_F",[-30.3708,-9.86011,-0.00143909],194.905,true,true], + ["Land_CncWall1_F",[-30.8787,-0.378906,-0.00143909],44.9051,true,true], + ["Land_CncWall1_F",[-29.2468,-10.3582,-0.00143909],209.905,true,true], + ["Land_CncWall1_F",[-13.7417,-13.0818,-0.00143909],104.905,true,true], + ["Land_CncWall1_F",[-28.2449,-11.1069,-0.00143909],224.905,true,true], + ["Land_CncWall1_F",[-27.1179,-13.1948,-0.00143909],254.905,true,true], + ["Land_CncWall1_F",[-28.7524,-1.62573,-0.00143909],14.9051,true,true], + ["Land_BagFence_Long_F",[-7.8208,13.0066,-0.00143909],269.905,true,true], + ["Land_BagFence_Long_F",[-4.69067,9.88257,-0.00143909],359.905,true,true], + ["Land_Cargo_Patrol_V1_F",[-19.8857,1.92358,-0.00143862],359.905,true,true], + ["Land_Cargo_HQ_V1_F",[-17.6404,20.1672,-0.00143862],269.491,true,true], + ["Land_HelipadSquare_F",[0.169189,17.6489,-0.00143909],359.936,true,true], + ["Land_BagFence_Round_F",[-7.21484,25.1335,-0.00143909],134.905,true,true], + ["Land_BagFence_Round_F",[-8.354,36.8232,-0.00143909],134.905,true,true], + ["Land_CncWall4_F",[-23.0659,32.2773,-0.00143909],179.905,true,true], + ["Land_CncWall4_F",[-12.615,32.3005,-0.00143909],179.905,true,true], + ["Land_CncWall4_F",[-17.8164,32.2856,-0.00143909],179.905,true,true], + ["Land_CncWall4_F",[-7.396,32.3115,-0.00143909],179.905,true,true], + ["Land_CncWall4_F",[-2.25146,35.2305,-0.00143909],179.977,true,true], + ["Land_CncWall4_F",[-28.3167,32.269,-0.00143909],179.905,true,true], + ["Land_CncWall1_F",[-4.03638,32.6663,-0.00143909],149.461,true,true], + ["Land_BagFence_Long_F",[-4.71533,25.7625,-0.00143909],359.905,true,true], + ["Land_BagFence_Long_F",[-5.85449,37.4521,-0.00143909],359.905,true,true], + ["Land_BagFence_Long_F",[-7.83618,22.6321,-0.00143909],89.9051,true,true], + ["Land_BagFence_Long_F",[-8.97534,34.3218,-0.00143909],89.9051,true,true], + ["Land_PortableLight_double_F",[12.1106,-26.1833,-0.00143909],149.905,true,true], + ["Land_CncWall4_F",[15.0215,-21.5349,-0.00143909],269.905,true,true], + ["Land_CncWall4_F",[8.38428,-28.1101,-0.00143909],359.905,true,true], + ["Land_CncWall4_F",[15.0137,-16.2847,-0.00143909],269.905,true,true], + ["Land_CncWall1_F",[14.9031,-24.6597,-0.00143909],284.905,true,true], + ["Land_CncWall1_F",[12.6567,-27.5383,-0.00143909],329.905,true,true], + ["Land_CncWall1_F",[11.5676,-27.9133,-0.00143909],344.905,true,true], + ["Land_CncWall1_F",[14.4038,-25.7854,-0.00143909],299.905,true,true], + ["Land_CncWall1_F",[13.656,-26.7861,-0.00143909],314.905,true,true], + ["Land_BagFence_Long_F",[12.5037,-23.1807,-0.00143909],89.3707,true,true], + ["Land_BagFence_Long_F",[11.072,-24.5706,-0.00143909],359.905,true,true], + ["Land_BagFence_Long_F",[10.9707,-21.8315,-0.00143909],179.371,true,true], + ["Land_BagFence_Long_F",[9.56812,-23.1921,-0.00143909],269.905,true,true], + ["Land_BagBunker_01_large_green_F",[3.83936,-32.5405,-0.00143909],0,true,true], + ["Land_TTowerSmall_2_F",[11.5024,-23.7861,-0.00143909],179.905,true,true], + ["Land_Cargo_House_V1_F",[9.00171,-10.2603,-0.00143909],89.905,true,true], + ["Land_Cargo_House_V1_F",[8.98071,2.86475,-0.00143909],89.905,true,true], + ["Land_Medevac_house_V1_F",[8.99219,-3.76099,-0.00143909],90.3921,true,true], + ["Land_BagFence_Round_F",[8.05933,10.2788,-0.00143909],314.905,true,true], + ["Land_PortableLight_double_F",[12.8176,7.44629,-0.00143909],134.905,true,true], + ["Land_CncWall4_F",[14.9788,4.71558,-0.00143909],269.905,true,true], + ["Land_CncWall4_F",[15.0054,-11.0347,-0.00143909],269.905,true,true], + ["Land_CncWall4_F",[14.9961,-5.78418,-0.00143909],269.905,true,true], + ["Land_CncWall4_F",[14.9878,-0.533936,-0.00143909],269.905,true,true], + ["Land_CncWall4_F",[14.9705,9.96558,-0.00143909],269.905,true,true], + ["Land_BagFence_Long_F",[8.68018,12.7852,-0.00143909],269.905,true,true], + ["Land_BagFence_Long_F",[5.55933,9.6499,-0.00143909],179.905,true,true], + ["Land_BagBunker_01_large_green_F",[19.272,16.1316,-0.00143909],269.832,true,true], + ["Land_BagFence_Round_F",[7.91089,24.9097,-0.00143909],224.905,true,true], + ["Land_BagFence_Round_F",[9.05054,36.9314,-0.00143909],224.905,true,true], + ["Land_PortableLight_double_F",[11.8816,29.2671,-0.00143909],44.7366,true,true], + ["Land_CncWall4_F",[14.9529,20.4653,-0.00143909],269.905,true,true], + ["Land_CncWall4_F",[8.43433,32.3303,-0.00143909],179.905,true,true], + ["Land_CncWall4_F",[2.95288,35.22,-0.00143909],179.977,true,true], + ["Land_CncWall4_F",[14.9443,25.7156,-0.00143909],269.905,true,true], + ["Land_CncWall1_F",[14.4373,29.9646,-0.00143909],239.905,true,true], + ["Land_CncWall1_F",[14.813,28.8745,-0.00143909],254.905,true,true], + ["Land_CncWall1_F",[13.6853,30.9644,-0.00143909],224.905,true,true], + ["Land_CncWall1_F",[12.6843,31.7119,-0.00143909],209.905,true,true], + ["Land_CncWall1_F",[11.5593,32.2114,-0.00143909],194.905,true,true], + ["Land_CncWall1_F",[5.11841,32.7061,-0.00143909],209.905,true,true], + ["Land_BagFence_Long_F",[8.54004,22.4104,-0.00143909],89.9051,true,true], + ["Land_BagFence_Long_F",[9.67969,34.4321,-0.00143909],89.9051,true,true], + ["Land_BagFence_Long_F",[5.40894,25.5288,-0.00143909],179.905,true,true], + ["Land_BagFence_Long_F",[6.54858,37.5505,-0.00143909],179.905,true,true] +]; + +_missionLootBoxes = [ + //["Exile_Container_SupplyBox",[0.0717773,16.9431,-0.00143814],_crateLoot,_lootCounts,0.000320471] +]; + +_missionLootVehicles = [ +]; + +_missionPatrolVehicles = [ + //["O_T_LSV_02_armed_F",[-62.7971,0.422119,-0.0236669],0.00164848], + ["O_T_LSV_02_armed_F",[31.9084,-7.18774,-0.0238085],0.00168349] +]; + +_submarinePatrolParameters = [ +]; + +_airPatrols = [ +]; + +_missionEmplacedWeapons = []; // + + +////////// +// The lines below define additional variables you may wish to configure. + + +// Change _useMines to true/false below to enable mission-specific settings. +_useMines = blck_useMines; +_minNoAI = blck_MinAI_Green; +_maxNoAI = blck_MaxAI_Green; +_noAIGroups = blck_AIGrps_Green; +_noVehiclePatrols = blck_SpawnVeh_Green; +_noEmplacedWeapons = blck_SpawnEmplaced_Green; +//_uniforms = blck_SkinList; +//_headgear = blck_headgear; + +_chancePara = 0.75; // Setting this in the mission file overrides the defaults +_noPara = 5; // Setting this in the mission file overrides the defaults +_paraTriggerDistance = 400; // Distance from mission at which a player triggers these reinforcements and any supplemental loot. // To have paras spawn at the time the mission spawns with/without accompanying loot set this to 0. +_paraSkill = "Green"; // Choose any skill you like; bump up skill or add AI to justify more valuable loot. + +_chanceLoot = 0.7; +private _lootIndex = selectRandom[1,2,3,4]; +private _paralootChoices = [blck_contructionLoot,blck_contructionLoot,blck_highPoweredLoot,blck_supportLoot]; +private _paralootCountsChoices = [[0,0,0,10,10,0],[0,0,0,10,10,0],[10,10,0,0,0,0],[0,0,0,0,15,0]]; +_paraLoot = _paralootChoices select _lootIndex; +_paraLootCounts = _paralootCountsChoices select _lootIndex; // Throw in something more exotic than found at a normal blue mission. + +_endCondition = "allKilledOrPlayerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear" +//_timeOut = -1; +#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf"; diff --git a/@GMS/addons/custom_server/Missions/Green/derbunker.sqf b/@GMS/addons/custom_server/Missions/Green/derbunker.sqf new file mode 100644 index 0000000..87ac02e --- /dev/null +++ b/@GMS/addons/custom_server/Missions/Green/derbunker.sqf @@ -0,0 +1,120 @@ +/* + Mission Template by Ghostrider [GRG] + Mission Compositions by Bill prepared for ghostridergaming + Copyright 2016 + Last modified 3/20/17 + + -------------------------- + License + -------------------------- + All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License. + + http://creativecommons.org/licenses/by-nc-sa/4.0/ +*/ +#include "\q\addons\custom_server\Configs\blck_defines.hpp"; +#include "\q\addons\custom_server\Missions\privateVars.sqf"; + +//diag_log "[blckeagls] Spawning Green Mission with template = default"; +_crateLoot = blck_BoxLoot_Green; +_lootCounts = blck_lootCountsGreen; +_startMsg = "An enemy Bunker was sighted in a nearby sector! Check the Green marker on your map for the location!"; +_endMsg = "The Bunker at the Green Marker is under survivor control!"; +_markerLabel = ""; +_markerType = ["ELLIPSE",[300,300],"Solid"]; +_markerColor = "ColorGreen"; +_markerMissionName = "DerBunker"; +_missionLandscapeMode = "precise"; // acceptable values are "none","random","precise" + +////////// +// Past the output of the script here +_garrisonedBuildings_BuildingPosnSystem = [ +]; + +_garrisonedBuilding_ATLsystem = [ + ["Land_Bunker_01_big_F",[-15.925,9.02295,0.760561],90.071,true,true,[["O_HMG_01_high_F",[-5.45947,-3.38574,0.109706],359.994]],[]], + ["Land_Bunker_01_tall_F",[-15.377,-8.8042,-0.00143909],90.071,true,true,[["O_HMG_01_high_F",[5.50562,-2.54395,-0.0121193],0.00145215],["O_HMG_01_high_F",[-1.72095,-0.109375,4.96893],0.00948966]],[]], + ["Land_Bunker_01_tall_F",[-15.76,28.606,-0.00143909],90.071,true,true,[["O_HMG_01_high_F",[5.47437,2.47559,-0.0121179],0.000581241],["O_HMG_01_high_F",[-1.38867,-0.0722656,4.967],359.999],["O_HMG_01_high_F",[11.8271,5.87988,-0.0121188],0.00143633]],[]], + ["Land_Bunker_01_big_F",[20.199,10.729,0.760561],270.416,true,true,[["O_HMG_01_high_F",[5.86328,3.25586,0.109697],0.0117801]],[]], + ["Land_Bunker_01_tall_F",[19.8899,-8.86914,-0.00143909],270.416,true,true,[["O_HMG_01_high_F",[-5.13818,-2.33496,-0.0121174],0.0002874],["O_HMG_01_high_F",[1.45801,0.0512695,4.96698],360]],[]], + ["Land_Bunker_01_tall_F",[19.731,28.542,-0.00143909],270.416,true,true,[["O_HMG_01_high_F",[-5.00977,2.1792,-0.0121188],0.00143735],["O_HMG_01_high_F",[1.80957,0.26709,4.96756],360],["O_HMG_01_high_F",[-12.0127,6.1333,-0.0121193],0.00145178]],[]] +]; + +_missionLandscape = [ + //["Sign_Arrow_F",[-3163.22,-5166.85,-0.00143909],0,true,true], + //["Sign_Arrow_Green_F",[-3163.22,-5166.85,-0.00143909],0,true,true], + //["Sign_Arrow_Yellow_F",[-3163.22,-5166.85,-0.00143909],0,true,true], + //["babe_helper",[-3165.72,-5166.35,-0.00143909],90.8645,true,true], + ["Land_Bunker_01_blocks_3_F",[-13.762,17.5518,-0.00143909],270.35,true,true], + ["Land_Bunker_01_blocks_3_F",[-0.0979004,-12.9033,-0.00143909],179.955,true,true], + ["Land_Bunker_01_blocks_3_F",[-5.18799,-12.9092,-0.00143909],179.955,true,true], + ["Land_Bunker_01_blocks_3_F",[-10.175,-12.9253,-0.502439],179.955,true,true], + ["Land_Bunker_01_blocks_3_F",[-13.814,-4.44141,-0.00143909],270.35,true,true], + ["Land_Bunker_01_blocks_3_F",[-13.7959,0.544922,-0.00143909],270.35,true,true], + ["CamoNet_INDP_big_F",[2.23804,-2.70508,-0.00143909],182.545,true,true], + ["Land_Bunker_01_blocks_3_F",[-13.7451,22.5391,-0.00143909],270.35,true,true], + ["Land_Bunker_01_blocks_3_F",[-2.51611,30.105,-0.00143909],90.192,true,true], + ["Land_Bunker_01_blocks_3_F",[-10.6179,32.6689,-0.432439],0.106,true,true], + ["Land_Bunker_01_blocks_3_F",[-5.63013,32.6719,-0.00143909],0.106,true,true], + ["Land_Bunker_01_blocks_3_F",[17.958,2.1958,-0.00143909],90.695,true,true], + ["Land_Bunker_01_blocks_3_F",[14.9771,-12.854,-0.529439],179.955,true,true], + ["Land_Bunker_01_blocks_3_F",[4.88892,-12.8853,-0.00143909],179.955,true,true], + ["Land_Bunker_01_blocks_3_F",[17.9109,-2.78906,-0.00143909],90.695,true,true], + ["Land_Bunker_01_blocks_3_F",[9.98999,-12.8711,-0.00143909],179.955,true,true], + ["Land_Bunker_01_blocks_3_F",[6.58691,30.1689,-0.00143909],269.774,true,true], + ["Land_Bunker_01_blocks_3_F",[18.095,19.2026,-0.00143909],90.695,true,true], + ["Land_Bunker_01_blocks_3_F",[18.1409,24.189,-0.00143909],90.695,true,true], + ["Land_Bunker_01_blocks_3_F",[9.54907,32.6689,-0.00143909],0.106,true,true], + ["Land_Bunker_01_blocks_3_F",[14.5359,32.6729,-0.363439],0.106,true,true] +]; + +_missionLootBoxes = [ + //["Exile_Container_SupplyBox",[0.0446777,-1.31494,-0.001441],_crateLoot,_lootCounts,0.00167282] +]; + +_missionLootVehicles = [ +]; + +_missionPatrolVehicles = [ + ["O_LSV_02_armed_F",[-37.46,8.55273,-0.0378561],359.999], + ["O_LSV_02_unarmed_F",[38.3699,8.21484,-0.0378113],359.999] +]; + +_submarinePatrolParameters = [ +]; + +_airPatrols = [ +]; + +_missionEmplacedWeapons = []; // + + + +////////// +// The lines below define additional variables you may wish to configure. + + +// Change _useMines to true/false below to enable mission-specific settings. +_useMines = blck_useMines; +_minNoAI = blck_MinAI_Green; +_maxNoAI = blck_MaxAI_Green; +_noAIGroups = blck_AIGrps_Green; +_noVehiclePatrols = blck_SpawnVeh_Green; +_noEmplacedWeapons = blck_SpawnEmplaced_Green; +//_uniforms = blck_SkinList; +//_headgear = blck_headgear; + +_chancePara = 0.75; // Setting this in the mission file overrides the defaults +_noPara = 5; // Setting this in the mission file overrides the defaults +_paraTriggerDistance = 400; // Distance from mission at which a player triggers these reinforcements and any supplemental loot. // To have paras spawn at the time the mission spawns with/without accompanying loot set this to 0. +_paraSkill = "Green"; // Choose any skill you like; bump up skill or add AI to justify more valuable loot. + +_chanceLoot = 0.7; +private _lootIndex = selectRandom[1,2,3,4]; +private _paralootChoices = [blck_contructionLoot,blck_contructionLoot,blck_highPoweredLoot,blck_supportLoot]; +private _paralootCountsChoices = [[0,0,0,10,10,0],[0,0,0,10,10,0],[10,10,0,0,0,0],[0,0,0,0,15,0]]; +_paraLoot = _paralootChoices select _lootIndex; +_paraLootCounts = _paralootCountsChoices select _lootIndex; // Throw in something more exotic than found at a normal blue mission. + +_endCondition = "allKilledOrPlayerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear" +//_timeOut = -1; +#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf"; diff --git a/@GMS/addons/custom_server/Missions/Green/factory.sqf b/@GMS/addons/custom_server/Missions/Green/factory.sqf index 9d5f2c7..671e439 100644 --- a/@GMS/addons/custom_server/Missions/Green/factory.sqf +++ b/@GMS/addons/custom_server/Missions/Green/factory.sqf @@ -43,49 +43,56 @@ _missionLandscape = [ //["Sign_Arrow_F",[-4333.49,-3526.14,-0.00143862],0,true,true], //["Sign_Arrow_Yellow_F",[-4333.49,-3526.14,-0.00143862],0,true,true], ["Land_BagFence_Long_F",[-29.7012,-38.5171,-0.00143862],91.6296,true,true], - ["Land_BagFence_Long_F",[-27.5103,-40.5801,-0.00143862],181.63,true,true], - ["Land_HBarrier_Big_F",[-22.1475,-58.7117,-0.00143862],181.63,true,true], - ["Land_HBarrier_Big_F",[-25.2705,-45.3574,-0.00143862],91.6296,true,true], - ["Land_HBarrier_Big_F",[-25.3784,-53.6096,-0.00143862],91.6296,true,true], - ["Land_BagFence_Corner_F",[-29.377,-40.2764,-0.00143862],181.63,true,true], - ["Land_BagFence_Corner_F",[-25.5186,-40.8857,-0.00143862],1.62962,true,true], - ["Land_BagFence_Long_F",[-27.6362,-36.2009,-0.00143862],1.62962,true,true], - ["Land_HBarrier_Big_F",[-31.3271,-12.1621,-0.00143862],91.6296,true,true], - ["Land_HBarrier_Big_F",[-26.2822,-19.4336,-0.00143862],181.63,true,true], - ["Land_HBarrier_Big_F",[-31.4404,-20.5371,-0.00143862],91.6296,true,true], - ["Land_BagFence_Corner_F",[-29.3945,-36.5234,-0.00143862],271.63,true,true], - ["CamoNet_OPFOR_F",[-25.6099,-22.126,-0.00143862],1.62962,true,true], - ["CamoNet_OPFOR_big_F",[-23.2964,2.06958,-0.00143862],1.62962,true,true], - ["Land_HBarrier_Big_F",[-31.3423,-3.90796,-0.00143862],91.6296,true,true], - ["Land_HBarrier_Big_F",[-27.8384,9.37231,-0.00143862],181.63,true,true], - ["Land_HBarrier_Big_F",[-31.2295,4.46704,-0.00143862],91.6296,true,true], - ["Land_HBarrier_Big_F",[-19.4634,9.25928,-0.00143862],181.63,true,true], - ["Land_BagFence_Round_F",[-3.56348,-51.6428,-0.00143862],316.63,true,true], - ["Land_BagFence_Long_F",[-6.08105,-52.1965,-0.00143862],181.63,true,true], - ["Land_HBarrier_Big_F",[11.7363,-54.9075,-0.00143862],181.63,true,true], - ["Land_HBarrier_Big_F",[3.36133,-54.7944,-0.00143862],181.63,true,true], - ["Land_HBarrier_Big_F",[-8.54834,-55.4766,-0.00143862],91.6296,true,true], - ["Land_HBarrier_Big_F",[-13.6416,-58.7065,-0.00143862],181.63,true,true], - ["Land_dp_mainFactory_F",[7.44922,-29.397,-0.00143862],1.62962,true,true], - ["Land_HBarrier_Big_F",[-6.04248,6.25171,-0.00143862],271.63,true,true], - ["Land_HBarrier_Big_F",[11.5215,8.25244,-0.00143862],181.63,true,true], - ["Land_HBarrier_Big_F",[-11.2095,9.27417,-0.00143862],181.63,true,true], - ["Land_HBarrier_Big_F",[8.12988,3.34741,-0.00143862],91.6296,true,true], - ["Land_HBarrier_Big_F",[19.9902,-54.8926,-0.00143862],181.63,true,true], - ["Land_HBarrier_Big_F",[32.8569,-43.4072,-0.00143862],271.63,true,true], - ["Land_HBarrier_Big_F",[28.146,-54.7991,-0.00143862],181.63,true,true], - ["Land_HBarrier_Big_F",[32.873,-51.5361,-0.00143862],271.63,true,true], - ["Land_BagFence_Round_F",[37.7549,-30.4514,-0.00143862],316.63,true,true], - ["Land_BagFence_Round_F",[37.8594,-28.2903,-0.00143862],226.63,true,true], - ["Land_BagFence_Long_F",[35.2378,-31.0051,-0.00143862],181.63,true,true], - ["Land_HBarrier_Big_F",[33.3535,-19.7563,-0.00143862],271.63,true,true], - ["Land_HBarrier_Big_F",[30.1147,-14.9102,-0.00143862],181.63,true,true], - ["Land_HBarrier_Big_F",[32.8462,-34.9041,-0.00143862],271.63,true,true], - ["Land_HBarrier_Big_F",[24.9575,-11.6372,-0.00143862],271.63,true,true], - ["CamoNet_OPFOR_F",[21.7773,-9.21729,-0.00143862],91.6296,true,true], - ["Land_HBarrier_Big_F",[19.8965,8.1394,-0.00143862],181.63,true,true], - ["Land_HBarrier_Big_F",[24.9307,4.99487,-0.00143862],271.63,true,true], - ["Land_HBarrier_Big_F",[24.9414,-3.5083,-0.00143862],271.63,true,true] + ["Land_HBarrier_Big_F",[0,0,0],181.63,true,true], + ["Land_HBarrier_Big_F",[13.4092,-3.25757,0],271.63,true,true], + ["Land_HBarrier_Big_F",[8.375,-0.113037,0],181.63,true,true], + ["Land_Cargo_Patrol_V3_F",[1.41602,-4.66895,4.76837e-007],181.63,true,true], + ["Land_HBarrier_Big_F",[13.4199,-11.7607,0],271.63,true,true], + ["Land_HBarrier_Big_F",[18.5933,-23.1626,0],181.63,true,true], + ["Land_HBarrier_Big_F",[13.436,-19.8896,0],271.63,true,true], + ["Land_HBarrier_Big_F",[21.832,-28.0088,0],271.63,true,true], + ["Land_BagFence_Round_F",[26.2334,-38.7039,0],316.63,true,true], + ["Land_BagFence_Round_F",[26.3379,-36.5427,0],226.63,true,true], + ["Land_BagFence_Long_F",[23.7163,-39.2576,0],181.63,true,true], + ["CamoNet_OPFOR_F",[10.2559,-17.4697,0],91.6296,true,true], + ["Land_HBarrier_Big_F",[-3.3916,-4.90503,0],91.6296,true,true], + ["Land_HBarrier_Big_F",[-30.9849,1.00684,0],181.63,true,true], + ["Land_HBarrier_Big_F",[-17.564,-2.00073,0],271.63,true,true], + ["Land_HBarrier_Big_F",[-22.731,1.02173,0],181.63,true,true], + ["Land_Cargo_Patrol_V3_F",[-22.2847,-3.47803,4.76837e-007],181.63,true,true], + ["CamoNet_OPFOR_big_F",[-34.8179,-6.18286,0],1.62962,true,true], + ["Land_HBarrier_Big_F",[-20.0698,-63.729,0],91.6296,true,true], + ["Land_HBarrier_Big_F",[-33.6689,-66.9641,0],181.63,true,true], + ["Land_HBarrier_Big_F",[-25.1631,-66.959,0],181.63,true,true], + ["Land_BagFence_Long_F",[-17.6025,-60.449,0],181.63,true,true], + ["Land_Cargo_Tower_V3_F",[-30.2202,-60.043,3.8147e-006],91.6296,true,true], + ["Land_BagFence_Round_F",[-15.085,-59.8953,0],316.63,true,true], + ["Land_HBarrier_Big_F",[-39.3599,1.11987,0],181.63,true,true], + ["Land_HBarrier_Big_F",[-42.751,-3.7854,0],91.6296,true,true], + ["Land_HBarrier_Big_F",[-42.8638,-12.1604,0],91.6296,true,true], + ["Land_HBarrier_Big_F",[-37.8037,-27.686,0],181.63,true,true], + ["Land_HBarrier_Big_F",[-42.8486,-20.4146,0],91.6296,true,true], + ["Land_HBarrier_Big_F",[-42.9619,-28.7896,0],91.6296,true,true], + ["Land_Cargo_Patrol_V3_F",[-38.689,-23.6594,4.76837e-007],91.6296,true,true], + ["CamoNet_OPFOR_F",[-37.1313,-30.3784,0],1.62962,true,true], + ["Land_HBarrier_Big_F",[-36.8999,-61.8621,0],91.6296,true,true], + ["Land_HBarrier_Big_F",[-36.792,-53.6099,0],91.6296,true,true], + ["Land_BagFence_Corner_F",[-37.04,-49.1382,0],1.62962,true,true], + ["Land_BagFence_Corner_F",[-40.8984,-48.5288,0],181.63,true,true], + ["Land_BagFence_Long_F",[-39.0317,-48.8325,0],181.63,true,true], + ["Land_BagFence_Long_F",[-39.1577,-44.4534,0],1.62962,true,true], + ["Land_BagFence_Long_F",[-41.2227,-46.7695,0],91.6296,true,true], + ["Land_BagFence_Corner_F",[-40.916,-44.7759,0],271.63,true,true], + ["Land_HBarrier_Big_F",[0.214844,-63.1599,0],181.63,true,true], + ["Land_HBarrier_Big_F",[8.46875,-63.145,0],181.63,true,true], + ["Land_HBarrier_Big_F",[-8.16016,-63.0469,0],181.63,true,true], + ["Land_HBarrier_Big_F",[21.3247,-43.1565,0],271.63,true,true], + ["Land_HBarrier_Big_F",[21.3354,-51.6597,0],271.63,true,true], + ["Land_HBarrier_Big_F",[21.3516,-59.7886,0],271.63,true,true], + ["Land_HBarrier_Big_F",[16.6245,-63.0515,0],181.63,true,true], + ["Land_Dome_Small_F",[0.337891,-44.8254,-4.76837e-007],0.223401,true,true], + ["Land_dp_smallTank_F",[18.314,-70.0537,0],0,true,true], + ["Land_dp_smallTank_F",[9.81934,-69.9482,0],0,true,true] ]; _missionLootBoxes = []; @@ -93,8 +100,8 @@ _missionLootBoxes = []; _missionLootVehicles = []; _missionPatrolVehicles = [ - // ["B_G_Offroad_01_armed_F",[-53.8027,-29.7834,0.00867844],0.00103655], - // ["B_G_Offroad_01_armed_F",[51.0596,-25.7876,0.00815535],0.00104356] + ["B_G_Offroad_01_armed_F",[-53.8027,-29.7834,0.00867844],0.00103655], + ["B_G_Offroad_01_armed_F",[51.0596,-25.7876,0.00815535],0.00104356] ]; _submarinePatrolParameters = []; @@ -131,6 +138,6 @@ private _paralootCountsChoices = [[0,0,0,10,10,0],[0,0,0,10,10,0],[10,10,0,0,0,0 _paraLoot = _paralootChoices select _lootIndex; _paraLootCounts = _paralootCountsChoices select _lootIndex; // Throw in something more exotic than found at a normal blue mission. -//_endCondition = "playerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear" +_endCondition = "allKilledOrPlayerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear" //_timeOut = -1; #include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf"; diff --git a/@GMS/addons/custom_server/Missions/Green/fortification.sqf b/@GMS/addons/custom_server/Missions/Green/fortification.sqf index 877b677..9e60f35 100644 --- a/@GMS/addons/custom_server/Missions/Green/fortification.sqf +++ b/@GMS/addons/custom_server/Missions/Green/fortification.sqf @@ -20,7 +20,7 @@ _lootCounts = blck_lootCountsGreen; _startMsg = "An enemy fortification was sighted in a nearby sector! Check the Green marker on your map for the location!"; _endMsg = "The Sector at the Green Marker is under survivor control!"; _markerLabel = ""; -_markerType = ["ellipse",[225,225],"GRID"]; +_markerType = ["ELLIPSE",[300,300],"Solid"]; _markerColor = "ColorGreen"; _markerMissionName = "Fortification"; _missionLandscapeMode = "precise"; // acceptable values are "none","random","precise" @@ -150,8 +150,8 @@ _missionLootBoxes = []; // Parameters are "Box Item Code", array defining the _missionLootVehicles = []; // Parameters are "Box Item Code", array defining the loot to be spawned, and position. _missionPatrolVehicles = [ - // ["B_G_Offroad_01_armed_F",[21.4174,19.0781,0.00804281],90.3115], - //["B_G_Offroad_01_armed_F",[27.5131,-53.1431,0.00819397],268.528] + ["B_G_Offroad_01_armed_F",[21.4174,19.0781,0.00804281],90.3115], + ["B_G_Offroad_01_armed_F",[27.5131,-53.1431,0.00819397],268.528] ]; _submarinePatrolParameters = []; @@ -159,20 +159,11 @@ _submarinePatrolParameters = []; _airPatrols = []; _missionEmplacedWeapons = [ - ["B_HMG_01_high_F",[16.2078,-44.0503,-0.0135579],181.165], - ["B_HMG_01_high_F",[-3.70496,-32.2124,-0.0135565],270.389], - ["B_HMG_01_high_F",[19.3164,-15.3716,-0.0135574],225.183], - ["B_HMG_01_high_F",[33.6516,-44.6699,-0.0135579],181.165] + ]; _missionGroups = [ - [[14.1273,-35.917,0],3,6,"Green",30,45], - [[22.5463,-29.3013,0],3,6,"Green",30,45], - [[16.6399,3.69727,0],3,6,"Green",30,45], - [[10.8357,-1.10449,0],3,6,"Green",30,45], - [[8.39612,-12.7705,0],3,6,"Green",30,45], - [[21.4102,-9.12207,0],3,6,"Green",30,45], - [[39.7784,-27.1958,0],3,6,"Green",30,45] + ]; _scubaGroupParameters = []; @@ -192,6 +183,6 @@ private _paralootChoices = [blck_contructionLoot,blck_contructionLoot,blck_highP private _paralootCountsChoices = [[0,0,0,8,8,0],[0,0,0,8,8,0],[8,8,0,0,0,0],[0,0,0,0,12,0]]; _paraLoot = _paralootChoices select _lootIndex; _paraLootCounts = _paralootCountsChoices select _lootIndex; // Throw in something more exotic than found at a normal blue mission. -//_endCondition = "allKilledOrPlayerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear" +_endCondition = "allKilledOrPlayerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear" //_timeOut = -1; #include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf"; diff --git a/@GMS/addons/custom_server/Missions/Green/lager.sqf b/@GMS/addons/custom_server/Missions/Green/lager.sqf new file mode 100644 index 0000000..58c5102 --- /dev/null +++ b/@GMS/addons/custom_server/Missions/Green/lager.sqf @@ -0,0 +1,185 @@ +/* + Mission Template by Ghostrider [GRG] + Mission Compositions by Bill prepared for ghostridergaming + Copyright 2016 + Last modified 3/20/17 + + -------------------------- + License + -------------------------- + All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License. + + http://creativecommons.org/licenses/by-nc-sa/4.0/ +*/ +#include "\q\addons\custom_server\Configs\blck_defines.hpp"; +#include "\q\addons\custom_server\Missions\privateVars.sqf"; + +//diag_log "[blckeagls] Spawning Green Mission with template = default"; +_crateLoot = blck_BoxLoot_Green; +_lootCounts = blck_lootCountsGreen; +_startMsg = "An enemy Camp was sighted in a nearby sector! Check the Green marker on your map for the location!"; +_endMsg = "The Camp at the Green Marker is under survivor control!"; +_markerLabel = ""; +_markerType = ["ELLIPSE",[300,300],"Solid"]; +_markerColor = "ColorGreen"; +_markerMissionName = "Nachschublager"; +_missionLandscapeMode = "precise"; // acceptable values are "none","random","precise" + +////////// +// Past the output of the script here +_garrisonedBuildings_BuildingPosnSystem = [ +]; + +_garrisonedBuilding_ATLsystem = [ + ["Land_Cargo_Tower_V1_F",[-8.1167,-39.0396,-0.00143862],180.738,true,true,[["O_HMG_01_high_F",[-4.98901,13.312,-0.0121193],359.999],["O_HMG_01_high_F",[-4.88916,0.893799,17.8798],359.999],["O_GMG_01_high_F",[2.86377,5.15186,17.7791],0.00110346],["O_GMG_01_high_F",[3.12354,-4.59814,17.8788],0.00619121],["O_HMG_01_high_F",[8.82837,21.6572,-0.0121193],359.999],["O_GMG_01_high_F",[-3.55591,26.4539,-0.0118098],360]],[]], + ["Land_Cargo_Tower_V1_F",[-8.7854,37.2058,-0.00143862],180.738,true,true,[["O_HMG_01_high_F",[-4.1167,-15.228,-0.0121188],359.999],["O_GMG_01_high_F",[-5.05029,0.812012,17.8801],359.999],["O_HMG_01_high_F",[2.97925,4.90308,17.7791],359.995],["O_HMG_01_high_F",[3.02808,-5.19946,17.8776],359.987],["O_HMG_01_high_F",[9.59595,-22.2854,-0.0121188],359.999],["O_GMG_01_high_F",[-1.95337,-25.9678,-0.0118098],360]],[]], + ["Land_Cargo_HQ_V1_F",[41.5171,-35.4209,-0.00143814],88.7297,true,true,[["O_HMG_01_high_F",[-4.19043,0.419922,3.1134],360],["O_GMG_01_high_F",[1.2395,-6.33594,3.11891],359.998]],[]], + ["Land_Cargo_HQ_V1_F",[41.6394,35.6191,-0.00143814],271.277,true,true,[["O_HMG_01_high_F",[1.75781,6.54565,3.11813],359.998]],[]], + ["Land_Cargo_Patrol_V1_F",[58.7402,-14.1282,-0.00143814],179.058,true,true,[["O_HMG_01_high_F",[0.936523,-0.546631,4.55561],186.318],["O_HMG_01_high_F",[-8.49658,3.90869,-0.0121207],0.00101132]],[]], + ["Land_Cargo_Patrol_V1_F",[58.6057,14.2329,-0.00143814],359.375,true,true,[["O_GMG_01_high_F",[1.16113,-1.15356,4.33123],360],["O_HMG_01_high_F",[-8.44897,-1.0686,-0.0121198],359.999]],[]] +]; + +_missionLandscape = [ + //["babe_helper",[-3950.48,-2427.52,-0.00143862],0,true,true], + //["Sign_Arrow_Green_F",[-3947.98,-2428.02,-0.00143862],0,true,true], + //["Sign_Arrow_F",[-3947.98,-2428.02,-0.00143862],0,true,true], + //["Sign_Arrow_Yellow_F",[-3947.98,-2428.02,-0.00143862],0,true,true], + ["Land_LampHalogen_F",[-16.9238,-29.4194,-0.00143814],175.993,true,true], + ["Land_HBarrierBig_F",[-16.6211,-36.4802,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[-16.6907,-44.7676,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[-16.8193,-28.7813,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[-17.0107,-4.99146,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[-16.8831,-20.9722,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[-16.813,-12.6887,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[-16.9338,3.10571,-0.00143862],271.533,true,true], + ["Land_LampHalogen_F",[-17.1384,26.0154,-0.00143814],175.993,true,true], + ["Land_HBarrierBig_F",[-17.126,26.9011,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[-17.0623,19.092,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[-16.8643,11.3931,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[-17.0559,35.1846,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[-17.2517,42.8821,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[10.6238,-49.76,-0.00143862],1.58276,true,true], + ["Land_HBarrierBig_F",[4.90186,-29.2209,-0.00143862],181.755,true,true], + ["Land_HBarrierBig_F",[2.92627,-49.9541,-0.00143862],1.58276,true,true], + ["Land_HBarrierBig_F",[-3.42188,-29.1743,-0.00143862],181.755,true,true], + ["Land_HBarrierBig_F",[-5.36133,-49.8767,-0.00143862],1.58276,true,true], + ["Land_HBarrierBig_F",[-13.5088,-49.9219,-0.00143862],1.58276,true,true], + ["Land_HBarrierBig_F",[13.3582,-29.1738,-0.00143862],181.755,true,true], + ["Land_HBarrierBig_F",[-11.5808,-29.1753,-0.00143862],181.755,true,true], + ["Land_LampHalogen_F",[6.08081,-17.4399,-0.00143814],183.353,true,true], + ["Land_Cargo_House_V1_F",[5.85425,-11.7749,-0.00143862],178.957,true,true], + ["Land_Cargo_House_V1_F",[12.7263,-11.8384,-0.00143862],180.484,true,true], + ["Land_Cargo_House_V1_F",[6.03076,-23.2114,-0.00143862],0.530105,true,true], + ["Land_Cargo_House_V1_F",[-9.97656,-7.45703,-0.00143862],270.031,true,true], + ["Land_Cargo_House_V1_F",[-9.95679,-0.756836,-0.00143862],270.244,true,true], + ["Land_Cargo_House_V1_F",[12.6707,-23.292,-0.00143862],0.742551,true,true], + ["Land_LampHalogen_F",[4.89917,14.9739,-0.00143814],183.353,true,true], + ["Land_HBarrierBig_F",[3.46533,26.0403,-0.00143862],181.755,true,true], + ["Land_HBarrierBig_F",[-4.86035,26.0867,-0.00143862],181.755,true,true], + ["Land_HBarrierBig_F",[11.9197,26.0874,-0.00143862],181.755,true,true], + ["Land_HBarrierBig_F",[-13.1709,26.1252,-0.00143862],181.755,true,true], + ["Land_Cargo_House_V1_F",[-9.93091,6.11108,-0.00143862],268.716,true,true], + ["Land_Cargo_House_V1_F",[11.5469,20.5737,-0.00143862],180.484,true,true], + ["Land_Cargo_House_V1_F",[11.4912,9.12012,-0.00143862],0.742551,true,true], + ["Land_Cargo_House_V1_F",[4.6748,20.6372,-0.00143862],178.957,true,true], + ["Land_Cargo_House_V1_F",[4.79419,9.20044,-0.00143862],0.530105,true,true], + ["Land_HBarrierBig_F",[-13.959,47.9253,-0.00143862],1.51588,true,true], + ["Land_HBarrierBig_F",[10.1702,48.1106,-0.00143862],1.51588,true,true], + ["Land_HBarrierBig_F",[1.88428,48.1787,-0.00143862],1.51588,true,true], + ["Land_HBarrierBig_F",[-6.26294,48.124,-0.00143862],1.51588,true,true], + ["Land_LampHalogen_F",[37.4138,-49.6885,-0.00143814],86.6613,true,true], + ["Land_HBarrierBig_F",[18.4333,-49.7061,-0.00143862],1.58276,true,true], + ["Land_HBarrierBig_F",[21.7261,-29.1707,-0.00143862],181.755,true,true], + ["Land_HBarrierBig_F",[34.4153,-49.5938,-0.00143862],1.58276,true,true], + ["Land_HBarrierBig_F",[42.5332,-49.4375,-0.00143862],1.58276,true,true], + ["Land_HBarrierBig_F",[26.7168,-49.782,-0.00143862],1.58276,true,true], + ["Land_LampHalogen_F",[24.2969,-4.63354,-0.00143814],175.763,true,true], + ["Land_LampHalogen_F",[24.0779,2.92041,-0.00143814],175.763,true,true], + ["Land_HBarrierBig_F",[24.7175,-16.5247,-0.00143862],270.156,true,true], + ["Land_HBarrierBig_F",[24.5884,-8.51978,-0.00143862],270.156,true,true], + ["Land_HBarrierBig_F",[20.874,3.03345,-0.00143862],181.755,true,true], + ["Land_HBarrierBig_F",[24.8879,-24.3479,-0.00143862],270.156,true,true], + ["Land_HBarrierBig_F",[21.095,-4.52222,-0.00143862],181.755,true,true], + ["Land_Cargo_House_V1_F",[19.4255,-11.8789,-0.00143862],180.272,true,true], + ["Land_Cargo_House_V1_F",[19.5381,-23.3779,-0.00143862],359.215,true,true], + ["Land_HBarrierBig_F",[24.0823,6.26489,-0.00143862],270.156,true,true], + ["Land_HBarrierBig_F",[23.7832,22.0911,-0.00143862],270.156,true,true], + ["Land_HBarrierBig_F",[23.9121,14.0862,-0.00143862],270.156,true,true], + ["Land_HBarrierBig_F",[20.2896,26.0906,-0.00143862],181.755,true,true], + ["Land_Cargo_House_V1_F",[18.3564,9.03589,-0.00143862],359.215,true,true], + ["Land_Cargo_House_V1_F",[18.2441,20.533,-0.00143862],180.272,true,true], + ["Land_LampHalogen_F",[37.1499,49.4319,-0.00143814],270.972,true,true], + ["Land_HBarrierBig_F",[17.8696,48.312,-0.00143862],1.51588,true,true], + ["Land_HBarrierBig_F",[33.9624,48.3108,-0.00143862],1.51588,true,true], + ["Land_HBarrierBig_F",[25.6785,48.3774,-0.00143862],1.51588,true,true], + ["Land_HBarrierBig_F",[41.6587,48.5078,-0.00143862],1.51588,true,true], + ["Land_HBarrierBig_F",[53.832,-28.3086,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[53.8938,-44.4204,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[53.9326,-36.322,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[50.8213,-49.5146,-0.00143862],1.58276,true,true], + ["Land_LampHalogen_F",[61.6257,-8.93774,-0.00143814],183.353,true,true], + ["Land_HBarrierBig_F",[53.5598,-12.5808,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[58.1006,-9.04248,-0.00143862],180.639,true,true], + ["Land_HBarrierBig_F",[53.6702,-20.0735,-0.00143862],271.533,true,true], + ["Land_LampHalogen_F",[61.2739,9.27808,-0.00143814],183.353,true,true], + ["Land_HBarrierBig_F",[57.9741,9.22607,-0.00143862],180.457,true,true], + ["Land_HBarrierBig_F",[53.0159,20.7566,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[53.2136,13.0596,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[53.0928,28.8538,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[53.1624,37.1411,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[52.9644,44.8403,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[49.8362,48.4373,-0.00143862],1.51588,true,true] +]; + +_missionLootBoxes = [ + //["Exile_Container_SupplyBox",[-2.28174,0.128662,-0.00143862],_crateLoot,_lootCounts,0.000181514] +]; + +_missionLootVehicles = [ +]; + +_missionPatrolVehicles = [ + ["Exile_Car_Hunter",[24.8054,-67.8333,0.00875282],89.6558], + ["Exile_Car_HEMMT",[24.8997,69.1799,-0.00138235],91.5468], + ["O_LSV_02_armed_F",[74.0911,1.21655,-0.0377212],359.999] +]; + +_submarinePatrolParameters = [ +]; + +_airPatrols = [ +]; + +_missionEmplacedWeapons = []; // + + + +////////// +// The lines below define additional variables you may wish to configure. + + +// Change _useMines to true/false below to enable mission-specific settings. +_useMines = blck_useMines; +_minNoAI = blck_MinAI_Green; +_maxNoAI = blck_MaxAI_Green; +_noAIGroups = blck_AIGrps_Green; +_noVehiclePatrols = blck_SpawnVeh_Green; +_noEmplacedWeapons = blck_SpawnEmplaced_Green; +//_uniforms = blck_SkinList; +//_headgear = blck_headgear; + +_chancePara = 0.75; // Setting this in the mission file overrides the defaults +_noPara = 5; // Setting this in the mission file overrides the defaults +_paraTriggerDistance = 400; // Distance from mission at which a player triggers these reinforcements and any supplemental loot. // To have paras spawn at the time the mission spawns with/without accompanying loot set this to 0. +_paraSkill = "Green"; // Choose any skill you like; bump up skill or add AI to justify more valuable loot. + +_chanceLoot = 0.7; +private _lootIndex = selectRandom[1,2,3,4]; +private _paralootChoices = [blck_contructionLoot,blck_contructionLoot,blck_highPoweredLoot,blck_supportLoot]; +private _paralootCountsChoices = [[0,0,0,10,10,0],[0,0,0,10,10,0],[10,10,0,0,0,0],[0,0,0,0,15,0]]; +_paraLoot = _paralootChoices select _lootIndex; +_paraLootCounts = _paralootCountsChoices select _lootIndex; // Throw in something more exotic than found at a normal blue mission. + +_endCondition = "allKilledOrPlayerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear" +//_timeOut = -1; +#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf"; diff --git a/@GMS/addons/custom_server/Missions/Green/munitionsResearch.sqf b/@GMS/addons/custom_server/Missions/Green/munitionsResearch.sqf index 9e7eec3..652c8c7 100644 --- a/@GMS/addons/custom_server/Missions/Green/munitionsResearch.sqf +++ b/@GMS/addons/custom_server/Missions/Green/munitionsResearch.sqf @@ -20,10 +20,19 @@ _lootCounts = blck_lootCountsOrange; _startMsg = "An munitions research center was sighted in a nearby sector! Check the Green marker on your map for the location!"; _endMsg = "The Sector at the Green Marker is under survivor control!"; _markerLabel = ""; -_markerType = ["ellipse",[225,225],"GRID"]; +_markerType = ["ELLIPSE",[300,300],"Solid"]; _markerColor = "ColorGreen"; _markerMissionName = "Munitions"; _missionLandscapeMode = "precise"; // acceptable values are "none","random","precise" + +////////// +// Past the output of the script here +_garrisonedBuildings_BuildingPosnSystem = []; + +_garrisonedBuilding_ATLsystem = [ + +]; + _missionLandscape = [ ["Flag_AltisColonial_F",[3,3,0],0,[false,false]], ["Land_Research_HQ_F",[-40.4258,-57.4492,-7.15256e-007],0,[true,false]], @@ -57,36 +66,22 @@ _missionLandscape = [ ["Land_SharpStone_02",[69.4277,-3.20313,0],0,[false,false]], ["Land_SharpStone_02",[53.7227,-40.1777,-2.38419e-007],0,[false,false]], ["Land_Limestone_01_02_F",[-6.26563,-46.0996,-4.76837e-007],0,[false,false]] -]; // list of objects to spawn as landscape -_missionLootBoxes = []; // Parameters are "Box Item Code", array defining the loot to be spawned, and position. -_missionLootVehicles = []; // Parameters are "Box Item Code", array defining the loot to be spawned, and position. -_missionEmplacedWeapons = - [ - /*["B_HMG_01_high_F",[31.7266,-34.6699,-4.76837e-007],0,[true,false]], - ["B_HMG_01_high_F",[-24.5781,-33.8281,-3.1268],0,[true,false]], - ["B_G_Mortar_01_F",[73.1836,62.9492,-3.1265],0,[true,false]] - */ - ["B_HMG_01_high_F",[47.1777,73.5469,-3.12644],0,[true,false]], - ["B_GMG_01_high_F",[-32.8926,-35.8047,-3.1268],0,[true,false]], - ["B_G_Mortar_01_F",[33.1582,-34.8867,-4.76837e-007],0,[true,false]] - ]; // can be used to define the precise placement of static weapons [[1,2,3] /*loc 1*/, [2,3,4] /*loc 2*/]; if blank random locations will be used +]; -_missionGroups = - [ - //_x params["_position","_minAI","_maxAI","_skillLevel","_minPatrolRadius","_maxPatrolRadius"]; - [[-52.6523,15.8281,-0.00143838],5,6,"Green",8,15], - [[-48.6113,-38.877,-0.00143886],5,6,"Green",8,15], - [[18.4492,-39.5684,-0.00143838],5,6,"Green",8,15], - [[42.6504,31.6621,-0.00143886],5,6,"Green",8,15], - [[7.51563,46.4531,-0.001438864],5,6,"Green",8,15], - [[-8.99219,-11.623,-0.00143838],5,6,"Green",8,15] -]; // Can be used to define spawn positions of AI patrols +_missionLootBoxes = []; + +_missionLootVehicles = []; _missionPatrolVehicles = [ [selectRandom blck_AIPatrolVehiclesGreen,[27.8945,100.275,0],0,[true,false]], [selectRandom blck_AIPatrolVehiclesGreen,[-84.7793,72.2617,9.53674e-007],0,[true,false]], [selectRandom blck_AIPatrolVehiclesGreen,[-87.8457,-109.947,7.15256e-007],0,[true,false]] -]; // can be used to define the spawn positions of vehicle patrols +]; + +_missionLootBoxes = []; // Parameters are "Box Item Code", array defining the loot to be spawned, and position. +_missionLootVehicles = []; // Parameters are "Box Item Code", array defining the loot to be spawned, and position. +_missionEmplacedWeapons = []; +_missionGroups = []; // Change _useMines to true/false below to enable mission-specific settings. _useMines = blck_useMines; @@ -97,14 +92,12 @@ _noVehiclePatrols = blck_SpawnVeh_Green; _noEmplacedWeapons = blck_SpawnEmplaced_Green; _uniforms = blck_SkinList; _headgear = blck_headgear; - -_chancePara = 2; -_chanceLoot = 2; //0.6; +_chanceLoot = 0.6; private _lootIndex = selectRandom[1,2,3,4]; private _paralootChoices = [blck_contructionLoot,blck_contructionLoot,blck_highPoweredLoot,blck_supportLoot]; private _paralootCountsChoices = [[0,0,0,8,8,0],[0,0,0,8,8,0],[8,8,0,0,0,0],[0,0,0,0,12,0]]; _paraLoot = _paralootChoices select _lootIndex; _paraLootCounts = _paralootCountsChoices select _lootIndex; // Throw in something more exotic than found at a normal blue mission. -//_endCondition = "allKilledOrPlayerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear" +_endCondition = "allKilledOrPlayerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear" //_timeOut = -1; #include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf"; diff --git a/@GMS/addons/custom_server/Missions/Green/tko_camp.sqf b/@GMS/addons/custom_server/Missions/Green/tko_camp.sqf new file mode 100644 index 0000000..5c4e688 --- /dev/null +++ b/@GMS/addons/custom_server/Missions/Green/tko_camp.sqf @@ -0,0 +1,174 @@ +/* + Mission Template by Ghostrider [GRG] + Mission Compositions by Bill prepared for ghostridergaming + Copyright 2016 + Last modified 3/20/17 + + -------------------------- + License + -------------------------- + All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License. + + http://creativecommons.org/licenses/by-nc-sa/4.0/ +*/ +#include "\q\addons\custom_server\Configs\blck_defines.hpp"; +#include "\q\addons\custom_server\Missions\privateVars.sqf"; + +//diag_log "[blckeagls] Spawning Green Mission with template = default"; +_crateLoot = blck_BoxLoot_Green; +_lootCounts = blck_lootCountsGreen; +_startMsg = "An enemy Military Camp was sighted in a nearby sector! Check the Green marker on your map for the location!"; +_endMsg = "The Military Camp at the Green Marker is under survivor control!"; +_markerLabel = ""; +_markerType = ["ELLIPSE",[300,300],"Solid"]; +_markerColor = "ColorGreen"; +_markerMissionName = "Military Camp"; +_missionLandscapeMode = "precise"; // acceptable values are "none","random","precise" + +////////// +// Past the output of the script here +_garrisonedBuildings_BuildingPosnSystem = [ +]; + +_garrisonedBuilding_ATLsystem = [ + ["Land_Cargo_House_V3_F",[8.00928,15.6453,-0.00143909],0,true,true,[["B_HMG_01_high_F",[-8.28516,3.27148,-0.0121188],0.000433404]],[]] +]; + +_missionLandscape = [ + //["babe_helper",[-3327.46,-2809.42,-0.00143909],0,true,true], + //["Sign_Arrow_Green_F",[-3324.96,-2809.92,-0.00143909],0,true,true], + //["Sign_Arrow_F",[-3324.96,-2809.92,-0.00143909],0,true,true], + //["Sign_Arrow_Yellow_F",[-3324.96,-2809.92,-0.00143909],0,true,true], + ["Land_HBarrier_Big_F",[-2.76221,-30.3596,-0.00143909],0,true,true], + ["Land_HBarrier_1_F",[-9.74463,-27.0081,-0.00143909],180,true,true], + ["Land_BagFence_Long_F",[-9.74268,-29.0042,-0.00143909],270,true,true], + ["Land_BagFence_Long_F",[-8.36182,-30.3743,-0.00143909],180,true,true], + ["CamoNet_OPFOR_open_F",[-0.361816,-1.01782,-0.00143909],180,true,true], + ["Land_HBarrier_3_F",[-15.3853,-13.9866,-0.00143909],315,true,true], + ["Land_HBarrier_Big_F",[-3.61768,-5.26782,-0.00143909],180,true,true], + ["Land_HBarrier_Big_F",[-5.46533,3.40405,-0.00143909],0,true,true], + ["Land_HBarrier_Big_F",[-18.5767,-14.5354,-0.00143909],45,true,true], + ["Land_HBarrier_Big_F",[-12.4985,-20.3987,-0.00143909],45,true,true], + ["Land_HBarrier_1_F",[-22.9692,-2.77563,-0.00143909],270,true,true], + ["Land_HBarrier_1_F",[-23.3423,0.478271,-0.00143909],15,true,true], + ["Land_BagFence_Long_F",[-24.5767,-9.90649,-0.00143909],315,true,true], + ["Land_BagFence_Long_F",[-22.8071,-8.13794,-0.00143909],315,true,true], + ["Land_BagFence_Long_F",[-18.7427,-12.3811,-0.00143909],315,true,true], + ["Land_BagFence_Long_F",[-23.2368,2.26245,-0.00143909],90,true,true], + ["Land_BagFence_Long_F",[-21.8657,6.25952,-0.00143909],0,true,true], + ["Land_BagFence_Long_F",[-22.3657,-13.8772,-0.00143909],135,true,true], + ["Land_BagFence_Long_F",[-9.74268,-25.1174,-0.00143909],90,true,true], + ["Land_BagFence_Long_F",[-18.5649,-8.3147,-0.00143909],45,true,true], + ["Land_BagFence_Long_F",[-23.2368,4.88843,-0.00143909],90,true,true], + ["Land_BagFence_Long_F",[-25.2192,0.111084,-0.00143909],0,true,true], + ["Land_BagFence_Long_F",[-25.2192,-2.76587,-0.00143909],0,true,true], + ["Land_BagFence_Long_F",[-26.5884,-1.39282,-0.00143909],270,true,true], + ["Land_BagFence_Long_F",[-24.3989,-13.9709,-0.00143909],225,true,true], + ["Land_BagFence_Round_F",[-17.5747,-10.4006,-0.00143909],270,true,true], + ["Land_BagFence_Round_F",[-25.5493,-11.9026,-0.00143909],90,true,true], + ["Land_BagFence_Round_F",[-20.7212,-7.07642,-0.00143909],180,true,true], + ["Land_BagFence_End_F",[-9.7583,-23.3167,-0.00143909],270,true,true], + ["Land_Cargo_Patrol_V3_F",[-10.9263,-16.053,-0.00143862],45,true,true], + ["Land_Cargo_House_V3_F",[-3.09424,-20.7424,-0.00143909],180,true,true], + ["CamoNet_OPFOR_open_F",[-0.225098,8.17163,-0.00143909],0,true,true], + ["Land_HBarrier_3_F",[-1.85596,17.1208,-0.00143909],180,true,true], + ["Land_HBarrier_3_F",[-2.70752,19.4275,-0.00143909],90,true,true], + ["Land_HBarrier_Big_F",[-19.6177,9.36694,-0.00143909],270,true,true], + ["Land_HBarrier_Big_F",[-19.6646,17.5466,-0.00143909],90,true,true], + ["Land_HBarrier_1_F",[-4.93994,9.58374,-0.00143909],270,true,true], + ["Land_HBarrier_1_F",[-16.4673,27.1775,-0.00143909],285,true,true], + ["Land_HBarrier_1_F",[-2.68408,25.3513,-0.00143909],120,true,true], + ["Land_BagFence_Long_F",[-2.30908,23.7244,-0.00143909],270,true,true], + ["Land_BagFence_Long_F",[-19.7173,23.0505,-0.00143909],270,true,true], + ["Land_BagFence_Long_F",[-19.7153,25.9265,-0.00143909],270,true,true], + ["Land_BagFence_Long_F",[-18.3462,27.4314,-0.00143909],0,true,true], + ["Land_Cargo_Patrol_V3_F",[-15.4087,10.7146,-0.00143862],90,true,true], + ["Land_HBarrier_5_F",[-15.7407,14.7517,-0.00143909],0,true,true], + ["Land_HBarrier_5_F",[-6.33838,7.41382,-0.00143909],270,true,true], + ["Land_HBarrier_Big_F",[4.87646,-28.4124,-0.00143909],330,true,true], + ["Land_HBarrier_3_F",[10.5171,0.540771,-0.00143909],0,true,true], + ["Land_HBarrier_3_F",[11.3687,-7.17212,-0.00143909],270,true,true], + ["Land_HBarrier_Big_F",[23.0171,-13.6155,-0.00143909],285,true,true], + ["Land_HBarrier_Big_F",[3.04834,3.62964,-0.00143909],1.36604e-005,true,true], + ["Land_HBarrier_Big_F",[11.8745,-23.9084,-0.00143909],330,true,true], + ["Land_HBarrier_Big_F",[7.90967,0.343506,-0.00143909],90,true,true], + ["Land_HBarrier_Big_F",[24.978,-5.36938,-0.00143909],285,true,true], + ["Land_HBarrier_Big_F",[11.2808,-4.62427,-0.00143909],180,true,true], + ["Land_HBarrier_Big_F",[25.9077,2.68921,-0.00143909],270,true,true], + ["Land_HBarrier_1_F",[4.35498,-2.41431,-0.00143909],90,true,true], + ["Land_HBarrier_1_F",[21.0073,-21.7493,-0.00143909],30,true,true], + ["Land_BagFence_Long_F",[19.1304,-21.6174,-0.00143909],0,true,true], + ["Land_BagFence_Long_F",[16.5073,-21.6174,-0.00143909],0,true,true], + ["Land_BagFence_Long_F",[7.89795,6.07788,-0.00143909],270,true,true], + ["Land_Loudspeakers_F",[21.2026,-15.3088,-0.00143909],196,true,true], + ["Land_HBarrier_5_F",[17.7847,6.20483,-0.00143909],270,true,true], + ["Land_HBarrier_5_F",[11.3823,-11.5022,-0.00143909],270,true,true], + ["Land_HBarrier_5_F",[5.75146,-0.244385,-0.00143909],90,true,true], + ["Land_Cargo_House_V3_F",[5.49561,-9.99927,-0.00143909],90,true,true], + ["Land_Cargo_House_V3_F",[5.03076,-17.6174,-0.00143909],150,true,true], + ["CamoNet_OPFOR_open_F",[22.6538,9.88257,-0.00143909],270,true,true], + ["Land_HBarrier_3_F",[18.7593,9.75757,-0.00143909],0,true,true], + ["Land_HBarrier_Big_F",[9.20264,21.2849,-0.00143909],180,true,true], + ["Land_HBarrier_Big_F",[15.9546,18.7849,-0.00143909],225,true,true], + ["Land_HBarrier_Big_F",[22.4077,16.1892,-0.00143909],0,true,true], + ["Land_HBarrier_Big_F",[0.70459,21.283,-0.00143909],180,true,true], + ["Land_HBarrier_Big_F",[25.7827,11.0642,-0.00143909],90,true,true], + ["Land_BagFence_Long_F",[4.57764,19.0466,-0.00143909],270,true,true], + ["Land_BagFence_Long_F",[4.57764,16.1716,-0.00143909],270,true,true], + ["Land_BagFence_Long_F",[11.3843,19.2634,-0.00143909],90,true,true], + ["Land_BagFence_End_F",[4.57764,14.4216,-0.00143909],90,true,true], + ["Land_BagFence_End_F",[7.68896,7.77515,-0.00143909],240,true,true], + ["Land_BagFence_End_F",[11.3843,17.5134,-0.00143909],90,true,true] +]; + +_missionLootBoxes = [ + //["Exile_Container_SupplyBox",[1.55273,0.0065918,-0.00143957],_crateLoot,_lootCounts,0.000522983] +]; + +_missionLootVehicles = [ +]; + +_missionPatrolVehicles = [ + //["B_LSV_01_armed_F",[-41.377,-5.40894,-0.0238895],0.00171121], + ["B_LSV_01_armed_F",[39.5627,-5.26709,-0.0237107],0.00169144] +]; + +_submarinePatrolParameters = [ +]; + +_airPatrols = [ +]; + +_missionEmplacedWeapons = []; // + + + +////////// +// The lines below define additional variables you may wish to configure. + + +// Change _useMines to true/false below to enable mission-specific settings. +_useMines = blck_useMines; +_minNoAI = blck_MinAI_Green; +_maxNoAI = blck_MaxAI_Green; +_noAIGroups = blck_AIGrps_Green; +_noVehiclePatrols = blck_SpawnVeh_Green; +_noEmplacedWeapons = blck_SpawnEmplaced_Green; +//_uniforms = blck_SkinList; +//_headgear = blck_headgear; + +_chancePara = 0.75; // Setting this in the mission file overrides the defaults +_noPara = 5; // Setting this in the mission file overrides the defaults +_paraTriggerDistance = 400; // Distance from mission at which a player triggers these reinforcements and any supplemental loot. // To have paras spawn at the time the mission spawns with/without accompanying loot set this to 0. +_paraSkill = "Green"; // Choose any skill you like; bump up skill or add AI to justify more valuable loot. + +_chanceLoot = 0.7; +private _lootIndex = selectRandom[1,2,3,4]; +private _paralootChoices = [blck_contructionLoot,blck_contructionLoot,blck_highPoweredLoot,blck_supportLoot]; +private _paralootCountsChoices = [[0,0,0,10,10,0],[0,0,0,10,10,0],[10,10,0,0,0,0],[0,0,0,0,15,0]]; +_paraLoot = _paralootChoices select _lootIndex; +_paraLootCounts = _paralootCountsChoices select _lootIndex; // Throw in something more exotic than found at a normal blue mission. + +_endCondition = "allKilledOrPlayerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear" +//_timeOut = -1; +#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf"; diff --git a/@GMS/addons/custom_server/Missions/Orange/Ammunition_depot.sqf b/@GMS/addons/custom_server/Missions/Orange/Ammunition_depot.sqf new file mode 100644 index 0000000..09fd845 --- /dev/null +++ b/@GMS/addons/custom_server/Missions/Orange/Ammunition_depot.sqf @@ -0,0 +1,173 @@ +/* + Mission Template by Ghostrider [GRG] + Mission Compositions by Bill prepared for ghostridergaming + Copyright 2016 + Last modified 3/20/17 + + -------------------------- + License + -------------------------- + All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License. + + http://creativecommons.org/licenses/by-nc-sa/4.0/ +*/ +#include "\q\addons\custom_server\Configs\blck_defines.hpp"; +#include "\q\addons\custom_server\Missions\privateVars.sqf"; + +//diag_log "[blckeagls] Spawning Orange Mission with template = default"; +_crateLoot = blck_BoxLoot_Orange; +_lootCounts = blck_lootCountsOrange; +_startMsg = "An Anemy Ammunition Depot was sighted in a nearby sector! Check the Orange marker on your map for the location!"; +_endMsg = "The Ammunition depot at the Orange Marker is under survivor control!"; +_markerLabel = ""; +_markerType = ["ELLIPSE",[200,200],"Solid"]; +_markerColor = "ColorOrange"; +_markerMissionName = "Ammunition Depot"; +_missionLandscapeMode = "precise"; // acceptable values are "none","random","precise" + +////////// +// Past the output of the script here +_garrisonedBuildings_BuildingPosnSystem = [ +]; + +_garrisonedBuilding_ATLsystem = [ + ["Land_MilOffices_V1_F",[0.936035,53.2339,-0.00146103],0.0551743,true,true,[["B_HMG_01_high_F",[-14.6453,4.44092,0.48988],0.00164355],["B_HMG_01_high_F",[16.2224,2.84473,0.48988],0.00164314],["B_HMG_01_high_F",[16.2043,-18.5793,-0.0121188],360],["B_HMG_01_high_F",[19.0071,-25.5498,-0.0121188],360]],[]] +]; + + + +_missionLandscape = [ + //["babe_helper",[-3584.79,-2745.02,-0.00146103],0,true,true], + //["Sign_Arrow_Green_F",[-3582.29,-2745.52,-0.00146103],0,true,true], + //["Sign_Arrow_F",[-3582.29,-2745.52,-0.00146103],0,true,true], + //["Sign_Arrow_Yellow_F",[-3582.29,-2745.52,-0.00146103],0,true,true], + ["Land_dp_smallTank_F",[-23.4897,0.757568,-0.00146103],315.055,true,true], + ["Land_HBarrier_Big_F",[-30.251,0.998047,-0.00146103],90.6364,true,true], + ["Land_HBarrier_Big_F",[-30.0261,-4.99609,-0.00146103],88.8324,true,true], + ["Land_HBarrier_Big_F",[-24.3879,-7.97534,-0.00146103],181.637,true,true], + ["Land_HBarrier_Big_F",[-15.9822,-8.03101,-0.00146103],181.637,true,true], + ["Land_HBarrier_Big_F",[-7.62939,-8.03394,-0.00146103],181.637,true,true], + ["Land_HBarrier_Big_F",[-30.4287,8.68091,-0.00146103],90.6364,true,true], + ["Land_HBarrier_Big_F",[-30.5715,17.0325,-0.00146103],90.6364,true,true], + ["Land_HBarrier_Big_F",[-30.8035,33.8059,-0.00146103],90.6364,true,true], + ["Land_HBarrier_Big_F",[-30.7122,25.4006,-0.00146103],90.6364,true,true], + ["Land_i_Barracks_V1_F",[-21.0911,25.2551,-0.00146103],270.055,true,true], + ["Land_LampHalogen_F",[-30.0498,68.0146,-0.00146055],240.055,true,true], + ["Land_Medevac_house_V1_F",[-25.7917,63.0088,-0.00146103],359.798,true,true], + ["Land_Medevac_house_V1_F",[-25.821,54.4678,-0.00146103],179.534,true,true], + ["Land_Tank_rust_F",[-26.2607,48.0527,-0.00146103],180.055,true,true], + ["Land_HBarrier_Big_F",[-26.0667,70.3225,-0.00146103],181.637,true,true], + ["Land_HBarrier_Big_F",[-0.915771,70.2883,-0.00146103],181.637,true,true], + ["Land_HBarrier_Big_F",[-9.30811,70.2639,-0.00146103],181.637,true,true], + ["Land_HBarrier_Big_F",[-17.6609,70.2668,-0.00146103],181.637,true,true], + ["Land_HBarrier_Big_F",[-30.9465,42.1575,-0.00146103],90.6364,true,true], + ["Land_HBarrier_Big_F",[-31.3367,67.2683,-0.00146103],90.6364,true,true], + ["Land_HBarrier_Big_F",[-31.1025,50.5112,-0.00146103],90.6364,true,true], + ["Land_HBarrier_Big_F",[-31.1938,58.9167,-0.00146103],90.6364,true,true], + ["Land_LampHalogen_F",[12.158,-7.74023,-0.00146055],90.0552,true,true], + ["Land_HBarrier_Big_F",[17.4336,-8.0415,-0.00146103],181.637,true,true], + ["Land_HBarrier_Big_F",[25.7888,-8.03149,-0.00146103],181.637,true,true], + ["Land_HBarrier_Big_F",[0.675049,-7.98291,-0.00146103],181.637,true,true], + ["Land_HBarrier_Big_F",[9.08105,-8.03857,-0.00146103],181.637,true,true], + ["Land_HelipadSquare_F",[31.1362,2.08008,-0.00146103],180.086,true,true], + ["Land_BagFence_Long_F",[23.658,6.82251,-0.00146103],90.0552,true,true], + ["Land_BagFence_Long_F",[14.4004,5.9585,-0.00146103],90.0552,true,true], + ["Land_i_Shed_Ind_F",[0.762939,3.73413,-0.00146103],179.98,true,true], + ["Land_PortableLight_double_F",[19.6589,24.5911,-0.00146103],240.055,true,true], + ["Land_BagFence_Round_F",[13.7778,8.4668,-0.00146103],225.055,true,true], + ["Land_BagFence_Round_F",[24.2874,9.32739,-0.00146103],135.055,true,true], + ["Land_CncWall4_F",[19.353,37.1301,-0.00146103],269.856,true,true], + ["Land_CncWall4_F",[19.3921,31.9155,-0.00146103],269.856,true,true], + ["Land_BagFence_Long_F",[11.2759,9.09644,-0.00146103],180.055,true,true], + ["Land_BagFence_Long_F",[26.7832,9.94385,-0.00146103],0.0551743,true,true], + ["Land_LampHalogen_F",[19.0601,40.1711,-0.00146055],315.055,true,true], + ["Land_HBarrier_Big_F",[15.8428,70.2297,-0.00146103],181.637,true,true], + ["Land_HBarrier_Big_F",[7.49023,70.2327,-0.00146103],181.637,true,true], + ["Land_HBarrier_Big_F",[24.198,70.2397,-0.00146103],181.637,true,true], + ["Land_CncWall4_F",[22.377,40.0833,-0.00146103],0,true,true], + ["Land_CncWall4_F",[27.5962,40.116,-0.00146103],0,true,true], + ["Land_LampHalogen_F",[45.8774,-7.93433,-0.00146055],60.0552,true,true], + ["Land_LampHalogen_F",[45.5952,6.93604,-0.00146055],180.055,true,true], + ["Land_Tank_rust_F",[43.6697,0.581299,-0.00146103],90.0552,true,true], + ["Land_HBarrier_Big_F",[42.5474,-8.09009,-0.00146103],181.637,true,true], + ["Land_HBarrier_Big_F",[47.6099,-4.77002,-0.00146103],90.055,true,true], + ["Land_HBarrier_Big_F",[34.1946,-8.08716,-0.00146103],181.637,true,true], + ["Land_HBarrier_Big_F",[47.4333,3.63403,-0.00146103],90.055,true,true], + ["Land_BagFence_Round_F",[53.0293,5.18921,-0.00146103],315.055,true,true], + ["Land_BagFence_Long_F",[50.5286,4.56616,-0.00146103],180.055,true,true], + ["Land_BagFence_Long_F",[39.7786,6.70166,-0.00146103],90.0552,true,true], + ["Land_Wall_IndCnc_Pole_F",[46.9377,21.1001,-0.00146103],90.0552,true,true], + ["Land_Shed_Big_F",[31.9468,31.2043,-0.00146151],89.7488,true,true], + ["Land_HBarrier_Big_F",[46.9426,33.5571,-0.00146103],90.055,true,true], + ["Land_HBarrier_Big_F",[47.1191,25.1531,-0.00146103],90.055,true,true], + ["Land_BagFence_Round_F",[39.1563,9.17456,-0.00146103],225.055,true,true], + ["Land_BagFence_Round_F",[53.0469,24.4275,-0.00146103],225.055,true,true], + ["Land_BagFence_Long_F",[36.6648,9.80176,-0.00146103],180.055,true,true], + ["Land_BagFence_Long_F",[53.6729,21.9277,-0.00146103],90.0552,true,true], + ["Land_BagFence_Long_F",[50.5496,25.0559,-0.00146103],180.055,true,true], + ["Land_BagFence_Long_F",[53.6707,7.68921,-0.00146103],270.055,true,true], + ["Land_BarGate_F",[47.6548,14.5193,-0.00146103],90.0552,true,true], + ["Land_LampHalogen_F",[44.5273,41.2136,-0.00146055],60.0552,true,true], + ["Land_HBarrier_Big_F",[46.7148,41.9067,-0.00146103],90.055,true,true], + ["Land_HBarrier_Big_F",[46.2976,58.6626,-0.00146103],90.055,true,true], + ["Land_HBarrier_Big_F",[32.6038,70.1841,-0.00146103],181.637,true,true], + ["Land_HBarrier_Big_F",[40.9565,70.1812,-0.00146103],181.637,true,true], + ["Land_HBarrier_Big_F",[46.0698,67.0122,-0.00146103],90.055,true,true], + ["Land_HBarrier_Big_F",[46.4741,50.2585,-0.00146103],90.055,true,true], + ["Land_CncWall4_F",[37.9797,40.1345,-0.00146103],0,true,true], + ["Land_CncWall4_F",[32.7908,40.125,-0.00146103],0,true,true], + ["Land_CncWall4_F",[43.1743,40.1436,-0.00146103],0,true,true], + ["Land_TTowerBig_1_F",[33.9404,56.3271,-0.00146103],0.0551743,true,true] +]; + +_missionLootBoxes = [ +]; + +_missionLootVehicles = [ +]; + +_missionPatrolVehicles = [ + ["B_G_Offroad_01_armed_F",[-51.5793,28.9631,0.00801468],179.03], + ["B_G_Offroad_01_armed_F",[9.30664,88.3091,0.00802708],89.9029], + ["B_G_Offroad_01_armed_F",[72.2974,6.63599,0.00802183],0.00106337] +]; + +_submarinePatrolParameters = [ +]; + +_airPatrols = [ +]; + +_missionEmplacedWeapons = []; // + + + +////////// +// The lines below define additional variables you may wish to configure. + + +// Change _useMines to true/false below to enable mission-specific settings. +_useMines = blck_useMines; +_minNoAI = blck_MinAI_Orange; +_maxNoAI = blck_MaxAI_Orange; +_noAIGroups = blck_AIGrps_Orange; +_noVehiclePatrols = blck_SpawnVeh_Orange; +_noEmplacedWeapons = blck_SpawnEmplaced_Orange; +//_uniforms = blck_SkinList; +//_headgear = blck_headgear; + +_chancePara = 0.75; // Setting this in the mission file overrides the defaults +_noPara = 5; // Setting this in the mission file overrides the defaults +_paraTriggerDistance = 400; // Distance from mission at which a player triggers these reinforcements and any supplemental loot. // To have paras spawn at the time the mission spawns with/without accompanying loot set this to 0. +_paraSkill = "Orange"; // Choose any skill you like; bump up skill or add AI to justify more valuable loot. + +_chanceLoot = 0.7; +private _lootIndex = selectRandom[1,2,3,4]; +private _paralootChoices = [blck_contructionLoot,blck_contructionLoot,blck_highPoweredLoot,blck_supportLoot]; +private _paralootCountsChoices = [[0,0,0,10,10,0],[0,0,0,10,10,0],[10,10,0,0,0,0],[0,0,0,0,15,0]]; +_paraLoot = _paralootChoices select _lootIndex; +_paraLootCounts = _paralootCountsChoices select _lootIndex; // Throw in something more exotic than found at a normal blue mission. + +_endCondition = "allKilledOrPlayerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear" +//_timeOut = -1; +#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf"; diff --git a/@GMS/addons/custom_server/Missions/Orange/Camp_Moreell.sqf b/@GMS/addons/custom_server/Missions/Orange/Camp_Moreell.sqf new file mode 100644 index 0000000..800c7b8 --- /dev/null +++ b/@GMS/addons/custom_server/Missions/Orange/Camp_Moreell.sqf @@ -0,0 +1,156 @@ +/* + Mission Template by Ghostrider [GRG] + Mission Compositions by Bill prepared for ghostridergaming + Copyright 2016 + Last modified 3/20/17 + + -------------------------- + License + -------------------------- + All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License. + + http://creativecommons.org/licenses/by-nc-sa/4.0/ +*/ +#include "\q\addons\custom_server\Configs\blck_defines.hpp"; +#include "\q\addons\custom_server\Missions\privateVars.sqf"; + +//diag_log "[blckeagls] Spawning Orange Mission with template = default"; +_crateLoot = blck_BoxLoot_Orange; +_lootCounts = blck_lootCountsOrange; +_startMsg = "Enemy Camp Moreell was sighted in a nearby sector! Check the Orange marker on your map for the location!"; +_endMsg = "The Camp Moreell at the Orange Marker is under survivor control!"; +_markerLabel = ""; +_markerType = ["ELLIPSE",[200,200],"Solid"]; +_markerColor = "ColorOrange"; +_markerMissionName = "Camp Moreell"; +_missionLandscapeMode = "precise"; // acceptable values are "none","random","precise" + +////////// +// Past the output of the script here +_garrisonedBuildings_BuildingPosnSystem = [ +]; + +_garrisonedBuilding_ATLsystem = [ + ["Land_Cargo_Patrol_V3_F",[-3.45557,32.6038,-0.00143814],163.034,true,true,[["O_HMG_01_high_F",[-1.75244,0.382568,4.33092],0.00157772]],[]], + ["Land_Cargo_HQ_V3_F",[1.5835,1.53711,-0.00143814],90.021,true,true,[["O_HMG_01_high_F",[-4.53003,1.89331,3.1134],270.551],["O_Mortar_01_F",[0.884277,-5.92041,3.1624],178.341],["O_GMG_01_high_F",[-11.2842,-8.48218,-0.0118098],221.694],["O_HMG_01_high_F",[-12.6897,-6.82007,-0.0121179],236.126],["O_GMG_01_high_F",[10.885,-11.4487,-0.0118084],147.658],["O_GMG_01_high_F",[19.3098,-6.53003,-0.0118093],147.655]],[]], + ["Land_Cargo_Patrol_V3_F",[10.9478,34.4741,-0.00143814],195.395,true,true,[["O_HMG_01_high_F",[1.41943,0.690674,4.33092],359.999]],[]] +]; + + + +_missionLandscape = [ + ["Land_HBarrier_Big_F",[-14.1831,0.348877,-0.00143862],54.7855,true,true], + ["Land_HBarrier_1_F",[-7.70728,-8.24048,-0.00143862],295.873,true,true], + ["Land_BagFence_Long_F",[-11.6091,-6.83057,-0.00143862],45.3947,true,true], + ["Land_BagFence_Round_F",[-12.8318,-4.68042,-0.00143862],90.3947,true,true], + ["Land_BagFence_Round_F",[-9.44946,-8.13599,-0.00143862],0.394724,true,true], + ["Land_Cargo_House_V3_F",[-11.8579,27.8225,-0.00143862],341.505,true,true], + ["CamoNet_OPFOR_open_F",[-14.8772,18.198,-0.00143862],90.3947,true,true], + ["Land_HBarrier_Big_F",[-24.5461,25.9207,-0.00143862],195.395,true,true], + ["Land_HBarrier_Big_F",[-7.8335,30.6655,-0.00143862],255.395,true,true], + ["Land_HBarrier_Big_F",[-24.0242,10.8638,-0.00143862],165.395,true,true], + ["Land_HBarrier_Big_F",[-18.0986,7.95679,-0.00143862],255.395,true,true], + ["Land_HBarrier_Big_F",[-19.7212,22.9065,-0.00143862],90.3947,true,true], + ["Land_HBarrier_Big_F",[-31.6633,25.0271,-0.00143862],150.395,true,true], + ["Land_HBarrier_Big_F",[-12.3518,34.6216,-0.00143862],345.395,true,true], + ["Land_HBarrier_Big_F",[-17.9399,30.3276,-0.00143862],300.395,true,true], + ["Land_HBarrier_Big_F",[-19.3733,16.4546,-0.00143862],90.3947,true,true], + ["Land_HBarrier_1_F",[-32.8965,12.5454,-0.00143862],42.5069,true,true], + ["Land_HBarrier_1_F",[-30.3511,10.0146,-0.00143862],42.5069,true,true], + ["CamoNet_OPFOR_big_F",[-27.2468,18.4834,-0.00143862],75.3947,true,true], + ["Land_BagFence_Round_F",[-33.3694,10.7087,-0.00143862],87.5069,true,true], + ["Land_BagFence_Round_F",[-31.8938,9.28491,-0.00143862],357.507,true,true], + ["Land_HBarrier_5_F",[9.15552,-4.91626,-0.00143862],269.593,true,true], + ["Land_HBarrier_5_F",[9.13477,0.585938,-0.00143862],269.593,true,true], + ["Land_Cargo_House_V3_F",[25.2329,2.59155,-0.00143862],105.395,true,true], + ["Land_HBarrier_Big_F",[-2.57373,-8.99463,-0.00143862],180.395,true,true], + ["Land_HBarrier_Big_F",[26.4961,-2.62256,-0.00143862],195.395,true,true], + ["Land_HBarrier_Big_F",[5.79712,-8.80371,-0.00143862],180.395,true,true], + ["Land_HBarrier_1_F",[14.0208,-8.50757,-0.00143862],334.157,true,true], + ["Land_HBarrier_1_F",[22.1511,-3.42603,-0.00143862],324.626,true,true], + ["Land_HBarrier_1_F",[19.1423,-5.3833,-0.00143862],324.626,true,true], + ["Land_HBarrier_1_F",[10.7295,-9.9397,-0.00143862],334.157,true,true], + ["Land_BagFence_Round_F",[22.5408,-5.08765,-0.00143862],279.626,true,true], + ["Land_BagFence_Round_F",[20.8389,-6.23145,-0.00143862],9.62595,true,true], + ["Land_BagFence_Round_F",[14.1299,-10.2107,-0.00143862],289.157,true,true], + ["Land_BagFence_Round_F",[12.262,-11.0569,-0.00143862],19.157,true,true], + ["Land_HBarrier_5_F",[7.05835,9.52783,-0.00143862],181.048,true,true], + ["Land_HBarrier_5_F",[26.3564,29.2161,-0.00143862],195.395,true,true], + ["Land_HBarrier_5_F",[9.08203,5.92139,-0.00143862],269.593,true,true], + ["Land_HBarrier_Big_F",[18.55,34.8018,-0.00143862],195.395,true,true], + ["Land_HBarrier_Big_F",[1.32568,35.1333,-0.00143862],255.395,true,true], + ["Land_HBarrier_Big_F",[7.22388,36.5254,-0.00143862],285.395,true,true], + ["Land_HBarrier_Big_F",[-4.35571,36.8228,-0.00143862],345.395,true,true], + ["Land_HBarrier_Big_F",[7.04761,30.9424,-0.00143862],195.395,true,true], + ["Land_BagFence_Long_F",[24.1768,15.7207,-0.00143862],105.395,true,true], + ["Land_BagFence_Long_F",[22.7461,10.5283,-0.00143862],285.395,true,true], + ["Land_HBarrier_3_F",[25.4558,17.1135,-0.00143862],195.395,true,true], + ["Land_HBarrier_3_F",[22.7898,29.1609,-0.00143862],285.395,true,true], + ["Land_HBarrier_3_F",[23.3201,8.88696,-0.00143862],195.395,true,true], + ["Land_HBarrier_Big_F",[12.9075,38.3318,-0.00143862],195.395,true,true], + ["Land_HBarrier_Big_F",[30.9158,1.41919,-0.00143862],105.395,true,true], + ["Land_HBarrier_5_F",[29.5054,24.8923,-0.00143862],269.593,true,true], + ["Land_HBarrier_5_F",[29.5303,19.5947,-0.00143862],269.593,true,true], + ["CamoNet_OPFOR_open_F",[28.1597,12.0786,-0.00143862],195.395,true,true], + ["Land_HBarrier_Big_F",[31.4031,16.592,-0.00143862],0.394724,true,true], + ["Land_HBarrier_Big_F",[28.876,7.35913,-0.00143862],195.395,true,true], + ["Land_HBarrier_1_F",[33.3733,10.5449,-0.00143862],15.3947,true,true], + ["Land_HBarrier_1_F",[27.9988,12.1958,-0.00143862],195.395,true,true], + ["Land_BagFence_Long_F",[32.6428,9.11694,-0.00143862],285.395,true,true], + ["Land_BagFence_Long_F",[28.4683,13.8879,-0.00143862],105.395,true,true], + ["Land_HBarrier_3_F",[29.9619,29.1274,-0.00143862],105.395,true,true], + ["Land_HBarrier_3_F",[34.8462,14.4836,-0.00143862],90.3947,true,true], + ["Land_BagBunker_Large_F",[27.696,35.6018,-0.00143862],195.395,true,true] +]; + +_missionLootBoxes = [ +]; + +_missionLootVehicles = [ +]; + +_missionPatrolVehicles = [ + ["O_LSV_02_armed_F",[34.9805,-28.0225,-0.0376697],359.999] +]; + +_submarinePatrolParameters = [ +]; + +_airPatrols = [ +]; + +_missionEmplacedWeapons = [ + +]; + + + +////////// +// The lines below define additional variables you may wish to configure. + + +// Change _useMines to true/false below to enable mission-specific settings. +_useMines = blck_useMines; +_minNoAI = blck_MinAI_Orange; +_maxNoAI = blck_MaxAI_Orange; +_noAIGroups = blck_AIGrps_Orange; +_noVehiclePatrols = blck_SpawnVeh_Orange; +_noEmplacedWeapons = blck_SpawnEmplaced_Orange; +//_uniforms = blck_SkinList; +//_headgear = blck_headgear; + +_chancePara = 0.75; // Setting this in the mission file overrides the defaults +_noPara = 5; // Setting this in the mission file overrides the defaults +_paraTriggerDistance = 400; // Distance from mission at which a player triggers these reinforcements and any supplemental loot. // To have paras spawn at the time the mission spawns with/without accompanying loot set this to 0. +_paraSkill = "Orange"; // Choose any skill you like; bump up skill or add AI to justify more valuable loot. + +_chanceLoot = 0.7; +private _lootIndex = selectRandom[1,2,3,4]; +private _paralootChoices = [blck_contructionLoot,blck_contructionLoot,blck_highPoweredLoot,blck_supportLoot]; +private _paralootCountsChoices = [[0,0,0,10,10,0],[0,0,0,10,10,0],[10,10,0,0,0,0],[0,0,0,0,15,0]]; +_paraLoot = _paralootChoices select _lootIndex; +_paraLootCounts = _paralootCountsChoices select _lootIndex; // Throw in something more exotic than found at a normal blue mission. + +_endCondition = "allKilledOrPlayerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear" +//_timeOut = -1; +#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf"; diff --git a/@GMS/addons/custom_server/Missions/Orange/Operations_Command.sqf b/@GMS/addons/custom_server/Missions/Orange/Operations_Command.sqf new file mode 100644 index 0000000..4eaf7f1 --- /dev/null +++ b/@GMS/addons/custom_server/Missions/Orange/Operations_Command.sqf @@ -0,0 +1,184 @@ +/* + Mission Template by Ghostrider [GRG] + Mission Compositions by Bill prepared for ghostridergaming + Copyright 2016 + Last modified 3/20/17 + + -------------------------- + License + -------------------------- + All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License. + + http://creativecommons.org/licenses/by-nc-sa/4.0/ +*/ +#include "\q\addons\custom_server\Configs\blck_defines.hpp"; +#include "\q\addons\custom_server\Missions\privateVars.sqf"; + +//diag_log "[blckeagls] Spawning Orange Mission with template = default"; +_crateLoot = blck_BoxLoot_Orange; +_lootCounts = blck_lootCountsOrange; +_startMsg = "An Operations Command was sighted in a nearby sector! Check the Orange marker on your map for the location!"; +_endMsg = "The Operations Command at the Orange Marker is under survivor control!"; +_markerLabel = ""; +_markerType = ["ELLIPSE",[300,300],"Solid"]; +_markerColor = "ColorOrange"; +_markerMissionName = "Operations Command"; +_missionLandscapeMode = "precise"; // acceptable values are "none","random","precise" + +////////// +// Past the output of the script here +_garrisonedBuildings_BuildingPosnSystem = [ +]; + +_garrisonedBuilding_ATLsystem = [ + ["Land_Cargo_Patrol_V3_F",[-26.1375,13.395,-0.00143862],104.247,true,true,[["O_HMG_01_high_F",[-1.16919,-1.02051,4.33092],359.999]],[]], + ["Land_Cargo_Tower_V3_F",[0.0512695,-43.2329,-0.00143909],1.37485,true,true,[["O_HMG_01_high_F",[-11.6333,3.14819,-0.0121188],360],["O_Mortar_01_F",[-3.08325,4.21802,17.9254],0.000187431],["O_GMG_01_high_F",[-3.21069,-3.16113,17.8767],360],["O_GMG_01_high_F",[4.70557,-0.741943,17.8767],360]],[]], + ["Land_Cargo_Patrol_V3_F",[-22.3018,-36.6943,-0.00143862],16.3749,true,true,[["O_HMG_01_high_F",[-1.44019,-0.544922,4.33092],0.000570454],["O_HMG_01_high_F",[-6.95337,5.57886,-0.0121193],359.998]],[]], + ["Land_Cargo_HQ_V3_F",[0.157227,3.02832,-0.00143862],91.3748,true,true,[["O_Mortar_01_F",[1.9917,1.24707,3.16241],359.999],["O_HMG_01_high_F",[-4.22266,1.80176,3.1134],359.999],["O_HMG_01_high_F",[3.10205,-5.8584,3.1134],359.999],["O_HMG_01_high_F",[-6.48584,7.63452,-0.0121193],359.998],["O_HMG_01_high_F",[9.13306,15.3284,-0.0121193],359.998]],[]], + ["Land_Cargo_Tower_V3_F",[-16.1003,25.6072,-0.00143909],181.375,true,true,[["O_HMG_01_high_F",[3.25903,3.35229,17.8764],359.997],["O_GMG_01_high_F",[-4.9707,0.915771,17.8767],359.995]],[]], + ["Land_Cargo_Patrol_V3_F",[21.9438,-2.25854,-0.00143862],269.918,true,true,[["O_GMG_01_high_F",[1.11499,0.921387,4.33123],360]],[]], + ["Land_Cargo_House_V3_F",[7.7749,-26.0698,-0.00143909],1.37485,true,true,[["O_HMG_01_high_F",[2.2688,8.65552,-0.0121188],360]],[]] +]; + + + +_missionLandscape = [ + ["CamoNet_OPFOR_open_F",[-31.8352,-29.0081,-0.00143909],235.13,true,true], + ["CamoNet_OPFOR_open_F",[-43.8352,-16.6941,-0.00143909],181.375,true,true], + ["Land_HBarrier_Big_F",[-37.4087,-8.59814,-0.00143909],286.375,true,true], + ["Land_HBarrier_Big_F",[-29.3643,-37.0271,-0.00143909],37.1575,true,true], + ["Land_HBarrier_Big_F",[-35.4788,-31.5889,-0.00143909],50.6964,true,true], + ["Land_HBarrier_Big_F",[-38.9624,-25.2727,-0.00143909],255.154,true,true], + ["Land_BagBunker_Large_F",[-43.364,-16.4709,-0.00143909],91.3748,true,true], + ["Land_HBarrier_Big_F",[-34.405,-1.28906,-0.00143909],301.375,true,true], + ["Land_HBarrier_Big_F",[-29.0862,14.3416,-0.00143909],286.375,true,true], + ["Land_HBarrier_Big_F",[-31.1816,6.38184,-0.00143909],286.375,true,true], + ["Land_LampHalogen_F",[-29.8584,2.74854,-0.00143862],256.375,true,true], + ["Land_HBarrierWall_corridor_F",[-16.1533,-40.845,-0.00143909],106.375,true,true], + ["Land_HBarrier_Big_F",[-10.9395,-43.5535,-0.00143909],13.6286,true,true], + ["Land_HBarrier_Big_F",[-3.8855,-44.2878,-0.00143909],0.866833,true,true], + ["Land_HBarrier_Big_F",[-22.3318,-40.6543,-0.00143909],200.888,true,true], + ["Land_HBarrier_Big_F",[4.41016,-44.2852,-0.00143909],0.866833,true,true], + ["Land_HBarrier_5_F",[2.9043,-17.4326,-0.00143909],271.375,true,true], + ["Land_HBarrier_5_F",[-5.53174,-9.47681,-0.00143909],181.375,true,true], + ["Land_Cargo_House_V3_F",[-1.97241,-25.8367,-0.00143909],1.37485,true,true], + ["Land_HBarrier_Big_F",[-9.21558,-15.051,-0.00143909],271.375,true,true], + ["Land_HBarrier_Big_F",[-5.97168,-20.2385,-0.00143909],181.375,true,true], + ["Land_HBarrier_Big_F",[2.51318,-20.2158,-0.00143909],181.375,true,true], + ["Land_HBarrier_3_F",[2.83398,-22.9663,-0.00143909],91.3748,true,true], + ["Land_HBarrier_3_F",[2.75586,-26.2246,-0.00143909],91.3748,true,true], + ["Land_HBarrier_3_F",[2.94287,-10.5574,-0.00143909],271.375,true,true], + ["Land_HBarrier_3_F",[0.964355,-9.63477,-0.00143909],1.37485,true,true], + ["Land_HBarrier_3_F",[-6.09448,-25.2507,-0.00143909],271.375,true,true], + ["Land_HBarrier_3_F",[1.72021,-27.6951,-0.00143909],1.37485,true,true], + ["Land_HBarrier_3_F",[-6.02515,-22.2542,-0.00143909],271.375,true,true], + ["Land_HBarrier_3_F",[4.84912,-27.7708,-0.00143909],1.37485,true,true], + ["Land_HBarrier_3_F",[-5.15039,-27.5239,-0.00143909],1.37485,true,true], + ["Land_HelipadCircle_F",[-22.2104,-10.7046,-0.00143909],90.8075,true,true], + ["Land_TTowerBig_2_F",[-3.03882,-15.5251,-0.00143909],1.37485,true,true], + ["Land_HBarrier_5_F",[-24.4253,17.3018,-0.00143909],194.949,true,true], + ["Land_HBarrier_5_F",[-12.988,7.96045,-0.00143909],181.375,true,true], + ["Land_HBarrier_5_F",[-26.457,9.23633,-0.00143909],16.5662,true,true], + ["Land_Cargo_House_V3_F",[-15.2529,3.47607,-0.00143909],91.3748,true,true], + ["Land_HBarrier_Big_F",[-5.96069,14.4766,-0.00143909],1.375,true,true], + ["Land_HBarrier_Big_F",[2.22437,14.509,-0.00143909],1.375,true,true], + ["Land_HBarrier_Big_F",[-9.21826,9.43896,-0.00143909],271.375,true,true], + ["Land_HBarrier_Big_F",[-9.23389,1.12988,-0.00143909],271.375,true,true], + ["Land_HBarrier_Big_F",[-9.2439,-6.94019,-0.00143909],271.375,true,true], + ["Land_HBarrier_Big_F",[-26.9719,22.2693,-0.00143909],286.375,true,true], + ["Land_HBarrier_3_F",[-10.071,23.9849,-0.00143909],91.3748,true,true], + ["Land_HBarrier_Big_F",[-14.6584,26.7698,-0.00143909],1.375,true,true], + ["Land_HBarrier_Big_F",[-22.5229,26.7314,-0.00143909],1.375,true,true], + ["Land_HBarrier_Big_F",[-6.28784,26.8616,-0.00143909],1.375,true,true], + ["Land_HBarrier_Big_F",[1.70752,25.8137,-0.00143909],16.375,true,true], + ["CamoNet_OPFOR_open_F",[13.4675,-46.5574,-0.00143909],256.375,true,true], + ["Land_BagBunker_Large_F",[13.6731,-46.6125,-0.00143909],346.375,true,true], + ["Land_HBarrier_Big_F",[25.0122,-8.42798,-0.00143909],89.245,true,true], + ["Land_HBarrier_Big_F",[20.2207,-26.6072,-0.00143909],346.375,true,true], + ["Land_HBarrier_Big_F",[10.3425,-20.1804,-0.00143909],181.375,true,true], + ["Land_HBarrier_Big_F",[13.3196,-15.1829,-0.00143909],91.375,true,true], + ["Land_HBarrier_Big_F",[25.2847,-22.1433,-0.00143909],89.8961,true,true], + ["Land_HBarrier_Big_F",[15.2939,-23.981,-0.00143909],61.375,true,true], + ["Land_HBarrier_Big_F",[17.6921,-30.4187,-0.00143909],261.124,true,true], + ["Land_HBarrier_Big_F",[18.2314,-37.9956,-0.00143909],275.055,true,true], + ["Land_HBarrier_1_F",[26.3027,-13.0132,-0.00143909],224.245,true,true], + ["Land_HBarrier_1_F",[26.3459,-17.553,-0.00143909],134.896,true,true], + ["Land_HBarrier_3_F",[24.4424,-13.2629,-0.00143909],179.245,true,true], + ["Land_HBarrier_3_F",[23.5449,-11.0381,-0.00143909],89.245,true,true], + ["Land_HBarrier_3_F",[23.5166,-19.6731,-0.00143909],269.896,true,true], + ["Land_HBarrier_3_F",[24.4841,-17.4751,-0.00143909],359.896,true,true], + ["Land_HBarrier_3_F",[26.4421,-11.2278,-0.00143909],89.245,true,true], + ["Land_HBarrier_3_F",[26.521,-19.3137,-0.00143909],269.896,true,true], + ["Land_Tank_rust_F",[17.9231,-22.1641,-0.00143909],238.726,true,true], + ["Land_LampHalogen_F",[25.1262,-18.7678,-0.00143862],151.326,true,true], + ["Land_LampHalogen_F",[25.188,-11.5505,-0.00143862],241.375,true,true], + ["Land_HBarrierWall_corridor_F",[8.88965,13.3088,-0.00143909],76.3748,true,true], + ["Land_HBarrierWall_corridor_F",[11.9426,4.98389,-0.00143909],1.37485,true,true], + ["Land_HBarrierWall_corridor_F",[14.0635,10.1843,-0.00143909],331.375,true,true], + ["CamoNet_OPFOR_open_F",[16.8806,13.8459,-0.00143909],46.3748,true,true], + ["Land_HBarrierWall4_F",[12.9727,17.2073,-0.00143909],301.375,true,true], + ["Land_HBarrierWall4_F",[13.927,14.678,-0.00143909],241.375,true,true], + ["Land_HBarrier_Big_F",[24.7051,-0.242188,-0.00143909],89.245,true,true], + ["Land_HBarrier_Big_F",[8.90503,22.6189,-0.00143909],33.6192,true,true], + ["Land_HBarrier_Big_F",[13.2727,-6.86401,-0.00143909],91.375,true,true], + ["Land_HBarrier_Big_F",[24.3503,8.13452,-0.00143909],89.245,true,true], + ["Land_HBarrier_Big_F",[13.3027,-0.90332,-0.00143909],91.375,true,true], + ["Land_BagBunker_Small_F",[20.2654,17.5417,-0.00143909],226.375,true,true], + ["Land_LampHalogen_F",[10.6421,2.27686,-0.00143862],241.375,true,true], + ["Land_LampHalogen_F",[11.4541,10.5645,-0.00143862],136.375,true,true], + ["Land_HBarrierWall_corner_F",[21.3845,12.748,-0.00143909],46.3748,true,true], + ["Land_HBarrierWall_corner_F",[15.5208,19.1467,-0.00143909],346.375,true,true], + ["Land_HBarrierWall_corner_F",[18.5425,9.32104,-0.00143909],136.375,true,true] +]; + +_missionLootBoxes = [ +]; + +_missionLootVehicles = [ +]; + +_missionPatrolVehicles = [ + ["O_LSV_02_unarmed_F",[-53.4402,-44.895,-0.037971],359.999], + ["O_LSV_02_armed_F",[7.56689,40.9209,-0.0379591],359.999], + ["O_LSV_02_armed_F",[38.9788,-44.417,-0.0373936],359.999] +]; + +_submarinePatrolParameters = [ +]; + +_airPatrols = [ +]; + +_missionEmplacedWeapons = []; // + + + +////////// +// The lines below define additional variables you may wish to configure. + + +// Change _useMines to true/false below to enable mission-specific settings. +_useMines = blck_useMines; +_minNoAI = blck_MinAI_Orange; +_maxNoAI = blck_MaxAI_Orange; +_noAIGroups = blck_AIGrps_Orange; +_noVehiclePatrols = blck_SpawnVeh_Orange; +_noEmplacedWeapons = blck_SpawnEmplaced_Orange; +//_uniforms = blck_SkinList; +//_headgear = blck_headgear; + +_chancePara = 0.75; // Setting this in the mission file overrides the defaults +_noPara = 5; // Setting this in the mission file overrides the defaults +_paraTriggerDistance = 400; // Distance from mission at which a player triggers these reinforcements and any supplemental loot. // To have paras spawn at the time the mission spawns with/without accompanying loot set this to 0. +_paraSkill = "Red"; // Choose any skill you like; bump up skill or add AI to justify more valuable loot. + +_chanceLoot = 0.7; +private _lootIndex = selectRandom[1,2,3,4]; +private _paralootChoices = [blck_contructionLoot,blck_contructionLoot,blck_highPoweredLoot,blck_supportLoot]; +private _paralootCountsChoices = [[0,0,0,10,10,0],[0,0,0,10,10,0],[10,10,0,0,0,0],[0,0,0,0,15,0]]; +_paraLoot = _paralootChoices select _lootIndex; +_paraLootCounts = _paralootCountsChoices select _lootIndex; // Throw in something more exotic than found at a normal blue mission. + +_endCondition = "allKilledOrPlayerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear" +//_timeOut = -1; +#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf"; diff --git a/@GMS/addons/custom_server/Missions/Orange/Outpost.sqf b/@GMS/addons/custom_server/Missions/Orange/Outpost.sqf new file mode 100644 index 0000000..a426830 --- /dev/null +++ b/@GMS/addons/custom_server/Missions/Orange/Outpost.sqf @@ -0,0 +1,154 @@ +/* + Mission Template by Ghostrider [GRG] + Mission Compositions by Bill prepared for ghostridergaming + Copyright 2016 + Last modified 3/20/17 + + -------------------------- + License + -------------------------- + All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License. + + http://creativecommons.org/licenses/by-nc-sa/4.0/ +*/ +#include "\q\addons\custom_server\Configs\blck_defines.hpp"; +#include "\q\addons\custom_server\Missions\privateVars.sqf"; + +//diag_log "[blckeagls] Spawning Orange Mission with template = default"; +_crateLoot = blck_BoxLoot_Orange; +_lootCounts = blck_lootCountsOrange; +_startMsg = "An Anemy Outpost was sighted in a nearby sector! Check the Orange marker on your map for the location!"; +_endMsg = "The Outpost at the Orange Marker is under survivor control!"; +_markerLabel = ""; +_markerType = ["ELLIPSE",[200,200],"Solid"]; +_markerColor = "ColorOrange"; +_markerMissionName = "Outpost"; +_missionLandscapeMode = "precise"; // acceptable values are "none","random","precise" + +////////// +// Past the output of the script here +_garrisonedBuildings_BuildingPosnSystem = [ +]; + +_garrisonedBuilding_ATLsystem = [ + ["Land_Cargo_Patrol_V3_F",[-25.0786,-7.48535,-0.00143814],91.041,true,true,[["B_HMG_01_high_F",[-1.1084,-1.16431,4.33092],0.000110027]],[]], + ["Land_Cargo_Patrol_V3_F",[-12.2451,10.7849,-0.00143814],181.041,true,true,[["B_HMG_01_high_F",[-1.25928,1.22339,4.33092],0.00719478],["B_HMG_01_high_F",[3.44727,7.05835,-0.0121179],0.0015095],["B_HMG_01_high_F",[12.4185,7.21094,-0.0121183],0.00126386]],[]], + ["Land_Cargo_Patrol_V3_F",[24.0273,-12.3459,-0.00143814],269.838,true,true,[["B_HMG_01_high_F",[1.03076,-1.20874,4.33092],359.999],["B_HMG_01_high_F",[-11.6992,1.96533,-0.0121193],0.00189448]],[]], + ["Land_Cargo_HQ_V3_F",[6.30029,-0.909424,-0.00143814],270.038,true,true,[["B_HMG_01_high_F",[4.31299,-1.39307,3.70484],47.4694],["B_HMG_01_high_F",[-9.66064,-15.759,-0.0121193],0.00274103]],[]] +]; + + + +_missionLandscape = [ + //["Sign_Arrow_F",[-5049.41,-2726.72,-0.00143862],0,true,true], + //["Sign_Arrow_Green_F",[-5049.41,-2726.72,-0.00143862],0,true,true], + //["Sign_Arrow_Yellow_F",[-5049.41,-2726.72,-0.00143862],0,true,true], + //["babe_helper",[-5051.91,-2726.22,-0.00143862],78.6345,true,true], + ["Land_HBarrier_Big_F",[-28.8394,-8.42627,-0.00143862],91.041,true,true], + ["Land_CncShelter_F",[-10.0513,-26.2283,-0.00143862],0.0913576,true,true], + ["Land_HBarrierWall6_F",[0.581543,-12.7048,-0.00143862],91.041,true,true], + ["Land_HBarrierWall6_F",[-19.6943,-14.0881,-0.00143862],271.041,true,true], + ["Land_HBarrierWall6_F",[-5.04932,-19.8594,-0.00143862],181.041,true,true], + ["Land_HBarrier_Big_F",[-25.6514,-11.7356,-0.00143862],181.041,true,true], + ["Land_BagFence_Round_F",[-3.4668,-15.3809,-0.00143862],166.041,true,true], + ["Land_BagFence_Round_F",[-14.3892,-29.0183,-0.00143862],31.041,true,true], + ["Land_BagFence_Round_F",[-7.70801,-28.5588,-0.00143862],46.041,true,true], + ["Land_BagFence_Round_F",[-14.9326,-26.8369,-0.00143862],121.041,true,true], + ["Land_BagFence_Round_F",[-12.2075,-28.4763,-0.00143862],301.041,true,true], + ["Land_BagFence_Round_F",[-4.56348,-17.2019,-0.00143862],76.041,true,true], + ["Land_BagFence_Round_F",[-5.41797,-26.3496,-0.00143862],226.041,true,true], + ["Land_BagFence_Round_F",[-5.45801,-28.5986,-0.00143862],316.041,true,true], + ["Land_HBarrierWall_corridor_F",[-10.1372,-24.7649,-0.00143862],271.041,true,true], + ["Land_HBarrierWall4_F",[-13.7993,-19.9495,-0.00143862],181.041,true,true], + ["Land_HBarrierWall_corner_F",[-19.2007,-20,-0.00143862],181.041,true,true], + ["Land_HBarrierWall_corner_F",[0.711426,-19.4619,-0.00143862],91.041,true,true], + ["Land_LampShabby_F",[-19.8394,5.67236,-0.00143862],136.041,true,true], + ["Land_CncShelter_F",[-5.49072,10.4077,-0.00143862],181.041,true,true], + ["Land_HBarrierWall6_F",[-19.7158,-1.58594,-0.00143862],271.041,true,true], + ["Land_HBarrier_Big_F",[-25.4941,-3.23608,-0.00143862],1.04101,true,true], + ["Land_HBarrier_Big_F",[-12.9121,14.7922,-0.00143862],181.041,true,true], + ["Land_HBarrier_Big_F",[-16.2207,11.6028,-0.00143862],271.041,true,true], + ["Land_HBarrier_Big_F",[-7.72217,11.448,-0.00143862],91.041,true,true], + ["Land_HelipadSquare_F",[-9.93359,-5.85596,-0.00143862],0.362537,true,true], + ["Land_BagFence_Round_F",[-9.72363,18.6138,-0.00143862],136.041,true,true], + ["Land_BagFence_Round_F",[0.90918,18.9221,-0.00143862],226.041,true,true], + ["Land_BagFence_Round_F",[-7.59863,18.5762,-0.00143862],226.041,true,true], + ["Land_BagFence_Round_F",[-1.21631,18.9595,-0.00143862],136.041,true,true], + ["Land_BagFence_Long_F",[-7.02197,15.9382,-0.00143862],91.041,true,true], + ["Land_BagFence_Long_F",[1.48633,16.2864,-0.00143862],91.041,true,true], + ["Land_BagFence_Long_F",[-1.88379,16.5967,-0.00143862],91.041,true,true], + ["Land_BagFence_Long_F",[-10.3921,16.2498,-0.00143862],91.041,true,true], + ["Land_HBarrierWall_corridor_F",[-1.52295,8.83716,-0.00143862],181.041,true,true], + ["Land_HBarrierWall4_F",[3.81348,13.4924,-0.00143862],1.04101,true,true], + ["Land_HBarrierWall4_F",[-6.83154,5.68286,-0.00143862],1.04101,true,true], + ["Land_HBarrierWall4_F",[-16.5835,5.60962,-0.00143862],1.04101,true,true], + ["Land_HBarrierWall_corner_F",[-19.8418,5.16846,-0.00143862],271.041,true,true], + ["Land_HBarrierWall_corner_F",[-0.694824,13.0745,-0.00143862],271.041,true,true], + ["Land_LampShabby_F",[9.37598,-10.3596,-0.00143862],1.04101,true,true], + ["Land_HBarrierWall6_F",[7.20605,-19.8293,-0.00143862],181.041,true,true], + ["Land_HBarrierWall6_F",[6.87402,-10.5664,-0.00143862],181.041,true,true], + ["Land_HBarrier_Big_F",[24.5322,-16.5854,-0.00143862],179.838,true,true], + ["Land_HBarrier_Big_F",[24.5107,-8.08472,-0.00143862],359.838,true,true], + ["Land_HBarrier_Big_F",[27.7676,-11.3262,-0.00143862],269.838,true,true], + ["Land_BagFence_Round_F",[13.2651,-9.68359,-0.00143862],226.041,true,true], + ["Land_BagFence_Round_F",[11.1396,-9.64404,-0.00143862],136.041,true,true], + ["Land_HBarrierWall4_F",[13.9541,-19.9521,-0.00143862],181.041,true,true], + ["Land_Cargo_House_V3_F",[7.46289,-15.906,-0.00143862],271.041,true,true], + ["Land_HBarrierWall_corner_F",[18.2109,-19.53,-0.00143862],91.041,true,true], + ["Land_LampShabby_F",[18.0684,13.9841,-0.00143862],226.041,true,true], + ["Land_HBarrierWall6_F",[17.8833,3.73438,-0.00143862],91.041,true,true], + ["Land_HBarrierWall6_F",[17.9854,-4.51611,-0.00143862],91.041,true,true], + ["Land_HBarrierWall6_F",[10.5679,13.6208,-0.00143862],1.04101,true,true], + ["Land_HBarrierWall4_F",[17.7358,9.23999,-0.00143862],91.041,true,true], + ["Land_HBarrierWall_corner_F",[17.3179,13.7493,-0.00143862],1.04101,true,true] +]; + +_missionLootBoxes = [ +]; + +_missionLootVehicles = [ +]; + +_missionPatrolVehicles = [ + ["B_G_Offroad_01_armed_F",[35.8379,4.96387,0.00813246],0.00104452] +]; + +_submarinePatrolParameters = [ +]; + +_airPatrols = [ +]; + +_missionEmplacedWeapons = []; // + + + +////////// +// The lines below define additional variables you may wish to configure. + + +// Change _useMines to true/false below to enable mission-specific settings. +_useMines = blck_useMines; +_minNoAI = blck_MinAI_Orange; +_maxNoAI = blck_MaxAI_Orange; +_noAIGroups = blck_AIGrps_Orange; +_noVehiclePatrols = blck_SpawnVeh_Orange; +_noEmplacedWeapons = blck_SpawnEmplaced_Orange; +//_uniforms = blck_SkinList; +//_headgear = blck_headgear; + +_chancePara = 0.75; // Setting this in the mission file overrides the defaults +_noPara = 5; // Setting this in the mission file overrides the defaults +_paraTriggerDistance = 400; // Distance from mission at which a player triggers these reinforcements and any supplemental loot. // To have paras spawn at the time the mission spawns with/without accompanying loot set this to 0. +_paraSkill = "Red"; // Choose any skill you like; bump up skill or add AI to justify more valuable loot. + +_chanceLoot = 0.7; +private _lootIndex = selectRandom[1,2,3,4]; +private _paralootChoices = [blck_contructionLoot,blck_contructionLoot,blck_highPoweredLoot,blck_supportLoot]; +private _paralootCountsChoices = [[0,0,0,10,10,0],[0,0,0,10,10,0],[10,10,0,0,0,0],[0,0,0,0,15,0]]; +_paraLoot = _paralootChoices select _lootIndex; +_paraLootCounts = _paralootCountsChoices select _lootIndex; // Throw in something more exotic than found at a normal blue mission. + +_endCondition = "allKilledOrPlayerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear" +//_timeOut = -1; +#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf"; diff --git a/@GMS/addons/custom_server/Missions/Orange/bunker.sqf b/@GMS/addons/custom_server/Missions/Orange/bunker.sqf index a7acc2f..52fac20 100644 --- a/@GMS/addons/custom_server/Missions/Orange/bunker.sqf +++ b/@GMS/addons/custom_server/Missions/Orange/bunker.sqf @@ -1,6 +1,6 @@ /* Mission Template by Ghostrider [GRG] - Mission Compositions by Thomas TKO + Mission Compositions by Bill prepared for ghostridergaming Copyright 2016 Last modified 3/20/17 @@ -11,22 +11,24 @@ http://creativecommons.org/licenses/by-nc-sa/4.0/ */ - #include "\q\addons\custom_server\Configs\blck_defines.hpp"; #include "\q\addons\custom_server\Missions\privateVars.sqf"; -diag_log "[blckeagls] Spawning Orange Mission with template = bunkerMission"; +//diag_log "[blckeagls] Spawning Orange Mission with template = default"; _crateLoot = blck_BoxLoot_Orange; -_lootCounts = [15,50,20,60,44,5]; // blck_lootCountsOrange = [8,32,8,30,16,1]; -_startMsg = "A Mafia General is building a heavily defended bunker. Stop him and claim a reward!"; -_endMsg = "The Mafia General has been defeated!"; +_lootCounts = blck_lootCountsOrange; +_startMsg = "An Operations Command was sighted in a nearby sector! Check the Orange marker on your map for the location!"; +_endMsg = "The Operations Command at the Orange Marker is under survivor control!"; _markerLabel = ""; -_markerType = ["ellipse",[300,300],"GRID"]; +_markerType = ["ellipse",[300,300],"Solid"]; _markerColor = "ColorBlack"; _markerMissionName = " Bunker"; _missionLandscapeMode = "precise"; // acceptable values are "none","random","precise" -_garrisonedBuildings_BuildingPosnSystem = []; +////////// +// Past the output of the script here +_garrisonedBuildings_BuildingPosnSystem = [ +]; _garrisonedBuilding_ATLsystem = [ ["Land_Bunker_01_big_F",[-19.0896,9.22754,0.760561],90.071,true,true,[["O_HMG_01_high_F",[-1.09302,-0.0102539,3.2837],0.00152979],["O_HMG_01_high_F",[-5.45947,-3.38574,0.109706],359.994],["O_HMG_01_high_F",[-0.41333,-10.5659,-0.774119],360],["O_HMG_01_high_F",[-0.826416,11.6274,-0.774119],0.00143682],["O_HMG_01_high_F",[11.355,-8.68066,-0.774117],0.000274398]],[]], @@ -37,10 +39,12 @@ _garrisonedBuilding_ATLsystem = [ ["Land_Bunker_01_tall_F",[16.5664,28.7466,-0.00143909],270.416,true,true,[["O_HMG_01_high_F",[-5.00977,2.1792,-0.0121174],0.000287538],["O_HMG_01_high_F",[1.80957,0.26709,4.96756],0.000969946],["O_HMG_01_high_F",[-10.7739,2.07715,-0.0121174],0.000287469],["O_HMG_01_high_F",[-12.0127,6.1333,-0.0121188],360]],[]] ]; + + _missionLandscape = [ - ["Sign_Arrow_F",[-3166.38,-5166.64,-0.00143909],0,true,true], - ["Sign_Arrow_Green_F",[-3166.38,-5166.64,-0.00143909],0,true,true], - ["Sign_Arrow_Yellow_F",[-3166.38,-5166.64,-0.00143909],0,true,true], + //["Sign_Arrow_F",[-3166.38,-5166.64,-0.00143909],0,true,true], + //["Sign_Arrow_Green_F",[-3166.38,-5166.64,-0.00143909],0,true,true], + //["Sign_Arrow_Yellow_F",[-3166.38,-5166.64,-0.00143909],0,true,true], ["babe_helper",[-3168.88,-5166.14,-0.00143909],87.9418,true,true], ["Land_Bunker_01_blocks_3_F",[-16.9785,-4.23682,-0.00143909],270.35,true,true], ["Land_Bunker_01_blocks_3_F",[-8.35254,-12.7046,-0.00143909],179.955,true,true], @@ -66,15 +70,14 @@ _missionLandscape = [ ]; _missionLootBoxes = [ - ["B_supplyCrate_F",[0.0446777,-1.31494,-0.001441],_crateLoot,_lootCounts,0.00167282] ]; _missionLootVehicles = [ ]; _missionPatrolVehicles = [ - // ["O_LSV_02_armed_F",[-40.6245,8.75732,-0.0378561],359.999], - // ["O_LSV_02_unarmed_F",[35.2053,8.41943,-0.0378113],359.999] + ["O_LSV_02_armed_F",[-40.6245,8.75732,-0.0378561],359.999], + ["O_LSV_02_unarmed_F",[35.2053,8.41943,-0.0378113],359.999] ]; _submarinePatrolParameters = [ @@ -83,39 +86,12 @@ _submarinePatrolParameters = [ _airPatrols = [ ]; -_missionEmplacedWeapons = [ - ["O_HMG_01_high_F",[-6.7771,-15.3213,-0.013557],0.000580947], - ["O_HMG_01_high_F",[-7.73462,0.546875,-0.0135565],0.000274398], - ["O_HMG_01_high_F",[-19.5029,-1.33838,-0.0135579],360], - ["O_HMG_01_high_F",[-4.04785,-6.94092,-0.0135589],0.00145283], - ["O_HMG_01_high_F",[-13.0359,-11.1436,-0.0135579],359.999], - ["O_HMG_01_high_F",[-8.35522,30.8169,-0.0135593],0.00145235], - ["O_HMG_01_high_F",[-7.09741,34.6904,-0.0135565],0.000287344], - ["O_HMG_01_high_F",[-13.4502,31.2861,-0.0135565],0.000287307], - ["O_HMG_01_high_F",[-19.916,20.855,-0.0135579],0.00143682], - ["O_HMG_01_high_F",[6.23291,-15.2817,-0.013557],0.000581377], - ["O_HMG_01_high_F",[5.16699,1.34131,-0.0135579],359.999], - ["O_HMG_01_high_F",[11.5872,-10.9995,-0.0135593],0.00145227], - ["O_HMG_01_high_F",[17.4712,-0.704102,-0.0135565],0.000287533], - ["O_HMG_01_high_F",[2.62817,-6.73193,-0.0135579],359.999], - ["O_HMG_01_high_F",[4.55371,34.8799,-0.0135579],360], - ["O_HMG_01_high_F",[11.5566,30.9258,-0.0135565],0.000287538], - ["O_HMG_01_high_F",[16.6682,21.2373,-0.0135565],0.000287276], - ["O_HMG_01_high_F",[5.79248,30.8237,-0.0135565],0.000287469] -]; +_missionEmplacedWeapons = []; // -_missionGroups = [ - [[-7.90332,-2.77295,0],3,6,"Orange",30,45], - [[-0.937012,12.8022,0],3,6,"Orange",30,45], - [[-9.20801,24.0776,0],3,6,"Orange",30,45], - [[8.76147,-1.29004,0],3,6,"Orange",30,45], - [[-0.792725,7.7959,0],3,6,"Orange",30,45], - [[-0.269531,30.3203,0],3,6,"Orange",30,45], - [[8.71509,21.3311,0],3,6,"Orange",30,45] -]; -_scubaGroupParameters = [ -]; + +////////// +// The lines below define additional variables you may wish to configure. // Change _useMines to true/false below to enable mission-specific settings. @@ -125,23 +101,21 @@ _maxNoAI = blck_MaxAI_Orange; _noAIGroups = blck_AIGrps_Orange; _noVehiclePatrols = blck_SpawnVeh_Orange; _noEmplacedWeapons = blck_SpawnEmplaced_Orange; -_uniforms = blck_SkinList; -_headgear = blck_headgear; - -_chanceHeliPatrol = blck_chanceHeliPatrolBlue; // Setting this in the mission file overrides the defaults -_noChoppers = blck_noPatrolHelisOrange; -_missionHelis = blck_patrolHelisOrange; +//_uniforms = blck_SkinList; +//_headgear = blck_headgear; _chancePara = 0.75; // Setting this in the mission file overrides the defaults _noPara = 5; // Setting this in the mission file overrides the defaults _paraTriggerDistance = 400; // Distance from mission at which a player triggers these reinforcements and any supplemental loot. // To have paras spawn at the time the mission spawns with/without accompanying loot set this to 0. -_paraSkill = "orange"; // Choose any skill you like; bump up skill or add AI to justify more valuable loot. +_paraSkill = "Red"; // Choose any skill you like; bump up skill or add AI to justify more valuable loot. _chanceLoot = 0.7; private _lootIndex = selectRandom[1,2,3,4]; private _paralootChoices = [blck_contructionLoot,blck_contructionLoot,blck_highPoweredLoot,blck_supportLoot]; -private _paralootCountsChoices = [[0,0,0,25,25,0],[0,0,0,25,25,0],[20,30,0,0,0,0],[0,0,0,0,30,0]]; +private _paralootCountsChoices = [[0,0,0,10,10,0],[0,0,0,10,10,0],[10,10,0,0,0,0],[0,0,0,0,15,0]]; _paraLoot = _paralootChoices select _lootIndex; _paraLootCounts = _paralootCountsChoices select _lootIndex; // Throw in something more exotic than found at a normal blue mission. -diag_log format["[blckeagls] Bunker Mission Parameters Loaded at %1",diag_tickTime]; \ No newline at end of file +_endCondition = "allKilledOrPlayerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear" +//_timeOut = -1; +#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf"; \ No newline at end of file diff --git a/@GMS/addons/custom_server/Missions/Orange/dashq.sqf b/@GMS/addons/custom_server/Missions/Orange/dashq.sqf index cca74cf..ce2d371 100644 --- a/@GMS/addons/custom_server/Missions/Orange/dashq.sqf +++ b/@GMS/addons/custom_server/Missions/Orange/dashq.sqf @@ -1,6 +1,6 @@ /* Mission Template by Ghostrider [GRG] - Mission Compositions by Thomas TKO + Mission Compositions by Bill prepared for ghostridergaming Copyright 2016 Last modified 3/20/17 @@ -17,12 +17,12 @@ //diag_log "[blckeagls] Spawning Orange Mission with template = default"; _crateLoot = blck_BoxLoot_Orange; _lootCounts = blck_lootCountsOrange; -_startMsg = "An enemy Operations Base was sighted in a nearby sector! Check the Orange marker on your map for the location!"; -_endMsg = "The Operations Base at the Orange Marker is under survivor control!"; +_startMsg = "An enemy HQ center was sighted in a nearby sector! Check the Orange marker on your map for the location!"; +_endMsg = "The HQ at the Orange Marker is under survivor control!"; _markerLabel = ""; _markerType = ["ELLIPSE",[300,300],"Solid"]; _markerColor = "ColorOrange"; -_markerMissionName = "Operations Base"; +_markerMissionName = "Operationsbasis"; _missionLandscapeMode = "precise"; // acceptable values are "none","random","precise" ////////// @@ -179,15 +179,15 @@ _missionLandscape = [ ]; _missionLootBoxes = [ - ["B_supplyCrate_F",[0.0717773,16.9431,-0.00143814],_crateLoot,_lootCounts,0.000320471] + //["Exile_Container_SupplyBox",[0.0717773,16.9431,-0.00143814],_crateLoot,_lootCounts,0.000320471] ]; _missionLootVehicles = [ ]; _missionPatrolVehicles = [ - // ["O_T_LSV_02_armed_F",[-62.7971,0.422119,-0.0236669],0.00164848], - // ["O_T_LSV_02_armed_F",[31.9084,-7.18774,-0.0238085],0.00168349] + ["O_T_LSV_02_armed_F",[-62.7971,0.422119,-0.0236669],0.00164848], + ["O_T_LSV_02_armed_F",[31.9084,-7.18774,-0.0238085],0.00168349] ]; _submarinePatrolParameters = [ @@ -196,26 +196,9 @@ _submarinePatrolParameters = [ _airPatrols = [ ]; -_missionEmplacedWeapons = [ - ["B_HMG_01_high_F",[-27.1521,-29.2402,-0.0135579],154.874], - ["B_HMG_01_high_F",[-14.2676,-29.4304,-0.013557],206.716], - ["B_HMG_01_high_F",[-12.8362,1.83374,-0.0135579],25.3994], - ["B_HMG_01_high_F",[-26.5833,1.45483,-0.0135574],336.99], - ["B_HMG_01_high_F",[-26.2922,25.8635,-0.0135584],25.3994], - ["B_HMG_01_high_F",[-5.00732,29.4277,-0.0135579],359.999], - ["B_HMG_01_high_F",[-7.33691,36.0117,-0.0135584],357.806], - ["B_HMG_01_high_F",[8.54346,36.1248,-0.0135579],359.962] -]; +_missionEmplacedWeapons = []; // + -_missionGroups = [ - [[-41.0581,-3.45898,0],3,6,"Red",30,45], - [[-37.6394,8.57202,0],3,6,"Red",30,45], - [[-21.9045,-23.5044,0],3,6,"Red",30,45], - [[-4.78564,-4.45728,0],3,6,"Red",30,45], - [[-12.2888,11.2847,0],3,6,"Red",30,45], - [[-19.8623,-10.6353,0],3,6,"Red",30,45], - [[4.07446,-4.8584,0],3,6,"Red",30,45] -]; ////////// // The lines below define additional variables you may wish to configure. @@ -243,6 +226,6 @@ private _paralootCountsChoices = [[0,0,0,10,10,0],[0,0,0,10,10,0],[10,10,0,0,0,0 _paraLoot = _paralootChoices select _lootIndex; _paraLootCounts = _paralootCountsChoices select _lootIndex; // Throw in something more exotic than found at a normal blue mission. -//_endCondition = "playerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear" +_endCondition = "allKilledOrPlayerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear" //_timeOut = -1; -#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf"; +#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf"; \ No newline at end of file diff --git a/@GMS/addons/custom_server/Missions/Orange/derbunker.sqf b/@GMS/addons/custom_server/Missions/Orange/derbunker.sqf new file mode 100644 index 0000000..eb51178 --- /dev/null +++ b/@GMS/addons/custom_server/Missions/Orange/derbunker.sqf @@ -0,0 +1,120 @@ +/* + Mission Template by Ghostrider [GRG] + Mission Compositions by Bill prepared for ghostridergaming + Copyright 2016 + Last modified 3/20/17 + + -------------------------- + License + -------------------------- + All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License. + + http://creativecommons.org/licenses/by-nc-sa/4.0/ +*/ +#include "\q\addons\custom_server\Configs\blck_defines.hpp"; +#include "\q\addons\custom_server\Missions\privateVars.sqf"; + +//diag_log "[blckeagls] Spawning Orange Mission with template = default"; +_crateLoot = blck_BoxLoot_Orange; +_lootCounts = blck_lootCountsOrange; +_startMsg = "An enemy Bunker was sighted in a nearby sector! Check the Orange marker on your map for the location!"; +_endMsg = "The Bunker at the Orange Marker is under survivor control!"; +_markerLabel = ""; +_markerType = ["ELLIPSE",[300,300],"Solid"]; +_markerColor = "ColorOrange"; +_markerMissionName = "DerBunker"; +_missionLandscapeMode = "precise"; // acceptable values are "none","random","precise" + +////////// +// Past the output of the script here +_garrisonedBuildings_BuildingPosnSystem = [ +]; + +_garrisonedBuilding_ATLsystem = [ + ["Land_Bunker_01_big_F",[-15.925,9.02295,0.760561],90.071,true,true,[["O_HMG_01_high_F",[-5.45947,-3.38574,0.109706],359.994]],[]], + ["Land_Bunker_01_tall_F",[-15.377,-8.8042,-0.00143909],90.071,true,true,[["O_HMG_01_high_F",[5.50562,-2.54395,-0.0121193],0.00145215],["O_HMG_01_high_F",[-1.72095,-0.109375,4.96893],0.00948966]],[]], + ["Land_Bunker_01_tall_F",[-15.76,28.606,-0.00143909],90.071,true,true,[["O_HMG_01_high_F",[5.47437,2.47559,-0.0121179],0.000581241],["O_HMG_01_high_F",[-1.38867,-0.0722656,4.967],359.999],["O_HMG_01_high_F",[11.8271,5.87988,-0.0121188],0.00143633]],[]], + ["Land_Bunker_01_big_F",[20.199,10.729,0.760561],270.416,true,true,[["O_HMG_01_high_F",[5.86328,3.25586,0.109697],0.0117801]],[]], + ["Land_Bunker_01_tall_F",[19.8899,-8.86914,-0.00143909],270.416,true,true,[["O_HMG_01_high_F",[-5.13818,-2.33496,-0.0121174],0.0002874],["O_HMG_01_high_F",[1.45801,0.0512695,4.96698],360]],[]], + ["Land_Bunker_01_tall_F",[19.731,28.542,-0.00143909],270.416,true,true,[["O_HMG_01_high_F",[-5.00977,2.1792,-0.0121188],0.00143735],["O_HMG_01_high_F",[1.80957,0.26709,4.96756],360],["O_HMG_01_high_F",[-12.0127,6.1333,-0.0121193],0.00145178]],[]] +]; + +_missionLandscape = [ + //["Sign_Arrow_F",[-3163.22,-5166.85,-0.00143909],0,true,true], + //["Sign_Arrow_Green_F",[-3163.22,-5166.85,-0.00143909],0,true,true], + //["Sign_Arrow_Yellow_F",[-3163.22,-5166.85,-0.00143909],0,true,true], + //["babe_helper",[-3165.72,-5166.35,-0.00143909],90.8645,true,true], + ["Land_Bunker_01_blocks_3_F",[-13.762,17.5518,-0.00143909],270.35,true,true], + ["Land_Bunker_01_blocks_3_F",[-0.0979004,-12.9033,-0.00143909],179.955,true,true], + ["Land_Bunker_01_blocks_3_F",[-5.18799,-12.9092,-0.00143909],179.955,true,true], + ["Land_Bunker_01_blocks_3_F",[-10.175,-12.9253,-0.502439],179.955,true,true], + ["Land_Bunker_01_blocks_3_F",[-13.814,-4.44141,-0.00143909],270.35,true,true], + ["Land_Bunker_01_blocks_3_F",[-13.7959,0.544922,-0.00143909],270.35,true,true], + ["CamoNet_INDP_big_F",[2.23804,-2.70508,-0.00143909],182.545,true,true], + ["Land_Bunker_01_blocks_3_F",[-13.7451,22.5391,-0.00143909],270.35,true,true], + ["Land_Bunker_01_blocks_3_F",[-2.51611,30.105,-0.00143909],90.192,true,true], + ["Land_Bunker_01_blocks_3_F",[-10.6179,32.6689,-0.432439],0.106,true,true], + ["Land_Bunker_01_blocks_3_F",[-5.63013,32.6719,-0.00143909],0.106,true,true], + ["Land_Bunker_01_blocks_3_F",[17.958,2.1958,-0.00143909],90.695,true,true], + ["Land_Bunker_01_blocks_3_F",[14.9771,-12.854,-0.529439],179.955,true,true], + ["Land_Bunker_01_blocks_3_F",[4.88892,-12.8853,-0.00143909],179.955,true,true], + ["Land_Bunker_01_blocks_3_F",[17.9109,-2.78906,-0.00143909],90.695,true,true], + ["Land_Bunker_01_blocks_3_F",[9.98999,-12.8711,-0.00143909],179.955,true,true], + ["Land_Bunker_01_blocks_3_F",[6.58691,30.1689,-0.00143909],269.774,true,true], + ["Land_Bunker_01_blocks_3_F",[18.095,19.2026,-0.00143909],90.695,true,true], + ["Land_Bunker_01_blocks_3_F",[18.1409,24.189,-0.00143909],90.695,true,true], + ["Land_Bunker_01_blocks_3_F",[9.54907,32.6689,-0.00143909],0.106,true,true], + ["Land_Bunker_01_blocks_3_F",[14.5359,32.6729,-0.363439],0.106,true,true] +]; + +_missionLootBoxes = [ + //["Exile_Container_SupplyBox",[0.0446777,-1.31494,-0.001441],_crateLoot,_lootCounts,0.00167282] +]; + +_missionLootVehicles = [ +]; + +_missionPatrolVehicles = [ + ["O_LSV_02_armed_F",[-37.46,8.55273,-0.0378561],359.999], + ["O_LSV_02_unarmed_F",[38.3699,8.21484,-0.0378113],359.999] +]; + +_submarinePatrolParameters = [ +]; + +_airPatrols = [ +]; + +_missionEmplacedWeapons = []; // + + + +////////// +// The lines below define additional variables you may wish to configure. + + +// Change _useMines to true/false below to enable mission-specific settings. +_useMines = blck_useMines; +_minNoAI = blck_MinAI_Orange; +_maxNoAI = blck_MaxAI_Orange; +_noAIGroups = blck_AIGrps_Orange; +_noVehiclePatrols = blck_SpawnVeh_Orange; +_noEmplacedWeapons = blck_SpawnEmplaced_Orange; +//_uniforms = blck_SkinList; +//_headgear = blck_headgear; + +_chancePara = 0.75; // Setting this in the mission file overrides the defaults +_noPara = 5; // Setting this in the mission file overrides the defaults +_paraTriggerDistance = 400; // Distance from mission at which a player triggers these reinforcements and any supplemental loot. // To have paras spawn at the time the mission spawns with/without accompanying loot set this to 0. +_paraSkill = "orange"; // Choose any skill you like; bump up skill or add AI to justify more valuable loot. + +_chanceLoot = 0.7; +private _lootIndex = selectRandom[1,2,3,4]; +private _paralootChoices = [blck_contructionLoot,blck_contructionLoot,blck_highPoweredLoot,blck_supportLoot]; +private _paralootCountsChoices = [[0,0,0,10,10,0],[0,0,0,10,10,0],[10,10,0,0,0,0],[0,0,0,0,15,0]]; +_paraLoot = _paralootChoices select _lootIndex; +_paraLootCounts = _paralootCountsChoices select _lootIndex; // Throw in something more exotic than found at a normal blue mission. + +_endCondition = "allKilledOrPlayerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear" +//_timeOut = -1; +#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf"; diff --git a/@GMS/addons/custom_server/Missions/Orange/lager.sqf b/@GMS/addons/custom_server/Missions/Orange/lager.sqf new file mode 100644 index 0000000..5799cb2 --- /dev/null +++ b/@GMS/addons/custom_server/Missions/Orange/lager.sqf @@ -0,0 +1,185 @@ +/* + Mission Template by Ghostrider [GRG] + Mission Compositions by Bill prepared for ghostridergaming + Copyright 2016 + Last modified 3/20/17 + + -------------------------- + License + -------------------------- + All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License. + + http://creativecommons.org/licenses/by-nc-sa/4.0/ +*/ +#include "\q\addons\custom_server\Configs\blck_defines.hpp"; +#include "\q\addons\custom_server\Missions\privateVars.sqf"; + +//diag_log "[blckeagls] Spawning Orange Mission with template = default"; +_crateLoot = blck_BoxLoot_Orange; +_lootCounts = blck_lootCountsOrange; +_startMsg = "An enemy Camp was sighted in a nearby sector! Check the Orange marker on your map for the location!"; +_endMsg = "The Camp at the Orange Marker is under survivor control!"; +_markerLabel = ""; +_markerType = ["ELLIPSE",[300,300],"Solid"]; +_markerColor = "ColorOrange"; +_markerMissionName = "Nachschublager"; +_missionLandscapeMode = "precise"; // acceptable values are "none","random","precise" + +////////// +// Past the output of the script here +_garrisonedBuildings_BuildingPosnSystem = [ +]; + +_garrisonedBuilding_ATLsystem = [ + ["Land_Cargo_Tower_V1_F",[-8.1167,-39.0396,-0.00143862],180.738,true,true,[["O_HMG_01_high_F",[-4.98901,13.312,-0.0121193],359.999],["O_HMG_01_high_F",[-4.88916,0.893799,17.8798],359.999],["O_GMG_01_high_F",[2.86377,5.15186,17.7791],0.00110346],["O_GMG_01_high_F",[3.12354,-4.59814,17.8788],0.00619121],["O_HMG_01_high_F",[8.82837,21.6572,-0.0121193],359.999],["O_GMG_01_high_F",[-3.55591,26.4539,-0.0118098],360]],[]], + ["Land_Cargo_Tower_V1_F",[-8.7854,37.2058,-0.00143862],180.738,true,true,[["O_HMG_01_high_F",[-4.1167,-15.228,-0.0121188],359.999],["O_GMG_01_high_F",[-5.05029,0.812012,17.8801],359.999],["O_HMG_01_high_F",[2.97925,4.90308,17.7791],359.995],["O_HMG_01_high_F",[3.02808,-5.19946,17.8776],359.987],["O_HMG_01_high_F",[9.59595,-22.2854,-0.0121188],359.999],["O_GMG_01_high_F",[-1.95337,-25.9678,-0.0118098],360]],[]], + ["Land_Cargo_HQ_V1_F",[41.5171,-35.4209,-0.00143814],88.7297,true,true,[["O_HMG_01_high_F",[-4.19043,0.419922,3.1134],360],["O_GMG_01_high_F",[1.2395,-6.33594,3.11891],359.998]],[]], + ["Land_Cargo_HQ_V1_F",[41.6394,35.6191,-0.00143814],271.277,true,true,[["O_HMG_01_high_F",[1.75781,6.54565,3.11813],359.998]],[]], + ["Land_Cargo_Patrol_V1_F",[58.7402,-14.1282,-0.00143814],179.058,true,true,[["O_HMG_01_high_F",[0.936523,-0.546631,4.55561],186.318],["O_HMG_01_high_F",[-8.49658,3.90869,-0.0121207],0.00101132]],[]], + ["Land_Cargo_Patrol_V1_F",[58.6057,14.2329,-0.00143814],359.375,true,true,[["O_GMG_01_high_F",[1.16113,-1.15356,4.33123],360],["O_HMG_01_high_F",[-8.44897,-1.0686,-0.0121198],359.999]],[]] +]; + +_missionLandscape = [ + //["babe_helper",[-3950.48,-2427.52,-0.00143862],0,true,true], + //["Sign_Arrow_Green_F",[-3947.98,-2428.02,-0.00143862],0,true,true], + //["Sign_Arrow_F",[-3947.98,-2428.02,-0.00143862],0,true,true], + //["Sign_Arrow_Yellow_F",[-3947.98,-2428.02,-0.00143862],0,true,true], + ["Land_LampHalogen_F",[-16.9238,-29.4194,-0.00143814],175.993,true,true], + ["Land_HBarrierBig_F",[-16.6211,-36.4802,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[-16.6907,-44.7676,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[-16.8193,-28.7813,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[-17.0107,-4.99146,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[-16.8831,-20.9722,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[-16.813,-12.6887,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[-16.9338,3.10571,-0.00143862],271.533,true,true], + ["Land_LampHalogen_F",[-17.1384,26.0154,-0.00143814],175.993,true,true], + ["Land_HBarrierBig_F",[-17.126,26.9011,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[-17.0623,19.092,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[-16.8643,11.3931,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[-17.0559,35.1846,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[-17.2517,42.8821,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[10.6238,-49.76,-0.00143862],1.58276,true,true], + ["Land_HBarrierBig_F",[4.90186,-29.2209,-0.00143862],181.755,true,true], + ["Land_HBarrierBig_F",[2.92627,-49.9541,-0.00143862],1.58276,true,true], + ["Land_HBarrierBig_F",[-3.42188,-29.1743,-0.00143862],181.755,true,true], + ["Land_HBarrierBig_F",[-5.36133,-49.8767,-0.00143862],1.58276,true,true], + ["Land_HBarrierBig_F",[-13.5088,-49.9219,-0.00143862],1.58276,true,true], + ["Land_HBarrierBig_F",[13.3582,-29.1738,-0.00143862],181.755,true,true], + ["Land_HBarrierBig_F",[-11.5808,-29.1753,-0.00143862],181.755,true,true], + ["Land_LampHalogen_F",[6.08081,-17.4399,-0.00143814],183.353,true,true], + ["Land_Cargo_House_V1_F",[5.85425,-11.7749,-0.00143862],178.957,true,true], + ["Land_Cargo_House_V1_F",[12.7263,-11.8384,-0.00143862],180.484,true,true], + ["Land_Cargo_House_V1_F",[6.03076,-23.2114,-0.00143862],0.530105,true,true], + ["Land_Cargo_House_V1_F",[-9.97656,-7.45703,-0.00143862],270.031,true,true], + ["Land_Cargo_House_V1_F",[-9.95679,-0.756836,-0.00143862],270.244,true,true], + ["Land_Cargo_House_V1_F",[12.6707,-23.292,-0.00143862],0.742551,true,true], + ["Land_LampHalogen_F",[4.89917,14.9739,-0.00143814],183.353,true,true], + ["Land_HBarrierBig_F",[3.46533,26.0403,-0.00143862],181.755,true,true], + ["Land_HBarrierBig_F",[-4.86035,26.0867,-0.00143862],181.755,true,true], + ["Land_HBarrierBig_F",[11.9197,26.0874,-0.00143862],181.755,true,true], + ["Land_HBarrierBig_F",[-13.1709,26.1252,-0.00143862],181.755,true,true], + ["Land_Cargo_House_V1_F",[-9.93091,6.11108,-0.00143862],268.716,true,true], + ["Land_Cargo_House_V1_F",[11.5469,20.5737,-0.00143862],180.484,true,true], + ["Land_Cargo_House_V1_F",[11.4912,9.12012,-0.00143862],0.742551,true,true], + ["Land_Cargo_House_V1_F",[4.6748,20.6372,-0.00143862],178.957,true,true], + ["Land_Cargo_House_V1_F",[4.79419,9.20044,-0.00143862],0.530105,true,true], + ["Land_HBarrierBig_F",[-13.959,47.9253,-0.00143862],1.51588,true,true], + ["Land_HBarrierBig_F",[10.1702,48.1106,-0.00143862],1.51588,true,true], + ["Land_HBarrierBig_F",[1.88428,48.1787,-0.00143862],1.51588,true,true], + ["Land_HBarrierBig_F",[-6.26294,48.124,-0.00143862],1.51588,true,true], + ["Land_LampHalogen_F",[37.4138,-49.6885,-0.00143814],86.6613,true,true], + ["Land_HBarrierBig_F",[18.4333,-49.7061,-0.00143862],1.58276,true,true], + ["Land_HBarrierBig_F",[21.7261,-29.1707,-0.00143862],181.755,true,true], + ["Land_HBarrierBig_F",[34.4153,-49.5938,-0.00143862],1.58276,true,true], + ["Land_HBarrierBig_F",[42.5332,-49.4375,-0.00143862],1.58276,true,true], + ["Land_HBarrierBig_F",[26.7168,-49.782,-0.00143862],1.58276,true,true], + ["Land_LampHalogen_F",[24.2969,-4.63354,-0.00143814],175.763,true,true], + ["Land_LampHalogen_F",[24.0779,2.92041,-0.00143814],175.763,true,true], + ["Land_HBarrierBig_F",[24.7175,-16.5247,-0.00143862],270.156,true,true], + ["Land_HBarrierBig_F",[24.5884,-8.51978,-0.00143862],270.156,true,true], + ["Land_HBarrierBig_F",[20.874,3.03345,-0.00143862],181.755,true,true], + ["Land_HBarrierBig_F",[24.8879,-24.3479,-0.00143862],270.156,true,true], + ["Land_HBarrierBig_F",[21.095,-4.52222,-0.00143862],181.755,true,true], + ["Land_Cargo_House_V1_F",[19.4255,-11.8789,-0.00143862],180.272,true,true], + ["Land_Cargo_House_V1_F",[19.5381,-23.3779,-0.00143862],359.215,true,true], + ["Land_HBarrierBig_F",[24.0823,6.26489,-0.00143862],270.156,true,true], + ["Land_HBarrierBig_F",[23.7832,22.0911,-0.00143862],270.156,true,true], + ["Land_HBarrierBig_F",[23.9121,14.0862,-0.00143862],270.156,true,true], + ["Land_HBarrierBig_F",[20.2896,26.0906,-0.00143862],181.755,true,true], + ["Land_Cargo_House_V1_F",[18.3564,9.03589,-0.00143862],359.215,true,true], + ["Land_Cargo_House_V1_F",[18.2441,20.533,-0.00143862],180.272,true,true], + ["Land_LampHalogen_F",[37.1499,49.4319,-0.00143814],270.972,true,true], + ["Land_HBarrierBig_F",[17.8696,48.312,-0.00143862],1.51588,true,true], + ["Land_HBarrierBig_F",[33.9624,48.3108,-0.00143862],1.51588,true,true], + ["Land_HBarrierBig_F",[25.6785,48.3774,-0.00143862],1.51588,true,true], + ["Land_HBarrierBig_F",[41.6587,48.5078,-0.00143862],1.51588,true,true], + ["Land_HBarrierBig_F",[53.832,-28.3086,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[53.8938,-44.4204,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[53.9326,-36.322,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[50.8213,-49.5146,-0.00143862],1.58276,true,true], + ["Land_LampHalogen_F",[61.6257,-8.93774,-0.00143814],183.353,true,true], + ["Land_HBarrierBig_F",[53.5598,-12.5808,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[58.1006,-9.04248,-0.00143862],180.639,true,true], + ["Land_HBarrierBig_F",[53.6702,-20.0735,-0.00143862],271.533,true,true], + ["Land_LampHalogen_F",[61.2739,9.27808,-0.00143814],183.353,true,true], + ["Land_HBarrierBig_F",[57.9741,9.22607,-0.00143862],180.457,true,true], + ["Land_HBarrierBig_F",[53.0159,20.7566,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[53.2136,13.0596,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[53.0928,28.8538,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[53.1624,37.1411,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[52.9644,44.8403,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[49.8362,48.4373,-0.00143862],1.51588,true,true] +]; + +_missionLootBoxes = [ + //["Exile_Container_SupplyBox",[-2.28174,0.128662,-0.00143862],_crateLoot,_lootCounts,0.000181514] +]; + +_missionLootVehicles = [ +]; + +_missionPatrolVehicles = [ + ["Exile_Car_Hunter",[24.8054,-67.8333,0.00875282],89.6558], + ["Exile_Car_HEMMT",[24.8997,69.1799,-0.00138235],91.5468], + ["O_LSV_02_armed_F",[74.0911,1.21655,-0.0377212],359.999] +]; + +_submarinePatrolParameters = [ +]; + +_airPatrols = [ +]; + +_missionEmplacedWeapons = []; // + + + +////////// +// The lines below define additional variables you may wish to configure. + + +// Change _useMines to true/false below to enable mission-specific settings. +_useMines = blck_useMines; +_minNoAI = blck_MinAI_Orange; +_maxNoAI = blck_MaxAI_Orange; +_noAIGroups = blck_AIGrps_Orange; +_noVehiclePatrols = blck_SpawnVeh_Orange; +_noEmplacedWeapons = blck_SpawnEmplaced_Orange; +//_uniforms = blck_SkinList; +//_headgear = blck_headgear; + +_chancePara = 0.75; // Setting this in the mission file overrides the defaults +_noPara = 5; // Setting this in the mission file overrides the defaults +_paraTriggerDistance = 400; // Distance from mission at which a player triggers these reinforcements and any supplemental loot. // To have paras spawn at the time the mission spawns with/without accompanying loot set this to 0. +_paraSkill = "orange"; // Choose any skill you like; bump up skill or add AI to justify more valuable loot. + +_chanceLoot = 0.7; +private _lootIndex = selectRandom[1,2,3,4]; +private _paralootChoices = [blck_contructionLoot,blck_contructionLoot,blck_highPoweredLoot,blck_supportLoot]; +private _paralootCountsChoices = [[0,0,0,10,10,0],[0,0,0,10,10,0],[10,10,0,0,0,0],[0,0,0,0,15,0]]; +_paraLoot = _paralootChoices select _lootIndex; +_paraLootCounts = _paralootCountsChoices select _lootIndex; // Throw in something more exotic than found at a normal blue mission. + +_endCondition = "allKilledOrPlayerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear" +//_timeOut = -1; +#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf"; diff --git a/@GMS/addons/custom_server/Missions/Orange/tko_camp.sqf b/@GMS/addons/custom_server/Missions/Orange/tko_camp.sqf index a76162d..ed2488d 100644 --- a/@GMS/addons/custom_server/Missions/Orange/tko_camp.sqf +++ b/@GMS/addons/custom_server/Missions/Orange/tko_camp.sqf @@ -122,7 +122,7 @@ _missionLandscape = [ ]; _missionLootBoxes = [ - ["B_supplyCrate_F",[1.55273,0.0065918,-0.00143957],_crateLoot,_lootCounts,0.000522983] + //["Exile_Container_SupplyBox",[1.55273,0.0065918,-0.00143957],_crateLoot,_lootCounts,0.000522983] ]; _missionLootVehicles = [ @@ -139,36 +139,9 @@ _submarinePatrolParameters = [ _airPatrols = [ ]; -_missionEmplacedWeapons = [ - ["B_HMG_01_high_F",[-8.31958,-28.7351,-0.0135579],359.998], - ["B_HMG_01_high_F",[-25.1523,-1.33643,-0.0135579],359.999], - ["B_HMG_01_high_F",[-23.7974,-12.0527,-0.0135579],359.998], - ["B_HMG_01_high_F",[-18.7363,-10.283,-0.0135579],359.998], - ["B_HMG_01_high_F",[-21.9993,4.10132,-0.0135579],359.999], - ["B_HMG_01_high_F",[-18.2954,25.033,-0.0135579],359.999], - ["B_HMG_01_high_F",[-0.275879,18.9167,-0.0135579],0.000433404], - ["B_HMG_01_high_F",[18.0608,-20.4434,-0.0135579],359.999], - ["B_HMG_01_high_F",[5.96338,-3.91113,-0.0135593],286.946] -]; +_missionEmplacedWeapons = []; // + -_missionGroups = [ - //[[-2.42578,-9.81299,0],3,6,"Red",30,45], - //[[-16.3196,-3.59033,0],3,6,"Red",30,45], - //[[-4.65015,-0.520264,0],3,6,"Red",30,45], - //[[-7.48169,-14.3093,0],3,6,"Red",30,45], - //[[-5.94653,-0.124756,0],3,6,"Red",30,45], - //[[20.2122,-6.24878,0],3,6,"Red",30,45], - //[[20.0557,6.34253,0],3,6,"Red",30,45], - [[15.1677,-10.6943,0],3,6,"Red",30,45], - [[2.0083,-14.293,-4.76837e-007],3,6,"Red",30,45], - [[1.84692,-7.56616,-4.76837e-007],3,6,"Red",30,45], - [[2.71069,-14.7263,-4.76837e-007],3,6,"Red",30,45], - [[2.50513,-13.1191,0],3,6,"Red",30,45], - [[13.8992,11.4729,0],3,6,"Red",30,45], - [[3.75098,11.2024,0],3,6,"Red",30,45], - [[18.3645,19.8477,0],3,6,"Red",30,45], - [[3.17798,26.7761,0],3,6,"Red",30,45] -]; ////////// // The lines below define additional variables you may wish to configure. @@ -196,6 +169,6 @@ private _paralootCountsChoices = [[0,0,0,10,10,0],[0,0,0,10,10,0],[10,10,0,0,0,0 _paraLoot = _paralootChoices select _lootIndex; _paraLootCounts = _paralootCountsChoices select _lootIndex; // Throw in something more exotic than found at a normal blue mission. -//_endCondition = "playerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear" +_endCondition = "allKilledOrPlayerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear" //_timeOut = -1; -#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf"; +#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf"; diff --git a/@GMS/addons/custom_server/Missions/Red/Ammunition_depot.sqf b/@GMS/addons/custom_server/Missions/Red/Ammunition_depot.sqf new file mode 100644 index 0000000..4098cc0 --- /dev/null +++ b/@GMS/addons/custom_server/Missions/Red/Ammunition_depot.sqf @@ -0,0 +1,173 @@ +/* + Mission Template by Ghostrider [GRG] + Mission Compositions by Bill prepared for ghostridergaming + Copyright 2016 + Last modified 3/20/17 + + -------------------------- + License + -------------------------- + All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License. + + http://creativecommons.org/licenses/by-nc-sa/4.0/ +*/ +#include "\q\addons\custom_server\Configs\blck_defines.hpp"; +#include "\q\addons\custom_server\Missions\privateVars.sqf"; + +//diag_log "[blckeagls] Spawning Red Mission with template = default"; +_crateLoot = blck_BoxLoot_Red; +_lootCounts = blck_lootCountsRed; +_startMsg = "An Anemy Ammunition Depot was sighted in a nearby sector! Check the Red marker on your map for the location!"; +_endMsg = "The Ammunition depot at the Red Marker is under survivor control!"; +_markerLabel = ""; +_markerType = ["ELLIPSE",[200,200],"Solid"]; +_markerColor = "ColorRed"; +_markerMissionName = "Ammunition Depot"; +_missionLandscapeMode = "precise"; // acceptable values are "none","random","precise" + +////////// +// Past the output of the script here +_garrisonedBuildings_BuildingPosnSystem = [ +]; + +_garrisonedBuilding_ATLsystem = [ + ["Land_MilOffices_V1_F",[0.936035,53.2339,-0.00146103],0.0551743,true,true,[["B_HMG_01_high_F",[-14.6453,4.44092,0.48988],0.00164355],["B_HMG_01_high_F",[16.2224,2.84473,0.48988],0.00164314],["B_HMG_01_high_F",[16.2043,-18.5793,-0.0121188],360],["B_HMG_01_high_F",[19.0071,-25.5498,-0.0121188],360]],[]] +]; + + + +_missionLandscape = [ + //["babe_helper",[-3584.79,-2745.02,-0.00146103],0,true,true], + //["Sign_Arrow_Green_F",[-3582.29,-2745.52,-0.00146103],0,true,true], + //["Sign_Arrow_F",[-3582.29,-2745.52,-0.00146103],0,true,true], + //["Sign_Arrow_Yellow_F",[-3582.29,-2745.52,-0.00146103],0,true,true], + ["Land_dp_smallTank_F",[-23.4897,0.757568,-0.00146103],315.055,true,true], + ["Land_HBarrier_Big_F",[-30.251,0.998047,-0.00146103],90.6364,true,true], + ["Land_HBarrier_Big_F",[-30.0261,-4.99609,-0.00146103],88.8324,true,true], + ["Land_HBarrier_Big_F",[-24.3879,-7.97534,-0.00146103],181.637,true,true], + ["Land_HBarrier_Big_F",[-15.9822,-8.03101,-0.00146103],181.637,true,true], + ["Land_HBarrier_Big_F",[-7.62939,-8.03394,-0.00146103],181.637,true,true], + ["Land_HBarrier_Big_F",[-30.4287,8.68091,-0.00146103],90.6364,true,true], + ["Land_HBarrier_Big_F",[-30.5715,17.0325,-0.00146103],90.6364,true,true], + ["Land_HBarrier_Big_F",[-30.8035,33.8059,-0.00146103],90.6364,true,true], + ["Land_HBarrier_Big_F",[-30.7122,25.4006,-0.00146103],90.6364,true,true], + ["Land_i_Barracks_V1_F",[-21.0911,25.2551,-0.00146103],270.055,true,true], + ["Land_LampHalogen_F",[-30.0498,68.0146,-0.00146055],240.055,true,true], + ["Land_Medevac_house_V1_F",[-25.7917,63.0088,-0.00146103],359.798,true,true], + ["Land_Medevac_house_V1_F",[-25.821,54.4678,-0.00146103],179.534,true,true], + ["Land_Tank_rust_F",[-26.2607,48.0527,-0.00146103],180.055,true,true], + ["Land_HBarrier_Big_F",[-26.0667,70.3225,-0.00146103],181.637,true,true], + ["Land_HBarrier_Big_F",[-0.915771,70.2883,-0.00146103],181.637,true,true], + ["Land_HBarrier_Big_F",[-9.30811,70.2639,-0.00146103],181.637,true,true], + ["Land_HBarrier_Big_F",[-17.6609,70.2668,-0.00146103],181.637,true,true], + ["Land_HBarrier_Big_F",[-30.9465,42.1575,-0.00146103],90.6364,true,true], + ["Land_HBarrier_Big_F",[-31.3367,67.2683,-0.00146103],90.6364,true,true], + ["Land_HBarrier_Big_F",[-31.1025,50.5112,-0.00146103],90.6364,true,true], + ["Land_HBarrier_Big_F",[-31.1938,58.9167,-0.00146103],90.6364,true,true], + ["Land_LampHalogen_F",[12.158,-7.74023,-0.00146055],90.0552,true,true], + ["Land_HBarrier_Big_F",[17.4336,-8.0415,-0.00146103],181.637,true,true], + ["Land_HBarrier_Big_F",[25.7888,-8.03149,-0.00146103],181.637,true,true], + ["Land_HBarrier_Big_F",[0.675049,-7.98291,-0.00146103],181.637,true,true], + ["Land_HBarrier_Big_F",[9.08105,-8.03857,-0.00146103],181.637,true,true], + ["Land_HelipadSquare_F",[31.1362,2.08008,-0.00146103],180.086,true,true], + ["Land_BagFence_Long_F",[23.658,6.82251,-0.00146103],90.0552,true,true], + ["Land_BagFence_Long_F",[14.4004,5.9585,-0.00146103],90.0552,true,true], + ["Land_i_Shed_Ind_F",[0.762939,3.73413,-0.00146103],179.98,true,true], + ["Land_PortableLight_double_F",[19.6589,24.5911,-0.00146103],240.055,true,true], + ["Land_BagFence_Round_F",[13.7778,8.4668,-0.00146103],225.055,true,true], + ["Land_BagFence_Round_F",[24.2874,9.32739,-0.00146103],135.055,true,true], + ["Land_CncWall4_F",[19.353,37.1301,-0.00146103],269.856,true,true], + ["Land_CncWall4_F",[19.3921,31.9155,-0.00146103],269.856,true,true], + ["Land_BagFence_Long_F",[11.2759,9.09644,-0.00146103],180.055,true,true], + ["Land_BagFence_Long_F",[26.7832,9.94385,-0.00146103],0.0551743,true,true], + ["Land_LampHalogen_F",[19.0601,40.1711,-0.00146055],315.055,true,true], + ["Land_HBarrier_Big_F",[15.8428,70.2297,-0.00146103],181.637,true,true], + ["Land_HBarrier_Big_F",[7.49023,70.2327,-0.00146103],181.637,true,true], + ["Land_HBarrier_Big_F",[24.198,70.2397,-0.00146103],181.637,true,true], + ["Land_CncWall4_F",[22.377,40.0833,-0.00146103],0,true,true], + ["Land_CncWall4_F",[27.5962,40.116,-0.00146103],0,true,true], + ["Land_LampHalogen_F",[45.8774,-7.93433,-0.00146055],60.0552,true,true], + ["Land_LampHalogen_F",[45.5952,6.93604,-0.00146055],180.055,true,true], + ["Land_Tank_rust_F",[43.6697,0.581299,-0.00146103],90.0552,true,true], + ["Land_HBarrier_Big_F",[42.5474,-8.09009,-0.00146103],181.637,true,true], + ["Land_HBarrier_Big_F",[47.6099,-4.77002,-0.00146103],90.055,true,true], + ["Land_HBarrier_Big_F",[34.1946,-8.08716,-0.00146103],181.637,true,true], + ["Land_HBarrier_Big_F",[47.4333,3.63403,-0.00146103],90.055,true,true], + ["Land_BagFence_Round_F",[53.0293,5.18921,-0.00146103],315.055,true,true], + ["Land_BagFence_Long_F",[50.5286,4.56616,-0.00146103],180.055,true,true], + ["Land_BagFence_Long_F",[39.7786,6.70166,-0.00146103],90.0552,true,true], + ["Land_Wall_IndCnc_Pole_F",[46.9377,21.1001,-0.00146103],90.0552,true,true], + ["Land_Shed_Big_F",[31.9468,31.2043,-0.00146151],89.7488,true,true], + ["Land_HBarrier_Big_F",[46.9426,33.5571,-0.00146103],90.055,true,true], + ["Land_HBarrier_Big_F",[47.1191,25.1531,-0.00146103],90.055,true,true], + ["Land_BagFence_Round_F",[39.1563,9.17456,-0.00146103],225.055,true,true], + ["Land_BagFence_Round_F",[53.0469,24.4275,-0.00146103],225.055,true,true], + ["Land_BagFence_Long_F",[36.6648,9.80176,-0.00146103],180.055,true,true], + ["Land_BagFence_Long_F",[53.6729,21.9277,-0.00146103],90.0552,true,true], + ["Land_BagFence_Long_F",[50.5496,25.0559,-0.00146103],180.055,true,true], + ["Land_BagFence_Long_F",[53.6707,7.68921,-0.00146103],270.055,true,true], + ["Land_BarGate_F",[47.6548,14.5193,-0.00146103],90.0552,true,true], + ["Land_LampHalogen_F",[44.5273,41.2136,-0.00146055],60.0552,true,true], + ["Land_HBarrier_Big_F",[46.7148,41.9067,-0.00146103],90.055,true,true], + ["Land_HBarrier_Big_F",[46.2976,58.6626,-0.00146103],90.055,true,true], + ["Land_HBarrier_Big_F",[32.6038,70.1841,-0.00146103],181.637,true,true], + ["Land_HBarrier_Big_F",[40.9565,70.1812,-0.00146103],181.637,true,true], + ["Land_HBarrier_Big_F",[46.0698,67.0122,-0.00146103],90.055,true,true], + ["Land_HBarrier_Big_F",[46.4741,50.2585,-0.00146103],90.055,true,true], + ["Land_CncWall4_F",[37.9797,40.1345,-0.00146103],0,true,true], + ["Land_CncWall4_F",[32.7908,40.125,-0.00146103],0,true,true], + ["Land_CncWall4_F",[43.1743,40.1436,-0.00146103],0,true,true], + ["Land_TTowerBig_1_F",[33.9404,56.3271,-0.00146103],0.0551743,true,true] +]; + +_missionLootBoxes = [ +]; + +_missionLootVehicles = [ +]; + +_missionPatrolVehicles = [ + ["B_G_Offroad_01_armed_F",[-51.5793,28.9631,0.00801468],179.03], + ["B_G_Offroad_01_armed_F",[9.30664,88.3091,0.00802708],89.9029], + ["B_G_Offroad_01_armed_F",[72.2974,6.63599,0.00802183],0.00106337] +]; + +_submarinePatrolParameters = [ +]; + +_airPatrols = [ +]; + +_missionEmplacedWeapons = []; // + + + +////////// +// The lines below define additional variables you may wish to configure. + + +// Change _useMines to true/false below to enable mission-specific settings. +_useMines = blck_useMines; +_minNoAI = blck_MinAI_Red; +_maxNoAI = blck_MaxAI_Red; +_noAIGroups = blck_AIGrps_Red; +_noVehiclePatrols = blck_SpawnVeh_Red; +_noEmplacedWeapons = blck_SpawnEmplaced_Red; +//_uniforms = blck_SkinList; +//_headgear = blck_headgear; + +_chancePara = 0.75; // Setting this in the mission file overrides the defaults +_noPara = 5; // Setting this in the mission file overrides the defaults +_paraTriggerDistance = 400; // Distance from mission at which a player triggers these reinforcements and any supplemental loot. // To have paras spawn at the time the mission spawns with/without accompanying loot set this to 0. +_paraSkill = "Red"; // Choose any skill you like; bump up skill or add AI to justify more valuable loot. + +_chanceLoot = 0.7; +private _lootIndex = selectRandom[1,2,3,4]; +private _paralootChoices = [blck_contructionLoot,blck_contructionLoot,blck_highPoweredLoot,blck_supportLoot]; +private _paralootCountsChoices = [[0,0,0,10,10,0],[0,0,0,10,10,0],[10,10,0,0,0,0],[0,0,0,0,15,0]]; +_paraLoot = _paralootChoices select _lootIndex; +_paraLootCounts = _paralootCountsChoices select _lootIndex; // Throw in something more exotic than found at a normal blue mission. + +_endCondition = "allKilledOrPlayerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear" +//_timeOut = -1; +#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf"; diff --git a/@GMS/addons/custom_server/Missions/Red/Camp_Moreell.sqf b/@GMS/addons/custom_server/Missions/Red/Camp_Moreell.sqf new file mode 100644 index 0000000..1056112 --- /dev/null +++ b/@GMS/addons/custom_server/Missions/Red/Camp_Moreell.sqf @@ -0,0 +1,156 @@ +/* + Mission Template by Ghostrider [GRG] + Mission Compositions by Bill prepared for ghostridergaming + Copyright 2016 + Last modified 3/20/17 + + -------------------------- + License + -------------------------- + All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License. + + http://creativecommons.org/licenses/by-nc-sa/4.0/ +*/ +#include "\q\addons\custom_server\Configs\blck_defines.hpp"; +#include "\q\addons\custom_server\Missions\privateVars.sqf"; + +//diag_log "[blckeagls] Spawning Red Mission with template = default"; +_crateLoot = blck_BoxLoot_Red; +_lootCounts = blck_lootCountsRed; +_startMsg = "Enemy Camp Moreell was sighted in a nearby sector! Check the Red marker on your map for the location!"; +_endMsg = "The Camp Moreell at the Red Marker is under survivor control!"; +_markerLabel = ""; +_markerType = ["ELLIPSE",[200,200],"Solid"]; +_markerColor = "ColorRed"; +_markerMissionName = "Camp Moreell"; +_missionLandscapeMode = "precise"; // acceptable values are "none","random","precise" + +////////// +// Past the output of the script here +_garrisonedBuildings_BuildingPosnSystem = [ +]; + +_garrisonedBuilding_ATLsystem = [ + ["Land_Cargo_Patrol_V3_F",[-3.45557,32.6038,-0.00143814],163.034,true,true,[["O_HMG_01_high_F",[-1.75244,0.382568,4.33092],0.00157772]],[]], + ["Land_Cargo_HQ_V3_F",[1.5835,1.53711,-0.00143814],90.021,true,true,[["O_HMG_01_high_F",[-4.53003,1.89331,3.1134],270.551],["O_Mortar_01_F",[0.884277,-5.92041,3.1624],178.341],["O_GMG_01_high_F",[-11.2842,-8.48218,-0.0118098],221.694],["O_HMG_01_high_F",[-12.6897,-6.82007,-0.0121179],236.126],["O_GMG_01_high_F",[10.885,-11.4487,-0.0118084],147.658],["O_GMG_01_high_F",[19.3098,-6.53003,-0.0118093],147.655]],[]], + ["Land_Cargo_Patrol_V3_F",[10.9478,34.4741,-0.00143814],195.395,true,true,[["O_HMG_01_high_F",[1.41943,0.690674,4.33092],359.999]],[]] +]; + + + +_missionLandscape = [ + ["Land_HBarrier_Big_F",[-14.1831,0.348877,-0.00143862],54.7855,true,true], + ["Land_HBarrier_1_F",[-7.70728,-8.24048,-0.00143862],295.873,true,true], + ["Land_BagFence_Long_F",[-11.6091,-6.83057,-0.00143862],45.3947,true,true], + ["Land_BagFence_Round_F",[-12.8318,-4.68042,-0.00143862],90.3947,true,true], + ["Land_BagFence_Round_F",[-9.44946,-8.13599,-0.00143862],0.394724,true,true], + ["Land_Cargo_House_V3_F",[-11.8579,27.8225,-0.00143862],341.505,true,true], + ["CamoNet_OPFOR_open_F",[-14.8772,18.198,-0.00143862],90.3947,true,true], + ["Land_HBarrier_Big_F",[-24.5461,25.9207,-0.00143862],195.395,true,true], + ["Land_HBarrier_Big_F",[-7.8335,30.6655,-0.00143862],255.395,true,true], + ["Land_HBarrier_Big_F",[-24.0242,10.8638,-0.00143862],165.395,true,true], + ["Land_HBarrier_Big_F",[-18.0986,7.95679,-0.00143862],255.395,true,true], + ["Land_HBarrier_Big_F",[-19.7212,22.9065,-0.00143862],90.3947,true,true], + ["Land_HBarrier_Big_F",[-31.6633,25.0271,-0.00143862],150.395,true,true], + ["Land_HBarrier_Big_F",[-12.3518,34.6216,-0.00143862],345.395,true,true], + ["Land_HBarrier_Big_F",[-17.9399,30.3276,-0.00143862],300.395,true,true], + ["Land_HBarrier_Big_F",[-19.3733,16.4546,-0.00143862],90.3947,true,true], + ["Land_HBarrier_1_F",[-32.8965,12.5454,-0.00143862],42.5069,true,true], + ["Land_HBarrier_1_F",[-30.3511,10.0146,-0.00143862],42.5069,true,true], + ["CamoNet_OPFOR_big_F",[-27.2468,18.4834,-0.00143862],75.3947,true,true], + ["Land_BagFence_Round_F",[-33.3694,10.7087,-0.00143862],87.5069,true,true], + ["Land_BagFence_Round_F",[-31.8938,9.28491,-0.00143862],357.507,true,true], + ["Land_HBarrier_5_F",[9.15552,-4.91626,-0.00143862],269.593,true,true], + ["Land_HBarrier_5_F",[9.13477,0.585938,-0.00143862],269.593,true,true], + ["Land_Cargo_House_V3_F",[25.2329,2.59155,-0.00143862],105.395,true,true], + ["Land_HBarrier_Big_F",[-2.57373,-8.99463,-0.00143862],180.395,true,true], + ["Land_HBarrier_Big_F",[26.4961,-2.62256,-0.00143862],195.395,true,true], + ["Land_HBarrier_Big_F",[5.79712,-8.80371,-0.00143862],180.395,true,true], + ["Land_HBarrier_1_F",[14.0208,-8.50757,-0.00143862],334.157,true,true], + ["Land_HBarrier_1_F",[22.1511,-3.42603,-0.00143862],324.626,true,true], + ["Land_HBarrier_1_F",[19.1423,-5.3833,-0.00143862],324.626,true,true], + ["Land_HBarrier_1_F",[10.7295,-9.9397,-0.00143862],334.157,true,true], + ["Land_BagFence_Round_F",[22.5408,-5.08765,-0.00143862],279.626,true,true], + ["Land_BagFence_Round_F",[20.8389,-6.23145,-0.00143862],9.62595,true,true], + ["Land_BagFence_Round_F",[14.1299,-10.2107,-0.00143862],289.157,true,true], + ["Land_BagFence_Round_F",[12.262,-11.0569,-0.00143862],19.157,true,true], + ["Land_HBarrier_5_F",[7.05835,9.52783,-0.00143862],181.048,true,true], + ["Land_HBarrier_5_F",[26.3564,29.2161,-0.00143862],195.395,true,true], + ["Land_HBarrier_5_F",[9.08203,5.92139,-0.00143862],269.593,true,true], + ["Land_HBarrier_Big_F",[18.55,34.8018,-0.00143862],195.395,true,true], + ["Land_HBarrier_Big_F",[1.32568,35.1333,-0.00143862],255.395,true,true], + ["Land_HBarrier_Big_F",[7.22388,36.5254,-0.00143862],285.395,true,true], + ["Land_HBarrier_Big_F",[-4.35571,36.8228,-0.00143862],345.395,true,true], + ["Land_HBarrier_Big_F",[7.04761,30.9424,-0.00143862],195.395,true,true], + ["Land_BagFence_Long_F",[24.1768,15.7207,-0.00143862],105.395,true,true], + ["Land_BagFence_Long_F",[22.7461,10.5283,-0.00143862],285.395,true,true], + ["Land_HBarrier_3_F",[25.4558,17.1135,-0.00143862],195.395,true,true], + ["Land_HBarrier_3_F",[22.7898,29.1609,-0.00143862],285.395,true,true], + ["Land_HBarrier_3_F",[23.3201,8.88696,-0.00143862],195.395,true,true], + ["Land_HBarrier_Big_F",[12.9075,38.3318,-0.00143862],195.395,true,true], + ["Land_HBarrier_Big_F",[30.9158,1.41919,-0.00143862],105.395,true,true], + ["Land_HBarrier_5_F",[29.5054,24.8923,-0.00143862],269.593,true,true], + ["Land_HBarrier_5_F",[29.5303,19.5947,-0.00143862],269.593,true,true], + ["CamoNet_OPFOR_open_F",[28.1597,12.0786,-0.00143862],195.395,true,true], + ["Land_HBarrier_Big_F",[31.4031,16.592,-0.00143862],0.394724,true,true], + ["Land_HBarrier_Big_F",[28.876,7.35913,-0.00143862],195.395,true,true], + ["Land_HBarrier_1_F",[33.3733,10.5449,-0.00143862],15.3947,true,true], + ["Land_HBarrier_1_F",[27.9988,12.1958,-0.00143862],195.395,true,true], + ["Land_BagFence_Long_F",[32.6428,9.11694,-0.00143862],285.395,true,true], + ["Land_BagFence_Long_F",[28.4683,13.8879,-0.00143862],105.395,true,true], + ["Land_HBarrier_3_F",[29.9619,29.1274,-0.00143862],105.395,true,true], + ["Land_HBarrier_3_F",[34.8462,14.4836,-0.00143862],90.3947,true,true], + ["Land_BagBunker_Large_F",[27.696,35.6018,-0.00143862],195.395,true,true] +]; + +_missionLootBoxes = [ +]; + +_missionLootVehicles = [ +]; + +_missionPatrolVehicles = [ + ["O_LSV_02_armed_F",[34.9805,-28.0225,-0.0376697],359.999] +]; + +_submarinePatrolParameters = [ +]; + +_airPatrols = [ +]; + +_missionEmplacedWeapons = [ + +]; + + + +////////// +// The lines below define additional variables you may wish to configure. + + +// Change _useMines to true/false below to enable mission-specific settings. +_useMines = blck_useMines; +_minNoAI = blck_MinAI_Red; +_maxNoAI = blck_MaxAI_Red; +_noAIGroups = blck_AIGrps_Red; +_noVehiclePatrols = blck_SpawnVeh_Red; +_noEmplacedWeapons = blck_SpawnEmplaced_Red; +//_uniforms = blck_SkinList; +//_headgear = blck_headgear; + +_chancePara = 0.75; // Setting this in the mission file overrides the defaults +_noPara = 5; // Setting this in the mission file overrides the defaults +_paraTriggerDistance = 400; // Distance from mission at which a player triggers these reinforcements and any supplemental loot. // To have paras spawn at the time the mission spawns with/without accompanying loot set this to 0. +_paraSkill = "Red"; // Choose any skill you like; bump up skill or add AI to justify more valuable loot. + +_chanceLoot = 0.7; +private _lootIndex = selectRandom[1,2,3,4]; +private _paralootChoices = [blck_contructionLoot,blck_contructionLoot,blck_highPoweredLoot,blck_supportLoot]; +private _paralootCountsChoices = [[0,0,0,10,10,0],[0,0,0,10,10,0],[10,10,0,0,0,0],[0,0,0,0,15,0]]; +_paraLoot = _paralootChoices select _lootIndex; +_paraLootCounts = _paralootCountsChoices select _lootIndex; // Throw in something more exotic than found at a normal blue mission. + +_endCondition = "allKilledOrPlayerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear" +//_timeOut = -1; +#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf"; diff --git a/@GMS/addons/custom_server/Missions/Red/Operations_Command.sqf b/@GMS/addons/custom_server/Missions/Red/Operations_Command.sqf new file mode 100644 index 0000000..a6d00ea --- /dev/null +++ b/@GMS/addons/custom_server/Missions/Red/Operations_Command.sqf @@ -0,0 +1,184 @@ +/* + Mission Template by Ghostrider [GRG] + Mission Compositions by Bill prepared for ghostridergaming + Copyright 2016 + Last modified 3/20/17 + + -------------------------- + License + -------------------------- + All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License. + + http://creativecommons.org/licenses/by-nc-sa/4.0/ +*/ +#include "\q\addons\custom_server\Configs\blck_defines.hpp"; +#include "\q\addons\custom_server\Missions\privateVars.sqf"; + +//diag_log "[blckeagls] Spawning Red Mission with template = default"; +_crateLoot = blck_BoxLoot_Red; +_lootCounts = blck_lootCountsRed; +_startMsg = "An Operations Command was sighted in a nearby sector! Check the Red marker on your map for the location!"; +_endMsg = "The Operations Command at the Red Marker is under survivor control!"; +_markerLabel = ""; +_markerType = ["ELLIPSE",[300,300],"Solid"]; +_markerColor = "ColorRed"; +_markerMissionName = "Operations Command"; +_missionLandscapeMode = "precise"; // acceptable values are "none","random","precise" + +////////// +// Past the output of the script here +_garrisonedBuildings_BuildingPosnSystem = [ +]; + +_garrisonedBuilding_ATLsystem = [ + ["Land_Cargo_Patrol_V3_F",[-26.1375,13.395,-0.00143862],104.247,true,true,[["O_HMG_01_high_F",[-1.16919,-1.02051,4.33092],359.999]],[]], + ["Land_Cargo_Tower_V3_F",[0.0512695,-43.2329,-0.00143909],1.37485,true,true,[["O_HMG_01_high_F",[-11.6333,3.14819,-0.0121188],360],["O_Mortar_01_F",[-3.08325,4.21802,17.9254],0.000187431],["O_GMG_01_high_F",[-3.21069,-3.16113,17.8767],360],["O_GMG_01_high_F",[4.70557,-0.741943,17.8767],360]],[]], + ["Land_Cargo_Patrol_V3_F",[-22.3018,-36.6943,-0.00143862],16.3749,true,true,[["O_HMG_01_high_F",[-1.44019,-0.544922,4.33092],0.000570454],["O_HMG_01_high_F",[-6.95337,5.57886,-0.0121193],359.998]],[]], + ["Land_Cargo_HQ_V3_F",[0.157227,3.02832,-0.00143862],91.3748,true,true,[["O_Mortar_01_F",[1.9917,1.24707,3.16241],359.999],["O_HMG_01_high_F",[-4.22266,1.80176,3.1134],359.999],["O_HMG_01_high_F",[3.10205,-5.8584,3.1134],359.999],["O_HMG_01_high_F",[-6.48584,7.63452,-0.0121193],359.998],["O_HMG_01_high_F",[9.13306,15.3284,-0.0121193],359.998]],[]], + ["Land_Cargo_Tower_V3_F",[-16.1003,25.6072,-0.00143909],181.375,true,true,[["O_HMG_01_high_F",[3.25903,3.35229,17.8764],359.997],["O_GMG_01_high_F",[-4.9707,0.915771,17.8767],359.995]],[]], + ["Land_Cargo_Patrol_V3_F",[21.9438,-2.25854,-0.00143862],269.918,true,true,[["O_GMG_01_high_F",[1.11499,0.921387,4.33123],360]],[]], + ["Land_Cargo_House_V3_F",[7.7749,-26.0698,-0.00143909],1.37485,true,true,[["O_HMG_01_high_F",[2.2688,8.65552,-0.0121188],360]],[]] +]; + + + +_missionLandscape = [ + ["CamoNet_OPFOR_open_F",[-31.8352,-29.0081,-0.00143909],235.13,true,true], + ["CamoNet_OPFOR_open_F",[-43.8352,-16.6941,-0.00143909],181.375,true,true], + ["Land_HBarrier_Big_F",[-37.4087,-8.59814,-0.00143909],286.375,true,true], + ["Land_HBarrier_Big_F",[-29.3643,-37.0271,-0.00143909],37.1575,true,true], + ["Land_HBarrier_Big_F",[-35.4788,-31.5889,-0.00143909],50.6964,true,true], + ["Land_HBarrier_Big_F",[-38.9624,-25.2727,-0.00143909],255.154,true,true], + ["Land_BagBunker_Large_F",[-43.364,-16.4709,-0.00143909],91.3748,true,true], + ["Land_HBarrier_Big_F",[-34.405,-1.28906,-0.00143909],301.375,true,true], + ["Land_HBarrier_Big_F",[-29.0862,14.3416,-0.00143909],286.375,true,true], + ["Land_HBarrier_Big_F",[-31.1816,6.38184,-0.00143909],286.375,true,true], + ["Land_LampHalogen_F",[-29.8584,2.74854,-0.00143862],256.375,true,true], + ["Land_HBarrierWall_corridor_F",[-16.1533,-40.845,-0.00143909],106.375,true,true], + ["Land_HBarrier_Big_F",[-10.9395,-43.5535,-0.00143909],13.6286,true,true], + ["Land_HBarrier_Big_F",[-3.8855,-44.2878,-0.00143909],0.866833,true,true], + ["Land_HBarrier_Big_F",[-22.3318,-40.6543,-0.00143909],200.888,true,true], + ["Land_HBarrier_Big_F",[4.41016,-44.2852,-0.00143909],0.866833,true,true], + ["Land_HBarrier_5_F",[2.9043,-17.4326,-0.00143909],271.375,true,true], + ["Land_HBarrier_5_F",[-5.53174,-9.47681,-0.00143909],181.375,true,true], + ["Land_Cargo_House_V3_F",[-1.97241,-25.8367,-0.00143909],1.37485,true,true], + ["Land_HBarrier_Big_F",[-9.21558,-15.051,-0.00143909],271.375,true,true], + ["Land_HBarrier_Big_F",[-5.97168,-20.2385,-0.00143909],181.375,true,true], + ["Land_HBarrier_Big_F",[2.51318,-20.2158,-0.00143909],181.375,true,true], + ["Land_HBarrier_3_F",[2.83398,-22.9663,-0.00143909],91.3748,true,true], + ["Land_HBarrier_3_F",[2.75586,-26.2246,-0.00143909],91.3748,true,true], + ["Land_HBarrier_3_F",[2.94287,-10.5574,-0.00143909],271.375,true,true], + ["Land_HBarrier_3_F",[0.964355,-9.63477,-0.00143909],1.37485,true,true], + ["Land_HBarrier_3_F",[-6.09448,-25.2507,-0.00143909],271.375,true,true], + ["Land_HBarrier_3_F",[1.72021,-27.6951,-0.00143909],1.37485,true,true], + ["Land_HBarrier_3_F",[-6.02515,-22.2542,-0.00143909],271.375,true,true], + ["Land_HBarrier_3_F",[4.84912,-27.7708,-0.00143909],1.37485,true,true], + ["Land_HBarrier_3_F",[-5.15039,-27.5239,-0.00143909],1.37485,true,true], + ["Land_HelipadCircle_F",[-22.2104,-10.7046,-0.00143909],90.8075,true,true], + ["Land_TTowerBig_2_F",[-3.03882,-15.5251,-0.00143909],1.37485,true,true], + ["Land_HBarrier_5_F",[-24.4253,17.3018,-0.00143909],194.949,true,true], + ["Land_HBarrier_5_F",[-12.988,7.96045,-0.00143909],181.375,true,true], + ["Land_HBarrier_5_F",[-26.457,9.23633,-0.00143909],16.5662,true,true], + ["Land_Cargo_House_V3_F",[-15.2529,3.47607,-0.00143909],91.3748,true,true], + ["Land_HBarrier_Big_F",[-5.96069,14.4766,-0.00143909],1.375,true,true], + ["Land_HBarrier_Big_F",[2.22437,14.509,-0.00143909],1.375,true,true], + ["Land_HBarrier_Big_F",[-9.21826,9.43896,-0.00143909],271.375,true,true], + ["Land_HBarrier_Big_F",[-9.23389,1.12988,-0.00143909],271.375,true,true], + ["Land_HBarrier_Big_F",[-9.2439,-6.94019,-0.00143909],271.375,true,true], + ["Land_HBarrier_Big_F",[-26.9719,22.2693,-0.00143909],286.375,true,true], + ["Land_HBarrier_3_F",[-10.071,23.9849,-0.00143909],91.3748,true,true], + ["Land_HBarrier_Big_F",[-14.6584,26.7698,-0.00143909],1.375,true,true], + ["Land_HBarrier_Big_F",[-22.5229,26.7314,-0.00143909],1.375,true,true], + ["Land_HBarrier_Big_F",[-6.28784,26.8616,-0.00143909],1.375,true,true], + ["Land_HBarrier_Big_F",[1.70752,25.8137,-0.00143909],16.375,true,true], + ["CamoNet_OPFOR_open_F",[13.4675,-46.5574,-0.00143909],256.375,true,true], + ["Land_BagBunker_Large_F",[13.6731,-46.6125,-0.00143909],346.375,true,true], + ["Land_HBarrier_Big_F",[25.0122,-8.42798,-0.00143909],89.245,true,true], + ["Land_HBarrier_Big_F",[20.2207,-26.6072,-0.00143909],346.375,true,true], + ["Land_HBarrier_Big_F",[10.3425,-20.1804,-0.00143909],181.375,true,true], + ["Land_HBarrier_Big_F",[13.3196,-15.1829,-0.00143909],91.375,true,true], + ["Land_HBarrier_Big_F",[25.2847,-22.1433,-0.00143909],89.8961,true,true], + ["Land_HBarrier_Big_F",[15.2939,-23.981,-0.00143909],61.375,true,true], + ["Land_HBarrier_Big_F",[17.6921,-30.4187,-0.00143909],261.124,true,true], + ["Land_HBarrier_Big_F",[18.2314,-37.9956,-0.00143909],275.055,true,true], + ["Land_HBarrier_1_F",[26.3027,-13.0132,-0.00143909],224.245,true,true], + ["Land_HBarrier_1_F",[26.3459,-17.553,-0.00143909],134.896,true,true], + ["Land_HBarrier_3_F",[24.4424,-13.2629,-0.00143909],179.245,true,true], + ["Land_HBarrier_3_F",[23.5449,-11.0381,-0.00143909],89.245,true,true], + ["Land_HBarrier_3_F",[23.5166,-19.6731,-0.00143909],269.896,true,true], + ["Land_HBarrier_3_F",[24.4841,-17.4751,-0.00143909],359.896,true,true], + ["Land_HBarrier_3_F",[26.4421,-11.2278,-0.00143909],89.245,true,true], + ["Land_HBarrier_3_F",[26.521,-19.3137,-0.00143909],269.896,true,true], + ["Land_Tank_rust_F",[17.9231,-22.1641,-0.00143909],238.726,true,true], + ["Land_LampHalogen_F",[25.1262,-18.7678,-0.00143862],151.326,true,true], + ["Land_LampHalogen_F",[25.188,-11.5505,-0.00143862],241.375,true,true], + ["Land_HBarrierWall_corridor_F",[8.88965,13.3088,-0.00143909],76.3748,true,true], + ["Land_HBarrierWall_corridor_F",[11.9426,4.98389,-0.00143909],1.37485,true,true], + ["Land_HBarrierWall_corridor_F",[14.0635,10.1843,-0.00143909],331.375,true,true], + ["CamoNet_OPFOR_open_F",[16.8806,13.8459,-0.00143909],46.3748,true,true], + ["Land_HBarrierWall4_F",[12.9727,17.2073,-0.00143909],301.375,true,true], + ["Land_HBarrierWall4_F",[13.927,14.678,-0.00143909],241.375,true,true], + ["Land_HBarrier_Big_F",[24.7051,-0.242188,-0.00143909],89.245,true,true], + ["Land_HBarrier_Big_F",[8.90503,22.6189,-0.00143909],33.6192,true,true], + ["Land_HBarrier_Big_F",[13.2727,-6.86401,-0.00143909],91.375,true,true], + ["Land_HBarrier_Big_F",[24.3503,8.13452,-0.00143909],89.245,true,true], + ["Land_HBarrier_Big_F",[13.3027,-0.90332,-0.00143909],91.375,true,true], + ["Land_BagBunker_Small_F",[20.2654,17.5417,-0.00143909],226.375,true,true], + ["Land_LampHalogen_F",[10.6421,2.27686,-0.00143862],241.375,true,true], + ["Land_LampHalogen_F",[11.4541,10.5645,-0.00143862],136.375,true,true], + ["Land_HBarrierWall_corner_F",[21.3845,12.748,-0.00143909],46.3748,true,true], + ["Land_HBarrierWall_corner_F",[15.5208,19.1467,-0.00143909],346.375,true,true], + ["Land_HBarrierWall_corner_F",[18.5425,9.32104,-0.00143909],136.375,true,true] +]; + +_missionLootBoxes = [ +]; + +_missionLootVehicles = [ +]; + +_missionPatrolVehicles = [ + ["O_LSV_02_unarmed_F",[-53.4402,-44.895,-0.037971],359.999], + ["O_LSV_02_armed_F",[7.56689,40.9209,-0.0379591],359.999], + ["O_LSV_02_armed_F",[38.9788,-44.417,-0.0373936],359.999] +]; + +_submarinePatrolParameters = [ +]; + +_airPatrols = [ +]; + +_missionEmplacedWeapons = []; // + + + +////////// +// The lines below define additional variables you may wish to configure. + + +// Change _useMines to true/false below to enable mission-specific settings. +_useMines = blck_useMines; +_minNoAI = blck_MinAI_Red; +_maxNoAI = blck_MaxAI_Red; +_noAIGroups = blck_AIGrps_Red; +_noVehiclePatrols = blck_SpawnVeh_Red; +_noEmplacedWeapons = blck_SpawnEmplaced_Red; +//_uniforms = blck_SkinList; +//_headgear = blck_headgear; + +_chancePara = 0.75; // Setting this in the mission file overrides the defaults +_noPara = 5; // Setting this in the mission file overrides the defaults +_paraTriggerDistance = 400; // Distance from mission at which a player triggers these reinforcements and any supplemental loot. // To have paras spawn at the time the mission spawns with/without accompanying loot set this to 0. +_paraSkill = "Red"; // Choose any skill you like; bump up skill or add AI to justify more valuable loot. + +_chanceLoot = 0.7; +private _lootIndex = selectRandom[1,2,3,4]; +private _paralootChoices = [blck_contructionLoot,blck_contructionLoot,blck_highPoweredLoot,blck_supportLoot]; +private _paralootCountsChoices = [[0,0,0,10,10,0],[0,0,0,10,10,0],[10,10,0,0,0,0],[0,0,0,0,15,0]]; +_paraLoot = _paralootChoices select _lootIndex; +_paraLootCounts = _paralootCountsChoices select _lootIndex; // Throw in something more exotic than found at a normal blue mission. + +_endCondition = "allKilledOrPlayerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear" +//_timeOut = -1; +#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf"; diff --git a/@GMS/addons/custom_server/Missions/Red/Outpost.sqf b/@GMS/addons/custom_server/Missions/Red/Outpost.sqf new file mode 100644 index 0000000..b8a03e6 --- /dev/null +++ b/@GMS/addons/custom_server/Missions/Red/Outpost.sqf @@ -0,0 +1,154 @@ +/* + Mission Template by Ghostrider [GRG] + Mission Compositions by Bill prepared for ghostridergaming + Copyright 2016 + Last modified 3/20/17 + + -------------------------- + License + -------------------------- + All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License. + + http://creativecommons.org/licenses/by-nc-sa/4.0/ +*/ +#include "\q\addons\custom_server\Configs\blck_defines.hpp"; +#include "\q\addons\custom_server\Missions\privateVars.sqf"; + +//diag_log "[blckeagls] Spawning Red Mission with template = default"; +_crateLoot = blck_BoxLoot_Red; +_lootCounts = blck_lootCountsRed; +_startMsg = "An Anemy Outpost was sighted in a nearby sector! Check the Red marker on your map for the location!"; +_endMsg = "The Outpost at the Red Marker is under survivor control!"; +_markerLabel = ""; +_markerType = ["ELLIPSE",[200,200],"Solid"]; +_markerColor = "ColorRed"; +_markerMissionName = "Outpost"; +_missionLandscapeMode = "precise"; // acceptable values are "none","random","precise" + +////////// +// Past the output of the script here +_garrisonedBuildings_BuildingPosnSystem = [ +]; + +_garrisonedBuilding_ATLsystem = [ + ["Land_Cargo_Patrol_V3_F",[-25.0786,-7.48535,-0.00143814],91.041,true,true,[["B_HMG_01_high_F",[-1.1084,-1.16431,4.33092],0.000110027]],[]], + ["Land_Cargo_Patrol_V3_F",[-12.2451,10.7849,-0.00143814],181.041,true,true,[["B_HMG_01_high_F",[-1.25928,1.22339,4.33092],0.00719478],["B_HMG_01_high_F",[3.44727,7.05835,-0.0121179],0.0015095],["B_HMG_01_high_F",[12.4185,7.21094,-0.0121183],0.00126386]],[]], + ["Land_Cargo_Patrol_V3_F",[24.0273,-12.3459,-0.00143814],269.838,true,true,[["B_HMG_01_high_F",[1.03076,-1.20874,4.33092],359.999],["B_HMG_01_high_F",[-11.6992,1.96533,-0.0121193],0.00189448]],[]], + ["Land_Cargo_HQ_V3_F",[6.30029,-0.909424,-0.00143814],270.038,true,true,[["B_HMG_01_high_F",[4.31299,-1.39307,3.70484],47.4694],["B_HMG_01_high_F",[-9.66064,-15.759,-0.0121193],0.00274103]],[]] +]; + + + +_missionLandscape = [ + //["Sign_Arrow_F",[-5049.41,-2726.72,-0.00143862],0,true,true], + //["Sign_Arrow_Green_F",[-5049.41,-2726.72,-0.00143862],0,true,true], + //["Sign_Arrow_Yellow_F",[-5049.41,-2726.72,-0.00143862],0,true,true], + //["babe_helper",[-5051.91,-2726.22,-0.00143862],78.6345,true,true], + ["Land_HBarrier_Big_F",[-28.8394,-8.42627,-0.00143862],91.041,true,true], + ["Land_CncShelter_F",[-10.0513,-26.2283,-0.00143862],0.0913576,true,true], + ["Land_HBarrierWall6_F",[0.581543,-12.7048,-0.00143862],91.041,true,true], + ["Land_HBarrierWall6_F",[-19.6943,-14.0881,-0.00143862],271.041,true,true], + ["Land_HBarrierWall6_F",[-5.04932,-19.8594,-0.00143862],181.041,true,true], + ["Land_HBarrier_Big_F",[-25.6514,-11.7356,-0.00143862],181.041,true,true], + ["Land_BagFence_Round_F",[-3.4668,-15.3809,-0.00143862],166.041,true,true], + ["Land_BagFence_Round_F",[-14.3892,-29.0183,-0.00143862],31.041,true,true], + ["Land_BagFence_Round_F",[-7.70801,-28.5588,-0.00143862],46.041,true,true], + ["Land_BagFence_Round_F",[-14.9326,-26.8369,-0.00143862],121.041,true,true], + ["Land_BagFence_Round_F",[-12.2075,-28.4763,-0.00143862],301.041,true,true], + ["Land_BagFence_Round_F",[-4.56348,-17.2019,-0.00143862],76.041,true,true], + ["Land_BagFence_Round_F",[-5.41797,-26.3496,-0.00143862],226.041,true,true], + ["Land_BagFence_Round_F",[-5.45801,-28.5986,-0.00143862],316.041,true,true], + ["Land_HBarrierWall_corridor_F",[-10.1372,-24.7649,-0.00143862],271.041,true,true], + ["Land_HBarrierWall4_F",[-13.7993,-19.9495,-0.00143862],181.041,true,true], + ["Land_HBarrierWall_corner_F",[-19.2007,-20,-0.00143862],181.041,true,true], + ["Land_HBarrierWall_corner_F",[0.711426,-19.4619,-0.00143862],91.041,true,true], + ["Land_LampShabby_F",[-19.8394,5.67236,-0.00143862],136.041,true,true], + ["Land_CncShelter_F",[-5.49072,10.4077,-0.00143862],181.041,true,true], + ["Land_HBarrierWall6_F",[-19.7158,-1.58594,-0.00143862],271.041,true,true], + ["Land_HBarrier_Big_F",[-25.4941,-3.23608,-0.00143862],1.04101,true,true], + ["Land_HBarrier_Big_F",[-12.9121,14.7922,-0.00143862],181.041,true,true], + ["Land_HBarrier_Big_F",[-16.2207,11.6028,-0.00143862],271.041,true,true], + ["Land_HBarrier_Big_F",[-7.72217,11.448,-0.00143862],91.041,true,true], + ["Land_HelipadSquare_F",[-9.93359,-5.85596,-0.00143862],0.362537,true,true], + ["Land_BagFence_Round_F",[-9.72363,18.6138,-0.00143862],136.041,true,true], + ["Land_BagFence_Round_F",[0.90918,18.9221,-0.00143862],226.041,true,true], + ["Land_BagFence_Round_F",[-7.59863,18.5762,-0.00143862],226.041,true,true], + ["Land_BagFence_Round_F",[-1.21631,18.9595,-0.00143862],136.041,true,true], + ["Land_BagFence_Long_F",[-7.02197,15.9382,-0.00143862],91.041,true,true], + ["Land_BagFence_Long_F",[1.48633,16.2864,-0.00143862],91.041,true,true], + ["Land_BagFence_Long_F",[-1.88379,16.5967,-0.00143862],91.041,true,true], + ["Land_BagFence_Long_F",[-10.3921,16.2498,-0.00143862],91.041,true,true], + ["Land_HBarrierWall_corridor_F",[-1.52295,8.83716,-0.00143862],181.041,true,true], + ["Land_HBarrierWall4_F",[3.81348,13.4924,-0.00143862],1.04101,true,true], + ["Land_HBarrierWall4_F",[-6.83154,5.68286,-0.00143862],1.04101,true,true], + ["Land_HBarrierWall4_F",[-16.5835,5.60962,-0.00143862],1.04101,true,true], + ["Land_HBarrierWall_corner_F",[-19.8418,5.16846,-0.00143862],271.041,true,true], + ["Land_HBarrierWall_corner_F",[-0.694824,13.0745,-0.00143862],271.041,true,true], + ["Land_LampShabby_F",[9.37598,-10.3596,-0.00143862],1.04101,true,true], + ["Land_HBarrierWall6_F",[7.20605,-19.8293,-0.00143862],181.041,true,true], + ["Land_HBarrierWall6_F",[6.87402,-10.5664,-0.00143862],181.041,true,true], + ["Land_HBarrier_Big_F",[24.5322,-16.5854,-0.00143862],179.838,true,true], + ["Land_HBarrier_Big_F",[24.5107,-8.08472,-0.00143862],359.838,true,true], + ["Land_HBarrier_Big_F",[27.7676,-11.3262,-0.00143862],269.838,true,true], + ["Land_BagFence_Round_F",[13.2651,-9.68359,-0.00143862],226.041,true,true], + ["Land_BagFence_Round_F",[11.1396,-9.64404,-0.00143862],136.041,true,true], + ["Land_HBarrierWall4_F",[13.9541,-19.9521,-0.00143862],181.041,true,true], + ["Land_Cargo_House_V3_F",[7.46289,-15.906,-0.00143862],271.041,true,true], + ["Land_HBarrierWall_corner_F",[18.2109,-19.53,-0.00143862],91.041,true,true], + ["Land_LampShabby_F",[18.0684,13.9841,-0.00143862],226.041,true,true], + ["Land_HBarrierWall6_F",[17.8833,3.73438,-0.00143862],91.041,true,true], + ["Land_HBarrierWall6_F",[17.9854,-4.51611,-0.00143862],91.041,true,true], + ["Land_HBarrierWall6_F",[10.5679,13.6208,-0.00143862],1.04101,true,true], + ["Land_HBarrierWall4_F",[17.7358,9.23999,-0.00143862],91.041,true,true], + ["Land_HBarrierWall_corner_F",[17.3179,13.7493,-0.00143862],1.04101,true,true] +]; + +_missionLootBoxes = [ +]; + +_missionLootVehicles = [ +]; + +_missionPatrolVehicles = [ + ["B_G_Offroad_01_armed_F",[35.8379,4.96387,0.00813246],0.00104452] +]; + +_submarinePatrolParameters = [ +]; + +_airPatrols = [ +]; + +_missionEmplacedWeapons = []; // + + + +////////// +// The lines below define additional variables you may wish to configure. + + +// Change _useMines to true/false below to enable mission-specific settings. +_useMines = blck_useMines; +_minNoAI = blck_MinAI_Red; +_maxNoAI = blck_MaxAI_Red; +_noAIGroups = blck_AIGrps_Red; +_noVehiclePatrols = blck_SpawnVeh_Red; +_noEmplacedWeapons = blck_SpawnEmplaced_Red; +//_uniforms = blck_SkinList; +//_headgear = blck_headgear; + +_chancePara = 0.75; // Setting this in the mission file overrides the defaults +_noPara = 5; // Setting this in the mission file overrides the defaults +_paraTriggerDistance = 400; // Distance from mission at which a player triggers these reinforcements and any supplemental loot. // To have paras spawn at the time the mission spawns with/without accompanying loot set this to 0. +_paraSkill = "Red"; // Choose any skill you like; bump up skill or add AI to justify more valuable loot. + +_chanceLoot = 0.7; +private _lootIndex = selectRandom[1,2,3,4]; +private _paralootChoices = [blck_contructionLoot,blck_contructionLoot,blck_highPoweredLoot,blck_supportLoot]; +private _paralootCountsChoices = [[0,0,0,10,10,0],[0,0,0,10,10,0],[10,10,0,0,0,0],[0,0,0,0,15,0]]; +_paraLoot = _paralootChoices select _lootIndex; +_paraLootCounts = _paralootCountsChoices select _lootIndex; // Throw in something more exotic than found at a normal blue mission. + +_endCondition = "allKilledOrPlayerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear" +//_timeOut = -1; +#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf"; diff --git a/@GMS/addons/custom_server/Missions/Red/carThieves.sqf b/@GMS/addons/custom_server/Missions/Red/carThieves.sqf index 66e5a6b..f8b69c7 100644 --- a/@GMS/addons/custom_server/Missions/Red/carThieves.sqf +++ b/@GMS/addons/custom_server/Missions/Red/carThieves.sqf @@ -10,7 +10,7 @@ _lootCounts = blck_lootCountsRed; _startMsg = "Car thieves were sighted in a nearby sector! Check the Red marker on your map for the location!"; _endMsg = "The Sector at the Red Marker is under survivor control!"; _markerLabel = ""; -_markerType = ["ellipse",[200,200],"GRID"]; +_markerType = ["ELLIPSE",[300,300],"Solid"]; _markerColor = "ColorRed"; _markerMissionName = "Thieves"; _missionLandscapeMode = "precise"; // acceptable values are "none","random","precise" @@ -69,6 +69,6 @@ _backpacs = blck_CUPBackpacks; _headgear = blck_CUPHeadgear; #endif -//_endCondition = "playerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear" +_endCondition = "allKilledOrPlayerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear" //_timeOut = -1; #include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf"; diff --git a/@GMS/addons/custom_server/Missions/Red/dashq.sqf b/@GMS/addons/custom_server/Missions/Red/dashq.sqf new file mode 100644 index 0000000..fd02f47 --- /dev/null +++ b/@GMS/addons/custom_server/Missions/Red/dashq.sqf @@ -0,0 +1,231 @@ +/* + Mission Template by Ghostrider [GRG] + Mission Compositions by Bill prepared for ghostridergaming + Copyright 2016 + Last modified 3/20/17 + + -------------------------- + License + -------------------------- + All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License. + + http://creativecommons.org/licenses/by-nc-sa/4.0/ +*/ +#include "\q\addons\custom_server\Configs\blck_defines.hpp"; +#include "\q\addons\custom_server\Missions\privateVars.sqf"; + +//diag_log "[blckeagls] Spawning Red Mission with template = default"; +_crateLoot = blck_BoxLoot_Red; +_lootCounts = blck_lootCountsRed; +_startMsg = "An enemy HQ center was sighted in a nearby sector! Check the Red marker on your map for the location!"; +_endMsg = "The HQ at the Red Marker is under survivor control!"; +_markerLabel = ""; +_markerType = ["ELLIPSE",[300,300],"Solid"]; +_markerColor = "ColorRed"; +_markerMissionName = "Operationsbasis"; +_missionLandscapeMode = "precise"; // acceptable values are "none","random","precise" + +////////// +// Past the output of the script here +_garrisonedBuildings_BuildingPosnSystem = [ +]; + +_garrisonedBuilding_ATLsystem = [ + ["Land_Cargo_HQ_V1_F",[-0.358154,-18.6514,-0.00143862],179.905,true,true,[["B_HMG_01_high_F",[-6.5437,1.09253,3.11855],145.121],["B_HMG_01_high_F",[-13.9094,-10.7791,-0.0121183],206.716]],[]] +]; + +_missionLandscape = [ + ["Land_PortableLight_double_F",[-42.614,-26.0178,-0.00143909],225.577,true,true], + ["Land_CncWall4_F",[-45.3523,-21.509,-0.00143909],89.9051,true,true], + ["Land_CncWall4_F",[-33.5913,-28.1145,-0.00143909],359.905,true,true], + ["Land_CncWall4_F",[-38.842,-28.124,-0.00143909],359.905,true,true], + ["Land_CncWall1_F",[-44.093,-26.7578,-0.00143909],44.9051,true,true], + ["Land_CncWall1_F",[-43.0923,-27.5063,-0.00143909],29.9051,true,true], + ["Land_CncWall1_F",[-45.2207,-24.6689,-0.00143909],74.9051,true,true], + ["Land_CncWall1_F",[-44.845,-25.7581,-0.00143909],59.9051,true,true], + ["Land_CncWall1_F",[-41.9668,-28.0046,-0.00143909],14.9051,true,true], + ["Land_BagBunker_01_large_green_F",[-49.7271,-16.9226,-0.00143909],90.2555,true,true], + ["Land_Cargo_Tower_V1_F",[-36.3582,-19.3394,-0.00143909],89.905,true,true], + ["Land_CncWall4_F",[-33.4968,-9.73975,-0.00143909],179.905,true,true], + ["Land_CncWall4_F",[-45.3792,-5.75879,-0.00143909],89.9051,true,true], + ["Land_CncWall4_F",[-45.3867,-0.508789,-0.00143909],89.9051,true,true], + ["Land_CncWall4_F",[-45.3694,-11.0095,-0.00143909],89.9051,true,true], + ["Land_CncWall4_F",[-45.3955,4.74121,-0.00143909],89.9051,true,true], + ["Land_CncWall4_F",[-45.4041,9.99072,-0.00143909],89.9051,true,true], + ["Land_CncWall1_F",[-32.0076,1.70923,-0.00143909],74.9051,true,true], + ["Land_CncWall1_F",[-31.6313,0.61792,-0.00143909],59.9051,true,true], + ["Land_BagBunker_01_large_green_F",[-49.7959,14.4089,-0.00143909],90.2555,true,true], + ["Land_Cargo_HQ_V1_F",[-34.4014,20.1455,-0.00143862],269.491,true,true], + ["Land_CncWall4_F",[-45.4214,20.4915,-0.00143909],89.9051,true,true], + ["Land_CncWall4_F",[-45.4302,25.7415,-0.00143909],89.9051,true,true], + ["Land_CncWall4_F",[-38.8159,32.2512,-0.00143909],179.905,true,true], + ["Land_CncWall4_F",[-33.5662,32.2607,-0.00143909],179.905,true,true], + ["Land_CncWall1_F",[-43.0654,31.7451,-0.00143909],149.905,true,true], + ["Land_CncWall1_F",[-41.9753,32.1199,-0.00143909],164.905,true,true], + ["Land_CncWall1_F",[-44.0635,30.9924,-0.00143909],134.905,true,true], + ["Land_CncWall1_F",[-44.8127,29.991,-0.00143909],119.905,true,true], + ["Land_CncWall1_F",[-45.3108,28.8672,-0.00143909],104.905,true,true], + ["Land_BagFence_Round_F",[-15.3367,-30.4338,-0.00143909],44.9051,true,true], + ["Land_BagFence_Round_F",[-25.8376,-30.2017,-0.00143909],314.905,true,true], + ["Land_PortableLight_double_F",[-2.30811,-29.9211,-0.00143909],44.7366,true,true], + ["Land_CncWall4_F",[-2.09229,-28.0632,-0.00143909],359.905,true,true], + ["Land_CncWall4_F",[-26.9856,-16.3538,-0.00143909],269.905,true,true], + ["Land_CncWall4_F",[-13.8528,-21.4565,-0.00143909],89.9051,true,true], + ["Land_CncWall4_F",[-26.9783,-21.6038,-0.00143909],269.905,true,true], + ["Land_CncWall4_F",[-7.34155,-28.0718,-0.00143909],359.905,true,true], + ["Land_CncWall4_F",[-13.8606,-16.2065,-0.00143909],89.9051,true,true], + ["Land_CncWall1_F",[-13.3455,-25.7068,-0.00143909],59.9051,true,true], + ["Land_CncWall1_F",[-12.593,-26.7058,-0.00143909],44.9051,true,true], + ["Land_CncWall1_F",[-27.5952,-25.8552,-0.00143909],299.905,true,true], + ["Land_CncWall1_F",[-27.0967,-24.7288,-0.00143909],284.905,true,true], + ["Land_CncWall1_F",[-13.7209,-24.6165,-0.00143909],74.9051,true,true], + ["Land_CncWall1_F",[-10.4666,-27.9514,-0.00143909],14.9051,true,true], + ["Land_CncWall1_F",[-29.3428,-27.6084,-0.00143909],329.905,true,true], + ["Land_CncWall1_F",[-30.4331,-27.9832,-0.00143909],344.905,true,true], + ["Land_CncWall1_F",[-11.592,-27.4541,-0.00143909],29.9051,true,true], + ["Land_CncWall1_F",[-28.3438,-26.855,-0.00143909],314.905,true,true], + ["Land_BagFence_Long_F",[-25.2168,-27.7002,-0.00143909],269.905,true,true], + ["Land_BagFence_Long_F",[-15.9658,-27.9348,-0.00143909],269.905,true,true], + ["Land_BagFence_Long_F",[-12.8359,-31.0559,-0.00143909],359.905,true,true], + ["Land_BagFence_Long_F",[-28.3364,-30.8318,-0.00143909],179.905,true,true], + ["Land_BagFence_Round_F",[-7.19092,10.5073,-0.00143909],44.9051,true,true], + ["Land_PortableLight_double_F",[-11.7207,0.158936,-0.00143909],135.598,true,true], + ["Land_PortableLight_double_F",[-29.4041,0.418701,-0.00143909],218.658,true,true], + ["Land_CncWall4_F",[-7.24731,-9.69678,-0.00143909],179.905,true,true], + ["Land_CncWall4_F",[-20.376,-1.73682,-0.00143909],359.905,true,true], + ["Land_CncWall4_F",[-25.6274,-1.74609,-0.00143909],359.905,true,true], + ["Land_CncWall4_F",[-15.1272,-1.72925,-0.00143909],359.905,true,true], + ["Land_CncWall1_F",[-10.4058,-9.82935,-0.00143909],164.905,true,true], + ["Land_CncWall1_F",[-10.8779,-1.22144,-0.00143909],329.905,true,true], + ["Land_CncWall1_F",[-9.13086,0.531982,-0.00143909],299.905,true,true], + ["Land_CncWall1_F",[-11.4956,-10.2031,-0.00143909],149.905,true,true], + ["Land_CncWall1_F",[-8.63257,1.65747,-0.00143909],284.905,true,true], + ["Land_CncWall1_F",[-11.9688,-1.59668,-0.00143909],344.905,true,true], + ["Land_CncWall1_F",[-27.4932,-12.1047,-0.00143909],239.905,true,true], + ["Land_CncWall1_F",[-12.4951,-10.9553,-0.00143909],134.905,true,true], + ["Land_CncWall1_F",[-13.2424,-11.9563,-0.00143909],119.905,true,true], + ["Land_CncWall1_F",[-29.8777,-1.12744,-0.00143909],29.9051,true,true], + ["Land_CncWall1_F",[-9.87939,-0.470703,-0.00143909],314.905,true,true], + ["Land_CncWall1_F",[-30.3708,-9.86011,-0.00143909],194.905,true,true], + ["Land_CncWall1_F",[-30.8787,-0.378906,-0.00143909],44.9051,true,true], + ["Land_CncWall1_F",[-29.2468,-10.3582,-0.00143909],209.905,true,true], + ["Land_CncWall1_F",[-13.7417,-13.0818,-0.00143909],104.905,true,true], + ["Land_CncWall1_F",[-28.2449,-11.1069,-0.00143909],224.905,true,true], + ["Land_CncWall1_F",[-27.1179,-13.1948,-0.00143909],254.905,true,true], + ["Land_CncWall1_F",[-28.7524,-1.62573,-0.00143909],14.9051,true,true], + ["Land_BagFence_Long_F",[-7.8208,13.0066,-0.00143909],269.905,true,true], + ["Land_BagFence_Long_F",[-4.69067,9.88257,-0.00143909],359.905,true,true], + ["Land_Cargo_Patrol_V1_F",[-19.8857,1.92358,-0.00143862],359.905,true,true], + ["Land_Cargo_HQ_V1_F",[-17.6404,20.1672,-0.00143862],269.491,true,true], + ["Land_HelipadSquare_F",[0.169189,17.6489,-0.00143909],359.936,true,true], + ["Land_BagFence_Round_F",[-7.21484,25.1335,-0.00143909],134.905,true,true], + ["Land_BagFence_Round_F",[-8.354,36.8232,-0.00143909],134.905,true,true], + ["Land_CncWall4_F",[-23.0659,32.2773,-0.00143909],179.905,true,true], + ["Land_CncWall4_F",[-12.615,32.3005,-0.00143909],179.905,true,true], + ["Land_CncWall4_F",[-17.8164,32.2856,-0.00143909],179.905,true,true], + ["Land_CncWall4_F",[-7.396,32.3115,-0.00143909],179.905,true,true], + ["Land_CncWall4_F",[-2.25146,35.2305,-0.00143909],179.977,true,true], + ["Land_CncWall4_F",[-28.3167,32.269,-0.00143909],179.905,true,true], + ["Land_CncWall1_F",[-4.03638,32.6663,-0.00143909],149.461,true,true], + ["Land_BagFence_Long_F",[-4.71533,25.7625,-0.00143909],359.905,true,true], + ["Land_BagFence_Long_F",[-5.85449,37.4521,-0.00143909],359.905,true,true], + ["Land_BagFence_Long_F",[-7.83618,22.6321,-0.00143909],89.9051,true,true], + ["Land_BagFence_Long_F",[-8.97534,34.3218,-0.00143909],89.9051,true,true], + ["Land_PortableLight_double_F",[12.1106,-26.1833,-0.00143909],149.905,true,true], + ["Land_CncWall4_F",[15.0215,-21.5349,-0.00143909],269.905,true,true], + ["Land_CncWall4_F",[8.38428,-28.1101,-0.00143909],359.905,true,true], + ["Land_CncWall4_F",[15.0137,-16.2847,-0.00143909],269.905,true,true], + ["Land_CncWall1_F",[14.9031,-24.6597,-0.00143909],284.905,true,true], + ["Land_CncWall1_F",[12.6567,-27.5383,-0.00143909],329.905,true,true], + ["Land_CncWall1_F",[11.5676,-27.9133,-0.00143909],344.905,true,true], + ["Land_CncWall1_F",[14.4038,-25.7854,-0.00143909],299.905,true,true], + ["Land_CncWall1_F",[13.656,-26.7861,-0.00143909],314.905,true,true], + ["Land_BagFence_Long_F",[12.5037,-23.1807,-0.00143909],89.3707,true,true], + ["Land_BagFence_Long_F",[11.072,-24.5706,-0.00143909],359.905,true,true], + ["Land_BagFence_Long_F",[10.9707,-21.8315,-0.00143909],179.371,true,true], + ["Land_BagFence_Long_F",[9.56812,-23.1921,-0.00143909],269.905,true,true], + ["Land_BagBunker_01_large_green_F",[3.83936,-32.5405,-0.00143909],0,true,true], + ["Land_TTowerSmall_2_F",[11.5024,-23.7861,-0.00143909],179.905,true,true], + ["Land_Cargo_House_V1_F",[9.00171,-10.2603,-0.00143909],89.905,true,true], + ["Land_Cargo_House_V1_F",[8.98071,2.86475,-0.00143909],89.905,true,true], + ["Land_Medevac_house_V1_F",[8.99219,-3.76099,-0.00143909],90.3921,true,true], + ["Land_BagFence_Round_F",[8.05933,10.2788,-0.00143909],314.905,true,true], + ["Land_PortableLight_double_F",[12.8176,7.44629,-0.00143909],134.905,true,true], + ["Land_CncWall4_F",[14.9788,4.71558,-0.00143909],269.905,true,true], + ["Land_CncWall4_F",[15.0054,-11.0347,-0.00143909],269.905,true,true], + ["Land_CncWall4_F",[14.9961,-5.78418,-0.00143909],269.905,true,true], + ["Land_CncWall4_F",[14.9878,-0.533936,-0.00143909],269.905,true,true], + ["Land_CncWall4_F",[14.9705,9.96558,-0.00143909],269.905,true,true], + ["Land_BagFence_Long_F",[8.68018,12.7852,-0.00143909],269.905,true,true], + ["Land_BagFence_Long_F",[5.55933,9.6499,-0.00143909],179.905,true,true], + ["Land_BagBunker_01_large_green_F",[19.272,16.1316,-0.00143909],269.832,true,true], + ["Land_BagFence_Round_F",[7.91089,24.9097,-0.00143909],224.905,true,true], + ["Land_BagFence_Round_F",[9.05054,36.9314,-0.00143909],224.905,true,true], + ["Land_PortableLight_double_F",[11.8816,29.2671,-0.00143909],44.7366,true,true], + ["Land_CncWall4_F",[14.9529,20.4653,-0.00143909],269.905,true,true], + ["Land_CncWall4_F",[8.43433,32.3303,-0.00143909],179.905,true,true], + ["Land_CncWall4_F",[2.95288,35.22,-0.00143909],179.977,true,true], + ["Land_CncWall4_F",[14.9443,25.7156,-0.00143909],269.905,true,true], + ["Land_CncWall1_F",[14.4373,29.9646,-0.00143909],239.905,true,true], + ["Land_CncWall1_F",[14.813,28.8745,-0.00143909],254.905,true,true], + ["Land_CncWall1_F",[13.6853,30.9644,-0.00143909],224.905,true,true], + ["Land_CncWall1_F",[12.6843,31.7119,-0.00143909],209.905,true,true], + ["Land_CncWall1_F",[11.5593,32.2114,-0.00143909],194.905,true,true], + ["Land_CncWall1_F",[5.11841,32.7061,-0.00143909],209.905,true,true], + ["Land_BagFence_Long_F",[8.54004,22.4104,-0.00143909],89.9051,true,true], + ["Land_BagFence_Long_F",[9.67969,34.4321,-0.00143909],89.9051,true,true], + ["Land_BagFence_Long_F",[5.40894,25.5288,-0.00143909],179.905,true,true], + ["Land_BagFence_Long_F",[6.54858,37.5505,-0.00143909],179.905,true,true] +]; + +_missionLootBoxes = [ + //["Exile_Container_SupplyBox",[0.0717773,16.9431,-0.00143814],_crateLoot,_lootCounts,0.000320471] +]; + +_missionLootVehicles = [ +]; + +_missionPatrolVehicles = [ + //["O_T_LSV_02_armed_F",[-62.7971,0.422119,-0.0236669],0.00164848], + ["O_T_LSV_02_armed_F",[31.9084,-7.18774,-0.0238085],0.00168349] +]; + +_submarinePatrolParameters = [ +]; + +_airPatrols = [ +]; + +_missionEmplacedWeapons = []; // + + + +////////// +// The lines below define additional variables you may wish to configure. + + +// Change _useMines to true/false below to enable mission-specific settings. +_useMines = blck_useMines; +_minNoAI = blck_MinAI_Red; +_maxNoAI = blck_MaxAI_Red; +_noAIGroups = blck_AIGrps_Red; +_noVehiclePatrols = blck_SpawnVeh_Red; +_noEmplacedWeapons = blck_SpawnEmplaced_Red; +//_uniforms = blck_SkinList; +//_headgear = blck_headgear; + +_chancePara = 0.75; // Setting this in the mission file overrides the defaults +_noPara = 5; // Setting this in the mission file overrides the defaults +_paraTriggerDistance = 400; // Distance from mission at which a player triggers these reinforcements and any supplemental loot. // To have paras spawn at the time the mission spawns with/without accompanying loot set this to 0. +_paraSkill = "Red"; // Choose any skill you like; bump up skill or add AI to justify more valuable loot. + +_chanceLoot = 0.7; +private _lootIndex = selectRandom[1,2,3,4]; +private _paralootChoices = [blck_contructionLoot,blck_contructionLoot,blck_highPoweredLoot,blck_supportLoot]; +private _paralootCountsChoices = [[0,0,0,10,10,0],[0,0,0,10,10,0],[10,10,0,0,0,0],[0,0,0,0,15,0]]; +_paraLoot = _paralootChoices select _lootIndex; +_paraLootCounts = _paralootCountsChoices select _lootIndex; // Throw in something more exotic than found at a normal blue mission. + +_endCondition = "allKilledOrPlayerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear" +//_timeOut = -1; +#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf"; diff --git a/@GMS/addons/custom_server/Missions/Red/derbunker.sqf b/@GMS/addons/custom_server/Missions/Red/derbunker.sqf new file mode 100644 index 0000000..7f24242 --- /dev/null +++ b/@GMS/addons/custom_server/Missions/Red/derbunker.sqf @@ -0,0 +1,120 @@ +/* + Mission Template by Ghostrider [GRG] + Mission Compositions by Bill prepared for ghostridergaming + Copyright 2016 + Last modified 3/20/17 + + -------------------------- + License + -------------------------- + All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License. + + http://creativecommons.org/licenses/by-nc-sa/4.0/ +*/ +#include "\q\addons\custom_server\Configs\blck_defines.hpp"; +#include "\q\addons\custom_server\Missions\privateVars.sqf"; + +//diag_log "[blckeagls] Spawning Red Mission with template = default"; +_crateLoot = blck_BoxLoot_Red; +_lootCounts = blck_lootCountsRed; +_startMsg = "An enemy Bunker was sighted in a nearby sector! Check the Red marker on your map for the location!"; +_endMsg = "The Bunker at the Red Marker is under survivor control!"; +_markerLabel = ""; +_markerType = ["ELLIPSE",[300,300],"Solid"]; +_markerColor = "ColorRed"; +_markerMissionName = "DerBunker"; +_missionLandscapeMode = "precise"; // acceptable values are "none","random","precise" + +////////// +// Past the output of the script here +_garrisonedBuildings_BuildingPosnSystem = [ +]; + +_garrisonedBuilding_ATLsystem = [ + ["Land_Bunker_01_big_F",[-15.925,9.02295,0.760561],90.071,true,true,[["O_HMG_01_high_F",[-5.45947,-3.38574,0.109706],359.994]],[]], + ["Land_Bunker_01_tall_F",[-15.377,-8.8042,-0.00143909],90.071,true,true,[["O_HMG_01_high_F",[5.50562,-2.54395,-0.0121193],0.00145215],["O_HMG_01_high_F",[-1.72095,-0.109375,4.96893],0.00948966]],[]], + ["Land_Bunker_01_tall_F",[-15.76,28.606,-0.00143909],90.071,true,true,[["O_HMG_01_high_F",[5.47437,2.47559,-0.0121179],0.000581241],["O_HMG_01_high_F",[-1.38867,-0.0722656,4.967],359.999],["O_HMG_01_high_F",[11.8271,5.87988,-0.0121188],0.00143633]],[]], + ["Land_Bunker_01_big_F",[20.199,10.729,0.760561],270.416,true,true,[["O_HMG_01_high_F",[5.86328,3.25586,0.109697],0.0117801]],[]], + ["Land_Bunker_01_tall_F",[19.8899,-8.86914,-0.00143909],270.416,true,true,[["O_HMG_01_high_F",[-5.13818,-2.33496,-0.0121174],0.0002874],["O_HMG_01_high_F",[1.45801,0.0512695,4.96698],360]],[]], + ["Land_Bunker_01_tall_F",[19.731,28.542,-0.00143909],270.416,true,true,[["O_HMG_01_high_F",[-5.00977,2.1792,-0.0121188],0.00143735],["O_HMG_01_high_F",[1.80957,0.26709,4.96756],360],["O_HMG_01_high_F",[-12.0127,6.1333,-0.0121193],0.00145178]],[]] +]; + +_missionLandscape = [ + //["Sign_Arrow_F",[-3163.22,-5166.85,-0.00143909],0,true,true], + //["Sign_Arrow_Green_F",[-3163.22,-5166.85,-0.00143909],0,true,true], + //["Sign_Arrow_Yellow_F",[-3163.22,-5166.85,-0.00143909],0,true,true], + //["babe_helper",[-3165.72,-5166.35,-0.00143909],90.8645,true,true], + ["Land_Bunker_01_blocks_3_F",[-13.762,17.5518,-0.00143909],270.35,true,true], + ["Land_Bunker_01_blocks_3_F",[-0.0979004,-12.9033,-0.00143909],179.955,true,true], + ["Land_Bunker_01_blocks_3_F",[-5.18799,-12.9092,-0.00143909],179.955,true,true], + ["Land_Bunker_01_blocks_3_F",[-10.175,-12.9253,-0.502439],179.955,true,true], + ["Land_Bunker_01_blocks_3_F",[-13.814,-4.44141,-0.00143909],270.35,true,true], + ["Land_Bunker_01_blocks_3_F",[-13.7959,0.544922,-0.00143909],270.35,true,true], + ["CamoNet_INDP_big_F",[2.23804,-2.70508,-0.00143909],182.545,true,true], + ["Land_Bunker_01_blocks_3_F",[-13.7451,22.5391,-0.00143909],270.35,true,true], + ["Land_Bunker_01_blocks_3_F",[-2.51611,30.105,-0.00143909],90.192,true,true], + ["Land_Bunker_01_blocks_3_F",[-10.6179,32.6689,-0.432439],0.106,true,true], + ["Land_Bunker_01_blocks_3_F",[-5.63013,32.6719,-0.00143909],0.106,true,true], + ["Land_Bunker_01_blocks_3_F",[17.958,2.1958,-0.00143909],90.695,true,true], + ["Land_Bunker_01_blocks_3_F",[14.9771,-12.854,-0.529439],179.955,true,true], + ["Land_Bunker_01_blocks_3_F",[4.88892,-12.8853,-0.00143909],179.955,true,true], + ["Land_Bunker_01_blocks_3_F",[17.9109,-2.78906,-0.00143909],90.695,true,true], + ["Land_Bunker_01_blocks_3_F",[9.98999,-12.8711,-0.00143909],179.955,true,true], + ["Land_Bunker_01_blocks_3_F",[6.58691,30.1689,-0.00143909],269.774,true,true], + ["Land_Bunker_01_blocks_3_F",[18.095,19.2026,-0.00143909],90.695,true,true], + ["Land_Bunker_01_blocks_3_F",[18.1409,24.189,-0.00143909],90.695,true,true], + ["Land_Bunker_01_blocks_3_F",[9.54907,32.6689,-0.00143909],0.106,true,true], + ["Land_Bunker_01_blocks_3_F",[14.5359,32.6729,-0.363439],0.106,true,true] +]; + +_missionLootBoxes = [ + //["Exile_Container_SupplyBox",[0.0446777,-1.31494,-0.001441],_crateLoot,_lootCounts,0.00167282] +]; + +_missionLootVehicles = [ +]; + +_missionPatrolVehicles = [ + ["O_LSV_02_armed_F",[-37.46,8.55273,-0.0378561],359.999], + ["O_LSV_02_unarmed_F",[38.3699,8.21484,-0.0378113],359.999] +]; + +_submarinePatrolParameters = [ +]; + +_airPatrols = [ +]; + +_missionEmplacedWeapons = []; // + + + +////////// +// The lines below define additional variables you may wish to configure. + + +// Change _useMines to true/false below to enable mission-specific settings. +_useMines = blck_useMines; +_minNoAI = blck_MinAI_Red; +_maxNoAI = blck_MaxAI_Red; +_noAIGroups = blck_AIGrps_Red; +_noVehiclePatrols = blck_SpawnVeh_Red; +_noEmplacedWeapons = blck_SpawnEmplaced_Red; +//_uniforms = blck_SkinList; +//_headgear = blck_headgear; + +_chancePara = 0.75; // Setting this in the mission file overrides the defaults +_noPara = 5; // Setting this in the mission file overrides the defaults +_paraTriggerDistance = 400; // Distance from mission at which a player triggers these reinforcements and any supplemental loot. // To have paras spawn at the time the mission spawns with/without accompanying loot set this to 0. +_paraSkill = "Red"; // Choose any skill you like; bump up skill or add AI to justify more valuable loot. + +_chanceLoot = 0.7; +private _lootIndex = selectRandom[1,2,3,4]; +private _paralootChoices = [blck_contructionLoot,blck_contructionLoot,blck_highPoweredLoot,blck_supportLoot]; +private _paralootCountsChoices = [[0,0,0,10,10,0],[0,0,0,10,10,0],[10,10,0,0,0,0],[0,0,0,0,15,0]]; +_paraLoot = _paralootChoices select _lootIndex; +_paraLootCounts = _paralootCountsChoices select _lootIndex; // Throw in something more exotic than found at a normal blue mission. + +_endCondition = "allKilledOrPlayerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear" +//_timeOut = -1; +#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf"; diff --git a/@GMS/addons/custom_server/Missions/Red/factory.sqf b/@GMS/addons/custom_server/Missions/Red/factory.sqf new file mode 100644 index 0000000..9e74a87 --- /dev/null +++ b/@GMS/addons/custom_server/Missions/Red/factory.sqf @@ -0,0 +1,148 @@ +/* + Mission Template by Ghostrider [GRG] + Mission Compositions by Bill prepared for ghostridergaming + Copyright 2016 + Last modified 3/20/17 + + -------------------------- + License + -------------------------- + All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License. + + http://creativecommons.org/licenses/by-nc-sa/4.0/ +*/ +#include "\q\addons\custom_server\Configs\blck_defines.hpp"; +#include "\q\addons\custom_server\Missions\privateVars.sqf"; + +//diag_log "[blckeagls] Spawning Red Mission with template = default"; +_crateLoot = blck_BoxLoot_Red; +_lootCounts = blck_lootCountsRed; +_startMsg = "An Ammunition Factory was sighted in a nearby sector! Check the Red marker on your map for the location!"; +_endMsg = "The Factory at the Red Marker is under survivor control!"; +_markerLabel = ""; +_markerType = ["ELLIPSE",[300,300],"Solid"]; +_markerColor = "ColorRed"; +_markerMissionName = "Factory"; +_missionLandscapeMode = "precise"; // acceptable values are "none","random","precise" + +////////// +// Past the output of the script here +_garrisonedBuildings_BuildingPosnSystem = [ +]; + +_garrisonedBuilding_ATLsystem = [ + ["Land_Cargo_Tower_V3_F",[-18.6987,-51.7905,-0.0014348],91.6296,true,true,[["B_HMG_01_high_F",[3.31396,2.89209,8.57585],359.999],["B_HMG_01_high_F",[13.0347,0.8479,-0.0121226],360],["B_HMG_01_high_F",[-9.4834,13.5967,-0.0121226],0.00158913],["B_HMG_01_high_F",[-0.601074,3.90967,17.8764],359.999],["B_HMG_01_high_F",[-0.877441,-4.83179,17.8764],359.999],["B_HMG_01_high_F",[-9.77783,29.3799,-0.0121226],360]],[]], + ["Land_Cargo_Patrol_V3_F",[-27.1675,-15.407,-0.00143814],91.6296,true,true,[["B_HMG_01_high_F",[-1.15381,1.24658,4.33092],275.276]],[]], + ["Land_Cargo_Patrol_V3_F",[-10.7632,4.77441,-0.00143814],181.63,true,true,[["B_HMG_01_high_F",[-1.32959,1.03662,4.33092],359.999]],[]], + ["Land_Cargo_Patrol_V3_F",[12.9375,3.5835,-0.00143814],181.63,true,true,[["B_HMG_01_high_F",[1.57861,1.04736,4.33093],357.402],["B_HMG_01_high_F",[8.41357,-9.20557,-0.0121202],0.0033673]],[]] +]; + + + +_missionLandscape = [ + //["babe_helper",[-4335.99,-3525.64,-0.00143862],0,true,true], + //["Sign_Arrow_Green_F",[-4333.49,-3526.14,-0.00143862],0,true,true], + //["Sign_Arrow_F",[-4333.49,-3526.14,-0.00143862],0,true,true], + //["Sign_Arrow_Yellow_F",[-4333.49,-3526.14,-0.00143862],0,true,true], + ["Land_HBarrier_Big_F",[0,0,0],181.63,true,true], + ["Land_HBarrier_Big_F",[13.4092,-3.25757,0],271.63,true,true], + ["Land_HBarrier_Big_F",[8.375,-0.113037,0],181.63,true,true], + ["Land_Cargo_Patrol_V3_F",[1.41602,-4.66895,4.76837e-007],181.63,true,true], + ["Land_HBarrier_Big_F",[13.4199,-11.7607,0],271.63,true,true], + ["Land_HBarrier_Big_F",[18.5933,-23.1626,0],181.63,true,true], + ["Land_HBarrier_Big_F",[13.436,-19.8896,0],271.63,true,true], + ["Land_HBarrier_Big_F",[21.832,-28.0088,0],271.63,true,true], + ["Land_BagFence_Round_F",[26.2334,-38.7039,0],316.63,true,true], + ["Land_BagFence_Round_F",[26.3379,-36.5427,0],226.63,true,true], + ["Land_BagFence_Long_F",[23.7163,-39.2576,0],181.63,true,true], + ["CamoNet_OPFOR_F",[10.2559,-17.4697,0],91.6296,true,true], + ["Land_HBarrier_Big_F",[-3.3916,-4.90503,0],91.6296,true,true], + ["Land_HBarrier_Big_F",[-30.9849,1.00684,0],181.63,true,true], + ["Land_HBarrier_Big_F",[-17.564,-2.00073,0],271.63,true,true], + ["Land_HBarrier_Big_F",[-22.731,1.02173,0],181.63,true,true], + ["Land_Cargo_Patrol_V3_F",[-22.2847,-3.47803,4.76837e-007],181.63,true,true], + ["CamoNet_OPFOR_big_F",[-34.8179,-6.18286,0],1.62962,true,true], + ["Land_HBarrier_Big_F",[-20.0698,-63.729,0],91.6296,true,true], + ["Land_HBarrier_Big_F",[-33.6689,-66.9641,0],181.63,true,true], + ["Land_HBarrier_Big_F",[-25.1631,-66.959,0],181.63,true,true], + ["Land_BagFence_Long_F",[-17.6025,-60.449,0],181.63,true,true], + ["Land_Cargo_Tower_V3_F",[-30.2202,-60.043,3.8147e-006],91.6296,true,true], + ["Land_BagFence_Round_F",[-15.085,-59.8953,0],316.63,true,true], + ["Land_HBarrier_Big_F",[-39.3599,1.11987,0],181.63,true,true], + ["Land_HBarrier_Big_F",[-42.751,-3.7854,0],91.6296,true,true], + ["Land_HBarrier_Big_F",[-42.8638,-12.1604,0],91.6296,true,true], + ["Land_HBarrier_Big_F",[-37.8037,-27.686,0],181.63,true,true], + ["Land_HBarrier_Big_F",[-42.8486,-20.4146,0],91.6296,true,true], + ["Land_HBarrier_Big_F",[-42.9619,-28.7896,0],91.6296,true,true], + ["Land_Cargo_Patrol_V3_F",[-38.689,-23.6594,4.76837e-007],91.6296,true,true], + ["CamoNet_OPFOR_F",[-37.1313,-30.3784,0],1.62962,true,true], + ["Land_HBarrier_Big_F",[-36.8999,-61.8621,0],91.6296,true,true], + ["Land_HBarrier_Big_F",[-36.792,-53.6099,0],91.6296,true,true], + ["Land_BagFence_Corner_F",[-37.04,-49.1382,0],1.62962,true,true], + ["Land_BagFence_Corner_F",[-40.8984,-48.5288,0],181.63,true,true], + ["Land_BagFence_Long_F",[-39.0317,-48.8325,0],181.63,true,true], + ["Land_BagFence_Long_F",[-39.1577,-44.4534,0],1.62962,true,true], + ["Land_BagFence_Long_F",[-41.2227,-46.7695,0],91.6296,true,true], + ["Land_BagFence_Corner_F",[-40.916,-44.7759,0],271.63,true,true], + ["Land_HBarrier_Big_F",[0.214844,-63.1599,0],181.63,true,true], + ["Land_HBarrier_Big_F",[8.46875,-63.145,0],181.63,true,true], + ["Land_HBarrier_Big_F",[-8.16016,-63.0469,0],181.63,true,true], + ["Land_HBarrier_Big_F",[21.3247,-43.1565,0],271.63,true,true], + ["Land_HBarrier_Big_F",[21.3354,-51.6597,0],271.63,true,true], + ["Land_HBarrier_Big_F",[21.3516,-59.7886,0],271.63,true,true], + ["Land_HBarrier_Big_F",[16.6245,-63.0515,0],181.63,true,true], + ["Land_Dome_Small_F",[0.337891,-44.8254,-4.76837e-007],0.223401,true,true], + ["Land_dp_smallTank_F",[18.314,-70.0537,0],0,true,true], + ["Land_dp_smallTank_F",[9.81934,-69.9482,0],0,true,true] +]; + +_missionLootBoxes = [ +]; + +_missionLootVehicles = [ +]; + +_missionPatrolVehicles = [ + ["B_G_Offroad_01_armed_F",[-53.8027,-29.7834,0.00867844],0.00103655], + ["B_G_Offroad_01_armed_F",[51.0596,-25.7876,0.00815535],0.00104356] +]; + +_submarinePatrolParameters = [ +]; + +_airPatrols = [ +]; + +_missionEmplacedWeapons = []; // + + + +////////// +// The lines below define additional variables you may wish to configure. + + +// Change _useMines to true/false below to enable mission-specific settings. +_useMines = blck_useMines; +_minNoAI = blck_MinAI_Red; +_maxNoAI = blck_MaxAI_Red; +_noAIGroups = blck_AIGrps_Red; +_noVehiclePatrols = blck_SpawnVeh_Red; +_noEmplacedWeapons = blck_SpawnEmplaced_Red; +//_uniforms = blck_SkinList; +//_headgear = blck_headgear; + +_chancePara = 0.75; // Setting this in the mission file overrides the defaults +_noPara = 5; // Setting this in the mission file overrides the defaults +_paraTriggerDistance = 400; // Distance from mission at which a player triggers these reinforcements and any supplemental loot. // To have paras spawn at the time the mission spawns with/without accompanying loot set this to 0. +_paraSkill = "Red"; // Choose any skill you like; bump up skill or add AI to justify more valuable loot. + +_chanceLoot = 0.7; +private _lootIndex = selectRandom[1,2,3,4]; +private _paralootChoices = [blck_contructionLoot,blck_contructionLoot,blck_highPoweredLoot,blck_supportLoot]; +private _paralootCountsChoices = [[0,0,0,10,10,0],[0,0,0,10,10,0],[10,10,0,0,0,0],[0,0,0,0,15,0]]; +_paraLoot = _paralootChoices select _lootIndex; +_paraLootCounts = _paralootCountsChoices select _lootIndex; // Throw in something more exotic than found at a normal blue mission. + +_endCondition = "allKilledOrPlayerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear" +//_timeOut = -1; +#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf"; diff --git a/@GMS/addons/custom_server/Missions/Red/junkyardWilly.sqf b/@GMS/addons/custom_server/Missions/Red/junkyardWilly.sqf new file mode 100644 index 0000000..93f662c --- /dev/null +++ b/@GMS/addons/custom_server/Missions/Red/junkyardWilly.sqf @@ -0,0 +1,59 @@ +/* +Mission Compositions by Ghostrider [GRG] for ghostridergaming +*/ +#include "\q\addons\custom_server\Configs\blck_defines.hpp"; +#include "\q\addons\custom_server\Missions\privateVars.sqf"; + +//diag_log "[blckeagls] Spawning Red Mission with template = default"; +_crateLoot = blck_BoxLoot_Red; +_lootCounts = blck_lootCountsRed; +_startMsg = "An enemy junkyard was sighted in a nearby sector! Check the Red marker on your map for the location!"; +_endMsg = "The Sector at the Red Marker is under survivor control!"; +_markerLabel = ""; +_markerType = ["ELLIPSE",[300,300],"Solid"]; +_markerColor = "ColorRed"; +_markerMissionName = "Junkyard"; +_missionLandscapeMode = "precise"; // acceptable values are "none","random","precise" +_missionLandscape = [ + ["Land_Wreck_Van_F",[-9.02148,-1.02734,0],0,[false,false]], + ["Land_Wreck_Truck_dropside_F",[-3.02148,-7.02734,2.38419e-007],0,[false,false]], + ["Land_Wreck_T72_hull_F",[4.97852,8.97266,0],0,[false,false]], + ["Land_Wreck_Slammer_turret_F",[-5.02148,4.97266,0],0,[false,false]], + ["Land_Wreck_Ural_F",[9.97852,2.97266,-2.38419e-007],0,[false,false]], + ["Land_Wreck_UAZ_F",[9.97852,-5.02734,-2.38419e-007],0,[false,false]], + ["Land_Wreck_Offroad2_F",[6.97852,-11.0273,0],0,[false,false]], + ["Land_Wreck_Offroad_F",[-9.02148,-10.0273,2.38419e-007],0,[false,false]], + ["Land_Wreck_Heli_Attack_02_F",[17.9785,12.9727,0],0,[false,false]], + ["Land_Wreck_Hunter_F",[-10.0215,14.9727,2.38419e-007],0,[false,false]], + ["Land_Wreck_Car3_F",[-16.0215,5.97266,0],0,[false,false]], + ["Land_Wreck_Car_F",[-15.0215,-6.02734,0],0,[false,false]], + ["Land_Wreck_Car2_F",[17.9785,-6.02734,2.38419e-007],0,[false,false]], + ["Land_Wreck_Truck_F",[3.97852,23.9727,0],0,[false,false]], + ["Land_Wreck_CarDismantled_F",[-1.02148,-16.0273,0],0,[false,false]], + ["Land_Wreck_BRDM2_F",[-21.0215,0.972656,0],0,[false,false]], + ["Land_Wreck_BMP2_F",[14.9785,-18.0273,0],0,[false,false]], + ["Flag_AAF_F",[4,4,0],0,[false,false]] +]; // list of objects to spawn as landscape +_missionLootBoxes = []; // Parameters are "Box Item Code", array defining the loot to be spawned, and position. +_missionLootVehicles = []; // Parameters are "Box Item Code", array defining the loot to be spawned, and position. +_missionEmplacedWeapons = []; // can be used to define the precise placement of static weapons [[1,2,3] /*loc 1*/, [2,3,4] /*loc 2*/]; if blank random locations will be used +_minNoAI = blck_MinAI_Red; +_maxNoAI = blck_MaxAI_Red; +_noAIGroups = blck_AIGrps_Red; +_noVehiclePatrols = blck_SpawnVeh_Red; +_noEmplacedWeapons = blck_SpawnEmplaced_Red; +// Change _useMines to true/false below to enable mission-specific settings. +#ifdef blck_useCUP +_uniforms = blck_CUPUniforms; +_weaponList = blck_CUPWeapons; +_vests = blck_CUPVests; +_backpacks = blck_CUPBackpacks; +_headgear = blck_CUPHeadgear; +#endif +#ifdef blck_useNIA +_weaponList = _weaponList + + blck_NIA_WeaponsSniper; +#endif + +_endCondition = "allKilledOrPlayerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear" +//_timeOut = -1; +#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf"; diff --git a/@GMS/addons/custom_server/Missions/Red/lager.sqf b/@GMS/addons/custom_server/Missions/Red/lager.sqf new file mode 100644 index 0000000..b43bdc5 --- /dev/null +++ b/@GMS/addons/custom_server/Missions/Red/lager.sqf @@ -0,0 +1,185 @@ +/* + Mission Template by Ghostrider [GRG] + Mission Compositions by Bill prepared for ghostridergaming + Copyright 2016 + Last modified 3/20/17 + + -------------------------- + License + -------------------------- + All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License. + + http://creativecommons.org/licenses/by-nc-sa/4.0/ +*/ +#include "\q\addons\custom_server\Configs\blck_defines.hpp"; +#include "\q\addons\custom_server\Missions\privateVars.sqf"; + +//diag_log "[blckeagls] Spawning Red Mission with template = default"; +_crateLoot = blck_BoxLoot_Red; +_lootCounts = blck_lootCountsRed; +_startMsg = "An enemy Camp was sighted in a nearby sector! Check the Red marker on your map for the location!"; +_endMsg = "The Camp at the Red Marker is under survivor control!"; +_markerLabel = ""; +_markerType = ["ELLIPSE",[300,300],"Solid"]; +_markerColor = "ColorRed"; +_markerMissionName = "Nachschublager"; +_missionLandscapeMode = "precise"; // acceptable values are "none","random","precise" + +////////// +// Past the output of the script here +_garrisonedBuildings_BuildingPosnSystem = [ +]; + +_garrisonedBuilding_ATLsystem = [ + ["Land_Cargo_Tower_V1_F",[-8.1167,-39.0396,-0.00143862],180.738,true,true,[["O_HMG_01_high_F",[-4.98901,13.312,-0.0121193],359.999],["O_HMG_01_high_F",[-4.88916,0.893799,17.8798],359.999],["O_GMG_01_high_F",[2.86377,5.15186,17.7791],0.00110346],["O_GMG_01_high_F",[3.12354,-4.59814,17.8788],0.00619121],["O_HMG_01_high_F",[8.82837,21.6572,-0.0121193],359.999],["O_GMG_01_high_F",[-3.55591,26.4539,-0.0118098],360]],[]], + ["Land_Cargo_Tower_V1_F",[-8.7854,37.2058,-0.00143862],180.738,true,true,[["O_HMG_01_high_F",[-4.1167,-15.228,-0.0121188],359.999],["O_GMG_01_high_F",[-5.05029,0.812012,17.8801],359.999],["O_HMG_01_high_F",[2.97925,4.90308,17.7791],359.995],["O_HMG_01_high_F",[3.02808,-5.19946,17.8776],359.987],["O_HMG_01_high_F",[9.59595,-22.2854,-0.0121188],359.999],["O_GMG_01_high_F",[-1.95337,-25.9678,-0.0118098],360]],[]], + ["Land_Cargo_HQ_V1_F",[41.5171,-35.4209,-0.00143814],88.7297,true,true,[["O_HMG_01_high_F",[-4.19043,0.419922,3.1134],360],["O_GMG_01_high_F",[1.2395,-6.33594,3.11891],359.998]],[]], + ["Land_Cargo_HQ_V1_F",[41.6394,35.6191,-0.00143814],271.277,true,true,[["O_HMG_01_high_F",[1.75781,6.54565,3.11813],359.998]],[]], + ["Land_Cargo_Patrol_V1_F",[58.7402,-14.1282,-0.00143814],179.058,true,true,[["O_HMG_01_high_F",[0.936523,-0.546631,4.55561],186.318],["O_HMG_01_high_F",[-8.49658,3.90869,-0.0121207],0.00101132]],[]], + ["Land_Cargo_Patrol_V1_F",[58.6057,14.2329,-0.00143814],359.375,true,true,[["O_GMG_01_high_F",[1.16113,-1.15356,4.33123],360],["O_HMG_01_high_F",[-8.44897,-1.0686,-0.0121198],359.999]],[]] +]; + +_missionLandscape = [ + //["babe_helper",[-3950.48,-2427.52,-0.00143862],0,true,true], + //["Sign_Arrow_Green_F",[-3947.98,-2428.02,-0.00143862],0,true,true], + //["Sign_Arrow_F",[-3947.98,-2428.02,-0.00143862],0,true,true], + //["Sign_Arrow_Yellow_F",[-3947.98,-2428.02,-0.00143862],0,true,true], + ["Land_LampHalogen_F",[-16.9238,-29.4194,-0.00143814],175.993,true,true], + ["Land_HBarrierBig_F",[-16.6211,-36.4802,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[-16.6907,-44.7676,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[-16.8193,-28.7813,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[-17.0107,-4.99146,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[-16.8831,-20.9722,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[-16.813,-12.6887,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[-16.9338,3.10571,-0.00143862],271.533,true,true], + ["Land_LampHalogen_F",[-17.1384,26.0154,-0.00143814],175.993,true,true], + ["Land_HBarrierBig_F",[-17.126,26.9011,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[-17.0623,19.092,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[-16.8643,11.3931,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[-17.0559,35.1846,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[-17.2517,42.8821,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[10.6238,-49.76,-0.00143862],1.58276,true,true], + ["Land_HBarrierBig_F",[4.90186,-29.2209,-0.00143862],181.755,true,true], + ["Land_HBarrierBig_F",[2.92627,-49.9541,-0.00143862],1.58276,true,true], + ["Land_HBarrierBig_F",[-3.42188,-29.1743,-0.00143862],181.755,true,true], + ["Land_HBarrierBig_F",[-5.36133,-49.8767,-0.00143862],1.58276,true,true], + ["Land_HBarrierBig_F",[-13.5088,-49.9219,-0.00143862],1.58276,true,true], + ["Land_HBarrierBig_F",[13.3582,-29.1738,-0.00143862],181.755,true,true], + ["Land_HBarrierBig_F",[-11.5808,-29.1753,-0.00143862],181.755,true,true], + ["Land_LampHalogen_F",[6.08081,-17.4399,-0.00143814],183.353,true,true], + ["Land_Cargo_House_V1_F",[5.85425,-11.7749,-0.00143862],178.957,true,true], + ["Land_Cargo_House_V1_F",[12.7263,-11.8384,-0.00143862],180.484,true,true], + ["Land_Cargo_House_V1_F",[6.03076,-23.2114,-0.00143862],0.530105,true,true], + ["Land_Cargo_House_V1_F",[-9.97656,-7.45703,-0.00143862],270.031,true,true], + ["Land_Cargo_House_V1_F",[-9.95679,-0.756836,-0.00143862],270.244,true,true], + ["Land_Cargo_House_V1_F",[12.6707,-23.292,-0.00143862],0.742551,true,true], + ["Land_LampHalogen_F",[4.89917,14.9739,-0.00143814],183.353,true,true], + ["Land_HBarrierBig_F",[3.46533,26.0403,-0.00143862],181.755,true,true], + ["Land_HBarrierBig_F",[-4.86035,26.0867,-0.00143862],181.755,true,true], + ["Land_HBarrierBig_F",[11.9197,26.0874,-0.00143862],181.755,true,true], + ["Land_HBarrierBig_F",[-13.1709,26.1252,-0.00143862],181.755,true,true], + ["Land_Cargo_House_V1_F",[-9.93091,6.11108,-0.00143862],268.716,true,true], + ["Land_Cargo_House_V1_F",[11.5469,20.5737,-0.00143862],180.484,true,true], + ["Land_Cargo_House_V1_F",[11.4912,9.12012,-0.00143862],0.742551,true,true], + ["Land_Cargo_House_V1_F",[4.6748,20.6372,-0.00143862],178.957,true,true], + ["Land_Cargo_House_V1_F",[4.79419,9.20044,-0.00143862],0.530105,true,true], + ["Land_HBarrierBig_F",[-13.959,47.9253,-0.00143862],1.51588,true,true], + ["Land_HBarrierBig_F",[10.1702,48.1106,-0.00143862],1.51588,true,true], + ["Land_HBarrierBig_F",[1.88428,48.1787,-0.00143862],1.51588,true,true], + ["Land_HBarrierBig_F",[-6.26294,48.124,-0.00143862],1.51588,true,true], + ["Land_LampHalogen_F",[37.4138,-49.6885,-0.00143814],86.6613,true,true], + ["Land_HBarrierBig_F",[18.4333,-49.7061,-0.00143862],1.58276,true,true], + ["Land_HBarrierBig_F",[21.7261,-29.1707,-0.00143862],181.755,true,true], + ["Land_HBarrierBig_F",[34.4153,-49.5938,-0.00143862],1.58276,true,true], + ["Land_HBarrierBig_F",[42.5332,-49.4375,-0.00143862],1.58276,true,true], + ["Land_HBarrierBig_F",[26.7168,-49.782,-0.00143862],1.58276,true,true], + ["Land_LampHalogen_F",[24.2969,-4.63354,-0.00143814],175.763,true,true], + ["Land_LampHalogen_F",[24.0779,2.92041,-0.00143814],175.763,true,true], + ["Land_HBarrierBig_F",[24.7175,-16.5247,-0.00143862],270.156,true,true], + ["Land_HBarrierBig_F",[24.5884,-8.51978,-0.00143862],270.156,true,true], + ["Land_HBarrierBig_F",[20.874,3.03345,-0.00143862],181.755,true,true], + ["Land_HBarrierBig_F",[24.8879,-24.3479,-0.00143862],270.156,true,true], + ["Land_HBarrierBig_F",[21.095,-4.52222,-0.00143862],181.755,true,true], + ["Land_Cargo_House_V1_F",[19.4255,-11.8789,-0.00143862],180.272,true,true], + ["Land_Cargo_House_V1_F",[19.5381,-23.3779,-0.00143862],359.215,true,true], + ["Land_HBarrierBig_F",[24.0823,6.26489,-0.00143862],270.156,true,true], + ["Land_HBarrierBig_F",[23.7832,22.0911,-0.00143862],270.156,true,true], + ["Land_HBarrierBig_F",[23.9121,14.0862,-0.00143862],270.156,true,true], + ["Land_HBarrierBig_F",[20.2896,26.0906,-0.00143862],181.755,true,true], + ["Land_Cargo_House_V1_F",[18.3564,9.03589,-0.00143862],359.215,true,true], + ["Land_Cargo_House_V1_F",[18.2441,20.533,-0.00143862],180.272,true,true], + ["Land_LampHalogen_F",[37.1499,49.4319,-0.00143814],270.972,true,true], + ["Land_HBarrierBig_F",[17.8696,48.312,-0.00143862],1.51588,true,true], + ["Land_HBarrierBig_F",[33.9624,48.3108,-0.00143862],1.51588,true,true], + ["Land_HBarrierBig_F",[25.6785,48.3774,-0.00143862],1.51588,true,true], + ["Land_HBarrierBig_F",[41.6587,48.5078,-0.00143862],1.51588,true,true], + ["Land_HBarrierBig_F",[53.832,-28.3086,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[53.8938,-44.4204,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[53.9326,-36.322,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[50.8213,-49.5146,-0.00143862],1.58276,true,true], + ["Land_LampHalogen_F",[61.6257,-8.93774,-0.00143814],183.353,true,true], + ["Land_HBarrierBig_F",[53.5598,-12.5808,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[58.1006,-9.04248,-0.00143862],180.639,true,true], + ["Land_HBarrierBig_F",[53.6702,-20.0735,-0.00143862],271.533,true,true], + ["Land_LampHalogen_F",[61.2739,9.27808,-0.00143814],183.353,true,true], + ["Land_HBarrierBig_F",[57.9741,9.22607,-0.00143862],180.457,true,true], + ["Land_HBarrierBig_F",[53.0159,20.7566,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[53.2136,13.0596,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[53.0928,28.8538,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[53.1624,37.1411,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[52.9644,44.8403,-0.00143862],271.533,true,true], + ["Land_HBarrierBig_F",[49.8362,48.4373,-0.00143862],1.51588,true,true] +]; + +_missionLootBoxes = [ + //["Exile_Container_SupplyBox",[-2.28174,0.128662,-0.00143862],_crateLoot,_lootCounts,0.000181514] +]; + +_missionLootVehicles = [ +]; + +_missionPatrolVehicles = [ + ["Exile_Car_Hunter",[24.8054,-67.8333,0.00875282],89.6558], + ["Exile_Car_HEMMT",[24.8997,69.1799,-0.00138235],91.5468], + ["O_LSV_02_armed_F",[74.0911,1.21655,-0.0377212],359.999] +]; + +_submarinePatrolParameters = [ +]; + +_airPatrols = [ +]; + +_missionEmplacedWeapons = []; // + + + +////////// +// The lines below define additional variables you may wish to configure. + + +// Change _useMines to true/false below to enable mission-specific settings. +_useMines = blck_useMines; +_minNoAI = blck_MinAI_Red; +_maxNoAI = blck_MaxAI_Red; +_noAIGroups = blck_AIGrps_Red; +_noVehiclePatrols = blck_SpawnVeh_Red; +_noEmplacedWeapons = blck_SpawnEmplaced_Red; +//_uniforms = blck_SkinList; +//_headgear = blck_headgear; + +_chancePara = 0.75; // Setting this in the mission file overrides the defaults +_noPara = 5; // Setting this in the mission file overrides the defaults +_paraTriggerDistance = 400; // Distance from mission at which a player triggers these reinforcements and any supplemental loot. // To have paras spawn at the time the mission spawns with/without accompanying loot set this to 0. +_paraSkill = "Red"; // Choose any skill you like; bump up skill or add AI to justify more valuable loot. + +_chanceLoot = 0.7; +private _lootIndex = selectRandom[1,2,3,4]; +private _paralootChoices = [blck_contructionLoot,blck_contructionLoot,blck_highPoweredLoot,blck_supportLoot]; +private _paralootCountsChoices = [[0,0,0,10,10,0],[0,0,0,10,10,0],[10,10,0,0,0,0],[0,0,0,0,15,0]]; +_paraLoot = _paralootChoices select _lootIndex; +_paraLootCounts = _paralootCountsChoices select _lootIndex; // Throw in something more exotic than found at a normal blue mission. + +_endCondition = "allKilledOrPlayerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear" +//_timeOut = -1; +#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf"; diff --git a/@GMS/addons/custom_server/Missions/Red/tko_camp.sqf b/@GMS/addons/custom_server/Missions/Red/tko_camp.sqf new file mode 100644 index 0000000..c211921 --- /dev/null +++ b/@GMS/addons/custom_server/Missions/Red/tko_camp.sqf @@ -0,0 +1,174 @@ +/* + Mission Template by Ghostrider [GRG] + Mission Compositions by Bill prepared for ghostridergaming + Copyright 2016 + Last modified 3/20/17 + + -------------------------- + License + -------------------------- + All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License. + + http://creativecommons.org/licenses/by-nc-sa/4.0/ +*/ +#include "\q\addons\custom_server\Configs\blck_defines.hpp"; +#include "\q\addons\custom_server\Missions\privateVars.sqf"; + +//diag_log "[blckeagls] Spawning Red Mission with template = default"; +_crateLoot = blck_BoxLoot_Red; +_lootCounts = blck_lootCountsRed; +_startMsg = "An enemy Military Camp was sighted in a nearby sector! Check the Red marker on your map for the location!"; +_endMsg = "The Military Camp at the Red Marker is under survivor control!"; +_markerLabel = ""; +_markerType = ["ELLIPSE",[300,300],"Solid"]; +_markerColor = "ColorRed"; +_markerMissionName = "Military Camp"; +_missionLandscapeMode = "precise"; // acceptable values are "none","random","precise" + +////////// +// Past the output of the script here +_garrisonedBuildings_BuildingPosnSystem = [ +]; + +_garrisonedBuilding_ATLsystem = [ + ["Land_Cargo_House_V3_F",[8.00928,15.6453,-0.00143909],0,true,true,[["B_HMG_01_high_F",[-8.28516,3.27148,-0.0121188],0.000433404]],[]] +]; + +_missionLandscape = [ + //["babe_helper",[-3327.46,-2809.42,-0.00143909],0,true,true], + //["Sign_Arrow_Green_F",[-3324.96,-2809.92,-0.00143909],0,true,true], + //["Sign_Arrow_F",[-3324.96,-2809.92,-0.00143909],0,true,true], + //["Sign_Arrow_Yellow_F",[-3324.96,-2809.92,-0.00143909],0,true,true], + ["Land_HBarrier_Big_F",[-2.76221,-30.3596,-0.00143909],0,true,true], + ["Land_HBarrier_1_F",[-9.74463,-27.0081,-0.00143909],180,true,true], + ["Land_BagFence_Long_F",[-9.74268,-29.0042,-0.00143909],270,true,true], + ["Land_BagFence_Long_F",[-8.36182,-30.3743,-0.00143909],180,true,true], + ["CamoNet_OPFOR_open_F",[-0.361816,-1.01782,-0.00143909],180,true,true], + ["Land_HBarrier_3_F",[-15.3853,-13.9866,-0.00143909],315,true,true], + ["Land_HBarrier_Big_F",[-3.61768,-5.26782,-0.00143909],180,true,true], + ["Land_HBarrier_Big_F",[-5.46533,3.40405,-0.00143909],0,true,true], + ["Land_HBarrier_Big_F",[-18.5767,-14.5354,-0.00143909],45,true,true], + ["Land_HBarrier_Big_F",[-12.4985,-20.3987,-0.00143909],45,true,true], + ["Land_HBarrier_1_F",[-22.9692,-2.77563,-0.00143909],270,true,true], + ["Land_HBarrier_1_F",[-23.3423,0.478271,-0.00143909],15,true,true], + ["Land_BagFence_Long_F",[-24.5767,-9.90649,-0.00143909],315,true,true], + ["Land_BagFence_Long_F",[-22.8071,-8.13794,-0.00143909],315,true,true], + ["Land_BagFence_Long_F",[-18.7427,-12.3811,-0.00143909],315,true,true], + ["Land_BagFence_Long_F",[-23.2368,2.26245,-0.00143909],90,true,true], + ["Land_BagFence_Long_F",[-21.8657,6.25952,-0.00143909],0,true,true], + ["Land_BagFence_Long_F",[-22.3657,-13.8772,-0.00143909],135,true,true], + ["Land_BagFence_Long_F",[-9.74268,-25.1174,-0.00143909],90,true,true], + ["Land_BagFence_Long_F",[-18.5649,-8.3147,-0.00143909],45,true,true], + ["Land_BagFence_Long_F",[-23.2368,4.88843,-0.00143909],90,true,true], + ["Land_BagFence_Long_F",[-25.2192,0.111084,-0.00143909],0,true,true], + ["Land_BagFence_Long_F",[-25.2192,-2.76587,-0.00143909],0,true,true], + ["Land_BagFence_Long_F",[-26.5884,-1.39282,-0.00143909],270,true,true], + ["Land_BagFence_Long_F",[-24.3989,-13.9709,-0.00143909],225,true,true], + ["Land_BagFence_Round_F",[-17.5747,-10.4006,-0.00143909],270,true,true], + ["Land_BagFence_Round_F",[-25.5493,-11.9026,-0.00143909],90,true,true], + ["Land_BagFence_Round_F",[-20.7212,-7.07642,-0.00143909],180,true,true], + ["Land_BagFence_End_F",[-9.7583,-23.3167,-0.00143909],270,true,true], + ["Land_Cargo_Patrol_V3_F",[-10.9263,-16.053,-0.00143862],45,true,true], + ["Land_Cargo_House_V3_F",[-3.09424,-20.7424,-0.00143909],180,true,true], + ["CamoNet_OPFOR_open_F",[-0.225098,8.17163,-0.00143909],0,true,true], + ["Land_HBarrier_3_F",[-1.85596,17.1208,-0.00143909],180,true,true], + ["Land_HBarrier_3_F",[-2.70752,19.4275,-0.00143909],90,true,true], + ["Land_HBarrier_Big_F",[-19.6177,9.36694,-0.00143909],270,true,true], + ["Land_HBarrier_Big_F",[-19.6646,17.5466,-0.00143909],90,true,true], + ["Land_HBarrier_1_F",[-4.93994,9.58374,-0.00143909],270,true,true], + ["Land_HBarrier_1_F",[-16.4673,27.1775,-0.00143909],285,true,true], + ["Land_HBarrier_1_F",[-2.68408,25.3513,-0.00143909],120,true,true], + ["Land_BagFence_Long_F",[-2.30908,23.7244,-0.00143909],270,true,true], + ["Land_BagFence_Long_F",[-19.7173,23.0505,-0.00143909],270,true,true], + ["Land_BagFence_Long_F",[-19.7153,25.9265,-0.00143909],270,true,true], + ["Land_BagFence_Long_F",[-18.3462,27.4314,-0.00143909],0,true,true], + ["Land_Cargo_Patrol_V3_F",[-15.4087,10.7146,-0.00143862],90,true,true], + ["Land_HBarrier_5_F",[-15.7407,14.7517,-0.00143909],0,true,true], + ["Land_HBarrier_5_F",[-6.33838,7.41382,-0.00143909],270,true,true], + ["Land_HBarrier_Big_F",[4.87646,-28.4124,-0.00143909],330,true,true], + ["Land_HBarrier_3_F",[10.5171,0.540771,-0.00143909],0,true,true], + ["Land_HBarrier_3_F",[11.3687,-7.17212,-0.00143909],270,true,true], + ["Land_HBarrier_Big_F",[23.0171,-13.6155,-0.00143909],285,true,true], + ["Land_HBarrier_Big_F",[3.04834,3.62964,-0.00143909],1.36604e-005,true,true], + ["Land_HBarrier_Big_F",[11.8745,-23.9084,-0.00143909],330,true,true], + ["Land_HBarrier_Big_F",[7.90967,0.343506,-0.00143909],90,true,true], + ["Land_HBarrier_Big_F",[24.978,-5.36938,-0.00143909],285,true,true], + ["Land_HBarrier_Big_F",[11.2808,-4.62427,-0.00143909],180,true,true], + ["Land_HBarrier_Big_F",[25.9077,2.68921,-0.00143909],270,true,true], + ["Land_HBarrier_1_F",[4.35498,-2.41431,-0.00143909],90,true,true], + ["Land_HBarrier_1_F",[21.0073,-21.7493,-0.00143909],30,true,true], + ["Land_BagFence_Long_F",[19.1304,-21.6174,-0.00143909],0,true,true], + ["Land_BagFence_Long_F",[16.5073,-21.6174,-0.00143909],0,true,true], + ["Land_BagFence_Long_F",[7.89795,6.07788,-0.00143909],270,true,true], + ["Land_Loudspeakers_F",[21.2026,-15.3088,-0.00143909],196,true,true], + ["Land_HBarrier_5_F",[17.7847,6.20483,-0.00143909],270,true,true], + ["Land_HBarrier_5_F",[11.3823,-11.5022,-0.00143909],270,true,true], + ["Land_HBarrier_5_F",[5.75146,-0.244385,-0.00143909],90,true,true], + ["Land_Cargo_House_V3_F",[5.49561,-9.99927,-0.00143909],90,true,true], + ["Land_Cargo_House_V3_F",[5.03076,-17.6174,-0.00143909],150,true,true], + ["CamoNet_OPFOR_open_F",[22.6538,9.88257,-0.00143909],270,true,true], + ["Land_HBarrier_3_F",[18.7593,9.75757,-0.00143909],0,true,true], + ["Land_HBarrier_Big_F",[9.20264,21.2849,-0.00143909],180,true,true], + ["Land_HBarrier_Big_F",[15.9546,18.7849,-0.00143909],225,true,true], + ["Land_HBarrier_Big_F",[22.4077,16.1892,-0.00143909],0,true,true], + ["Land_HBarrier_Big_F",[0.70459,21.283,-0.00143909],180,true,true], + ["Land_HBarrier_Big_F",[25.7827,11.0642,-0.00143909],90,true,true], + ["Land_BagFence_Long_F",[4.57764,19.0466,-0.00143909],270,true,true], + ["Land_BagFence_Long_F",[4.57764,16.1716,-0.00143909],270,true,true], + ["Land_BagFence_Long_F",[11.3843,19.2634,-0.00143909],90,true,true], + ["Land_BagFence_End_F",[4.57764,14.4216,-0.00143909],90,true,true], + ["Land_BagFence_End_F",[7.68896,7.77515,-0.00143909],240,true,true], + ["Land_BagFence_End_F",[11.3843,17.5134,-0.00143909],90,true,true] +]; + +_missionLootBoxes = [ + //["Exile_Container_SupplyBox",[1.55273,0.0065918,-0.00143957],_crateLoot,_lootCounts,0.000522983] +]; + +_missionLootVehicles = [ +]; + +_missionPatrolVehicles = [ + //["B_LSV_01_armed_F",[-41.377,-5.40894,-0.0238895],0.00171121], + ["B_LSV_01_armed_F",[39.5627,-5.26709,-0.0237107],0.00169144] +]; + +_submarinePatrolParameters = [ +]; + +_airPatrols = [ +]; + +_missionEmplacedWeapons = []; // + + + +////////// +// The lines below define additional variables you may wish to configure. + + +// Change _useMines to true/false below to enable mission-specific settings. +_useMines = blck_useMines; +_minNoAI = blck_MinAI_Red; +_maxNoAI = blck_MaxAI_Red; +_noAIGroups = blck_AIGrps_Red; +_noVehiclePatrols = blck_SpawnVeh_Red; +_noEmplacedWeapons = blck_SpawnEmplaced_Red; +//_uniforms = blck_SkinList; +//_headgear = blck_headgear; + +_chancePara = 0.75; // Setting this in the mission file overrides the defaults +_noPara = 5; // Setting this in the mission file overrides the defaults +_paraTriggerDistance = 400; // Distance from mission at which a player triggers these reinforcements and any supplemental loot. // To have paras spawn at the time the mission spawns with/without accompanying loot set this to 0. +_paraSkill = "Red"; // Choose any skill you like; bump up skill or add AI to justify more valuable loot. + +_chanceLoot = 0.7; +private _lootIndex = selectRandom[1,2,3,4]; +private _paralootChoices = [blck_contructionLoot,blck_contructionLoot,blck_highPoweredLoot,blck_supportLoot]; +private _paralootCountsChoices = [[0,0,0,10,10,0],[0,0,0,10,10,0],[10,10,0,0,0,0],[0,0,0,0,15,0]]; +_paraLoot = _paralootChoices select _lootIndex; +_paraLootCounts = _paralootCountsChoices select _lootIndex; // Throw in something more exotic than found at a normal blue mission. + +_endCondition = "allKilledOrPlayerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear" +//_timeOut = -1; +#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf"; diff --git a/@GMS/addons/custom_server/Missions/Static/Code/GMS_fnc_sm_initializeMission.sqf b/@GMS/addons/custom_server/Missions/Static/Code/GMS_fnc_sm_initializeMission.sqf index 8251319..a9875a1 100644 --- a/@GMS/addons/custom_server/Missions/Static/Code/GMS_fnc_sm_initializeMission.sqf +++ b/@GMS/addons/custom_server/Missions/Static/Code/GMS_fnc_sm_initializeMission.sqf @@ -10,8 +10,7 @@ */ #include "\q\addons\custom_server\Configs\blck_defines.hpp"; params["_mission"]; -// Spawn landscape -// params["_objects"]; + if (isNil "_markerColor") then {_markerColor = "ColorBlack"}; if (isNil "_markerType") then {_markerType = ["mil_box",[]]}; if (isNil "_missionLandscape") then {_missionLandscape = []}; @@ -28,7 +27,10 @@ if (isNil "_aiGroupParameters") then {_aiGroupParameters = []}; if (isNil "_missionEmplacedWeapons") then {_missionEmplacedWeapons = []}; if (isNil "_vehiclePatrolParameters") then {_vehiclePatrolParameters = []}; if (isNil "_missionLootVehicles") then {_missionLootVehicles = []}; - +if (isNil "_crateMoney") then +{ + missionNamespace setVariable["_crateMoney",missionNamespace getVariable "blck_crateMoneyOrange"]; +}; _markerClass = format["static%1",floor(random(1000000))]; _blck_localMissionMarker = [_markerClass,_missionCenter,"","",_markerColor,_markerType]; if (blck_labelMapMarkers select 0) then diff --git a/@GMS/addons/custom_server/Missions/Static/GMS_StaticMissions_init.sqf b/@GMS/addons/custom_server/Missions/Static/GMS_StaticMissions_init.sqf index 26b0356..068ce9b 100644 --- a/@GMS/addons/custom_server/Missions/Static/GMS_StaticMissions_init.sqf +++ b/@GMS/addons/custom_server/Missions/Static/GMS_StaticMissions_init.sqf @@ -10,9 +10,6 @@ http://creativecommons.org/licenses/by-nc-sa/4.0/ */ #include "\q\addons\custom_server\Configs\blck_defines.hpp"; -//diag_log "[blckeagls] GMS_StaticMissions_init.sqf "; -//static mission descriptor for code: [position,level, numAI or [min,maxAI],patrolRadius, respawn, group[groupNull],spawnedAt[0],respawn[0]] -#include "\q\addons\custom_server\Configs\blck_defines.hpp"; #include "\q\addons\custom_server\Missions\Static\GMS_StaticMissions_Lists.sqf"; blck_sm_Infantry = []; @@ -34,7 +31,8 @@ blck_sm_patrolRespawnInterval = 600; { if ((toLower blck_modType) isEqualTo (toLower(_x select 0))) then { - call compilefinal preprocessFileLineNumbers format["\q\addons\custom_server\Missions\Static\missions\%1",(_x select 2)]; + [] call compilefinal preprocessFileLineNumbers format["\q\addons\custom_server\Missions\Static\missions\%1",(_x select 2)]; + diag_log format["_initializing static mission %1 for mod type %2",_x select 1,blck_modType]; }; }; }forEach _staticMissions; diff --git a/@GMS/addons/custom_server/Missions/Static/missions/privateVars.sqf b/@GMS/addons/custom_server/Missions/Static/missions/privateVars.sqf index c479e4c..29adbeb 100644 --- a/@GMS/addons/custom_server/Missions/Static/missions/privateVars.sqf +++ b/@GMS/addons/custom_server/Missions/Static/missions/privateVars.sqf @@ -2,10 +2,14 @@ private ["_mission","_difficulty","_crateLoot","_lootCounts","_markerMissionName","_missionLandscapeMode","_markerLabel", "_endMsg","_startMsg","_markerType","_markerColor","_missionCenter", - "_missionLandscape","_missionLootBoxes","_missionLootVehicles","_missionEmplacedWeapons","_garrisonedBuilding_ASLsystem","_garrisonedBuildings_BuildingPosnSystem", + "_missionLandscape","_missionLootBoxes","_crateMoney","_missionLootVehicles", + "_missionEmplacedWeapons","_garrisonedBuilding_ASLsystem","_garrisonedBuildings_BuildingPosnSystem", "_minNoAI","_maxNoAI","_noAIGroups","_noVehiclePatrols","_noEmplacedWeapons","_noPara","_helipatrol","_aircraftTypes", "_uniforms","_headgear","_weaponList","_sideArms","_vests","_backpacks", - "_weapons","_sideArms","_chanceReinforcements","_endCondition", - "_useMines"]; + "_weapons","_sideArms", + "_chanceReinforcements", + "_endCondition", + "_useMines" +]; // _mission diff --git a/@GMS/addons/custom_server/Missions/Static/missions/template.sqf b/@GMS/addons/custom_server/Missions/Static/missions/template.sqf new file mode 100644 index 0000000..c9f0027 --- /dev/null +++ b/@GMS/addons/custom_server/Missions/Static/missions/template.sqf @@ -0,0 +1,174 @@ + + +/* + This is a simple mission using precisely placed loot crates and infantry, static weapons and vehicle patrols. + See the accompanying example mission in the exampleMission folder to get an idea how I laid this out. + Note that I exported the mission using the exportAll function of M3EDEN editor. +*/ + +#include "privateVars.sqf"; + +_mission = "static mission template"; // Included for additional documentation. Not intended to be spawned as a mission per se. + +_difficulty = "red"; // Skill level of AI (blue, red, green etc) + +_crateLoot = blck_BoxLoot_Orange; // You can use a customized _crateLoot configuration by defining an array here. It must follow the following format shown for a hypothetical loot array called _customLootArray + /* + _customLootArray = + // Loot is grouped as [weapons],[magazines],[items] in order to be able to use the correct function to load the item into the crate later on. + // Each item consist of the following information ["ItemName",minNum, maxNum] where min is the smallest number added and min+max is the largest number added. + + [ + [// Weapons + + ["srifle_DMR_06_olive_F","20Rnd_762x51_Mag"] + ], + [//Magazines + ["10Rnd_93x64_DMR_05_Mag" ,1,5] + ], + [ // Optics + ["optic_KHS_tan",1,3] + ], + [// Materials and supplies + ["Exile_Item_MetalScrews",3,10] + // + ], + [//Items + ["Exile_Item_MountainDupe",1,3] + ], + [ // Backpacks + ["B_OutdoorPack_tan",1,2] + ] + ]; + */ + +_lootCounts = blck_lootCountsRed; // You can use a customized set of loot counts or one that is predefined but it must follow the following format: + // values are: number of things from the weapons, magazines, optics, materials(cinder etc), items (food etc) and backpacks arrays to add, respectively. + // blck_lootCountsOrange = [[6,8],[24,32],[5,10],[25,35],16,1]; // Orange + +/**************************************************** + + PLACE MARKER DEFINITIONS PULLED FROM YOUR MISSION BELOW + +*****************************************************/ + +_missionCenter = [2634.41,22127.7,0]; +_markerType = ["mil_box",[0,0]]; +_markerColor = "Default"; +_markerMissionName = "Bad News Bears"; +_markerLabel = ""; + +/**************************************************** + + PLACE THE DATA DEFININING THE BUILDINGS, VEHICLES ETC. PULLED FROM YOUR MISSION BELOW + +*****************************************************/ + +_garrisonedBuildings_BuildingPosnSystem = [ + ["Land_Cargo_Tower_V1_No5_F",[2631.25,22161.8,2.63358],[[0,1,0],[0,0,1]],[true,true],"Red",0.67,3,10,4,600,-1] +]; + +_garrisonedBuilding_ASLsystem = [ + ["Land_Cargo_Tower_V1_No7_F",[2596.24,22093.9,11.1251],[[-0.994659,0.103214,0],[0,0,1]],[true,true],"Red",[["B_HMG_01_high_F",[3.66943,-4.49414,13.1028],98.8724],["B_HMG_01_high_F",[3.71802,-3.34766,18.3248],103.27],["B_HMG_01_high_F",[-1.64502,-0.0644531,20.9188],301.323]],[[[-1.80713,-3.39844,8.5904],0],[[-1.89453,1.23047,4.64288],0],[[-0.999268,-0.117188,17.9661],0],[[0.122314,-2.62891,17.8909],0]],600,-1] +]; + +_missionLandscape = [ + ["Land_Razorwire_F",[2598.06,22077.2,6.61092],[[-0.825716,0.564085,0],[0,0,1]],[true,true]], + ["Land_Razorwire_F",[2593.09,22069.8,5.63825],[[-0.825716,0.564085,0],[0,0,1]],[true,true]], + ["Land_HBarrier_01_wall_6_green_F",[2603.93,22074.2,3.31451],[[-0.808148,0.353358,0.471206],[0.188556,-0.602713,0.77536]],[true,true]], + ["Land_Razorwire_F",[2608.05,22092.6,8.92718],[[-0.825716,0.564085,0],[0,0,1]],[true,true]], + ["Land_Razorwire_F",[2603.25,22085.6,9.1608],[[-0.825716,0.564085,0],[0,0,1]],[true,true]], + ["Land_HBarrier_01_wall_6_green_F",[2608.26,22080.8,5.0178],[[-0.697721,0.426652,0.575459],[0.530202,-0.232641,0.815331]],[true,true]], + ["Land_HBarrier_01_big_tower_green_F",[2592.15,22140.3,12.675],[[-0.929912,0.317024,0.186437],[0.194858,-0.0052352,0.980817]],[true,true]], + ["Land_HBarrier_01_wall_6_green_F",[2623.27,22105.6,6.0089],[[-0.787623,0.527981,0.317625],[0.289688,-0.137655,0.94717]],[true,true]], + ["Land_HBarrier_01_wall_6_green_F",[2612.98,22088,6.26459],[[-0.756164,0.472755,0.452459],[0.39451,-0.222304,0.891595]],[true,true]], + ["Land_HBarrier_01_wall_6_green_F",[2616.91,22095.1,6.58389],[[-0.768901,0.525395,0.364351],[0.356306,-0.121062,0.926493]],[true,true]], + ["Land_Razorwire_F",[2638.69,22136.7,3.22351],[[-0.825716,0.564085,0],[0,0,1]],[true,true]], + ["Land_Razorwire_F",[2633.59,22130.4,4.14247],[[-0.825716,0.564085,0],[0,0,1]],[true,true]], + ["Land_Razorwire_F",[2622.16,22119,7.20263],[[-0.825716,0.564085,0],[0,0,1]],[true,true]], + ["Land_Razorwire_F",[2628.34,22125.8,5.64734],[[-0.825716,0.564085,0],[0,0,1]],[true,true]], + ["Land_HBarrier_01_wall_corridor_green_F",[2638,22122.4,3.50001],[[-0.562069,0.827048,0.00837636],[0.0598924,0.0305983,0.997736]],[true,true]], + ["Land_HBarrier_01_big_tower_green_F",[2631.69,22115.2,4.81262],[[-0.816498,0.552055,0.169019],[0.211131,0.0130311,0.977371]],[true,true]], + ["Land_HBarrier_01_wall_6_green_F",[2627.84,22112.4,5.65952],[[-0.815257,0.559665,0.148765],[0.136056,-0.0645887,0.988593]],[true,true]], + ["Land_HBarrier_01_wall_6_green_F",[2633.06,22120.1,4.36103],[[-0.81511,0.577092,0.0506065],[0.137352,0.107655,0.984655]],[true,true]], + ["Sign_Sphere100cm_F",[2633.58,22161.5,20.3391],[[0,1,0],[0,0,1]],[true,true]], + ["Land_HBarrier_01_wall_6_green_F",[2642.79,22128,2.86908],[[-0.818151,0.573521,0.0412504],[0.107375,0.0819095,0.990839]],[true,true]], + ["Land_HBarrier_01_wall_6_green_F",[2647.64,22134.9,2.09253],[[-0.822645,0.568343,0.0155369],[0.0253224,0.00932551,0.999636]],[true,true]], + ["Land_Razorwire_F",[2652.06,22150.5,1.93652],[[-0.825716,0.564085,0],[0,0,1]],[true,true]], + ["Land_Razorwire_F",[2642.87,22141.5,2.79323],[[-0.825716,0.564085,0],[0,0,1]],[true,true]], + ["Land_Razorwire_F",[2647.34,22145.8,2.48597],[[-0.825716,0.564085,0],[0,0,1]],[true,true]], + ["Land_Razorwire_F",[2656.23,22155.4,1.36567],[[-0.825716,0.564085,0],[0,0,1]],[true,true]], + ["Land_HBarrier_01_wall_6_green_F",[2651.93,22142,1.89926],[[-0.822376,0.56825,0.0280985],[0.0359766,0.00265033,0.999349]],[true,true]], + ["Land_HBarrier_01_wall_6_green_F",[2656.98,22149,1.16155],[[-0.818034,0.570454,0.0735002],[0.108685,0.0278236,0.993687]],[true,true]] +]; + +_aiGroupParameters = [ + [[2558.96,22127.2,20.5699],"Red",[3,6],45,600,-1], + [[2590.38,22150.9,12.6152],"Red",[3,6],45,600,-1], + [[2581.74,22146.4,30.8829],"Red",[3,6],45,600,-1], + [[2644.55,22157.2,1.88187],"Red",[3,6],45,600,-1] +]; + +_aiScubaGroupParameters = [ +]; + +_vehiclePatrolParameters = [ + ["B_CTRG_LSV_01_light_F",[2609.08,22134.8,9.4568],"Red",75,600,-1], + ["B_G_Offroad_01_armed_F",[2665.47,22098.3,3.79465],"Red",75,600,-1], + ["B_Boat_Armed_01_minigun_F",[2638.39,22009,0],"Red",75,600,-1], + ["B_Boat_Armed_01_minigun_F",[2720.73,22177.5,0],"Red",75,600,-1] +]; + +_airPatrols = [ +]; + +_missionEmplacedWeapons = [ + ["B_HMG_01_high_F",[2593.12,22140.1,14.7976],"Red",0,600,-1], + ["B_HMG_01_high_F",[2632.61,22114.4,6.81314],"Red",0,600,-1], + ["B_HMG_01_high_F",[2656.01,22126.7,2.09379],"Red",0,600,-1] +]; + +_submarinePatrolParameters = [ +]; + +_missionLootBoxes = [ + ["O_CargoNet_01_ammo_F",[2589.45,22117.3,11.7155],[[0,0.999353,-0.0359766],[0.245575,0.0348749,0.96875]],[true,false],_crateLoot,_lootCounts], + ["O_CargoNet_01_ammo_F",[2596.74,22152.1,11.5449],[[0,0.998974,-0.0452868],[0.203641,0.0443379,0.978041]],[true,false],_crateLoot,_lootCounts] +]; + + + +/**************************************************** + + ENABLE ANY SETTINGS YOU LIKE FROM THE LIST BELOW. + iF THESE ARE NOT ENABLED THEN THE DEFAULTS DEFINED IN BLCK_CONFIG.SQF + AND THE MOD-SPECIFIC CONFIGURATIONS WILL BE USED. + +*****************************************************/ + +/* +_missionLandscapeMode = "precise"; // acceptable values are "random","precise" + // In precise mode objects will be spawned at the relative positions specified. + // In the random mode, objects will be randomly spawned within the mission area. + +_aircraftTypes = blck_patrolHelisRed; // You can use one of the pre-defined lists in blck_configs or your own custom array. +_noAirPatrols = blck_noPatrolHelisRed; // You can use one of the pre-defined values or a custom one. acceptable values are integers (1,2,3) or a range such as [2,4]; + // Note: this value is ignored if you specify air patrols in the array below. +// Change _useMines to true/false below to enable mission-specific settings. +_useMines = blck_useMines; // Set to false if you have vehicles patrolling nearby. +_uniforms = blck_SkinList; // You can replace this list with a custom list of uniforms if you like. +_headgear = blck_headgear; // You can replace this list with a custom list of headgear. +_vests = blck_vests; // You can replace this list with a custom list of vests. +_backpacks = blck_backpacks; // You can replace this list with a custom list of backpacks. +_weapons = blck_WeaponList_Orange; // You can replace this list with a customized list of weapons, or another predifined list from blck_configs_epoch or blck_configs_exile as appropriate. +_sideArms = blck_pistols; // You can replace this list with a custom list of sidearms. +*/ + + +//******************************************************** +// Do not modify anything below this line. +//******************************************************** + +#include "\q\addons\custom_server\Missions\Static\Code\GMS_fnc_sm_initializeMission.sqf"; + +diag_log format["[blckeagls static missions] COMPLETED initializing middions %1 position at %2 difficulty %3",_mission,_missionCenter,_difficulty]; \ No newline at end of file diff --git a/@GMS/addons/custom_server/init/blck_init_server.sqf b/@GMS/addons/custom_server/init/blck_init_server.sqf index e9286be..50d8bd1 100644 --- a/@GMS/addons/custom_server/init/blck_init_server.sqf +++ b/@GMS/addons/custom_server/init/blck_init_server.sqf @@ -101,8 +101,8 @@ switch (blck_simulationManager) do case 0: {["[blckeagls] simulation management disabled"] call blck_fnc_log}; }; -[format["[blckeagls] version %1 Build %2 Loaded in %3 seconds",blck_versionNumber,blck_buildNumber,diag_tickTime - _blck_loadingStartTime]] call blck_fnc_log; -[format["[blckeagls] waiting for players to join ---- >>>>"]] call blck_fnc_log; +[format["Version %1 Build %2 Loaded in %3 seconds",blck_versionNumber,blck_buildNumber,diag_tickTime - _blck_loadingStartTime]] call blck_fnc_log; +[format["Waiting for players to join ---- >>>>"]] call blck_fnc_log; if ( !(blck_debugON) && (blck_debugLevel isEqualTo 0)) then { @@ -199,5 +199,5 @@ blck_graveyardGroup setVariable ["blck_group",1]; [] spawn blck_fnc_mainThread; blck_pvs_version = blck_versionNumber; publicVariable "blck_pvs_version"; -[format["[blckeagls] version %1 Build %2 Date %4 Loaded in %3 seconds",blck_versionNumber,blck_buildNumber,diag_tickTime - _blck_loadingStartTime,blck_buildDate]] call blck_fnc_log; +[format["Version %1 Build %2 Date %4 Loaded in %3 seconds",blck_versionNumber,blck_buildNumber,diag_tickTime - _blck_loadingStartTime,blck_buildDate]] call blck_fnc_log; diff --git a/@GMS/addons/custom_server/init/build.sqf b/@GMS/addons/custom_server/init/build.sqf index 811202a..753c9a0 100644 --- a/@GMS/addons/custom_server/init/build.sqf +++ b/@GMS/addons/custom_server/init/build.sqf @@ -1,4 +1,4 @@ -#define blck_buildNumber 215 +#define blck_buildNumber 218 #define blck_versionNumber 7.00 -#define blck_buildDate "8-10-20" +#define blck_buildDate "8-29-20"