mirror of
https://github.com/Ghostrider-DbD-/GMS_RC.git
synced 2024-08-30 16:02:11 +00:00
9f69e5e20f
This reverts commit f397b7ac29
.
82 lines
4.8 KiB
Plaintext
82 lines
4.8 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 Green Mission with template = default";
|
|
_crateLoot = blck_BoxLoot_Green;
|
|
_lootCounts = blck_lootCountsGreen;
|
|
_startMsg = "An enemy 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!";
|
|
|
|
_markerMissionName = "Research Center";
|
|
_missionLandscapeMode = "precise"; // acceptable values are "none","random","precise"
|
|
|
|
//////////
|
|
// Past the output of the script here
|
|
|
|
|
|
//////////
|
|
// 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;
|
|
_minNoAI = blck_MinAI_Blue; // Setting this in the mission file overrides the defaults such as blck_MinAI_Blue
|
|
_maxNoAI = blck_MaxAI_Blue; // Setting this in the mission file overrides the defaults
|
|
_noAIGroups = blck_AIGrps_Blue; // Setting this in the mission file overrides the defaults
|
|
_noVehiclePatrols = blck_SpawnVeh_Blue; // Setting this in the mission file overrides the defaults
|
|
_noEmplacedWeapons = blck_SpawnEmplaced_Blue; // Setting this in the mission file overrides the defaults
|
|
// Change _useMines to true/false below to enable mission-specific settings.
|
|
_useMines = blck_useMines; // Setting this in the mission file overrides the defaults
|
|
_uniforms = blck_SkinList; // Setting this in the mission file overrides the defaults
|
|
_headgear = blck_headgear; // Setting this in the mission file overrides the defaults
|
|
_vests = blck_vests;
|
|
_backpacks = blck_backpacks;
|
|
_weaponList = ["blue"] call blck_fnc_selectAILoadout;
|
|
_sideArms = blck_Pistols;
|
|
_chanceHeliPatrol = blck_chanceHeliPatrolBlue; // Setting this in the mission file overrides the defaults
|
|
_noChoppers = blck_noPatrolHelisBlue;
|
|
_missionHelis = blck_patrolHelisBlue;
|
|
|
|
_chancePara = blck_chanceParaBlue; // Setting this in the mission file overrides the defaults
|
|
_noPara = blck_noParaBlue; // 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.0;
|
|
_paraLoot = blck_BoxLoot_Blue;
|
|
_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
|
|
//_timeOut = -1;
|
|
#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf";
|