-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinitServer.sqf
58 lines (40 loc) · 2.04 KB
/
initServer.sqf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/*
@filename: initServer.sqf
Author:
Quiksilver
Last modified:
1/05/2014
Description:
Server scripts such as missions, modules, third party and clean-up.
Credit:
Invade & Annex 2.00 was created by Rarek [ahoyworld.co.uk] with countless hours of work,
and further developed by Quiksilver [allFPS.com.au] with countless hours more.
Contributors: Razgriz33 [AW], Jester [AW], Kamaradski [AW], David [AW], chucky [allFPS].
ts.ahoyworld.co.uk:9987
ts3.allfps.com.au:9992
Please be respectful and do not remove/alter credits.
______________________________________________________*/
enableSaving [false, false];
//------------------------------------------------ Set up curator classes
curators = allCurators;
guestCurators = [Guest1, Guest2];
adminCurators = curators - guestCurators;
//------------------------------------------------ Handle parameters
for [ {_i = 0}, {_i < count(paramsArray)}, {_i = _i + 1} ] do {
call compile format
[
"PARAMS_%1 = %2",
(configName ((missionConfigFile >> "Params") select _i)),
(paramsArray select _i)
];
};
//-------------------------------------------------- Server scripts
if (PARAMS_AO == 1) then { _null = [] execVM "mission\main\missionControl.sqf"; }; // Main AO
if (PARAMS_SideObjectives == 1) then { _null = [] execVM "mission\side\missionControl.sqf"; }; // Side Objectives
_null = [] execVM "scripts\eos\OpenMe.sqf"; // EOS (urban mission and defend AO)
_null = [] execVM "scripts\misc\airbaseDefense.sqf"; // Airbase air defense
_null = [] execVM "scripts\misc\clearBodies.sqf"; // clear bodies around island
_null = [] execVM "scripts\misc\clearItemsBASE.sqf"; // clear items around base
_null = [] execVM "scripts\misc\islandConfig.sqf"; // prep the island for mission
_null = [] execVM "scripts\misc\UAVfix.sqf"; // attempt UAV fix
if (PARAMS_EasterEggs == 1) then { _null = [] execVM "scripts\easterEggs.sqf"; }; // Spawn easter eggs around the island