Updated stuff.

This commit is contained in:
Defent 2015-08-26 12:31:16 +02:00
parent 1f53e21c2a
commit 7ccf6ff572
7 changed files with 44 additions and 23 deletions

1
$PBOPREFIX$ Normal file
View File

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

1
$PREFIX$ Normal file
View File

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

View File

@ -2,34 +2,31 @@
// Made by Defent for Defents Mission System
// And for Numenadayz.com
if(isServer) then {
// compilation list
DMS_findSafePos = compile preprocessFileLineNumbers "\x\addons\DMS\scripts\DMS_findSafePos.sqf";
DMS_createBox = compile preprocessFileLineNumbers "\x\addons\DMS\crates\DMS_CreateBox.sqf";
DMS_CreateMarker = compile preprocessFileLineNumbers "\x\addons\DMS\scripts\DMS_CreateMarker.sqf";
DMS_spawnAI = compile preprocessFileLineNumbers "\x\addons\DMS\scripts\DMS_spawnAI.sqf";
DMS_selectMission = compile preprocessFileLineNumbers "\x\addons\DMS\scripts\DMS_selectMission.sqf";
DMS_CleanUp = compile preprocessFileLineNumbers "\x\addons\DMS\scripts\DMS_CleanUp.sqf";
DMS_Config = compile preprocessFileLineNumbers "\x\addons\DMS\scripts\DMS_Config.sqf";
// not fully loaded yet
/*
DMS_Loaded = false;
call DMS_Config;
waitUntil {DMS_Loaded};
DMS_findSafePos = compile preprocessFileLineNumbers "\x\addons\dms\scripts\DMS_findSafePos.sqf";
DMS_createBox = compile preprocessFileLineNumbers "\x\addons\dms\crates\DMS_CreateBox.sqf";
DMS_CreateMarker = compile preprocessFileLineNumbers "\x\addons\dms\scripts\DMS_CreateMarker.sqf";
DMS_spawnAI = compile preprocessFileLineNumbers "\x\addons\dms\scripts\DMS_spawnAI.sqf";
DMS_selectMission = compile preprocessFileLineNumbers "\x\addons\dms\scripts\DMS_selectMission.sqf";
DMS_CleanUp = compile preprocessFileLineNumbers "\x\addons\dms\scripts\DMS_CleanUp.sqf";
//DMS_Config = compile preprocessFileLineNumbers "\x\addons\dms\scripts\DMS_Config.sqf";
*/
// CONFIGS
//DMS_UseMissions = true;
//DMS_DetectNearWater = true;
//DMS_MissionMin = 60; // Timers in seconds
//DMS_MissionMax = 120; // Timers in seconds
// CONFIGS
//call DMS_selectMission;
uiSleep 2;
//[] call compile preprocessFileLineNumbers "\x\addons\DMS\scripts\DMS_selectMission.sqf";
//[] call compile preprocessFileLineNumbers "\x\addons\dms\scripts\DMS_selectMission.sqf";
//[] execVM "\x\addons\dms\scripts\DMS_selectMission.sqf";
call DMS_selectMission;
diag_log "DMS :: Functions loaded - starting the rest of the script.";

1
PboPrefix.txt Normal file
View File

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

19
config.cpp Normal file
View File

@ -0,0 +1,19 @@
class CfgPatches {
class A3_dms {
units[] = {};
weapons[] = {};
a3_DMS_version = 1.0;
requiredVersion = 1.36;
requiredAddons[] = {};
};
};
class CfgFunctions {
class dms {
class main {
file = "\x\addons\dms";
class start_dms {
postInit = 1;
};
};
};
};

2
fn_start_DMS.sqf Normal file
View File

@ -0,0 +1,2 @@
[] execVM "\x\addons\dms\dms_init.sqf";
diag_log format ["DMS :: Loading Defents Mission System"];

View File

@ -19,7 +19,7 @@ DMS_SelectMission = {
_missVar = _MainArray select _slct;
// Help from secret skype group.
call compile preprocessfilelinenumbers format["\x\addons\DMS\missions\%1.sqf",_missVar];
call compile preprocessfilelinenumbers format["\x\addons\dms\missions\%1.sqf",_missVar];
//DMS_MissionRunning = 1;
};