@jtff/miztemplate-lib 3.3.2 → 3.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lua/src/020-mission_functions.lua +22 -0
- package/lua/src/130-airboss.lua +942 -0
- package/package.json +1 -1
|
@@ -1073,6 +1073,28 @@ function getSoundFilesPrefix()
|
|
|
1073
1073
|
return strPrefix
|
|
1074
1074
|
end
|
|
1075
1075
|
|
|
1076
|
+
function spawnStaticListWithUnitLink(layoutData, namePrefix, unitID, countryID)
|
|
1077
|
+
for index, layoutObject in pairs(layoutData) do
|
|
1078
|
+
local staticToSpawn = {
|
|
1079
|
+
["name"] = namePrefix .. "-" .. index,
|
|
1080
|
+
["livery_id"] = layoutObject.livery_id or "default",
|
|
1081
|
+
["category"] = layoutObject.category,
|
|
1082
|
+
["offsets"] = layoutObject.offsets,
|
|
1083
|
+
["shape_name"] = layoutObject.shape_name,
|
|
1084
|
+
["type"] = layoutObject.type,
|
|
1085
|
+
["groupId"] = 1,
|
|
1086
|
+
["unitId"] = 1,
|
|
1087
|
+
["y"] = 0,
|
|
1088
|
+
["x"] = 0,
|
|
1089
|
+
["heading"] = 0,
|
|
1090
|
+
["linkUnit"] = unitID,
|
|
1091
|
+
["linkOffset"] = true,
|
|
1092
|
+
["dead"] = false,
|
|
1093
|
+
}
|
|
1094
|
+
coalition.addStaticObject(countryID, staticToSpawn)
|
|
1095
|
+
end
|
|
1096
|
+
end
|
|
1097
|
+
|
|
1076
1098
|
env.info('JTFF-SHAREDLIB: shared library loaded succesfully')
|
|
1077
1099
|
|
|
1078
1100
|
soundFilesPrefix = getSoundFilesPrefix()
|
package/lua/src/130-airboss.lua
CHANGED
|
@@ -166,6 +166,907 @@ function startRecoveryOnDemand(objAirboss)
|
|
|
166
166
|
)
|
|
167
167
|
end
|
|
168
168
|
|
|
169
|
+
function wipeDeckLayout(objAirboss)
|
|
170
|
+
local statObj = coalition.getStaticObjects(objAirboss:GetCoalition())
|
|
171
|
+
jtff_log.info(string.format("CSG : %s Wiping Deck Layout...", objAirboss.customconfig.alias),"AIRBOSS")
|
|
172
|
+
for i, static in pairs(statObj) do
|
|
173
|
+
local staticName = static:getName()
|
|
174
|
+
if string.match(staticName, objAirboss.customconfig.alias .. "_Deck_Layout_.*") then
|
|
175
|
+
jtff_log.debug(string.format("CSG : %s Deleting Static %s.", objAirboss.customconfig.alias, staticName),"AIRBOSS")
|
|
176
|
+
static:destroy()
|
|
177
|
+
end
|
|
178
|
+
end
|
|
179
|
+
jtff_log.info(string.format("CSG : %s Deck Layout is shining clean", objAirboss.customconfig.alias),"AIRBOSS")
|
|
180
|
+
end
|
|
181
|
+
|
|
182
|
+
function spawnDeckLayout_Zone(objAirboss, zoneName, layoutData)
|
|
183
|
+
jtff_log.info(string.format("CSG : %s Deck Layout " .. zoneName .. " Spawning Layout...", objAirboss.customconfig.alias),"AIRBOSS")
|
|
184
|
+
spawnStaticListWithUnitLink(
|
|
185
|
+
layoutData,
|
|
186
|
+
objAirboss.customconfig.alias .. "_Deck_Layout_" .. zoneName,
|
|
187
|
+
objAirboss.carrier:GetID(),
|
|
188
|
+
objAirboss.carrier:GetCountry()
|
|
189
|
+
)
|
|
190
|
+
jtff_log.info(string.format("CSG : %s Deck Layout " .. zoneName .. " is up and ready.", objAirboss.customconfig.alias),"AIRBOSS")
|
|
191
|
+
end
|
|
192
|
+
|
|
193
|
+
function cleanDeckLayout(objAirboss)
|
|
194
|
+
wipeDeckLayout(objAirboss)
|
|
195
|
+
local lsoLayout = {
|
|
196
|
+
{
|
|
197
|
+
["category"] = "Personnel",
|
|
198
|
+
["offsets"] =
|
|
199
|
+
{
|
|
200
|
+
["y"] = -22.642253013093,
|
|
201
|
+
["angle"] = 9.4630780121514,
|
|
202
|
+
["x"] = -129.54834584263,
|
|
203
|
+
}, -- end of ["offsets"]
|
|
204
|
+
["shape_name"] = "carrier_lso_usa",
|
|
205
|
+
["type"] = "Carrier LSO Personell",
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
["category"] = "Personnel",
|
|
209
|
+
["offsets"] =
|
|
210
|
+
{
|
|
211
|
+
["y"] = -21.045047881828,
|
|
212
|
+
["angle"] = 46.778217419792,
|
|
213
|
+
["x"] = -130.21820141007,
|
|
214
|
+
}, -- end of ["offsets"]
|
|
215
|
+
["shape_name"] = "carrier_lso1_usa",
|
|
216
|
+
["type"] = "Carrier LSO Personell 1",
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
["category"] = "Personnel",
|
|
220
|
+
["offsets"] =
|
|
221
|
+
{
|
|
222
|
+
["y"] = -21.839557639788,
|
|
223
|
+
["angle"] = 9.3409049645118,
|
|
224
|
+
["x"] = -129.49332696254,
|
|
225
|
+
}, -- end of ["offsets"]
|
|
226
|
+
["shape_name"] = "carrier_lso2_usa",
|
|
227
|
+
["type"] = "Carrier LSO Personell 2",
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
["category"] = "Personnel",
|
|
231
|
+
["offsets"] =
|
|
232
|
+
{
|
|
233
|
+
["y"] = -22.255108049524,
|
|
234
|
+
["angle"] = 46.673497664673,
|
|
235
|
+
["x"] = -130.45775733336,
|
|
236
|
+
}, -- end of ["offsets"]
|
|
237
|
+
["shape_name"] = "carrier_lso3_usa",
|
|
238
|
+
["type"] = "Carrier LSO Personell 3",
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
["category"] = "Personnel",
|
|
242
|
+
["offsets"] =
|
|
243
|
+
{
|
|
244
|
+
["y"] = -20.754178989515,
|
|
245
|
+
["angle"] = 45.957912671355,
|
|
246
|
+
["x"] = -129.34298284226,
|
|
247
|
+
}, -- end of ["offsets"]
|
|
248
|
+
["shape_name"] = "carrier_lso4_usa",
|
|
249
|
+
["type"] = "Carrier LSO Personell 4",
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
["category"] = "Personnel",
|
|
253
|
+
["offsets"] =
|
|
254
|
+
{
|
|
255
|
+
["y"] = -21.663772743992,
|
|
256
|
+
["angle"] = 46.778217419792,
|
|
257
|
+
["x"] = -130.12909556276,
|
|
258
|
+
}, -- end of ["offsets"]
|
|
259
|
+
["shape_name"] = "carrier_lso5_usa",
|
|
260
|
+
["type"] = "Carrier LSO Personell 5",
|
|
261
|
+
},
|
|
262
|
+
}
|
|
263
|
+
spawnDeckLayout_Zone(objAirboss, "LSO", lsoLayout)
|
|
264
|
+
local islandLayout = {
|
|
265
|
+
{
|
|
266
|
+
["livery_id"] = "usn hsm-70",
|
|
267
|
+
["category"] = "Helicopters",
|
|
268
|
+
["offsets"] =
|
|
269
|
+
{
|
|
270
|
+
["y"] = 19.24072690114,
|
|
271
|
+
["angle"] = 114.52850551587,
|
|
272
|
+
["x"] = -62.06548607626,
|
|
273
|
+
}, -- end of ["offsets"]
|
|
274
|
+
["type"] = "S_70B_Seahawk",
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
["livery_id"] = "usn hsc-9",
|
|
278
|
+
["category"] = "Helicopters",
|
|
279
|
+
["offsets"] =
|
|
280
|
+
{
|
|
281
|
+
["y"] = 18.832155465242,
|
|
282
|
+
["angle"] = 114.54595880839,
|
|
283
|
+
["x"] = -58.356914646729,
|
|
284
|
+
}, -- end of ["offsets"]
|
|
285
|
+
["type"] = "S_70B_Seahawk",
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
["livery_id"] = "usn hsm-70",
|
|
289
|
+
["category"] = "Helicopters",
|
|
290
|
+
["offsets"] =
|
|
291
|
+
{
|
|
292
|
+
["y"] = 18.463584036166,
|
|
293
|
+
["angle"] = 114.52850551587,
|
|
294
|
+
["x"] = -54.716914652369,
|
|
295
|
+
}, -- end of ["offsets"]
|
|
296
|
+
["type"] = "S_70B_Seahawk",
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
["livery_id"] = "usn hsc-9",
|
|
300
|
+
["category"] = "Helicopters",
|
|
301
|
+
["offsets"] =
|
|
302
|
+
{
|
|
303
|
+
["y"] = 18.063584040064,
|
|
304
|
+
["angle"] = 114.54595880839,
|
|
305
|
+
["x"] = -51.002628938575,
|
|
306
|
+
}, -- end of ["offsets"]
|
|
307
|
+
["type"] = "S_70B_Seahawk",
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
["livery_id"] = "VAW-116_165648 - Used",
|
|
311
|
+
["category"] = "Planes",
|
|
312
|
+
["offsets"] =
|
|
313
|
+
{
|
|
314
|
+
["y"] = 15.873907469023,
|
|
315
|
+
["angle"] = 117.7922712171,
|
|
316
|
+
["x"] = -44.726758369739,
|
|
317
|
+
}, -- end of ["offsets"]
|
|
318
|
+
["type"] = "E-2C",
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
["livery_id"] = "vaw-124_161781 - used",
|
|
322
|
+
["category"] = "Planes",
|
|
323
|
+
["offsets"] =
|
|
324
|
+
{
|
|
325
|
+
["y"] = 14.988698327991,
|
|
326
|
+
["angle"] = 117.80972450962,
|
|
327
|
+
["x"] = -35.311371789741,
|
|
328
|
+
}, -- end of ["offsets"]
|
|
329
|
+
["type"] = "E-2C",
|
|
330
|
+
},
|
|
331
|
+
}
|
|
332
|
+
spawnDeckLayout_Zone(objAirboss, "Island", islandLayout)
|
|
333
|
+
local fingerLayout = {
|
|
334
|
+
{
|
|
335
|
+
["category"] = "ADEquipment",
|
|
336
|
+
["offsets"] =
|
|
337
|
+
{
|
|
338
|
+
["y"] = -33.184467034521,
|
|
339
|
+
["angle"] = 57.655506497452,
|
|
340
|
+
["x"] = -118.52125502295,
|
|
341
|
+
}, -- end of ["offsets"]
|
|
342
|
+
["type"] = "CV_59_MD3",
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
["category"] = "ADEquipment",
|
|
346
|
+
["offsets"] =
|
|
347
|
+
{
|
|
348
|
+
["y"] = -28.268248410584,
|
|
349
|
+
["angle"] = 57.655506497452,
|
|
350
|
+
["x"] = -119.29494811179,
|
|
351
|
+
}, -- end of ["offsets"]
|
|
352
|
+
["type"] = "CV_59_MD3",
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
["category"] = "Personnel",
|
|
356
|
+
["offsets"] =
|
|
357
|
+
{
|
|
358
|
+
["y"] = -26.53677632134,
|
|
359
|
+
["angle"] = 52.398177611214,
|
|
360
|
+
["x"] = -121.48120753936,
|
|
361
|
+
}, -- end of ["offsets"]
|
|
362
|
+
["shape_name"] = "carrier_airboss_USA",
|
|
363
|
+
["type"] = "Carrier Airboss",
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
["category"] = "Personnel",
|
|
367
|
+
["offsets"] =
|
|
368
|
+
{
|
|
369
|
+
["y"] = -25.971342876553,
|
|
370
|
+
["angle"] = 53.515188332491,
|
|
371
|
+
["x"] = -120.90243392733,
|
|
372
|
+
}, -- end of ["offsets"]
|
|
373
|
+
["shape_name"] = "carrier_tech_USA",
|
|
374
|
+
["type"] = "us carrier tech",
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
["category"] = "Personnel",
|
|
378
|
+
["offsets"] =
|
|
379
|
+
{
|
|
380
|
+
["y"] = -28.356878435401,
|
|
381
|
+
["angle"] = 55.993555870323,
|
|
382
|
+
["x"] = -117.49430504236,
|
|
383
|
+
}, -- end of ["offsets"]
|
|
384
|
+
["shape_name"] = "carrier_tech_USA",
|
|
385
|
+
["type"] = "us carrier tech",
|
|
386
|
+
},
|
|
387
|
+
}
|
|
388
|
+
spawnDeckLayout_Zone(objAirboss, "Finger", fingerLayout)
|
|
389
|
+
local junkyardLayout = {
|
|
390
|
+
{
|
|
391
|
+
["livery_id"] = "VF-31 Tomcatters AJ110",
|
|
392
|
+
["category"] = "Planes",
|
|
393
|
+
["offsets"] =
|
|
394
|
+
{
|
|
395
|
+
["y"] = 23.868126250806,
|
|
396
|
+
["angle"] = 118.38568316278,
|
|
397
|
+
["x"] = -76.849637038031,
|
|
398
|
+
}, -- end of ["offsets"]
|
|
399
|
+
["type"] = "F-14B",
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
["category"] = "ADEquipment",
|
|
403
|
+
["offsets"] =
|
|
404
|
+
{
|
|
405
|
+
["y"] = 17.139018329887,
|
|
406
|
+
["angle"] = 58.035591095156,
|
|
407
|
+
["x"] = -65.813777735393,
|
|
408
|
+
}, -- end of ["offsets"]
|
|
409
|
+
["type"] = "AS32-31A",
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
["category"] = "ADEquipment",
|
|
413
|
+
["offsets"] =
|
|
414
|
+
{
|
|
415
|
+
["y"] = 24.120499629569,
|
|
416
|
+
["angle"] = 61.561156184185,
|
|
417
|
+
["x"] = -69.203061035979,
|
|
418
|
+
}, -- end of ["offsets"]
|
|
419
|
+
["type"] = "CV_59_NS60",
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
["category"] = "Personnel",
|
|
423
|
+
["offsets"] =
|
|
424
|
+
{
|
|
425
|
+
["y"] = 17.879791797899,
|
|
426
|
+
["angle"] = 50.6353950667,
|
|
427
|
+
["x"] = -74.475258571736,
|
|
428
|
+
}, -- end of ["offsets"]
|
|
429
|
+
["shape_name"] = "carrier_tech_USA",
|
|
430
|
+
["type"] = "us carrier tech",
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
["category"] = "Personnel",
|
|
434
|
+
["offsets"] =
|
|
435
|
+
{
|
|
436
|
+
["y"] = 25.619087114483,
|
|
437
|
+
["angle"] = 54.614745761248,
|
|
438
|
+
["x"] = -66.508616271609,
|
|
439
|
+
}, -- end of ["offsets"]
|
|
440
|
+
["shape_name"] = "carrier_seaman_USA",
|
|
441
|
+
["type"] = "Carrier Seaman",
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
["category"] = "Personnel",
|
|
445
|
+
["offsets"] =
|
|
446
|
+
{
|
|
447
|
+
["y"] = 34.051254809191,
|
|
448
|
+
["angle"] = 53.968973938009,
|
|
449
|
+
["x"] = -81.499626394137,
|
|
450
|
+
}, -- end of ["offsets"]
|
|
451
|
+
["shape_name"] = "carrier_seaman_USA",
|
|
452
|
+
["type"] = "Carrier Seaman",
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
["category"] = "Personnel",
|
|
456
|
+
["offsets"] =
|
|
457
|
+
{
|
|
458
|
+
["y"] = 17.570464910906,
|
|
459
|
+
["angle"] = 54.614745761248,
|
|
460
|
+
["x"] = -69.116627300857,
|
|
461
|
+
}, -- end of ["offsets"]
|
|
462
|
+
["shape_name"] = "carrier_tech_USA",
|
|
463
|
+
["type"] = "us carrier tech",
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
["category"] = "Personnel",
|
|
467
|
+
["offsets"] =
|
|
468
|
+
{
|
|
469
|
+
["y"] = 17.633141928651,
|
|
470
|
+
["angle"] = 54.527479298648,
|
|
471
|
+
["x"] = -69.719469345642,
|
|
472
|
+
}, -- end of ["offsets"]
|
|
473
|
+
["shape_name"] = "carrier_tech_USA",
|
|
474
|
+
["type"] = "us carrier tech",
|
|
475
|
+
},
|
|
476
|
+
}
|
|
477
|
+
spawnDeckLayout_Zone(objAirboss, "Junkyard", junkyardLayout)
|
|
478
|
+
end
|
|
479
|
+
|
|
480
|
+
function flexDeck3SpawnLayout(objAirboss)
|
|
481
|
+
flexDeck7SpawnLayout(objAirboss)
|
|
482
|
+
local elev1Layout = {
|
|
483
|
+
{
|
|
484
|
+
["livery_id"] = "vmfa-314-12-gaspo",
|
|
485
|
+
["category"] = "Planes",
|
|
486
|
+
["offsets"] =
|
|
487
|
+
{
|
|
488
|
+
["y"] = 31.562717287402,
|
|
489
|
+
["angle"] = 117.80972450962,
|
|
490
|
+
["x"] = 35.545373177252,
|
|
491
|
+
}, -- end of ["offsets"]
|
|
492
|
+
["type"] = "FA-18C_hornet",
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
["livery_id"] = "vmfa-314-07-max",
|
|
496
|
+
["category"] = "Planes",
|
|
497
|
+
["offsets"] =
|
|
498
|
+
{
|
|
499
|
+
["y"] = 31.631930277644,
|
|
500
|
+
["angle"] = 117.80972450962,
|
|
501
|
+
["x"] = 26.732753925417,
|
|
502
|
+
}, -- end of ["offsets"]
|
|
503
|
+
["type"] = "FA-18C_hornet",
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
["livery_id"] = "vmfa-314-prospect",
|
|
507
|
+
["category"] = "Planes",
|
|
508
|
+
["offsets"] =
|
|
509
|
+
{
|
|
510
|
+
["y"] = 31.755826137288,
|
|
511
|
+
["angle"] = 117.80972450962,
|
|
512
|
+
["x"] = 17.845507060166,
|
|
513
|
+
}, -- end of ["offsets"]
|
|
514
|
+
["type"] = "FA-18C_hornet",
|
|
515
|
+
},
|
|
516
|
+
}
|
|
517
|
+
spawnDeckLayout_Zone(objAirboss, "Elev1", elev1Layout)
|
|
518
|
+
local elev4Layout = {
|
|
519
|
+
{
|
|
520
|
+
["livery_id"] = "jtff_vf-84_91_200",
|
|
521
|
+
["category"] = "Planes",
|
|
522
|
+
["offsets"] =
|
|
523
|
+
{
|
|
524
|
+
["y"] = -34.152985378431,
|
|
525
|
+
["angle"] = 20.423745714676,
|
|
526
|
+
["x"] = -110.45527895631,
|
|
527
|
+
}, -- end of ["offsets"]
|
|
528
|
+
["type"] = "F-14B",
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
["livery_id"] = "jtff_vf-84_91_201",
|
|
532
|
+
["category"] = "Planes",
|
|
533
|
+
["offsets"] =
|
|
534
|
+
{
|
|
535
|
+
["y"] = -33.777172440145,
|
|
536
|
+
["angle"] = 20.423745714676,
|
|
537
|
+
["x"] = -96.916883461044,
|
|
538
|
+
}, -- end of ["offsets"]
|
|
539
|
+
["type"] = "F-14B",
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
["livery_id"] = "jtff_vf-84_91_202",
|
|
543
|
+
["category"] = "Planes",
|
|
544
|
+
["offsets"] =
|
|
545
|
+
{
|
|
546
|
+
["y"] = -29.525479966254,
|
|
547
|
+
["angle"] = 23.565338368266,
|
|
548
|
+
["x"] = -103.85620127214,
|
|
549
|
+
}, -- end of ["offsets"]
|
|
550
|
+
["type"] = "F-14B",
|
|
551
|
+
},
|
|
552
|
+
{
|
|
553
|
+
["category"] = "ADEquipment",
|
|
554
|
+
["offsets"] =
|
|
555
|
+
{
|
|
556
|
+
["y"] = -25.86192061308,
|
|
557
|
+
["angle"] = 13.686774801978,
|
|
558
|
+
["x"] = -113.12563229675,
|
|
559
|
+
}, -- end of ["offsets"]
|
|
560
|
+
["type"] = "AS32-p25",
|
|
561
|
+
},
|
|
562
|
+
}
|
|
563
|
+
spawnDeckLayout_Zone(objAirboss, "Elev4", elev4Layout)
|
|
564
|
+
end
|
|
565
|
+
|
|
566
|
+
function flexDeck7SpawnLayout(objAirboss)
|
|
567
|
+
cleanDeckLayout(objAirboss)
|
|
568
|
+
local pointLayout = {
|
|
569
|
+
{
|
|
570
|
+
["livery_id"] = "vfa-131",
|
|
571
|
+
["category"] = "Planes",
|
|
572
|
+
["offsets"] =
|
|
573
|
+
{
|
|
574
|
+
["y"] = 24.669901019671,
|
|
575
|
+
["angle"] = 116.53563415567,
|
|
576
|
+
["x"] = 76.218478186123,
|
|
577
|
+
}, -- end of ["offsets"]
|
|
578
|
+
["type"] = "FA-18C_hornet",
|
|
579
|
+
},
|
|
580
|
+
{
|
|
581
|
+
["livery_id"] = "vfa-131",
|
|
582
|
+
["category"] = "Planes",
|
|
583
|
+
["offsets"] =
|
|
584
|
+
{
|
|
585
|
+
["y"] = 31.548333323636,
|
|
586
|
+
["angle"] = 117.60028499938,
|
|
587
|
+
["x"] = 66.983044465331,
|
|
588
|
+
}, -- end of ["offsets"]
|
|
589
|
+
["type"] = "FA-18C_hornet",
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
["livery_id"] = "vmfa-314-11-fenrir",
|
|
593
|
+
["category"] = "Planes",
|
|
594
|
+
["offsets"] =
|
|
595
|
+
{
|
|
596
|
+
["y"] = 31.887484174597,
|
|
597
|
+
["angle"] = 117.82717780214,
|
|
598
|
+
["x"] = 58.718151586128,
|
|
599
|
+
}, -- end of ["offsets"]
|
|
600
|
+
["type"] = "FA-18C_hornet",
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
["livery_id"] = "vmfa-314-04-nico",
|
|
604
|
+
["category"] = "Planes",
|
|
605
|
+
["offsets"] =
|
|
606
|
+
{
|
|
607
|
+
["y"] = 31.687484165357,
|
|
608
|
+
["angle"] = 117.82717780214,
|
|
609
|
+
["x"] = 49.946723022861,
|
|
610
|
+
}, -- end of ["offsets"]
|
|
611
|
+
["type"] = "FA-18C_hornet",
|
|
612
|
+
},
|
|
613
|
+
{
|
|
614
|
+
["livery_id"] = "vmfa-314-03-dan",
|
|
615
|
+
["category"] = "Planes",
|
|
616
|
+
["offsets"] =
|
|
617
|
+
{
|
|
618
|
+
["y"] = 22.89707058953,
|
|
619
|
+
["angle"] = 117.80972450962,
|
|
620
|
+
["x"] = 44.552326879982,
|
|
621
|
+
}, -- end of ["offsets"]
|
|
622
|
+
["type"] = "FA-18C_hornet",
|
|
623
|
+
},
|
|
624
|
+
}
|
|
625
|
+
spawnDeckLayout_Zone(objAirboss, "Point", pointLayout)
|
|
626
|
+
local cat1Layout = {
|
|
627
|
+
{
|
|
628
|
+
["livery_id"] = "_VFA-103 Jolly Rogers - CAG - Dirty",
|
|
629
|
+
["category"] = "Planes",
|
|
630
|
+
["offsets"] =
|
|
631
|
+
{
|
|
632
|
+
["y"] = 10.075737706355,
|
|
633
|
+
["angle"] = 116.53563415567,
|
|
634
|
+
["x"] = 145.80306508157,
|
|
635
|
+
}, -- end of ["offsets"]
|
|
636
|
+
["type"] = "FA-18C_hornet",
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
["livery_id"] = "_VFA-103 Jolly Rogers - Line - Dirty",
|
|
640
|
+
["category"] = "Planes",
|
|
641
|
+
["offsets"] =
|
|
642
|
+
{
|
|
643
|
+
["y"] = 10.541399489708,
|
|
644
|
+
["angle"] = 116.53563415567,
|
|
645
|
+
["x"] = 132.19996926151,
|
|
646
|
+
}, -- end of ["offsets"]
|
|
647
|
+
["type"] = "FA-18C_hornet",
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
["livery_id"] = "_VFA-103 Jolly Rogers - Line - Dirty",
|
|
651
|
+
["category"] = "Planes",
|
|
652
|
+
["offsets"] =
|
|
653
|
+
{
|
|
654
|
+
["y"] = 10.98313938269,
|
|
655
|
+
["angle"] = 116.53563415567,
|
|
656
|
+
["x"] = 118.83733772334,
|
|
657
|
+
}, -- end of ["offsets"]
|
|
658
|
+
["type"] = "FA-18C_hornet",
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
["livery_id"] = "_VFA-103 Jolly Rogers - Line - Dirty",
|
|
662
|
+
["category"] = "Planes",
|
|
663
|
+
["offsets"] =
|
|
664
|
+
{
|
|
665
|
+
["y"] = 12.59068314775,
|
|
666
|
+
["angle"] = 116.53563415567,
|
|
667
|
+
["x"] = 106.45353714522,
|
|
668
|
+
}, -- end of ["offsets"]
|
|
669
|
+
["type"] = "FA-18C_hornet",
|
|
670
|
+
},
|
|
671
|
+
{
|
|
672
|
+
["livery_id"] = "_VFA-103 Jolly Rogers - XO - Dirty",
|
|
673
|
+
["category"] = "Planes",
|
|
674
|
+
["offsets"] =
|
|
675
|
+
{
|
|
676
|
+
["y"] = 14.419254583666,
|
|
677
|
+
["angle"] = 116.53563415567,
|
|
678
|
+
["x"] = 94.424965715345,
|
|
679
|
+
}, -- end of ["offsets"]
|
|
680
|
+
["type"] = "FA-18C_hornet",
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
["livery_id"] = "vfa-131",
|
|
684
|
+
["category"] = "Planes",
|
|
685
|
+
["offsets"] =
|
|
686
|
+
{
|
|
687
|
+
["y"] = 18.643328055733,
|
|
688
|
+
["angle"] = 116.53563415567,
|
|
689
|
+
["x"] = 83.777230709954,
|
|
690
|
+
}, -- end of ["offsets"]
|
|
691
|
+
["type"] = "FA-18C_hornet",
|
|
692
|
+
},
|
|
693
|
+
}
|
|
694
|
+
spawnDeckLayout_Zone(objAirboss, "Cat1", cat1Layout)
|
|
695
|
+
local patioLayout = {
|
|
696
|
+
{
|
|
697
|
+
["livery_id"] = "VF-31 Tomcatters AJ100",
|
|
698
|
+
["category"] = "Planes",
|
|
699
|
+
["offsets"] =
|
|
700
|
+
{
|
|
701
|
+
["y"] = 28.093555953897,
|
|
702
|
+
["angle"] = 118.10643048246,
|
|
703
|
+
["x"] = -116.21846377714,
|
|
704
|
+
}, -- end of ["offsets"]
|
|
705
|
+
["type"] = "F-14B",
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
["livery_id"] = "VF-31 Tomcatters AJ102",
|
|
709
|
+
["category"] = "Planes",
|
|
710
|
+
["offsets"] =
|
|
711
|
+
{
|
|
712
|
+
["y"] = 26.33823811991,
|
|
713
|
+
["angle"] = 118.50785621042,
|
|
714
|
+
["x"] = -125.6398759805,
|
|
715
|
+
}, -- end of ["offsets"]
|
|
716
|
+
["type"] = "F-14B",
|
|
717
|
+
},
|
|
718
|
+
{
|
|
719
|
+
["livery_id"] = "VF-31 Tomcatters AJ101",
|
|
720
|
+
["category"] = "Planes",
|
|
721
|
+
["offsets"] =
|
|
722
|
+
{
|
|
723
|
+
["y"] = 24.866259756495,
|
|
724
|
+
["angle"] = 118.90928193838,
|
|
725
|
+
["x"] = -137.27914171635,
|
|
726
|
+
}, -- end of ["offsets"]
|
|
727
|
+
["type"] = "F-14B",
|
|
728
|
+
},
|
|
729
|
+
}
|
|
730
|
+
spawnDeckLayout_Zone(objAirboss, "Patio", patioLayout)
|
|
731
|
+
local elev2Layout = {
|
|
732
|
+
{
|
|
733
|
+
["livery_id"] = "usaf - vs-24 - line 06",
|
|
734
|
+
["category"] = "Planes",
|
|
735
|
+
["offsets"] =
|
|
736
|
+
{
|
|
737
|
+
["y"] = 32.539954023092,
|
|
738
|
+
["angle"] = 117.80972450962,
|
|
739
|
+
["x"] = -11.175267363564,
|
|
740
|
+
}, -- end of ["offsets"]
|
|
741
|
+
["type"] = "S-3B",
|
|
742
|
+
},
|
|
743
|
+
{
|
|
744
|
+
["livery_id"] = "usaf - vs-24 - cag",
|
|
745
|
+
["category"] = "Planes",
|
|
746
|
+
["offsets"] =
|
|
747
|
+
{
|
|
748
|
+
["y"] = 32.365491326017,
|
|
749
|
+
["angle"] = 117.80972450962,
|
|
750
|
+
["x"] = -20.127247546956,
|
|
751
|
+
}, -- end of ["offsets"]
|
|
752
|
+
["type"] = "S-3B Tanker",
|
|
753
|
+
},
|
|
754
|
+
{
|
|
755
|
+
["livery_id"] = "usn vrc-40",
|
|
756
|
+
["category"] = "Planes",
|
|
757
|
+
["offsets"] =
|
|
758
|
+
{
|
|
759
|
+
["y"] = 28.124813741543,
|
|
760
|
+
["angle"] = 117.80972450962,
|
|
761
|
+
["x"] = -29.525058026088,
|
|
762
|
+
}, -- end of ["offsets"]
|
|
763
|
+
["type"] = "C2A_Greyhound",
|
|
764
|
+
},
|
|
765
|
+
{
|
|
766
|
+
},
|
|
767
|
+
{
|
|
768
|
+
},
|
|
769
|
+
{
|
|
770
|
+
},
|
|
771
|
+
}
|
|
772
|
+
spawnDeckLayout_Zone(objAirboss, "Elev2", elev2Layout)
|
|
773
|
+
local coralLayout = {
|
|
774
|
+
{
|
|
775
|
+
["livery_id"] = "vmfa-314-17-bbr",
|
|
776
|
+
["category"] = "Planes",
|
|
777
|
+
["offsets"] =
|
|
778
|
+
{
|
|
779
|
+
["y"] = 31.823972928083,
|
|
780
|
+
["angle"] = 117.80972450962,
|
|
781
|
+
["x"] = 9.0184519872365,
|
|
782
|
+
}, -- end of ["offsets"]
|
|
783
|
+
["type"] = "FA-18C_hornet",
|
|
784
|
+
},
|
|
785
|
+
{
|
|
786
|
+
["livery_id"] = "vmfa-314-high-visibility",
|
|
787
|
+
["category"] = "Planes",
|
|
788
|
+
["offsets"] =
|
|
789
|
+
{
|
|
790
|
+
["y"] = 31.892119718495,
|
|
791
|
+
["angle"] = 117.80972450962,
|
|
792
|
+
["x"] = 0.19139690430253,
|
|
793
|
+
}, -- end of ["offsets"]
|
|
794
|
+
["type"] = "FA-18C_hornet",
|
|
795
|
+
},
|
|
796
|
+
}
|
|
797
|
+
spawnDeckLayout_Zone(objAirboss, "Coral", coralLayout)
|
|
798
|
+
local sixPackLayout = {
|
|
799
|
+
{
|
|
800
|
+
["livery_id"] = "marines 06 cb 161352",
|
|
801
|
+
["category"] = "Planes",
|
|
802
|
+
["offsets"] =
|
|
803
|
+
{
|
|
804
|
+
["y"] = 9.5058075472028,
|
|
805
|
+
["angle"] = 116.6578072033,
|
|
806
|
+
["x"] = -24.69799568041,
|
|
807
|
+
}, -- end of ["offsets"]
|
|
808
|
+
["type"] = "EA_6B",
|
|
809
|
+
},
|
|
810
|
+
{
|
|
811
|
+
["livery_id"] = "vmaq-2 cy 159909",
|
|
812
|
+
["category"] = "Planes",
|
|
813
|
+
["offsets"] =
|
|
814
|
+
{
|
|
815
|
+
["y"] = 6.7954604627145,
|
|
816
|
+
["angle"] = 116.6578072033,
|
|
817
|
+
["x"] = -13.397800604079,
|
|
818
|
+
}, -- end of ["offsets"]
|
|
819
|
+
["type"] = "EA_6B",
|
|
820
|
+
},
|
|
821
|
+
{
|
|
822
|
+
["livery_id"] = "vmaq-2 cy 160432",
|
|
823
|
+
["category"] = "Planes",
|
|
824
|
+
["offsets"] =
|
|
825
|
+
{
|
|
826
|
+
["y"] = 4.2081211078727,
|
|
827
|
+
["angle"] = 116.6578072033,
|
|
828
|
+
["x"] = -2.0125088320917,
|
|
829
|
+
}, -- end of ["offsets"]
|
|
830
|
+
["type"] = "EA_6B",
|
|
831
|
+
},
|
|
832
|
+
}
|
|
833
|
+
spawnDeckLayout_Zone(objAirboss, "SixPack", sixPackLayout)
|
|
834
|
+
end
|
|
835
|
+
|
|
836
|
+
function launchDeck7SpawnLayout(objAirboss)
|
|
837
|
+
flexDeck7SpawnLayout(objAirboss)
|
|
838
|
+
local sternLayout = {
|
|
839
|
+
{
|
|
840
|
+
["livery_id"] = "VF-31 Tomcatters AJ105",
|
|
841
|
+
["category"] = "Planes",
|
|
842
|
+
["offsets"] =
|
|
843
|
+
{
|
|
844
|
+
["y"] = 17.098132258261,
|
|
845
|
+
["angle"] = 18.957669143001,
|
|
846
|
+
["x"] = -152.05692527267,
|
|
847
|
+
}, -- end of ["offsets"]
|
|
848
|
+
["type"] = "F-14B",
|
|
849
|
+
},
|
|
850
|
+
{
|
|
851
|
+
["livery_id"] = "VF-31 Tomcatters AJ107",
|
|
852
|
+
["category"] = "Planes",
|
|
853
|
+
["offsets"] =
|
|
854
|
+
{
|
|
855
|
+
["y"] = 6.1548658818238,
|
|
856
|
+
["angle"] = 25.101228110021,
|
|
857
|
+
["x"] = -154.09653869538,
|
|
858
|
+
}, -- end of ["offsets"]
|
|
859
|
+
["type"] = "F-14B",
|
|
860
|
+
},
|
|
861
|
+
{
|
|
862
|
+
["livery_id"] = "VF-31 Tomcatters AJ111",
|
|
863
|
+
["category"] = "Planes",
|
|
864
|
+
["offsets"] =
|
|
865
|
+
{
|
|
866
|
+
["y"] = -4.3075244605538,
|
|
867
|
+
["angle"] = 25.066321524981,
|
|
868
|
+
["x"] = -155.52554595995,
|
|
869
|
+
}, -- end of ["offsets"]
|
|
870
|
+
["type"] = "F-14B",
|
|
871
|
+
},
|
|
872
|
+
{
|
|
873
|
+
["livery_id"] = "VF-31 Tomcatters AJ112",
|
|
874
|
+
["category"] = "Planes",
|
|
875
|
+
["offsets"] =
|
|
876
|
+
{
|
|
877
|
+
["y"] = -12.208173326793,
|
|
878
|
+
["angle"] = 19.25437511584,
|
|
879
|
+
["x"] = -150.18756952213,
|
|
880
|
+
}, -- end of ["offsets"]
|
|
881
|
+
["type"] = "F-14B",
|
|
882
|
+
},
|
|
883
|
+
{
|
|
884
|
+
["livery_id"] = "VF-31 Tomcatters AJ112",
|
|
885
|
+
["category"] = "Planes",
|
|
886
|
+
["offsets"] =
|
|
887
|
+
{
|
|
888
|
+
["y"] = -13.74494937795,
|
|
889
|
+
["angle"] = 19.044935605601,
|
|
890
|
+
["x"] = -133.97486609459,
|
|
891
|
+
}, -- end of ["offsets"]
|
|
892
|
+
["type"] = "F-14B",
|
|
893
|
+
},
|
|
894
|
+
{
|
|
895
|
+
["livery_id"] = "jtff_vf-84_91_203",
|
|
896
|
+
["category"] = "Planes",
|
|
897
|
+
["offsets"] =
|
|
898
|
+
{
|
|
899
|
+
["y"] = -17.274425547057,
|
|
900
|
+
["angle"] = 19.27182840836,
|
|
901
|
+
["x"] = -119.46237855354,
|
|
902
|
+
}, -- end of ["offsets"]
|
|
903
|
+
["type"] = "F-14B",
|
|
904
|
+
},
|
|
905
|
+
}
|
|
906
|
+
spawnDeckLayout_Zone(objAirboss, "Stern", sternLayout)
|
|
907
|
+
end
|
|
908
|
+
|
|
909
|
+
function launchDeck1SpawnLayout(objAirboss)
|
|
910
|
+
flexDeck3SpawnLayout(objAirboss)
|
|
911
|
+
local elev3Layout = {
|
|
912
|
+
{
|
|
913
|
+
["livery_id"] = "VF-31 Tomcatters AJ103",
|
|
914
|
+
["category"] = "Planes",
|
|
915
|
+
["offsets"] =
|
|
916
|
+
{
|
|
917
|
+
["y"] = 33.021151110532,
|
|
918
|
+
["angle"] = 117.80972450962,
|
|
919
|
+
["x"] = -91.343728458666,
|
|
920
|
+
}, -- end of ["offsets"]
|
|
921
|
+
["type"] = "F-14B",
|
|
922
|
+
},
|
|
923
|
+
{
|
|
924
|
+
["livery_id"] = "VF-31 Tomcatters AJ104",
|
|
925
|
+
["category"] = "Planes",
|
|
926
|
+
["offsets"] =
|
|
927
|
+
{
|
|
928
|
+
["y"] = 32.929781304891,
|
|
929
|
+
["angle"] = 117.80972450962,
|
|
930
|
+
["x"] = -102.40483618017,
|
|
931
|
+
}, -- end of ["offsets"]
|
|
932
|
+
["type"] = "F-14B",
|
|
933
|
+
},
|
|
934
|
+
{
|
|
935
|
+
["category"] = "ADEquipment",
|
|
936
|
+
["offsets"] =
|
|
937
|
+
{
|
|
938
|
+
["y"] = 29.92471616058,
|
|
939
|
+
["angle"] = 58.035591095156,
|
|
940
|
+
["x"] = -97.143110662258,
|
|
941
|
+
}, -- end of ["offsets"]
|
|
942
|
+
["type"] = "AS32-31A",
|
|
943
|
+
},
|
|
944
|
+
{
|
|
945
|
+
["category"] = "ADEquipment",
|
|
946
|
+
["offsets"] =
|
|
947
|
+
{
|
|
948
|
+
["y"] = 24.313863322494,
|
|
949
|
+
["angle"] = 13.547148461818,
|
|
950
|
+
["x"] = -94.953329922951,
|
|
951
|
+
}, -- end of ["offsets"]
|
|
952
|
+
["type"] = "AS32-p25",
|
|
953
|
+
},
|
|
954
|
+
{
|
|
955
|
+
["category"] = "Personnel",
|
|
956
|
+
["offsets"] =
|
|
957
|
+
{
|
|
958
|
+
["y"] = 30.933519971295,
|
|
959
|
+
["angle"] = 13.582055046858,
|
|
960
|
+
["x"] = -95.295382139387,
|
|
961
|
+
}, -- end of ["offsets"]
|
|
962
|
+
["shape_name"] = "carrier_tech_USA",
|
|
963
|
+
["type"] = "us carrier tech",
|
|
964
|
+
},
|
|
965
|
+
{
|
|
966
|
+
["category"] = "Personnel",
|
|
967
|
+
["offsets"] =
|
|
968
|
+
{
|
|
969
|
+
["y"] = 24.943708100079,
|
|
970
|
+
["angle"] = 54.614745761248,
|
|
971
|
+
["x"] = -97.153104784033,
|
|
972
|
+
}, -- end of ["offsets"]
|
|
973
|
+
["shape_name"] = "carrier_tech_USA",
|
|
974
|
+
["type"] = "us carrier tech",
|
|
975
|
+
},
|
|
976
|
+
{
|
|
977
|
+
["category"] = "Personnel",
|
|
978
|
+
["offsets"] =
|
|
979
|
+
{
|
|
980
|
+
["y"] = 24.411201211127,
|
|
981
|
+
["angle"] = 13.582055046858,
|
|
982
|
+
["x"] = -97.618770508055,
|
|
983
|
+
}, -- end of ["offsets"]
|
|
984
|
+
["shape_name"] = "carrier_seaman_USA",
|
|
985
|
+
["type"] = "Carrier Seaman",
|
|
986
|
+
},
|
|
987
|
+
{
|
|
988
|
+
["category"] = "Personnel",
|
|
989
|
+
["offsets"] =
|
|
990
|
+
{
|
|
991
|
+
["y"] = 25.438348163322,
|
|
992
|
+
["angle"] = 16.11278246225,
|
|
993
|
+
["x"] = -100.66033122272,
|
|
994
|
+
}, -- end of ["offsets"]
|
|
995
|
+
["shape_name"] = "carrier_tech_USA",
|
|
996
|
+
["type"] = "us carrier tech",
|
|
997
|
+
},
|
|
998
|
+
}
|
|
999
|
+
spawnDeckLayout_Zone(objAirboss, "Elev3", elev3Layout)
|
|
1000
|
+
local sternLayout = {
|
|
1001
|
+
{
|
|
1002
|
+
["livery_id"] = "VF-31 Tomcatters AJ105",
|
|
1003
|
+
["category"] = "Planes",
|
|
1004
|
+
["offsets"] =
|
|
1005
|
+
{
|
|
1006
|
+
["y"] = 17.098132258261,
|
|
1007
|
+
["angle"] = 18.957669143001,
|
|
1008
|
+
["x"] = -152.05692527267,
|
|
1009
|
+
}, -- end of ["offsets"]
|
|
1010
|
+
["type"] = "F-14B",
|
|
1011
|
+
},
|
|
1012
|
+
{
|
|
1013
|
+
["livery_id"] = "VF-31 Tomcatters AJ107",
|
|
1014
|
+
["category"] = "Planes",
|
|
1015
|
+
["offsets"] =
|
|
1016
|
+
{
|
|
1017
|
+
["y"] = 6.1548658818238,
|
|
1018
|
+
["angle"] = 25.101228110021,
|
|
1019
|
+
["x"] = -154.09653869538,
|
|
1020
|
+
}, -- end of ["offsets"]
|
|
1021
|
+
["type"] = "F-14B",
|
|
1022
|
+
},
|
|
1023
|
+
{
|
|
1024
|
+
["livery_id"] = "VF-31 Tomcatters AJ111",
|
|
1025
|
+
["category"] = "Planes",
|
|
1026
|
+
["offsets"] =
|
|
1027
|
+
{
|
|
1028
|
+
["y"] = -4.3075244605538,
|
|
1029
|
+
["angle"] = 25.066321524981,
|
|
1030
|
+
["x"] = -155.52554595995,
|
|
1031
|
+
}, -- end of ["offsets"]
|
|
1032
|
+
["type"] = "F-14B",
|
|
1033
|
+
},
|
|
1034
|
+
{
|
|
1035
|
+
["livery_id"] = "VF-31 Tomcatters AJ112",
|
|
1036
|
+
["category"] = "Planes",
|
|
1037
|
+
["offsets"] =
|
|
1038
|
+
{
|
|
1039
|
+
["y"] = -12.208173326793,
|
|
1040
|
+
["angle"] = 19.25437511584,
|
|
1041
|
+
["x"] = -150.18756952213,
|
|
1042
|
+
}, -- end of ["offsets"]
|
|
1043
|
+
["type"] = "F-14B",
|
|
1044
|
+
},
|
|
1045
|
+
{
|
|
1046
|
+
["livery_id"] = "VF-31 Tomcatters AJ112",
|
|
1047
|
+
["category"] = "Planes",
|
|
1048
|
+
["offsets"] =
|
|
1049
|
+
{
|
|
1050
|
+
["y"] = -13.74494937795,
|
|
1051
|
+
["angle"] = 19.044935605601,
|
|
1052
|
+
["x"] = -133.97486609459,
|
|
1053
|
+
}, -- end of ["offsets"]
|
|
1054
|
+
["type"] = "F-14B",
|
|
1055
|
+
},
|
|
1056
|
+
{
|
|
1057
|
+
["livery_id"] = "jtff_vf-84_91_203",
|
|
1058
|
+
["category"] = "Planes",
|
|
1059
|
+
["offsets"] =
|
|
1060
|
+
{
|
|
1061
|
+
["y"] = -17.274425547057,
|
|
1062
|
+
["angle"] = 19.27182840836,
|
|
1063
|
+
["x"] = -119.46237855354,
|
|
1064
|
+
}, -- end of ["offsets"]
|
|
1065
|
+
["type"] = "F-14B",
|
|
1066
|
+
},
|
|
1067
|
+
}
|
|
1068
|
+
spawnDeckLayout_Zone(objAirboss, "Stern", sternLayout)
|
|
1069
|
+
end
|
|
169
1070
|
|
|
170
1071
|
AIRBOSSArray = {}
|
|
171
1072
|
compteur = 0
|
|
@@ -216,6 +1117,46 @@ for index, airbossconfig in ipairs(AirBossConfig) do
|
|
|
216
1117
|
airbossconfig.carriername
|
|
217
1118
|
}
|
|
218
1119
|
)
|
|
1120
|
+
objAirboss.deckLayoutmenuObject = MENU_COALITION:New(
|
|
1121
|
+
airbossconfig.coalition,
|
|
1122
|
+
"Deck Layout",
|
|
1123
|
+
objAirboss.menuObject
|
|
1124
|
+
)
|
|
1125
|
+
MENU_COALITION_COMMAND:New(
|
|
1126
|
+
airbossconfig.coalition,
|
|
1127
|
+
"DeckLayout : Clean Layout",
|
|
1128
|
+
objAirboss.deckLayoutmenuObject,
|
|
1129
|
+
cleanDeckLayout,
|
|
1130
|
+
objAirboss
|
|
1131
|
+
)
|
|
1132
|
+
MENU_COALITION_COMMAND:New(
|
|
1133
|
+
airbossconfig.coalition,
|
|
1134
|
+
"DeckLayout : Flex 3 Spawns",
|
|
1135
|
+
objAirboss.deckLayoutmenuObject,
|
|
1136
|
+
flexDeck3SpawnLayout,
|
|
1137
|
+
objAirboss
|
|
1138
|
+
)
|
|
1139
|
+
MENU_COALITION_COMMAND:New(
|
|
1140
|
+
airbossconfig.coalition,
|
|
1141
|
+
"DeckLayout : Flex 7 Spawns",
|
|
1142
|
+
objAirboss.deckLayoutmenuObject,
|
|
1143
|
+
flexDeck7SpawnLayout,
|
|
1144
|
+
objAirboss
|
|
1145
|
+
)
|
|
1146
|
+
MENU_COALITION_COMMAND:New(
|
|
1147
|
+
airbossconfig.coalition,
|
|
1148
|
+
"DeckLayout : Launch 7 Spawns",
|
|
1149
|
+
objAirboss.deckLayoutmenuObject,
|
|
1150
|
+
launchDeck7SpawnLayout,
|
|
1151
|
+
objAirboss
|
|
1152
|
+
)
|
|
1153
|
+
MENU_COALITION_COMMAND:New(
|
|
1154
|
+
airbossconfig.coalition,
|
|
1155
|
+
"DeckLayout : Launch 1 Spawn",
|
|
1156
|
+
objAirboss.deckLayoutmenuObject,
|
|
1157
|
+
launchDeck1SpawnLayout,
|
|
1158
|
+
objAirboss
|
|
1159
|
+
)
|
|
219
1160
|
if (airbossconfig.recoveryops.mode == 'ondemand') then
|
|
220
1161
|
MENU_COALITION_COMMAND:New(
|
|
221
1162
|
airbossconfig.coalition,
|
|
@@ -363,6 +1304,7 @@ for index, airbossconfig in ipairs(AirBossConfig) do
|
|
|
363
1304
|
)
|
|
364
1305
|
end
|
|
365
1306
|
objAirboss.customconfig = airbossconfig
|
|
1307
|
+
flexDeck7SpawnLayout(objAirboss)
|
|
366
1308
|
|
|
367
1309
|
function objAirboss:OnAfterLSOGrade(From, Event, To, playerData, myGrade)
|
|
368
1310
|
|