Build 275/Ver 7.21

Moved over to $prefix$ and labeled unused files
This commit is contained in:
Ghostrider [GRG] 2023-10-31 21:57:49 -04:00
parent 669aa9054d
commit 7273521854
262 changed files with 3552 additions and 1587 deletions

View File

@ -1 +1 @@
addons\GMS
x\addons\GMS

1
@GMS/addons/GMS/$PREFIX$ Normal file
View File

@ -0,0 +1 @@
x\addons\GMS

View File

@ -16,7 +16,7 @@
However, if we use this approach, we risk having some missions spawn outside the map so much check for that.
It may be quicker just to pick a random angle and use 1/2 map size to search a position obtained by getPos[(1/2 mapSize),random(359)]; to pick that random seed location for the search.
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
if (isNil "GMS_locationBlackList") then {GMS_locationBlackList = []};

View File

@ -9,7 +9,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
GMS_serverFPS = diag_FPS;
publicVariable "GMS_serverFPS";

View File

@ -8,7 +8,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
private "_markers";
params[

View File

@ -10,7 +10,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params[["_markerName",""]];
deleteMarker _markerName;

View File

@ -12,7 +12,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params["_center","_num","_minDistance","_maxDistance"];

View File

@ -8,7 +8,7 @@
private _pos
Return: _pos, the position generated
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params["_center","_min","_max"];
private _vector = random(359);
private _radius = _min + (_min + random(_max - _min));

View File

@ -12,7 +12,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
private _startTime = diag_tickTime;
private _minDistFromBases = GMS_minDistanceToBases;
private _minDistFromMission = GMS_MinDistanceFromMission;

View File

@ -10,7 +10,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
private["_mapCenter","_waterPos","_priorUMSpositions","_maxDistance"];
private _evaluate = true;

View File

@ -10,7 +10,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
private["_depth"];
params["_pos"];
_depth = (getTerrainHeightASL _pos);

View File

@ -10,6 +10,6 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
private _blckMarkers = [GMS_missionMarkerRootName] call GMS_fnc_getAllMarkersOfSubtype;
_blckMarkers

View File

@ -10,7 +10,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
#define DMS_missionMarkerRootName "DMS_MissionMarker"
private _dmsMarkers = [DMS_missionMarkerRootName] call GMS_fnc_getAllMarkersOfSubtype;

View File

@ -14,7 +14,7 @@
/*
Useful if you know the rootname for markers for a mission system to add these to black lists or other lists
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
private _subtype = _this;
private _end = (count _subtype) - 1;
private _m = [];

View File

@ -1,8 +1,8 @@
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params["_difficulty"];
//diag_log format["getIndexFromDifficult: _dificulty = %1 | typeName _difficulty = %2",_difficulty, typeName _difficulty];
private _return = 0;
private _return = 0; // Assign blue = 0;
switch(toLowerANSI(_difficulty)) do
{
case "red": {_return = 1};

View File

@ -8,7 +8,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
private["_timer1sec","_timer5sec","_timer10Sec","_timer20sec","_timer5min","_timer5min"];
_timer2sec = diag_tickTime + 2;
@ -36,7 +36,7 @@ while {true} do
if (diag_tickTime > _timer5sec) then
{
_timer5sec = diag_tickTime + 5;
if (GMS_simulationManager isEqualTo GMS_useBlckeaglsSimulationManagement) then {[] call GMS_fnc_simulationMonitor};
[] call GMS_fnc_simulationMonitor;
[] spawn GMS_fnc_monitorSpawnedMissions;
[] call GMS_fnc_scanForPlayersNearVehicles;
[] call GMS_fnc_vehicleMonitor;
@ -55,7 +55,7 @@ while {true} do
{
_timer1min = diag_tickTime + 60;
[] call GMS_fnc_restoreHiddenObjects;
[] call GMS_fnc_groupWaypointMonitor;
//[] call GMS_fnc_groupWaypointMonitor;
[] call GMS_fnc_cleanupAliveAI;
};
if (diag_tickTime > _timer5min) then
@ -88,7 +88,7 @@ while {true} do
[format["file %1 | running %2",(_x select 1),(_x select 2)]] call GMS_fnc_log;
} forEach diag_activeSQFScripts;
};
[] call GMS_fnc_cleanEmptyGroups;
//[] call GMS_fnc_cleanEmptyGroups; // Moved to GMSCore 10/31/23
[GMS_landVehiclePatrols] call GMSCore_fnc_removeNullEntries;
[GMS_aircraftPatrols] call GMSCore_fnc_removeNullEntries;
_timer5min = diag_tickTime + 300;

View File

@ -8,7 +8,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params["_mArray","_count"];

View File

@ -11,7 +11,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
if !(isServer) exitWith {};
params["_msg",["_players",allplayers]];
//[format["_messagePlayers - _msg = %1",_msg]] call GMS_fnc_log;

View File

@ -9,7 +9,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
//diag_log format["GMS_fnc_missionCompleteMarker:: _this = %1",_this];
private _location = _this select 0;

View File

@ -10,6 +10,6 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params["_killer"];
[["IED","",0,0],[_killer]] call GMS_fnc_MessagePlayers;

View File

@ -10,7 +10,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
for "_i" from 1 to (count GMS_hiddenTerrainObjects) do

View File

@ -1,6 +1,17 @@
/*
GMS_fnc_updateMarkerAliveCount
Purpose:
update the life AI count shown with mission markers
Params:
_marker - the marker to update
_rootText - the markerText used before adding alive AI counts
_missionAI - an array of units for that mission
Retuns:
None
by Ghostrider [GRG]
Copyright 2016
--------------------------
@ -10,8 +21,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params["_marker","_rootText","_missionAI"];
private _txtPrior = markerText _marker;
_marker setMarkerText format["%1 / %2 AI Alive",_rootText,{alive _x} count _missionAI];

View File

@ -17,5 +17,5 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
_this call GMSCore_fnc_addItem;

View File

@ -11,7 +11,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
private _grp = allGroups;
for "_i" from 1 to (count _grp) do

View File

@ -9,7 +9,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params ["_AIList",["_returnMode",0]];
private["_alive","_total","_return"];

View File

@ -1,8 +1,7 @@
/*
GMS_fnc_loadLootItemsFromArray
Depends on GMS_fnc_addItemToCrate
call as:
[_item,_crate] call GMS_fnc_loadLootFromItemsArray;
@ -28,7 +27,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params["_loadout","_crate",["_addAmmo",0]];

View File

@ -12,7 +12,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params[["_coords",[]],"_range"];
/*

View File

@ -13,7 +13,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params[["_coords",[0,0,0]],["_range",0],["_onFootOnly",true],["_onGroundOnly",true]];
private "_players";
if (_onGroundOnly) then {

View File

@ -12,7 +12,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params["_locations","_dist",["_onFootOnly",true],["_onGroundOnly",true]];
private _nearLocations = _locations select {[_x,_dist,_onFootOnly,_onGroundOnly] call GMS_fnc_playerInRange};

View File

@ -9,5 +9,5 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
_this call GMSCore_fnc_setDirUp;

View File

@ -12,7 +12,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
private["_GMS_fn_configureRoundMarker"];
_GMS_fn_configureRoundMarker = {

View File

@ -10,31 +10,31 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
private _functions = [
// General functions
["GMS_fnc_FindSafePosn","\GMS\Compiles\Functions\GMS_fnc_findSafePosn_4.sqf"],
["GMS_fnc_FindSafePosn","\x\addons\GMS\Compiles\Functions\GMS_fnc_findSafePosn_4.sqf"],
// Player-related functions
["GMS_fnc_handlePlayerUpdates","\GMS\Compiles\Units\GMS_fnc_handlePlayerUpdates.sqf"],
//["GMS_fnc_handlePlayerUpdates","\x\addons\GMS\Compiles\Units\GMS_fnc_handlePlayerUpdates.sqf"],
// Mission-related functions
["GMS_fnc_garrisonBuilding_RelPosSystem","\GMS\Compiles\Missions\GMS_fnc_garrisonBuilding_relPosSystem.sqf"],
["GMS_fnc_spawnGarrisonInsideBuilding_ATL","\GMS\Compiles\Missions\GMS_fnc_spawnGarrisonInsideBuilding_ATL.sqf"],
["GMS_fnc_spawnGarrisonInsideBuilding_relPos","\GMS\Compiles\Missions\GMS_fnc_spawnGarrisonInsideBuilding_relPos.sqf"],
["GMS_fnc_addDyanamicUMS_Mission","\GMS\Compiles\Missions\GMS_fnc_addDynamicUMS_Mission.sqf"],
//["GMS_fnc_garrisonBuilding_RelPosSystem","\x\addons\GMS\Compiles\Missions\GMS_fnc_garrisonBuilding_relPosSystem.sqf"],
//["GMS_fnc_spawnGarrisonInsideBuilding_ATL","\x\addons\GMS\Compiles\Missions\GMS_fnc_spawnGarrisonInsideBuilding_ATL.sqf"],
//["GMS_fnc_spawnGarrisonInsideBuilding_relPos","\x\addons\GMS\Compiles\Missions\GMS_fnc_spawnGarrisonInsideBuilding_relPos.sqf"],
["GMS_fnc_addDyanamicUMS_Mission","\x\addons\GMS\Compiles\Missions\GMS_fnc_addDynamicUMS_Mission.sqf"],
// Functions specific to vehicles, whether wheeled, aircraft or static
["GMS_fnc_configureMissionVehicle","\GMS\Compiles\Vehicles\GMS_fnc_configureMissionVehicle.sqf"],
["GMS_fnc_applyVehicleDamagePenalty","\GMS\Compiles\Vehicles\GMS_fnc_applyVehicleDamagePenalty.sqf"],
["GMS_fnc_handleVehicleGetOut","\GMS\Compiles\Vehicles\GMS_fnc_handleVehicleGetOut.sqf"],
//["GMS_fnc_configureMissionVehicle","\x\addons\GMS\Compiles\Vehicles\GMS_fnc_configureMissionVehicle.sqf"],
["GMS_fnc_applyVehicleDamagePenalty","\x\addons\GMS\Compiles\Vehicles\GMS_fnc_applyVehicleDamagePenalty.sqf"],
//["GMS_fnc_handleVehicleGetOut","\x\addons\GMS\Compiles\Vehicles\GMS_fnc_handleVehicleGetOut.sqf"],
// functions to support Units
["GMS_fnc_spawnHostage","\GMS\Compiles\Units\GMS_fnc_spawnHostage.sqf"],
["GMS_fnc_spawnLeader","\GMS\Compiles\Units\GMS_fnc_spawnLeader.sqf"],
["GMS_fnc_spawnCharacter","\GMS\Compiles\Units\GMS_fnc_spawnCharacter.sqf"],
["GMS_fnc_placeCharacterInBuilding","\GMS\Compiles\Units\GMS_fnc_placeCharacterInBuilding.sqf"]
["GMS_fnc_spawnHostage","\x\addons\GMS\Compiles\Units\GMS_fnc_spawnHostage.sqf"],
["GMS_fnc_spawnLeader","\x\addons\GMS\Compiles\Units\GMS_fnc_spawnLeader.sqf"],
["GMS_fnc_spawnCharacter","\x\addons\GMS\Compiles\Units\GMS_fnc_spawnCharacter.sqf"],
["GMS_fnc_placeCharacterInBuilding","\x\addons\GMS\Compiles\Units\GMS_fnc_placeCharacterInBuilding.sqf"]
];
{

View File

@ -10,7 +10,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
if (GMS_debugLevel > 0) then {diag_log "[GMS] loading variables"};

View File

@ -11,7 +11,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params["_pos"];
private["_units"];

View File

@ -11,8 +11,8 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
// TODO: Move Simulation Management to GMSCore
if (GMS_simulationManager isEqualTo GMS_simulationManagementOff) exitWith {};
if (GMS_simulationManager isEqualTo GMS_useDynamicSimulationManagement) exitWith
@ -54,7 +54,7 @@ if (GMS_simulationManager isEqualTo GMS_useBlckeaglsSimulationManager) then
/*
{
// disable simulation once players have left the area.
private _nearPlayers = [getPosATL (_x),GMS_simulationEnabledDistance] call GMS_fnc_nearestPlayers;
private _nearPlayers = [getPosATL (_x),GMS_simulationEnabledDistance] call GMSCore_fnc_nearestPlayers;
if (simulationEnabled _x) then
{
if (_nearPlayers isEqualTo []) then

View File

@ -10,7 +10,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params[
["_pos",[-1,-1,1]],

View File

@ -12,7 +12,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params["_group","_maxTime","_radius"];
if (diag_tickTime > (_group getVariable "timeStamp") + _maxTime) then // || ( (getPos (leader)) distance2d (_group getVariable "patrolCenter") > _radius)) then
{

View File

@ -8,7 +8,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
for "_i" from 0 to ((count GMS_monitoredMissionAIGroups) - 1) do
{

View File

@ -12,7 +12,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params[["_side",GMSCore_side],["_deleteWhenEmpty",true]];
// for information about the _deleteWhenEmpty parameter see: https://community.bistudio.com/wiki/createGroup

View File

@ -11,7 +11,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
// TODO: not sure we need this - can we do the same thing in another script
private["_group","_wp"];
_group = group _this;

View File

@ -17,7 +17,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
// TODO: Test functionality of this
_fn_waypointComplete = {
private _group = _this select 0;

View File

@ -18,7 +18,7 @@
Replaces changeToSADWaypoint
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
private["_group","_wp","_index","_pattern","_mode","_arc","_dis","_wpPos"];

View File

@ -13,7 +13,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
private["_dir","_arc","_noWp","_newpos","_wpradius","_wp"];
params["_pos","_minDis","_maxDis","_group",["_mode","random"],["_wpPatrolMode","SAFE"],["_soldierType","null"],["_patrolRadius",30],["_wpTimeout",[5.0,7.5,10]]];
_wp = [_group, 0];

View File

@ -8,7 +8,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
//params["_pos"];
private["_UMS_mission","_waitTime","_mission","_pos"];

View File

@ -11,7 +11,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
#define delayTime 1
private ["_abort","_crates","_aiGroup","_objects","_groupPatrolRadius","_missionLandscape","_mines","_GMS_AllMissionAI","_assetKilledMsg","_enemyLeaderConfig",
"_AI_Vehicles","_timeOut","_aiDifficultyLevel","_missionPatrolVehicles","_missionGroups","_loadCratesTiming","_spawnCratesTiming","_assetSpawned","_hostageConfig",

View File

@ -9,7 +9,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params["_building","_group","_statics","_men",["_aiDifficultyLevel","Red"], ["_uniforms",[]],["_headGear",[]],["_vests",[]],["_backpacks",[]],["_launcher","none"],["_weaponList",[]],["_sideArms",[]]];

View File

@ -7,7 +7,7 @@
Copyright 2016
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params[["_missionList",[]],["_path",""],["_marker",""],["_difficulty","Red"],["_tMin",60],["_tMax",120],["_noMissions",1],["_isStatic",false]];
//diag_log format["_addMissionToQue: _this = %1",_this];
@ -28,7 +28,7 @@ private "_missionFile";
private _missionsData = []; // Parameters definine each of the missions for this difficulty are stored as arrays here.
{
_missionFile = format["\GMS\Missions\%1\%2.sqf",_path,_x];
_missionFile = format["\x\addons\GMS\Missions\%1\%2.sqf",_path,_x];
if (GMS_debugLevel > 0) then {[format["_addMissionToQue: adding %1 mission with fileName %2",_difficulty,_missionFile]] call GMS_fnc_log};
private _missionCode = compileFinal preprocessFileLinenumbers _missionFile;//return all of the values that define how the mission is spawned as an array of values
if !(isNil "_missionCode") then

View File

@ -12,7 +12,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
///////////////////////////////////////////////////////////////////////
// MAIN FUNCTION STARTS HERE

View File

@ -10,7 +10,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
private["_a1","_item","_diff","_tries"];
params["_crate","_boxLoot","_itemCnts"];

View File

@ -9,7 +9,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params["_center",
"_garrisonedBuilding_ATLsystem",
["_aiDifficultyLevel","Red"],

View File

@ -9,7 +9,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
if (true) exitwith {["the Garrisoned Building Relative Position System is No Longer Supported in GMS","warning"] call GMS_fnc_core;}
params["_center",
"_garrisonedBuilding_relPosSystem",

View File

@ -5,7 +5,7 @@
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
private ["_coords","_coordArray","_return"];
params[

View File

@ -26,7 +26,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params["_loadout","_crate",["_addAmmo",0]];
if ((_loadout select 0) isEqualTo []) exitWith {};

View File

@ -8,7 +8,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
private _crate = _this select 0;
private _lootCounts = _crate getVariable "lootCounts";
private _lootarray = _crate getVariable "lootArray";

View File

@ -11,7 +11,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params["_coords","_mines","_objects","_hiddenObjects","_GMS_AllMissionAI","_markerName","_cleanupAliveAITimer","_cleanupCompositionTimer",["_isScubaMission",false]];

View File

@ -10,7 +10,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
//if (GMS_monitoring) exitWith {diag_log format["_monitorInitializedMissions: execution terminated for GMS_monitoring = true at %1",diag_tickTime]};
GMS_monitoring = true;
@ -146,7 +146,7 @@ for "_i" from 1 to (count _missionsList) do
// Handle mission waiting to be triggerd and player is within the range to trigger
case 0:
{
[_missionData,_missionConfigs,_spawnPara] call GMS_fnc_spawnMissionAssets;
[_missionData,_missionConfigs,_spawnPara,_missionFile] call GMS_fnc_spawnMissionAssets;
// _el is structured as:
/*

View File

@ -10,7 +10,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
#define missionData 4
#define noActive 2
@ -155,6 +155,7 @@ for "_i" from 1 to (count _missionsList) do
if (random(1) < _chanceLoot) then
{
private _extraCrates = [_coords,[[selectRandom GMS_crateTypes,[0,0,0],_paraLoot,_paraLootCounts]], "atMissionSpawn","atMissionSpawnAir", "start", _difficulty] call GMS_fnc_spawnMissionCrates;
if (GMS_debugLevel > 0) then {[format["_monitorSpawnedMissions (158): _extracrates %1 dropped for _missionFile %2",_extraCrates,_missionFile]] call GMS_fnc_log};
if (GMS_cleanUpLootChests) then
{
_objects append _extraCrates;

View File

@ -11,7 +11,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params["_pos","_crate",["_crateVisualMarker",true],["_dropHeight", 150]];
private _chute = createVehicle ["I_Parachute_02_F", _pos, [], 0, "FLY"];

View File

@ -9,7 +9,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params["_aiDifficultyLevel"];
private _chancePara = missionNamespace getVariable[format["GMS_chancePara%1",_aiDifficultyLevel],0];

View File

@ -9,7 +9,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params["_aiDifficultyLevel"];
private _backpacks = missionNamespace getVariable[format["GMS_backpacks_%1",_aiDifficultyLevel],[]];

View File

@ -9,7 +9,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params["_aiDifficultyLevel"];
private _headgear = missionNamespace getVariable [format["GMS_headgear_%1",_aiDifficultyLevel],[]];

View File

@ -14,7 +14,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params["_missionColor"];
private _weaponList = missionNamespace getVariable [format["GMS_WeaponList_%1",_missionColor],[]];

View File

@ -9,7 +9,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params["_aiDifficultyLevel"]; //[["_aiDifficultyLevel",selectRandom["Red","Green"]]];

View File

@ -9,7 +9,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params["_aiDifficultyLevel"];
private _uniforms = missionNamespace getVariable [format["GMS_SkinList_%1",_aiDifficultyLevel],[]];

View File

@ -9,7 +9,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params["_aiDifficultyLevel"];
private _vests = missionNamespace getVariable [format["GMS_vests_%1",_aiDifficultyLevel],[]];

View File

@ -9,7 +9,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params["_aiDifficultyLevel"];
private _chanceHeliPatrol = missionNamespace getVariable[format["GMS_chanceHeliPatrol%1",_aiDifficultyLevel],[]];

View File

@ -9,7 +9,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params["_aiDifficultyLevel"];
private _missionHelis = missionNamespace getVariable[format["GMS_patrolHelis%1",_aiDifficultyLevel],[]];

View File

@ -9,7 +9,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params["_aiDifficultyLevel"];
private _noChoppers = missionNamespace getVariable [format["GMS_noPatrolHelis%1",_aiDifficultyLevel],0];

View File

@ -9,7 +9,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params["_aiDifficultyLevel"];
private _noPara = missionNamespace getVariable [format["GMS_noPara%1",_aiDifficultyLevel],0];

View File

@ -9,7 +9,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params["_diff"];
private _count = missionNamespace getVariable [format["GMS_vehCrew_%1",_diff],0];
_count

View File

@ -8,7 +8,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params["_center","_objects"];
private ["_dam","_sim","_obj"];

View File

@ -8,7 +8,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params["_coords",["_crateType","Box_NATO_Wps_F"],["_crateDir",0]];

View File

@ -1,7 +1,7 @@
/*
By Ghostrider [GRG]
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params["_coords",["_missionEmplacedWeapons",[]],["_useRelativePos",true],["_aiDifficultyLevel","red"],["_uniforms",[]], ["_headGear",[]],["_vests",[]],["_backpacks",[]],["_weaponList",[]],["_sideArms",[]]];
if (_uniforms isEqualTo []) then {_uniforms = [_aiDifficultyLevel] call GMS_fnc_selectAIUniforms};

View File

@ -12,7 +12,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params["_pos"];

View File

@ -11,7 +11,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
#define configureWaypoints true
params["_coords",["_minNoAI",3],["_maxNoAI",6],["_noAIGroups",0],["_missionGroups",[]],["_aiDifficultyLevel","red"],["_uniforms",[]],["_headGear",GMS_BanditHeadgear],["_vests",[]],["_backpacks",[]],["_weapons",[]],["_sideArms",[]],["_isScubaGroup",false]];

View File

@ -6,7 +6,8 @@
params[
"_missionData", // Defined below
"_missionConfigs", // Defined below
"_spawnPara"
"_spawnPara",
"_missionFile"
];
#define triggered 2
@ -348,11 +349,11 @@ if (_spawnCratesTiming in ["atMissionSpawnGround","atMissionSpawnAir"]) then
{
if (_missionLootBoxes isEqualTo []) then
{
_crates = [_coords,[[selectRandom GMS_crateTypes,[1,1,0],_crateLoot,_lootCounts]], _loadCratesTiming, _spawnCratesTiming, "start", _difficulty] call GMS_fnc_spawnMissionCrates;
_crates = [_coords,[[selectRandom GMS_crateTypes,[1,1,0],_crateLoot,_lootCounts]], _loadCratesTiming, _spawnCratesTiming, "start", _difficulty, _missionFile] call GMS_fnc_spawnMissionCrates;
}
else
{
_crates = [_coords,_missionLootBoxes,_loadCratesTiming, _spawnCratesTiming, "start", _difficulty] call GMS_fnc_spawnMissionCrates;
_crates = [_coords,_missionLootBoxes,_loadCratesTiming, _spawnCratesTiming, "start", _difficulty, _missionFile] call GMS_fnc_spawnMissionCrates;
};
if (GMS_cleanUpLootChests) then

View File

@ -11,10 +11,10 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
_fnc_dropMissionCrates = {
private ["_crates","_marker","_markers","_GMS_localMissionMarker","_location","_airborneCrates","_curPosCrate"];
private ["_crates","_marker","_markers","_location","_airborneCrates","_curPosCrate"];
_crates = _this select 0;
_markers = [];
@ -34,9 +34,34 @@ _fnc_dropMissionCrates = {
detach _x;
deleteVehicle _chute;
_location = getPos _x;
_GMS_localMissionMarker = [format["crateMarker%1%2",_location select 0, _location select 1],_location,"","","ColorBlack",["mil_dot",[]]];
_marker = [_GMS_localMissionMarker] call GMS_fnc_spawnMarker;
/*
params[
["_markerName","NoNameGiven"], // the name used when creating the marker. Must be unique.
["_markerPos",[0,0]],
["_markerLabel","NoLabelGiven"], // Text used to label the marker
["_markerColor","NoColorGiven"],
["_markerType","NoTypeGiven"], // Use either the name of the icon or "ELLIPSE" or "RECTANGLE" where non-icon markers are used
["_markerSize",[0,0]],
["_markerBrush","NoBrushGiven"],
["_showMarkers",true],
["_missionFile","NoFilenameProvided"]
];
*/
_marker = [
format["crateMarker%1",random(round(1000000))],
_location,
"",
"ColorBlack",
"mil_dot",
[0,0],
"",
true,
_missionFile
] call GMS_fnc_createMissionMarkers;
[_marker,diag_tickTime + 300] call GMSCore_fnc_addToDeletionCue;
_curPosCrate = getPos _x;
_x setPos [_curPosCrate select 0, _curPosCrate select 1, 0.3];
};
@ -44,7 +69,7 @@ _fnc_dropMissionCrates = {
};
};
params[ ["_coords", [0,0,0]], ["_cratesToSpawn",[]], ["_loadCrateTiming","atMissionSpawn"],["_spawnCrateTiming","atMissionSpawn"],["_missionState","start"], ["_difficulty","red"] ];
params[ ["_coords", [0,0,0]], ["_cratesToSpawn",[]], ["_loadCrateTiming","atMissionSpawn"],["_spawnCrateTiming","atMissionSpawn"],["_missionState","start"], ["_difficulty","red"], ["_missionFile",""] ];
private _params = ["_coords","_cratesToSpawn","_loadCrateTiming","_spawnCrateTiming","_missionState","_difficulty"];

