MissionScriptingTools/Example DBs/mist_DBs_removedAliveUnits.lua
mrSkortch 5e26588a91 Neutral coalition support
Added support for DB info in the miz regarding neutral groups. Removed the checks for the coalition name so that if there are ever more coalitions added to the game the mist code won't need to explicitly look for them.

Added local function to verify the DB entries for anything that was spawned before mist is loaded.

Set all popup messages to false.
2020-09-17 16:56:25 -06:00

356 lines
7.4 KiB
Lua

removedAliveUnits =
{
[16789504] =
{
["point"] =
{
["y"] = 681535.14285714,
["x"] = -287036.85714286,
}, -- end of ["point"]
["skill"] = "Average",
["unit"] =
{
["id_"] = 16789504,
}, -- end of ["unit"]
["category"] = "vehicle",
["unitName"] = "Unit #005",
["heading"] = 0,
["unitId"] = 55,
["groupName"] = "teleGroup",
["countryId"] = 2,
["coalition"] = "blue",
["x"] = -287036.85714286,
["type"] = "Hawk ln",
["groupId"] = 35,
["country"] = "usa",
["playerCanDrive"] = true,
["y"] = 681535.14285714,
["pos"] =
{
["y"] = 34.870754241943,
["x"] = -287036.84375,
["z"] = 681535.125,
}, -- end of ["pos"]
}, -- end of [16789504]
[16789760] =
{
["point"] =
{
["y"] = 681535.14285714,
["x"] = -287076.85714286,
}, -- end of ["point"]
["skill"] = "Average",
["unit"] =
{
["id_"] = 16789760,
}, -- end of ["unit"]
["category"] = "vehicle",
["unitName"] = "Unit #006",
["heading"] = 0,
["unitId"] = 56,
["groupName"] = "teleGroup",
["countryId"] = 2,
["coalition"] = "blue",
["x"] = -287076.85714286,
["type"] = "Hawk ln",
["groupId"] = 35,
["country"] = "usa",
["playerCanDrive"] = true,
["y"] = 681535.14285714,
["pos"] =
{
["y"] = 34.792644500732,
["x"] = -287076.84375,
["z"] = 681535.125,
}, -- end of ["pos"]
}, -- end of [16789760]
[16790016] =
{
["point"] =
{
["y"] = 681535.14285714,
["x"] = -287116.85714286,
}, -- end of ["point"]
["skill"] = "Average",
["unit"] =
{
["id_"] = 16790016,
}, -- end of ["unit"]
["category"] = "vehicle",
["unitName"] = "Unit #007",
["heading"] = 0,
["unitId"] = 57,
["groupName"] = "teleGroup",
["countryId"] = 2,
["coalition"] = "blue",
["x"] = -287116.85714286,
["type"] = "Hawk ln",
["groupId"] = 35,
["country"] = "usa",
["playerCanDrive"] = true,
["y"] = 681535.14285714,
["pos"] =
{
["y"] = 34.768741607666,
["x"] = -287116.84375,
["z"] = 681535.125,
}, -- end of ["pos"]
}, -- end of [16790016]
[16790272] =
{
["point"] =
{
["y"] = 681535.14285714,
["x"] = -287156.85714286,
}, -- end of ["point"]
["skill"] = "Average",
["unit"] =
{
["id_"] = 16790272,
}, -- 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",
["playerCanDrive"] = true,
["y"] = 681535.14285714,
["pos"] =
{
["y"] = 34.752384185791,
["x"] = -287156.84375,
["z"] = 681535.125,
}, -- end of ["pos"]
}, -- end of [16790272]
[16782848] =
{
["point"] =
{
["y"] = 654585.71428571,
["x"] = -292882.85714286,
}, -- end of ["point"]
["skill"] = "Average",
["unit"] =
{
["id_"] = 16782848,
}, -- end of ["unit"]
["category"] = "vehicle",
["unitName"] = "RuBTRs2",
["heading"] = -1.7994767003775,
["unitId"] = 28,
["groupName"] = "RuBTRs",
["countryId"] = 0,
["coalition"] = "red",
["x"] = -292882.85714286,
["type"] = "BTR-80",
["groupId"] = 13,
["country"] = "russia",
["playerCanDrive"] = true,
["y"] = 654585.71428571,
["pos"] =
{
["y"] = 11.750775044011,
["x"] = -292918.85355006,
["z"] = 654583.32898538,
}, -- end of ["pos"]
}, -- end of [16782848]
[16783104] =
{
["point"] =
{
["y"] = 654625.71428571,
["x"] = -292922.85714286,
}, -- end of ["point"]
["skill"] = "Average",
["unit"] =
{
["id_"] = 16783104,
}, -- end of ["unit"]
["category"] = "vehicle",
["unitName"] = "RuBTRs3",
["heading"] = -1.7994767003775,
["unitId"] = 29,
["groupName"] = "RuBTRs",
["countryId"] = 0,
["coalition"] = "red",
["x"] = -292922.85714286,
["type"] = "BTR-80",
["groupId"] = 13,
["country"] = "russia",
["playerCanDrive"] = true,
["y"] = 654625.71428571,
["pos"] =
{
["y"] = 11.784134667198,
["x"] = -292988.34774035,
["z"] = 654626.95184203,
}, -- end of ["pos"]
}, -- end of [16783104]
[16783360] =
{
["point"] =
{
["y"] = 654665.71428571,
["x"] = -292962.85714286,
}, -- end of ["point"]
["skill"] = "Average",
["unit"] =
{
["id_"] = 16783360,
}, -- end of ["unit"]
["category"] = "vehicle",
["unitName"] = "RuBTRs4",
["heading"] = -1.7994767003775,
["unitId"] = 30,
["groupName"] = "RuBTRs",
["countryId"] = 0,
["coalition"] = "red",
["x"] = -292962.85714286,
["type"] = "BTR-80",
["groupId"] = 13,
["country"] = "russia",
["playerCanDrive"] = true,
["y"] = 654665.71428571,
["pos"] =
{
["y"] = 12.104105100501,
["x"] = -293040.29557322,
["z"] = 654661.78361224,
}, -- end of ["pos"]
}, -- end of [16783360]
[16788736] =
{
["point"] =
{
["y"] = 681535.14285714,
["x"] = -286916.85714286,
}, -- end of ["point"]
["skill"] = "Average",
["unit"] =
{
["id_"] = 16788736,
}, -- end of ["unit"]
["category"] = "vehicle",
["unitName"] = "Unit #002",
["heading"] = 0,
["unitId"] = 52,
["groupName"] = "teleGroup",
["countryId"] = 2,
["coalition"] = "blue",
["x"] = -286916.85714286,
["type"] = "Hawk tr",
["groupId"] = 35,
["country"] = "usa",
["playerCanDrive"] = true,
["y"] = 681535.14285714,
["pos"] =
{
["y"] = 35.254570007324,
["x"] = -286916.84375,
["z"] = 681535.125,
}, -- end of ["pos"]
}, -- end of [16788736]
[16788992] =
{
["point"] =
{
["y"] = 681535.14285714,
["x"] = -286956.85714286,
}, -- end of ["point"]
["skill"] = "Average",
["unit"] =
{
["id_"] = 16788992,
}, -- end of ["unit"]
["category"] = "vehicle",
["unitName"] = "Unit #003",
["heading"] = 0,
["unitId"] = 53,
["groupName"] = "teleGroup",
["countryId"] = 2,
["coalition"] = "blue",
["x"] = -286956.85714286,
["type"] = "Hawk sr",
["groupId"] = 35,
["country"] = "usa",
["playerCanDrive"] = true,
["y"] = 681535.14285714,
["pos"] =
{
["y"] = 35.099452972412,
["x"] = -286956.84375,
["z"] = 681535.125,
}, -- end of ["pos"]
}, -- end of [16788992]
[16789248] =
{
["point"] =
{
["y"] = 681535.14285714,
["x"] = -286996.85714286,
}, -- end of ["point"]
["skill"] = "Average",
["unit"] =
{
["id_"] = 16789248,
}, -- end of ["unit"]
["category"] = "vehicle",
["unitName"] = "Unit #004",
["heading"] = 0,
["unitId"] = 54,
["groupName"] = "teleGroup",
["countryId"] = 2,
["coalition"] = "blue",
["x"] = -286996.85714286,
["type"] = "Hawk pcp",
["groupId"] = 35,
["country"] = "usa",
["playerCanDrive"] = true,
["y"] = 681535.14285714,
["pos"] =
{
["y"] = 34.948871612549,
["x"] = -286996.84375,
["z"] = 681535.125,
}, -- end of ["pos"]
}, -- end of [16789248]
[16782592] =
{
["point"] =
{
["y"] = 654545.71428571,
["x"] = -292842.85714286,
}, -- end of ["point"]
["skill"] = "Average",
["unit"] =
{
["id_"] = 16782592,
}, -- 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",
["playerCanDrive"] = true,
["y"] = 654545.71428571,
["pos"] =
{
["y"] = 11.73456417819,
["x"] = -292855.65589344,
["z"] = 654539.4776362,
}, -- end of ["pos"]
}, -- end of [16782592]
} -- end of removedAliveUnits