MissionScriptingTools/Example DBs/mist_DBs_drawingIndexed.lua
mrSkortch 45fd759aae 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
2022-02-11 01:58:17 -07:00

267 lines
5.3 KiB
Lua

drawingIndexed =
{
[1] =
{
["visible"] = true,
["hiddenOnPlanner"] = false,
["mapY"] = 687961.68076485,
["primitiveType"] = "Line",
["layer"] = "Author",
["closed"] = false,
["thickness"] = 8,
["colorString"] = "0xff0000ff",
["style"] = "solid",
["layerName"] = "Author",
["name"] = "Red Line",
["points"] =
{
[1] =
{
["y"] = 687961.68076485,
["x"] = -129535.43874155,
}, -- end of [1]
[2] =
{
["y"] = 687961.68076485,
["x"] = -129535.43874155,
}, -- end of [2]
[3] =
{
["y"] = 686803.10201565,
["x"] = -126832.08832676,
}, -- end of [3]
}, -- end of ["points"]
["mapX"] = -129535.43874155,
["lineMode"] = "segments",
}, -- end of [1]
[2] =
{
["visible"] = true,
["mapY"] = 624626.04247551,
["primitiveType"] = "Line",
["layer"] = "Author",
["closed"] = false,
["thickness"] = 8,
["lineMode"] = "segment",
["style"] = "solid",
["layerName"] = "Author",
["name"] = "Red Line",
["points"] =
{
[1] =
{
["y"] = 624626.04247551,
["x"] = -35304.367140331,
}, -- end of [1]
[2] =
{
["y"] = 650887.1607906,
["x"] = -87440.410854119,
}, -- end of [2]
}, -- end of ["points"]
["mapX"] = -35304.367140331,
["colorString"] = "0xff0000ff",
}, -- end of [2]
[3] =
{
["visible"] = true,
["mapY"] = 653204.31828899,
["primitiveType"] = "Line",
["layer"] = "Author",
["closed"] = false,
["thickness"] = 8,
["lineMode"] = "segments",
["style"] = "solid",
["layerName"] = "Author",
["name"] = "Blue Line",
["points"] =
{
[1] =
{
["y"] = 653204.31828899,
["x"] = -91302.340018104,
}, -- end of [1]
[2] =
{
["y"] = 723491.4290735,
["x"] = -90143.761268909,
}, -- end of [2]
[3] =
{
["y"] = 725036.2007391,
["x"] = -129921.63165795,
}, -- end of [3]
[4] =
{
["y"] = 669810.61369412,
["x"] = -127604.47415956,
}, -- end of [4]
[5] =
{
["y"] = 707271.32658477,
["x"] = -161203.25788622,
}, -- end of [5]
}, -- end of ["points"]
["mapX"] = -91302.340018104,
["colorString"] = "0x0000ffff",
}, -- end of [3]
[4] =
{
["visible"] = true,
["points"] =
{
[1] =
{
["y"] = 830250.78116076,
["x"] = 11345.221862616,
}, -- end of [1]
[2] =
{
["y"] = 830744.08029641,
["x"] = 5911.6635979767,
}, -- end of [2]
[3] =
{
["y"] = 829981.52257348,
["x"] = -2199.1070035738,
}, -- end of [3]
[4] =
{
["y"] = 828015.0750406,
["x"] = -12434.354329222,
}, -- end of [4]
[5] =
{
["y"] = 824978.74784743,
["x"] = -24096.563188272,
}, -- end of [5]
[6] =
{
["y"] = 821079.46167442,
["x"] = -36390.973319689,
}, -- end of [6]
[7] =
{
["y"] = 816582.94643038,
["x"] = -48479.740990492,
}, -- end of [7]
[8] =
{
["y"] = 811795.63219835,
["x"] = -59539.036661549,
}, -- end of [8]
[9] =
{
["y"] = 807043.76653182,
["x"] = -68815.187609226,
}, -- end of [9]
[10] =
{
["y"] = 802651.18122316,
["x"] = -75676.039476005,
}, -- end of [10]
[11] =
{
["y"] = 798917.22370205,
["x"] = -79654.036545258,
}, -- end of [11]
[12] =
{
["y"] = 796096.35700289,
["x"] = -80478.084890666,
}, -- end of [12]
[13] =
{
["y"] = 794380.81852954,
["x"] = -78092.026979294,
}, -- end of [13]
[14] =
{
["y"] = 793887.51939389,
["x"] = -72658.468714655,
}, -- end of [14]
[15] =
{
["y"] = 794650.07711682,
["x"] = -64547.698113104,
}, -- end of [15]
[16] =
{
["y"] = 796616.5246497,
["x"] = -54312.450787456,
}, -- end of [16]
[17] =
{
["y"] = 799652.85184287,
["x"] = -42650.241928406,
}, -- end of [17]
[18] =
{
["y"] = 803552.13801588,
["x"] = -30355.831796989,
}, -- end of [18]
[19] =
{
["y"] = 808048.65325992,
["x"] = -18267.064126186,
}, -- end of [19]
[20] =
{
["y"] = 812835.96749195,
["x"] = -7207.7684551292,
}, -- end of [20]
[21] =
{
["y"] = 817587.83315848,
["x"] = 2068.3824925484,
}, -- end of [21]
[22] =
{
["y"] = 821980.41846714,
["x"] = 8929.234359327,
}, -- end of [22]
[23] =
{
["y"] = 825714.37598825,
["x"] = 12907.23142858,
}, -- end of [23]
[24] =
{
["y"] = 828535.24268741,
["x"] = 13731.279773988,
}, -- end of [24]
}, -- end of ["points"]
["layer"] = "Author",
["r1"] = 49818.886215397,
["mapY"] = 812315.79984515,
["layerName"] = "Author",
["name"] = "ellipse",
["fillColorString"] = "0xffffff80",
["thickness"] = 8,
["polygonMode"] = "oval",
["style"] = "solid",
["colorString"] = "0x008000ff",
["mapX"] = -33373.402558339,
["angle"] = 19,
["r2"] = 9268.6299935624,
["primitiveType"] = "Polygon",
}, -- end of [4]
[5] =
{
["visible"] = true,
["fontSize"] = 24,
["mapY"] = 821584.42983871,
["primitiveType"] = "TextBox",
["layer"] = "Author",
["font"] = "DejaVuLGCSansCondensed.ttf",
["mapX"] = -217973.61659679,
["colorString"] = "0x004040ff",
["name"] = "Text Box 1",
["angle"] = 0,
["text"] = "Objective HERE",
["fillColorString"] = "0x00000080",
["borderThickness"] = 4,
["layerName"] = "Author",
}, -- end of [5]
} -- end of drawingIndexed