2017-08-04 11:21:03 +00:00
|
|
|
/*
|
|
|
|
AI Mission for Epoch Mod for Arma 3
|
|
|
|
For the Mission System originally coded by blckeagls
|
|
|
|
By Ghostrider
|
|
|
|
Functions and global variables used by the mission system.
|
|
|
|
--------------------------
|
|
|
|
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";
|
|
|
|
|
2018-05-15 10:46:04 +00:00
|
|
|
blck_debugON = false;
|
2018-02-14 23:38:26 +00:00
|
|
|
blck_debugLevel = 0; // Sets level of detail for debugging info - WIP.
|
2017-10-19 02:31:53 +00:00
|
|
|
blck_minFPS = 8;
|
2017-08-04 11:21:03 +00:00
|
|
|
|
|
|
|
////////////////////////////////////////////////
|
|
|
|
// Do Not Touch Anything Below This Line
|
|
|
|
///////////////////////////////////////////////
|
|
|
|
blck_townLocations = []; //nearestLocations [blck_mapCenter, ["NameCity","NameCityCapital"], 30000];
|
|
|
|
blck_ActiveMissionCoords = [];
|
|
|
|
blck_recentMissionCoords = [];
|
|
|
|
blck_locationBlackList = [];
|
|
|
|
blck_monitoredVehicles = [];
|
|
|
|
blck_livemissionai = [];
|
|
|
|
blck_monitoredMissionAIGroups = []; // Used to track groups in active missions for whatever purpose
|
|
|
|
blck_oldMissionObjects = [];
|
|
|
|
blck_pendingMissions = [];
|
|
|
|
blck_missionsRunning = 0;
|
2018-04-28 12:10:19 +00:00
|
|
|
blck_missionsRun = 0;
|
2017-08-04 11:21:03 +00:00
|
|
|
blck_activeMissions = [];
|
|
|
|
blck_deadAI = [];
|
2017-10-19 02:31:53 +00:00
|
|
|
blck_connectedHCs = [];
|
2018-02-14 16:26:14 +00:00
|
|
|
blck_missionMarkers = [];
|
2018-04-29 00:31:11 +00:00
|
|
|
blck_groupsOnHC = [];
|
|
|
|
blck_vehiclesOnHC = [];
|
2018-04-28 12:10:19 +00:00
|
|
|
blck_HC_monitoredVehicles = [];
|
2018-04-29 00:31:11 +00:00
|
|
|
blck_HC_monitoredGroups = [];
|
2017-08-04 11:21:03 +00:00
|
|
|
#ifdef useDynamicSimulation
|
|
|
|
"Group" setDynamicSimulationDistance 1800;
|
|
|
|
enableDynamicSimulationSystem true;
|
|
|
|
#endif
|
|
|
|
// Arrays for use during cleanup of alive AI at some time after the end of a mission
|
|
|
|
DBD_HeliCrashSites = [];
|
|
|
|
|
|
|
|
// radius within whih missions are triggered. The trigger causes the crate and AI to spawn.
|
|
|
|
blck_TriggerDistance = 1000;
|
|
|
|
blck_mainThreadUpdateInterval = 60;
|
|
|
|
//blck_missionSpawning = false;
|
|
|
|
diag_log "[blckeagls] Variables Loaded";
|
|
|
|
blck_variablesLoaded = true;
|