-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathinit.sqf
250 lines (156 loc) · 12.3 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
// ====================================================================================
// F2 - Process ParamsArray
// Credits: Please see the F2 online manual (http://www.ferstaberinde.com/f2/en/)
// WARNING: DO NOT DISABLE THIS COMPONENT
f_processParamsArray = [] execVM "f\common\f_processParamsArray.sqf";
// ====================================================================================
// F2 - Disable Saving and Auto Saving
// Credits: Please see the F2 online manual (http://www.ferstaberinde.com/f2/en/)
enableSaving [false, false];
// ====================================================================================
// F2 - Respawn INIT
// Credits: Please see the F2 online manual (http://www.ferstaberinde.com/f2/en/)
f_respawnINIT = player addEventHandler ["killed", {_this execVM "init_onPlayerRespawn.sqf"}];
// ====================================================================================
// F2 - Mission Maker Teleport
// Credits: Please see the F2 online manual (http://www.ferstaberinde.com/f2/en/)
// f_missionMakerTeleport = 0;
// [] execVM "f\common\f_missionMakerTeleport.sqf";
// ====================================================================================
// F2 - CO Briefing
// Credits: Please see the F2 online manual (http://www.ferstaberinde.com/f2/en/)
[] execVM "briefing.sqf";
// ====================================================================================
// F2 - Mission Conditions Selector
// Credits: Please see the F2 online manual (http://www.ferstaberinde.com/f2/en/)
[] execVM "f\common\f_setMissionConditions.sqf";
// ====================================================================================
// F2 - OA Folk Group IDs
// Credits: Please see the F2 online manual (http://www.ferstaberinde.com/f2/en/)
f_script_setGroupIDs = [] execVM "f\common\folk_setGroupIDs.sqf";
// ====================================================================================
// F2 - ShackTactical Fireteam Member Markers
// Credits: Please see the F2 online manual (http://www.ferstaberinde.com/f2/en/)
[] execVM "f\common\ShackTac_setlocalFTMemberMarkers.sqf";
// ====================================================================================
// F2 - OA Folk Group Markers
// Credits: Please see the F2 online manual (http://www.ferstaberinde.com/f2/en/)
[] execVM "f\common\folk_setLocalGroupMarkers.sqf";
// ====================================================================================
// F2 - F2 Common Local Variables
// Credits: Please see the F2 online manual (http://www.ferstaberinde.com/f2/en/)
// WARNING: DO NOT DISABLE THIS COMPONENT
f_script_setLocalVars = [] execVM "f\common\f_setLocalVars.sqf";
// ====================================================================================
// F2 - Multiplayer Ending Controller
// Credits: Please see the F2 online manual (http://www.ferstaberinde.com/f2/en/)
f_endSelected = -1;
[] execVM "f\common\f_mpEndSetUp.sqf";
// ====================================================================================
// F2 - Kegetys Spectator Script
// Credits: Please see the F2 online manual (http://www.ferstaberinde.com/f2/en/)
[] execVM "f\common\f_spect\specta_init.sqf";
// ====================================================================================
// F2 - Disable BIS Conversations
// Credits: Please see the F2 online manual (http://www.ferstaberinde.com/f2/en/)
player setVariable ["BIS_noCoreConversations", true];
// ====================================================================================
// F2 - Automatic Body Removal
// Credits: Please see the F2 online manual (http://www.ferstaberinde.com/f2/en/)
// f_removeBodyDelay = 180;
// f_doNotRemoveBodies = [];
// [] execVM "f\common\f_addRemoveBodyEH.sqf";
// ====================================================================================
// F2 - Automatic Body Removal (FIFO)
// Credits: Please see the F2 online manual (http://www.ferstaberinde.com/f2/en/)
// f_abrFIFOlength = 30;
// f_abrDistance = 150;
// f_abrFIFOmaxLength = 50;
// f_doNotRemoveBodies = [];
// ["fifo"] execVM "f\common\f_addRemoveBodyEH.sqf";
// [] execVM "f\server\f_abrFIFO.sqf";
// ====================================================================================
// F2 - Dynamic View Distance
// Credits: Please see the F2 online manual (http://www.ferstaberinde.com/f2/en/)
// f_viewDistance_default = 1250;
// f_viewDistance_tank = 2000;
// f_viewDistance_rotaryWing = 2500;
// f_viewDistance_fixedWing = 5000;
// [] execVM "f\common\f_addSetViewDistanceEHs.sqf";
// ====================================================================================
// F2 - Authorised Crew Check
// Credits: Please see the F2 online manual (http://www.ferstaberinde.com/f2/en/)
// VehicleName addEventhandler ["GetIn", {[_this,[UnitName1,UnitName2]] execVM "f\common\f_isAuthorisedCrew.sqf"}];
// ====================================================================================
// F2 - Authorised Crew Type Check
// Credits: Please see the F2 online manual (http://www.ferstaberinde.com/f2/en/)
// VehicleName addEventhandler ["GetIn", {[_this,["UnitType1","UnitType2"]] execVM "f\common\f_isAuthorisedCrewType.sqf"}];
// ====================================================================================
// F2 - Casualties Cap
// Credits: Please see the F2 online manual (http://www.ferstaberinde.com/f2/en/)
// [[GroupName],100,1] execVM "f\server\f_endOnCasualtiesCap.sqf";
// US
//[[GrpUS_CO,GrpUS_DC,GrpUS_ASL,GrpUS_BSL,GrpUS_CSL,GrpUS_A1,GrpUS_A2,GrpUS_A3,GrpUS_B1,GrpUS_B2,GrpUS_B3,GrpUS_C1,GrpUS_C2,GrpUS_C3,GrpUS_MMG1,GrpUS_MAT1,GrpUS_ST1,GrpUS_ENG1,GrpUS_MTR1,GrpUS_HAT1,GrpUS_HMG1,GrpUS_SAM1,GrpUS_IFV1,GrpUS_IFV2,GrpUS_IFV3,GrpUS_TNK1,GrpUS_TH1,GrpUS_TH2,GrpUS_AH1],100,1] execVM "f\server\f_endOnCasualtiesCap.sqf";
// USMC
//[[GrpUSMC_CO,GrpUSMC_DC,GrpUSMC_ASL,GrpUSMC_BSL,GrpUSMC_CSL,GrpUSMC_A1,GrpUSM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ARMY
//[[GrpTK_CO,GrpTK_DC,GrpTK_ASL,GrpTK_BSL,GrpTK_CSL,GrpTK_A1,GrpTK_A2,GrpTK_A3,GrpTK_B1,GrpTK_B2,GrpTK_B3,GrpTK_C1,GrpTK_C2,GrpTK_C3,GrpTK_MMG1,GrpTK_MAT1,GrpTK_ST1,GrpTK_ENG1,GrpTK_MTR1,GrpTK_HAT1,GrpTK_HMG1,GrpTK_SAM1,GrpTK_IFV1,GrpTK_IFV2,GrpTK_IFV3,GrpTK_TNK1,GrpTK_TH1,GrpTK_TH2,GrpTK_AH1],100,1] execVM "f\server\f_endOnCasualtiesCap.sqf";
// RUSSIAN ARMY
//[[GrpRU_CO,GrpRU_DC,GrpRU_ASL,GrpRU_BSL,GrpRU_CSL,GrpRU_A1,GrpRU_A2,GrpRU_A3,GrpRU_B1,GrpRU_B2,GrpRU_B3,GrpRU_C1,GrpRU_C2,GrpRU_C3,GrpRU_MMG1,GrpRU_MAT1,GrpRU_ST1,GrpRU_ENG1,GrpRU_MTR1,GrpRU_HAT1,GrpRU_HMG1,GrpRU_SAM1,GrpRU_IFV1,GrpRU_IFV2,GrpRU_IFV3,GrpRU_TNK1,GrpRU_TH1,GrpRU_TH2,GrpRU_AH1],100,1] execVM "f\server\f_endOnCasualtiesCap.sqf";
// TK Insurgents
//[[GrpINS_CO,GrpINS_DC,GrpINS_ASL,GrpINS_BSL,GrpINS_CSL,GrpINS_A1,GrpINS_A2,GrpINS_A3,GrpINS_B1,GrpINS_B2,GrpINS_B3,GrpINS_C1,GrpINS_C2,GrpINS_C3,GrpINS_MMG1,GrpINS_MAT1,GrpINS_ST1,GrpINS_ENG1,GrpINS_MTR1,GrpINS_HAT1,GrpINS_HMG1,GrpINS_SAM1,GrpINS_IFV1,GrpINS_IFV2,GrpINS_IFV3,GrpINS_TNK1,GrpINS_TH1,GrpINS_TH2,GrpINS_AH1],100,1] execVM "f\server\f_endOnCasualtiesCap.sqf";
// CHDKZ
//[[GrpA2INS_CO,GrpA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FV1,GrpA2GUE_IFV2,GrpA2GUE_IFV3,GrpA2GUE_TNK1,GrpA2GUE_TH1,GrpA2GUE_TH2,GrpA2GUE_AH1],100,1] execVM "f\server\f_endOnCasualtiesCap.sqf";
// UN
//[[GrpUN_CO,GrpUN_DC,GrpUN_ASL,GrpUN_BSL,GrpUN_CSL,GrpUN_A1,GrpUN_A2,GrpUN_A3,GrpUN_B1,GrpUN_B2,GrpUN_B3,GrpUN_C1,GrpUN_C2,GrpUN_C3,GrpUN_MMG1,GrpUN_MAT1,GrpUN_ST1,GrpUN_ENG1,GrpUN_MTR1,GrpUN_HAT1,GrpUN_HMG1,GrpUN_SAM1,GrpUN_IFV1,GrpUN_IFV2,GrpUN_IFV3,GrpUN_TNK1,GrpUN_TH1,GrpUN_TH2,GrpUN_AH1],100,1] execVM "f\server\f_endOnCasualtiesCap.sqf";
// ====================================================================================
// F2 - Casualties Cap (Advanced)
// Credits: Please see the F2 online manual (http://www.ferstaberinde.com/f2/en/)
// [[GroupName],100] execVM "f\server\f_casualtiesCapAdv.sqf";
// ====================================================================================
// F2 - AI Skill Selector (coop)
// Credits: Please see the F2 online manual (http://www.ferstaberinde.com/f2/en/)
// f_isFriendlyBLU = 1;
// f_isFriendlyRES = 1;
// f_isFriendlyOPF = 0;
// f_isFriendlyCIV = 1;
// [] execVM "f\common\f_setAISkill.sqf";
// ====================================================================================
// F2 - AI Skill Selector (A&D)
// Credits: Please see the F2 online manual (http://www.ferstaberinde.com/f2/en/)
// f_isFriendlyToBLU_RES = 1;
// f_isFriendlyToBLU_CIV = 1;
// [] execVM "f\common\f_setAISkillAD.sqf";
// ====================================================================================
// F2 - Construction Interface (COIN) Presets
// Credits: Please see the F2 online manual (http://www.ferstaberinde.com/f2/en/)
// f_COINstopped = false;
// [COINName,"UnitName",0,2500] execVM "f\common\f_COINpresets.sqf";
// ====================================================================================
// F2 - Name Tags
// Credits: Please see the F2 online manual (http://www.ferstaberinde.com/f2/en/)
// [] execVM "f\common\f_recog\recog_init.sqf";
// ====================================================================================
// F2 - Group E&E Check
// Credits: Please see the F2 online manual (http://www.ferstaberinde.com/f2/en/)
// [GroupName,ObjectName,100,1] execVM "f\server\f_groupEandECheck.sqf";
// ====================================================================================
// F2 - ORBAT Notes
// Credits: Please see the F2 online manual (http://www.ferstaberinde.com/f2/en/)
[] execVM "f\common\f_orbatNotes.sqf";
// ====================================================================================
// F2 - Tripwire action
// Credits: Please see the F2 online manual (http://www.ferstaberinde.com/f2/en/)
// [[UnitName1,UnitName2],25,2,east] execVM "f\common\fa_tripwire_init.sqf";
// ====================================================================================
// F2 - Join Group Action
// Credits: Please see the F2 online manual (http://www.ferstaberinde.com/f2/en/)
[false] execVM "f\common\f_groupJoinAddOption.sqf";