blckeagles-revisited-RC/@GMS/addons/custom_server/Missions/Red/redCamp.sqf
Ghostrider-GRG- 461b89b44c Build 141
fixed an issue with Hostage missions.
Fixed an issue whereby collisions between objects at missions caused them to fly about.
Changed the default for some objects to allow damage which should increase realism and make certain player tasks like loading crates easier.
2018-06-19 08:03:50 -04:00

116 lines
7.6 KiB
Plaintext

/*
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 = redCamp";
_crateLoot = blck_BoxLoot_Red;
_lootCounts = blck_lootCountsRed;
_startMsg = "A temporary enemy camp has been spotted. Check the Red marker on your map for its location";
_endMsg = "The temporary enemy camp at the Red Marker is under player control";
_markerLabel = "";
_markerType = ["ELIPSE",[200,200],"GRID"];
_markerColor = "ColorRed";
_markerMissionName = "Bandit Camp";
_missionLandscapeMode = "precise"; // acceptable values are "none","random","precise"
_missionLandscape = [
["Flag_AAF_F",[0,0,0],0,[false,false]],
["Land_CampingChair_V1_F",[1.32227,2.07813,8.2016e-005],108.293,[false,true]],
["Land_CampingChair_V1_F",[-2.01465,2.91992,3.05176e-005],236.049,[false,true]],
["FirePlace_burning_F",[0.0302734,4.26563,2.47955e-005],359.997,[false,true]],
["Land_CampingChair_V1_F",[2.47168,4.21484,0.000102997],108.293,[false,true]],
["Land_CampingChair_V1_F",[-1.86816,5.07422,3.05176e-005],319.489,[false,true]],
["Land_CampingChair_V1_F",[0.915039,6.20898,1.71661e-005],51.7207,[false,true]],
["Land_Sleeping_bag_brown_F",[8.27441,0.609375,0.00414658],98.0314,[false,true]],
["Land_Sleeping_bag_brown_F",[8.27344,2.76758,0.00447083],91.7928,[false,true]],
["Land_Sleeping_bag_brown_F",[7.9082,4.95898,-0.00173759],85.1176,[false,true]],
["Land_Garbage_square3_F",[-4.95508,8.24023,0.00018692],60.0024,[false,true]],
["Land_Camping_Light_F",[8.92773,3.80273,-0.000205994],344.236,[false,true]],
["Land_Sleeping_bag_brown_F",[7.32129,7.55859,-0.0051899],60.1216,[false,true]],
["Land_TentDome_F",[-9.75488,3.13477,0.00125313],146.574,[false,true]],
["Land_WoodPile_F",[-0.322266,9.97266,-0.000553131],35.0017,[false,true]],
["Land_Razorwire_F",[-0.0185547,-9.84961,0.0752335],1.7831,[false,true]],
["Land_CampingChair_V1_folded_F",[3.8584,9.59375,0],60,[false,true]],
["Land_TentDome_F",[-8.76855,7.85156,-0.00471497],207.522,[false,true]],
["Land_BagFence_Round_F",[8.99707,-8.01367,-0.00951576],326.002,[false,true]],
["Land_BagFence_Round_F",[-10.8164,-6.33594,-0.0038681],59.9991,[false,true]],
["Land_TentDome_F",[-7.12207,11.8398,-0.00328445],231.101,[false,true]],
["Land_CampingTable_small_F",[-4.62598,13.2754,7.62939e-005],344.243,[false,true]],
["Land_Camping_Light_F",[-4.5957,13.332,0.687943],344.243,[false,true]],
["Land_Razorwire_F",[15.5459,0.605469,0.145557],102.505,[false,true]],
["Land_BagFence_Round_F",[7.16211,13.8516,0.000429153],221.639,[false,true]],
["Land_Razorwire_F",[15.9678,8.35938,0.0635166],85.7459,[false,true]],
["Land_Razorwire_F",[-19.1553,-1.61328,-0.0238552],70.0997,[false,true]],
["Land_Razorwire_F",[-12.3906,-15.4492,0.0128002],19.2641,[false,true]],
["Land_Razorwire_F",[-19.4629,5.67969,0.0492821],102.505,[false,true]],
["Land_BagFence_Round_F",[-11.2891,17.6777,-0.00759888],128.563,[false,true]],
["Land_Razorwire_F",[15.2949,-14.3027,0.0502853],139.224,[false,true]],
["Land_Razorwire_F",[15.2852,16.2656,-0.0208111],85.1363,[false,true]],
["Land_Razorwire_F",[4.80273,21.8223,-0.0563145],49.2133,[false,true]],
["Land_Razorwire_F",[-17.7891,13.4863,-0.0646877],102.5,[false,true]],
["Land_Razorwire_F",[-14.7109,20.2871,0.0674477],306.189,[false,true]],
["Land_BagFence_Round_F",[25.3975,-6.08008,0.00466537],272.26,[false,true]],
["Land_Wreck_Truck_F",[26.6289,12.2441,0.00333214],344.243,[false,true]],
["Land_GarbageBags_F",[-24.9463,17.3066,0.000968933],60.0003,[false,true]],
["Land_BagFence_Round_F",[11.167,28.832,-0.00405121],178.394,[false,true]],
["Land_BagFence_Round_F",[-6.36914,30.6953,-0.000207901],178.378,[false,true]],
["Land_Wreck_Hunter_F",[21.0391,25.9707,0.0118179],325.412,[false,true]],
["Land_Camping_Light_F",[-33.7852,10.0371,0.000759125],344.235,[false,true]],
["Land_BagFence_Round_F",[-34.3232,10.1035,0.00181007],60.0012,[false,true]]
]; // 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.
_useMines = blck_useMines;
//_chanceHeliPatrol = blck_chanceHeliPatrolRed; // Setting this in the mission file overrides the defaults
//_noChoppers = blck_noPatrolHelisRed;
//_missionHelis = blck_patrolHelisRed;
//_chancePara = 0.0; // Setting this in the mission file overrides the defaults
//_noPara = 3; // 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.999999990;
//_paraLoot = blck_BoxLoot_Red;
//_paraLootCounts = blck_lootCountsRed; // 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 = blck_missionEndCondition; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear"
// Setting this in the mission file overrides the defaults
//_endCondition = "playerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear"
//_timeOut = -1;
#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf";