Build 106

- Added mist.DBs.drawingsByName and mist.DBs.drawingIndexed. They are a table of points

-Added new callsigns to mist.DBs.const.callsigns
-Added mist.marker.drawShape.
mist.shape.getPointOnSegment
-Added mist.shape.segmentInsersect
-Added mist.mapValue
-Added mist.utils.hexToRGB
-Added mist.getWindBearingAndVel

-Updated mist.messages to only display a message if the messages has been updated. This should prevent spamming the message log.

Fixed: Bug with mist.marker.add() associated with text boxes
Fixed: Zone radius value of verticies present
Updated: DB Sample Files
This commit is contained in:
mrSkortch
2022-02-11 01:58:17 -07:00
parent d1e57e4107
commit 45fd759aae
27 changed files with 5010 additions and 3659 deletions

View File

@@ -1,58 +1,12 @@
deadObjects =
{
[16783360] =
{
["objectPos"] =
{
["y"] = 11.949347758943,
["x"] = -293002.76155801,
["z"] = 654661.93956923,
}, -- end of ["objectPos"]
["objectType"] = "vehicle",
["objectData"] =
{
["point"] =
{
["y"] = 654665.71428571,
["x"] = -292962.85714286,
}, -- end of ["point"]
["skill"] = "Average",
["unit"] =
{
["id_"] = 16783360,
}, -- end of ["unit"]
["category"] = "vehicle",
["unitName"] = "RuBTRs4",
["type"] = "BTR-80",
["groupId"] = 13,
["groupName"] = "RuBTRs",
["countryId"] = 0,
["coalition"] = "red",
["x"] = -292962.85714286,
["y"] = 654665.71428571,
["heading"] = -1.7994767003775,
["unitId"] = 30,
["playerCanDrive"] = true,
["country"] = "russia",
["pos"] =
{
["y"] = 11.942705180761,
["x"] = -292999.01167319,
["z"] = 654661.6137778,
}, -- end of ["pos"]
}, -- end of ["objectData"]
["object"] =
{
["id_"] = 16783360,
}, -- end of ["object"]
}, -- end of [16783360]
[16782592] =
{
["objectPos"] =
{
["y"] = 11.745858960922,
["x"] = -292853.03376572,
["z"] = 654539.31845625,
["y"] = 11.75361563721,
["x"] = -292856.39553252,
["z"] = 654542.61205442,
}, -- end of ["objectPos"]
["objectType"] = "vehicle",
["objectData"] =
@@ -82,9 +36,9 @@ deadObjects =
["country"] = "russia",
["pos"] =
{
["y"] = 11.750308354347,
["x"] = -292852.11861931,
["z"] = 654539.33966137,
["y"] = 11.754341371009,
["x"] = -292856.19491841,
["z"] = 654542.5822736,
}, -- end of ["pos"]
}, -- end of ["objectData"]
["object"] =
@@ -92,59 +46,13 @@ deadObjects =
["id_"] = 16782592,
}, -- end of ["object"]
}, -- end of [16782592]
[16783616] =
{
["objectPos"] =
{
["y"] = 12.114658336158,
["x"] = -293052.09177348,
["z"] = 654688.79118826,
}, -- end of ["objectPos"]
["objectType"] = "vehicle",
["objectData"] =
{
["point"] =
{
["y"] = 654705.71428571,
["x"] = -293002.85714286,
}, -- end of ["point"]
["skill"] = "Average",
["unit"] =
{
["id_"] = 16783616,
}, -- end of ["unit"]
["category"] = "vehicle",
["unitName"] = "RuBTRs5",
["type"] = "BTR-80",
["groupId"] = 13,
["groupName"] = "RuBTRs",
["countryId"] = 0,
["coalition"] = "red",
["x"] = -293002.85714286,
["y"] = 654705.71428571,
["heading"] = -1.7994767003775,
["unitId"] = 31,
["playerCanDrive"] = true,
["country"] = "russia",
["pos"] =
{
["y"] = 12.108674123943,
["x"] = -293049.90666016,
["z"] = 654690.7394103,
}, -- end of ["pos"]
}, -- end of ["objectData"]
["object"] =
{
["id_"] = 16783616,
}, -- end of ["object"]
}, -- end of [16783616]
[16782848] =
{
["objectPos"] =
{
["y"] = 11.895307197448,
["x"] = -292885.90343864,
["z"] = 654581.74191148,
["y"] = 11.829393615855,
["x"] = -292900.70531913,
["z"] = 654582.31756955,
}, -- end of ["objectPos"]
["objectType"] = "vehicle",
["objectData"] =
@@ -174,9 +82,9 @@ deadObjects =
["country"] = "russia",
["pos"] =
{
["y"] = 11.896243705612,
["x"] = -292885.8154643,
["z"] = 654581.81480703,
["y"] = 11.835539878247,
["x"] = -292898.99755273,
["z"] = 654582.04906262,
}, -- end of ["pos"]
}, -- end of ["objectData"]
["object"] =
@@ -184,59 +92,13 @@ deadObjects =
["id_"] = 16782848,
}, -- end of ["object"]
}, -- end of [16782848]
[16783872] =
{
["objectPos"] =
{
["y"] = 12.083325901948,
["x"] = -293047.96598556,
["z"] = 654725.0984902,
}, -- end of ["objectPos"]
["objectType"] = "vehicle",
["objectData"] =
{
["point"] =
{
["y"] = 654745.71428571,
["x"] = -293042.85714286,
}, -- end of ["point"]
["skill"] = "Average",
["unit"] =
{
["id_"] = 16783872,
}, -- end of ["unit"]
["category"] = "vehicle",
["unitName"] = "RuBTRs6",
["type"] = "BTR-80",
["groupId"] = 13,
["groupName"] = "RuBTRs",
["countryId"] = 0,
["coalition"] = "red",
["x"] = -293042.85714286,
["y"] = 654745.71428571,
["heading"] = -1.7994767003775,
["unitId"] = 32,
["playerCanDrive"] = true,
["country"] = "russia",
["pos"] =
{
["y"] = 12.084689792163,
["x"] = -293047.55373527,
["z"] = 654726.74612589,
}, -- end of ["pos"]
}, -- end of ["objectData"]
["object"] =
{
["id_"] = 16783872,
}, -- end of ["object"]
}, -- end of [16783872]
[16783104] =
{
["objectPos"] =
{
["y"] = 11.916789886161,
["x"] = -292939.16858087,
["z"] = 654619.78649539,
["y"] = 11.923311694265,
["x"] = -292943.35378497,
["z"] = 654623.45115955,
}, -- end of ["objectPos"]
["objectType"] = "vehicle",
["objectData"] =
@@ -266,9 +128,9 @@ deadObjects =
["country"] = "russia",
["pos"] =
{
["y"] = 11.927206059256,
["x"] = -292936.5144784,
["z"] = 654619.49063824,
["y"] = 11.931074299111,
["x"] = -292941.20047403,
["z"] = 654623.11353253,
}, -- end of ["pos"]
}, -- end of ["objectData"]
["object"] =
@@ -276,4 +138,50 @@ deadObjects =
["id_"] = 16783104,
}, -- end of ["object"]
}, -- end of [16783104]
[16783616] =
{
["objectPos"] =
{
["y"] = 12.057971873824,
["x"] = -293013.37808746,
["z"] = 654700.95592945,
}, -- end of ["objectPos"]
["objectType"] = "vehicle",
["objectData"] =
{
["point"] =
{
["y"] = 654705.71428571,
["x"] = -293002.85714286,
}, -- end of ["point"]
["skill"] = "Average",
["unit"] =
{
["id_"] = 16783616,
}, -- end of ["unit"]
["category"] = "vehicle",
["unitName"] = "RuBTRs5",
["type"] = "BTR-80",
["groupId"] = 13,
["groupName"] = "RuBTRs",
["countryId"] = 0,
["coalition"] = "red",
["x"] = -293002.85714286,
["y"] = 654705.71428571,
["heading"] = -1.7994767003775,
["unitId"] = 31,
["playerCanDrive"] = true,
["country"] = "russia",
["pos"] =
{
["y"] = 12.057955079325,
["x"] = -293012.83464525,
["z"] = 654701.02104299,
}, -- end of ["pos"]
}, -- end of ["objectData"]
["object"] =
{
["id_"] = 16783616,
}, -- end of ["object"]
}, -- end of [16783616]
} -- end of deadObjects