All Standard MIssions Tested
This commit is contained in:
parent
44b1b22515
commit
2a6798a6a4
@ -81,6 +81,7 @@ _missionLootBoxes = []; // Parameters are "Box Item Code", array defining the
|
|||||||
// When present with values these override the defaults.
|
// When present with values these override the defaults.
|
||||||
// See default2.sqf for an example of the use of this variable.
|
// See default2.sqf for an example of the use of this variable.
|
||||||
_missionLootVehicles = []; // 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.
|
||||||
|
|
||||||
// when the array is empty this parameter is ignored.
|
// when the array is empty this parameter is ignored.
|
||||||
// You can have vehicles serve as loot containiners by defining them here.
|
// You can have vehicles serve as loot containiners by defining them here.
|
||||||
// see default2.sqf for an example
|
// see default2.sqf for an example
|
||||||
@ -95,27 +96,31 @@ _noAIGroups = blck_AIGrps_Blue; // Setting this in the mission file overrides t
|
|||||||
_noVehiclePatrols = blck_SpawnVeh_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
|
_noEmplacedWeapons = blck_SpawnEmplaced_Blue; // Setting this in the mission file overrides the defaults
|
||||||
// Change _useMines to true/false below to enable mission-specific settings.
|
// Change _useMines to true/false below to enable mission-specific settings.
|
||||||
|
|
||||||
|
/*
|
||||||
_useMines = blck_useMines; // Setting this in the mission file overrides the defaults
|
_useMines = blck_useMines; // Setting this in the mission file overrides the defaults
|
||||||
_uniforms = blck_SkinList; // 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
|
_headgear = blck_headgear; // Setting this in the mission file overrides the defaults
|
||||||
|
_vests = blck_vests;
|
||||||
//_chanceHeliPatrol = blck_chanceHeliPatrolBlue; // Setting this in the mission file overrides the defaults
|
_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;
|
_noChoppers = blck_noPatrolHelisBlue;
|
||||||
_missionHelis = blck_patrolHelisBlue;
|
_missionHelis = blck_patrolHelisBlue;
|
||||||
|
|
||||||
//_chancePara = 0.0; // Setting this in the mission file overrides the defaults
|
_chancePara = blck_chanceParaBlue; // Setting this in the mission file overrides the defaults
|
||||||
_noPara = 3; // 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.
|
_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.
|
_paraSkill = "red"; // Choose any skill you like; bump up skill or add AI to justify more valuable loot.
|
||||||
|
_chanceLoot = 0.0;
|
||||||
//_chanceLoot = 0.999999990;
|
|
||||||
_paraLoot = blck_BoxLoot_Blue;
|
_paraLoot = blck_BoxLoot_Blue;
|
||||||
_paraLootCounts = blck_lootCountsRed; // Throw in something more exotic than found at a normal blue mission.
|
_paraLootCounts = blck_lootCountsRed; // Throw in something more exotic than found at a normal blue mission.
|
||||||
|
|
||||||
_spawnCratesTiming = "atMissionEndAir"; // Choices: "atMissionSpawnGround","atMissionEndGround","atMissionEndAir".
|
_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.
|
// 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.
|
// This sets the default value but can be overridden by defining _spawnCrateTiming in the file defining a particular mission.
|
||||||
_loadCratesTiming = "atMissionSpawn"; // valid choices are "atMissionCompletion" and "atMissionSpawn";
|
_loadCratesTiming = blck_loadCratesTiming; // valid choices are "atMissionCompletion" and "atMissionSpawn";
|
||||||
// Pertains only to crates spawned at mission spawn.
|
// Pertains only to crates spawned at mission spawn.
|
||||||
// This sets the default but can be overridden for specific missions by defining _loadCratesTiming
|
// This sets the default but can be overridden for specific missions by defining _loadCratesTiming
|
||||||
|
|
||||||
@ -124,7 +129,8 @@ _loadCratesTiming = "atMissionSpawn"; // valid choices are "atMissionCompletion"
|
|||||||
// 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 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 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.
|
// 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"
|
_endCondition = blck_missionEndCondition; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear"
|
||||||
// Setting this in the mission file overrides the defaults
|
// Setting this in the mission file overrides the defaults
|
||||||
////_timeOut = -1;
|
////_timeOut = -1;
|
||||||
|
*/
|
||||||
#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf";
|
#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf";
|
||||||
|
@ -54,12 +54,38 @@ _maxNoAI = blck_MaxAI_Blue;
|
|||||||
_noAIGroups = blck_AIGrps_Blue;
|
_noAIGroups = blck_AIGrps_Blue;
|
||||||
_noVehiclePatrols = blck_SpawnVeh_Blue;
|
_noVehiclePatrols = blck_SpawnVeh_Blue;
|
||||||
_noEmplacedWeapons = blck_SpawnEmplaced_Blue;
|
_noEmplacedWeapons = blck_SpawnEmplaced_Blue;
|
||||||
_uniforms = blck_SkinList;
|
_uniforms = blck_SkinList; // Setting this in the mission file overrides the defaults
|
||||||
_headgear = blck_headgear;
|
_headgear = blck_headgear; // Setting this in the mission file overrides the defaults
|
||||||
_noPara = blck_noParaBlue;
|
_vests = blck_vests;
|
||||||
_chanceHeliPatrol = blck_chanceHeliPatrolBlue;
|
_backpacks = blck_backpacks;
|
||||||
_chanceLoot = 0;
|
_weaponList = ["blue"] call blck_fnc_selectAILoadout;
|
||||||
_endCondition = "allKilledOrPlayerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear"
|
_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;
|
//_timeOut = -1;
|
||||||
#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf";
|
#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf";
|
||||||
|
|
||||||
|
@ -79,12 +79,38 @@ _maxNoAI = blck_MaxAI_Blue;
|
|||||||
_noAIGroups = blck_AIGrps_Blue;
|
_noAIGroups = blck_AIGrps_Blue;
|
||||||
_noVehiclePatrols = blck_SpawnVeh_Blue;
|
_noVehiclePatrols = blck_SpawnVeh_Blue;
|
||||||
_noEmplacedWeapons = blck_SpawnEmplaced_Blue;
|
_noEmplacedWeapons = blck_SpawnEmplaced_Blue;
|
||||||
_uniforms = blck_SkinList;
|
_uniforms = blck_SkinList; // Setting this in the mission file overrides the defaults
|
||||||
_headgear = blck_headgear;
|
_headgear = blck_headgear; // Setting this in the mission file overrides the defaults
|
||||||
_noPara = blck_noParaBlue;
|
_vests = blck_vests;
|
||||||
_chanceHeliPatrol = blck_chanceHeliPatrolBlue;
|
_backpacks = blck_backpacks;
|
||||||
_chanceLoot = 0;
|
_weaponList = ["blue"] call blck_fnc_selectAILoadout;
|
||||||
_endCondition = "allKilledOrPlayerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear"
|
_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;
|
//_timeOut = -1;
|
||||||
#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf";
|
#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf";
|
||||||
|
|
||||||
|
@ -44,12 +44,38 @@ _maxNoAI = blck_MaxAI_Blue;
|
|||||||
_noAIGroups = blck_AIGrps_Blue;
|
_noAIGroups = blck_AIGrps_Blue;
|
||||||
_noVehiclePatrols = blck_SpawnVeh_Blue;
|
_noVehiclePatrols = blck_SpawnVeh_Blue;
|
||||||
_noEmplacedWeapons = blck_SpawnEmplaced_Blue;
|
_noEmplacedWeapons = blck_SpawnEmplaced_Blue;
|
||||||
_uniforms = blck_SkinList;
|
_uniforms = blck_SkinList; // Setting this in the mission file overrides the defaults
|
||||||
_headgear = blck_headgear;
|
_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
|
||||||
|
|
||||||
_noPara = blck_noParaBlue;
|
|
||||||
_chanceHeliPatrol = blck_chanceHeliPatrolBlue;
|
|
||||||
_chanceLoot = 0;
|
|
||||||
_endCondition = "allKilledOrPlayerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear"
|
|
||||||
//_timeOut = -1;
|
//_timeOut = -1;
|
||||||
#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf";
|
#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf";
|
||||||
|
@ -57,14 +57,6 @@ _noEmplacedWeapons = blck_SpawnEmplaced_Green;
|
|||||||
_uniforms = blck_SkinList;
|
_uniforms = blck_SkinList;
|
||||||
_headgear = blck_headgear;
|
_headgear = blck_headgear;
|
||||||
|
|
||||||
private["_weap","_mags","_backpacks","_optics","_loadout"];
|
|
||||||
_weap = 3 + floor(random(4));
|
|
||||||
_mags = 8 + floor(random(6));
|
|
||||||
//_backpacks = 1 + floor(random(2));
|
|
||||||
_optics = 3 + floor(random(6));
|
|
||||||
|
|
||||||
_reinforcementLootCounts = [_weap,_mags,_optics,0,0,_backpacks];
|
|
||||||
|
|
||||||
//_endCondition = "playerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear"
|
//_endCondition = "playerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear"
|
||||||
//_timeOut = -1;
|
//_timeOut = -1;
|
||||||
#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf";
|
#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf";
|
||||||
|
@ -36,9 +36,40 @@ _noVehiclePatrols = blck_SpawnVeh_Red;
|
|||||||
_noEmplacedWeapons = blck_SpawnEmplaced_Red;
|
_noEmplacedWeapons = blck_SpawnEmplaced_Red;
|
||||||
// Change _useMines to true/false below to enable mission-specific settings.
|
// Change _useMines to true/false below to enable mission-specific settings.
|
||||||
_useMines = blck_useMines;
|
_useMines = blck_useMines;
|
||||||
_uniforms = blck_SkinList;
|
_uniforms = blck_SkinList; // Setting this in the mission file overrides the defaults
|
||||||
_headgear = blck_headgear;
|
_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_chanceHeliPatrolRed; // Setting this in the mission file overrides the defaults
|
||||||
|
_noChoppers = blck_noPatrolHelisRed;
|
||||||
|
_missionHelis = blck_patrolHelisRed;
|
||||||
|
|
||||||
_endCondition = "playerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear"
|
//_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;
|
//_timeOut = -1;
|
||||||
#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf";
|
#include "\q\addons\custom_server\Compiles\Missions\GMS_fnc_missionSpawner.sqf";
|
||||||
|
@ -53,8 +53,39 @@ _noVehiclePatrols = blck_SpawnVeh_Red;
|
|||||||
_noEmplacedWeapons = blck_SpawnEmplaced_Red;
|
_noEmplacedWeapons = blck_SpawnEmplaced_Red;
|
||||||
// Change _useMines to true/false below to enable mission-specific settings.
|
// Change _useMines to true/false below to enable mission-specific settings.
|
||||||
_useMines = blck_useMines;
|
_useMines = blck_useMines;
|
||||||
_uniforms = blck_SkinList;
|
_uniforms = blck_SkinList; // Setting this in the mission file overrides the defaults
|
||||||
_headgear = blck_headgear;
|
_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_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"
|
_endCondition = "playerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear"
|
||||||
//_timeOut = -1;
|
//_timeOut = -1;
|
||||||
|
@ -79,7 +79,39 @@ _noVehiclePatrols = blck_SpawnVeh_Red;
|
|||||||
_noEmplacedWeapons = blck_SpawnEmplaced_Red;
|
_noEmplacedWeapons = blck_SpawnEmplaced_Red;
|
||||||
// Change _useMines to true/false below to enable mission-specific settings.
|
// Change _useMines to true/false below to enable mission-specific settings.
|
||||||
_useMines = blck_useMines;
|
_useMines = blck_useMines;
|
||||||
|
_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_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
|
||||||
#ifdef blck_milServer
|
#ifdef blck_milServer
|
||||||
_weapons = blck_RHS_Weapons;
|
_weapons = blck_RHS_Weapons;
|
||||||
#endif
|
#endif
|
||||||
|
@ -44,8 +44,39 @@ _noVehiclePatrols = blck_SpawnVeh_Red;
|
|||||||
_noEmplacedWeapons = blck_SpawnEmplaced_Red;
|
_noEmplacedWeapons = blck_SpawnEmplaced_Red;
|
||||||
// Change _useMines to true/false below to enable mission-specific settings.
|
// Change _useMines to true/false below to enable mission-specific settings.
|
||||||
_useMines = blck_useMines;
|
_useMines = blck_useMines;
|
||||||
_uniforms = blck_SkinList;
|
_uniforms = blck_SkinList; // Setting this in the mission file overrides the defaults
|
||||||
_headgear = blck_headgear;
|
_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_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"
|
_endCondition = "playerNear"; // Options are "allUnitsKilled", "playerNear", "allKilledOrPlayerNear"
|
||||||
//_timeOut = -1;
|
//_timeOut = -1;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
private ["_version","_versionDate"];
|
private ["_version","_versionDate"];
|
||||||
blck_version = "6.81 Build 126";
|
blck_version = "6.81 Build 127";
|
||||||
_blck_version = blck_version;
|
_blck_version = blck_version;
|
||||||
_blck_versionDate = "4-19-18 7:00 AM";
|
_blck_versionDate = "4-21-18 7:00 AM";
|
||||||
blck_pvs_version = _blck_version;
|
blck_pvs_version = _blck_version;
|
||||||
publicVariable blck_pvs_version;
|
publicVariable blck_pvs_version;
|
||||||
|
@ -8,7 +8,7 @@ Ideas or code from that by Vampire and KiloSwiss have been used for certain func
|
|||||||
|
|
||||||
Significant Changes:
|
Significant Changes:
|
||||||
=====================
|
=====================
|
||||||
Version 1.81 Build 126 (EXPERIMENTAL).
|
Version 1.81 Build 127 (EXPERIMENTAL).
|
||||||
Added: Support for hostage rescue missions.
|
Added: Support for hostage rescue missions.
|
||||||
The hostage can be spawned at any location relative to the mission center.
|
The hostage can be spawned at any location relative to the mission center.
|
||||||
The mission aborts if the hostage is killed; all loot is deleted.
|
The mission aborts if the hostage is killed; all loot is deleted.
|
||||||
|
Loading…
Reference in New Issue
Block a user