View File

@ -2,7 +2,7 @@
GMS_fnc_spawnMissionHelis
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params[
["_coords",[0,0,0]],
["_missionHelis",[]],

View File

@ -11,7 +11,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params["_coords","_missionLootVehicles",["_loadCrateTiming","atMissionSpawn"],["_lock",0]];
if (count _coords isEqualTo 2) then {_coords pushBack 0};

View File

@ -11,7 +11,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params[
["_coords",[]],

View File

@ -13,7 +13,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
// TODO: Need to debug for GMS
if (GMS_missionsRunning >= GMS_maxSpawnedMissions) exitWith
{

View File

@ -12,7 +12,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params["_coords","_missionLandscape",["_min",3],["_max",15],["_nearest",1]];
#define maxObjectSpawnRadius 25

View File

@ -8,7 +8,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params["_SDV","_pos","_difficulty","_numberAI","_patrolRadius","_respawnTime"];
#define SDVpatrolAreadDimensions [50,50]

View File

@ -8,7 +8,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
#define configureWaypoints true
#define isScubaGroup true
#define UMS_backpacks []

View File

@ -10,7 +10,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params["_center","_objects","_relative"];
private _spawnedObjects = [];

View File

@ -13,7 +13,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
private _wrecksAvailable = ["Land_Wreck_Car2_F","Land_Wreck_Car3_F","Land_Wreck_Car_F","Land_Wreck_Offroad2_F","Land_Wreck_Offroad_F","Land_Tyres_F","Land_Pallets_F","Land_MetalBarrel_F"];
params[["_pos",[0,0,0]],
["_mode","random"],

View File

@ -9,7 +9,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params["_SDV","_pos","_difficulty","_numAI","_patrolRadius","_respawnTime"];
#define surfacePatrolAreaDimensions [150,150]

View File

@ -8,7 +8,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
/*
_building,

View File

@ -10,7 +10,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
//private ["_start","_maxHeight","_smokeShell","_light","_lightSource"];
//params[["_crate",objNull],["_time",60]];

View File

@ -8,7 +8,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params["_character","_center","_characterBuildingConfigs"];

View File

@ -8,7 +8,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params["_coords","_charConfigs"];
private["_char","_charGroup"];
_charConfigs params["_classname","_posn","_dir","_simDamg","_animations","_headgear","_uniforms"];

View File

@ -8,7 +8,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params["_coords","_hostageConfigs"];
private["_hostage","_building"];

View File

@ -8,7 +8,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params["_coords","_leaderConfigs"];
private["_leader","_building"];

View File

@ -9,7 +9,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
for "_i" from 1 to (count GMS_liveMissionAI) do {
if ((_i) <= count GMS_liveMissionAI) then {
@ -18,7 +18,7 @@ for "_i" from 1 to (count GMS_liveMissionAI) do {
if (diag_tickTime > _timer) then
{
private _nearplayer = [_missionCenter,800] call GMS_fnc_nearestPlayers;
private _nearplayer = [_missionCenter,800] call GMSCore_fnc_nearestPlayers;
if (_nearPlayer isEqualTo []) then
{
{

View File

@ -9,7 +9,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
private["_ai","_group"];
params["_unit"];

View File

@ -8,7 +8,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params["_ai"];
{deleteVehicle _x}forEach nearestObjects [(getPosATL _ai), ['GroundWeaponHolder','WeaponHolderSimulated','WeaponHolder'], 3]; //Adapted from the AI cleanup logic by KiloSwiss
[_ai] call GMSCore_fnc_unitRemoveAllGear;

View File

@ -13,7 +13,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
--------------------------
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
// Acomodate case where para are spawned over water.
params["_pos","_numAI","_skilllevel",["_uniforms",[]],["_headGear",[]],["_vests",[]],["_backpacks",[]],["_weapons",[]],["_sideArms",[]],["_isScuba",false]];
if (_numAI < 1) exitWith {grpNull};

View File

@ -10,7 +10,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
private ["_i","_weap","_unit","_skillLevel","_aiSkills","_launcherRound","_index","_ammoChoices","_optics","_pointers","_muzzles","_underbarrel","_legalOptics"];

View File

@ -10,7 +10,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
if !(local (_this select 0)) exitWith {};
params ["_unit", "_source", "_damage", "_instigator"];
//[format["GMS_fnc_unitHit: _unit = %1 | _source %2 | vehicle _source %3 | _instigator %4",_unit,_source, vehicle _source, _instigator]] call GMS_fnc_log;

View File

@ -9,7 +9,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\GMS\Compiles\Init\GMS_defines.hpp"
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
params["_unit","_killer","_instigator"];
if (isNull _killer || {isNull _instigator}) exitWith {};

Some files were not shown because too many files have changed in this diff Show More