mirror of
https://github.com/Defent/DMS_Exile.git
synced 2024-08-30 16:52:12 +00:00
Updated stuff.
This commit is contained in:
parent
1f53e21c2a
commit
7ccf6ff572
1
$PBOPREFIX$
Normal file
1
$PBOPREFIX$
Normal file
@ -0,0 +1 @@
|
||||
x\addons\DMS
|
41
DMS_init.sqf
41
DMS_init.sqf
@ -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
1
PboPrefix.txt
Normal file
@ -0,0 +1 @@
|
||||
x\addons\dms
|
19
config.cpp
Normal file
19
config.cpp
Normal 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
2
fn_start_DMS.sqf
Normal file
@ -0,0 +1,2 @@
|
||||
[] execVM "\x\addons\dms\dms_init.sqf";
|
||||
diag_log format ["DMS :: Loading Defents Mission System"];
|
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user