-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.sqf
98 lines (82 loc) · 1.83 KB
/
init.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
/*
###MISSION_VERSION 0.75
*/
_d = execVM "scripts\general\debugRPT.sqf";
waitUntil {scriptDone _d};
_p = execVM "params.sqf";
waitUntil {scriptDone _p};
enableRadio false;
{
_x setVariable ["BIS_noCoreConversations",true];
} forEach allUnits;
TOUR_HQ = [WEST, "HQ"];
_f = execVM "scripts\functions\fn_init.sqf";
waitUntil {scriptDone _f};
TOUR_C130 enableDynamicSimulation false;
if (isServer) then
{
// TOUR_C130 setPosASL [11500, 11300, 10000];
// TOUR_C130 setVectorUp [0,0,1];
TOUR_lamp_1 setpos (TOUR_C130 modelToWorld [-0.0205078,-6.7,-1.1]); TOUR_lamp_1 setVectorUp [0,0,-1];
TOUR_lamp_2 setpos (TOUR_C130 modelToWorld [-0.00585938,2.38184,-1.1]); TOUR_lamp_2 setVectorUp [0,0,-1.1];
};
[true, 60, 15, true, 90, true, true, true, false, true] execvm "AL_snowstorm\al_snow.sqf";
execVM "scripts\general\intro.sqf";
_siAction = if (true) then
{
"(alive player) && ([player, ""ACRE_PRC148""] call acre_api_fnc_hasKindOfRadio)"
}else
{
"(alive player) && (""ItemRadio"" in (assignedItems player))"
};
_si =
[
TOUR_logic,
WEST,
_siAction,
"(alive player) && (player == leader group player) && (player distance TOUR_Officer < 2.5) && (isNil ""TOUR_mission_ending"")",
true,
[
[
"artillery",
"Thunder One",
[
["6rnd_155mm_mo_smoke", 50],
["2rnd_155mm_mo_lg", 1]
]
],
[
"helicopter",
TOUR_chopper_1,
"Dusty One",
[
"Circle",
"Land",
"Land (Engine Off)",
"Move To",
"Pickup",
"Return To Base",
"toggle engine"
],
getPosATL TOUR_chopper_1
],
[
"helicopter",
TOUR_chopper_2,
"Dusty Two",
[
"Circle",
"Land",
"Land (Engine Off)",
"Move To",
"Pickup",
"Return To Base",
"toggle engine"
],
getPosATL TOUR_chopper_2
]
],
"TOUR_fnc_callPara",
{true}
] execVM "scripts\TOUR_SI\TOUR_SI_init.sqf";
TOUR_init_complete = true;