mirror of
https://github.com/Defent/DMS_Exile.git
synced 2024-08-30 16:52:12 +00:00
9110ffc675
***!!!THIS COMMIT WILL NOT WORK. DO NOT BOTHER COMPILING IT. THIS IS SIMPLY A "SAVE POINT"!!!*** I copied a lot of WAI stuff (specifically the config.sqf) as a template for the desired levels of customization that I want in the end. Created a couple unique DMS config values w/ comments (all variables prefixed with DMS_ in config.sqf) Created BroadCastMissionStatus (with a variety of options) Edited cleanup.sqf to take ARRAY params. It also won't clean up objects if there is a player within 20m of it (I will probably improve/replace the function later) Replaced original crate function with WAI (because of customizability. Will probably rewrite using BIS_fnc_param) Fixed the PBOPREFIX MissionStatusCheck is set up the way I want it, with all functions it uses ready as well. Made Exile and exile_server_config a necessary addon. Created preInit for compiling code (postInit simply launches it now) All functions added/changed so far have debug reports (if DMS_DEBUG=true)
26 lines
621 B
Plaintext
26 lines
621 B
Plaintext
// Loads compiles
|
|
// Made by Defent for Defents Mission System
|
|
// And for Numenadayz.com
|
|
// Rewritten by eraser1
|
|
|
|
//Load config
|
|
#include "config.sqf";
|
|
|
|
RESISTANCE setFriend[WEST,0];
|
|
WEST setFriend[RESISTANCE,0];
|
|
RESISTANCE setFriend[EAST,0];
|
|
EAST setFriend[RESISTANCE,0];
|
|
EAST setFriend[WEST,0];
|
|
WEST setFriend[EAST,0];
|
|
|
|
|
|
[1, DMS_MissionStatusCheck, [], true] call ExileServer_system_thread_addTask;
|
|
|
|
if(static_missions) then {
|
|
call compileFinal preprocessFileLineNumbers "\x\addons\dms\static\init.sqf";
|
|
};
|
|
|
|
if (mission_system) then {
|
|
call compileFinal preprocessFileLineNumbers "\x\addons\dms\missions\init.sqf";
|
|
};
|