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

@@ -96,38 +96,38 @@ removedAliveUnits =
["z"] = 681535.125,
}, -- end of ["pos"]
}, -- end of [16790016]
[16790272] =
[16782592] =
{
["point"] =
{
["y"] = 681535.14285714,
["x"] = -287156.85714286,
["y"] = 654545.71428571,
["x"] = -292842.85714286,
}, -- end of ["point"]
["skill"] = "Average",
["unit"] =
{
["id_"] = 16790272,
["id_"] = 16782592,
}, -- end of ["unit"]
["category"] = "vehicle",
["unitName"] = "Unit #008",
["heading"] = 0,
["unitId"] = 58,
["groupName"] = "teleGroup",
["countryId"] = 2,
["coalition"] = "blue",
["x"] = -287156.85714286,
["type"] = "Hawk cwar",
["groupId"] = 35,
["country"] = "usa",
["unitName"] = "RuBTRs1",
["heading"] = -1.7994767003775,
["unitId"] = 27,
["groupName"] = "RuBTRs",
["countryId"] = 0,
["coalition"] = "red",
["x"] = -292842.85714286,
["type"] = "BTR-80",
["groupId"] = 13,
["country"] = "russia",
["playerCanDrive"] = true,
["y"] = 681535.14285714,
["y"] = 654545.71428571,
["pos"] =
{
["y"] = 34.752384185791,
["x"] = -287156.84375,
["z"] = 681535.125,
["y"] = 11.754341371009,
["x"] = -292856.19491841,
["z"] = 654542.5822736,
}, -- end of ["pos"]
}, -- end of [16790272]
}, -- end of [16782592]
[16782848] =
{
["point"] =
@@ -155,9 +155,9 @@ removedAliveUnits =
["y"] = 654585.71428571,
["pos"] =
{
["y"] = 11.896243705612,
["x"] = -292885.8154643,
["z"] = 654581.81480703,
["y"] = 11.835539878247,
["x"] = -292898.99755273,
["z"] = 654582.04906262,
}, -- end of ["pos"]
}, -- end of [16782848]
[16783104] =
@@ -187,43 +187,43 @@ removedAliveUnits =
["y"] = 654625.71428571,
["pos"] =
{
["y"] = 11.927206059256,
["x"] = -292936.5144784,
["z"] = 654619.49063824,
["y"] = 11.931074299111,
["x"] = -292941.20047403,
["z"] = 654623.11353253,
}, -- end of ["pos"]
}, -- end of [16783104]
[16783360] =
[16783616] =
{
["point"] =
{
["y"] = 654665.71428571,
["x"] = -292962.85714286,
["y"] = 654705.71428571,
["x"] = -293002.85714286,
}, -- end of ["point"]
["skill"] = "Average",
["unit"] =
{
["id_"] = 16783360,
["id_"] = 16783616,
}, -- end of ["unit"]
["category"] = "vehicle",
["unitName"] = "RuBTRs4",
["unitName"] = "RuBTRs5",
["heading"] = -1.7994767003775,
["unitId"] = 30,
["unitId"] = 31,
["groupName"] = "RuBTRs",
["countryId"] = 0,
["coalition"] = "red",
["x"] = -292962.85714286,
["x"] = -293002.85714286,
["type"] = "BTR-80",
["groupId"] = 13,
["country"] = "russia",
["playerCanDrive"] = true,
["y"] = 654665.71428571,
["y"] = 654705.71428571,
["pos"] =
{
["y"] = 11.942705180761,
["x"] = -292999.01167319,
["z"] = 654661.6137778,
["y"] = 12.057955079325,
["x"] = -293012.83464525,
["z"] = 654701.02104299,
}, -- end of ["pos"]
}, -- end of [16783360]
}, -- end of [16783616]
[16788736] =
{
["point"] =
@@ -320,36 +320,36 @@ removedAliveUnits =
["z"] = 681535.125,
}, -- end of ["pos"]
}, -- end of [16789248]
[16782592] =
[16790272] =
{
["point"] =
{
["y"] = 654545.71428571,
["x"] = -292842.85714286,
["y"] = 681535.14285714,
["x"] = -287156.85714286,
}, -- end of ["point"]
["skill"] = "Average",
["unit"] =
{
["id_"] = 16782592,
["id_"] = 16790272,
}, -- end of ["unit"]
["category"] = "vehicle",
["unitName"] = "RuBTRs1",
["heading"] = -1.7994767003775,
["unitId"] = 27,
["groupName"] = "RuBTRs",
["countryId"] = 0,
["coalition"] = "red",
["x"] = -292842.85714286,
["type"] = "BTR-80",
["groupId"] = 13,
["country"] = "russia",
["unitName"] = "Unit #008",
["heading"] = 0,
["unitId"] = 58,
["groupName"] = "teleGroup",
["countryId"] = 2,
["coalition"] = "blue",
["x"] = -287156.85714286,
["type"] = "Hawk cwar",
["groupId"] = 35,
["country"] = "usa",
["playerCanDrive"] = true,
["y"] = 654545.71428571,
["y"] = 681535.14285714,
["pos"] =
{
["y"] = 11.750308354347,
["x"] = -292852.11861931,
["z"] = 654539.33966137,
["y"] = 34.752384185791,
["x"] = -287156.84375,
["z"] = 681535.125,
}, -- end of ["pos"]
}, -- end of [16782592]
}, -- end of [16790272]
} -- end of removedAliveUnits