MissionScriptingTools/Example DBs/mist_DBs_zonesByName.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

159 lines
2.9 KiB
Lua

zonesByName =
{
["shipZone"] =
{
["radius"] = 3000,
["zoneId"] = 174,
["color"] =
{
[1] = 1,
[2] = 1,
[3] = 1,
[4] = 0.15,
}, -- end of ["color"]
["properties"] =
{
}, -- end of ["properties"]
["hidden"] = false,
["y"] = 267139.69375223,
["x"] = -163182.90396786,
["name"] = "shipZone",
["point"] =
{
["y"] = 0,
["x"] = -163182.90396786,
["z"] = 267139.69375223,
}, -- end of ["point"]
["type"] = 0,
}, -- end of ["shipZone"]
["LZ zone"] =
{
["radius"] = 3000,
["zoneId"] = 2,
["color"] =
{
[1] = 1,
[2] = 1,
[3] = 1,
[4] = 0.14901960784314,
}, -- end of ["color"]
["properties"] =
{
}, -- end of ["properties"]
["hidden"] = false,
["y"] = 614105.71428571,
["x"] = -245328.57142857,
["name"] = "LZ zone",
["point"] =
{
["y"] = 0,
["x"] = -245328.57142857,
["z"] = 614105.71428571,
}, -- end of ["point"]
["type"] = 0,
}, -- end of ["LZ zone"]
["quad"] =
{
["radius"] = 13592.958647037,
["zoneId"] = 339,
["color"] =
{
[1] = 1,
[2] = 0,
[3] = 0,
[4] = 0.14901960784314,
}, -- end of ["color"]
["properties"] =
{
["Property Value "] = "Eyyyyyyyy",
["Prop 2 is an"] = "empty string",
}, -- end of ["properties"]
["hidden"] = false,
["y"] = 590545.61946051,
["x"] = -151821.41786062,
["name"] = "quad",
["point"] =
{
["y"] = 0,
["x"] = -151821.41786062,
["z"] = 590545.61946051,
}, -- end of ["point"]
["type"] = 2,
["verticies"] =
{
[1] =
{
["y"] = 583845.85427019,
["x"] = -156926.00086276,
}, -- end of [1]
[2] =
{
["y"] = 594153.18533222,
["x"] = -161637.92363397,
}, -- end of [2]
[3] =
{
["y"] = 601908.22489317,
["x"] = -144360.87347286,
}, -- end of [3]
[4] =
{
["y"] = 582275.21334645,
["x"] = -144360.87347286,
}, -- end of [4]
}, -- end of ["verticies"]
}, -- end of ["quad"]
["cloneZone"] =
{
["radius"] = 3000,
["zoneId"] = 3,
["color"] =
{
[1] = 1,
[2] = 1,
[3] = 1,
[4] = 0.14901960784314,
}, -- end of ["color"]
["properties"] =
{
}, -- end of ["properties"]
["hidden"] = false,
["y"] = 692534.28571428,
["x"] = -285971.42857143,
["name"] = "cloneZone",
["point"] =
{
["y"] = 0,
["x"] = -285971.42857143,
["z"] = 692534.28571428,
}, -- end of ["point"]
["type"] = 0,
}, -- end of ["cloneZone"]
["explosion zone"] =
{
["radius"] = 3000,
["zoneId"] = 1,
["color"] =
{
[1] = 1,
[2] = 1,
[3] = 1,
[4] = 0.14901960784314,
}, -- end of ["color"]
["properties"] =
{
}, -- end of ["properties"]
["hidden"] = false,
["y"] = 673819.99999999,
["x"] = -271900,
["name"] = "explosion zone",
["point"] =
{
["y"] = 0,
["x"] = -271900,
["z"] = 673819.99999999,
}, -- end of ["point"]
["type"] = 0,
}, -- end of ["explosion zone"]
} -- end of zonesByName