mirror of
https://github.com/mrSkortch/MissionScriptingTools.git
synced 2025-08-15 10:47:23 +00:00
mist 3.5 rc
Possible release version of mist 3.5. or maybe just rename it mist 4.0
This commit is contained in:
parent
0fdd9a4a58
commit
17c4464600
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,42 +1,86 @@
|
||||
deadObjects =
|
||||
{
|
||||
[16779776] =
|
||||
[16780544] =
|
||||
{
|
||||
["objectPos"] =
|
||||
{
|
||||
["y"] = 22.492967605591,
|
||||
["x"] = -292872.3125,
|
||||
["z"] = 654419.125,
|
||||
["y"] = 22.32818031311,
|
||||
["x"] = -292865.125,
|
||||
["z"] = 654485.5625,
|
||||
}, -- end of ["objectPos"]
|
||||
["objectType"] = "vehicle",
|
||||
["objectData"] =
|
||||
{
|
||||
["type"] = "BTR-80",
|
||||
["point"] =
|
||||
{
|
||||
["y"] = 654665.71428571,
|
||||
["x"] = -292962.85714286,
|
||||
}, -- end of ["point"]
|
||||
["unitId"] = 30,
|
||||
["skill"] = "Average",
|
||||
["heading"] = -1.7994767003775,
|
||||
["groupName"] = "RuBTRs",
|
||||
["unit"] =
|
||||
{
|
||||
["id_"] = 16780544,
|
||||
}, -- end of ["unit"]
|
||||
["countryId"] = 2,
|
||||
["country"] = "russia",
|
||||
["coalition"] = "red",
|
||||
["category"] = "vehicle",
|
||||
["unitName"] = "RuBTRs4",
|
||||
["playerCanDrive"] = true,
|
||||
["groupId"] = 13,
|
||||
["pos"] =
|
||||
{
|
||||
["y"] = 22.327236175537,
|
||||
["x"] = -292865.40625,
|
||||
["z"] = 654486.25,
|
||||
}, -- end of ["pos"]
|
||||
}, -- end of ["objectData"]
|
||||
["object"] =
|
||||
{
|
||||
["id_"] = 16780544,
|
||||
}, -- end of ["object"]
|
||||
}, -- end of [16780544]
|
||||
[16779776] =
|
||||
{
|
||||
["objectPos"] =
|
||||
{
|
||||
["y"] = 22.463031768799,
|
||||
["x"] = -292869.8125,
|
||||
["z"] = 654429.8125,
|
||||
}, -- end of ["objectPos"]
|
||||
["objectType"] = "vehicle",
|
||||
["objectData"] =
|
||||
{
|
||||
["type"] = "BTR-80",
|
||||
["point"] =
|
||||
{
|
||||
["y"] = 654545.71428571,
|
||||
["x"] = -292842.85714286,
|
||||
}, -- end of ["point"]
|
||||
["country"] = "russia",
|
||||
["unitId"] = 27,
|
||||
["skill"] = "Average",
|
||||
["type"] = "BTR-80",
|
||||
["heading"] = -1.7994767003775,
|
||||
["groupName"] = "RuBTRs",
|
||||
["unit"] =
|
||||
{
|
||||
["id_"] = 16779776,
|
||||
}, -- end of ["unit"]
|
||||
["coalition"] = "red",
|
||||
["unitId"] = 27,
|
||||
["countryId"] = 2,
|
||||
["country"] = "russia",
|
||||
["coalition"] = "red",
|
||||
["category"] = "vehicle",
|
||||
["unitName"] = "RuBTRs1",
|
||||
["playerCanDrive"] = true,
|
||||
["groupId"] = 13,
|
||||
["pos"] =
|
||||
{
|
||||
["y"] = 22.492244720459,
|
||||
["x"] = -292872.25,
|
||||
["z"] = 654419.375,
|
||||
["y"] = 22.45796585083,
|
||||
["x"] = -292869.375,
|
||||
["z"] = 654431.625,
|
||||
}, -- end of ["pos"]
|
||||
}, -- end of ["objectData"]
|
||||
["object"] =
|
||||
@ -48,39 +92,39 @@ deadObjects =
|
||||
{
|
||||
["objectPos"] =
|
||||
{
|
||||
["y"] = 22.487079620361,
|
||||
["x"] = -292863.46875,
|
||||
["z"] = 654411.625,
|
||||
["y"] = 22.255786895752,
|
||||
["x"] = -292852.625,
|
||||
["z"] = 654500.25,
|
||||
}, -- end of ["objectPos"]
|
||||
["objectType"] = "vehicle",
|
||||
["objectData"] =
|
||||
{
|
||||
["heading"] = -1.7994767003775,
|
||||
["type"] = "BTR-80",
|
||||
["point"] =
|
||||
{
|
||||
["y"] = 654585.71428571,
|
||||
["x"] = -292882.85714286,
|
||||
}, -- end of ["point"]
|
||||
["country"] = "russia",
|
||||
["unitId"] = 28,
|
||||
["skill"] = "Average",
|
||||
["type"] = "BTR-80",
|
||||
["heading"] = -1.7994767003775,
|
||||
["groupName"] = "RuBTRs",
|
||||
["unit"] =
|
||||
{
|
||||
["id_"] = 16780032,
|
||||
}, -- end of ["unit"]
|
||||
["coalition"] = "red",
|
||||
["unitId"] = 28,
|
||||
["countryId"] = 2,
|
||||
["country"] = "russia",
|
||||
["coalition"] = "red",
|
||||
["category"] = "vehicle",
|
||||
["unitName"] = "RuBTRs2",
|
||||
["playerCanDrive"] = true,
|
||||
["groupId"] = 13,
|
||||
["pos"] =
|
||||
{
|
||||
["y"] = 22.486150741577,
|
||||
["x"] = -292864,
|
||||
["z"] = 654412.6875,
|
||||
["y"] = 22.251977920532,
|
||||
["x"] = -292852.3125,
|
||||
["z"] = 654501.375,
|
||||
}, -- end of ["pos"]
|
||||
}, -- end of ["objectData"]
|
||||
["object"] =
|
||||
@ -88,48 +132,92 @@ deadObjects =
|
||||
["id_"] = 16780032,
|
||||
}, -- end of ["object"]
|
||||
}, -- end of [16780032]
|
||||
[16780544] =
|
||||
[16781056] =
|
||||
{
|
||||
["objectPos"] =
|
||||
{
|
||||
["y"] = 22.290777206421,
|
||||
["x"] = -292853.84375,
|
||||
["z"] = 654488.3125,
|
||||
["y"] = 22.304819107056,
|
||||
["x"] = -292860.5625,
|
||||
["z"] = 654489.9375,
|
||||
}, -- end of ["objectPos"]
|
||||
["objectType"] = "vehicle",
|
||||
["objectData"] =
|
||||
{
|
||||
["heading"] = -1.7994767003775,
|
||||
["type"] = "BTR-80",
|
||||
["point"] =
|
||||
{
|
||||
["y"] = 654665.71428571,
|
||||
["x"] = -292962.85714286,
|
||||
["y"] = 654745.71428571,
|
||||
["x"] = -293042.85714286,
|
||||
}, -- end of ["point"]
|
||||
["country"] = "russia",
|
||||
["unitId"] = 32,
|
||||
["skill"] = "Average",
|
||||
["type"] = "BTR-80",
|
||||
["heading"] = -1.7994767003775,
|
||||
["groupName"] = "RuBTRs",
|
||||
["unit"] =
|
||||
{
|
||||
["id_"] = 16780544,
|
||||
["id_"] = 16781056,
|
||||
}, -- end of ["unit"]
|
||||
["coalition"] = "red",
|
||||
["unitId"] = 30,
|
||||
["countryId"] = 2,
|
||||
["country"] = "russia",
|
||||
["coalition"] = "red",
|
||||
["category"] = "vehicle",
|
||||
["unitName"] = "RuBTRs4",
|
||||
["unitName"] = "RuBTRs6",
|
||||
["playerCanDrive"] = true,
|
||||
["groupId"] = 13,
|
||||
["pos"] =
|
||||
{
|
||||
["y"] = 22.284147262573,
|
||||
["x"] = -292853.5,
|
||||
["z"] = 654490.5,
|
||||
["y"] = 22.305166244507,
|
||||
["x"] = -292861.71875,
|
||||
["z"] = 654491,
|
||||
}, -- end of ["pos"]
|
||||
}, -- end of ["objectData"]
|
||||
["object"] =
|
||||
{
|
||||
["id_"] = 16780544,
|
||||
["id_"] = 16781056,
|
||||
}, -- end of ["object"]
|
||||
}, -- end of [16780544]
|
||||
}, -- end of [16781056]
|
||||
[16780288] =
|
||||
{
|
||||
["objectPos"] =
|
||||
{
|
||||
["y"] = 22.341709136963,
|
||||
["x"] = -292862.84375,
|
||||
["z"] = 654476.8125,
|
||||
}, -- end of ["objectPos"]
|
||||
["objectType"] = "vehicle",
|
||||
["objectData"] =
|
||||
{
|
||||
["type"] = "BTR-80",
|
||||
["point"] =
|
||||
{
|
||||
["y"] = 654625.71428571,
|
||||
["x"] = -292922.85714286,
|
||||
}, -- end of ["point"]
|
||||
["unitId"] = 29,
|
||||
["skill"] = "Average",
|
||||
["heading"] = -1.7994767003775,
|
||||
["groupName"] = "RuBTRs",
|
||||
["unit"] =
|
||||
{
|
||||
["id_"] = 16780288,
|
||||
}, -- end of ["unit"]
|
||||
["countryId"] = 2,
|
||||
["country"] = "russia",
|
||||
["coalition"] = "red",
|
||||
["category"] = "vehicle",
|
||||
["unitName"] = "RuBTRs3",
|
||||
["playerCanDrive"] = true,
|
||||
["groupId"] = 13,
|
||||
["pos"] =
|
||||
{
|
||||
["y"] = 22.339700698853,
|
||||
["x"] = -292863.03125,
|
||||
["z"] = 654477.9375,
|
||||
}, -- end of ["pos"]
|
||||
}, -- end of ["objectData"]
|
||||
["object"] =
|
||||
{
|
||||
["id_"] = 16780288,
|
||||
}, -- end of ["object"]
|
||||
}, -- end of [16780288]
|
||||
} -- end of deadObjects
|
||||
|
||||
@ -3,373 +3,262 @@ dynGroupsAdded =
|
||||
[1] =
|
||||
{
|
||||
["country"] = "usa",
|
||||
["coalitionId"] = 2,
|
||||
["units"] =
|
||||
{
|
||||
[1] =
|
||||
{
|
||||
["alt"] = 77,
|
||||
["type"] = "M-1 Abrams",
|
||||
["point"] =
|
||||
{
|
||||
["y"] = 692951.80504833,
|
||||
["x"] = -288112.04900582,
|
||||
}, -- end of ["point"]
|
||||
["country"] = "usa",
|
||||
["skill"] = "Average",
|
||||
["groupId"] = 7001,
|
||||
["coalitionId"] = 2,
|
||||
["coalition"] = "blue",
|
||||
["unitId"] = 7001,
|
||||
["heading"] = 1.4977557614926,
|
||||
["skill"] = "Average",
|
||||
["country"] = "usa",
|
||||
["countryId"] = 2,
|
||||
["x"] = -283050,
|
||||
["y"] = 692716,
|
||||
["category"] = "vehicle",
|
||||
["unitName"] = "usa gnd 2 unit1",
|
||||
["unitId"] = 7001,
|
||||
["heading"] = 1.4977740232821,
|
||||
["groupName"] = "usa gnd 2",
|
||||
["countryId"] = 2,
|
||||
["groupId"] = 7001,
|
||||
}, -- end of [1]
|
||||
[2] =
|
||||
{
|
||||
["alt"] = 77,
|
||||
["type"] = "M-1 Abrams",
|
||||
["point"] =
|
||||
{
|
||||
["y"] = 692984.63711165,
|
||||
["x"] = -288136.26599616,
|
||||
}, -- end of ["point"]
|
||||
["country"] = "usa",
|
||||
["skill"] = "Average",
|
||||
["groupId"] = 7001,
|
||||
["coalitionId"] = 2,
|
||||
["coalition"] = "blue",
|
||||
["unitId"] = 7002,
|
||||
["heading"] = 1.4977557614926,
|
||||
["skill"] = "Average",
|
||||
["country"] = "usa",
|
||||
["countryId"] = 2,
|
||||
["x"] = -282921,
|
||||
["y"] = 692608,
|
||||
["category"] = "vehicle",
|
||||
["unitName"] = "usa gnd 2 unit2",
|
||||
["unitId"] = 7002,
|
||||
["heading"] = 1.4977727247084,
|
||||
["groupName"] = "usa gnd 2",
|
||||
["countryId"] = 2,
|
||||
["groupId"] = 7001,
|
||||
}, -- end of [2]
|
||||
[3] =
|
||||
{
|
||||
["alt"] = 77,
|
||||
["type"] = "M-1 Abrams",
|
||||
["point"] =
|
||||
{
|
||||
["y"] = 692996.24632438,
|
||||
["x"] = -288123.02974075,
|
||||
}, -- end of ["point"]
|
||||
["country"] = "usa",
|
||||
["skill"] = "Average",
|
||||
["groupId"] = 7001,
|
||||
["coalitionId"] = 2,
|
||||
["coalition"] = "blue",
|
||||
["unitId"] = 7003,
|
||||
["heading"] = 1.4977557614926,
|
||||
["skill"] = "Average",
|
||||
["country"] = "usa",
|
||||
["countryId"] = 2,
|
||||
["x"] = -282918,
|
||||
["y"] = 692720,
|
||||
["category"] = "vehicle",
|
||||
["unitName"] = "usa gnd 2 unit3",
|
||||
["unitId"] = 7003,
|
||||
["heading"] = 1.4977727247084,
|
||||
["groupName"] = "usa gnd 2",
|
||||
["countryId"] = 2,
|
||||
["groupId"] = 7001,
|
||||
}, -- end of [3]
|
||||
[4] =
|
||||
{
|
||||
["alt"] = 76,
|
||||
["type"] = "M-1 Abrams",
|
||||
["point"] =
|
||||
{
|
||||
["y"] = 692886.94679558,
|
||||
["x"] = -287976.47272972,
|
||||
}, -- end of ["point"]
|
||||
["country"] = "usa",
|
||||
["skill"] = "Average",
|
||||
["groupId"] = 7001,
|
||||
["coalitionId"] = 2,
|
||||
["coalition"] = "blue",
|
||||
["unitId"] = 7004,
|
||||
["heading"] = 1.4977557614926,
|
||||
["skill"] = "Average",
|
||||
["country"] = "usa",
|
||||
["countryId"] = 2,
|
||||
["x"] = -283138,
|
||||
["y"] = 692546,
|
||||
["category"] = "vehicle",
|
||||
["unitName"] = "usa gnd 2 unit4",
|
||||
["unitId"] = 7004,
|
||||
["heading"] = 1.4977645535052,
|
||||
["groupName"] = "usa gnd 2",
|
||||
["countryId"] = 2,
|
||||
["groupId"] = 7001,
|
||||
}, -- end of [4]
|
||||
}, -- end of ["units"]
|
||||
["countryId"] = 2,
|
||||
["groupId"] = 7001,
|
||||
["coalition"] = "blue",
|
||||
["name"] = "usa gnd 2",
|
||||
["category"] = "vehicle",
|
||||
["coalition"] = "blue",
|
||||
["startTime"] = 43221.011,
|
||||
["task"] = "Ground Nothing",
|
||||
["timeAdded"] = 43221.011,
|
||||
["groupId"] = 7001,
|
||||
["startTime"] = 43221.091,
|
||||
["countryId"] = 2,
|
||||
["timeAdded"] = 43221.091,
|
||||
}, -- end of [1]
|
||||
[2] =
|
||||
{
|
||||
["groupId"] = 7005,
|
||||
["units"] =
|
||||
{
|
||||
[1] =
|
||||
{
|
||||
["alt"] = 69,
|
||||
["type"] = "Container red 1",
|
||||
["point"] =
|
||||
{
|
||||
["y"] = 690925,
|
||||
["x"] = -285115,
|
||||
}, -- end of ["point"]
|
||||
["groupId"] = 7005,
|
||||
["groupName"] = "USA static 7005",
|
||||
["countryId"] = 2,
|
||||
["unitId"] = 7005,
|
||||
["category"] = "ship",
|
||||
["unitName"] = "USA static 7005",
|
||||
["heading"] = 6.1694608363366,
|
||||
["country"] = "usa",
|
||||
["coalition"] = "blue",
|
||||
}, -- end of [1]
|
||||
}, -- end of ["units"]
|
||||
["countryId"] = 2,
|
||||
["timeAdded"] = 43221.011,
|
||||
["category"] = "ship",
|
||||
["country"] = "usa",
|
||||
["startTime"] = 43221.011,
|
||||
["coalition"] = "blue",
|
||||
["name"] = "USA static 7005",
|
||||
}, -- end of [2]
|
||||
[3] =
|
||||
{
|
||||
["country"] = "usa",
|
||||
["units"] =
|
||||
{
|
||||
[1] =
|
||||
{
|
||||
["type"] = "M-1 Abrams",
|
||||
["point"] =
|
||||
{
|
||||
["y"] = 692301.85580476,
|
||||
["x"] = -283925.5171695,
|
||||
}, -- end of ["point"]
|
||||
["country"] = "usa",
|
||||
["skill"] = "Average",
|
||||
["coalition"] = "blue",
|
||||
["unitId"] = 7006,
|
||||
["heading"] = 1.4977557614926,
|
||||
["category"] = "vehicle",
|
||||
["unitName"] = "usa gnd 3 unit1",
|
||||
["groupName"] = "usa gnd 3",
|
||||
["countryId"] = 2,
|
||||
["groupId"] = 7003,
|
||||
}, -- end of [1]
|
||||
[2] =
|
||||
{
|
||||
["type"] = "M-1 Abrams",
|
||||
["point"] =
|
||||
{
|
||||
["y"] = 692374.68565784,
|
||||
["x"] = -283846.9396746,
|
||||
}, -- end of ["point"]
|
||||
["country"] = "usa",
|
||||
["skill"] = "Average",
|
||||
["coalition"] = "blue",
|
||||
["unitId"] = 7007,
|
||||
["heading"] = 1.4977557614926,
|
||||
["category"] = "vehicle",
|
||||
["unitName"] = "usa gnd 3 unit2",
|
||||
["groupName"] = "usa gnd 3",
|
||||
["countryId"] = 2,
|
||||
["groupId"] = 7003,
|
||||
}, -- end of [2]
|
||||
[3] =
|
||||
{
|
||||
["type"] = "M-1 Abrams",
|
||||
["point"] =
|
||||
{
|
||||
["y"] = 692416.6568865,
|
||||
["x"] = -284022.73058924,
|
||||
}, -- end of ["point"]
|
||||
["country"] = "usa",
|
||||
["skill"] = "Average",
|
||||
["coalition"] = "blue",
|
||||
["unitId"] = 7008,
|
||||
["heading"] = 1.4977557614926,
|
||||
["category"] = "vehicle",
|
||||
["unitName"] = "usa gnd 3 unit3",
|
||||
["groupName"] = "usa gnd 3",
|
||||
["countryId"] = 2,
|
||||
["groupId"] = 7003,
|
||||
}, -- end of [3]
|
||||
[4] =
|
||||
{
|
||||
["type"] = "M-1 Abrams",
|
||||
["point"] =
|
||||
{
|
||||
["y"] = 692423.17192305,
|
||||
["x"] = -283793.86944615,
|
||||
}, -- end of ["point"]
|
||||
["country"] = "usa",
|
||||
["skill"] = "Average",
|
||||
["coalition"] = "blue",
|
||||
["unitId"] = 7009,
|
||||
["heading"] = 1.4977557614926,
|
||||
["category"] = "vehicle",
|
||||
["unitName"] = "usa gnd 3 unit4",
|
||||
["groupName"] = "usa gnd 3",
|
||||
["countryId"] = 2,
|
||||
["groupId"] = 7003,
|
||||
}, -- end of [4]
|
||||
}, -- end of ["units"]
|
||||
["countryId"] = 2,
|
||||
["groupId"] = 7003,
|
||||
["name"] = "usa gnd 3",
|
||||
["category"] = "vehicle",
|
||||
["coalition"] = "blue",
|
||||
["startTime"] = 43223.011,
|
||||
["task"] = "Ground Nothing",
|
||||
["timeAdded"] = 43223.011,
|
||||
}, -- end of [3]
|
||||
[4] =
|
||||
{
|
||||
["country"] = "usa",
|
||||
["units"] =
|
||||
{
|
||||
[1] =
|
||||
{
|
||||
["type"] = "M-1 Abrams",
|
||||
["point"] =
|
||||
{
|
||||
["y"] = 690345.01202023,
|
||||
["x"] = -286996.80803754,
|
||||
}, -- end of ["point"]
|
||||
["country"] = "usa",
|
||||
["skill"] = "Average",
|
||||
["coalition"] = "blue",
|
||||
["unitId"] = 7011,
|
||||
["heading"] = 1.4977557614926,
|
||||
["category"] = "vehicle",
|
||||
["unitName"] = "usa gnd 4 unit1",
|
||||
["groupName"] = "usa gnd 4",
|
||||
["countryId"] = 2,
|
||||
["groupId"] = 7005,
|
||||
}, -- end of [1]
|
||||
[2] =
|
||||
{
|
||||
["type"] = "M-1 Abrams",
|
||||
["point"] =
|
||||
{
|
||||
["y"] = 690495.78308897,
|
||||
["x"] = -287119.30705856,
|
||||
}, -- end of ["point"]
|
||||
["country"] = "usa",
|
||||
["skill"] = "Average",
|
||||
["coalition"] = "blue",
|
||||
["unitId"] = 7012,
|
||||
["heading"] = 1.4977557614926,
|
||||
["category"] = "vehicle",
|
||||
["unitName"] = "usa gnd 4 unit2",
|
||||
["groupName"] = "usa gnd 4",
|
||||
["countryId"] = 2,
|
||||
["groupId"] = 7005,
|
||||
}, -- end of [2]
|
||||
[3] =
|
||||
{
|
||||
["type"] = "M-1 Abrams",
|
||||
["point"] =
|
||||
{
|
||||
["y"] = 690419.49528366,
|
||||
["x"] = -287149.74499211,
|
||||
}, -- end of ["point"]
|
||||
["country"] = "usa",
|
||||
["skill"] = "Average",
|
||||
["coalition"] = "blue",
|
||||
["unitId"] = 7013,
|
||||
["heading"] = 1.4977557614926,
|
||||
["category"] = "vehicle",
|
||||
["unitName"] = "usa gnd 4 unit3",
|
||||
["groupName"] = "usa gnd 4",
|
||||
["countryId"] = 2,
|
||||
["groupId"] = 7005,
|
||||
}, -- end of [3]
|
||||
[4] =
|
||||
{
|
||||
["type"] = "M-1 Abrams",
|
||||
["point"] =
|
||||
{
|
||||
["y"] = 690430.82466041,
|
||||
["x"] = -287068.46280196,
|
||||
}, -- end of ["point"]
|
||||
["country"] = "usa",
|
||||
["skill"] = "Average",
|
||||
["coalition"] = "blue",
|
||||
["unitId"] = 7014,
|
||||
["heading"] = 1.4977557614926,
|
||||
["category"] = "vehicle",
|
||||
["unitName"] = "usa gnd 4 unit4",
|
||||
["groupName"] = "usa gnd 4",
|
||||
["countryId"] = 2,
|
||||
["groupId"] = 7005,
|
||||
}, -- end of [4]
|
||||
}, -- end of ["units"]
|
||||
["countryId"] = 2,
|
||||
["groupId"] = 7005,
|
||||
["name"] = "usa gnd 4",
|
||||
["category"] = "vehicle",
|
||||
["coalition"] = "blue",
|
||||
["startTime"] = 43223.011,
|
||||
["task"] = "Ground Nothing",
|
||||
["timeAdded"] = 43223.011,
|
||||
}, -- end of [4]
|
||||
[5] =
|
||||
{
|
||||
["groupId"] = 7010,
|
||||
["units"] =
|
||||
{
|
||||
[1] =
|
||||
{
|
||||
["alt"] = 66,
|
||||
["type"] = "Container red 1",
|
||||
["point"] =
|
||||
{
|
||||
["y"] = 692491,
|
||||
["x"] = -287269,
|
||||
}, -- end of ["point"]
|
||||
["groupId"] = 7010,
|
||||
["groupName"] = "USA static 7010",
|
||||
["countryId"] = 2,
|
||||
["unitId"] = 7010,
|
||||
["category"] = "ship",
|
||||
["unitName"] = "USA static 7010",
|
||||
["heading"] = 6.1693154268268,
|
||||
["country"] = "usa",
|
||||
["coalition"] = "blue",
|
||||
}, -- end of [1]
|
||||
}, -- end of ["units"]
|
||||
["countryId"] = 2,
|
||||
["timeAdded"] = 43223.011,
|
||||
["category"] = "ship",
|
||||
["country"] = "usa",
|
||||
["startTime"] = 43223.011,
|
||||
["coalition"] = "blue",
|
||||
["name"] = "USA static 7010",
|
||||
}, -- end of [5]
|
||||
[6] =
|
||||
{
|
||||
["groupId"] = 7015,
|
||||
["coalitionId"] = 2,
|
||||
["units"] =
|
||||
{
|
||||
[1] =
|
||||
{
|
||||
["alt"] = 64,
|
||||
["type"] = "Container red 1",
|
||||
["point"] =
|
||||
{
|
||||
["y"] = 689768,
|
||||
["x"] = -285807,
|
||||
}, -- end of ["point"]
|
||||
["groupId"] = 7015,
|
||||
["groupName"] = "USA static 7015",
|
||||
["countryId"] = 2,
|
||||
["unitId"] = 7015,
|
||||
["category"] = "ship",
|
||||
["unitName"] = "USA static 7015",
|
||||
["heading"] = 6.169648830639,
|
||||
["country"] = "usa",
|
||||
["type"] = "M-1 Abrams",
|
||||
["groupId"] = 7003,
|
||||
["coalitionId"] = 2,
|
||||
["coalition"] = "blue",
|
||||
["skill"] = "Average",
|
||||
["country"] = "usa",
|
||||
["countryId"] = 2,
|
||||
["x"] = -286116,
|
||||
["y"] = 689691,
|
||||
["category"] = "vehicle",
|
||||
["unitName"] = "usa gnd 4 unit1",
|
||||
["unitId"] = 7006,
|
||||
["heading"] = 1.4977453540626,
|
||||
["groupName"] = "usa gnd 4",
|
||||
}, -- end of [1]
|
||||
[2] =
|
||||
{
|
||||
["alt"] = 64,
|
||||
["type"] = "M-1 Abrams",
|
||||
["groupId"] = 7003,
|
||||
["coalitionId"] = 2,
|
||||
["coalition"] = "blue",
|
||||
["skill"] = "Average",
|
||||
["country"] = "usa",
|
||||
["countryId"] = 2,
|
||||
["x"] = -286241,
|
||||
["y"] = 689608,
|
||||
["category"] = "vehicle",
|
||||
["unitName"] = "usa gnd 4 unit2",
|
||||
["unitId"] = 7007,
|
||||
["heading"] = 1.4977453540626,
|
||||
["groupName"] = "usa gnd 4",
|
||||
}, -- end of [2]
|
||||
[3] =
|
||||
{
|
||||
["alt"] = 64,
|
||||
["type"] = "M-1 Abrams",
|
||||
["groupId"] = 7003,
|
||||
["coalitionId"] = 2,
|
||||
["coalition"] = "blue",
|
||||
["skill"] = "Average",
|
||||
["country"] = "usa",
|
||||
["countryId"] = 2,
|
||||
["x"] = -286216,
|
||||
["y"] = 689801,
|
||||
["category"] = "vehicle",
|
||||
["unitName"] = "usa gnd 4 unit3",
|
||||
["unitId"] = 7008,
|
||||
["heading"] = 1.4977566526345,
|
||||
["groupName"] = "usa gnd 4",
|
||||
}, -- end of [3]
|
||||
[4] =
|
||||
{
|
||||
["alt"] = 63,
|
||||
["type"] = "M-1 Abrams",
|
||||
["groupId"] = 7003,
|
||||
["coalitionId"] = 2,
|
||||
["coalition"] = "blue",
|
||||
["skill"] = "Average",
|
||||
["country"] = "usa",
|
||||
["countryId"] = 2,
|
||||
["x"] = -285959,
|
||||
["y"] = 689666,
|
||||
["category"] = "vehicle",
|
||||
["unitName"] = "usa gnd 4 unit4",
|
||||
["unitId"] = 7009,
|
||||
["heading"] = 1.4977453540626,
|
||||
["groupName"] = "usa gnd 4",
|
||||
}, -- end of [4]
|
||||
}, -- end of ["units"]
|
||||
["countryId"] = 2,
|
||||
["timeAdded"] = 43223.011,
|
||||
["category"] = "ship",
|
||||
["country"] = "usa",
|
||||
["startTime"] = 43223.011,
|
||||
["coalition"] = "blue",
|
||||
["name"] = "USA static 7015",
|
||||
}, -- end of [6]
|
||||
["name"] = "usa gnd 4",
|
||||
["category"] = "vehicle",
|
||||
["groupId"] = 7003,
|
||||
["startTime"] = 43222.091,
|
||||
["countryId"] = 2,
|
||||
["timeAdded"] = 43222.091,
|
||||
}, -- end of [2]
|
||||
[3] =
|
||||
{
|
||||
["country"] = "usa",
|
||||
["coalitionId"] = 2,
|
||||
["units"] =
|
||||
{
|
||||
[1] =
|
||||
{
|
||||
["alt"] = 75,
|
||||
["type"] = "M-1 Abrams",
|
||||
["groupId"] = 7005,
|
||||
["coalitionId"] = 2,
|
||||
["coalition"] = "blue",
|
||||
["skill"] = "Average",
|
||||
["country"] = "usa",
|
||||
["countryId"] = 2,
|
||||
["x"] = -283191,
|
||||
["y"] = 692403,
|
||||
["category"] = "vehicle",
|
||||
["unitName"] = "usa gnd 6 unit1",
|
||||
["unitId"] = 7011,
|
||||
["heading"] = 1.4977670979571,
|
||||
["groupName"] = "usa gnd 6",
|
||||
}, -- end of [1]
|
||||
[2] =
|
||||
{
|
||||
["alt"] = 75,
|
||||
["type"] = "M-1 Abrams",
|
||||
["groupId"] = 7005,
|
||||
["coalitionId"] = 2,
|
||||
["coalition"] = "blue",
|
||||
["skill"] = "Average",
|
||||
["country"] = "usa",
|
||||
["countryId"] = 2,
|
||||
["x"] = -283019,
|
||||
["y"] = 692346,
|
||||
["category"] = "vehicle",
|
||||
["unitName"] = "usa gnd 6 unit2",
|
||||
["unitId"] = 7012,
|
||||
["heading"] = 1.4977724749332,
|
||||
["groupName"] = "usa gnd 6",
|
||||
}, -- end of [2]
|
||||
[3] =
|
||||
{
|
||||
["alt"] = 74,
|
||||
["type"] = "M-1 Abrams",
|
||||
["groupId"] = 7005,
|
||||
["coalitionId"] = 2,
|
||||
["coalition"] = "blue",
|
||||
["skill"] = "Average",
|
||||
["country"] = "usa",
|
||||
["countryId"] = 2,
|
||||
["x"] = -283231,
|
||||
["y"] = 692212,
|
||||
["category"] = "vehicle",
|
||||
["unitName"] = "usa gnd 6 unit3",
|
||||
["unitId"] = 7013,
|
||||
["heading"] = 1.4977616370277,
|
||||
["groupName"] = "usa gnd 6",
|
||||
}, -- end of [3]
|
||||
[4] =
|
||||
{
|
||||
["alt"] = 75,
|
||||
["type"] = "M-1 Abrams",
|
||||
["groupId"] = 7005,
|
||||
["coalitionId"] = 2,
|
||||
["coalition"] = "blue",
|
||||
["skill"] = "Average",
|
||||
["country"] = "usa",
|
||||
["countryId"] = 2,
|
||||
["x"] = -283080,
|
||||
["y"] = 692390,
|
||||
["category"] = "vehicle",
|
||||
["unitName"] = "usa gnd 6 unit4",
|
||||
["unitId"] = 7014,
|
||||
["heading"] = 1.4977670979571,
|
||||
["groupName"] = "usa gnd 6",
|
||||
}, -- end of [4]
|
||||
}, -- end of ["units"]
|
||||
["coalition"] = "blue",
|
||||
["name"] = "usa gnd 6",
|
||||
["category"] = "vehicle",
|
||||
["groupId"] = 7005,
|
||||
["startTime"] = 43223.091,
|
||||
["countryId"] = 2,
|
||||
["timeAdded"] = 43223.091,
|
||||
}, -- end of [3]
|
||||
} -- end of dynGroupsAdded
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -3,139 +3,181 @@ humansById =
|
||||
[11] =
|
||||
{
|
||||
["alt"] = 2000,
|
||||
["heading"] = -0.67060113146646,
|
||||
["point"] =
|
||||
{
|
||||
["y"] = 636428.57142857,
|
||||
["x"] = -318142.85714286,
|
||||
}, -- end of ["point"]
|
||||
["groupId"] = 6,
|
||||
["alt_type"] = "BARO",
|
||||
["livery_id"] = "104th FS Maryland ANG, Baltimore (MD)",
|
||||
["skill"] = "Client",
|
||||
["countryId"] = 11,
|
||||
["coalition"] = "blue",
|
||||
["speed"] = 138.88888888889,
|
||||
["country"] = "usa",
|
||||
["onboard_num"] = "52",
|
||||
["category"] = "plane",
|
||||
["unitName"] = "A-10C Client #1",
|
||||
["type"] = "A-10C",
|
||||
["unitId"] = 11,
|
||||
["speed"] = 138.88888888889,
|
||||
["heading"] = -0.67060113146646,
|
||||
["callsign"] =
|
||||
{
|
||||
[1] = 3,
|
||||
[2] = 1,
|
||||
[3] = 1,
|
||||
["name"] = "Uzi11",
|
||||
}, -- end of ["callsign"]
|
||||
["psi"] = 0.67060113146646,
|
||||
["groupName"] = "A-10C Client #1",
|
||||
["countryId"] = 11,
|
||||
["unitName"] = "A-10C Client #1",
|
||||
["country"] = "usa",
|
||||
["coalition"] = "blue",
|
||||
["type"] = "A-10C",
|
||||
["skill"] = "Client",
|
||||
["unitId"] = 11,
|
||||
["groupId"] = 6,
|
||||
}, -- end of [11]
|
||||
[8] =
|
||||
{
|
||||
["alt"] = 2000,
|
||||
["heading"] = -0.57883789069348,
|
||||
["point"] =
|
||||
{
|
||||
["y"] = 662142.85714286,
|
||||
["x"] = -288142.85714286,
|
||||
}, -- end of ["point"]
|
||||
["groupId"] = 4,
|
||||
["alt_type"] = "BARO",
|
||||
["livery_id"] = "19th Fighter SQN (AK)",
|
||||
["skill"] = "Client",
|
||||
["countryId"] = 11,
|
||||
["coalition"] = "blue",
|
||||
["speed"] = 138.88888888889,
|
||||
["country"] = "usa",
|
||||
["onboard_num"] = "10",
|
||||
["category"] = "plane",
|
||||
["unitName"] = "F-15C Client #1",
|
||||
["type"] = "F-15C",
|
||||
["unitId"] = 8,
|
||||
["speed"] = 138.88888888889,
|
||||
["heading"] = -0.57883789069348,
|
||||
["callsign"] =
|
||||
{
|
||||
[1] = 2,
|
||||
[2] = 1,
|
||||
[3] = 1,
|
||||
["name"] = "Springfield11",
|
||||
}, -- end of ["callsign"]
|
||||
["psi"] = 0.57883789069348,
|
||||
["groupName"] = "F-15C Client #1",
|
||||
["countryId"] = 11,
|
||||
["unitName"] = "F-15C Client #1",
|
||||
["country"] = "usa",
|
||||
["coalition"] = "blue",
|
||||
["type"] = "F-15C",
|
||||
["skill"] = "Client",
|
||||
["unitId"] = 8,
|
||||
["groupId"] = 4,
|
||||
}, -- end of [8]
|
||||
[10] =
|
||||
{
|
||||
["alt"] = 2000,
|
||||
["heading"] = -0.57883789069348,
|
||||
["point"] =
|
||||
{
|
||||
["y"] = 668428.57142857,
|
||||
["x"] = -287000,
|
||||
}, -- end of ["point"]
|
||||
["groupId"] = 5,
|
||||
["alt_type"] = "BARO",
|
||||
["livery_id"] = "19th Fighter SQN (AK)",
|
||||
["skill"] = "Client",
|
||||
["countryId"] = 11,
|
||||
["coalition"] = "blue",
|
||||
["speed"] = 138.88888888889,
|
||||
["country"] = "usa",
|
||||
["onboard_num"] = "10",
|
||||
["category"] = "plane",
|
||||
["unitName"] = "F-15C Client #2",
|
||||
["type"] = "F-15C",
|
||||
["unitId"] = 10,
|
||||
["speed"] = 138.88888888889,
|
||||
["heading"] = -0.57883789069348,
|
||||
["callsign"] =
|
||||
{
|
||||
[1] = 2,
|
||||
[2] = 1,
|
||||
[3] = 1,
|
||||
["name"] = "Springfield11",
|
||||
}, -- end of ["callsign"]
|
||||
["psi"] = 0.57883789069348,
|
||||
["groupName"] = "F-15C Client #2",
|
||||
["countryId"] = 11,
|
||||
["unitName"] = "F-15C Client #2",
|
||||
["country"] = "usa",
|
||||
["coalition"] = "blue",
|
||||
["type"] = "F-15C",
|
||||
["skill"] = "Client",
|
||||
["unitId"] = 10,
|
||||
["groupId"] = 5,
|
||||
}, -- end of [10]
|
||||
[12] =
|
||||
{
|
||||
["alt"] = 2000,
|
||||
["heading"] = -0.66079849060746,
|
||||
["point"] =
|
||||
{
|
||||
["y"] = 644428.57142857,
|
||||
["x"] = -315857.14285714,
|
||||
}, -- end of ["point"]
|
||||
["groupId"] = 7,
|
||||
["alt_type"] = "BARO",
|
||||
["livery_id"] = "104th FS Maryland ANG, Baltimore (MD)",
|
||||
["skill"] = "Client",
|
||||
["countryId"] = 11,
|
||||
["coalition"] = "blue",
|
||||
["speed"] = 138.88888888889,
|
||||
["country"] = "usa",
|
||||
["onboard_num"] = "52",
|
||||
["category"] = "plane",
|
||||
["unitName"] = "A-10C Client #2",
|
||||
["type"] = "A-10C",
|
||||
["unitId"] = 12,
|
||||
["speed"] = 138.88888888889,
|
||||
["heading"] = -0.66079849060746,
|
||||
["callsign"] =
|
||||
{
|
||||
[1] = 3,
|
||||
[2] = 1,
|
||||
[3] = 1,
|
||||
["name"] = "Uzi11",
|
||||
}, -- end of ["callsign"]
|
||||
["psi"] = 0.66079849060746,
|
||||
["groupName"] = "A-10C Client #2",
|
||||
["countryId"] = 11,
|
||||
["unitName"] = "A-10C Client #2",
|
||||
["country"] = "usa",
|
||||
["coalition"] = "blue",
|
||||
["type"] = "A-10C",
|
||||
["skill"] = "Client",
|
||||
["unitId"] = 12,
|
||||
["groupId"] = 7,
|
||||
}, -- end of [12]
|
||||
[42] =
|
||||
{
|
||||
["alt"] = 2000,
|
||||
["heading"] = 0,
|
||||
["point"] =
|
||||
{
|
||||
["y"] = 590391.42857142,
|
||||
["x"] = -250185.71428571,
|
||||
}, -- end of ["point"]
|
||||
["groupId"] = 20,
|
||||
["alt_type"] = "BARO",
|
||||
["livery_id"] = "279th kiap 1st squad navy",
|
||||
["skill"] = "Client",
|
||||
["countryId"] = 2,
|
||||
["coalition"] = "red",
|
||||
["speed"] = 138.88888888889,
|
||||
["country"] = "russia",
|
||||
["onboard_num"] = "53",
|
||||
["category"] = "plane",
|
||||
["unitName"] = "Su-33 Client #1",
|
||||
["type"] = "Su-33",
|
||||
["unitId"] = 42,
|
||||
["speed"] = 138.88888888889,
|
||||
["heading"] = 0,
|
||||
["callsign"] = 104,
|
||||
["psi"] = 0,
|
||||
["groupName"] = "Su-33 Client #1",
|
||||
["countryId"] = 2,
|
||||
["unitName"] = "Su-33 Client #1",
|
||||
["country"] = "russia",
|
||||
["coalition"] = "red",
|
||||
["type"] = "Su-33",
|
||||
["skill"] = "Client",
|
||||
["unitId"] = 42,
|
||||
["groupId"] = 20,
|
||||
}, -- end of [42]
|
||||
[43] =
|
||||
{
|
||||
["alt"] = 2000,
|
||||
["heading"] = 0,
|
||||
["point"] =
|
||||
{
|
||||
["y"] = 597819.99999999,
|
||||
["x"] = -235614.28571428,
|
||||
}, -- end of ["point"]
|
||||
["groupId"] = 21,
|
||||
["alt_type"] = "BARO",
|
||||
["livery_id"] = "279th kiap 1st squad navy",
|
||||
["skill"] = "Client",
|
||||
["countryId"] = 2,
|
||||
["coalition"] = "red",
|
||||
["speed"] = 138.88888888889,
|
||||
["country"] = "russia",
|
||||
["onboard_num"] = "53",
|
||||
["category"] = "plane",
|
||||
["unitName"] = "Su-33 Client #2",
|
||||
["type"] = "Su-33",
|
||||
["unitId"] = 43,
|
||||
["speed"] = 138.88888888889,
|
||||
["heading"] = 0,
|
||||
["callsign"] = 104,
|
||||
["psi"] = 0,
|
||||
["groupName"] = "Su-33 Client #2",
|
||||
["countryId"] = 2,
|
||||
["unitName"] = "Su-33 Client #2",
|
||||
["country"] = "russia",
|
||||
["coalition"] = "red",
|
||||
["type"] = "Su-33",
|
||||
["skill"] = "Client",
|
||||
["unitId"] = 43,
|
||||
["groupId"] = 21,
|
||||
}, -- end of [43]
|
||||
} -- end of humansById
|
||||
|
||||
@ -3,139 +3,181 @@ humansByName =
|
||||
["A-10C Client #2"] =
|
||||
{
|
||||
["alt"] = 2000,
|
||||
["heading"] = -0.66079849060746,
|
||||
["point"] =
|
||||
{
|
||||
["y"] = 644428.57142857,
|
||||
["x"] = -315857.14285714,
|
||||
}, -- end of ["point"]
|
||||
["groupId"] = 7,
|
||||
["alt_type"] = "BARO",
|
||||
["livery_id"] = "104th FS Maryland ANG, Baltimore (MD)",
|
||||
["skill"] = "Client",
|
||||
["countryId"] = 11,
|
||||
["coalition"] = "blue",
|
||||
["speed"] = 138.88888888889,
|
||||
["country"] = "usa",
|
||||
["onboard_num"] = "52",
|
||||
["category"] = "plane",
|
||||
["unitName"] = "A-10C Client #2",
|
||||
["type"] = "A-10C",
|
||||
["unitId"] = 12,
|
||||
["speed"] = 138.88888888889,
|
||||
["heading"] = -0.66079849060746,
|
||||
["callsign"] =
|
||||
{
|
||||
[1] = 3,
|
||||
[2] = 1,
|
||||
[3] = 1,
|
||||
["name"] = "Uzi11",
|
||||
}, -- end of ["callsign"]
|
||||
["psi"] = 0.66079849060746,
|
||||
["groupName"] = "A-10C Client #2",
|
||||
["countryId"] = 11,
|
||||
["unitName"] = "A-10C Client #2",
|
||||
["country"] = "usa",
|
||||
["coalition"] = "blue",
|
||||
["type"] = "A-10C",
|
||||
["skill"] = "Client",
|
||||
["unitId"] = 12,
|
||||
["groupId"] = 7,
|
||||
}, -- end of ["A-10C Client #2"]
|
||||
["F-15C Client #1"] =
|
||||
{
|
||||
["alt"] = 2000,
|
||||
["heading"] = -0.57883789069348,
|
||||
["point"] =
|
||||
{
|
||||
["y"] = 662142.85714286,
|
||||
["x"] = -288142.85714286,
|
||||
}, -- end of ["point"]
|
||||
["groupId"] = 4,
|
||||
["alt_type"] = "BARO",
|
||||
["livery_id"] = "19th Fighter SQN (AK)",
|
||||
["skill"] = "Client",
|
||||
["countryId"] = 11,
|
||||
["coalition"] = "blue",
|
||||
["speed"] = 138.88888888889,
|
||||
["country"] = "usa",
|
||||
["onboard_num"] = "10",
|
||||
["category"] = "plane",
|
||||
["unitName"] = "F-15C Client #1",
|
||||
["type"] = "F-15C",
|
||||
["unitId"] = 8,
|
||||
["speed"] = 138.88888888889,
|
||||
["heading"] = -0.57883789069348,
|
||||
["callsign"] =
|
||||
{
|
||||
[1] = 2,
|
||||
[2] = 1,
|
||||
[3] = 1,
|
||||
["name"] = "Springfield11",
|
||||
}, -- end of ["callsign"]
|
||||
["psi"] = 0.57883789069348,
|
||||
["groupName"] = "F-15C Client #1",
|
||||
["countryId"] = 11,
|
||||
["unitName"] = "F-15C Client #1",
|
||||
["country"] = "usa",
|
||||
["coalition"] = "blue",
|
||||
["type"] = "F-15C",
|
||||
["skill"] = "Client",
|
||||
["unitId"] = 8,
|
||||
["groupId"] = 4,
|
||||
}, -- end of ["F-15C Client #1"]
|
||||
["Su-33 Client #2"] =
|
||||
{
|
||||
["alt"] = 2000,
|
||||
["heading"] = 0,
|
||||
["point"] =
|
||||
{
|
||||
["y"] = 597819.99999999,
|
||||
["x"] = -235614.28571428,
|
||||
}, -- end of ["point"]
|
||||
["groupId"] = 21,
|
||||
["alt_type"] = "BARO",
|
||||
["livery_id"] = "279th kiap 1st squad navy",
|
||||
["skill"] = "Client",
|
||||
["countryId"] = 2,
|
||||
["coalition"] = "red",
|
||||
["speed"] = 138.88888888889,
|
||||
["country"] = "russia",
|
||||
["onboard_num"] = "53",
|
||||
["category"] = "plane",
|
||||
["unitName"] = "Su-33 Client #2",
|
||||
["type"] = "Su-33",
|
||||
["unitId"] = 43,
|
||||
["speed"] = 138.88888888889,
|
||||
["heading"] = 0,
|
||||
["callsign"] = 104,
|
||||
["psi"] = 0,
|
||||
["groupName"] = "Su-33 Client #2",
|
||||
["countryId"] = 2,
|
||||
["unitName"] = "Su-33 Client #2",
|
||||
["country"] = "russia",
|
||||
["coalition"] = "red",
|
||||
["type"] = "Su-33",
|
||||
["skill"] = "Client",
|
||||
["unitId"] = 43,
|
||||
["groupId"] = 21,
|
||||
}, -- end of ["Su-33 Client #2"]
|
||||
["Su-33 Client #1"] =
|
||||
{
|
||||
["alt"] = 2000,
|
||||
["heading"] = 0,
|
||||
["point"] =
|
||||
{
|
||||
["y"] = 590391.42857142,
|
||||
["x"] = -250185.71428571,
|
||||
}, -- end of ["point"]
|
||||
["groupId"] = 20,
|
||||
["alt_type"] = "BARO",
|
||||
["livery_id"] = "279th kiap 1st squad navy",
|
||||
["skill"] = "Client",
|
||||
["countryId"] = 2,
|
||||
["coalition"] = "red",
|
||||
["speed"] = 138.88888888889,
|
||||
["country"] = "russia",
|
||||
["onboard_num"] = "53",
|
||||
["category"] = "plane",
|
||||
["unitName"] = "Su-33 Client #1",
|
||||
["type"] = "Su-33",
|
||||
["unitId"] = 42,
|
||||
["speed"] = 138.88888888889,
|
||||
["heading"] = 0,
|
||||
["callsign"] = 104,
|
||||
["psi"] = 0,
|
||||
["groupName"] = "Su-33 Client #1",
|
||||
["countryId"] = 2,
|
||||
["unitName"] = "Su-33 Client #1",
|
||||
["country"] = "russia",
|
||||
["coalition"] = "red",
|
||||
["type"] = "Su-33",
|
||||
["skill"] = "Client",
|
||||
["unitId"] = 42,
|
||||
["groupId"] = 20,
|
||||
}, -- end of ["Su-33 Client #1"]
|
||||
["F-15C Client #2"] =
|
||||
{
|
||||
["alt"] = 2000,
|
||||
["heading"] = -0.57883789069348,
|
||||
["point"] =
|
||||
{
|
||||
["y"] = 668428.57142857,
|
||||
["x"] = -287000,
|
||||
}, -- end of ["point"]
|
||||
["groupId"] = 5,
|
||||
["alt_type"] = "BARO",
|
||||
["livery_id"] = "19th Fighter SQN (AK)",
|
||||
["skill"] = "Client",
|
||||
["countryId"] = 11,
|
||||
["coalition"] = "blue",
|
||||
["speed"] = 138.88888888889,
|
||||
["country"] = "usa",
|
||||
["onboard_num"] = "10",
|
||||
["category"] = "plane",
|
||||
["unitName"] = "F-15C Client #2",
|
||||
["type"] = "F-15C",
|
||||
["unitId"] = 10,
|
||||
["speed"] = 138.88888888889,
|
||||
["heading"] = -0.57883789069348,
|
||||
["callsign"] =
|
||||
{
|
||||
[1] = 2,
|
||||
[2] = 1,
|
||||
[3] = 1,
|
||||
["name"] = "Springfield11",
|
||||
}, -- end of ["callsign"]
|
||||
["psi"] = 0.57883789069348,
|
||||
["groupName"] = "F-15C Client #2",
|
||||
["countryId"] = 11,
|
||||
["unitName"] = "F-15C Client #2",
|
||||
["country"] = "usa",
|
||||
["coalition"] = "blue",
|
||||
["type"] = "F-15C",
|
||||
["skill"] = "Client",
|
||||
["unitId"] = 10,
|
||||
["groupId"] = 5,
|
||||
}, -- end of ["F-15C Client #2"]
|
||||
["A-10C Client #1"] =
|
||||
{
|
||||
["alt"] = 2000,
|
||||
["heading"] = -0.67060113146646,
|
||||
["point"] =
|
||||
{
|
||||
["y"] = 636428.57142857,
|
||||
["x"] = -318142.85714286,
|
||||
}, -- end of ["point"]
|
||||
["groupId"] = 6,
|
||||
["alt_type"] = "BARO",
|
||||
["livery_id"] = "104th FS Maryland ANG, Baltimore (MD)",
|
||||
["skill"] = "Client",
|
||||
["countryId"] = 11,
|
||||
["coalition"] = "blue",
|
||||
["speed"] = 138.88888888889,
|
||||
["country"] = "usa",
|
||||
["onboard_num"] = "52",
|
||||
["category"] = "plane",
|
||||
["unitName"] = "A-10C Client #1",
|
||||
["type"] = "A-10C",
|
||||
["unitId"] = 11,
|
||||
["speed"] = 138.88888888889,
|
||||
["heading"] = -0.67060113146646,
|
||||
["callsign"] =
|
||||
{
|
||||
[1] = 3,
|
||||
[2] = 1,
|
||||
[3] = 1,
|
||||
["name"] = "Uzi11",
|
||||
}, -- end of ["callsign"]
|
||||
["psi"] = 0.67060113146646,
|
||||
["groupName"] = "A-10C Client #1",
|
||||
["countryId"] = 11,
|
||||
["unitName"] = "A-10C Client #1",
|
||||
["country"] = "usa",
|
||||
["coalition"] = "blue",
|
||||
["type"] = "A-10C",
|
||||
["skill"] = "Client",
|
||||
["unitId"] = 11,
|
||||
["groupId"] = 6,
|
||||
}, -- end of ["A-10C Client #1"]
|
||||
} -- end of humansByName
|
||||
|
||||
@ -3,10 +3,11 @@ missionData =
|
||||
["version"] = 7,
|
||||
["files"] =
|
||||
{
|
||||
[1] = "Briefing-01{225F004F-92E4-4c3e-A5F0-2BA49929055A}.jpg",
|
||||
[2] = "Thunder2.wav",
|
||||
[3] = "ExplodeGround0.ogg",
|
||||
[4] = "Rain.ogg",
|
||||
[1] = "Thunder2.wav",
|
||||
[2] = "Briefing-01{225F004F-92E4-4c3e-A5F0-2BA49929055A}.jpg",
|
||||
[3] = "mist.lua",
|
||||
[4] = "ExplodeGround0.ogg",
|
||||
[5] = "Rain.ogg",
|
||||
}, -- end of ["files"]
|
||||
["startTime"] = 43200,
|
||||
["theatre"] = "Caucasus",
|
||||
|
||||
@ -4,16 +4,10 @@ navPoints =
|
||||
{
|
||||
[1] =
|
||||
{
|
||||
["y"] = 670391.42857142,
|
||||
["x"] = -260757.14285714,
|
||||
["name"] = "DODGE",
|
||||
["callsignStr"] = "DODGE",
|
||||
["point"] =
|
||||
{
|
||||
["y"] = 0,
|
||||
["x"] = -260757.14285714,
|
||||
["z"] = 670391.42857142,
|
||||
}, -- end of ["point"]
|
||||
["y"] = 659248.57142856,
|
||||
["x"] = -243614.28571428,
|
||||
["name"] = "KB1NE",
|
||||
["callsignStr"] = "KB1NE",
|
||||
["properties"] =
|
||||
{
|
||||
["vnav"] = 1,
|
||||
@ -22,8 +16,13 @@ navPoints =
|
||||
["angle"] = 0,
|
||||
["steer"] = 2,
|
||||
}, -- end of ["properties"]
|
||||
["groupId"] = 22,
|
||||
["callsign"] = 3,
|
||||
["point"] =
|
||||
{
|
||||
["y"] = 0,
|
||||
["x"] = -243614.28571428,
|
||||
["z"] = 659248.57142856,
|
||||
}, -- end of ["point"]
|
||||
["groupId"] = 26,
|
||||
}, -- end of [1]
|
||||
[2] =
|
||||
{
|
||||
@ -70,50 +69,6 @@ navPoints =
|
||||
["groupId"] = 24,
|
||||
}, -- end of [3]
|
||||
[4] =
|
||||
{
|
||||
["y"] = 643248.57142856,
|
||||
["x"] = -242471.42857143,
|
||||
["name"] = "KB1NW",
|
||||
["callsignStr"] = "KB1NW",
|
||||
["properties"] =
|
||||
{
|
||||
["vnav"] = 1,
|
||||
["scale"] = 0,
|
||||
["vangle"] = 0,
|
||||
["angle"] = 0,
|
||||
["steer"] = 2,
|
||||
}, -- end of ["properties"]
|
||||
["point"] =
|
||||
{
|
||||
["y"] = 0,
|
||||
["x"] = -242471.42857143,
|
||||
["z"] = 643248.57142856,
|
||||
}, -- end of ["point"]
|
||||
["groupId"] = 25,
|
||||
}, -- end of [4]
|
||||
[5] =
|
||||
{
|
||||
["y"] = 659248.57142856,
|
||||
["x"] = -243614.28571428,
|
||||
["name"] = "KB1NE",
|
||||
["callsignStr"] = "KB1NE",
|
||||
["properties"] =
|
||||
{
|
||||
["vnav"] = 1,
|
||||
["scale"] = 0,
|
||||
["vangle"] = 0,
|
||||
["angle"] = 0,
|
||||
["steer"] = 2,
|
||||
}, -- end of ["properties"]
|
||||
["point"] =
|
||||
{
|
||||
["y"] = 0,
|
||||
["x"] = -243614.28571428,
|
||||
["z"] = 659248.57142856,
|
||||
}, -- end of ["point"]
|
||||
["groupId"] = 26,
|
||||
}, -- end of [5]
|
||||
[6] =
|
||||
{
|
||||
["y"] = 625534.28571428,
|
||||
["x"] = -309328.57142857,
|
||||
@ -135,6 +90,51 @@ navPoints =
|
||||
}, -- end of ["properties"]
|
||||
["groupId"] = 27,
|
||||
["callsign"] = 4,
|
||||
}, -- end of [4]
|
||||
[5] =
|
||||
{
|
||||
["y"] = 670391.42857142,
|
||||
["x"] = -260757.14285714,
|
||||
["name"] = "DODGE",
|
||||
["callsignStr"] = "DODGE",
|
||||
["point"] =
|
||||
{
|
||||
["y"] = 0,
|
||||
["x"] = -260757.14285714,
|
||||
["z"] = 670391.42857142,
|
||||
}, -- end of ["point"]
|
||||
["properties"] =
|
||||
{
|
||||
["vnav"] = 1,
|
||||
["scale"] = 0,
|
||||
["vangle"] = 0,
|
||||
["angle"] = 0,
|
||||
["steer"] = 2,
|
||||
}, -- end of ["properties"]
|
||||
["groupId"] = 22,
|
||||
["callsign"] = 3,
|
||||
}, -- end of [5]
|
||||
[6] =
|
||||
{
|
||||
["y"] = 643248.57142856,
|
||||
["x"] = -242471.42857143,
|
||||
["name"] = "KB1NW",
|
||||
["callsignStr"] = "KB1NW",
|
||||
["properties"] =
|
||||
{
|
||||
["vnav"] = 1,
|
||||
["scale"] = 0,
|
||||
["vangle"] = 0,
|
||||
["angle"] = 0,
|
||||
["steer"] = 2,
|
||||
}, -- end of ["properties"]
|
||||
["point"] =
|
||||
{
|
||||
["y"] = 0,
|
||||
["x"] = -242471.42857143,
|
||||
["z"] = 643248.57142856,
|
||||
}, -- end of ["point"]
|
||||
["groupId"] = 25,
|
||||
}, -- end of [6]
|
||||
}, -- end of ["blue"]
|
||||
["red"] =
|
||||
|
||||
@ -1,93 +1,153 @@
|
||||
removedAliveUnits =
|
||||
{
|
||||
[16779776] =
|
||||
{
|
||||
["heading"] = -1.7994767003775,
|
||||
["point"] =
|
||||
{
|
||||
["y"] = 654545.71428571,
|
||||
["x"] = -292842.85714286,
|
||||
}, -- end of ["point"]
|
||||
["groupId"] = 13,
|
||||
["country"] = "russia",
|
||||
["groupName"] = "RuBTRs",
|
||||
["skill"] = "Average",
|
||||
["unit"] =
|
||||
{
|
||||
["id_"] = 16779776,
|
||||
}, -- end of ["unit"]
|
||||
["coalition"] = "red",
|
||||
["unitId"] = 27,
|
||||
["countryId"] = 2,
|
||||
["category"] = "vehicle",
|
||||
["unitName"] = "RuBTRs1",
|
||||
["playerCanDrive"] = true,
|
||||
["type"] = "BTR-80",
|
||||
["pos"] =
|
||||
{
|
||||
["y"] = 22.492244720459,
|
||||
["x"] = -292872.25,
|
||||
["z"] = 654419.375,
|
||||
}, -- end of ["pos"]
|
||||
}, -- end of [16779776]
|
||||
[16780032] =
|
||||
{
|
||||
["heading"] = -1.7994767003775,
|
||||
["point"] =
|
||||
{
|
||||
["y"] = 654585.71428571,
|
||||
["x"] = -292882.85714286,
|
||||
}, -- end of ["point"]
|
||||
["groupId"] = 13,
|
||||
["country"] = "russia",
|
||||
["groupName"] = "RuBTRs",
|
||||
["skill"] = "Average",
|
||||
["unit"] =
|
||||
{
|
||||
["id_"] = 16780032,
|
||||
}, -- end of ["unit"]
|
||||
["coalition"] = "red",
|
||||
["unitId"] = 28,
|
||||
["countryId"] = 2,
|
||||
["category"] = "vehicle",
|
||||
["unitName"] = "RuBTRs2",
|
||||
["playerCanDrive"] = true,
|
||||
["type"] = "BTR-80",
|
||||
["pos"] =
|
||||
{
|
||||
["y"] = 22.486150741577,
|
||||
["x"] = -292864,
|
||||
["z"] = 654412.6875,
|
||||
}, -- end of ["pos"]
|
||||
}, -- end of [16780032]
|
||||
[16780544] =
|
||||
{
|
||||
["heading"] = -1.7994767003775,
|
||||
["type"] = "BTR-80",
|
||||
["point"] =
|
||||
{
|
||||
["y"] = 654665.71428571,
|
||||
["x"] = -292962.85714286,
|
||||
}, -- end of ["point"]
|
||||
["groupId"] = 13,
|
||||
["country"] = "russia",
|
||||
["unitId"] = 30,
|
||||
["groupName"] = "RuBTRs",
|
||||
["skill"] = "Average",
|
||||
["unit"] =
|
||||
{
|
||||
["id_"] = 16780544,
|
||||
}, -- end of ["unit"]
|
||||
["coalition"] = "red",
|
||||
["unitId"] = 30,
|
||||
["countryId"] = 2,
|
||||
["country"] = "russia",
|
||||
["coalition"] = "red",
|
||||
["category"] = "vehicle",
|
||||
["unitName"] = "RuBTRs4",
|
||||
["playerCanDrive"] = true,
|
||||
["type"] = "BTR-80",
|
||||
["heading"] = -1.7994767003775,
|
||||
["pos"] =
|
||||
{
|
||||
["y"] = 22.284147262573,
|
||||
["x"] = -292853.5,
|
||||
["z"] = 654490.5,
|
||||
["y"] = 22.327236175537,
|
||||
["x"] = -292865.40625,
|
||||
["z"] = 654486.25,
|
||||
}, -- end of ["pos"]
|
||||
}, -- end of [16780544]
|
||||
[16779776] =
|
||||
{
|
||||
["type"] = "BTR-80",
|
||||
["point"] =
|
||||
{
|
||||
["y"] = 654545.71428571,
|
||||
["x"] = -292842.85714286,
|
||||
}, -- end of ["point"]
|
||||
["groupId"] = 13,
|
||||
["unitId"] = 27,
|
||||
["groupName"] = "RuBTRs",
|
||||
["skill"] = "Average",
|
||||
["unit"] =
|
||||
{
|
||||
["id_"] = 16779776,
|
||||
}, -- end of ["unit"]
|
||||
["countryId"] = 2,
|
||||
["country"] = "russia",
|
||||
["coalition"] = "red",
|
||||
["category"] = "vehicle",
|
||||
["unitName"] = "RuBTRs1",
|
||||
["playerCanDrive"] = true,
|
||||
["heading"] = -1.7994767003775,
|
||||
["pos"] =
|
||||
{
|
||||
["y"] = 22.45796585083,
|
||||
["x"] = -292869.375,
|
||||
["z"] = 654431.625,
|
||||
}, -- end of ["pos"]
|
||||
}, -- end of [16779776]
|
||||
[16780032] =
|
||||
{
|
||||
["type"] = "BTR-80",
|
||||
["point"] =
|
||||
{
|
||||
["y"] = 654585.71428571,
|
||||
["x"] = -292882.85714286,
|
||||
}, -- end of ["point"]
|
||||
["groupId"] = 13,
|
||||
["unitId"] = 28,
|
||||
["groupName"] = "RuBTRs",
|
||||
["skill"] = "Average",
|
||||
["unit"] =
|
||||
{
|
||||
["id_"] = 16780032,
|
||||
}, -- end of ["unit"]
|
||||
["countryId"] = 2,
|
||||
["country"] = "russia",
|
||||
["coalition"] = "red",
|
||||
["category"] = "vehicle",
|
||||
["unitName"] = "RuBTRs2",
|
||||
["playerCanDrive"] = true,
|
||||
["heading"] = -1.7994767003775,
|
||||
["pos"] =
|
||||
{
|
||||
["y"] = 22.251977920532,
|
||||
["x"] = -292852.3125,
|
||||
["z"] = 654501.375,
|
||||
}, -- end of ["pos"]
|
||||
}, -- end of [16780032]
|
||||
[16781056] =
|
||||
{
|
||||
["type"] = "BTR-80",
|
||||
["point"] =
|
||||
{
|
||||
["y"] = 654745.71428571,
|
||||
["x"] = -293042.85714286,
|
||||
}, -- end of ["point"]
|
||||
["groupId"] = 13,
|
||||
["unitId"] = 32,
|
||||
["groupName"] = "RuBTRs",
|
||||
["skill"] = "Average",
|
||||
["unit"] =
|
||||
{
|
||||
["id_"] = 16781056,
|
||||
}, -- end of ["unit"]
|
||||
["countryId"] = 2,
|
||||
["country"] = "russia",
|
||||
["coalition"] = "red",
|
||||
["category"] = "vehicle",
|
||||
["unitName"] = "RuBTRs6",
|
||||
["playerCanDrive"] = true,
|
||||
["heading"] = -1.7994767003775,
|
||||
["pos"] =
|
||||
{
|
||||
["y"] = 22.305166244507,
|
||||
["x"] = -292861.71875,
|
||||
["z"] = 654491,
|
||||
}, -- end of ["pos"]
|
||||
}, -- end of [16781056]
|
||||
[16780288] =
|
||||
{
|
||||
["type"] = "BTR-80",
|
||||
["point"] =
|
||||
{
|
||||
["y"] = 654625.71428571,
|
||||
["x"] = -292922.85714286,
|
||||
}, -- end of ["point"]
|
||||
["groupId"] = 13,
|
||||
["unitId"] = 29,
|
||||
["groupName"] = "RuBTRs",
|
||||
["skill"] = "Average",
|
||||
["unit"] =
|
||||
{
|
||||
["id_"] = 16780288,
|
||||
}, -- end of ["unit"]
|
||||
["countryId"] = 2,
|
||||
["country"] = "russia",
|
||||
["coalition"] = "red",
|
||||
["category"] = "vehicle",
|
||||
["unitName"] = "RuBTRs3",
|
||||
["playerCanDrive"] = true,
|
||||
["heading"] = -1.7994767003775,
|
||||
["pos"] =
|
||||
{
|
||||
["y"] = 22.339700698853,
|
||||
["x"] = -292863.03125,
|
||||
["z"] = 654477.9375,
|
||||
}, -- end of ["pos"]
|
||||
}, -- end of [16780288]
|
||||
} -- end of removedAliveUnits
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,28 +1,6 @@
|
||||
zonesByNum =
|
||||
{
|
||||
[1] =
|
||||
{
|
||||
["y"] = 673819.99999999,
|
||||
["radius"] = 3000,
|
||||
["point"] =
|
||||
{
|
||||
["y"] = 0,
|
||||
["x"] = -271900,
|
||||
["z"] = 673819.99999999,
|
||||
}, -- end of ["point"]
|
||||
["name"] = "explosion zone",
|
||||
["color"] =
|
||||
{
|
||||
[1] = 1,
|
||||
[2] = 1,
|
||||
[3] = 1,
|
||||
[4] = 0.14901960784314,
|
||||
}, -- end of ["color"]
|
||||
["x"] = -271900,
|
||||
["hidden"] = false,
|
||||
["zoneId"] = 1,
|
||||
}, -- end of [1]
|
||||
[2] =
|
||||
{
|
||||
["y"] = 614105.71428571,
|
||||
["radius"] = 3000,
|
||||
@ -43,8 +21,8 @@ zonesByNum =
|
||||
["x"] = -245328.57142857,
|
||||
["hidden"] = false,
|
||||
["zoneId"] = 2,
|
||||
}, -- end of [2]
|
||||
[3] =
|
||||
}, -- end of [1]
|
||||
[2] =
|
||||
{
|
||||
["y"] = 692534.28571428,
|
||||
["radius"] = 3000,
|
||||
@ -65,5 +43,27 @@ zonesByNum =
|
||||
["x"] = -285971.42857143,
|
||||
["hidden"] = false,
|
||||
["zoneId"] = 3,
|
||||
}, -- end of [2]
|
||||
[3] =
|
||||
{
|
||||
["y"] = 673819.99999999,
|
||||
["radius"] = 3000,
|
||||
["point"] =
|
||||
{
|
||||
["y"] = 0,
|
||||
["x"] = -271900,
|
||||
["z"] = 673819.99999999,
|
||||
}, -- end of ["point"]
|
||||
["name"] = "explosion zone",
|
||||
["color"] =
|
||||
{
|
||||
[1] = 1,
|
||||
[2] = 1,
|
||||
[3] = 1,
|
||||
[4] = 0.14901960784314,
|
||||
}, -- end of ["color"]
|
||||
["x"] = -271900,
|
||||
["hidden"] = false,
|
||||
["zoneId"] = 1,
|
||||
}, -- end of [3]
|
||||
} -- end of zonesByNum
|
||||
|
||||
BIN
Mist guide.pdf
BIN
Mist guide.pdf
Binary file not shown.
190
mist.lua
190
mist.lua
@ -1,6 +1,14 @@
|
||||
--[[
|
||||
v33
|
||||
- added getGroupPayload
|
||||
- re-wrote how mist.stringMatch worked. no functional difference between previous iteration
|
||||
- DBs now contain callsign, psi, modulation, frequency, uncontrolled, radioSet, hardpoint_racks, and onboard_num. Dependent on whether or not group type has the option available.
|
||||
|
||||
|
||||
v32
|
||||
- flagfuncs now support string values for flag and stop flags
|
||||
- optimized and fixed issue with mist.getGroupData
|
||||
|
||||
|
||||
v31
|
||||
- added more special characters to ignore for mist.stringMatch
|
||||
@ -29,8 +37,8 @@ added mist.getUnitsInPolygon
|
||||
v27
|
||||
added mist.flagFunc.group_alive
|
||||
added mist.flagFunc.group_dead
|
||||
added mist.flagFunc.group_alive_more_than
|
||||
added mist.flagFunc.group_alive_less_than
|
||||
added mist.flagFunc.group_dead_less_than
|
||||
]]
|
||||
|
||||
--MiST Mission Scripting Tools
|
||||
@ -39,7 +47,7 @@ mist = {}
|
||||
-- don't change these
|
||||
mist.majorVersion = 3
|
||||
mist.minorVersion = 5
|
||||
mist.build = 32
|
||||
mist.build = 33
|
||||
|
||||
|
||||
--[[
|
||||
@ -570,7 +578,6 @@ do
|
||||
local cntry = newGroup.country
|
||||
local groupType = newGroup.category
|
||||
local newCountry = ''
|
||||
|
||||
-- validate data
|
||||
for countryName, countryId in pairs(country.id) do
|
||||
if type(cntry) == 'string' then
|
||||
@ -705,7 +712,6 @@ do
|
||||
|
||||
|
||||
|
||||
|
||||
-- sanitize table
|
||||
newGroup.groupName = nil
|
||||
newGroup.clone = nil
|
||||
@ -719,10 +725,8 @@ do
|
||||
newGroup.units[unitIndex].unitName = nil
|
||||
end
|
||||
|
||||
--env.info('added')
|
||||
coalition.addGroup(country.id[newCountry], Unit.Category[newCat], newGroup)
|
||||
|
||||
|
||||
return newGroup.name
|
||||
|
||||
end
|
||||
@ -1527,7 +1531,7 @@ function mist.getGroupPoints(groupname) -- if groupname exists in env.mission,
|
||||
if obj_type_name == "helicopter" or obj_type_name == "ship" or obj_type_name == "plane" or obj_type_name == "vehicle" then -- only these types have points
|
||||
if ((type(obj_type_data) == 'table') and obj_type_data.group and (type(obj_type_data.group) == 'table') and (#obj_type_data.group > 0)) then --there's a group!
|
||||
for group_num, group_data in pairs(obj_type_data.group) do
|
||||
if group_data and group_data.name and group_data.name == groupname then -- this is the group we are looking for
|
||||
if group_data and group_data.name and mist.stringMatch(group_data.name, groupname) then -- this is the group we are looking for
|
||||
if group_data.route and group_data.route.points and #group_data.route.points > 0 then
|
||||
local points = {}
|
||||
for point_num, point in pairs(group_data.route.points) do
|
||||
@ -1866,6 +1870,7 @@ for coa_name, coa_data in pairs(env.mission.coalition) do
|
||||
mist.DBs.units[coa_name][countryName][category][group_num]["radioSet"] = group_data.radioSet
|
||||
mist.DBs.units[coa_name][countryName][category][group_num]["uncontrolled"] = group_data.uncontrolled
|
||||
mist.DBs.units[coa_name][countryName][category][group_num]["frequency"] = group_data.frequency
|
||||
mist.DBs.units[coa_name][countryName][category][group_num]["modulation"] = group_data.modulation
|
||||
|
||||
for unit_num, unit_data in pairs(group_data.units) do
|
||||
local units_tbl = mist.DBs.units[coa_name][countryName][category][group_num]["units"] --pointer to the units table for this group
|
||||
@ -2651,6 +2656,15 @@ end
|
||||
|
||||
|
||||
function mist.pointInPolygon(point, poly, maxalt) --raycasting point in polygon. Code from http://softsurfer.com/Archive/algorithm_0103/algorithm_0103.htm
|
||||
local type_tbl = {
|
||||
point {'table'},
|
||||
poly = {'number'},
|
||||
maxalt = {'number', 'nil'},
|
||||
}
|
||||
|
||||
local err, errmsg = mist.utils.typeCheck('mist.pointInPolygon', type_tbl, {point, poly, maxalt})
|
||||
assert(err, errmsg)
|
||||
|
||||
point = mist.utils.makeVec3(point)
|
||||
local px = point.x
|
||||
local pz = point.z
|
||||
@ -3468,7 +3482,7 @@ function mist.getGroupRoute(groupname, task) -- same as getGroupPoints but ret
|
||||
if obj_type_name == "helicopter" or obj_type_name == "ship" or obj_type_name == "plane" or obj_type_name == "vehicle" then -- only these types have points
|
||||
if ((type(obj_type_data) == 'table') and obj_type_data.group and (type(obj_type_data.group) == 'table') and (#obj_type_data.group > 0)) then --there's a group!
|
||||
for group_num, group_data in pairs(obj_type_data.group) do
|
||||
if group_data and group_data.name and group_data.name == groupname then -- this is the group we are looking for
|
||||
if group_data and group_data.name and mist.stringMatch(group_data.name, groupname) then -- this is the group we are looking for
|
||||
if group_data.route and group_data.route.points and #group_data.route.points > 0 then
|
||||
local points = {}
|
||||
|
||||
@ -4823,7 +4837,7 @@ mist.getCurrentGroupData = function(gpName)
|
||||
newData.units[unitNum]["heading"] = mist.getHeading(unitData, true) -- added to DBs
|
||||
newData.units[unitNum]['alt'] = unitData:getPosition().p.y
|
||||
newData.country = string.lower(country.name[unitData:getCountry()])
|
||||
|
||||
newData.units[unitNum]['callsign'] = unitData:getCallsign()
|
||||
end
|
||||
|
||||
return newData
|
||||
@ -4832,43 +4846,61 @@ mist.getCurrentGroupData = function(gpName)
|
||||
end
|
||||
|
||||
mist.getGroupData = function(gpName)
|
||||
--env.info('getgroupData')
|
||||
for groupName, groupData in pairs(mist.DBs.groupsByName) do
|
||||
if string.lower(groupName) == string.lower(gpName) then
|
||||
local newData = {}
|
||||
newData.hidden = false -- maybe add this to DBs
|
||||
newData.groupId = groupData.groupId
|
||||
newData.groupName = groupName
|
||||
newData.category = groupData.category
|
||||
newData.country = groupData.country
|
||||
newData.units = {}
|
||||
newData.task = groupData.task
|
||||
|
||||
for unitNum, unitData in pairs(groupData.units) do
|
||||
newData.units[unitNum] = {}
|
||||
|
||||
newData.units[unitNum]["unitId"] = unitData.unitId
|
||||
--newData.units[unitNum]['point'] = unitData.point
|
||||
newData.units[unitNum]['x'] = unitData.point.x
|
||||
newData.units[unitNum]['y'] = unitData.point.y
|
||||
newData.units[unitNum]['alt'] = unitData.alt
|
||||
newData.units[unitNum]['alt_type'] = unitData.alt_type
|
||||
newData.units[unitNum]['speed'] = unitData.speed
|
||||
newData.units[unitNum]["type"] = unitData.type
|
||||
newData.units[unitNum]["skill"] = unitData.skill
|
||||
newData.units[unitNum]["unitName"] = unitData.unitName
|
||||
newData.units[unitNum]["heading"] = unitData.heading -- added to DBs
|
||||
newData.units[unitNum]["playerCanDrive"] = unitData.playerCanDrive -- added to DBs
|
||||
|
||||
|
||||
if newData.category == 'plane' or newData.category == 'helicopter' then
|
||||
newData.units[unitNum]["payload"] = mist.getPayload(unitData.unitName)
|
||||
newData.units[unitNum]['livery_id'] = unitData.livery_id
|
||||
end
|
||||
local found = false
|
||||
local newData = {}
|
||||
if mist.DBs.groupsByName[gpName] then
|
||||
newData = mist.utils.deepCopy(mist.DBs.groupsByName[gpName])
|
||||
found = true
|
||||
end
|
||||
|
||||
if found == false then
|
||||
for groupName, groupData in pairs(mist.DBs.groupsByName) do
|
||||
if mist.stringMatch(groupName, gpName) == true then
|
||||
newData = mist.utils.deepCopy(groupData)
|
||||
newData.groupName = groupName
|
||||
found = true
|
||||
break
|
||||
end
|
||||
return newData
|
||||
end
|
||||
end
|
||||
|
||||
local payloads
|
||||
if newData.category == 'plane' or newData.category == 'helicopter' then
|
||||
payloads = mist.getGroupPayload(newData.groupName)
|
||||
end
|
||||
if found == true then
|
||||
newData.hidden = false -- maybe add this to DBs
|
||||
|
||||
for unitNum, unitData in pairs(newData.units) do
|
||||
newData.units[unitNum] = {}
|
||||
|
||||
newData.units[unitNum]["unitId"] = unitData.unitId
|
||||
--newData.units[unitNum]['point'] = unitData.point
|
||||
newData.units[unitNum]['x'] = unitData.point.x
|
||||
newData.units[unitNum]['y'] = unitData.point.y
|
||||
newData.units[unitNum]['alt'] = unitData.alt
|
||||
newData.units[unitNum]['alt_type'] = unitData.alt_type
|
||||
newData.units[unitNum]['speed'] = unitData.speed
|
||||
newData.units[unitNum]["type"] = unitData.type
|
||||
newData.units[unitNum]["skill"] = unitData.skill
|
||||
newData.units[unitNum]["unitName"] = unitData.unitName
|
||||
newData.units[unitNum]["heading"] = unitData.heading -- added to DBs
|
||||
newData.units[unitNum]["playerCanDrive"] = unitData.playerCanDrive -- added to DBs
|
||||
|
||||
|
||||
if newData.category == 'plane' or newData.category == 'helicopter' then
|
||||
newData.units[unitNum]["payload"] = payloads[unitNum]
|
||||
newData.units[unitNum]['livery_id'] = unitData.livery_id
|
||||
newData.units[unitNum]['onboard_num'] = unitData.onboard_num
|
||||
newData.units[unitNum]['callsign'] = unitData.callsign
|
||||
end
|
||||
end
|
||||
|
||||
return newData
|
||||
else
|
||||
env.info(gpName .. ' not found in mist.getGroupData')
|
||||
return
|
||||
end
|
||||
end
|
||||
|
||||
mist.getPayload = function(unitName)
|
||||
@ -4883,7 +4915,7 @@ mist.getPayload = function(unitName)
|
||||
for group_num, group_data in pairs(obj_type_data.group) do
|
||||
if group_data and group_data.name then
|
||||
for unitIndex, unitData in pairs(group_data.units) do --group index
|
||||
if string.lower(unitName) == string.lower(unitData.name) then
|
||||
if mist.stringMatch(unitName, unitData.name) == true then
|
||||
return unitData.payload
|
||||
end
|
||||
end
|
||||
@ -4897,11 +4929,46 @@ mist.getPayload = function(unitName)
|
||||
end
|
||||
end
|
||||
else
|
||||
env.info('mist.getPayload got ' .. type(unitName))
|
||||
return false
|
||||
end
|
||||
env.info('mist.getPayload, payload not found')
|
||||
return
|
||||
end
|
||||
|
||||
mist.getGroupPayload = function(groupName)
|
||||
if groupName and type(groupName) == 'string' then
|
||||
for coa_name, coa_data in pairs(env.mission.coalition) do
|
||||
if (coa_name == 'red' or coa_name == 'blue') and type(coa_data) == 'table' then
|
||||
if coa_data.country then --there is a country table
|
||||
for cntry_id, cntry_data in pairs(coa_data.country) do
|
||||
for obj_type_name, obj_type_data in pairs(cntry_data) do
|
||||
if obj_type_name == "helicopter" or obj_type_name == "ship" or obj_type_name == "plane" or obj_type_name == "vehicle" then -- only these types have points
|
||||
if ((type(obj_type_data) == 'table') and obj_type_data.group and (type(obj_type_data.group) == 'table') and (#obj_type_data.group > 0)) then --there's a group!
|
||||
for group_num, group_data in pairs(obj_type_data.group) do
|
||||
if group_data and group_data.name and mist.stringMatch(groupName, group_data.name) == true then
|
||||
local payloads = {}
|
||||
for unitIndex, unitData in pairs(group_data.units) do --group index
|
||||
payloads[unitIndex] = unitData.payload
|
||||
end
|
||||
return payloads
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
else
|
||||
env.info('mist.getGroupPayload got ' .. type(groupName))
|
||||
return false
|
||||
end
|
||||
env.info('mist.getGroupPayload, payload not found')
|
||||
return
|
||||
|
||||
end
|
||||
|
||||
mist.teleportToPoint = function(vars) -- main teleport function that all of teleport/respawn functions call
|
||||
local point = vars.point
|
||||
@ -4916,9 +4983,6 @@ mist.teleportToPoint = function(vars) -- main teleport function that all of tele
|
||||
end
|
||||
|
||||
local action = vars.action
|
||||
local isStatic = false
|
||||
|
||||
|
||||
|
||||
local disperse = vars.disperse or false
|
||||
local maxDisp = vars.maxDisp
|
||||
@ -4931,7 +4995,7 @@ mist.teleportToPoint = function(vars) -- main teleport function that all of tele
|
||||
local innerRadius = vars.innerRadius
|
||||
|
||||
local route = vars.route
|
||||
|
||||
|
||||
local newGroupData
|
||||
if gpName and not vars.groupData then
|
||||
if string.lower(action) == 'teleport' or string.lower(action) == 'tele' then
|
||||
@ -4950,7 +5014,6 @@ mist.teleportToPoint = function(vars) -- main teleport function that all of tele
|
||||
newGroupData = vars.groupData
|
||||
end
|
||||
|
||||
|
||||
local diff = {['x'] = 0, ['y'] = 0}
|
||||
local newCoord, origCoord
|
||||
if point then
|
||||
@ -4975,6 +5038,7 @@ mist.teleportToPoint = function(vars) -- main teleport function that all of tele
|
||||
end
|
||||
end
|
||||
if valid == false then
|
||||
env.info('mist.teleportToPoint; vars.point not a valid coordinate')
|
||||
return false
|
||||
end
|
||||
end
|
||||
@ -4996,8 +5060,8 @@ mist.teleportToPoint = function(vars) -- main teleport function that all of tele
|
||||
|
||||
--tostring, tostring(),
|
||||
|
||||
newGroupData.country = mist.DBs.groupsByName[gpName].country
|
||||
newGroupData.category = mist.DBs.groupsByName[gpName].category
|
||||
newGroupData.country = mist.DBs.groupsByName[newGroupData.groupName].country
|
||||
newGroupData.category = mist.DBs.groupsByName[newGroupData.groupName].category
|
||||
if route then
|
||||
newGroupData.route = route
|
||||
end
|
||||
@ -5427,24 +5491,12 @@ end
|
||||
|
||||
|
||||
mist.stringMatch = function(s1, s2, bool)
|
||||
local exclude = {'%-', '%(', '%)', '%_', '%[', '%]', '%.', '%#', '% ', '%{', '%}', '%$', '%%', '%?', '%+', '%^'}
|
||||
if type(s1) == 'string' and type(s2) == 'string' then
|
||||
s1 = string.gsub(s1, "%-", '')
|
||||
s1 = string.gsub(s1, "%(", '')
|
||||
s1 = string.gsub(s1, "%)", '')
|
||||
s1 = string.gsub(s1, "%_", '')
|
||||
s1 = string.gsub(s1, "%[", '')
|
||||
s1 = string.gsub(s1, "%]", '')
|
||||
s1 = string.gsub(s1, "%.", '')
|
||||
|
||||
|
||||
s2 = string.gsub(s2, "%-", '')
|
||||
s2 = string.gsub(s2, "%(", '')
|
||||
s2 = string.gsub(s2, "%)", '')
|
||||
s2 = string.gsub(s2, "%_", '')
|
||||
s2 = string.gsub(s1, "%[", '')
|
||||
s2 = string.gsub(s1, "%]", '')
|
||||
s2 = string.gsub(s1, "%.", '')
|
||||
|
||||
for i , str in pairs(exclude) do
|
||||
s1 = string.gsub(s1, str, '')
|
||||
s2 = string.gsub(s2, str, '')
|
||||
end
|
||||
if not bool then
|
||||
s1 = string.lower(s1)
|
||||
s2 = string.lower(s2)
|
||||
@ -5456,7 +5508,7 @@ mist.stringMatch = function(s1, s2, bool)
|
||||
return false
|
||||
end
|
||||
else
|
||||
assert('mist.stringMatch; Either the first or second variable were not strings')
|
||||
env.info('mist.stringMatch; Either the first or second variable were not a string')
|
||||
return false
|
||||
end
|
||||
end
|
||||
|
||||
Binary file not shown.
@ -1,6 +1,46 @@
|
||||
-- Changelog
|
||||
-- changelog
|
||||
v33 Mist 3.5 rc
|
||||
- added getGroupPayload
|
||||
- re-wrote how mist.stringMatch worked. no functional difference between previous iteration
|
||||
- DBs now contain callsign, psi, modulation, frequency, uncontrolled, radioSet, hardpoint_racks, and onboard_num. Dependent on whether or not group type has the option available.
|
||||
|
||||
|
||||
v32
|
||||
- flagfuncs now support string values for flag and stop flags
|
||||
- optimized and fixed issue with mist.getGroupData
|
||||
|
||||
|
||||
v31
|
||||
- added more special characters to ignore for mist.stringMatch
|
||||
- added 3rd variable to mist.matchString to define if strings are case sensitive
|
||||
- added mist.randomizeNumTable
|
||||
- modified mist.randomizeGroupOrder to use mist.randomizeNumTable
|
||||
- added mist.terrainHeightDiff
|
||||
|
||||
v30
|
||||
-Optimizations and fixes of refactoring
|
||||
-mist.dbUpdate changed to a local dbUpdate function. now no longer accessible globally
|
||||
- added mist.matchString because I always get it backwards
|
||||
|
||||
v29
|
||||
-Refactoring dbUpdate and related functions integration
|
||||
|
||||
v28
|
||||
added mist.getUnitSkill
|
||||
added mist.stringMatch
|
||||
added mist.groupTableCheck
|
||||
added mist.spawnRandomizedGroup
|
||||
added mist.randomizeGroupOrder
|
||||
added mist.getUnitsInPolygon
|
||||
|
||||
|
||||
v27
|
||||
added mist.flagFunc.group_alive
|
||||
added mist.flagFunc.group_dead
|
||||
added mist.flagFunc.group_alive_more_than
|
||||
added mist.flagFunc.group_alive_less_than
|
||||
|
||||
|
||||
--[[
|
||||
v025 changelog mist 3.4.25
|
||||
-fixed bug with mist.message.add with regard to updating existing messages
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user