diff --git a/Example DBs/mist_DBs_MEgroupsByName.lua b/Example DBs/mist_DBs_MEgroupsByName.lua index 18d4e0b..abd6168 100644 --- a/Example DBs/mist_DBs_MEgroupsByName.lua +++ b/Example DBs/mist_DBs_MEgroupsByName.lua @@ -2,87 +2,117 @@ MEgroupsByName = { ["A-10C Client #2"] = { - ["country"] = "usa", + ["modulation"] = 0, + ["groupId"] = 7, + ["frequency"] = 251, ["groupName"] = "A-10C Client #2", ["units"] = { [1] = { ["alt"] = 2000, - ["heading"] = -0.66079849060746, ["point"] = { ["y"] = 644428.57142857, ["x"] = -315857.14285714, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "A-10C Client #2", ["livery_id"] = "104th FS Maryland ANG, Baltimore (MD)", - ["skill"] = "Client", - ["unitId"] = 12, - ["countryId"] = 11, - ["type"] = "A-10C", - ["unitName"] = "A-10C Client #2", + ["onboard_num"] = "52", ["category"] = "plane", - ["speed"] = 138.88888888889, + ["unitName"] = "A-10C Client #2", + ["type"] = "A-10C", ["country"] = "usa", - ["coalition"] = "blue", + ["psi"] = 0.66079849060746, ["groupId"] = 7, + ["groupName"] = "A-10C Client #2", + ["callsign"] = + { + [1] = 3, + [2] = 1, + [3] = 1, + ["name"] = "Uzi11", + }, -- end of ["callsign"] + ["countryId"] = 11, + ["x"] = -315857.14285714, + ["skill"] = "Client", + ["heading"] = -0.66079849060746, + ["unitId"] = 12, + ["y"] = 644428.57142857, + ["coalition"] = "blue", + ["speed"] = 138.88888888889, }, -- end of [1] }, -- end of ["units"] - ["coalition"] = "blue", - ["category"] = "plane", ["countryId"] = 11, + ["radioSet"] = false, + ["country"] = "usa", + ["category"] = "plane", + ["coalition"] = "blue", ["startTime"] = 0, ["task"] = "CAS", - ["groupId"] = 7, + ["uncontrolled"] = false, }, -- end of ["A-10C Client #2"] ["F-15C Client #1"] = { - ["country"] = "usa", + ["modulation"] = 0, + ["groupId"] = 4, + ["frequency"] = 124, ["groupName"] = "F-15C Client #1", ["units"] = { [1] = { ["alt"] = 2000, - ["heading"] = -0.57883789069348, ["point"] = { ["y"] = 662142.85714286, ["x"] = -288142.85714286, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "F-15C Client #1", ["livery_id"] = "19th Fighter SQN (AK)", - ["skill"] = "Client", - ["unitId"] = 8, - ["countryId"] = 11, - ["type"] = "F-15C", - ["unitName"] = "F-15C Client #1", + ["onboard_num"] = "10", ["category"] = "plane", - ["speed"] = 138.88888888889, + ["unitName"] = "F-15C Client #1", + ["type"] = "F-15C", ["country"] = "usa", - ["coalition"] = "blue", + ["psi"] = 0.57883789069348, ["groupId"] = 4, + ["groupName"] = "F-15C Client #1", + ["callsign"] = + { + [1] = 2, + [2] = 1, + [3] = 1, + ["name"] = "Springfield11", + }, -- end of ["callsign"] + ["countryId"] = 11, + ["x"] = -288142.85714286, + ["skill"] = "Client", + ["heading"] = -0.57883789069348, + ["unitId"] = 8, + ["y"] = 662142.85714286, + ["coalition"] = "blue", + ["speed"] = 138.88888888889, }, -- end of [1] }, -- end of ["units"] - ["coalition"] = "blue", - ["category"] = "plane", ["countryId"] = 11, + ["radioSet"] = false, + ["country"] = "usa", + ["category"] = "plane", + ["coalition"] = "blue", ["startTime"] = 0, ["task"] = "CAP", - ["groupId"] = 4, + ["uncontrolled"] = false, }, -- end of ["F-15C Client #1"] ["USTanks2"] = { - ["country"] = "usa", + ["groupId"] = 12, ["groupName"] = "USTanks2", ["units"] = { [1] = { - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 653171.42857143, @@ -91,18 +121,20 @@ MEgroupsByName = ["groupId"] = 12, ["skill"] = "Average", ["country"] = "usa", + ["groupName"] = "USTanks2", + ["y"] = 653171.42857143, ["coalition"] = "blue", + ["x"] = -293085.71428571, ["unitId"] = 23, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks2_1", ["playerCanDrive"] = true, - ["type"] = "M-1 Abrams", - ["groupName"] = "USTanks2", + ["heading"] = 1.4977557614926, + ["countryId"] = 11, }, -- end of [1] [2] = { - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 653211.42857143, @@ -111,18 +143,20 @@ MEgroupsByName = ["groupId"] = 12, ["skill"] = "Average", ["country"] = "usa", + ["groupName"] = "USTanks2", + ["y"] = 653211.42857143, ["coalition"] = "blue", + ["x"] = -293125.71428571, ["unitId"] = 24, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks2_2", ["playerCanDrive"] = true, - ["type"] = "M-1 Abrams", - ["groupName"] = "USTanks2", + ["heading"] = 1.4977557614926, + ["countryId"] = 11, }, -- end of [2] [3] = { - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 653251.42857143, @@ -131,18 +165,20 @@ MEgroupsByName = ["groupId"] = 12, ["skill"] = "Average", ["country"] = "usa", + ["groupName"] = "USTanks2", + ["y"] = 653251.42857143, ["coalition"] = "blue", + ["x"] = -293165.71428571, ["unitId"] = 25, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks2_3", ["playerCanDrive"] = true, - ["type"] = "M-1 Abrams", - ["groupName"] = "USTanks2", + ["heading"] = 1.4977557614926, + ["countryId"] = 11, }, -- end of [3] [4] = { - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 653291.42857143, @@ -151,224 +187,296 @@ MEgroupsByName = ["groupId"] = 12, ["skill"] = "Average", ["country"] = "usa", + ["groupName"] = "USTanks2", + ["y"] = 653291.42857143, ["coalition"] = "blue", + ["x"] = -293205.71428571, ["unitId"] = 26, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks2_4", ["playerCanDrive"] = true, - ["type"] = "M-1 Abrams", - ["groupName"] = "USTanks2", + ["heading"] = 1.4977557614926, + ["countryId"] = 11, }, -- end of [4] }, -- end of ["units"] - ["coalition"] = "blue", - ["category"] = "vehicle", ["countryId"] = 11, + ["category"] = "vehicle", + ["country"] = "usa", ["startTime"] = 0, ["task"] = "Ground Nothing", - ["groupId"] = 12, + ["coalition"] = "blue", }, -- end of ["USTanks2"] ["F-15C Client #2"] = { - ["country"] = "usa", + ["modulation"] = 0, + ["groupId"] = 5, + ["frequency"] = 124, ["groupName"] = "F-15C Client #2", ["units"] = { [1] = { ["alt"] = 2000, - ["heading"] = -0.57883789069348, ["point"] = { ["y"] = 668428.57142857, ["x"] = -287000, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "F-15C Client #2", ["livery_id"] = "19th Fighter SQN (AK)", - ["skill"] = "Client", - ["unitId"] = 10, - ["countryId"] = 11, - ["type"] = "F-15C", - ["unitName"] = "F-15C Client #2", + ["onboard_num"] = "10", ["category"] = "plane", - ["speed"] = 138.88888888889, + ["unitName"] = "F-15C Client #2", + ["type"] = "F-15C", ["country"] = "usa", - ["coalition"] = "blue", + ["psi"] = 0.57883789069348, ["groupId"] = 5, + ["groupName"] = "F-15C Client #2", + ["callsign"] = + { + [1] = 2, + [2] = 1, + [3] = 1, + ["name"] = "Springfield11", + }, -- end of ["callsign"] + ["countryId"] = 11, + ["x"] = -287000, + ["skill"] = "Client", + ["heading"] = -0.57883789069348, + ["unitId"] = 10, + ["y"] = 668428.57142857, + ["coalition"] = "blue", + ["speed"] = 138.88888888889, }, -- end of [1] }, -- end of ["units"] - ["coalition"] = "blue", - ["category"] = "plane", ["countryId"] = 11, + ["radioSet"] = false, + ["country"] = "usa", + ["category"] = "plane", + ["coalition"] = "blue", ["startTime"] = 0, ["task"] = "CAP", - ["groupId"] = 5, + ["uncontrolled"] = false, }, -- end of ["F-15C Client #2"] ["A-10C Client #1"] = { - ["country"] = "usa", + ["modulation"] = 0, + ["groupId"] = 6, + ["frequency"] = 251, ["groupName"] = "A-10C Client #1", ["units"] = { [1] = { ["alt"] = 2000, - ["heading"] = -0.67060113146646, ["point"] = { ["y"] = 636428.57142857, ["x"] = -318142.85714286, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "A-10C Client #1", ["livery_id"] = "104th FS Maryland ANG, Baltimore (MD)", - ["skill"] = "Client", - ["unitId"] = 11, - ["countryId"] = 11, - ["type"] = "A-10C", - ["unitName"] = "A-10C Client #1", + ["onboard_num"] = "52", ["category"] = "plane", - ["speed"] = 138.88888888889, + ["unitName"] = "A-10C Client #1", + ["type"] = "A-10C", ["country"] = "usa", - ["coalition"] = "blue", + ["psi"] = 0.67060113146646, ["groupId"] = 6, + ["groupName"] = "A-10C Client #1", + ["callsign"] = + { + [1] = 3, + [2] = 1, + [3] = 1, + ["name"] = "Uzi11", + }, -- end of ["callsign"] + ["countryId"] = 11, + ["x"] = -318142.85714286, + ["skill"] = "Client", + ["heading"] = -0.67060113146646, + ["unitId"] = 11, + ["y"] = 636428.57142857, + ["coalition"] = "blue", + ["speed"] = 138.88888888889, }, -- end of [1] }, -- end of ["units"] - ["coalition"] = "blue", - ["category"] = "plane", ["countryId"] = 11, + ["radioSet"] = false, + ["country"] = "usa", + ["category"] = "plane", + ["coalition"] = "blue", ["startTime"] = 0, ["task"] = "CAS", - ["groupId"] = 6, + ["uncontrolled"] = false, }, -- end of ["A-10C Client #1"] ["Ka-50s_1"] = { - ["country"] = "russia", + ["modulation"] = 0, + ["groupId"] = 2, + ["frequency"] = 124, ["groupName"] = "Ka-50s_1", ["units"] = { [1] = { ["alt"] = 500, - ["heading"] = 2.5953630185698, ["point"] = { ["y"] = 615000, ["x"] = -237571.42857143, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "Ka-50s_1", ["livery_id"] = "Russia Demo #024", - ["skill"] = "High", - ["unitId"] = 3, - ["countryId"] = 2, - ["type"] = "Ka-50", - ["unitName"] = "Ka-50s_1_1", + ["onboard_num"] = "50", ["category"] = "helicopter", - ["speed"] = 55.555555555556, + ["unitName"] = "Ka-50s_1_1", + ["type"] = "Ka-50", ["country"] = "russia", - ["coalition"] = "red", + ["psi"] = -2.5953630185698, ["groupId"] = 2, + ["groupName"] = "Ka-50s_1", + ["callsign"] = 100, + ["countryId"] = 2, + ["x"] = -237571.42857143, + ["skill"] = "High", + ["heading"] = 2.5953630185698, + ["unitId"] = 3, + ["y"] = 615000, + ["coalition"] = "red", + ["speed"] = 55.555555555556, }, -- end of [1] [2] = { ["alt"] = 500, - ["heading"] = 2.5953630185698, ["point"] = { ["y"] = 615040, ["x"] = -237611.42857143, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "Ka-50s_1", ["livery_id"] = "Russia Demo #024", - ["skill"] = "High", - ["unitId"] = 4, - ["countryId"] = 2, - ["type"] = "Ka-50", - ["unitName"] = "Ka-50s_1_2", + ["onboard_num"] = "51", ["category"] = "helicopter", - ["speed"] = 55.555555555556, + ["unitName"] = "Ka-50s_1_2", + ["type"] = "Ka-50", ["country"] = "russia", - ["coalition"] = "red", + ["psi"] = -2.5953630185698, ["groupId"] = 2, + ["groupName"] = "Ka-50s_1", + ["callsign"] = 101, + ["countryId"] = 2, + ["x"] = -237611.42857143, + ["skill"] = "High", + ["heading"] = 2.5953630185698, + ["unitId"] = 4, + ["y"] = 615040, + ["coalition"] = "red", + ["speed"] = 55.555555555556, }, -- end of [2] }, -- end of ["units"] - ["coalition"] = "red", - ["category"] = "helicopter", ["countryId"] = 2, + ["radioSet"] = false, + ["country"] = "russia", + ["category"] = "helicopter", + ["coalition"] = "red", ["startTime"] = 0, ["task"] = "CAS", - ["groupId"] = 2, + ["uncontrolled"] = false, }, -- end of ["Ka-50s_1"] ["AH-1s_1"] = { - ["country"] = "usa", + ["modulation"] = 0, + ["groupId"] = 1, + ["frequency"] = 127.5, ["groupName"] = "AH-1s_1", ["units"] = { [1] = { ["alt"] = 500, - ["heading"] = 0.017389551289373, ["point"] = { ["y"] = 631857.14285714, ["x"] = -297857.14285714, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "AH-1s_1", ["livery_id"] = "standard", - ["skill"] = "High", - ["unitId"] = 1, - ["countryId"] = 11, - ["type"] = "AH-1W", - ["unitName"] = "AH-1s_1_1", + ["onboard_num"] = "50", ["category"] = "helicopter", - ["speed"] = 55.555555555556, + ["unitName"] = "AH-1s_1_1", + ["type"] = "AH-1W", ["country"] = "usa", - ["coalition"] = "blue", + ["psi"] = -0.017389551289373, ["groupId"] = 1, + ["groupName"] = "AH-1s_1", + ["callsign"] = + { + [1] = 1, + [2] = 1, + [3] = 1, + ["name"] = "Enfield11", + }, -- end of ["callsign"] + ["countryId"] = 11, + ["x"] = -297857.14285714, + ["skill"] = "High", + ["heading"] = 0.017389551289373, + ["unitId"] = 1, + ["y"] = 631857.14285714, + ["coalition"] = "blue", + ["speed"] = 55.555555555556, }, -- end of [1] [2] = { ["alt"] = 500, - ["heading"] = 0.017389551289373, ["point"] = { ["y"] = 631897.14285714, ["x"] = -297897.14285714, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "AH-1s_1", ["livery_id"] = "standard", - ["skill"] = "High", - ["unitId"] = 2, - ["countryId"] = 11, - ["type"] = "AH-1W", - ["unitName"] = "AH-1s_1_2", + ["onboard_num"] = "51", ["category"] = "helicopter", - ["speed"] = 55.555555555556, + ["unitName"] = "AH-1s_1_2", + ["type"] = "AH-1W", ["country"] = "usa", - ["coalition"] = "blue", + ["psi"] = -0.017389551289373, ["groupId"] = 1, + ["groupName"] = "AH-1s_1", + ["callsign"] = + { + [1] = 1, + [2] = 1, + [3] = 2, + ["name"] = "Enfield12", + }, -- end of ["callsign"] + ["countryId"] = 11, + ["x"] = -297897.14285714, + ["skill"] = "High", + ["heading"] = 0.017389551289373, + ["unitId"] = 2, + ["y"] = 631897.14285714, + ["coalition"] = "blue", + ["speed"] = 55.555555555556, }, -- end of [2] }, -- end of ["units"] - ["coalition"] = "blue", - ["category"] = "helicopter", ["countryId"] = 11, + ["radioSet"] = false, + ["country"] = "usa", + ["category"] = "helicopter", + ["coalition"] = "blue", ["startTime"] = 0, ["task"] = "CAS", - ["groupId"] = 1, + ["uncontrolled"] = false, }, -- end of ["AH-1s_1"] ["Rus Ships #2"] = { - ["countryId"] = 2, - ["groupId"] = 10, ["coalition"] = "red", - ["category"] = "ship", ["country"] = "russia", + ["countryId"] = 2, + ["category"] = "ship", + ["groupId"] = 10, ["startTime"] = 0, ["groupName"] = "Rus Ships #2", ["units"] = @@ -382,15 +490,17 @@ MEgroupsByName = ["x"] = -86428.571428571, }, -- end of ["point"] ["groupId"] = 10, + ["groupName"] = "Rus Ships #2", ["skill"] = "Average", - ["countryId"] = 2, - ["unitId"] = 17, + ["country"] = "russia", + ["coalition"] = "red", + ["x"] = -86428.571428571, ["heading"] = 1.1755995276042, ["category"] = "ship", ["unitName"] = "2ship1", - ["country"] = "russia", - ["coalition"] = "red", - ["groupName"] = "Rus Ships #2", + ["unitId"] = 17, + ["y"] = 73571.428571428, + ["countryId"] = 2, }, -- end of [1] [2] = { @@ -401,25 +511,27 @@ MEgroupsByName = ["x"] = -87228.571428571, }, -- end of ["point"] ["groupId"] = 10, + ["groupName"] = "Rus Ships #2", ["skill"] = "Average", - ["countryId"] = 2, - ["unitId"] = 18, + ["country"] = "russia", + ["coalition"] = "red", + ["x"] = -87228.571428571, ["heading"] = 1.1755995276042, ["category"] = "ship", ["unitName"] = "2ship2", - ["country"] = "russia", - ["coalition"] = "red", - ["groupName"] = "Rus Ships #2", + ["unitId"] = 18, + ["y"] = 74371.428571428, + ["countryId"] = 2, }, -- end of [2] }, -- end of ["units"] }, -- end of ["Rus Ships #2"] ["US Ships"] = { - ["countryId"] = 11, - ["groupId"] = 8, ["coalition"] = "blue", - ["category"] = "ship", ["country"] = "usa", + ["countryId"] = 11, + ["category"] = "ship", + ["groupId"] = 8, ["startTime"] = 0, ["groupName"] = "US Ships", ["units"] = @@ -433,15 +545,17 @@ MEgroupsByName = ["x"] = -355285.71428571, }, -- end of ["point"] ["groupId"] = 8, + ["groupName"] = "US Ships", ["skill"] = "Average", - ["countryId"] = 11, - ["unitId"] = 13, + ["country"] = "usa", + ["coalition"] = "blue", + ["x"] = -355285.71428571, ["heading"] = 0, ["category"] = "ship", ["unitName"] = "US Ship #1", - ["country"] = "usa", - ["coalition"] = "blue", - ["groupName"] = "US Ships", + ["unitId"] = 13, + ["y"] = 443857.14285714, + ["countryId"] = 11, }, -- end of [1] [2] = { @@ -452,15 +566,17 @@ MEgroupsByName = ["x"] = -356085.71428571, }, -- end of ["point"] ["groupId"] = 8, + ["groupName"] = "US Ships", ["skill"] = "Average", - ["countryId"] = 11, - ["unitId"] = 14, + ["country"] = "usa", + ["coalition"] = "blue", + ["x"] = -356085.71428571, ["heading"] = 0, ["category"] = "ship", ["unitName"] = "US Ship #2", - ["country"] = "usa", - ["coalition"] = "blue", - ["groupName"] = "US Ships", + ["unitId"] = 14, + ["y"] = 444657.14285714, + ["countryId"] = 11, }, -- end of [2] }, -- end of ["units"] }, -- end of ["US Ships"] @@ -477,21 +593,23 @@ MEgroupsByName = [1] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 617691.42857143, ["x"] = -259071.42857143, }, -- end of ["point"] - ["unitId"] = 41, + ["groupId"] = 19, ["groupName"] = "RuTent2", + ["unitId"] = 41, ["countryId"] = 2, - ["coalition"] = "red", + ["x"] = -259071.42857143, + ["heading"] = 0, ["category"] = "static", ["unitName"] = "RuTent2", ["country"] = "russia", - ["type"] = "FARP Tent", - ["groupId"] = 19, + ["y"] = 617691.42857143, + ["coalition"] = "red", }, -- end of [1] }, -- end of ["units"] }, -- end of ["RuTent2"] @@ -508,21 +626,23 @@ MEgroupsByName = [1] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 636248.57142857, ["x"] = -300871.42857143, }, -- end of ["point"] - ["unitId"] = 37, + ["groupId"] = 15, ["groupName"] = "tent1", + ["unitId"] = 37, ["countryId"] = 11, - ["coalition"] = "blue", + ["x"] = -300871.42857143, + ["heading"] = 0, ["category"] = "static", ["unitName"] = "tent1", ["country"] = "usa", - ["type"] = "FARP Tent", - ["groupId"] = 15, + ["y"] = 636248.57142857, + ["coalition"] = "blue", }, -- end of [1] }, -- end of ["units"] }, -- end of ["tent1"] @@ -539,33 +659,35 @@ MEgroupsByName = [1] = { ["shape_name"] = "konteiner_red1", - ["heading"] = 0, + ["type"] = "Container red 1", ["point"] = { ["y"] = 684605.71428571, ["x"] = -279949.99999999, }, -- end of ["point"] - ["unitId"] = 44, + ["groupId"] = 30, ["groupName"] = "static", + ["unitId"] = 44, ["countryId"] = 11, - ["coalition"] = "blue", + ["x"] = -279949.99999999, + ["heading"] = 0, ["category"] = "static", ["unitName"] = "static", ["country"] = "usa", - ["type"] = "Container red 1", - ["groupId"] = 30, + ["y"] = 684605.71428571, + ["coalition"] = "blue", }, -- end of [1] }, -- end of ["units"] }, -- end of ["static"] ["USTanks1"] = { - ["country"] = "usa", + ["groupId"] = 11, ["groupName"] = "USTanks1", ["units"] = { [1] = { - ["heading"] = 0, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 639800, @@ -574,18 +696,20 @@ MEgroupsByName = ["groupId"] = 11, ["skill"] = "Average", ["country"] = "usa", + ["groupName"] = "USTanks1", + ["y"] = 639800, ["coalition"] = "blue", + ["x"] = -294685.71428571, ["unitId"] = 19, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks1_1", ["playerCanDrive"] = true, - ["type"] = "M-1 Abrams", - ["groupName"] = "USTanks1", + ["heading"] = 0, + ["countryId"] = 11, }, -- end of [1] [2] = { - ["heading"] = 0, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 639840, @@ -594,18 +718,20 @@ MEgroupsByName = ["groupId"] = 11, ["skill"] = "Average", ["country"] = "usa", + ["groupName"] = "USTanks1", + ["y"] = 639840, ["coalition"] = "blue", + ["x"] = -294725.71428571, ["unitId"] = 20, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks1_2", ["playerCanDrive"] = true, - ["type"] = "M-1 Abrams", - ["groupName"] = "USTanks1", + ["heading"] = 0, + ["countryId"] = 11, }, -- end of [2] [3] = { - ["heading"] = 0, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 639880, @@ -614,18 +740,20 @@ MEgroupsByName = ["groupId"] = 11, ["skill"] = "Average", ["country"] = "usa", + ["groupName"] = "USTanks1", + ["y"] = 639880, ["coalition"] = "blue", + ["x"] = -294765.71428571, ["unitId"] = 21, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks1_3", ["playerCanDrive"] = true, - ["type"] = "M-1 Abrams", - ["groupName"] = "USTanks1", + ["heading"] = 0, + ["countryId"] = 11, }, -- end of [3] [4] = { - ["heading"] = 0, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 639920, @@ -634,30 +762,32 @@ MEgroupsByName = ["groupId"] = 11, ["skill"] = "Average", ["country"] = "usa", + ["groupName"] = "USTanks1", + ["y"] = 639920, ["coalition"] = "blue", + ["x"] = -294805.71428571, ["unitId"] = 22, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks1_4", ["playerCanDrive"] = true, - ["type"] = "M-1 Abrams", - ["groupName"] = "USTanks1", + ["heading"] = 0, + ["countryId"] = 11, }, -- end of [4] }, -- end of ["units"] - ["coalition"] = "blue", - ["category"] = "vehicle", ["countryId"] = 11, + ["category"] = "vehicle", + ["country"] = "usa", ["startTime"] = 0, ["task"] = "Ground Nothing", - ["groupId"] = 11, + ["coalition"] = "blue", }, -- end of ["USTanks1"] ["Rus Ships #1"] = { - ["countryId"] = 2, - ["groupId"] = 9, ["coalition"] = "red", - ["category"] = "ship", ["country"] = "russia", + ["countryId"] = 2, + ["category"] = "ship", + ["groupId"] = 9, ["startTime"] = 0, ["groupName"] = "Rus Ships #1", ["units"] = @@ -671,15 +801,17 @@ MEgroupsByName = ["x"] = -34285.714285714, }, -- end of ["point"] ["groupId"] = 9, + ["groupName"] = "Rus Ships #1", ["skill"] = "Average", - ["countryId"] = 2, - ["unitId"] = 15, + ["country"] = "russia", + ["coalition"] = "red", + ["x"] = -34285.714285714, ["heading"] = 0, ["category"] = "ship", ["unitName"] = "1ship1", - ["country"] = "russia", - ["coalition"] = "red", - ["groupName"] = "Rus Ships #1", + ["unitId"] = 15, + ["y"] = 200000, + ["countryId"] = 2, }, -- end of [1] [2] = { @@ -690,54 +822,65 @@ MEgroupsByName = ["x"] = -35085.714285714, }, -- end of ["point"] ["groupId"] = 9, + ["groupName"] = "Rus Ships #1", ["skill"] = "Average", - ["countryId"] = 2, - ["unitId"] = 16, + ["country"] = "russia", + ["coalition"] = "red", + ["x"] = -35085.714285714, ["heading"] = 0, ["category"] = "ship", ["unitName"] = "1ship2", - ["country"] = "russia", - ["coalition"] = "red", - ["groupName"] = "Rus Ships #1", + ["unitId"] = 16, + ["y"] = 200800, + ["countryId"] = 2, }, -- end of [2] }, -- end of ["units"] }, -- end of ["Rus Ships #1"] ["Su-33 Client #1"] = { - ["country"] = "russia", + ["modulation"] = 0, + ["groupId"] = 20, + ["frequency"] = 124, ["groupName"] = "Su-33 Client #1", ["units"] = { [1] = { ["alt"] = 2000, - ["heading"] = 0, ["point"] = { ["y"] = 590391.42857142, ["x"] = -250185.71428571, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "Su-33 Client #1", ["livery_id"] = "279th kiap 1st squad navy", - ["skill"] = "Client", - ["unitId"] = 42, - ["countryId"] = 2, - ["type"] = "Su-33", - ["unitName"] = "Su-33 Client #1", + ["onboard_num"] = "53", ["category"] = "plane", - ["speed"] = 138.88888888889, + ["unitName"] = "Su-33 Client #1", + ["type"] = "Su-33", ["country"] = "russia", - ["coalition"] = "red", + ["psi"] = 0, ["groupId"] = 20, + ["groupName"] = "Su-33 Client #1", + ["callsign"] = 104, + ["countryId"] = 2, + ["x"] = -250185.71428571, + ["skill"] = "Client", + ["heading"] = 0, + ["unitId"] = 42, + ["y"] = 590391.42857142, + ["coalition"] = "red", + ["speed"] = 138.88888888889, }, -- end of [1] }, -- end of ["units"] - ["coalition"] = "red", - ["category"] = "plane", ["countryId"] = 2, + ["radioSet"] = false, + ["country"] = "russia", + ["category"] = "plane", + ["coalition"] = "red", ["startTime"] = 0, ["task"] = "CAP", - ["groupId"] = 20, + ["uncontrolled"] = false, }, -- end of ["Su-33 Client #1"] ["RuTent1"] = { @@ -752,21 +895,23 @@ MEgroupsByName = [1] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 617962.85714285, ["x"] = -258642.85714286, }, -- end of ["point"] - ["unitId"] = 40, + ["groupId"] = 18, ["groupName"] = "RuTent1", + ["unitId"] = 40, ["countryId"] = 2, - ["coalition"] = "red", + ["x"] = -258642.85714286, + ["heading"] = 0, ["category"] = "static", ["unitName"] = "RuTent1", ["country"] = "russia", - ["type"] = "FARP Tent", - ["groupId"] = 18, + ["y"] = 617962.85714285, + ["coalition"] = "red", }, -- end of [1] }, -- end of ["units"] }, -- end of ["RuTent1"] @@ -788,27 +933,29 @@ MEgroupsByName = ["y"] = 617591.42857143, ["x"] = -258442.85714286, }, -- end of ["point"] - ["unitId"] = 39, + ["groupId"] = 17, ["groupName"] = "RU Farp", + ["unitId"] = 39, ["coalition"] = "red", - ["country"] = "russia", + ["x"] = -258442.85714286, + ["type"] = "FARP", ["category"] = "static", ["unitName"] = "RU Farp", + ["country"] = "russia", ["countryId"] = 2, - ["type"] = "FARP", - ["groupId"] = 17, + ["y"] = 617591.42857143, }, -- end of [1] }, -- end of ["units"] }, -- end of ["RU Farp"] ["RuTanks"] = { - ["country"] = "russia", + ["groupId"] = 14, ["groupName"] = "RuTanks", ["units"] = { [1] = { - ["heading"] = 0, + ["type"] = "T-55", ["point"] = { ["y"] = 628677.14285714, @@ -817,18 +964,20 @@ MEgroupsByName = ["groupId"] = 14, ["skill"] = "Excellent", ["country"] = "russia", + ["groupName"] = "RuTanks", + ["y"] = 628677.14285714, ["coalition"] = "red", + ["x"] = -273442.85714286, ["unitId"] = 33, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuTanks1", ["playerCanDrive"] = true, - ["type"] = "T-55", - ["groupName"] = "RuTanks", + ["heading"] = 0, + ["countryId"] = 2, }, -- end of [1] [2] = { - ["heading"] = 0, + ["type"] = "T-55", ["point"] = { ["y"] = 628717.14285714, @@ -837,18 +986,20 @@ MEgroupsByName = ["groupId"] = 14, ["skill"] = "Excellent", ["country"] = "russia", + ["groupName"] = "RuTanks", + ["y"] = 628717.14285714, ["coalition"] = "red", + ["x"] = -273482.85714286, ["unitId"] = 34, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuTanks2", ["playerCanDrive"] = true, - ["type"] = "T-55", - ["groupName"] = "RuTanks", + ["heading"] = 0, + ["countryId"] = 2, }, -- end of [2] [3] = { - ["heading"] = 0, + ["type"] = "T-55", ["point"] = { ["y"] = 628757.14285714, @@ -857,18 +1008,20 @@ MEgroupsByName = ["groupId"] = 14, ["skill"] = "Excellent", ["country"] = "russia", + ["groupName"] = "RuTanks", + ["y"] = 628757.14285714, ["coalition"] = "red", + ["x"] = -273522.85714286, ["unitId"] = 35, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuTanks3", ["playerCanDrive"] = true, - ["type"] = "T-55", - ["groupName"] = "RuTanks", + ["heading"] = 0, + ["countryId"] = 2, }, -- end of [3] [4] = { - ["heading"] = 0, + ["type"] = "T-55", ["point"] = { ["y"] = 628797.14285714, @@ -877,22 +1030,24 @@ MEgroupsByName = ["groupId"] = 14, ["skill"] = "Excellent", ["country"] = "russia", + ["groupName"] = "RuTanks", + ["y"] = 628797.14285714, ["coalition"] = "red", + ["x"] = -273562.85714286, ["unitId"] = 36, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuTanks4", ["playerCanDrive"] = true, - ["type"] = "T-55", - ["groupName"] = "RuTanks", + ["heading"] = 0, + ["countryId"] = 2, }, -- end of [4] }, -- end of ["units"] - ["coalition"] = "red", - ["category"] = "vehicle", ["countryId"] = 2, + ["category"] = "vehicle", + ["country"] = "russia", ["startTime"] = 0, ["task"] = "Ground Nothing", - ["groupId"] = 14, + ["coalition"] = "red", }, -- end of ["RuTanks"] ["tent2"] = { @@ -907,130 +1062,155 @@ MEgroupsByName = [1] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 638620, ["x"] = -299814.28571429, }, -- end of ["point"] - ["unitId"] = 38, + ["groupId"] = 16, ["groupName"] = "tent2", + ["unitId"] = 38, ["countryId"] = 11, - ["coalition"] = "blue", + ["x"] = -299814.28571429, + ["heading"] = 0, ["category"] = "static", ["unitName"] = "tent2", ["country"] = "usa", - ["type"] = "FARP Tent", - ["groupId"] = 16, + ["y"] = 638620, + ["coalition"] = "blue", }, -- end of [1] }, -- end of ["units"] }, -- end of ["tent2"] ["Mi-8s_1"] = { - ["country"] = "russia", + ["modulation"] = 1, + ["groupId"] = 3, + ["frequency"] = 127.5, ["groupName"] = "Mi-8s_1", ["units"] = { [1] = { ["alt"] = 500, - ["heading"] = 2.6119254271103, ["point"] = { ["y"] = 603285.71428571, ["x"] = -243285.71428571, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "Mi-8s_1", ["livery_id"] = "Russia", - ["skill"] = "Random", - ["unitId"] = 5, - ["countryId"] = 2, - ["type"] = "Mi-8MT", - ["unitName"] = "Mi-8s_1_1", + ["onboard_num"] = "52", ["category"] = "helicopter", - ["speed"] = 55.555555555556, + ["unitName"] = "Mi-8s_1_1", + ["type"] = "Mi-8MT", ["country"] = "russia", - ["coalition"] = "red", + ["psi"] = -2.6119254271103, ["groupId"] = 3, + ["groupName"] = "Mi-8s_1", + ["callsign"] = 103, + ["countryId"] = 2, + ["x"] = -243285.71428571, + ["skill"] = "Random", + ["heading"] = 2.6119254271103, + ["unitId"] = 5, + ["y"] = 603285.71428571, + ["coalition"] = "red", + ["speed"] = 55.555555555556, }, -- end of [1] [2] = { ["alt"] = 500, - ["heading"] = 2.6119254271103, ["point"] = { ["y"] = 603325.71428571, ["x"] = -243325.71428571, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "Mi-8s_1", ["livery_id"] = "Russia", - ["skill"] = "Random", - ["unitId"] = 6, - ["countryId"] = 2, - ["type"] = "Mi-8MT", - ["unitName"] = "Mi-8s_1_1 #1", + ["onboard_num"] = "53", ["category"] = "helicopter", - ["speed"] = 55.555555555556, + ["unitName"] = "Mi-8s_1_1 #1", + ["type"] = "Mi-8MT", ["country"] = "russia", - ["coalition"] = "red", + ["psi"] = -2.6119254271103, ["groupId"] = 3, + ["groupName"] = "Mi-8s_1", + ["callsign"] = 102, + ["countryId"] = 2, + ["x"] = -243325.71428571, + ["skill"] = "Random", + ["heading"] = 2.6119254271103, + ["unitId"] = 6, + ["y"] = 603325.71428571, + ["coalition"] = "red", + ["speed"] = 55.555555555556, }, -- end of [2] }, -- end of ["units"] - ["coalition"] = "red", - ["category"] = "helicopter", ["countryId"] = 2, + ["radioSet"] = false, + ["country"] = "russia", + ["category"] = "helicopter", + ["coalition"] = "red", ["startTime"] = 0, ["task"] = "Transport", - ["groupId"] = 3, + ["uncontrolled"] = false, }, -- end of ["Mi-8s_1"] ["Su-33 Client #2"] = { - ["country"] = "russia", + ["modulation"] = 0, + ["groupId"] = 21, + ["frequency"] = 124, ["groupName"] = "Su-33 Client #2", ["units"] = { [1] = { ["alt"] = 2000, - ["heading"] = 0, ["point"] = { ["y"] = 597819.99999999, ["x"] = -235614.28571428, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "Su-33 Client #2", ["livery_id"] = "279th kiap 1st squad navy", - ["skill"] = "Client", - ["unitId"] = 43, - ["countryId"] = 2, - ["type"] = "Su-33", - ["unitName"] = "Su-33 Client #2", + ["onboard_num"] = "53", ["category"] = "plane", - ["speed"] = 138.88888888889, + ["unitName"] = "Su-33 Client #2", + ["type"] = "Su-33", ["country"] = "russia", - ["coalition"] = "red", + ["psi"] = 0, ["groupId"] = 21, + ["groupName"] = "Su-33 Client #2", + ["callsign"] = 104, + ["countryId"] = 2, + ["x"] = -235614.28571428, + ["skill"] = "Client", + ["heading"] = 0, + ["unitId"] = 43, + ["y"] = 597819.99999999, + ["coalition"] = "red", + ["speed"] = 138.88888888889, }, -- end of [1] }, -- end of ["units"] - ["coalition"] = "red", - ["category"] = "plane", ["countryId"] = 2, + ["radioSet"] = false, + ["country"] = "russia", + ["category"] = "plane", + ["coalition"] = "red", ["startTime"] = 0, ["task"] = "CAP", - ["groupId"] = 21, + ["uncontrolled"] = false, }, -- end of ["Su-33 Client #2"] ["RuBTRs"] = { - ["country"] = "russia", + ["groupId"] = 13, ["groupName"] = "RuBTRs", ["units"] = { [1] = { - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", ["point"] = { ["y"] = 654545.71428571, @@ -1039,18 +1219,20 @@ MEgroupsByName = ["groupId"] = 13, ["skill"] = "Average", ["country"] = "russia", + ["groupName"] = "RuBTRs", + ["y"] = 654545.71428571, ["coalition"] = "red", + ["x"] = -292842.85714286, ["unitId"] = 27, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuBTRs1", ["playerCanDrive"] = true, - ["type"] = "BTR-80", - ["groupName"] = "RuBTRs", + ["heading"] = -1.7994767003775, + ["countryId"] = 2, }, -- end of [1] [2] = { - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", ["point"] = { ["y"] = 654585.71428571, @@ -1059,18 +1241,20 @@ MEgroupsByName = ["groupId"] = 13, ["skill"] = "Average", ["country"] = "russia", + ["groupName"] = "RuBTRs", + ["y"] = 654585.71428571, ["coalition"] = "red", + ["x"] = -292882.85714286, ["unitId"] = 28, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuBTRs2", ["playerCanDrive"] = true, - ["type"] = "BTR-80", - ["groupName"] = "RuBTRs", + ["heading"] = -1.7994767003775, + ["countryId"] = 2, }, -- end of [2] [3] = { - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", ["point"] = { ["y"] = 654625.71428571, @@ -1079,18 +1263,20 @@ MEgroupsByName = ["groupId"] = 13, ["skill"] = "Average", ["country"] = "russia", + ["groupName"] = "RuBTRs", + ["y"] = 654625.71428571, ["coalition"] = "red", + ["x"] = -292922.85714286, ["unitId"] = 29, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuBTRs3", ["playerCanDrive"] = true, - ["type"] = "BTR-80", - ["groupName"] = "RuBTRs", + ["heading"] = -1.7994767003775, + ["countryId"] = 2, }, -- end of [3] [4] = { - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", ["point"] = { ["y"] = 654665.71428571, @@ -1099,18 +1285,20 @@ MEgroupsByName = ["groupId"] = 13, ["skill"] = "Average", ["country"] = "russia", + ["groupName"] = "RuBTRs", + ["y"] = 654665.71428571, ["coalition"] = "red", + ["x"] = -292962.85714286, ["unitId"] = 30, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuBTRs4", ["playerCanDrive"] = true, - ["type"] = "BTR-80", - ["groupName"] = "RuBTRs", + ["heading"] = -1.7994767003775, + ["countryId"] = 2, }, -- end of [4] [5] = { - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", ["point"] = { ["y"] = 654705.71428571, @@ -1119,18 +1307,20 @@ MEgroupsByName = ["groupId"] = 13, ["skill"] = "Average", ["country"] = "russia", + ["groupName"] = "RuBTRs", + ["y"] = 654705.71428571, ["coalition"] = "red", + ["x"] = -293002.85714286, ["unitId"] = 31, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuBTRs5", ["playerCanDrive"] = true, - ["type"] = "BTR-80", - ["groupName"] = "RuBTRs", + ["heading"] = -1.7994767003775, + ["countryId"] = 2, }, -- end of [5] [6] = { - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", ["point"] = { ["y"] = 654745.71428571, @@ -1139,21 +1329,23 @@ MEgroupsByName = ["groupId"] = 13, ["skill"] = "Average", ["country"] = "russia", + ["groupName"] = "RuBTRs", + ["y"] = 654745.71428571, ["coalition"] = "red", + ["x"] = -293042.85714286, ["unitId"] = 32, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuBTRs6", ["playerCanDrive"] = true, - ["type"] = "BTR-80", - ["groupName"] = "RuBTRs", + ["heading"] = -1.7994767003775, + ["countryId"] = 2, }, -- end of [6] }, -- end of ["units"] - ["coalition"] = "red", - ["category"] = "vehicle", ["countryId"] = 2, + ["category"] = "vehicle", + ["country"] = "russia", ["startTime"] = 0, ["task"] = "Ground Nothing", - ["groupId"] = 13, + ["coalition"] = "red", }, -- end of ["RuBTRs"] } -- end of MEgroupsByName diff --git a/Example DBs/mist_DBs_MEunits.lua b/Example DBs/mist_DBs_MEunits.lua index e147cc4..b3e4030 100644 --- a/Example DBs/mist_DBs_MEunits.lua +++ b/Example DBs/mist_DBs_MEunits.lua @@ -54,10 +54,10 @@ MEunits = [1] = { ["coalition"] = "blue", - ["category"] = "ship", ["countryId"] = 11, - ["groupId"] = 8, + ["category"] = "ship", ["country"] = "usa", + ["groupId"] = 8, ["startTime"] = 0, ["groupName"] = "US Ships", ["units"] = @@ -71,15 +71,17 @@ MEunits = ["x"] = -355285.71428571, }, -- end of ["point"] ["groupId"] = 8, + ["y"] = 443857.14285714, ["skill"] = "Average", ["coalition"] = "blue", ["countryId"] = 11, - ["groupName"] = "US Ships", + ["x"] = -355285.71428571, + ["unitId"] = 13, ["category"] = "ship", ["unitName"] = "US Ship #1", - ["country"] = "usa", ["heading"] = 0, - ["unitId"] = 13, + ["country"] = "usa", + ["groupName"] = "US Ships", }, -- end of [1] [2] = { @@ -90,15 +92,17 @@ MEunits = ["x"] = -356085.71428571, }, -- end of ["point"] ["groupId"] = 8, + ["y"] = 444657.14285714, ["skill"] = "Average", ["coalition"] = "blue", ["countryId"] = 11, - ["groupName"] = "US Ships", + ["x"] = -356085.71428571, + ["unitId"] = 14, ["category"] = "ship", ["unitName"] = "US Ship #2", - ["country"] = "usa", ["heading"] = 0, - ["unitId"] = 14, + ["country"] = "usa", + ["groupName"] = "US Ships", }, -- end of [2] }, -- end of ["units"] }, -- end of [1] @@ -107,63 +111,89 @@ MEunits = { [1] = { - ["groupId"] = 1, + ["modulation"] = 0, + ["country"] = "usa", + ["uncontrolled"] = false, ["groupName"] = "AH-1s_1", ["units"] = { [1] = { ["alt"] = 500, - ["heading"] = 0.017389551289373, ["point"] = { ["y"] = 631857.14285714, ["x"] = -297857.14285714, }, -- end of ["point"] - ["groupId"] = 1, ["alt_type"] = "BARO", ["livery_id"] = "standard", - ["skill"] = "High", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 55.555555555556, - ["country"] = "usa", + ["onboard_num"] = "50", ["category"] = "helicopter", - ["unitName"] = "AH-1s_1_1", + ["speed"] = 55.555555555556, ["type"] = "AH-1W", - ["unitId"] = 1, + ["country"] = "usa", + ["psi"] = -0.017389551289373, + ["unitName"] = "AH-1s_1_1", ["groupName"] = "AH-1s_1", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -297857.14285714, + ["y"] = 631857.14285714, + ["unitId"] = 1, + ["heading"] = 0.017389551289373, + ["skill"] = "High", + ["callsign"] = + { + [1] = 1, + [2] = 1, + [3] = 1, + ["name"] = "Enfield11", + }, -- end of ["callsign"] + ["groupId"] = 1, }, -- end of [1] [2] = { ["alt"] = 500, - ["heading"] = 0.017389551289373, ["point"] = { ["y"] = 631897.14285714, ["x"] = -297897.14285714, }, -- end of ["point"] - ["groupId"] = 1, ["alt_type"] = "BARO", ["livery_id"] = "standard", - ["skill"] = "High", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 55.555555555556, - ["country"] = "usa", + ["onboard_num"] = "51", ["category"] = "helicopter", - ["unitName"] = "AH-1s_1_2", + ["speed"] = 55.555555555556, ["type"] = "AH-1W", - ["unitId"] = 2, + ["country"] = "usa", + ["psi"] = -0.017389551289373, + ["unitName"] = "AH-1s_1_2", ["groupName"] = "AH-1s_1", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -297897.14285714, + ["y"] = 631897.14285714, + ["unitId"] = 2, + ["heading"] = 0.017389551289373, + ["skill"] = "High", + ["callsign"] = + { + [1] = 1, + [2] = 1, + [3] = 2, + ["name"] = "Enfield12", + }, -- end of ["callsign"] + ["groupId"] = 1, }, -- end of [2] }, -- end of ["units"] - ["coalition"] = "blue", + ["countryId"] = 11, + ["radioSet"] = false, + ["groupId"] = 1, ["category"] = "helicopter", - ["country"] = "usa", + ["coalition"] = "blue", ["startTime"] = 0, ["task"] = "CAS", - ["countryId"] = 11, + ["frequency"] = 127.5, }, -- end of [1] }, -- end of ["helicopter"] ["vehicle"] = @@ -176,91 +206,99 @@ MEunits = { [1] = { - ["type"] = "M-1 Abrams", + ["heading"] = 0, ["point"] = { ["y"] = 639800, ["x"] = -294685.71428571, }, -- end of ["point"] ["groupId"] = 11, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 639800, ["coalition"] = "blue", ["groupName"] = "USTanks1", - ["heading"] = 0, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -294685.71428571, + ["unitId"] = 19, ["category"] = "vehicle", ["unitName"] = "USTanks1_1", ["playerCanDrive"] = true, - ["unitId"] = 19, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [1] [2] = { - ["type"] = "M-1 Abrams", + ["heading"] = 0, ["point"] = { ["y"] = 639840, ["x"] = -294725.71428571, }, -- end of ["point"] ["groupId"] = 11, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 639840, ["coalition"] = "blue", ["groupName"] = "USTanks1", - ["heading"] = 0, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -294725.71428571, + ["unitId"] = 20, ["category"] = "vehicle", ["unitName"] = "USTanks1_2", ["playerCanDrive"] = true, - ["unitId"] = 20, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [2] [3] = { - ["type"] = "M-1 Abrams", + ["heading"] = 0, ["point"] = { ["y"] = 639880, ["x"] = -294765.71428571, }, -- end of ["point"] ["groupId"] = 11, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 639880, ["coalition"] = "blue", ["groupName"] = "USTanks1", - ["heading"] = 0, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -294765.71428571, + ["unitId"] = 21, ["category"] = "vehicle", ["unitName"] = "USTanks1_3", ["playerCanDrive"] = true, - ["unitId"] = 21, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [3] [4] = { - ["type"] = "M-1 Abrams", + ["heading"] = 0, ["point"] = { ["y"] = 639920, ["x"] = -294805.71428571, }, -- end of ["point"] ["groupId"] = 11, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 639920, ["coalition"] = "blue", ["groupName"] = "USTanks1", - ["heading"] = 0, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -294805.71428571, + ["unitId"] = 22, ["category"] = "vehicle", ["unitName"] = "USTanks1_4", ["playerCanDrive"] = true, - ["unitId"] = 22, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [4] }, -- end of ["units"] ["coalition"] = "blue", ["category"] = "vehicle", - ["country"] = "usa", + ["countryId"] = 11, ["startTime"] = 0, ["task"] = "Ground Nothing", - ["countryId"] = 11, + ["country"] = "usa", }, -- end of [1] [2] = { @@ -270,242 +308,310 @@ MEunits = { [1] = { - ["type"] = "M-1 Abrams", + ["heading"] = 1.4977557614926, ["point"] = { ["y"] = 653171.42857143, ["x"] = -293085.71428571, }, -- end of ["point"] ["groupId"] = 12, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 653171.42857143, ["coalition"] = "blue", ["groupName"] = "USTanks2", - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -293085.71428571, + ["unitId"] = 23, ["category"] = "vehicle", ["unitName"] = "USTanks2_1", ["playerCanDrive"] = true, - ["unitId"] = 23, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [1] [2] = { - ["type"] = "M-1 Abrams", + ["heading"] = 1.4977557614926, ["point"] = { ["y"] = 653211.42857143, ["x"] = -293125.71428571, }, -- end of ["point"] ["groupId"] = 12, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 653211.42857143, ["coalition"] = "blue", ["groupName"] = "USTanks2", - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -293125.71428571, + ["unitId"] = 24, ["category"] = "vehicle", ["unitName"] = "USTanks2_2", ["playerCanDrive"] = true, - ["unitId"] = 24, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [2] [3] = { - ["type"] = "M-1 Abrams", + ["heading"] = 1.4977557614926, ["point"] = { ["y"] = 653251.42857143, ["x"] = -293165.71428571, }, -- end of ["point"] ["groupId"] = 12, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 653251.42857143, ["coalition"] = "blue", ["groupName"] = "USTanks2", - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -293165.71428571, + ["unitId"] = 25, ["category"] = "vehicle", ["unitName"] = "USTanks2_3", ["playerCanDrive"] = true, - ["unitId"] = 25, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [3] [4] = { - ["type"] = "M-1 Abrams", + ["heading"] = 1.4977557614926, ["point"] = { ["y"] = 653291.42857143, ["x"] = -293205.71428571, }, -- end of ["point"] ["groupId"] = 12, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 653291.42857143, ["coalition"] = "blue", ["groupName"] = "USTanks2", - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -293205.71428571, + ["unitId"] = 26, ["category"] = "vehicle", ["unitName"] = "USTanks2_4", ["playerCanDrive"] = true, - ["unitId"] = 26, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [4] }, -- end of ["units"] ["coalition"] = "blue", ["category"] = "vehicle", - ["country"] = "usa", + ["countryId"] = 11, ["startTime"] = 0, ["task"] = "Ground Nothing", - ["countryId"] = 11, + ["country"] = "usa", }, -- end of [2] }, -- end of ["vehicle"] ["plane"] = { [1] = { - ["groupId"] = 4, + ["modulation"] = 0, + ["country"] = "usa", + ["uncontrolled"] = false, ["groupName"] = "F-15C Client #1", ["units"] = { [1] = { ["alt"] = 2000, - ["heading"] = -0.57883789069348, ["point"] = { ["y"] = 662142.85714286, ["x"] = -288142.85714286, }, -- end of ["point"] - ["groupId"] = 4, ["alt_type"] = "BARO", ["livery_id"] = "19th Fighter SQN (AK)", - ["skill"] = "Client", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 138.88888888889, - ["country"] = "usa", + ["onboard_num"] = "10", ["category"] = "plane", - ["unitName"] = "F-15C Client #1", + ["speed"] = 138.88888888889, ["type"] = "F-15C", - ["unitId"] = 8, + ["country"] = "usa", + ["psi"] = 0.57883789069348, + ["unitName"] = "F-15C Client #1", ["groupName"] = "F-15C Client #1", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -288142.85714286, + ["y"] = 662142.85714286, + ["unitId"] = 8, + ["heading"] = -0.57883789069348, + ["skill"] = "Client", + ["callsign"] = + { + [1] = 2, + [2] = 1, + [3] = 1, + ["name"] = "Springfield11", + }, -- end of ["callsign"] + ["groupId"] = 4, }, -- end of [1] }, -- end of ["units"] - ["coalition"] = "blue", + ["countryId"] = 11, + ["radioSet"] = false, + ["groupId"] = 4, ["category"] = "plane", - ["country"] = "usa", + ["coalition"] = "blue", ["startTime"] = 0, ["task"] = "CAP", - ["countryId"] = 11, + ["frequency"] = 124, }, -- end of [1] [2] = { - ["groupId"] = 5, + ["modulation"] = 0, + ["country"] = "usa", + ["uncontrolled"] = false, ["groupName"] = "F-15C Client #2", ["units"] = { [1] = { ["alt"] = 2000, - ["heading"] = -0.57883789069348, ["point"] = { ["y"] = 668428.57142857, ["x"] = -287000, }, -- end of ["point"] - ["groupId"] = 5, ["alt_type"] = "BARO", ["livery_id"] = "19th Fighter SQN (AK)", - ["skill"] = "Client", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 138.88888888889, - ["country"] = "usa", + ["onboard_num"] = "10", ["category"] = "plane", - ["unitName"] = "F-15C Client #2", + ["speed"] = 138.88888888889, ["type"] = "F-15C", - ["unitId"] = 10, + ["country"] = "usa", + ["psi"] = 0.57883789069348, + ["unitName"] = "F-15C Client #2", ["groupName"] = "F-15C Client #2", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -287000, + ["y"] = 668428.57142857, + ["unitId"] = 10, + ["heading"] = -0.57883789069348, + ["skill"] = "Client", + ["callsign"] = + { + [1] = 2, + [2] = 1, + [3] = 1, + ["name"] = "Springfield11", + }, -- end of ["callsign"] + ["groupId"] = 5, }, -- end of [1] }, -- end of ["units"] - ["coalition"] = "blue", + ["countryId"] = 11, + ["radioSet"] = false, + ["groupId"] = 5, ["category"] = "plane", - ["country"] = "usa", + ["coalition"] = "blue", ["startTime"] = 0, ["task"] = "CAP", - ["countryId"] = 11, + ["frequency"] = 124, }, -- end of [2] [3] = { - ["groupId"] = 6, + ["modulation"] = 0, + ["country"] = "usa", + ["uncontrolled"] = false, ["groupName"] = "A-10C Client #1", ["units"] = { [1] = { ["alt"] = 2000, - ["heading"] = -0.67060113146646, ["point"] = { ["y"] = 636428.57142857, ["x"] = -318142.85714286, }, -- end of ["point"] - ["groupId"] = 6, ["alt_type"] = "BARO", ["livery_id"] = "104th FS Maryland ANG, Baltimore (MD)", - ["skill"] = "Client", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 138.88888888889, - ["country"] = "usa", + ["onboard_num"] = "52", ["category"] = "plane", - ["unitName"] = "A-10C Client #1", + ["speed"] = 138.88888888889, ["type"] = "A-10C", - ["unitId"] = 11, + ["country"] = "usa", + ["psi"] = 0.67060113146646, + ["unitName"] = "A-10C Client #1", ["groupName"] = "A-10C Client #1", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -318142.85714286, + ["y"] = 636428.57142857, + ["unitId"] = 11, + ["heading"] = -0.67060113146646, + ["skill"] = "Client", + ["callsign"] = + { + [1] = 3, + [2] = 1, + [3] = 1, + ["name"] = "Uzi11", + }, -- end of ["callsign"] + ["groupId"] = 6, }, -- end of [1] }, -- end of ["units"] - ["coalition"] = "blue", + ["countryId"] = 11, + ["radioSet"] = false, + ["groupId"] = 6, ["category"] = "plane", - ["country"] = "usa", + ["coalition"] = "blue", ["startTime"] = 0, ["task"] = "CAS", - ["countryId"] = 11, + ["frequency"] = 251, }, -- end of [3] [4] = { - ["groupId"] = 7, + ["modulation"] = 0, + ["country"] = "usa", + ["uncontrolled"] = false, ["groupName"] = "A-10C Client #2", ["units"] = { [1] = { ["alt"] = 2000, - ["heading"] = -0.66079849060746, ["point"] = { ["y"] = 644428.57142857, ["x"] = -315857.14285714, }, -- end of ["point"] - ["groupId"] = 7, ["alt_type"] = "BARO", ["livery_id"] = "104th FS Maryland ANG, Baltimore (MD)", - ["skill"] = "Client", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 138.88888888889, - ["country"] = "usa", + ["onboard_num"] = "52", ["category"] = "plane", - ["unitName"] = "A-10C Client #2", + ["speed"] = 138.88888888889, ["type"] = "A-10C", - ["unitId"] = 12, + ["country"] = "usa", + ["psi"] = 0.66079849060746, + ["unitName"] = "A-10C Client #2", ["groupName"] = "A-10C Client #2", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -315857.14285714, + ["y"] = 644428.57142857, + ["unitId"] = 12, + ["heading"] = -0.66079849060746, + ["skill"] = "Client", + ["callsign"] = + { + [1] = 3, + [2] = 1, + [3] = 1, + ["name"] = "Uzi11", + }, -- end of ["callsign"] + ["groupId"] = 7, }, -- end of [1] }, -- end of ["units"] - ["coalition"] = "blue", + ["countryId"] = 11, + ["radioSet"] = false, + ["groupId"] = 7, ["category"] = "plane", - ["country"] = "usa", + ["coalition"] = "blue", ["startTime"] = 0, ["task"] = "CAS", - ["countryId"] = 11, + ["frequency"] = 251, }, -- end of [4] }, -- end of ["plane"] ["static"] = @@ -523,7 +629,7 @@ MEunits = [1] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 636248.57142857, @@ -532,12 +638,14 @@ MEunits = ["groupId"] = 15, ["groupName"] = "tent1", ["countryId"] = 11, - ["unitId"] = 37, + ["coalition"] = "blue", + ["x"] = -300871.42857143, + ["y"] = 636248.57142857, ["category"] = "static", ["unitName"] = "tent1", - ["type"] = "FARP Tent", ["country"] = "usa", - ["coalition"] = "blue", + ["heading"] = 0, + ["unitId"] = 37, }, -- end of [1] }, -- end of ["units"] }, -- end of [1] @@ -554,7 +662,7 @@ MEunits = [1] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 638620, @@ -563,12 +671,14 @@ MEunits = ["groupId"] = 16, ["groupName"] = "tent2", ["countryId"] = 11, - ["unitId"] = 38, + ["coalition"] = "blue", + ["x"] = -299814.28571429, + ["y"] = 638620, ["category"] = "static", ["unitName"] = "tent2", - ["type"] = "FARP Tent", ["country"] = "usa", - ["coalition"] = "blue", + ["heading"] = 0, + ["unitId"] = 38, }, -- end of [1] }, -- end of ["units"] }, -- end of [2] @@ -585,7 +695,7 @@ MEunits = [1] = { ["shape_name"] = "konteiner_red1", - ["heading"] = 0, + ["type"] = "Container red 1", ["point"] = { ["y"] = 684605.71428571, @@ -594,12 +704,14 @@ MEunits = ["groupId"] = 30, ["groupName"] = "static", ["countryId"] = 11, - ["unitId"] = 44, + ["coalition"] = "blue", + ["x"] = -279949.99999999, + ["y"] = 684605.71428571, ["category"] = "static", ["unitName"] = "static", - ["type"] = "Container red 1", ["country"] = "usa", - ["coalition"] = "blue", + ["heading"] = 0, + ["unitId"] = 44, }, -- end of [1] }, -- end of ["units"] }, -- end of [3] @@ -628,10 +740,10 @@ MEunits = [1] = { ["coalition"] = "red", - ["category"] = "ship", ["countryId"] = 2, - ["groupId"] = 9, + ["category"] = "ship", ["country"] = "russia", + ["groupId"] = 9, ["startTime"] = 0, ["groupName"] = "Rus Ships #1", ["units"] = @@ -645,15 +757,17 @@ MEunits = ["x"] = -34285.714285714, }, -- end of ["point"] ["groupId"] = 9, + ["y"] = 200000, ["skill"] = "Average", ["coalition"] = "red", ["countryId"] = 2, - ["groupName"] = "Rus Ships #1", + ["x"] = -34285.714285714, + ["unitId"] = 15, ["category"] = "ship", ["unitName"] = "1ship1", - ["country"] = "russia", ["heading"] = 0, - ["unitId"] = 15, + ["country"] = "russia", + ["groupName"] = "Rus Ships #1", }, -- end of [1] [2] = { @@ -664,25 +778,27 @@ MEunits = ["x"] = -35085.714285714, }, -- end of ["point"] ["groupId"] = 9, + ["y"] = 200800, ["skill"] = "Average", ["coalition"] = "red", ["countryId"] = 2, - ["groupName"] = "Rus Ships #1", + ["x"] = -35085.714285714, + ["unitId"] = 16, ["category"] = "ship", ["unitName"] = "1ship2", - ["country"] = "russia", ["heading"] = 0, - ["unitId"] = 16, + ["country"] = "russia", + ["groupName"] = "Rus Ships #1", }, -- end of [2] }, -- end of ["units"] }, -- end of [1] [2] = { ["coalition"] = "red", - ["category"] = "ship", ["countryId"] = 2, - ["groupId"] = 10, + ["category"] = "ship", ["country"] = "russia", + ["groupId"] = 10, ["startTime"] = 0, ["groupName"] = "Rus Ships #2", ["units"] = @@ -696,15 +812,17 @@ MEunits = ["x"] = -86428.571428571, }, -- end of ["point"] ["groupId"] = 10, + ["y"] = 73571.428571428, ["skill"] = "Average", ["coalition"] = "red", ["countryId"] = 2, - ["groupName"] = "Rus Ships #2", + ["x"] = -86428.571428571, + ["unitId"] = 17, ["category"] = "ship", ["unitName"] = "2ship1", - ["country"] = "russia", ["heading"] = 1.1755995276042, - ["unitId"] = 17, + ["country"] = "russia", + ["groupName"] = "Rus Ships #2", }, -- end of [1] [2] = { @@ -715,15 +833,17 @@ MEunits = ["x"] = -87228.571428571, }, -- end of ["point"] ["groupId"] = 10, + ["y"] = 74371.428571428, ["skill"] = "Average", ["coalition"] = "red", ["countryId"] = 2, - ["groupName"] = "Rus Ships #2", + ["x"] = -87228.571428571, + ["unitId"] = 18, ["category"] = "ship", ["unitName"] = "2ship2", - ["country"] = "russia", ["heading"] = 1.1755995276042, - ["unitId"] = 18, + ["country"] = "russia", + ["groupName"] = "Rus Ships #2", }, -- end of [2] }, -- end of ["units"] }, -- end of [2] @@ -732,123 +852,151 @@ MEunits = { [1] = { - ["groupId"] = 2, + ["modulation"] = 0, + ["country"] = "russia", + ["uncontrolled"] = false, ["groupName"] = "Ka-50s_1", ["units"] = { [1] = { ["alt"] = 500, - ["heading"] = 2.5953630185698, ["point"] = { ["y"] = 615000, ["x"] = -237571.42857143, }, -- end of ["point"] - ["groupId"] = 2, ["alt_type"] = "BARO", ["livery_id"] = "Russia Demo #024", - ["skill"] = "High", - ["countryId"] = 2, - ["coalition"] = "red", - ["speed"] = 55.555555555556, - ["country"] = "russia", + ["onboard_num"] = "50", ["category"] = "helicopter", - ["unitName"] = "Ka-50s_1_1", + ["speed"] = 55.555555555556, ["type"] = "Ka-50", - ["unitId"] = 3, + ["country"] = "russia", + ["psi"] = -2.5953630185698, + ["unitName"] = "Ka-50s_1_1", ["groupName"] = "Ka-50s_1", + ["coalition"] = "red", + ["countryId"] = 2, + ["x"] = -237571.42857143, + ["y"] = 615000, + ["unitId"] = 3, + ["heading"] = 2.5953630185698, + ["skill"] = "High", + ["callsign"] = 100, + ["groupId"] = 2, }, -- end of [1] [2] = { ["alt"] = 500, - ["heading"] = 2.5953630185698, ["point"] = { ["y"] = 615040, ["x"] = -237611.42857143, }, -- end of ["point"] - ["groupId"] = 2, ["alt_type"] = "BARO", ["livery_id"] = "Russia Demo #024", - ["skill"] = "High", - ["countryId"] = 2, - ["coalition"] = "red", - ["speed"] = 55.555555555556, - ["country"] = "russia", + ["onboard_num"] = "51", ["category"] = "helicopter", - ["unitName"] = "Ka-50s_1_2", + ["speed"] = 55.555555555556, ["type"] = "Ka-50", - ["unitId"] = 4, + ["country"] = "russia", + ["psi"] = -2.5953630185698, + ["unitName"] = "Ka-50s_1_2", ["groupName"] = "Ka-50s_1", + ["coalition"] = "red", + ["countryId"] = 2, + ["x"] = -237611.42857143, + ["y"] = 615040, + ["unitId"] = 4, + ["heading"] = 2.5953630185698, + ["skill"] = "High", + ["callsign"] = 101, + ["groupId"] = 2, }, -- end of [2] }, -- end of ["units"] - ["coalition"] = "red", + ["countryId"] = 2, + ["radioSet"] = false, + ["groupId"] = 2, ["category"] = "helicopter", - ["country"] = "russia", + ["coalition"] = "red", ["startTime"] = 0, ["task"] = "CAS", - ["countryId"] = 2, + ["frequency"] = 124, }, -- end of [1] [2] = { - ["groupId"] = 3, + ["modulation"] = 1, + ["country"] = "russia", + ["uncontrolled"] = false, ["groupName"] = "Mi-8s_1", ["units"] = { [1] = { ["alt"] = 500, - ["heading"] = 2.6119254271103, ["point"] = { ["y"] = 603285.71428571, ["x"] = -243285.71428571, }, -- end of ["point"] - ["groupId"] = 3, ["alt_type"] = "BARO", ["livery_id"] = "Russia", - ["skill"] = "Random", - ["countryId"] = 2, - ["coalition"] = "red", - ["speed"] = 55.555555555556, - ["country"] = "russia", + ["onboard_num"] = "52", ["category"] = "helicopter", - ["unitName"] = "Mi-8s_1_1", + ["speed"] = 55.555555555556, ["type"] = "Mi-8MT", - ["unitId"] = 5, + ["country"] = "russia", + ["psi"] = -2.6119254271103, + ["unitName"] = "Mi-8s_1_1", ["groupName"] = "Mi-8s_1", + ["coalition"] = "red", + ["countryId"] = 2, + ["x"] = -243285.71428571, + ["y"] = 603285.71428571, + ["unitId"] = 5, + ["heading"] = 2.6119254271103, + ["skill"] = "Random", + ["callsign"] = 103, + ["groupId"] = 3, }, -- end of [1] [2] = { ["alt"] = 500, - ["heading"] = 2.6119254271103, ["point"] = { ["y"] = 603325.71428571, ["x"] = -243325.71428571, }, -- end of ["point"] - ["groupId"] = 3, ["alt_type"] = "BARO", ["livery_id"] = "Russia", - ["skill"] = "Random", - ["countryId"] = 2, - ["coalition"] = "red", - ["speed"] = 55.555555555556, - ["country"] = "russia", + ["onboard_num"] = "53", ["category"] = "helicopter", - ["unitName"] = "Mi-8s_1_1 #1", + ["speed"] = 55.555555555556, ["type"] = "Mi-8MT", - ["unitId"] = 6, + ["country"] = "russia", + ["psi"] = -2.6119254271103, + ["unitName"] = "Mi-8s_1_1 #1", ["groupName"] = "Mi-8s_1", + ["coalition"] = "red", + ["countryId"] = 2, + ["x"] = -243325.71428571, + ["y"] = 603325.71428571, + ["unitId"] = 6, + ["heading"] = 2.6119254271103, + ["skill"] = "Random", + ["callsign"] = 102, + ["groupId"] = 3, }, -- end of [2] }, -- end of ["units"] - ["coalition"] = "red", + ["countryId"] = 2, + ["radioSet"] = false, + ["groupId"] = 3, ["category"] = "helicopter", - ["country"] = "russia", + ["coalition"] = "red", ["startTime"] = 0, ["task"] = "Transport", - ["countryId"] = 2, + ["frequency"] = 127.5, }, -- end of [2] }, -- end of ["helicopter"] ["vehicle"] = @@ -861,131 +1009,143 @@ MEunits = { [1] = { - ["type"] = "BTR-80", + ["heading"] = -1.7994767003775, ["point"] = { ["y"] = 654545.71428571, ["x"] = -292842.85714286, }, -- end of ["point"] ["groupId"] = 13, - ["skill"] = "Average", - ["countryId"] = 2, + ["y"] = 654545.71428571, ["coalition"] = "red", ["groupName"] = "RuBTRs", - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", + ["countryId"] = 2, + ["x"] = -292842.85714286, + ["unitId"] = 27, ["category"] = "vehicle", ["unitName"] = "RuBTRs1", ["playerCanDrive"] = true, - ["unitId"] = 27, ["country"] = "russia", + ["skill"] = "Average", }, -- end of [1] [2] = { - ["type"] = "BTR-80", + ["heading"] = -1.7994767003775, ["point"] = { ["y"] = 654585.71428571, ["x"] = -292882.85714286, }, -- end of ["point"] ["groupId"] = 13, - ["skill"] = "Average", - ["countryId"] = 2, + ["y"] = 654585.71428571, ["coalition"] = "red", ["groupName"] = "RuBTRs", - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", + ["countryId"] = 2, + ["x"] = -292882.85714286, + ["unitId"] = 28, ["category"] = "vehicle", ["unitName"] = "RuBTRs2", ["playerCanDrive"] = true, - ["unitId"] = 28, ["country"] = "russia", + ["skill"] = "Average", }, -- end of [2] [3] = { - ["type"] = "BTR-80", + ["heading"] = -1.7994767003775, ["point"] = { ["y"] = 654625.71428571, ["x"] = -292922.85714286, }, -- end of ["point"] ["groupId"] = 13, - ["skill"] = "Average", - ["countryId"] = 2, + ["y"] = 654625.71428571, ["coalition"] = "red", ["groupName"] = "RuBTRs", - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", + ["countryId"] = 2, + ["x"] = -292922.85714286, + ["unitId"] = 29, ["category"] = "vehicle", ["unitName"] = "RuBTRs3", ["playerCanDrive"] = true, - ["unitId"] = 29, ["country"] = "russia", + ["skill"] = "Average", }, -- end of [3] [4] = { - ["type"] = "BTR-80", + ["heading"] = -1.7994767003775, ["point"] = { ["y"] = 654665.71428571, ["x"] = -292962.85714286, }, -- end of ["point"] ["groupId"] = 13, - ["skill"] = "Average", - ["countryId"] = 2, + ["y"] = 654665.71428571, ["coalition"] = "red", ["groupName"] = "RuBTRs", - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", + ["countryId"] = 2, + ["x"] = -292962.85714286, + ["unitId"] = 30, ["category"] = "vehicle", ["unitName"] = "RuBTRs4", ["playerCanDrive"] = true, - ["unitId"] = 30, ["country"] = "russia", + ["skill"] = "Average", }, -- end of [4] [5] = { - ["type"] = "BTR-80", + ["heading"] = -1.7994767003775, ["point"] = { ["y"] = 654705.71428571, ["x"] = -293002.85714286, }, -- end of ["point"] ["groupId"] = 13, - ["skill"] = "Average", - ["countryId"] = 2, + ["y"] = 654705.71428571, ["coalition"] = "red", ["groupName"] = "RuBTRs", - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", + ["countryId"] = 2, + ["x"] = -293002.85714286, + ["unitId"] = 31, ["category"] = "vehicle", ["unitName"] = "RuBTRs5", ["playerCanDrive"] = true, - ["unitId"] = 31, ["country"] = "russia", + ["skill"] = "Average", }, -- end of [5] [6] = { - ["type"] = "BTR-80", + ["heading"] = -1.7994767003775, ["point"] = { ["y"] = 654745.71428571, ["x"] = -293042.85714286, }, -- end of ["point"] ["groupId"] = 13, - ["skill"] = "Average", - ["countryId"] = 2, + ["y"] = 654745.71428571, ["coalition"] = "red", ["groupName"] = "RuBTRs", - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", + ["countryId"] = 2, + ["x"] = -293042.85714286, + ["unitId"] = 32, ["category"] = "vehicle", ["unitName"] = "RuBTRs6", ["playerCanDrive"] = true, - ["unitId"] = 32, ["country"] = "russia", + ["skill"] = "Average", }, -- end of [6] }, -- end of ["units"] ["coalition"] = "red", ["category"] = "vehicle", - ["country"] = "russia", + ["countryId"] = 2, ["startTime"] = 0, ["task"] = "Ground Nothing", - ["countryId"] = 2, + ["country"] = "russia", }, -- end of [1] [2] = { @@ -995,168 +1155,194 @@ MEunits = { [1] = { - ["type"] = "T-55", + ["heading"] = 0, ["point"] = { ["y"] = 628677.14285714, ["x"] = -273442.85714286, }, -- end of ["point"] ["groupId"] = 14, - ["skill"] = "Excellent", - ["countryId"] = 2, + ["y"] = 628677.14285714, ["coalition"] = "red", ["groupName"] = "RuTanks", - ["heading"] = 0, + ["type"] = "T-55", + ["countryId"] = 2, + ["x"] = -273442.85714286, + ["unitId"] = 33, ["category"] = "vehicle", ["unitName"] = "RuTanks1", ["playerCanDrive"] = true, - ["unitId"] = 33, ["country"] = "russia", + ["skill"] = "Excellent", }, -- end of [1] [2] = { - ["type"] = "T-55", + ["heading"] = 0, ["point"] = { ["y"] = 628717.14285714, ["x"] = -273482.85714286, }, -- end of ["point"] ["groupId"] = 14, - ["skill"] = "Excellent", - ["countryId"] = 2, + ["y"] = 628717.14285714, ["coalition"] = "red", ["groupName"] = "RuTanks", - ["heading"] = 0, + ["type"] = "T-55", + ["countryId"] = 2, + ["x"] = -273482.85714286, + ["unitId"] = 34, ["category"] = "vehicle", ["unitName"] = "RuTanks2", ["playerCanDrive"] = true, - ["unitId"] = 34, ["country"] = "russia", + ["skill"] = "Excellent", }, -- end of [2] [3] = { - ["type"] = "T-55", + ["heading"] = 0, ["point"] = { ["y"] = 628757.14285714, ["x"] = -273522.85714286, }, -- end of ["point"] ["groupId"] = 14, - ["skill"] = "Excellent", - ["countryId"] = 2, + ["y"] = 628757.14285714, ["coalition"] = "red", ["groupName"] = "RuTanks", - ["heading"] = 0, + ["type"] = "T-55", + ["countryId"] = 2, + ["x"] = -273522.85714286, + ["unitId"] = 35, ["category"] = "vehicle", ["unitName"] = "RuTanks3", ["playerCanDrive"] = true, - ["unitId"] = 35, ["country"] = "russia", + ["skill"] = "Excellent", }, -- end of [3] [4] = { - ["type"] = "T-55", + ["heading"] = 0, ["point"] = { ["y"] = 628797.14285714, ["x"] = -273562.85714286, }, -- end of ["point"] ["groupId"] = 14, - ["skill"] = "Excellent", - ["countryId"] = 2, + ["y"] = 628797.14285714, ["coalition"] = "red", ["groupName"] = "RuTanks", - ["heading"] = 0, + ["type"] = "T-55", + ["countryId"] = 2, + ["x"] = -273562.85714286, + ["unitId"] = 36, ["category"] = "vehicle", ["unitName"] = "RuTanks4", ["playerCanDrive"] = true, - ["unitId"] = 36, ["country"] = "russia", + ["skill"] = "Excellent", }, -- end of [4] }, -- end of ["units"] ["coalition"] = "red", ["category"] = "vehicle", - ["country"] = "russia", + ["countryId"] = 2, ["startTime"] = 0, ["task"] = "Ground Nothing", - ["countryId"] = 2, + ["country"] = "russia", }, -- end of [2] }, -- end of ["vehicle"] ["plane"] = { [1] = { - ["groupId"] = 20, + ["modulation"] = 0, + ["country"] = "russia", + ["uncontrolled"] = false, ["groupName"] = "Su-33 Client #1", ["units"] = { [1] = { ["alt"] = 2000, - ["heading"] = 0, ["point"] = { ["y"] = 590391.42857142, ["x"] = -250185.71428571, }, -- end of ["point"] - ["groupId"] = 20, ["alt_type"] = "BARO", ["livery_id"] = "279th kiap 1st squad navy", - ["skill"] = "Client", - ["countryId"] = 2, - ["coalition"] = "red", - ["speed"] = 138.88888888889, - ["country"] = "russia", + ["onboard_num"] = "53", ["category"] = "plane", - ["unitName"] = "Su-33 Client #1", + ["speed"] = 138.88888888889, ["type"] = "Su-33", - ["unitId"] = 42, + ["country"] = "russia", + ["psi"] = 0, + ["unitName"] = "Su-33 Client #1", ["groupName"] = "Su-33 Client #1", + ["coalition"] = "red", + ["countryId"] = 2, + ["x"] = -250185.71428571, + ["y"] = 590391.42857142, + ["unitId"] = 42, + ["heading"] = 0, + ["skill"] = "Client", + ["callsign"] = 104, + ["groupId"] = 20, }, -- end of [1] }, -- end of ["units"] - ["coalition"] = "red", + ["countryId"] = 2, + ["radioSet"] = false, + ["groupId"] = 20, ["category"] = "plane", - ["country"] = "russia", + ["coalition"] = "red", ["startTime"] = 0, ["task"] = "CAP", - ["countryId"] = 2, + ["frequency"] = 124, }, -- end of [1] [2] = { - ["groupId"] = 21, + ["modulation"] = 0, + ["country"] = "russia", + ["uncontrolled"] = false, ["groupName"] = "Su-33 Client #2", ["units"] = { [1] = { ["alt"] = 2000, - ["heading"] = 0, ["point"] = { ["y"] = 597819.99999999, ["x"] = -235614.28571428, }, -- end of ["point"] - ["groupId"] = 21, ["alt_type"] = "BARO", ["livery_id"] = "279th kiap 1st squad navy", - ["skill"] = "Client", - ["countryId"] = 2, - ["coalition"] = "red", - ["speed"] = 138.88888888889, - ["country"] = "russia", + ["onboard_num"] = "53", ["category"] = "plane", - ["unitName"] = "Su-33 Client #2", + ["speed"] = 138.88888888889, ["type"] = "Su-33", - ["unitId"] = 43, + ["country"] = "russia", + ["psi"] = 0, + ["unitName"] = "Su-33 Client #2", ["groupName"] = "Su-33 Client #2", + ["coalition"] = "red", + ["countryId"] = 2, + ["x"] = -235614.28571428, + ["y"] = 597819.99999999, + ["unitId"] = 43, + ["heading"] = 0, + ["skill"] = "Client", + ["callsign"] = 104, + ["groupId"] = 21, }, -- end of [1] }, -- end of ["units"] - ["coalition"] = "red", + ["countryId"] = 2, + ["radioSet"] = false, + ["groupId"] = 21, ["category"] = "plane", - ["country"] = "russia", + ["coalition"] = "red", ["startTime"] = 0, ["task"] = "CAP", - ["countryId"] = 2, + ["frequency"] = 124, }, -- end of [2] }, -- end of ["plane"] ["static"] = @@ -1181,13 +1367,15 @@ MEunits = }, -- end of ["point"] ["groupId"] = 17, ["groupName"] = "RU Farp", + ["countryId"] = 2, ["coalition"] = "red", - ["unitId"] = 39, + ["x"] = -258442.85714286, + ["y"] = 617591.42857143, ["category"] = "static", ["unitName"] = "RU Farp", - ["type"] = "FARP", - ["countryId"] = 2, ["country"] = "russia", + ["type"] = "FARP", + ["unitId"] = 39, }, -- end of [1] }, -- end of ["units"] }, -- end of [1] @@ -1204,7 +1392,7 @@ MEunits = [1] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 617962.85714285, @@ -1213,12 +1401,14 @@ MEunits = ["groupId"] = 18, ["groupName"] = "RuTent1", ["countryId"] = 2, - ["unitId"] = 40, + ["coalition"] = "red", + ["x"] = -258642.85714286, + ["y"] = 617962.85714285, ["category"] = "static", ["unitName"] = "RuTent1", - ["type"] = "FARP Tent", ["country"] = "russia", - ["coalition"] = "red", + ["heading"] = 0, + ["unitId"] = 40, }, -- end of [1] }, -- end of ["units"] }, -- end of [2] @@ -1235,7 +1425,7 @@ MEunits = [1] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 617691.42857143, @@ -1244,12 +1434,14 @@ MEunits = ["groupId"] = 19, ["groupName"] = "RuTent2", ["countryId"] = 2, - ["unitId"] = 41, + ["coalition"] = "red", + ["x"] = -259071.42857143, + ["y"] = 617691.42857143, ["category"] = "static", ["unitName"] = "RuTent2", - ["type"] = "FARP Tent", ["country"] = "russia", - ["coalition"] = "red", + ["heading"] = 0, + ["unitId"] = 41, }, -- end of [1] }, -- end of ["units"] }, -- end of [3] diff --git a/Example DBs/mist_DBs_MEunitsByCat.lua b/Example DBs/mist_DBs_MEunitsByCat.lua index 7b21acc..d8958da 100644 --- a/Example DBs/mist_DBs_MEunitsByCat.lua +++ b/Example DBs/mist_DBs_MEunitsByCat.lua @@ -5,140 +5,182 @@ MEunitsByCat = [1] = { ["alt"] = 500, - ["heading"] = 0.017389551289373, ["point"] = { ["y"] = 631857.14285714, ["x"] = -297857.14285714, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "AH-1s_1", ["livery_id"] = "standard", - ["skill"] = "High", - ["unitId"] = 1, - ["countryId"] = 11, - ["type"] = "AH-1W", - ["unitName"] = "AH-1s_1_1", + ["onboard_num"] = "50", ["category"] = "helicopter", - ["speed"] = 55.555555555556, + ["unitName"] = "AH-1s_1_1", + ["type"] = "AH-1W", ["country"] = "usa", - ["coalition"] = "blue", + ["psi"] = -0.017389551289373, ["groupId"] = 1, + ["groupName"] = "AH-1s_1", + ["callsign"] = + { + [1] = 1, + [2] = 1, + [3] = 1, + ["name"] = "Enfield11", + }, -- end of ["callsign"] + ["countryId"] = 11, + ["x"] = -297857.14285714, + ["skill"] = "High", + ["heading"] = 0.017389551289373, + ["unitId"] = 1, + ["y"] = 631857.14285714, + ["coalition"] = "blue", + ["speed"] = 55.555555555556, }, -- end of [1] [2] = { ["alt"] = 500, - ["heading"] = 0.017389551289373, ["point"] = { ["y"] = 631897.14285714, ["x"] = -297897.14285714, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "AH-1s_1", ["livery_id"] = "standard", - ["skill"] = "High", - ["unitId"] = 2, - ["countryId"] = 11, - ["type"] = "AH-1W", - ["unitName"] = "AH-1s_1_2", + ["onboard_num"] = "51", ["category"] = "helicopter", - ["speed"] = 55.555555555556, + ["unitName"] = "AH-1s_1_2", + ["type"] = "AH-1W", ["country"] = "usa", - ["coalition"] = "blue", + ["psi"] = -0.017389551289373, ["groupId"] = 1, + ["groupName"] = "AH-1s_1", + ["callsign"] = + { + [1] = 1, + [2] = 1, + [3] = 2, + ["name"] = "Enfield12", + }, -- end of ["callsign"] + ["countryId"] = 11, + ["x"] = -297897.14285714, + ["skill"] = "High", + ["heading"] = 0.017389551289373, + ["unitId"] = 2, + ["y"] = 631897.14285714, + ["coalition"] = "blue", + ["speed"] = 55.555555555556, }, -- end of [2] [3] = { ["alt"] = 500, - ["heading"] = 2.5953630185698, ["point"] = { ["y"] = 615000, ["x"] = -237571.42857143, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "Ka-50s_1", ["livery_id"] = "Russia Demo #024", - ["skill"] = "High", - ["unitId"] = 3, - ["countryId"] = 2, - ["type"] = "Ka-50", - ["unitName"] = "Ka-50s_1_1", + ["onboard_num"] = "50", ["category"] = "helicopter", - ["speed"] = 55.555555555556, + ["unitName"] = "Ka-50s_1_1", + ["type"] = "Ka-50", ["country"] = "russia", - ["coalition"] = "red", + ["psi"] = -2.5953630185698, ["groupId"] = 2, + ["groupName"] = "Ka-50s_1", + ["callsign"] = 100, + ["countryId"] = 2, + ["x"] = -237571.42857143, + ["skill"] = "High", + ["heading"] = 2.5953630185698, + ["unitId"] = 3, + ["y"] = 615000, + ["coalition"] = "red", + ["speed"] = 55.555555555556, }, -- end of [3] [4] = { ["alt"] = 500, - ["heading"] = 2.5953630185698, ["point"] = { ["y"] = 615040, ["x"] = -237611.42857143, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "Ka-50s_1", ["livery_id"] = "Russia Demo #024", - ["skill"] = "High", - ["unitId"] = 4, - ["countryId"] = 2, - ["type"] = "Ka-50", - ["unitName"] = "Ka-50s_1_2", + ["onboard_num"] = "51", ["category"] = "helicopter", - ["speed"] = 55.555555555556, + ["unitName"] = "Ka-50s_1_2", + ["type"] = "Ka-50", ["country"] = "russia", - ["coalition"] = "red", + ["psi"] = -2.5953630185698, ["groupId"] = 2, + ["groupName"] = "Ka-50s_1", + ["callsign"] = 101, + ["countryId"] = 2, + ["x"] = -237611.42857143, + ["skill"] = "High", + ["heading"] = 2.5953630185698, + ["unitId"] = 4, + ["y"] = 615040, + ["coalition"] = "red", + ["speed"] = 55.555555555556, }, -- end of [4] [5] = { ["alt"] = 500, - ["heading"] = 2.6119254271103, ["point"] = { ["y"] = 603285.71428571, ["x"] = -243285.71428571, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "Mi-8s_1", ["livery_id"] = "Russia", - ["skill"] = "Random", - ["unitId"] = 5, - ["countryId"] = 2, - ["type"] = "Mi-8MT", - ["unitName"] = "Mi-8s_1_1", + ["onboard_num"] = "52", ["category"] = "helicopter", - ["speed"] = 55.555555555556, + ["unitName"] = "Mi-8s_1_1", + ["type"] = "Mi-8MT", ["country"] = "russia", - ["coalition"] = "red", + ["psi"] = -2.6119254271103, ["groupId"] = 3, + ["groupName"] = "Mi-8s_1", + ["callsign"] = 103, + ["countryId"] = 2, + ["x"] = -243285.71428571, + ["skill"] = "Random", + ["heading"] = 2.6119254271103, + ["unitId"] = 5, + ["y"] = 603285.71428571, + ["coalition"] = "red", + ["speed"] = 55.555555555556, }, -- end of [5] [6] = { ["alt"] = 500, - ["heading"] = 2.6119254271103, ["point"] = { ["y"] = 603325.71428571, ["x"] = -243325.71428571, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "Mi-8s_1", ["livery_id"] = "Russia", - ["skill"] = "Random", - ["unitId"] = 6, - ["countryId"] = 2, - ["type"] = "Mi-8MT", - ["unitName"] = "Mi-8s_1_1 #1", + ["onboard_num"] = "53", ["category"] = "helicopter", - ["speed"] = 55.555555555556, + ["unitName"] = "Mi-8s_1_1 #1", + ["type"] = "Mi-8MT", ["country"] = "russia", - ["coalition"] = "red", + ["psi"] = -2.6119254271103, ["groupId"] = 3, + ["groupName"] = "Mi-8s_1", + ["callsign"] = 102, + ["countryId"] = 2, + ["x"] = -243325.71428571, + ["skill"] = "Random", + ["heading"] = 2.6119254271103, + ["unitId"] = 6, + ["y"] = 603325.71428571, + ["coalition"] = "red", + ["speed"] = 55.555555555556, }, -- end of [6] }, -- end of ["helicopter"] ["ship"] = @@ -152,15 +194,17 @@ MEunitsByCat = ["x"] = -355285.71428571, }, -- end of ["point"] ["groupId"] = 8, + ["groupName"] = "US Ships", ["skill"] = "Average", - ["countryId"] = 11, - ["unitId"] = 13, + ["country"] = "usa", + ["coalition"] = "blue", + ["x"] = -355285.71428571, ["heading"] = 0, ["category"] = "ship", ["unitName"] = "US Ship #1", - ["country"] = "usa", - ["coalition"] = "blue", - ["groupName"] = "US Ships", + ["unitId"] = 13, + ["y"] = 443857.14285714, + ["countryId"] = 11, }, -- end of [1] [2] = { @@ -171,15 +215,17 @@ MEunitsByCat = ["x"] = -356085.71428571, }, -- end of ["point"] ["groupId"] = 8, + ["groupName"] = "US Ships", ["skill"] = "Average", - ["countryId"] = 11, - ["unitId"] = 14, + ["country"] = "usa", + ["coalition"] = "blue", + ["x"] = -356085.71428571, ["heading"] = 0, ["category"] = "ship", ["unitName"] = "US Ship #2", - ["country"] = "usa", - ["coalition"] = "blue", - ["groupName"] = "US Ships", + ["unitId"] = 14, + ["y"] = 444657.14285714, + ["countryId"] = 11, }, -- end of [2] [3] = { @@ -190,15 +236,17 @@ MEunitsByCat = ["x"] = -34285.714285714, }, -- end of ["point"] ["groupId"] = 9, + ["groupName"] = "Rus Ships #1", ["skill"] = "Average", - ["countryId"] = 2, - ["unitId"] = 15, + ["country"] = "russia", + ["coalition"] = "red", + ["x"] = -34285.714285714, ["heading"] = 0, ["category"] = "ship", ["unitName"] = "1ship1", - ["country"] = "russia", - ["coalition"] = "red", - ["groupName"] = "Rus Ships #1", + ["unitId"] = 15, + ["y"] = 200000, + ["countryId"] = 2, }, -- end of [3] [4] = { @@ -209,15 +257,17 @@ MEunitsByCat = ["x"] = -35085.714285714, }, -- end of ["point"] ["groupId"] = 9, + ["groupName"] = "Rus Ships #1", ["skill"] = "Average", - ["countryId"] = 2, - ["unitId"] = 16, + ["country"] = "russia", + ["coalition"] = "red", + ["x"] = -35085.714285714, ["heading"] = 0, ["category"] = "ship", ["unitName"] = "1ship2", - ["country"] = "russia", - ["coalition"] = "red", - ["groupName"] = "Rus Ships #1", + ["unitId"] = 16, + ["y"] = 200800, + ["countryId"] = 2, }, -- end of [4] [5] = { @@ -228,15 +278,17 @@ MEunitsByCat = ["x"] = -86428.571428571, }, -- end of ["point"] ["groupId"] = 10, + ["groupName"] = "Rus Ships #2", ["skill"] = "Average", - ["countryId"] = 2, - ["unitId"] = 17, + ["country"] = "russia", + ["coalition"] = "red", + ["x"] = -86428.571428571, ["heading"] = 1.1755995276042, ["category"] = "ship", ["unitName"] = "2ship1", - ["country"] = "russia", - ["coalition"] = "red", - ["groupName"] = "Rus Ships #2", + ["unitId"] = 17, + ["y"] = 73571.428571428, + ["countryId"] = 2, }, -- end of [5] [6] = { @@ -247,15 +299,17 @@ MEunitsByCat = ["x"] = -87228.571428571, }, -- end of ["point"] ["groupId"] = 10, + ["groupName"] = "Rus Ships #2", ["skill"] = "Average", - ["countryId"] = 2, - ["unitId"] = 18, + ["country"] = "russia", + ["coalition"] = "red", + ["x"] = -87228.571428571, ["heading"] = 1.1755995276042, ["category"] = "ship", ["unitName"] = "2ship2", - ["country"] = "russia", - ["coalition"] = "red", - ["groupName"] = "Rus Ships #2", + ["unitId"] = 18, + ["y"] = 74371.428571428, + ["countryId"] = 2, }, -- end of [6] }, -- end of ["ship"] ["static"] = @@ -263,59 +317,65 @@ MEunitsByCat = [1] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 636248.57142857, ["x"] = -300871.42857143, }, -- end of ["point"] - ["unitId"] = 37, + ["groupId"] = 15, ["groupName"] = "tent1", + ["unitId"] = 37, ["countryId"] = 11, - ["coalition"] = "blue", + ["x"] = -300871.42857143, + ["heading"] = 0, ["category"] = "static", ["unitName"] = "tent1", ["country"] = "usa", - ["type"] = "FARP Tent", - ["groupId"] = 15, + ["y"] = 636248.57142857, + ["coalition"] = "blue", }, -- end of [1] [2] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 638620, ["x"] = -299814.28571429, }, -- end of ["point"] - ["unitId"] = 38, + ["groupId"] = 16, ["groupName"] = "tent2", + ["unitId"] = 38, ["countryId"] = 11, - ["coalition"] = "blue", + ["x"] = -299814.28571429, + ["heading"] = 0, ["category"] = "static", ["unitName"] = "tent2", ["country"] = "usa", - ["type"] = "FARP Tent", - ["groupId"] = 16, + ["y"] = 638620, + ["coalition"] = "blue", }, -- end of [2] [3] = { ["shape_name"] = "konteiner_red1", - ["heading"] = 0, + ["type"] = "Container red 1", ["point"] = { ["y"] = 684605.71428571, ["x"] = -279949.99999999, }, -- end of ["point"] - ["unitId"] = 44, + ["groupId"] = 30, ["groupName"] = "static", + ["unitId"] = 44, ["countryId"] = 11, - ["coalition"] = "blue", + ["x"] = -279949.99999999, + ["heading"] = 0, ["category"] = "static", ["unitName"] = "static", ["country"] = "usa", - ["type"] = "Container red 1", - ["groupId"] = 30, + ["y"] = 684605.71428571, + ["coalition"] = "blue", }, -- end of [3] [4] = { @@ -325,53 +385,59 @@ MEunitsByCat = ["y"] = 617591.42857143, ["x"] = -258442.85714286, }, -- end of ["point"] - ["unitId"] = 39, + ["groupId"] = 17, ["groupName"] = "RU Farp", + ["unitId"] = 39, ["coalition"] = "red", - ["country"] = "russia", + ["x"] = -258442.85714286, + ["type"] = "FARP", ["category"] = "static", ["unitName"] = "RU Farp", + ["country"] = "russia", ["countryId"] = 2, - ["type"] = "FARP", - ["groupId"] = 17, + ["y"] = 617591.42857143, }, -- end of [4] [5] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 617962.85714285, ["x"] = -258642.85714286, }, -- end of ["point"] - ["unitId"] = 40, + ["groupId"] = 18, ["groupName"] = "RuTent1", + ["unitId"] = 40, ["countryId"] = 2, - ["coalition"] = "red", + ["x"] = -258642.85714286, + ["heading"] = 0, ["category"] = "static", ["unitName"] = "RuTent1", ["country"] = "russia", - ["type"] = "FARP Tent", - ["groupId"] = 18, + ["y"] = 617962.85714285, + ["coalition"] = "red", }, -- end of [5] [6] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 617691.42857143, ["x"] = -259071.42857143, }, -- end of ["point"] - ["unitId"] = 41, + ["groupId"] = 19, ["groupName"] = "RuTent2", + ["unitId"] = 41, ["countryId"] = 2, - ["coalition"] = "red", + ["x"] = -259071.42857143, + ["heading"] = 0, ["category"] = "static", ["unitName"] = "RuTent2", ["country"] = "russia", - ["type"] = "FARP Tent", - ["groupId"] = 19, + ["y"] = 617691.42857143, + ["coalition"] = "red", }, -- end of [6] }, -- end of ["static"] ["plane"] = @@ -379,147 +445,201 @@ MEunitsByCat = [1] = { ["alt"] = 2000, - ["heading"] = -0.57883789069348, ["point"] = { ["y"] = 662142.85714286, ["x"] = -288142.85714286, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "F-15C Client #1", ["livery_id"] = "19th Fighter SQN (AK)", - ["skill"] = "Client", - ["unitId"] = 8, - ["countryId"] = 11, - ["type"] = "F-15C", - ["unitName"] = "F-15C Client #1", + ["onboard_num"] = "10", ["category"] = "plane", - ["speed"] = 138.88888888889, + ["unitName"] = "F-15C Client #1", + ["type"] = "F-15C", ["country"] = "usa", - ["coalition"] = "blue", + ["psi"] = 0.57883789069348, ["groupId"] = 4, + ["groupName"] = "F-15C Client #1", + ["callsign"] = + { + [1] = 2, + [2] = 1, + [3] = 1, + ["name"] = "Springfield11", + }, -- end of ["callsign"] + ["countryId"] = 11, + ["x"] = -288142.85714286, + ["skill"] = "Client", + ["heading"] = -0.57883789069348, + ["unitId"] = 8, + ["y"] = 662142.85714286, + ["coalition"] = "blue", + ["speed"] = 138.88888888889, }, -- end of [1] [2] = { ["alt"] = 2000, - ["heading"] = -0.57883789069348, ["point"] = { ["y"] = 668428.57142857, ["x"] = -287000, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "F-15C Client #2", ["livery_id"] = "19th Fighter SQN (AK)", - ["skill"] = "Client", - ["unitId"] = 10, - ["countryId"] = 11, - ["type"] = "F-15C", - ["unitName"] = "F-15C Client #2", + ["onboard_num"] = "10", ["category"] = "plane", - ["speed"] = 138.88888888889, + ["unitName"] = "F-15C Client #2", + ["type"] = "F-15C", ["country"] = "usa", - ["coalition"] = "blue", + ["psi"] = 0.57883789069348, ["groupId"] = 5, + ["groupName"] = "F-15C Client #2", + ["callsign"] = + { + [1] = 2, + [2] = 1, + [3] = 1, + ["name"] = "Springfield11", + }, -- end of ["callsign"] + ["countryId"] = 11, + ["x"] = -287000, + ["skill"] = "Client", + ["heading"] = -0.57883789069348, + ["unitId"] = 10, + ["y"] = 668428.57142857, + ["coalition"] = "blue", + ["speed"] = 138.88888888889, }, -- end of [2] [3] = { ["alt"] = 2000, - ["heading"] = -0.67060113146646, ["point"] = { ["y"] = 636428.57142857, ["x"] = -318142.85714286, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "A-10C Client #1", ["livery_id"] = "104th FS Maryland ANG, Baltimore (MD)", - ["skill"] = "Client", - ["unitId"] = 11, - ["countryId"] = 11, - ["type"] = "A-10C", - ["unitName"] = "A-10C Client #1", + ["onboard_num"] = "52", ["category"] = "plane", - ["speed"] = 138.88888888889, + ["unitName"] = "A-10C Client #1", + ["type"] = "A-10C", ["country"] = "usa", - ["coalition"] = "blue", + ["psi"] = 0.67060113146646, ["groupId"] = 6, + ["groupName"] = "A-10C Client #1", + ["callsign"] = + { + [1] = 3, + [2] = 1, + [3] = 1, + ["name"] = "Uzi11", + }, -- end of ["callsign"] + ["countryId"] = 11, + ["x"] = -318142.85714286, + ["skill"] = "Client", + ["heading"] = -0.67060113146646, + ["unitId"] = 11, + ["y"] = 636428.57142857, + ["coalition"] = "blue", + ["speed"] = 138.88888888889, }, -- end of [3] [4] = { ["alt"] = 2000, - ["heading"] = -0.66079849060746, ["point"] = { ["y"] = 644428.57142857, ["x"] = -315857.14285714, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "A-10C Client #2", ["livery_id"] = "104th FS Maryland ANG, Baltimore (MD)", - ["skill"] = "Client", - ["unitId"] = 12, - ["countryId"] = 11, - ["type"] = "A-10C", - ["unitName"] = "A-10C Client #2", + ["onboard_num"] = "52", ["category"] = "plane", - ["speed"] = 138.88888888889, + ["unitName"] = "A-10C Client #2", + ["type"] = "A-10C", ["country"] = "usa", - ["coalition"] = "blue", + ["psi"] = 0.66079849060746, ["groupId"] = 7, + ["groupName"] = "A-10C Client #2", + ["callsign"] = + { + [1] = 3, + [2] = 1, + [3] = 1, + ["name"] = "Uzi11", + }, -- end of ["callsign"] + ["countryId"] = 11, + ["x"] = -315857.14285714, + ["skill"] = "Client", + ["heading"] = -0.66079849060746, + ["unitId"] = 12, + ["y"] = 644428.57142857, + ["coalition"] = "blue", + ["speed"] = 138.88888888889, }, -- end of [4] [5] = { ["alt"] = 2000, - ["heading"] = 0, ["point"] = { ["y"] = 590391.42857142, ["x"] = -250185.71428571, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "Su-33 Client #1", ["livery_id"] = "279th kiap 1st squad navy", - ["skill"] = "Client", - ["unitId"] = 42, - ["countryId"] = 2, - ["type"] = "Su-33", - ["unitName"] = "Su-33 Client #1", + ["onboard_num"] = "53", ["category"] = "plane", - ["speed"] = 138.88888888889, + ["unitName"] = "Su-33 Client #1", + ["type"] = "Su-33", ["country"] = "russia", - ["coalition"] = "red", + ["psi"] = 0, ["groupId"] = 20, + ["groupName"] = "Su-33 Client #1", + ["callsign"] = 104, + ["countryId"] = 2, + ["x"] = -250185.71428571, + ["skill"] = "Client", + ["heading"] = 0, + ["unitId"] = 42, + ["y"] = 590391.42857142, + ["coalition"] = "red", + ["speed"] = 138.88888888889, }, -- end of [5] [6] = { ["alt"] = 2000, - ["heading"] = 0, ["point"] = { ["y"] = 597819.99999999, ["x"] = -235614.28571428, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "Su-33 Client #2", ["livery_id"] = "279th kiap 1st squad navy", - ["skill"] = "Client", - ["unitId"] = 43, - ["countryId"] = 2, - ["type"] = "Su-33", - ["unitName"] = "Su-33 Client #2", + ["onboard_num"] = "53", ["category"] = "plane", - ["speed"] = 138.88888888889, + ["unitName"] = "Su-33 Client #2", + ["type"] = "Su-33", ["country"] = "russia", - ["coalition"] = "red", + ["psi"] = 0, ["groupId"] = 21, + ["groupName"] = "Su-33 Client #2", + ["callsign"] = 104, + ["countryId"] = 2, + ["x"] = -235614.28571428, + ["skill"] = "Client", + ["heading"] = 0, + ["unitId"] = 43, + ["y"] = 597819.99999999, + ["coalition"] = "red", + ["speed"] = 138.88888888889, }, -- end of [6] }, -- end of ["plane"] ["vehicle"] = { [1] = { - ["heading"] = 0, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 639800, @@ -528,18 +648,20 @@ MEunitsByCat = ["groupId"] = 11, ["skill"] = "Average", ["country"] = "usa", + ["groupName"] = "USTanks1", + ["y"] = 639800, ["coalition"] = "blue", + ["x"] = -294685.71428571, ["unitId"] = 19, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks1_1", ["playerCanDrive"] = true, - ["type"] = "M-1 Abrams", - ["groupName"] = "USTanks1", + ["heading"] = 0, + ["countryId"] = 11, }, -- end of [1] [2] = { - ["heading"] = 0, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 639840, @@ -548,18 +670,20 @@ MEunitsByCat = ["groupId"] = 11, ["skill"] = "Average", ["country"] = "usa", + ["groupName"] = "USTanks1", + ["y"] = 639840, ["coalition"] = "blue", + ["x"] = -294725.71428571, ["unitId"] = 20, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks1_2", ["playerCanDrive"] = true, - ["type"] = "M-1 Abrams", - ["groupName"] = "USTanks1", + ["heading"] = 0, + ["countryId"] = 11, }, -- end of [2] [3] = { - ["heading"] = 0, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 639880, @@ -568,18 +692,20 @@ MEunitsByCat = ["groupId"] = 11, ["skill"] = "Average", ["country"] = "usa", + ["groupName"] = "USTanks1", + ["y"] = 639880, ["coalition"] = "blue", + ["x"] = -294765.71428571, ["unitId"] = 21, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks1_3", ["playerCanDrive"] = true, - ["type"] = "M-1 Abrams", - ["groupName"] = "USTanks1", + ["heading"] = 0, + ["countryId"] = 11, }, -- end of [3] [4] = { - ["heading"] = 0, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 639920, @@ -588,18 +714,20 @@ MEunitsByCat = ["groupId"] = 11, ["skill"] = "Average", ["country"] = "usa", + ["groupName"] = "USTanks1", + ["y"] = 639920, ["coalition"] = "blue", + ["x"] = -294805.71428571, ["unitId"] = 22, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks1_4", ["playerCanDrive"] = true, - ["type"] = "M-1 Abrams", - ["groupName"] = "USTanks1", + ["heading"] = 0, + ["countryId"] = 11, }, -- end of [4] [5] = { - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 653171.42857143, @@ -608,18 +736,20 @@ MEunitsByCat = ["groupId"] = 12, ["skill"] = "Average", ["country"] = "usa", + ["groupName"] = "USTanks2", + ["y"] = 653171.42857143, ["coalition"] = "blue", + ["x"] = -293085.71428571, ["unitId"] = 23, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks2_1", ["playerCanDrive"] = true, - ["type"] = "M-1 Abrams", - ["groupName"] = "USTanks2", + ["heading"] = 1.4977557614926, + ["countryId"] = 11, }, -- end of [5] [6] = { - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 653211.42857143, @@ -628,18 +758,20 @@ MEunitsByCat = ["groupId"] = 12, ["skill"] = "Average", ["country"] = "usa", + ["groupName"] = "USTanks2", + ["y"] = 653211.42857143, ["coalition"] = "blue", + ["x"] = -293125.71428571, ["unitId"] = 24, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks2_2", ["playerCanDrive"] = true, - ["type"] = "M-1 Abrams", - ["groupName"] = "USTanks2", + ["heading"] = 1.4977557614926, + ["countryId"] = 11, }, -- end of [6] [7] = { - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 653251.42857143, @@ -648,18 +780,20 @@ MEunitsByCat = ["groupId"] = 12, ["skill"] = "Average", ["country"] = "usa", + ["groupName"] = "USTanks2", + ["y"] = 653251.42857143, ["coalition"] = "blue", + ["x"] = -293165.71428571, ["unitId"] = 25, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks2_3", ["playerCanDrive"] = true, - ["type"] = "M-1 Abrams", - ["groupName"] = "USTanks2", + ["heading"] = 1.4977557614926, + ["countryId"] = 11, }, -- end of [7] [8] = { - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 653291.42857143, @@ -668,18 +802,20 @@ MEunitsByCat = ["groupId"] = 12, ["skill"] = "Average", ["country"] = "usa", + ["groupName"] = "USTanks2", + ["y"] = 653291.42857143, ["coalition"] = "blue", + ["x"] = -293205.71428571, ["unitId"] = 26, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks2_4", ["playerCanDrive"] = true, - ["type"] = "M-1 Abrams", - ["groupName"] = "USTanks2", + ["heading"] = 1.4977557614926, + ["countryId"] = 11, }, -- end of [8] [9] = { - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", ["point"] = { ["y"] = 654545.71428571, @@ -688,18 +824,20 @@ MEunitsByCat = ["groupId"] = 13, ["skill"] = "Average", ["country"] = "russia", + ["groupName"] = "RuBTRs", + ["y"] = 654545.71428571, ["coalition"] = "red", + ["x"] = -292842.85714286, ["unitId"] = 27, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuBTRs1", ["playerCanDrive"] = true, - ["type"] = "BTR-80", - ["groupName"] = "RuBTRs", + ["heading"] = -1.7994767003775, + ["countryId"] = 2, }, -- end of [9] [10] = { - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", ["point"] = { ["y"] = 654585.71428571, @@ -708,18 +846,20 @@ MEunitsByCat = ["groupId"] = 13, ["skill"] = "Average", ["country"] = "russia", + ["groupName"] = "RuBTRs", + ["y"] = 654585.71428571, ["coalition"] = "red", + ["x"] = -292882.85714286, ["unitId"] = 28, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuBTRs2", ["playerCanDrive"] = true, - ["type"] = "BTR-80", - ["groupName"] = "RuBTRs", + ["heading"] = -1.7994767003775, + ["countryId"] = 2, }, -- end of [10] [11] = { - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", ["point"] = { ["y"] = 654625.71428571, @@ -728,18 +868,20 @@ MEunitsByCat = ["groupId"] = 13, ["skill"] = "Average", ["country"] = "russia", + ["groupName"] = "RuBTRs", + ["y"] = 654625.71428571, ["coalition"] = "red", + ["x"] = -292922.85714286, ["unitId"] = 29, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuBTRs3", ["playerCanDrive"] = true, - ["type"] = "BTR-80", - ["groupName"] = "RuBTRs", + ["heading"] = -1.7994767003775, + ["countryId"] = 2, }, -- end of [11] [12] = { - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", ["point"] = { ["y"] = 654665.71428571, @@ -748,18 +890,20 @@ MEunitsByCat = ["groupId"] = 13, ["skill"] = "Average", ["country"] = "russia", + ["groupName"] = "RuBTRs", + ["y"] = 654665.71428571, ["coalition"] = "red", + ["x"] = -292962.85714286, ["unitId"] = 30, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuBTRs4", ["playerCanDrive"] = true, - ["type"] = "BTR-80", - ["groupName"] = "RuBTRs", + ["heading"] = -1.7994767003775, + ["countryId"] = 2, }, -- end of [12] [13] = { - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", ["point"] = { ["y"] = 654705.71428571, @@ -768,18 +912,20 @@ MEunitsByCat = ["groupId"] = 13, ["skill"] = "Average", ["country"] = "russia", + ["groupName"] = "RuBTRs", + ["y"] = 654705.71428571, ["coalition"] = "red", + ["x"] = -293002.85714286, ["unitId"] = 31, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuBTRs5", ["playerCanDrive"] = true, - ["type"] = "BTR-80", - ["groupName"] = "RuBTRs", + ["heading"] = -1.7994767003775, + ["countryId"] = 2, }, -- end of [13] [14] = { - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", ["point"] = { ["y"] = 654745.71428571, @@ -788,18 +934,20 @@ MEunitsByCat = ["groupId"] = 13, ["skill"] = "Average", ["country"] = "russia", + ["groupName"] = "RuBTRs", + ["y"] = 654745.71428571, ["coalition"] = "red", + ["x"] = -293042.85714286, ["unitId"] = 32, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuBTRs6", ["playerCanDrive"] = true, - ["type"] = "BTR-80", - ["groupName"] = "RuBTRs", + ["heading"] = -1.7994767003775, + ["countryId"] = 2, }, -- end of [14] [15] = { - ["heading"] = 0, + ["type"] = "T-55", ["point"] = { ["y"] = 628677.14285714, @@ -808,18 +956,20 @@ MEunitsByCat = ["groupId"] = 14, ["skill"] = "Excellent", ["country"] = "russia", + ["groupName"] = "RuTanks", + ["y"] = 628677.14285714, ["coalition"] = "red", + ["x"] = -273442.85714286, ["unitId"] = 33, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuTanks1", ["playerCanDrive"] = true, - ["type"] = "T-55", - ["groupName"] = "RuTanks", + ["heading"] = 0, + ["countryId"] = 2, }, -- end of [15] [16] = { - ["heading"] = 0, + ["type"] = "T-55", ["point"] = { ["y"] = 628717.14285714, @@ -828,18 +978,20 @@ MEunitsByCat = ["groupId"] = 14, ["skill"] = "Excellent", ["country"] = "russia", + ["groupName"] = "RuTanks", + ["y"] = 628717.14285714, ["coalition"] = "red", + ["x"] = -273482.85714286, ["unitId"] = 34, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuTanks2", ["playerCanDrive"] = true, - ["type"] = "T-55", - ["groupName"] = "RuTanks", + ["heading"] = 0, + ["countryId"] = 2, }, -- end of [16] [17] = { - ["heading"] = 0, + ["type"] = "T-55", ["point"] = { ["y"] = 628757.14285714, @@ -848,18 +1000,20 @@ MEunitsByCat = ["groupId"] = 14, ["skill"] = "Excellent", ["country"] = "russia", + ["groupName"] = "RuTanks", + ["y"] = 628757.14285714, ["coalition"] = "red", + ["x"] = -273522.85714286, ["unitId"] = 35, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuTanks3", ["playerCanDrive"] = true, - ["type"] = "T-55", - ["groupName"] = "RuTanks", + ["heading"] = 0, + ["countryId"] = 2, }, -- end of [17] [18] = { - ["heading"] = 0, + ["type"] = "T-55", ["point"] = { ["y"] = 628797.14285714, @@ -868,14 +1022,16 @@ MEunitsByCat = ["groupId"] = 14, ["skill"] = "Excellent", ["country"] = "russia", + ["groupName"] = "RuTanks", + ["y"] = 628797.14285714, ["coalition"] = "red", + ["x"] = -273562.85714286, ["unitId"] = 36, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuTanks4", ["playerCanDrive"] = true, - ["type"] = "T-55", - ["groupName"] = "RuTanks", + ["heading"] = 0, + ["countryId"] = 2, }, -- end of [18] }, -- end of ["vehicle"] } -- end of MEunitsByCat diff --git a/Example DBs/mist_DBs_MEunitsById.lua b/Example DBs/mist_DBs_MEunitsById.lua index e8ab8d1..bd7c1da 100644 --- a/Example DBs/mist_DBs_MEunitsById.lua +++ b/Example DBs/mist_DBs_MEunitsById.lua @@ -3,232 +3,318 @@ MEunitsById = [1] = { ["alt"] = 500, - ["heading"] = 0.017389551289373, ["point"] = { ["y"] = 631857.14285714, ["x"] = -297857.14285714, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "AH-1s_1", ["livery_id"] = "standard", - ["skill"] = "High", - ["unitId"] = 1, - ["countryId"] = 11, - ["type"] = "AH-1W", - ["unitName"] = "AH-1s_1_1", + ["onboard_num"] = "50", ["category"] = "helicopter", - ["speed"] = 55.555555555556, + ["unitName"] = "AH-1s_1_1", + ["type"] = "AH-1W", ["country"] = "usa", - ["coalition"] = "blue", + ["psi"] = -0.017389551289373, ["groupId"] = 1, + ["groupName"] = "AH-1s_1", + ["callsign"] = + { + [1] = 1, + [2] = 1, + [3] = 1, + ["name"] = "Enfield11", + }, -- end of ["callsign"] + ["countryId"] = 11, + ["x"] = -297857.14285714, + ["skill"] = "High", + ["heading"] = 0.017389551289373, + ["unitId"] = 1, + ["y"] = 631857.14285714, + ["coalition"] = "blue", + ["speed"] = 55.555555555556, }, -- end of [1] [2] = { ["alt"] = 500, - ["heading"] = 0.017389551289373, ["point"] = { ["y"] = 631897.14285714, ["x"] = -297897.14285714, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "AH-1s_1", ["livery_id"] = "standard", - ["skill"] = "High", - ["unitId"] = 2, - ["countryId"] = 11, - ["type"] = "AH-1W", - ["unitName"] = "AH-1s_1_2", + ["onboard_num"] = "51", ["category"] = "helicopter", - ["speed"] = 55.555555555556, + ["unitName"] = "AH-1s_1_2", + ["type"] = "AH-1W", ["country"] = "usa", - ["coalition"] = "blue", + ["psi"] = -0.017389551289373, ["groupId"] = 1, + ["groupName"] = "AH-1s_1", + ["callsign"] = + { + [1] = 1, + [2] = 1, + [3] = 2, + ["name"] = "Enfield12", + }, -- end of ["callsign"] + ["countryId"] = 11, + ["x"] = -297897.14285714, + ["skill"] = "High", + ["heading"] = 0.017389551289373, + ["unitId"] = 2, + ["y"] = 631897.14285714, + ["coalition"] = "blue", + ["speed"] = 55.555555555556, }, -- end of [2] [3] = { ["alt"] = 500, - ["heading"] = 2.5953630185698, ["point"] = { ["y"] = 615000, ["x"] = -237571.42857143, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "Ka-50s_1", ["livery_id"] = "Russia Demo #024", - ["skill"] = "High", - ["unitId"] = 3, - ["countryId"] = 2, - ["type"] = "Ka-50", - ["unitName"] = "Ka-50s_1_1", + ["onboard_num"] = "50", ["category"] = "helicopter", - ["speed"] = 55.555555555556, + ["unitName"] = "Ka-50s_1_1", + ["type"] = "Ka-50", ["country"] = "russia", - ["coalition"] = "red", + ["psi"] = -2.5953630185698, ["groupId"] = 2, + ["groupName"] = "Ka-50s_1", + ["callsign"] = 100, + ["countryId"] = 2, + ["x"] = -237571.42857143, + ["skill"] = "High", + ["heading"] = 2.5953630185698, + ["unitId"] = 3, + ["y"] = 615000, + ["coalition"] = "red", + ["speed"] = 55.555555555556, }, -- end of [3] [4] = { ["alt"] = 500, - ["heading"] = 2.5953630185698, ["point"] = { ["y"] = 615040, ["x"] = -237611.42857143, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "Ka-50s_1", ["livery_id"] = "Russia Demo #024", - ["skill"] = "High", - ["unitId"] = 4, - ["countryId"] = 2, - ["type"] = "Ka-50", - ["unitName"] = "Ka-50s_1_2", + ["onboard_num"] = "51", ["category"] = "helicopter", - ["speed"] = 55.555555555556, + ["unitName"] = "Ka-50s_1_2", + ["type"] = "Ka-50", ["country"] = "russia", - ["coalition"] = "red", + ["psi"] = -2.5953630185698, ["groupId"] = 2, + ["groupName"] = "Ka-50s_1", + ["callsign"] = 101, + ["countryId"] = 2, + ["x"] = -237611.42857143, + ["skill"] = "High", + ["heading"] = 2.5953630185698, + ["unitId"] = 4, + ["y"] = 615040, + ["coalition"] = "red", + ["speed"] = 55.555555555556, }, -- end of [4] [5] = { ["alt"] = 500, - ["heading"] = 2.6119254271103, ["point"] = { ["y"] = 603285.71428571, ["x"] = -243285.71428571, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "Mi-8s_1", ["livery_id"] = "Russia", - ["skill"] = "Random", - ["unitId"] = 5, - ["countryId"] = 2, - ["type"] = "Mi-8MT", - ["unitName"] = "Mi-8s_1_1", + ["onboard_num"] = "52", ["category"] = "helicopter", - ["speed"] = 55.555555555556, + ["unitName"] = "Mi-8s_1_1", + ["type"] = "Mi-8MT", ["country"] = "russia", - ["coalition"] = "red", + ["psi"] = -2.6119254271103, ["groupId"] = 3, + ["groupName"] = "Mi-8s_1", + ["callsign"] = 103, + ["countryId"] = 2, + ["x"] = -243285.71428571, + ["skill"] = "Random", + ["heading"] = 2.6119254271103, + ["unitId"] = 5, + ["y"] = 603285.71428571, + ["coalition"] = "red", + ["speed"] = 55.555555555556, }, -- end of [5] [6] = { ["alt"] = 500, - ["heading"] = 2.6119254271103, ["point"] = { ["y"] = 603325.71428571, ["x"] = -243325.71428571, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "Mi-8s_1", ["livery_id"] = "Russia", - ["skill"] = "Random", - ["unitId"] = 6, - ["countryId"] = 2, - ["type"] = "Mi-8MT", - ["unitName"] = "Mi-8s_1_1 #1", + ["onboard_num"] = "53", ["category"] = "helicopter", - ["speed"] = 55.555555555556, + ["unitName"] = "Mi-8s_1_1 #1", + ["type"] = "Mi-8MT", ["country"] = "russia", - ["coalition"] = "red", + ["psi"] = -2.6119254271103, ["groupId"] = 3, + ["groupName"] = "Mi-8s_1", + ["callsign"] = 102, + ["countryId"] = 2, + ["x"] = -243325.71428571, + ["skill"] = "Random", + ["heading"] = 2.6119254271103, + ["unitId"] = 6, + ["y"] = 603325.71428571, + ["coalition"] = "red", + ["speed"] = 55.555555555556, }, -- end of [6] [8] = { ["alt"] = 2000, - ["heading"] = -0.57883789069348, ["point"] = { ["y"] = 662142.85714286, ["x"] = -288142.85714286, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "F-15C Client #1", ["livery_id"] = "19th Fighter SQN (AK)", - ["skill"] = "Client", - ["unitId"] = 8, - ["countryId"] = 11, - ["type"] = "F-15C", - ["unitName"] = "F-15C Client #1", + ["onboard_num"] = "10", ["category"] = "plane", - ["speed"] = 138.88888888889, + ["unitName"] = "F-15C Client #1", + ["type"] = "F-15C", ["country"] = "usa", - ["coalition"] = "blue", + ["psi"] = 0.57883789069348, ["groupId"] = 4, + ["groupName"] = "F-15C Client #1", + ["callsign"] = + { + [1] = 2, + [2] = 1, + [3] = 1, + ["name"] = "Springfield11", + }, -- end of ["callsign"] + ["countryId"] = 11, + ["x"] = -288142.85714286, + ["skill"] = "Client", + ["heading"] = -0.57883789069348, + ["unitId"] = 8, + ["y"] = 662142.85714286, + ["coalition"] = "blue", + ["speed"] = 138.88888888889, }, -- end of [8] [10] = { ["alt"] = 2000, - ["heading"] = -0.57883789069348, ["point"] = { ["y"] = 668428.57142857, ["x"] = -287000, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "F-15C Client #2", ["livery_id"] = "19th Fighter SQN (AK)", - ["skill"] = "Client", - ["unitId"] = 10, - ["countryId"] = 11, - ["type"] = "F-15C", - ["unitName"] = "F-15C Client #2", + ["onboard_num"] = "10", ["category"] = "plane", - ["speed"] = 138.88888888889, + ["unitName"] = "F-15C Client #2", + ["type"] = "F-15C", ["country"] = "usa", - ["coalition"] = "blue", + ["psi"] = 0.57883789069348, ["groupId"] = 5, + ["groupName"] = "F-15C Client #2", + ["callsign"] = + { + [1] = 2, + [2] = 1, + [3] = 1, + ["name"] = "Springfield11", + }, -- end of ["callsign"] + ["countryId"] = 11, + ["x"] = -287000, + ["skill"] = "Client", + ["heading"] = -0.57883789069348, + ["unitId"] = 10, + ["y"] = 668428.57142857, + ["coalition"] = "blue", + ["speed"] = 138.88888888889, }, -- end of [10] [11] = { ["alt"] = 2000, - ["heading"] = -0.67060113146646, ["point"] = { ["y"] = 636428.57142857, ["x"] = -318142.85714286, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "A-10C Client #1", ["livery_id"] = "104th FS Maryland ANG, Baltimore (MD)", - ["skill"] = "Client", - ["unitId"] = 11, - ["countryId"] = 11, - ["type"] = "A-10C", - ["unitName"] = "A-10C Client #1", + ["onboard_num"] = "52", ["category"] = "plane", - ["speed"] = 138.88888888889, + ["unitName"] = "A-10C Client #1", + ["type"] = "A-10C", ["country"] = "usa", - ["coalition"] = "blue", + ["psi"] = 0.67060113146646, ["groupId"] = 6, + ["groupName"] = "A-10C Client #1", + ["callsign"] = + { + [1] = 3, + [2] = 1, + [3] = 1, + ["name"] = "Uzi11", + }, -- end of ["callsign"] + ["countryId"] = 11, + ["x"] = -318142.85714286, + ["skill"] = "Client", + ["heading"] = -0.67060113146646, + ["unitId"] = 11, + ["y"] = 636428.57142857, + ["coalition"] = "blue", + ["speed"] = 138.88888888889, }, -- end of [11] [12] = { ["alt"] = 2000, - ["heading"] = -0.66079849060746, ["point"] = { ["y"] = 644428.57142857, ["x"] = -315857.14285714, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "A-10C Client #2", ["livery_id"] = "104th FS Maryland ANG, Baltimore (MD)", - ["skill"] = "Client", - ["unitId"] = 12, - ["countryId"] = 11, - ["type"] = "A-10C", - ["unitName"] = "A-10C Client #2", + ["onboard_num"] = "52", ["category"] = "plane", - ["speed"] = 138.88888888889, + ["unitName"] = "A-10C Client #2", + ["type"] = "A-10C", ["country"] = "usa", - ["coalition"] = "blue", + ["psi"] = 0.66079849060746, ["groupId"] = 7, + ["groupName"] = "A-10C Client #2", + ["callsign"] = + { + [1] = 3, + [2] = 1, + [3] = 1, + ["name"] = "Uzi11", + }, -- end of ["callsign"] + ["countryId"] = 11, + ["x"] = -315857.14285714, + ["skill"] = "Client", + ["heading"] = -0.66079849060746, + ["unitId"] = 12, + ["y"] = 644428.57142857, + ["coalition"] = "blue", + ["speed"] = 138.88888888889, }, -- end of [12] [13] = { @@ -239,15 +325,17 @@ MEunitsById = ["x"] = -355285.71428571, }, -- end of ["point"] ["groupId"] = 8, + ["groupName"] = "US Ships", ["skill"] = "Average", - ["countryId"] = 11, - ["unitId"] = 13, + ["country"] = "usa", + ["coalition"] = "blue", + ["x"] = -355285.71428571, ["heading"] = 0, ["category"] = "ship", ["unitName"] = "US Ship #1", - ["country"] = "usa", - ["coalition"] = "blue", - ["groupName"] = "US Ships", + ["unitId"] = 13, + ["y"] = 443857.14285714, + ["countryId"] = 11, }, -- end of [13] [14] = { @@ -258,15 +346,17 @@ MEunitsById = ["x"] = -356085.71428571, }, -- end of ["point"] ["groupId"] = 8, + ["groupName"] = "US Ships", ["skill"] = "Average", - ["countryId"] = 11, - ["unitId"] = 14, + ["country"] = "usa", + ["coalition"] = "blue", + ["x"] = -356085.71428571, ["heading"] = 0, ["category"] = "ship", ["unitName"] = "US Ship #2", - ["country"] = "usa", - ["coalition"] = "blue", - ["groupName"] = "US Ships", + ["unitId"] = 14, + ["y"] = 444657.14285714, + ["countryId"] = 11, }, -- end of [14] [15] = { @@ -277,15 +367,17 @@ MEunitsById = ["x"] = -34285.714285714, }, -- end of ["point"] ["groupId"] = 9, + ["groupName"] = "Rus Ships #1", ["skill"] = "Average", - ["countryId"] = 2, - ["unitId"] = 15, + ["country"] = "russia", + ["coalition"] = "red", + ["x"] = -34285.714285714, ["heading"] = 0, ["category"] = "ship", ["unitName"] = "1ship1", - ["country"] = "russia", - ["coalition"] = "red", - ["groupName"] = "Rus Ships #1", + ["unitId"] = 15, + ["y"] = 200000, + ["countryId"] = 2, }, -- end of [15] [16] = { @@ -296,15 +388,17 @@ MEunitsById = ["x"] = -35085.714285714, }, -- end of ["point"] ["groupId"] = 9, + ["groupName"] = "Rus Ships #1", ["skill"] = "Average", - ["countryId"] = 2, - ["unitId"] = 16, + ["country"] = "russia", + ["coalition"] = "red", + ["x"] = -35085.714285714, ["heading"] = 0, ["category"] = "ship", ["unitName"] = "1ship2", - ["country"] = "russia", - ["coalition"] = "red", - ["groupName"] = "Rus Ships #1", + ["unitId"] = 16, + ["y"] = 200800, + ["countryId"] = 2, }, -- end of [16] [17] = { @@ -315,15 +409,17 @@ MEunitsById = ["x"] = -86428.571428571, }, -- end of ["point"] ["groupId"] = 10, + ["groupName"] = "Rus Ships #2", ["skill"] = "Average", - ["countryId"] = 2, - ["unitId"] = 17, + ["country"] = "russia", + ["coalition"] = "red", + ["x"] = -86428.571428571, ["heading"] = 1.1755995276042, ["category"] = "ship", ["unitName"] = "2ship1", - ["country"] = "russia", - ["coalition"] = "red", - ["groupName"] = "Rus Ships #2", + ["unitId"] = 17, + ["y"] = 73571.428571428, + ["countryId"] = 2, }, -- end of [17] [18] = { @@ -334,19 +430,21 @@ MEunitsById = ["x"] = -87228.571428571, }, -- end of ["point"] ["groupId"] = 10, + ["groupName"] = "Rus Ships #2", ["skill"] = "Average", - ["countryId"] = 2, - ["unitId"] = 18, + ["country"] = "russia", + ["coalition"] = "red", + ["x"] = -87228.571428571, ["heading"] = 1.1755995276042, ["category"] = "ship", ["unitName"] = "2ship2", - ["country"] = "russia", - ["coalition"] = "red", - ["groupName"] = "Rus Ships #2", + ["unitId"] = 18, + ["y"] = 74371.428571428, + ["countryId"] = 2, }, -- end of [18] [19] = { - ["heading"] = 0, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 639800, @@ -355,18 +453,20 @@ MEunitsById = ["groupId"] = 11, ["skill"] = "Average", ["country"] = "usa", + ["groupName"] = "USTanks1", + ["y"] = 639800, ["coalition"] = "blue", + ["x"] = -294685.71428571, ["unitId"] = 19, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks1_1", ["playerCanDrive"] = true, - ["type"] = "M-1 Abrams", - ["groupName"] = "USTanks1", + ["heading"] = 0, + ["countryId"] = 11, }, -- end of [19] [20] = { - ["heading"] = 0, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 639840, @@ -375,18 +475,20 @@ MEunitsById = ["groupId"] = 11, ["skill"] = "Average", ["country"] = "usa", + ["groupName"] = "USTanks1", + ["y"] = 639840, ["coalition"] = "blue", + ["x"] = -294725.71428571, ["unitId"] = 20, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks1_2", ["playerCanDrive"] = true, - ["type"] = "M-1 Abrams", - ["groupName"] = "USTanks1", + ["heading"] = 0, + ["countryId"] = 11, }, -- end of [20] [21] = { - ["heading"] = 0, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 639880, @@ -395,18 +497,20 @@ MEunitsById = ["groupId"] = 11, ["skill"] = "Average", ["country"] = "usa", + ["groupName"] = "USTanks1", + ["y"] = 639880, ["coalition"] = "blue", + ["x"] = -294765.71428571, ["unitId"] = 21, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks1_3", ["playerCanDrive"] = true, - ["type"] = "M-1 Abrams", - ["groupName"] = "USTanks1", + ["heading"] = 0, + ["countryId"] = 11, }, -- end of [21] [22] = { - ["heading"] = 0, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 639920, @@ -415,18 +519,20 @@ MEunitsById = ["groupId"] = 11, ["skill"] = "Average", ["country"] = "usa", + ["groupName"] = "USTanks1", + ["y"] = 639920, ["coalition"] = "blue", + ["x"] = -294805.71428571, ["unitId"] = 22, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks1_4", ["playerCanDrive"] = true, - ["type"] = "M-1 Abrams", - ["groupName"] = "USTanks1", + ["heading"] = 0, + ["countryId"] = 11, }, -- end of [22] [23] = { - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 653171.42857143, @@ -435,18 +541,20 @@ MEunitsById = ["groupId"] = 12, ["skill"] = "Average", ["country"] = "usa", + ["groupName"] = "USTanks2", + ["y"] = 653171.42857143, ["coalition"] = "blue", + ["x"] = -293085.71428571, ["unitId"] = 23, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks2_1", ["playerCanDrive"] = true, - ["type"] = "M-1 Abrams", - ["groupName"] = "USTanks2", + ["heading"] = 1.4977557614926, + ["countryId"] = 11, }, -- end of [23] [24] = { - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 653211.42857143, @@ -455,18 +563,20 @@ MEunitsById = ["groupId"] = 12, ["skill"] = "Average", ["country"] = "usa", + ["groupName"] = "USTanks2", + ["y"] = 653211.42857143, ["coalition"] = "blue", + ["x"] = -293125.71428571, ["unitId"] = 24, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks2_2", ["playerCanDrive"] = true, - ["type"] = "M-1 Abrams", - ["groupName"] = "USTanks2", + ["heading"] = 1.4977557614926, + ["countryId"] = 11, }, -- end of [24] [25] = { - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 653251.42857143, @@ -475,18 +585,20 @@ MEunitsById = ["groupId"] = 12, ["skill"] = "Average", ["country"] = "usa", + ["groupName"] = "USTanks2", + ["y"] = 653251.42857143, ["coalition"] = "blue", + ["x"] = -293165.71428571, ["unitId"] = 25, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks2_3", ["playerCanDrive"] = true, - ["type"] = "M-1 Abrams", - ["groupName"] = "USTanks2", + ["heading"] = 1.4977557614926, + ["countryId"] = 11, }, -- end of [25] [26] = { - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 653291.42857143, @@ -495,18 +607,20 @@ MEunitsById = ["groupId"] = 12, ["skill"] = "Average", ["country"] = "usa", + ["groupName"] = "USTanks2", + ["y"] = 653291.42857143, ["coalition"] = "blue", + ["x"] = -293205.71428571, ["unitId"] = 26, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks2_4", ["playerCanDrive"] = true, - ["type"] = "M-1 Abrams", - ["groupName"] = "USTanks2", + ["heading"] = 1.4977557614926, + ["countryId"] = 11, }, -- end of [26] [27] = { - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", ["point"] = { ["y"] = 654545.71428571, @@ -515,18 +629,20 @@ MEunitsById = ["groupId"] = 13, ["skill"] = "Average", ["country"] = "russia", + ["groupName"] = "RuBTRs", + ["y"] = 654545.71428571, ["coalition"] = "red", + ["x"] = -292842.85714286, ["unitId"] = 27, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuBTRs1", ["playerCanDrive"] = true, - ["type"] = "BTR-80", - ["groupName"] = "RuBTRs", + ["heading"] = -1.7994767003775, + ["countryId"] = 2, }, -- end of [27] [28] = { - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", ["point"] = { ["y"] = 654585.71428571, @@ -535,18 +651,20 @@ MEunitsById = ["groupId"] = 13, ["skill"] = "Average", ["country"] = "russia", + ["groupName"] = "RuBTRs", + ["y"] = 654585.71428571, ["coalition"] = "red", + ["x"] = -292882.85714286, ["unitId"] = 28, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuBTRs2", ["playerCanDrive"] = true, - ["type"] = "BTR-80", - ["groupName"] = "RuBTRs", + ["heading"] = -1.7994767003775, + ["countryId"] = 2, }, -- end of [28] [29] = { - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", ["point"] = { ["y"] = 654625.71428571, @@ -555,18 +673,20 @@ MEunitsById = ["groupId"] = 13, ["skill"] = "Average", ["country"] = "russia", + ["groupName"] = "RuBTRs", + ["y"] = 654625.71428571, ["coalition"] = "red", + ["x"] = -292922.85714286, ["unitId"] = 29, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuBTRs3", ["playerCanDrive"] = true, - ["type"] = "BTR-80", - ["groupName"] = "RuBTRs", + ["heading"] = -1.7994767003775, + ["countryId"] = 2, }, -- end of [29] [30] = { - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", ["point"] = { ["y"] = 654665.71428571, @@ -575,18 +695,20 @@ MEunitsById = ["groupId"] = 13, ["skill"] = "Average", ["country"] = "russia", + ["groupName"] = "RuBTRs", + ["y"] = 654665.71428571, ["coalition"] = "red", + ["x"] = -292962.85714286, ["unitId"] = 30, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuBTRs4", ["playerCanDrive"] = true, - ["type"] = "BTR-80", - ["groupName"] = "RuBTRs", + ["heading"] = -1.7994767003775, + ["countryId"] = 2, }, -- end of [30] [31] = { - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", ["point"] = { ["y"] = 654705.71428571, @@ -595,18 +717,20 @@ MEunitsById = ["groupId"] = 13, ["skill"] = "Average", ["country"] = "russia", + ["groupName"] = "RuBTRs", + ["y"] = 654705.71428571, ["coalition"] = "red", + ["x"] = -293002.85714286, ["unitId"] = 31, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuBTRs5", ["playerCanDrive"] = true, - ["type"] = "BTR-80", - ["groupName"] = "RuBTRs", + ["heading"] = -1.7994767003775, + ["countryId"] = 2, }, -- end of [31] [32] = { - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", ["point"] = { ["y"] = 654745.71428571, @@ -615,18 +739,20 @@ MEunitsById = ["groupId"] = 13, ["skill"] = "Average", ["country"] = "russia", + ["groupName"] = "RuBTRs", + ["y"] = 654745.71428571, ["coalition"] = "red", + ["x"] = -293042.85714286, ["unitId"] = 32, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuBTRs6", ["playerCanDrive"] = true, - ["type"] = "BTR-80", - ["groupName"] = "RuBTRs", + ["heading"] = -1.7994767003775, + ["countryId"] = 2, }, -- end of [32] [33] = { - ["heading"] = 0, + ["type"] = "T-55", ["point"] = { ["y"] = 628677.14285714, @@ -635,18 +761,20 @@ MEunitsById = ["groupId"] = 14, ["skill"] = "Excellent", ["country"] = "russia", + ["groupName"] = "RuTanks", + ["y"] = 628677.14285714, ["coalition"] = "red", + ["x"] = -273442.85714286, ["unitId"] = 33, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuTanks1", ["playerCanDrive"] = true, - ["type"] = "T-55", - ["groupName"] = "RuTanks", + ["heading"] = 0, + ["countryId"] = 2, }, -- end of [33] [34] = { - ["heading"] = 0, + ["type"] = "T-55", ["point"] = { ["y"] = 628717.14285714, @@ -655,18 +783,20 @@ MEunitsById = ["groupId"] = 14, ["skill"] = "Excellent", ["country"] = "russia", + ["groupName"] = "RuTanks", + ["y"] = 628717.14285714, ["coalition"] = "red", + ["x"] = -273482.85714286, ["unitId"] = 34, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuTanks2", ["playerCanDrive"] = true, - ["type"] = "T-55", - ["groupName"] = "RuTanks", + ["heading"] = 0, + ["countryId"] = 2, }, -- end of [34] [35] = { - ["heading"] = 0, + ["type"] = "T-55", ["point"] = { ["y"] = 628757.14285714, @@ -675,18 +805,20 @@ MEunitsById = ["groupId"] = 14, ["skill"] = "Excellent", ["country"] = "russia", + ["groupName"] = "RuTanks", + ["y"] = 628757.14285714, ["coalition"] = "red", + ["x"] = -273522.85714286, ["unitId"] = 35, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuTanks3", ["playerCanDrive"] = true, - ["type"] = "T-55", - ["groupName"] = "RuTanks", + ["heading"] = 0, + ["countryId"] = 2, }, -- end of [35] [36] = { - ["heading"] = 0, + ["type"] = "T-55", ["point"] = { ["y"] = 628797.14285714, @@ -695,52 +827,58 @@ MEunitsById = ["groupId"] = 14, ["skill"] = "Excellent", ["country"] = "russia", + ["groupName"] = "RuTanks", + ["y"] = 628797.14285714, ["coalition"] = "red", + ["x"] = -273562.85714286, ["unitId"] = 36, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuTanks4", ["playerCanDrive"] = true, - ["type"] = "T-55", - ["groupName"] = "RuTanks", + ["heading"] = 0, + ["countryId"] = 2, }, -- end of [36] [37] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 636248.57142857, ["x"] = -300871.42857143, }, -- end of ["point"] - ["unitId"] = 37, + ["groupId"] = 15, ["groupName"] = "tent1", + ["unitId"] = 37, ["countryId"] = 11, - ["coalition"] = "blue", + ["x"] = -300871.42857143, + ["heading"] = 0, ["category"] = "static", ["unitName"] = "tent1", ["country"] = "usa", - ["type"] = "FARP Tent", - ["groupId"] = 15, + ["y"] = 636248.57142857, + ["coalition"] = "blue", }, -- end of [37] [38] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 638620, ["x"] = -299814.28571429, }, -- end of ["point"] - ["unitId"] = 38, + ["groupId"] = 16, ["groupName"] = "tent2", + ["unitId"] = 38, ["countryId"] = 11, - ["coalition"] = "blue", + ["x"] = -299814.28571429, + ["heading"] = 0, ["category"] = "static", ["unitName"] = "tent2", ["country"] = "usa", - ["type"] = "FARP Tent", - ["groupId"] = 16, + ["y"] = 638620, + ["coalition"] = "blue", }, -- end of [38] [39] = { @@ -750,117 +888,135 @@ MEunitsById = ["y"] = 617591.42857143, ["x"] = -258442.85714286, }, -- end of ["point"] - ["unitId"] = 39, + ["groupId"] = 17, ["groupName"] = "RU Farp", + ["unitId"] = 39, ["coalition"] = "red", - ["country"] = "russia", + ["x"] = -258442.85714286, + ["type"] = "FARP", ["category"] = "static", ["unitName"] = "RU Farp", + ["country"] = "russia", ["countryId"] = 2, - ["type"] = "FARP", - ["groupId"] = 17, + ["y"] = 617591.42857143, }, -- end of [39] [40] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 617962.85714285, ["x"] = -258642.85714286, }, -- end of ["point"] - ["unitId"] = 40, + ["groupId"] = 18, ["groupName"] = "RuTent1", + ["unitId"] = 40, ["countryId"] = 2, - ["coalition"] = "red", + ["x"] = -258642.85714286, + ["heading"] = 0, ["category"] = "static", ["unitName"] = "RuTent1", ["country"] = "russia", - ["type"] = "FARP Tent", - ["groupId"] = 18, + ["y"] = 617962.85714285, + ["coalition"] = "red", }, -- end of [40] [41] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 617691.42857143, ["x"] = -259071.42857143, }, -- end of ["point"] - ["unitId"] = 41, + ["groupId"] = 19, ["groupName"] = "RuTent2", + ["unitId"] = 41, ["countryId"] = 2, - ["coalition"] = "red", + ["x"] = -259071.42857143, + ["heading"] = 0, ["category"] = "static", ["unitName"] = "RuTent2", ["country"] = "russia", - ["type"] = "FARP Tent", - ["groupId"] = 19, + ["y"] = 617691.42857143, + ["coalition"] = "red", }, -- end of [41] [42] = { ["alt"] = 2000, - ["heading"] = 0, ["point"] = { ["y"] = 590391.42857142, ["x"] = -250185.71428571, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "Su-33 Client #1", ["livery_id"] = "279th kiap 1st squad navy", - ["skill"] = "Client", - ["unitId"] = 42, - ["countryId"] = 2, - ["type"] = "Su-33", - ["unitName"] = "Su-33 Client #1", + ["onboard_num"] = "53", ["category"] = "plane", - ["speed"] = 138.88888888889, + ["unitName"] = "Su-33 Client #1", + ["type"] = "Su-33", ["country"] = "russia", - ["coalition"] = "red", + ["psi"] = 0, ["groupId"] = 20, + ["groupName"] = "Su-33 Client #1", + ["callsign"] = 104, + ["countryId"] = 2, + ["x"] = -250185.71428571, + ["skill"] = "Client", + ["heading"] = 0, + ["unitId"] = 42, + ["y"] = 590391.42857142, + ["coalition"] = "red", + ["speed"] = 138.88888888889, }, -- end of [42] [43] = { ["alt"] = 2000, - ["heading"] = 0, ["point"] = { ["y"] = 597819.99999999, ["x"] = -235614.28571428, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "Su-33 Client #2", ["livery_id"] = "279th kiap 1st squad navy", - ["skill"] = "Client", - ["unitId"] = 43, - ["countryId"] = 2, - ["type"] = "Su-33", - ["unitName"] = "Su-33 Client #2", + ["onboard_num"] = "53", ["category"] = "plane", - ["speed"] = 138.88888888889, + ["unitName"] = "Su-33 Client #2", + ["type"] = "Su-33", ["country"] = "russia", - ["coalition"] = "red", + ["psi"] = 0, ["groupId"] = 21, + ["groupName"] = "Su-33 Client #2", + ["callsign"] = 104, + ["countryId"] = 2, + ["x"] = -235614.28571428, + ["skill"] = "Client", + ["heading"] = 0, + ["unitId"] = 43, + ["y"] = 597819.99999999, + ["coalition"] = "red", + ["speed"] = 138.88888888889, }, -- end of [43] [44] = { ["shape_name"] = "konteiner_red1", - ["heading"] = 0, + ["type"] = "Container red 1", ["point"] = { ["y"] = 684605.71428571, ["x"] = -279949.99999999, }, -- end of ["point"] - ["unitId"] = 44, + ["groupId"] = 30, ["groupName"] = "static", + ["unitId"] = 44, ["countryId"] = 11, - ["coalition"] = "blue", + ["x"] = -279949.99999999, + ["heading"] = 0, ["category"] = "static", ["unitName"] = "static", ["country"] = "usa", - ["type"] = "Container red 1", - ["groupId"] = 30, + ["y"] = 684605.71428571, + ["coalition"] = "blue", }, -- end of [44] } -- end of MEunitsById diff --git a/Example DBs/mist_DBs_MEunitsByName.lua b/Example DBs/mist_DBs_MEunitsByName.lua index 2d6851c..4f6d446 100644 --- a/Example DBs/mist_DBs_MEunitsByName.lua +++ b/Example DBs/mist_DBs_MEunitsByName.lua @@ -3,25 +3,27 @@ MEunitsByName = ["RuTent1"] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 617962.85714285, ["x"] = -258642.85714286, }, -- end of ["point"] - ["unitId"] = 40, + ["groupId"] = 18, ["groupName"] = "RuTent1", + ["unitId"] = 40, ["countryId"] = 2, - ["coalition"] = "red", + ["x"] = -258642.85714286, + ["heading"] = 0, ["category"] = "static", ["unitName"] = "RuTent1", ["country"] = "russia", - ["type"] = "FARP Tent", - ["groupId"] = 18, + ["y"] = 617962.85714285, + ["coalition"] = "red", }, -- end of ["RuTent1"] ["USTanks1_1"] = { - ["heading"] = 0, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 639800, @@ -30,18 +32,20 @@ MEunitsByName = ["groupId"] = 11, ["skill"] = "Average", ["country"] = "usa", + ["groupName"] = "USTanks1", + ["y"] = 639800, ["coalition"] = "blue", + ["x"] = -294685.71428571, ["unitId"] = 19, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks1_1", ["playerCanDrive"] = true, - ["type"] = "M-1 Abrams", - ["groupName"] = "USTanks1", + ["heading"] = 0, + ["countryId"] = 11, }, -- end of ["USTanks1_1"] ["USTanks2_4"] = { - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 653291.42857143, @@ -50,37 +54,50 @@ MEunitsByName = ["groupId"] = 12, ["skill"] = "Average", ["country"] = "usa", + ["groupName"] = "USTanks2", + ["y"] = 653291.42857143, ["coalition"] = "blue", + ["x"] = -293205.71428571, ["unitId"] = 26, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks2_4", ["playerCanDrive"] = true, - ["type"] = "M-1 Abrams", - ["groupName"] = "USTanks2", + ["heading"] = 1.4977557614926, + ["countryId"] = 11, }, -- end of ["USTanks2_4"] ["A-10C Client #1"] = { ["alt"] = 2000, - ["heading"] = -0.67060113146646, ["point"] = { ["y"] = 636428.57142857, ["x"] = -318142.85714286, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "A-10C Client #1", ["livery_id"] = "104th FS Maryland ANG, Baltimore (MD)", - ["skill"] = "Client", - ["unitId"] = 11, - ["countryId"] = 11, - ["type"] = "A-10C", - ["unitName"] = "A-10C Client #1", + ["onboard_num"] = "52", ["category"] = "plane", - ["speed"] = 138.88888888889, + ["unitName"] = "A-10C Client #1", + ["type"] = "A-10C", ["country"] = "usa", - ["coalition"] = "blue", + ["psi"] = 0.67060113146646, ["groupId"] = 6, + ["groupName"] = "A-10C Client #1", + ["callsign"] = + { + [1] = 3, + [2] = 1, + [3] = 1, + ["name"] = "Uzi11", + }, -- end of ["callsign"] + ["countryId"] = 11, + ["x"] = -318142.85714286, + ["skill"] = "Client", + ["heading"] = -0.67060113146646, + ["unitId"] = 11, + ["y"] = 636428.57142857, + ["coalition"] = "blue", + ["speed"] = 138.88888888889, }, -- end of ["A-10C Client #1"] ["1ship2"] = { @@ -91,38 +108,51 @@ MEunitsByName = ["x"] = -35085.714285714, }, -- end of ["point"] ["groupId"] = 9, + ["groupName"] = "Rus Ships #1", ["skill"] = "Average", - ["countryId"] = 2, - ["unitId"] = 16, + ["country"] = "russia", + ["coalition"] = "red", + ["x"] = -35085.714285714, ["heading"] = 0, ["category"] = "ship", ["unitName"] = "1ship2", - ["country"] = "russia", - ["coalition"] = "red", - ["groupName"] = "Rus Ships #1", + ["unitId"] = 16, + ["y"] = 200800, + ["countryId"] = 2, }, -- end of ["1ship2"] ["AH-1s_1_2"] = { ["alt"] = 500, - ["heading"] = 0.017389551289373, ["point"] = { ["y"] = 631897.14285714, ["x"] = -297897.14285714, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "AH-1s_1", ["livery_id"] = "standard", - ["skill"] = "High", - ["unitId"] = 2, - ["countryId"] = 11, - ["type"] = "AH-1W", - ["unitName"] = "AH-1s_1_2", + ["onboard_num"] = "51", ["category"] = "helicopter", - ["speed"] = 55.555555555556, + ["unitName"] = "AH-1s_1_2", + ["type"] = "AH-1W", ["country"] = "usa", - ["coalition"] = "blue", + ["psi"] = -0.017389551289373, ["groupId"] = 1, + ["groupName"] = "AH-1s_1", + ["callsign"] = + { + [1] = 1, + [2] = 1, + [3] = 2, + ["name"] = "Enfield12", + }, -- end of ["callsign"] + ["countryId"] = 11, + ["x"] = -297897.14285714, + ["skill"] = "High", + ["heading"] = 0.017389551289373, + ["unitId"] = 2, + ["y"] = 631897.14285714, + ["coalition"] = "blue", + ["speed"] = 55.555555555556, }, -- end of ["AH-1s_1_2"] ["1ship1"] = { @@ -133,19 +163,21 @@ MEunitsByName = ["x"] = -34285.714285714, }, -- end of ["point"] ["groupId"] = 9, + ["groupName"] = "Rus Ships #1", ["skill"] = "Average", - ["countryId"] = 2, - ["unitId"] = 15, + ["country"] = "russia", + ["coalition"] = "red", + ["x"] = -34285.714285714, ["heading"] = 0, ["category"] = "ship", ["unitName"] = "1ship1", - ["country"] = "russia", - ["coalition"] = "red", - ["groupName"] = "Rus Ships #1", + ["unitId"] = 15, + ["y"] = 200000, + ["countryId"] = 2, }, -- end of ["1ship1"] ["RuBTRs2"] = { - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", ["point"] = { ["y"] = 654585.71428571, @@ -154,102 +186,124 @@ MEunitsByName = ["groupId"] = 13, ["skill"] = "Average", ["country"] = "russia", + ["groupName"] = "RuBTRs", + ["y"] = 654585.71428571, ["coalition"] = "red", + ["x"] = -292882.85714286, ["unitId"] = 28, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuBTRs2", ["playerCanDrive"] = true, - ["type"] = "BTR-80", - ["groupName"] = "RuBTRs", + ["heading"] = -1.7994767003775, + ["countryId"] = 2, }, -- end of ["RuBTRs2"] ["AH-1s_1_1"] = { ["alt"] = 500, - ["heading"] = 0.017389551289373, ["point"] = { ["y"] = 631857.14285714, ["x"] = -297857.14285714, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "AH-1s_1", ["livery_id"] = "standard", - ["skill"] = "High", - ["unitId"] = 1, - ["countryId"] = 11, - ["type"] = "AH-1W", - ["unitName"] = "AH-1s_1_1", + ["onboard_num"] = "50", ["category"] = "helicopter", - ["speed"] = 55.555555555556, + ["unitName"] = "AH-1s_1_1", + ["type"] = "AH-1W", ["country"] = "usa", - ["coalition"] = "blue", + ["psi"] = -0.017389551289373, ["groupId"] = 1, + ["groupName"] = "AH-1s_1", + ["callsign"] = + { + [1] = 1, + [2] = 1, + [3] = 1, + ["name"] = "Enfield11", + }, -- end of ["callsign"] + ["countryId"] = 11, + ["x"] = -297857.14285714, + ["skill"] = "High", + ["heading"] = 0.017389551289373, + ["unitId"] = 1, + ["y"] = 631857.14285714, + ["coalition"] = "blue", + ["speed"] = 55.555555555556, }, -- end of ["AH-1s_1_1"] ["Mi-8s_1_1 #1"] = { ["alt"] = 500, - ["heading"] = 2.6119254271103, ["point"] = { ["y"] = 603325.71428571, ["x"] = -243325.71428571, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "Mi-8s_1", ["livery_id"] = "Russia", - ["skill"] = "Random", - ["unitId"] = 6, - ["countryId"] = 2, - ["type"] = "Mi-8MT", - ["unitName"] = "Mi-8s_1_1 #1", + ["onboard_num"] = "53", ["category"] = "helicopter", - ["speed"] = 55.555555555556, + ["unitName"] = "Mi-8s_1_1 #1", + ["type"] = "Mi-8MT", ["country"] = "russia", - ["coalition"] = "red", + ["psi"] = -2.6119254271103, ["groupId"] = 3, + ["groupName"] = "Mi-8s_1", + ["callsign"] = 102, + ["countryId"] = 2, + ["x"] = -243325.71428571, + ["skill"] = "Random", + ["heading"] = 2.6119254271103, + ["unitId"] = 6, + ["y"] = 603325.71428571, + ["coalition"] = "red", + ["speed"] = 55.555555555556, }, -- end of ["Mi-8s_1_1 #1"] ["tent1"] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 636248.57142857, ["x"] = -300871.42857143, }, -- end of ["point"] - ["unitId"] = 37, + ["groupId"] = 15, ["groupName"] = "tent1", + ["unitId"] = 37, ["countryId"] = 11, - ["coalition"] = "blue", + ["x"] = -300871.42857143, + ["heading"] = 0, ["category"] = "static", ["unitName"] = "tent1", ["country"] = "usa", - ["type"] = "FARP Tent", - ["groupId"] = 15, + ["y"] = 636248.57142857, + ["coalition"] = "blue", }, -- end of ["tent1"] ["static"] = { ["shape_name"] = "konteiner_red1", - ["heading"] = 0, + ["type"] = "Container red 1", ["point"] = { ["y"] = 684605.71428571, ["x"] = -279949.99999999, }, -- end of ["point"] - ["unitId"] = 44, + ["groupId"] = 30, ["groupName"] = "static", + ["unitId"] = 44, ["countryId"] = 11, - ["coalition"] = "blue", + ["x"] = -279949.99999999, + ["heading"] = 0, ["category"] = "static", ["unitName"] = "static", ["country"] = "usa", - ["type"] = "Container red 1", - ["groupId"] = 30, + ["y"] = 684605.71428571, + ["coalition"] = "blue", }, -- end of ["static"] ["RuBTRs4"] = { - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", ["point"] = { ["y"] = 654665.71428571, @@ -258,18 +312,20 @@ MEunitsByName = ["groupId"] = 13, ["skill"] = "Average", ["country"] = "russia", + ["groupName"] = "RuBTRs", + ["y"] = 654665.71428571, ["coalition"] = "red", + ["x"] = -292962.85714286, ["unitId"] = 30, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuBTRs4", ["playerCanDrive"] = true, - ["type"] = "BTR-80", - ["groupName"] = "RuBTRs", + ["heading"] = -1.7994767003775, + ["countryId"] = 2, }, -- end of ["RuBTRs4"] ["USTanks2_1"] = { - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 653171.42857143, @@ -278,18 +334,20 @@ MEunitsByName = ["groupId"] = 12, ["skill"] = "Average", ["country"] = "usa", + ["groupName"] = "USTanks2", + ["y"] = 653171.42857143, ["coalition"] = "blue", + ["x"] = -293085.71428571, ["unitId"] = 23, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks2_1", ["playerCanDrive"] = true, - ["type"] = "M-1 Abrams", - ["groupName"] = "USTanks2", + ["heading"] = 1.4977557614926, + ["countryId"] = 11, }, -- end of ["USTanks2_1"] ["USTanks1_2"] = { - ["heading"] = 0, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 639840, @@ -298,14 +356,16 @@ MEunitsByName = ["groupId"] = 11, ["skill"] = "Average", ["country"] = "usa", + ["groupName"] = "USTanks1", + ["y"] = 639840, ["coalition"] = "blue", + ["x"] = -294725.71428571, ["unitId"] = 20, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks1_2", ["playerCanDrive"] = true, - ["type"] = "M-1 Abrams", - ["groupName"] = "USTanks1", + ["heading"] = 0, + ["countryId"] = 11, }, -- end of ["USTanks1_2"] ["US Ship #2"] = { @@ -316,42 +376,55 @@ MEunitsByName = ["x"] = -356085.71428571, }, -- end of ["point"] ["groupId"] = 8, + ["groupName"] = "US Ships", ["skill"] = "Average", - ["countryId"] = 11, - ["unitId"] = 14, + ["country"] = "usa", + ["coalition"] = "blue", + ["x"] = -356085.71428571, ["heading"] = 0, ["category"] = "ship", ["unitName"] = "US Ship #2", - ["country"] = "usa", - ["coalition"] = "blue", - ["groupName"] = "US Ships", + ["unitId"] = 14, + ["y"] = 444657.14285714, + ["countryId"] = 11, }, -- end of ["US Ship #2"] ["A-10C Client #2"] = { ["alt"] = 2000, - ["heading"] = -0.66079849060746, ["point"] = { ["y"] = 644428.57142857, ["x"] = -315857.14285714, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "A-10C Client #2", ["livery_id"] = "104th FS Maryland ANG, Baltimore (MD)", - ["skill"] = "Client", - ["unitId"] = 12, - ["countryId"] = 11, - ["type"] = "A-10C", - ["unitName"] = "A-10C Client #2", + ["onboard_num"] = "52", ["category"] = "plane", - ["speed"] = 138.88888888889, + ["unitName"] = "A-10C Client #2", + ["type"] = "A-10C", ["country"] = "usa", - ["coalition"] = "blue", + ["psi"] = 0.66079849060746, ["groupId"] = 7, + ["groupName"] = "A-10C Client #2", + ["callsign"] = + { + [1] = 3, + [2] = 1, + [3] = 1, + ["name"] = "Uzi11", + }, -- end of ["callsign"] + ["countryId"] = 11, + ["x"] = -315857.14285714, + ["skill"] = "Client", + ["heading"] = -0.66079849060746, + ["unitId"] = 12, + ["y"] = 644428.57142857, + ["coalition"] = "blue", + ["speed"] = 138.88888888889, }, -- end of ["A-10C Client #2"] ["USTanks1_3"] = { - ["heading"] = 0, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 639880, @@ -360,60 +433,69 @@ MEunitsByName = ["groupId"] = 11, ["skill"] = "Average", ["country"] = "usa", + ["groupName"] = "USTanks1", + ["y"] = 639880, ["coalition"] = "blue", + ["x"] = -294765.71428571, ["unitId"] = 21, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks1_3", ["playerCanDrive"] = true, - ["type"] = "M-1 Abrams", - ["groupName"] = "USTanks1", + ["heading"] = 0, + ["countryId"] = 11, }, -- end of ["USTanks1_3"] ["RuTent2"] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 617691.42857143, ["x"] = -259071.42857143, }, -- end of ["point"] - ["unitId"] = 41, + ["groupId"] = 19, ["groupName"] = "RuTent2", + ["unitId"] = 41, ["countryId"] = 2, - ["coalition"] = "red", + ["x"] = -259071.42857143, + ["heading"] = 0, ["category"] = "static", ["unitName"] = "RuTent2", ["country"] = "russia", - ["type"] = "FARP Tent", - ["groupId"] = 19, + ["y"] = 617691.42857143, + ["coalition"] = "red", }, -- end of ["RuTent2"] ["Ka-50s_1_2"] = { ["alt"] = 500, - ["heading"] = 2.5953630185698, ["point"] = { ["y"] = 615040, ["x"] = -237611.42857143, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "Ka-50s_1", ["livery_id"] = "Russia Demo #024", - ["skill"] = "High", - ["unitId"] = 4, - ["countryId"] = 2, - ["type"] = "Ka-50", - ["unitName"] = "Ka-50s_1_2", + ["onboard_num"] = "51", ["category"] = "helicopter", - ["speed"] = 55.555555555556, + ["unitName"] = "Ka-50s_1_2", + ["type"] = "Ka-50", ["country"] = "russia", - ["coalition"] = "red", + ["psi"] = -2.5953630185698, ["groupId"] = 2, + ["groupName"] = "Ka-50s_1", + ["callsign"] = 101, + ["countryId"] = 2, + ["x"] = -237611.42857143, + ["skill"] = "High", + ["heading"] = 2.5953630185698, + ["unitId"] = 4, + ["y"] = 615040, + ["coalition"] = "red", + ["speed"] = 55.555555555556, }, -- end of ["Ka-50s_1_2"] ["RuTanks3"] = { - ["heading"] = 0, + ["type"] = "T-55", ["point"] = { ["y"] = 628757.14285714, @@ -422,18 +504,20 @@ MEunitsByName = ["groupId"] = 14, ["skill"] = "Excellent", ["country"] = "russia", + ["groupName"] = "RuTanks", + ["y"] = 628757.14285714, ["coalition"] = "red", + ["x"] = -273522.85714286, ["unitId"] = 35, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuTanks3", ["playerCanDrive"] = true, - ["type"] = "T-55", - ["groupName"] = "RuTanks", + ["heading"] = 0, + ["countryId"] = 2, }, -- end of ["RuTanks3"] ["USTanks2_2"] = { - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 653211.42857143, @@ -442,41 +526,48 @@ MEunitsByName = ["groupId"] = 12, ["skill"] = "Average", ["country"] = "usa", + ["groupName"] = "USTanks2", + ["y"] = 653211.42857143, ["coalition"] = "blue", + ["x"] = -293125.71428571, ["unitId"] = 24, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks2_2", ["playerCanDrive"] = true, - ["type"] = "M-1 Abrams", - ["groupName"] = "USTanks2", + ["heading"] = 1.4977557614926, + ["countryId"] = 11, }, -- end of ["USTanks2_2"] ["Ka-50s_1_1"] = { ["alt"] = 500, - ["heading"] = 2.5953630185698, ["point"] = { ["y"] = 615000, ["x"] = -237571.42857143, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "Ka-50s_1", ["livery_id"] = "Russia Demo #024", - ["skill"] = "High", - ["unitId"] = 3, - ["countryId"] = 2, - ["type"] = "Ka-50", - ["unitName"] = "Ka-50s_1_1", + ["onboard_num"] = "50", ["category"] = "helicopter", - ["speed"] = 55.555555555556, + ["unitName"] = "Ka-50s_1_1", + ["type"] = "Ka-50", ["country"] = "russia", - ["coalition"] = "red", + ["psi"] = -2.5953630185698, ["groupId"] = 2, + ["groupName"] = "Ka-50s_1", + ["callsign"] = 100, + ["countryId"] = 2, + ["x"] = -237571.42857143, + ["skill"] = "High", + ["heading"] = 2.5953630185698, + ["unitId"] = 3, + ["y"] = 615000, + ["coalition"] = "red", + ["speed"] = 55.555555555556, }, -- end of ["Ka-50s_1_1"] ["RuBTRs1"] = { - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", ["point"] = { ["y"] = 654545.71428571, @@ -485,18 +576,20 @@ MEunitsByName = ["groupId"] = 13, ["skill"] = "Average", ["country"] = "russia", + ["groupName"] = "RuBTRs", + ["y"] = 654545.71428571, ["coalition"] = "red", + ["x"] = -292842.85714286, ["unitId"] = 27, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuBTRs1", ["playerCanDrive"] = true, - ["type"] = "BTR-80", - ["groupName"] = "RuBTRs", + ["heading"] = -1.7994767003775, + ["countryId"] = 2, }, -- end of ["RuBTRs1"] ["USTanks2_3"] = { - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 653251.42857143, @@ -505,14 +598,16 @@ MEunitsByName = ["groupId"] = 12, ["skill"] = "Average", ["country"] = "usa", + ["groupName"] = "USTanks2", + ["y"] = 653251.42857143, ["coalition"] = "blue", + ["x"] = -293165.71428571, ["unitId"] = 25, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks2_3", ["playerCanDrive"] = true, - ["type"] = "M-1 Abrams", - ["groupName"] = "USTanks2", + ["heading"] = 1.4977557614926, + ["countryId"] = 11, }, -- end of ["USTanks2_3"] ["RU Farp"] = { @@ -522,19 +617,21 @@ MEunitsByName = ["y"] = 617591.42857143, ["x"] = -258442.85714286, }, -- end of ["point"] - ["unitId"] = 39, + ["groupId"] = 17, ["groupName"] = "RU Farp", + ["unitId"] = 39, ["coalition"] = "red", - ["country"] = "russia", + ["x"] = -258442.85714286, + ["type"] = "FARP", ["category"] = "static", ["unitName"] = "RU Farp", + ["country"] = "russia", ["countryId"] = 2, - ["type"] = "FARP", - ["groupId"] = 17, + ["y"] = 617591.42857143, }, -- end of ["RU Farp"] ["USTanks1_4"] = { - ["heading"] = 0, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 639920, @@ -543,14 +640,16 @@ MEunitsByName = ["groupId"] = 11, ["skill"] = "Average", ["country"] = "usa", + ["groupName"] = "USTanks1", + ["y"] = 639920, ["coalition"] = "blue", + ["x"] = -294805.71428571, ["unitId"] = 22, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks1_4", ["playerCanDrive"] = true, - ["type"] = "M-1 Abrams", - ["groupName"] = "USTanks1", + ["heading"] = 0, + ["countryId"] = 11, }, -- end of ["USTanks1_4"] ["2ship2"] = { @@ -561,38 +660,45 @@ MEunitsByName = ["x"] = -87228.571428571, }, -- end of ["point"] ["groupId"] = 10, + ["groupName"] = "Rus Ships #2", ["skill"] = "Average", - ["countryId"] = 2, - ["unitId"] = 18, + ["country"] = "russia", + ["coalition"] = "red", + ["x"] = -87228.571428571, ["heading"] = 1.1755995276042, ["category"] = "ship", ["unitName"] = "2ship2", - ["country"] = "russia", - ["coalition"] = "red", - ["groupName"] = "Rus Ships #2", + ["unitId"] = 18, + ["y"] = 74371.428571428, + ["countryId"] = 2, }, -- end of ["2ship2"] ["Mi-8s_1_1"] = { ["alt"] = 500, - ["heading"] = 2.6119254271103, ["point"] = { ["y"] = 603285.71428571, ["x"] = -243285.71428571, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "Mi-8s_1", ["livery_id"] = "Russia", - ["skill"] = "Random", - ["unitId"] = 5, - ["countryId"] = 2, - ["type"] = "Mi-8MT", - ["unitName"] = "Mi-8s_1_1", + ["onboard_num"] = "52", ["category"] = "helicopter", - ["speed"] = 55.555555555556, + ["unitName"] = "Mi-8s_1_1", + ["type"] = "Mi-8MT", ["country"] = "russia", - ["coalition"] = "red", + ["psi"] = -2.6119254271103, ["groupId"] = 3, + ["groupName"] = "Mi-8s_1", + ["callsign"] = 103, + ["countryId"] = 2, + ["x"] = -243285.71428571, + ["skill"] = "Random", + ["heading"] = 2.6119254271103, + ["unitId"] = 5, + ["y"] = 603285.71428571, + ["coalition"] = "red", + ["speed"] = 55.555555555556, }, -- end of ["Mi-8s_1_1"] ["US Ship #1"] = { @@ -603,19 +709,21 @@ MEunitsByName = ["x"] = -355285.71428571, }, -- end of ["point"] ["groupId"] = 8, + ["groupName"] = "US Ships", ["skill"] = "Average", - ["countryId"] = 11, - ["unitId"] = 13, + ["country"] = "usa", + ["coalition"] = "blue", + ["x"] = -355285.71428571, ["heading"] = 0, ["category"] = "ship", ["unitName"] = "US Ship #1", - ["country"] = "usa", - ["coalition"] = "blue", - ["groupName"] = "US Ships", + ["unitId"] = 13, + ["y"] = 443857.14285714, + ["countryId"] = 11, }, -- end of ["US Ship #1"] ["RuBTRs5"] = { - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", ["point"] = { ["y"] = 654705.71428571, @@ -624,18 +732,20 @@ MEunitsByName = ["groupId"] = 13, ["skill"] = "Average", ["country"] = "russia", + ["groupName"] = "RuBTRs", + ["y"] = 654705.71428571, ["coalition"] = "red", + ["x"] = -293002.85714286, ["unitId"] = 31, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuBTRs5", ["playerCanDrive"] = true, - ["type"] = "BTR-80", - ["groupName"] = "RuBTRs", + ["heading"] = -1.7994767003775, + ["countryId"] = 2, }, -- end of ["RuBTRs5"] ["RuBTRs6"] = { - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", ["point"] = { ["y"] = 654745.71428571, @@ -644,37 +754,41 @@ MEunitsByName = ["groupId"] = 13, ["skill"] = "Average", ["country"] = "russia", + ["groupName"] = "RuBTRs", + ["y"] = 654745.71428571, ["coalition"] = "red", + ["x"] = -293042.85714286, ["unitId"] = 32, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuBTRs6", ["playerCanDrive"] = true, - ["type"] = "BTR-80", - ["groupName"] = "RuBTRs", + ["heading"] = -1.7994767003775, + ["countryId"] = 2, }, -- end of ["RuBTRs6"] ["tent2"] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 638620, ["x"] = -299814.28571429, }, -- end of ["point"] - ["unitId"] = 38, + ["groupId"] = 16, ["groupName"] = "tent2", + ["unitId"] = 38, ["countryId"] = 11, - ["coalition"] = "blue", + ["x"] = -299814.28571429, + ["heading"] = 0, ["category"] = "static", ["unitName"] = "tent2", ["country"] = "usa", - ["type"] = "FARP Tent", - ["groupId"] = 16, + ["y"] = 638620, + ["coalition"] = "blue", }, -- end of ["tent2"] ["RuBTRs3"] = { - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", ["point"] = { ["y"] = 654625.71428571, @@ -683,41 +797,54 @@ MEunitsByName = ["groupId"] = 13, ["skill"] = "Average", ["country"] = "russia", + ["groupName"] = "RuBTRs", + ["y"] = 654625.71428571, ["coalition"] = "red", + ["x"] = -292922.85714286, ["unitId"] = 29, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuBTRs3", ["playerCanDrive"] = true, - ["type"] = "BTR-80", - ["groupName"] = "RuBTRs", + ["heading"] = -1.7994767003775, + ["countryId"] = 2, }, -- end of ["RuBTRs3"] ["F-15C Client #1"] = { ["alt"] = 2000, - ["heading"] = -0.57883789069348, ["point"] = { ["y"] = 662142.85714286, ["x"] = -288142.85714286, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "F-15C Client #1", ["livery_id"] = "19th Fighter SQN (AK)", - ["skill"] = "Client", - ["unitId"] = 8, - ["countryId"] = 11, - ["type"] = "F-15C", - ["unitName"] = "F-15C Client #1", + ["onboard_num"] = "10", ["category"] = "plane", - ["speed"] = 138.88888888889, + ["unitName"] = "F-15C Client #1", + ["type"] = "F-15C", ["country"] = "usa", - ["coalition"] = "blue", + ["psi"] = 0.57883789069348, ["groupId"] = 4, + ["groupName"] = "F-15C Client #1", + ["callsign"] = + { + [1] = 2, + [2] = 1, + [3] = 1, + ["name"] = "Springfield11", + }, -- end of ["callsign"] + ["countryId"] = 11, + ["x"] = -288142.85714286, + ["skill"] = "Client", + ["heading"] = -0.57883789069348, + ["unitId"] = 8, + ["y"] = 662142.85714286, + ["coalition"] = "blue", + ["speed"] = 138.88888888889, }, -- end of ["F-15C Client #1"] ["RuTanks1"] = { - ["heading"] = 0, + ["type"] = "T-55", ["point"] = { ["y"] = 628677.14285714, @@ -726,18 +853,20 @@ MEunitsByName = ["groupId"] = 14, ["skill"] = "Excellent", ["country"] = "russia", + ["groupName"] = "RuTanks", + ["y"] = 628677.14285714, ["coalition"] = "red", + ["x"] = -273442.85714286, ["unitId"] = 33, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuTanks1", ["playerCanDrive"] = true, - ["type"] = "T-55", - ["groupName"] = "RuTanks", + ["heading"] = 0, + ["countryId"] = 2, }, -- end of ["RuTanks1"] ["RuTanks2"] = { - ["heading"] = 0, + ["type"] = "T-55", ["point"] = { ["y"] = 628717.14285714, @@ -746,18 +875,20 @@ MEunitsByName = ["groupId"] = 14, ["skill"] = "Excellent", ["country"] = "russia", + ["groupName"] = "RuTanks", + ["y"] = 628717.14285714, ["coalition"] = "red", + ["x"] = -273482.85714286, ["unitId"] = 34, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuTanks2", ["playerCanDrive"] = true, - ["type"] = "T-55", - ["groupName"] = "RuTanks", + ["heading"] = 0, + ["countryId"] = 2, }, -- end of ["RuTanks2"] ["RuTanks4"] = { - ["heading"] = 0, + ["type"] = "T-55", ["point"] = { ["y"] = 628797.14285714, @@ -766,37 +897,50 @@ MEunitsByName = ["groupId"] = 14, ["skill"] = "Excellent", ["country"] = "russia", + ["groupName"] = "RuTanks", + ["y"] = 628797.14285714, ["coalition"] = "red", + ["x"] = -273562.85714286, ["unitId"] = 36, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuTanks4", ["playerCanDrive"] = true, - ["type"] = "T-55", - ["groupName"] = "RuTanks", + ["heading"] = 0, + ["countryId"] = 2, }, -- end of ["RuTanks4"] ["F-15C Client #2"] = { ["alt"] = 2000, - ["heading"] = -0.57883789069348, ["point"] = { ["y"] = 668428.57142857, ["x"] = -287000, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "F-15C Client #2", ["livery_id"] = "19th Fighter SQN (AK)", - ["skill"] = "Client", - ["unitId"] = 10, - ["countryId"] = 11, - ["type"] = "F-15C", - ["unitName"] = "F-15C Client #2", + ["onboard_num"] = "10", ["category"] = "plane", - ["speed"] = 138.88888888889, + ["unitName"] = "F-15C Client #2", + ["type"] = "F-15C", ["country"] = "usa", - ["coalition"] = "blue", + ["psi"] = 0.57883789069348, ["groupId"] = 5, + ["groupName"] = "F-15C Client #2", + ["callsign"] = + { + [1] = 2, + [2] = 1, + [3] = 1, + ["name"] = "Springfield11", + }, -- end of ["callsign"] + ["countryId"] = 11, + ["x"] = -287000, + ["skill"] = "Client", + ["heading"] = -0.57883789069348, + ["unitId"] = 10, + ["y"] = 668428.57142857, + ["coalition"] = "blue", + ["speed"] = 138.88888888889, }, -- end of ["F-15C Client #2"] ["2ship1"] = { @@ -807,60 +951,72 @@ MEunitsByName = ["x"] = -86428.571428571, }, -- end of ["point"] ["groupId"] = 10, + ["groupName"] = "Rus Ships #2", ["skill"] = "Average", - ["countryId"] = 2, - ["unitId"] = 17, + ["country"] = "russia", + ["coalition"] = "red", + ["x"] = -86428.571428571, ["heading"] = 1.1755995276042, ["category"] = "ship", ["unitName"] = "2ship1", - ["country"] = "russia", - ["coalition"] = "red", - ["groupName"] = "Rus Ships #2", + ["unitId"] = 17, + ["y"] = 73571.428571428, + ["countryId"] = 2, }, -- end of ["2ship1"] ["Su-33 Client #2"] = { ["alt"] = 2000, - ["heading"] = 0, ["point"] = { ["y"] = 597819.99999999, ["x"] = -235614.28571428, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "Su-33 Client #2", ["livery_id"] = "279th kiap 1st squad navy", - ["skill"] = "Client", - ["unitId"] = 43, - ["countryId"] = 2, - ["type"] = "Su-33", - ["unitName"] = "Su-33 Client #2", + ["onboard_num"] = "53", ["category"] = "plane", - ["speed"] = 138.88888888889, + ["unitName"] = "Su-33 Client #2", + ["type"] = "Su-33", ["country"] = "russia", - ["coalition"] = "red", + ["psi"] = 0, ["groupId"] = 21, + ["groupName"] = "Su-33 Client #2", + ["callsign"] = 104, + ["countryId"] = 2, + ["x"] = -235614.28571428, + ["skill"] = "Client", + ["heading"] = 0, + ["unitId"] = 43, + ["y"] = 597819.99999999, + ["coalition"] = "red", + ["speed"] = 138.88888888889, }, -- end of ["Su-33 Client #2"] ["Su-33 Client #1"] = { ["alt"] = 2000, - ["heading"] = 0, ["point"] = { ["y"] = 590391.42857142, ["x"] = -250185.71428571, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "Su-33 Client #1", ["livery_id"] = "279th kiap 1st squad navy", - ["skill"] = "Client", - ["unitId"] = 42, - ["countryId"] = 2, - ["type"] = "Su-33", - ["unitName"] = "Su-33 Client #1", + ["onboard_num"] = "53", ["category"] = "plane", - ["speed"] = 138.88888888889, + ["unitName"] = "Su-33 Client #1", + ["type"] = "Su-33", ["country"] = "russia", - ["coalition"] = "red", + ["psi"] = 0, ["groupId"] = 20, + ["groupName"] = "Su-33 Client #1", + ["callsign"] = 104, + ["countryId"] = 2, + ["x"] = -250185.71428571, + ["skill"] = "Client", + ["heading"] = 0, + ["unitId"] = 42, + ["y"] = 590391.42857142, + ["coalition"] = "red", + ["speed"] = 138.88888888889, }, -- end of ["Su-33 Client #1"] } -- end of MEunitsByName diff --git a/Example DBs/mist_DBs_MEunitsByNum.lua b/Example DBs/mist_DBs_MEunitsByNum.lua index bc655e3..c101178 100644 --- a/Example DBs/mist_DBs_MEunitsByNum.lua +++ b/Example DBs/mist_DBs_MEunitsByNum.lua @@ -9,15 +9,17 @@ MEunitsByNum = ["x"] = -355285.71428571, }, -- end of ["point"] ["groupId"] = 8, + ["groupName"] = "US Ships", ["skill"] = "Average", - ["countryId"] = 11, - ["unitId"] = 13, + ["country"] = "usa", + ["coalition"] = "blue", + ["x"] = -355285.71428571, ["heading"] = 0, ["category"] = "ship", ["unitName"] = "US Ship #1", - ["country"] = "usa", - ["coalition"] = "blue", - ["groupName"] = "US Ships", + ["unitId"] = 13, + ["y"] = 443857.14285714, + ["countryId"] = 11, }, -- end of [1] [2] = { @@ -28,76 +30,84 @@ MEunitsByNum = ["x"] = -356085.71428571, }, -- end of ["point"] ["groupId"] = 8, + ["groupName"] = "US Ships", ["skill"] = "Average", - ["countryId"] = 11, - ["unitId"] = 14, + ["country"] = "usa", + ["coalition"] = "blue", + ["x"] = -356085.71428571, ["heading"] = 0, ["category"] = "ship", ["unitName"] = "US Ship #2", - ["country"] = "usa", - ["coalition"] = "blue", - ["groupName"] = "US Ships", + ["unitId"] = 14, + ["y"] = 444657.14285714, + ["countryId"] = 11, }, -- end of [2] [3] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 636248.57142857, ["x"] = -300871.42857143, }, -- end of ["point"] - ["unitId"] = 37, + ["groupId"] = 15, ["groupName"] = "tent1", + ["unitId"] = 37, ["countryId"] = 11, - ["coalition"] = "blue", + ["x"] = -300871.42857143, + ["heading"] = 0, ["category"] = "static", ["unitName"] = "tent1", ["country"] = "usa", - ["type"] = "FARP Tent", - ["groupId"] = 15, + ["y"] = 636248.57142857, + ["coalition"] = "blue", }, -- end of [3] [4] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 638620, ["x"] = -299814.28571429, }, -- end of ["point"] - ["unitId"] = 38, + ["groupId"] = 16, ["groupName"] = "tent2", + ["unitId"] = 38, ["countryId"] = 11, - ["coalition"] = "blue", + ["x"] = -299814.28571429, + ["heading"] = 0, ["category"] = "static", ["unitName"] = "tent2", ["country"] = "usa", - ["type"] = "FARP Tent", - ["groupId"] = 16, + ["y"] = 638620, + ["coalition"] = "blue", }, -- end of [4] [5] = { ["shape_name"] = "konteiner_red1", - ["heading"] = 0, + ["type"] = "Container red 1", ["point"] = { ["y"] = 684605.71428571, ["x"] = -279949.99999999, }, -- end of ["point"] - ["unitId"] = 44, + ["groupId"] = 30, ["groupName"] = "static", + ["unitId"] = 44, ["countryId"] = 11, - ["coalition"] = "blue", + ["x"] = -279949.99999999, + ["heading"] = 0, ["category"] = "static", ["unitName"] = "static", ["country"] = "usa", - ["type"] = "Container red 1", - ["groupId"] = 30, + ["y"] = 684605.71428571, + ["coalition"] = "blue", }, -- end of [5] [6] = { - ["heading"] = 0, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 639800, @@ -106,18 +116,20 @@ MEunitsByNum = ["groupId"] = 11, ["skill"] = "Average", ["country"] = "usa", + ["groupName"] = "USTanks1", + ["y"] = 639800, ["coalition"] = "blue", + ["x"] = -294685.71428571, ["unitId"] = 19, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks1_1", ["playerCanDrive"] = true, - ["type"] = "M-1 Abrams", - ["groupName"] = "USTanks1", + ["heading"] = 0, + ["countryId"] = 11, }, -- end of [6] [7] = { - ["heading"] = 0, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 639840, @@ -126,18 +138,20 @@ MEunitsByNum = ["groupId"] = 11, ["skill"] = "Average", ["country"] = "usa", + ["groupName"] = "USTanks1", + ["y"] = 639840, ["coalition"] = "blue", + ["x"] = -294725.71428571, ["unitId"] = 20, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks1_2", ["playerCanDrive"] = true, - ["type"] = "M-1 Abrams", - ["groupName"] = "USTanks1", + ["heading"] = 0, + ["countryId"] = 11, }, -- end of [7] [8] = { - ["heading"] = 0, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 639880, @@ -146,18 +160,20 @@ MEunitsByNum = ["groupId"] = 11, ["skill"] = "Average", ["country"] = "usa", + ["groupName"] = "USTanks1", + ["y"] = 639880, ["coalition"] = "blue", + ["x"] = -294765.71428571, ["unitId"] = 21, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks1_3", ["playerCanDrive"] = true, - ["type"] = "M-1 Abrams", - ["groupName"] = "USTanks1", + ["heading"] = 0, + ["countryId"] = 11, }, -- end of [8] [9] = { - ["heading"] = 0, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 639920, @@ -166,18 +182,20 @@ MEunitsByNum = ["groupId"] = 11, ["skill"] = "Average", ["country"] = "usa", + ["groupName"] = "USTanks1", + ["y"] = 639920, ["coalition"] = "blue", + ["x"] = -294805.71428571, ["unitId"] = 22, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks1_4", ["playerCanDrive"] = true, - ["type"] = "M-1 Abrams", - ["groupName"] = "USTanks1", + ["heading"] = 0, + ["countryId"] = 11, }, -- end of [9] [10] = { - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 653171.42857143, @@ -186,18 +204,20 @@ MEunitsByNum = ["groupId"] = 12, ["skill"] = "Average", ["country"] = "usa", + ["groupName"] = "USTanks2", + ["y"] = 653171.42857143, ["coalition"] = "blue", + ["x"] = -293085.71428571, ["unitId"] = 23, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks2_1", ["playerCanDrive"] = true, - ["type"] = "M-1 Abrams", - ["groupName"] = "USTanks2", + ["heading"] = 1.4977557614926, + ["countryId"] = 11, }, -- end of [10] [11] = { - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 653211.42857143, @@ -206,18 +226,20 @@ MEunitsByNum = ["groupId"] = 12, ["skill"] = "Average", ["country"] = "usa", + ["groupName"] = "USTanks2", + ["y"] = 653211.42857143, ["coalition"] = "blue", + ["x"] = -293125.71428571, ["unitId"] = 24, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks2_2", ["playerCanDrive"] = true, - ["type"] = "M-1 Abrams", - ["groupName"] = "USTanks2", + ["heading"] = 1.4977557614926, + ["countryId"] = 11, }, -- end of [11] [12] = { - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 653251.42857143, @@ -226,18 +248,20 @@ MEunitsByNum = ["groupId"] = 12, ["skill"] = "Average", ["country"] = "usa", + ["groupName"] = "USTanks2", + ["y"] = 653251.42857143, ["coalition"] = "blue", + ["x"] = -293165.71428571, ["unitId"] = 25, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks2_3", ["playerCanDrive"] = true, - ["type"] = "M-1 Abrams", - ["groupName"] = "USTanks2", + ["heading"] = 1.4977557614926, + ["countryId"] = 11, }, -- end of [12] [13] = { - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 653291.42857143, @@ -246,152 +270,220 @@ MEunitsByNum = ["groupId"] = 12, ["skill"] = "Average", ["country"] = "usa", + ["groupName"] = "USTanks2", + ["y"] = 653291.42857143, ["coalition"] = "blue", + ["x"] = -293205.71428571, ["unitId"] = 26, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks2_4", ["playerCanDrive"] = true, - ["type"] = "M-1 Abrams", - ["groupName"] = "USTanks2", + ["heading"] = 1.4977557614926, + ["countryId"] = 11, }, -- end of [13] [14] = { ["alt"] = 2000, - ["heading"] = -0.57883789069348, ["point"] = { ["y"] = 662142.85714286, ["x"] = -288142.85714286, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "F-15C Client #1", ["livery_id"] = "19th Fighter SQN (AK)", - ["skill"] = "Client", - ["unitId"] = 8, - ["countryId"] = 11, - ["type"] = "F-15C", - ["unitName"] = "F-15C Client #1", + ["onboard_num"] = "10", ["category"] = "plane", - ["speed"] = 138.88888888889, + ["unitName"] = "F-15C Client #1", + ["type"] = "F-15C", ["country"] = "usa", - ["coalition"] = "blue", + ["psi"] = 0.57883789069348, ["groupId"] = 4, + ["groupName"] = "F-15C Client #1", + ["callsign"] = + { + [1] = 2, + [2] = 1, + [3] = 1, + ["name"] = "Springfield11", + }, -- end of ["callsign"] + ["countryId"] = 11, + ["x"] = -288142.85714286, + ["skill"] = "Client", + ["heading"] = -0.57883789069348, + ["unitId"] = 8, + ["y"] = 662142.85714286, + ["coalition"] = "blue", + ["speed"] = 138.88888888889, }, -- end of [14] [15] = { ["alt"] = 2000, - ["heading"] = -0.57883789069348, ["point"] = { ["y"] = 668428.57142857, ["x"] = -287000, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "F-15C Client #2", ["livery_id"] = "19th Fighter SQN (AK)", - ["skill"] = "Client", - ["unitId"] = 10, - ["countryId"] = 11, - ["type"] = "F-15C", - ["unitName"] = "F-15C Client #2", + ["onboard_num"] = "10", ["category"] = "plane", - ["speed"] = 138.88888888889, + ["unitName"] = "F-15C Client #2", + ["type"] = "F-15C", ["country"] = "usa", - ["coalition"] = "blue", + ["psi"] = 0.57883789069348, ["groupId"] = 5, + ["groupName"] = "F-15C Client #2", + ["callsign"] = + { + [1] = 2, + [2] = 1, + [3] = 1, + ["name"] = "Springfield11", + }, -- end of ["callsign"] + ["countryId"] = 11, + ["x"] = -287000, + ["skill"] = "Client", + ["heading"] = -0.57883789069348, + ["unitId"] = 10, + ["y"] = 668428.57142857, + ["coalition"] = "blue", + ["speed"] = 138.88888888889, }, -- end of [15] [16] = { ["alt"] = 2000, - ["heading"] = -0.67060113146646, ["point"] = { ["y"] = 636428.57142857, ["x"] = -318142.85714286, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "A-10C Client #1", ["livery_id"] = "104th FS Maryland ANG, Baltimore (MD)", - ["skill"] = "Client", - ["unitId"] = 11, - ["countryId"] = 11, - ["type"] = "A-10C", - ["unitName"] = "A-10C Client #1", + ["onboard_num"] = "52", ["category"] = "plane", - ["speed"] = 138.88888888889, + ["unitName"] = "A-10C Client #1", + ["type"] = "A-10C", ["country"] = "usa", - ["coalition"] = "blue", + ["psi"] = 0.67060113146646, ["groupId"] = 6, + ["groupName"] = "A-10C Client #1", + ["callsign"] = + { + [1] = 3, + [2] = 1, + [3] = 1, + ["name"] = "Uzi11", + }, -- end of ["callsign"] + ["countryId"] = 11, + ["x"] = -318142.85714286, + ["skill"] = "Client", + ["heading"] = -0.67060113146646, + ["unitId"] = 11, + ["y"] = 636428.57142857, + ["coalition"] = "blue", + ["speed"] = 138.88888888889, }, -- end of [16] [17] = { ["alt"] = 2000, - ["heading"] = -0.66079849060746, ["point"] = { ["y"] = 644428.57142857, ["x"] = -315857.14285714, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "A-10C Client #2", ["livery_id"] = "104th FS Maryland ANG, Baltimore (MD)", - ["skill"] = "Client", - ["unitId"] = 12, - ["countryId"] = 11, - ["type"] = "A-10C", - ["unitName"] = "A-10C Client #2", + ["onboard_num"] = "52", ["category"] = "plane", - ["speed"] = 138.88888888889, + ["unitName"] = "A-10C Client #2", + ["type"] = "A-10C", ["country"] = "usa", - ["coalition"] = "blue", + ["psi"] = 0.66079849060746, ["groupId"] = 7, + ["groupName"] = "A-10C Client #2", + ["callsign"] = + { + [1] = 3, + [2] = 1, + [3] = 1, + ["name"] = "Uzi11", + }, -- end of ["callsign"] + ["countryId"] = 11, + ["x"] = -315857.14285714, + ["skill"] = "Client", + ["heading"] = -0.66079849060746, + ["unitId"] = 12, + ["y"] = 644428.57142857, + ["coalition"] = "blue", + ["speed"] = 138.88888888889, }, -- end of [17] [18] = { ["alt"] = 500, - ["heading"] = 0.017389551289373, ["point"] = { ["y"] = 631857.14285714, ["x"] = -297857.14285714, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "AH-1s_1", ["livery_id"] = "standard", - ["skill"] = "High", - ["unitId"] = 1, - ["countryId"] = 11, - ["type"] = "AH-1W", - ["unitName"] = "AH-1s_1_1", + ["onboard_num"] = "50", ["category"] = "helicopter", - ["speed"] = 55.555555555556, + ["unitName"] = "AH-1s_1_1", + ["type"] = "AH-1W", ["country"] = "usa", - ["coalition"] = "blue", + ["psi"] = -0.017389551289373, ["groupId"] = 1, + ["groupName"] = "AH-1s_1", + ["callsign"] = + { + [1] = 1, + [2] = 1, + [3] = 1, + ["name"] = "Enfield11", + }, -- end of ["callsign"] + ["countryId"] = 11, + ["x"] = -297857.14285714, + ["skill"] = "High", + ["heading"] = 0.017389551289373, + ["unitId"] = 1, + ["y"] = 631857.14285714, + ["coalition"] = "blue", + ["speed"] = 55.555555555556, }, -- end of [18] [19] = { ["alt"] = 500, - ["heading"] = 0.017389551289373, ["point"] = { ["y"] = 631897.14285714, ["x"] = -297897.14285714, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "AH-1s_1", ["livery_id"] = "standard", - ["skill"] = "High", - ["unitId"] = 2, - ["countryId"] = 11, - ["type"] = "AH-1W", - ["unitName"] = "AH-1s_1_2", + ["onboard_num"] = "51", ["category"] = "helicopter", - ["speed"] = 55.555555555556, + ["unitName"] = "AH-1s_1_2", + ["type"] = "AH-1W", ["country"] = "usa", - ["coalition"] = "blue", + ["psi"] = -0.017389551289373, ["groupId"] = 1, + ["groupName"] = "AH-1s_1", + ["callsign"] = + { + [1] = 1, + [2] = 1, + [3] = 2, + ["name"] = "Enfield12", + }, -- end of ["callsign"] + ["countryId"] = 11, + ["x"] = -297897.14285714, + ["skill"] = "High", + ["heading"] = 0.017389551289373, + ["unitId"] = 2, + ["y"] = 631897.14285714, + ["coalition"] = "blue", + ["speed"] = 55.555555555556, }, -- end of [19] [20] = { @@ -402,15 +494,17 @@ MEunitsByNum = ["x"] = -34285.714285714, }, -- end of ["point"] ["groupId"] = 9, + ["groupName"] = "Rus Ships #1", ["skill"] = "Average", - ["countryId"] = 2, - ["unitId"] = 15, + ["country"] = "russia", + ["coalition"] = "red", + ["x"] = -34285.714285714, ["heading"] = 0, ["category"] = "ship", ["unitName"] = "1ship1", - ["country"] = "russia", - ["coalition"] = "red", - ["groupName"] = "Rus Ships #1", + ["unitId"] = 15, + ["y"] = 200000, + ["countryId"] = 2, }, -- end of [20] [21] = { @@ -421,15 +515,17 @@ MEunitsByNum = ["x"] = -35085.714285714, }, -- end of ["point"] ["groupId"] = 9, + ["groupName"] = "Rus Ships #1", ["skill"] = "Average", - ["countryId"] = 2, - ["unitId"] = 16, + ["country"] = "russia", + ["coalition"] = "red", + ["x"] = -35085.714285714, ["heading"] = 0, ["category"] = "ship", ["unitName"] = "1ship2", - ["country"] = "russia", - ["coalition"] = "red", - ["groupName"] = "Rus Ships #1", + ["unitId"] = 16, + ["y"] = 200800, + ["countryId"] = 2, }, -- end of [21] [22] = { @@ -440,15 +536,17 @@ MEunitsByNum = ["x"] = -86428.571428571, }, -- end of ["point"] ["groupId"] = 10, + ["groupName"] = "Rus Ships #2", ["skill"] = "Average", - ["countryId"] = 2, - ["unitId"] = 17, + ["country"] = "russia", + ["coalition"] = "red", + ["x"] = -86428.571428571, ["heading"] = 1.1755995276042, ["category"] = "ship", ["unitName"] = "2ship1", - ["country"] = "russia", - ["coalition"] = "red", - ["groupName"] = "Rus Ships #2", + ["unitId"] = 17, + ["y"] = 73571.428571428, + ["countryId"] = 2, }, -- end of [22] [23] = { @@ -459,15 +557,17 @@ MEunitsByNum = ["x"] = -87228.571428571, }, -- end of ["point"] ["groupId"] = 10, + ["groupName"] = "Rus Ships #2", ["skill"] = "Average", - ["countryId"] = 2, - ["unitId"] = 18, + ["country"] = "russia", + ["coalition"] = "red", + ["x"] = -87228.571428571, ["heading"] = 1.1755995276042, ["category"] = "ship", ["unitName"] = "2ship2", - ["country"] = "russia", - ["coalition"] = "red", - ["groupName"] = "Rus Ships #2", + ["unitId"] = 18, + ["y"] = 74371.428571428, + ["countryId"] = 2, }, -- end of [23] [24] = { @@ -477,57 +577,63 @@ MEunitsByNum = ["y"] = 617591.42857143, ["x"] = -258442.85714286, }, -- end of ["point"] - ["unitId"] = 39, + ["groupId"] = 17, ["groupName"] = "RU Farp", + ["unitId"] = 39, ["coalition"] = "red", - ["country"] = "russia", + ["x"] = -258442.85714286, + ["type"] = "FARP", ["category"] = "static", ["unitName"] = "RU Farp", + ["country"] = "russia", ["countryId"] = 2, - ["type"] = "FARP", - ["groupId"] = 17, + ["y"] = 617591.42857143, }, -- end of [24] [25] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 617962.85714285, ["x"] = -258642.85714286, }, -- end of ["point"] - ["unitId"] = 40, + ["groupId"] = 18, ["groupName"] = "RuTent1", + ["unitId"] = 40, ["countryId"] = 2, - ["coalition"] = "red", + ["x"] = -258642.85714286, + ["heading"] = 0, ["category"] = "static", ["unitName"] = "RuTent1", ["country"] = "russia", - ["type"] = "FARP Tent", - ["groupId"] = 18, + ["y"] = 617962.85714285, + ["coalition"] = "red", }, -- end of [25] [26] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 617691.42857143, ["x"] = -259071.42857143, }, -- end of ["point"] - ["unitId"] = 41, + ["groupId"] = 19, ["groupName"] = "RuTent2", + ["unitId"] = 41, ["countryId"] = 2, - ["coalition"] = "red", + ["x"] = -259071.42857143, + ["heading"] = 0, ["category"] = "static", ["unitName"] = "RuTent2", ["country"] = "russia", - ["type"] = "FARP Tent", - ["groupId"] = 19, + ["y"] = 617691.42857143, + ["coalition"] = "red", }, -- end of [26] [27] = { - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", ["point"] = { ["y"] = 654545.71428571, @@ -536,18 +642,20 @@ MEunitsByNum = ["groupId"] = 13, ["skill"] = "Average", ["country"] = "russia", + ["groupName"] = "RuBTRs", + ["y"] = 654545.71428571, ["coalition"] = "red", + ["x"] = -292842.85714286, ["unitId"] = 27, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuBTRs1", ["playerCanDrive"] = true, - ["type"] = "BTR-80", - ["groupName"] = "RuBTRs", + ["heading"] = -1.7994767003775, + ["countryId"] = 2, }, -- end of [27] [28] = { - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", ["point"] = { ["y"] = 654585.71428571, @@ -556,18 +664,20 @@ MEunitsByNum = ["groupId"] = 13, ["skill"] = "Average", ["country"] = "russia", + ["groupName"] = "RuBTRs", + ["y"] = 654585.71428571, ["coalition"] = "red", + ["x"] = -292882.85714286, ["unitId"] = 28, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuBTRs2", ["playerCanDrive"] = true, - ["type"] = "BTR-80", - ["groupName"] = "RuBTRs", + ["heading"] = -1.7994767003775, + ["countryId"] = 2, }, -- end of [28] [29] = { - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", ["point"] = { ["y"] = 654625.71428571, @@ -576,18 +686,20 @@ MEunitsByNum = ["groupId"] = 13, ["skill"] = "Average", ["country"] = "russia", + ["groupName"] = "RuBTRs", + ["y"] = 654625.71428571, ["coalition"] = "red", + ["x"] = -292922.85714286, ["unitId"] = 29, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuBTRs3", ["playerCanDrive"] = true, - ["type"] = "BTR-80", - ["groupName"] = "RuBTRs", + ["heading"] = -1.7994767003775, + ["countryId"] = 2, }, -- end of [29] [30] = { - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", ["point"] = { ["y"] = 654665.71428571, @@ -596,18 +708,20 @@ MEunitsByNum = ["groupId"] = 13, ["skill"] = "Average", ["country"] = "russia", + ["groupName"] = "RuBTRs", + ["y"] = 654665.71428571, ["coalition"] = "red", + ["x"] = -292962.85714286, ["unitId"] = 30, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuBTRs4", ["playerCanDrive"] = true, - ["type"] = "BTR-80", - ["groupName"] = "RuBTRs", + ["heading"] = -1.7994767003775, + ["countryId"] = 2, }, -- end of [30] [31] = { - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", ["point"] = { ["y"] = 654705.71428571, @@ -616,18 +730,20 @@ MEunitsByNum = ["groupId"] = 13, ["skill"] = "Average", ["country"] = "russia", + ["groupName"] = "RuBTRs", + ["y"] = 654705.71428571, ["coalition"] = "red", + ["x"] = -293002.85714286, ["unitId"] = 31, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuBTRs5", ["playerCanDrive"] = true, - ["type"] = "BTR-80", - ["groupName"] = "RuBTRs", + ["heading"] = -1.7994767003775, + ["countryId"] = 2, }, -- end of [31] [32] = { - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", ["point"] = { ["y"] = 654745.71428571, @@ -636,18 +752,20 @@ MEunitsByNum = ["groupId"] = 13, ["skill"] = "Average", ["country"] = "russia", + ["groupName"] = "RuBTRs", + ["y"] = 654745.71428571, ["coalition"] = "red", + ["x"] = -293042.85714286, ["unitId"] = 32, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuBTRs6", ["playerCanDrive"] = true, - ["type"] = "BTR-80", - ["groupName"] = "RuBTRs", + ["heading"] = -1.7994767003775, + ["countryId"] = 2, }, -- end of [32] [33] = { - ["heading"] = 0, + ["type"] = "T-55", ["point"] = { ["y"] = 628677.14285714, @@ -656,18 +774,20 @@ MEunitsByNum = ["groupId"] = 14, ["skill"] = "Excellent", ["country"] = "russia", + ["groupName"] = "RuTanks", + ["y"] = 628677.14285714, ["coalition"] = "red", + ["x"] = -273442.85714286, ["unitId"] = 33, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuTanks1", ["playerCanDrive"] = true, - ["type"] = "T-55", - ["groupName"] = "RuTanks", + ["heading"] = 0, + ["countryId"] = 2, }, -- end of [33] [34] = { - ["heading"] = 0, + ["type"] = "T-55", ["point"] = { ["y"] = 628717.14285714, @@ -676,18 +796,20 @@ MEunitsByNum = ["groupId"] = 14, ["skill"] = "Excellent", ["country"] = "russia", + ["groupName"] = "RuTanks", + ["y"] = 628717.14285714, ["coalition"] = "red", + ["x"] = -273482.85714286, ["unitId"] = 34, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuTanks2", ["playerCanDrive"] = true, - ["type"] = "T-55", - ["groupName"] = "RuTanks", + ["heading"] = 0, + ["countryId"] = 2, }, -- end of [34] [35] = { - ["heading"] = 0, + ["type"] = "T-55", ["point"] = { ["y"] = 628757.14285714, @@ -696,18 +818,20 @@ MEunitsByNum = ["groupId"] = 14, ["skill"] = "Excellent", ["country"] = "russia", + ["groupName"] = "RuTanks", + ["y"] = 628757.14285714, ["coalition"] = "red", + ["x"] = -273522.85714286, ["unitId"] = 35, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuTanks3", ["playerCanDrive"] = true, - ["type"] = "T-55", - ["groupName"] = "RuTanks", + ["heading"] = 0, + ["countryId"] = 2, }, -- end of [35] [36] = { - ["heading"] = 0, + ["type"] = "T-55", ["point"] = { ["y"] = 628797.14285714, @@ -716,151 +840,183 @@ MEunitsByNum = ["groupId"] = 14, ["skill"] = "Excellent", ["country"] = "russia", + ["groupName"] = "RuTanks", + ["y"] = 628797.14285714, ["coalition"] = "red", + ["x"] = -273562.85714286, ["unitId"] = 36, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuTanks4", ["playerCanDrive"] = true, - ["type"] = "T-55", - ["groupName"] = "RuTanks", + ["heading"] = 0, + ["countryId"] = 2, }, -- end of [36] [37] = { ["alt"] = 2000, - ["heading"] = 0, ["point"] = { ["y"] = 590391.42857142, ["x"] = -250185.71428571, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "Su-33 Client #1", ["livery_id"] = "279th kiap 1st squad navy", - ["skill"] = "Client", - ["unitId"] = 42, - ["countryId"] = 2, - ["type"] = "Su-33", - ["unitName"] = "Su-33 Client #1", + ["onboard_num"] = "53", ["category"] = "plane", - ["speed"] = 138.88888888889, + ["unitName"] = "Su-33 Client #1", + ["type"] = "Su-33", ["country"] = "russia", - ["coalition"] = "red", + ["psi"] = 0, ["groupId"] = 20, + ["groupName"] = "Su-33 Client #1", + ["callsign"] = 104, + ["countryId"] = 2, + ["x"] = -250185.71428571, + ["skill"] = "Client", + ["heading"] = 0, + ["unitId"] = 42, + ["y"] = 590391.42857142, + ["coalition"] = "red", + ["speed"] = 138.88888888889, }, -- end of [37] [38] = { ["alt"] = 2000, - ["heading"] = 0, ["point"] = { ["y"] = 597819.99999999, ["x"] = -235614.28571428, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "Su-33 Client #2", ["livery_id"] = "279th kiap 1st squad navy", - ["skill"] = "Client", - ["unitId"] = 43, - ["countryId"] = 2, - ["type"] = "Su-33", - ["unitName"] = "Su-33 Client #2", + ["onboard_num"] = "53", ["category"] = "plane", - ["speed"] = 138.88888888889, + ["unitName"] = "Su-33 Client #2", + ["type"] = "Su-33", ["country"] = "russia", - ["coalition"] = "red", + ["psi"] = 0, ["groupId"] = 21, + ["groupName"] = "Su-33 Client #2", + ["callsign"] = 104, + ["countryId"] = 2, + ["x"] = -235614.28571428, + ["skill"] = "Client", + ["heading"] = 0, + ["unitId"] = 43, + ["y"] = 597819.99999999, + ["coalition"] = "red", + ["speed"] = 138.88888888889, }, -- end of [38] [39] = { ["alt"] = 500, - ["heading"] = 2.5953630185698, ["point"] = { ["y"] = 615000, ["x"] = -237571.42857143, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "Ka-50s_1", ["livery_id"] = "Russia Demo #024", - ["skill"] = "High", - ["unitId"] = 3, - ["countryId"] = 2, - ["type"] = "Ka-50", - ["unitName"] = "Ka-50s_1_1", + ["onboard_num"] = "50", ["category"] = "helicopter", - ["speed"] = 55.555555555556, + ["unitName"] = "Ka-50s_1_1", + ["type"] = "Ka-50", ["country"] = "russia", - ["coalition"] = "red", + ["psi"] = -2.5953630185698, ["groupId"] = 2, + ["groupName"] = "Ka-50s_1", + ["callsign"] = 100, + ["countryId"] = 2, + ["x"] = -237571.42857143, + ["skill"] = "High", + ["heading"] = 2.5953630185698, + ["unitId"] = 3, + ["y"] = 615000, + ["coalition"] = "red", + ["speed"] = 55.555555555556, }, -- end of [39] [40] = { ["alt"] = 500, - ["heading"] = 2.5953630185698, ["point"] = { ["y"] = 615040, ["x"] = -237611.42857143, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "Ka-50s_1", ["livery_id"] = "Russia Demo #024", - ["skill"] = "High", - ["unitId"] = 4, - ["countryId"] = 2, - ["type"] = "Ka-50", - ["unitName"] = "Ka-50s_1_2", + ["onboard_num"] = "51", ["category"] = "helicopter", - ["speed"] = 55.555555555556, + ["unitName"] = "Ka-50s_1_2", + ["type"] = "Ka-50", ["country"] = "russia", - ["coalition"] = "red", + ["psi"] = -2.5953630185698, ["groupId"] = 2, + ["groupName"] = "Ka-50s_1", + ["callsign"] = 101, + ["countryId"] = 2, + ["x"] = -237611.42857143, + ["skill"] = "High", + ["heading"] = 2.5953630185698, + ["unitId"] = 4, + ["y"] = 615040, + ["coalition"] = "red", + ["speed"] = 55.555555555556, }, -- end of [40] [41] = { ["alt"] = 500, - ["heading"] = 2.6119254271103, ["point"] = { ["y"] = 603285.71428571, ["x"] = -243285.71428571, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "Mi-8s_1", ["livery_id"] = "Russia", - ["skill"] = "Random", - ["unitId"] = 5, - ["countryId"] = 2, - ["type"] = "Mi-8MT", - ["unitName"] = "Mi-8s_1_1", + ["onboard_num"] = "52", ["category"] = "helicopter", - ["speed"] = 55.555555555556, + ["unitName"] = "Mi-8s_1_1", + ["type"] = "Mi-8MT", ["country"] = "russia", - ["coalition"] = "red", + ["psi"] = -2.6119254271103, ["groupId"] = 3, + ["groupName"] = "Mi-8s_1", + ["callsign"] = 103, + ["countryId"] = 2, + ["x"] = -243285.71428571, + ["skill"] = "Random", + ["heading"] = 2.6119254271103, + ["unitId"] = 5, + ["y"] = 603285.71428571, + ["coalition"] = "red", + ["speed"] = 55.555555555556, }, -- end of [41] [42] = { ["alt"] = 500, - ["heading"] = 2.6119254271103, ["point"] = { ["y"] = 603325.71428571, ["x"] = -243325.71428571, }, -- end of ["point"] ["alt_type"] = "BARO", - ["groupName"] = "Mi-8s_1", ["livery_id"] = "Russia", - ["skill"] = "Random", - ["unitId"] = 6, - ["countryId"] = 2, - ["type"] = "Mi-8MT", - ["unitName"] = "Mi-8s_1_1 #1", + ["onboard_num"] = "53", ["category"] = "helicopter", - ["speed"] = 55.555555555556, + ["unitName"] = "Mi-8s_1_1 #1", + ["type"] = "Mi-8MT", ["country"] = "russia", - ["coalition"] = "red", + ["psi"] = -2.6119254271103, ["groupId"] = 3, + ["groupName"] = "Mi-8s_1", + ["callsign"] = 102, + ["countryId"] = 2, + ["x"] = -243325.71428571, + ["skill"] = "Random", + ["heading"] = 2.6119254271103, + ["unitId"] = 6, + ["y"] = 603325.71428571, + ["coalition"] = "red", + ["speed"] = 55.555555555556, }, -- end of [42] } -- end of MEunitsByNum diff --git a/Example DBs/mist_DBs_aliveUnits.lua b/Example DBs/mist_DBs_aliveUnits.lua index c7b7003..f8327ef 100644 --- a/Example DBs/mist_DBs_aliveUnits.lua +++ b/Example DBs/mist_DBs_aliveUnits.lua @@ -10,82 +10,59 @@ aliveUnits = }, -- end of ["point"] ["alt_type"] = "BARO", ["livery_id"] = "Russia Demo #024", - ["skill"] = "High", + ["onboard_num"] = "50", ["unit"] = { ["id_"] = 16778752, }, -- end of ["unit"] ["category"] = "helicopter", - ["speed"] = 55.555555555556, + ["unitName"] = "Ka-50s_1_1", ["type"] = "Ka-50", + ["speed"] = 55.555555555556, + ["country"] = "russia", + ["psi"] = -2.5953630185698, ["groupId"] = 2, ["groupName"] = "Ka-50s_1", - ["coalition"] = "red", - ["country"] = "russia", + ["callsign"] = 100, + ["countryId"] = 2, + ["x"] = -237571.42857143, + ["skill"] = "High", ["heading"] = 2.5953630185698, ["unitId"] = 3, - ["countryId"] = 2, - ["unitName"] = "Ka-50s_1_1", + ["y"] = 615000, + ["coalition"] = "red", ["pos"] = { ["y"] = 499.87420654297, - ["x"] = -240355.90625, - ["z"] = 616692.75, + ["x"] = -240374.78125, + ["z"] = 616704.25, }, -- end of ["pos"] }, -- end of [16778752] - [16780800] = - { - ["heading"] = -1.7994767003775, - ["point"] = - { - ["y"] = 654705.71428571, - ["x"] = -293002.85714286, - }, -- end of ["point"] - ["groupId"] = 13, - ["country"] = "russia", - ["groupName"] = "RuBTRs", - ["skill"] = "Average", - ["unit"] = - { - ["id_"] = 16780800, - }, -- end of ["unit"] - ["coalition"] = "red", - ["unitId"] = 31, - ["countryId"] = 2, - ["category"] = "vehicle", - ["unitName"] = "RuBTRs5", - ["playerCanDrive"] = true, - ["type"] = "BTR-80", - ["pos"] = - { - ["y"] = 22.405611038208, - ["x"] = -292869.375, - ["z"] = 654455.375, - }, -- end of ["pos"] - }, -- end of [16780800] [16781824] = { - ["heading"] = 0, ["point"] = { ["y"] = 628757.14285714, ["x"] = -273522.85714286, }, -- end of ["point"] - ["groupId"] = 14, - ["country"] = "russia", - ["groupName"] = "RuTanks", ["skill"] = "Excellent", ["unit"] = { ["id_"] = 16781824, }, -- end of ["unit"] - ["coalition"] = "red", - ["unitId"] = 35, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuTanks3", - ["playerCanDrive"] = true, + ["heading"] = 0, + ["unitId"] = 35, + ["groupName"] = "RuTanks", + ["countryId"] = 2, + ["coalition"] = "red", + ["x"] = -273522.85714286, ["type"] = "T-55", + ["groupId"] = 14, + ["country"] = "russia", + ["playerCanDrive"] = true, + ["y"] = 628757.14285714, ["pos"] = { ["y"] = 10.263838768005, @@ -103,52 +80,65 @@ aliveUnits = }, -- end of ["point"] ["alt_type"] = "BARO", ["livery_id"] = "standard", - ["skill"] = "High", + ["onboard_num"] = "50", ["unit"] = { ["id_"] = 16782848, }, -- end of ["unit"] ["category"] = "helicopter", - ["speed"] = 55.555555555556, + ["unitName"] = "AH-1s_1_1", ["type"] = "AH-1W", + ["speed"] = 55.555555555556, + ["country"] = "usa", + ["psi"] = -0.017389551289373, ["groupId"] = 1, ["groupName"] = "AH-1s_1", - ["coalition"] = "blue", - ["country"] = "usa", + ["callsign"] = + { + [1] = 1, + [2] = 1, + [3] = 1, + ["name"] = "Enfield11", + }, -- end of ["callsign"] + ["countryId"] = 11, + ["x"] = -297857.14285714, + ["skill"] = "High", ["heading"] = 0.017389551289373, ["unitId"] = 1, - ["countryId"] = 11, - ["unitName"] = "AH-1s_1_1", + ["y"] = 631857.14285714, + ["coalition"] = "blue", ["pos"] = { - ["y"] = 499.41860961914, - ["x"] = -294630.625, - ["z"] = 631913.25, + ["y"] = 499.41857910156, + ["x"] = -294641.46875, + ["z"] = 631913.0625, }, -- end of ["pos"] }, -- end of [16782848] [16783872] = { - ["heading"] = 0, ["point"] = { ["y"] = 639880, ["x"] = -294765.71428571, }, -- end of ["point"] - ["groupId"] = 11, - ["country"] = "usa", - ["groupName"] = "USTanks1", ["skill"] = "Average", ["unit"] = { ["id_"] = 16783872, }, -- end of ["unit"] - ["coalition"] = "blue", - ["unitId"] = 21, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks1_3", - ["playerCanDrive"] = true, + ["heading"] = 0, + ["unitId"] = 21, + ["groupName"] = "USTanks1", + ["countryId"] = 11, + ["coalition"] = "blue", + ["x"] = -294765.71428571, ["type"] = "M-1 Abrams", + ["groupId"] = 11, + ["country"] = "usa", + ["playerCanDrive"] = true, + ["y"] = 639880, ["pos"] = { ["y"] = 7.7261953353882, @@ -158,123 +148,138 @@ aliveUnits = }, -- end of [16783872] [16784896] = { - ["heading"] = 1.4977557614926, ["point"] = { ["y"] = 653251.42857143, ["x"] = -293165.71428571, }, -- end of ["point"] - ["groupId"] = 12, - ["country"] = "usa", - ["groupName"] = "USTanks2", ["skill"] = "Average", ["unit"] = { ["id_"] = 16784896, }, -- end of ["unit"] - ["coalition"] = "blue", - ["unitId"] = 25, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks2_3", - ["playerCanDrive"] = true, + ["heading"] = 1.4977557614926, + ["unitId"] = 25, + ["groupName"] = "USTanks2", + ["countryId"] = 11, + ["coalition"] = "blue", + ["x"] = -293165.71428571, ["type"] = "M-1 Abrams", + ["groupId"] = 12, + ["country"] = "usa", + ["playerCanDrive"] = true, + ["y"] = 653251.42857143, ["pos"] = { - ["y"] = 19.658372879028, - ["x"] = -293066.71875, - ["z"] = 653431.0625, + ["y"] = 19.64804649353, + ["x"] = -293066.875, + ["z"] = 653428.9375, }, -- end of ["pos"] }, -- end of [16784896] [16785920] = { - ["heading"] = 1.4977557614926, + ["alt"] = 73, ["point"] = { - ["y"] = 692984.63711165, - ["x"] = -288136.26599616, + ["y"] = 692378, + ["x"] = -283913, }, -- end of ["point"] - ["unitId"] = 7002, - ["country"] = "usa", + ["coalitionId"] = 2, ["skill"] = "Average", ["unit"] = { ["id_"] = 16785920, }, -- end of ["unit"] - ["coalition"] = "blue", - ["groupId"] = 7001, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "usa gnd 2 unit2", + ["heading"] = 1.4977610327793, + ["groupId"] = 7001, ["groupName"] = "usa gnd 2", + ["countryId"] = 2, + ["x"] = -283913, + ["y"] = 692378, ["type"] = "M-1 Abrams", + ["country"] = "usa", + ["coalition"] = "blue", + ["unitId"] = 7002, ["pos"] = { - ["y"] = 66.334785461426, - ["x"] = -288136.28125, - ["z"] = 692984.625, + ["y"] = 72.797386169434, + ["x"] = -283913.5, + ["z"] = 692378.1875, }, -- end of ["pos"] }, -- end of [16785920] [16786944] = { - ["heading"] = 1.4977557614926, + ["alt"] = 68, ["point"] = { - ["y"] = 692374.68565784, - ["x"] = -283846.9396746, + ["y"] = 690984, + ["x"] = -285610, }, -- end of ["point"] - ["unitId"] = 7007, - ["country"] = "usa", + ["coalitionId"] = 2, ["skill"] = "Average", ["unit"] = { ["id_"] = 16786944, }, -- end of ["unit"] - ["coalition"] = "blue", - ["groupId"] = 7003, - ["countryId"] = 2, ["category"] = "vehicle", - ["unitName"] = "usa gnd 3 unit2", - ["groupName"] = "usa gnd 3", + ["unitName"] = "usa gnd 4 unit2", + ["heading"] = 1.4977589159233, + ["groupId"] = 7003, + ["groupName"] = "usa gnd 4", + ["countryId"] = 2, + ["x"] = -285610, + ["y"] = 690984, ["type"] = "M-1 Abrams", + ["country"] = "usa", + ["coalition"] = "blue", + ["unitId"] = 7007, ["pos"] = { - ["y"] = 72.979606628418, - ["x"] = -283846.9375, - ["z"] = 692374.6875, + ["y"] = 68.183006286621, + ["x"] = -285610.25, + ["z"] = 690984.4375, }, -- end of ["pos"] }, -- end of [16786944] [16787968] = { - ["heading"] = 1.4977557614926, + ["alt"] = 65, ["point"] = { - ["y"] = 690495.78308897, - ["x"] = -287119.30705856, + ["y"] = 693075, + ["x"] = -288920, }, -- end of ["point"] - ["unitId"] = 7012, - ["country"] = "usa", + ["coalitionId"] = 2, ["skill"] = "Average", ["unit"] = { ["id_"] = 16787968, }, -- end of ["unit"] - ["coalition"] = "blue", - ["groupId"] = 7005, - ["countryId"] = 2, ["category"] = "vehicle", - ["unitName"] = "usa gnd 4 unit2", - ["groupName"] = "usa gnd 4", + ["unitName"] = "usa gnd 6 unit2", + ["heading"] = 1.4977545807326, + ["groupId"] = 7005, + ["groupName"] = "usa gnd 6", + ["countryId"] = 2, + ["x"] = -288920, + ["y"] = 693075, ["type"] = "M-1 Abrams", + ["country"] = "usa", + ["coalition"] = "blue", + ["unitId"] = 7012, ["pos"] = { - ["y"] = 61.058246612549, - ["x"] = -287119.3125, - ["z"] = 690495.8125, + ["y"] = 65.188507080078, + ["x"] = -288919.5625, + ["z"] = 693075.25, }, -- end of ["pos"] }, -- end of [16787968] [16777984] = { + ["country"] = "russia", ["type"] = "MOSCOW", ["point"] = { @@ -282,22 +287,23 @@ aliveUnits = ["x"] = -35085.714285714, }, -- end of ["point"] ["groupId"] = 9, + ["countryId"] = 2, ["groupName"] = "Rus Ships #1", ["skill"] = "Average", ["unit"] = { ["id_"] = 16777984, }, -- end of ["unit"] - ["countryId"] = 2, - ["unitId"] = 16, + ["coalition"] = "red", + ["x"] = -35085.714285714, ["heading"] = 0, ["category"] = "ship", ["unitName"] = "1ship2", - ["country"] = "russia", - ["coalition"] = "red", + ["unitId"] = 16, + ["y"] = 200800, ["pos"] = { - ["y"] = -0.041314732283354, + ["y"] = -0.046526327729225, ["x"] = -35022.9375, ["z"] = 200800, }, -- end of ["pos"] @@ -312,82 +318,59 @@ aliveUnits = }, -- end of ["point"] ["alt_type"] = "BARO", ["livery_id"] = "Russia Demo #024", - ["skill"] = "High", + ["onboard_num"] = "51", ["unit"] = { ["id_"] = 16779008, }, -- end of ["unit"] ["category"] = "helicopter", - ["speed"] = 55.555555555556, + ["unitName"] = "Ka-50s_1_2", ["type"] = "Ka-50", + ["speed"] = 55.555555555556, + ["country"] = "russia", + ["psi"] = -2.5953630185698, ["groupId"] = 2, ["groupName"] = "Ka-50s_1", - ["coalition"] = "red", - ["country"] = "russia", + ["callsign"] = 101, + ["countryId"] = 2, + ["x"] = -237611.42857143, + ["skill"] = "High", ["heading"] = 2.5953630185698, ["unitId"] = 4, - ["countryId"] = 2, - ["unitName"] = "Ka-50s_1_2", + ["y"] = 615040, + ["coalition"] = "red", ["pos"] = { - ["y"] = 506.82983398438, - ["x"] = -240287.0625, - ["z"] = 616709.0625, + ["y"] = 506.92144775391, + ["x"] = -240306.515625, + ["z"] = 616720.5625, }, -- end of ["pos"] }, -- end of [16779008] - [16781056] = - { - ["heading"] = -1.7994767003775, - ["point"] = - { - ["y"] = 654745.71428571, - ["x"] = -293042.85714286, - }, -- end of ["point"] - ["groupId"] = 13, - ["country"] = "russia", - ["groupName"] = "RuBTRs", - ["skill"] = "Average", - ["unit"] = - { - ["id_"] = 16781056, - }, -- end of ["unit"] - ["coalition"] = "red", - ["unitId"] = 32, - ["countryId"] = 2, - ["category"] = "vehicle", - ["unitName"] = "RuBTRs6", - ["playerCanDrive"] = true, - ["type"] = "BTR-80", - ["pos"] = - { - ["y"] = 22.329929351807, - ["x"] = -292870.0625, - ["z"] = 654490.125, - }, -- end of ["pos"] - }, -- end of [16781056] [16782080] = { - ["heading"] = 0, ["point"] = { ["y"] = 628797.14285714, ["x"] = -273562.85714286, }, -- end of ["point"] - ["groupId"] = 14, - ["country"] = "russia", - ["groupName"] = "RuTanks", ["skill"] = "Excellent", ["unit"] = { ["id_"] = 16782080, }, -- end of ["unit"] - ["coalition"] = "red", - ["unitId"] = 36, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuTanks4", - ["playerCanDrive"] = true, + ["heading"] = 0, + ["unitId"] = 36, + ["groupName"] = "RuTanks", + ["countryId"] = 2, + ["coalition"] = "red", + ["x"] = -273562.85714286, ["type"] = "T-55", + ["groupId"] = 14, + ["country"] = "russia", + ["playerCanDrive"] = true, + ["y"] = 628797.14285714, ["pos"] = { ["y"] = 10.182079315186, @@ -405,52 +388,65 @@ aliveUnits = }, -- end of ["point"] ["alt_type"] = "BARO", ["livery_id"] = "standard", - ["skill"] = "High", + ["onboard_num"] = "51", ["unit"] = { ["id_"] = 16783104, }, -- end of ["unit"] ["category"] = "helicopter", - ["speed"] = 55.555555555556, + ["unitName"] = "AH-1s_1_2", ["type"] = "AH-1W", + ["speed"] = 55.555555555556, + ["country"] = "usa", + ["psi"] = -0.017389551289373, ["groupId"] = 1, ["groupName"] = "AH-1s_1", - ["coalition"] = "blue", - ["country"] = "usa", + ["callsign"] = + { + [1] = 1, + [2] = 1, + [3] = 2, + ["name"] = "Enfield12", + }, -- end of ["callsign"] + ["countryId"] = 11, + ["x"] = -297897.14285714, + ["skill"] = "High", ["heading"] = 0.017389551289373, ["unitId"] = 2, - ["countryId"] = 11, - ["unitName"] = "AH-1s_1_2", + ["y"] = 631897.14285714, + ["coalition"] = "blue", ["pos"] = { - ["y"] = 506.36431884766, - ["x"] = -294676.125, - ["z"] = 631862.9375, + ["y"] = 506.42398071289, + ["x"] = -294685.375, + ["z"] = 631862.75, }, -- end of ["pos"] }, -- end of [16783104] [16784128] = { - ["heading"] = 0, ["point"] = { ["y"] = 639920, ["x"] = -294805.71428571, }, -- end of ["point"] - ["groupId"] = 11, - ["country"] = "usa", - ["groupName"] = "USTanks1", ["skill"] = "Average", ["unit"] = { ["id_"] = 16784128, }, -- end of ["unit"] - ["coalition"] = "blue", - ["unitId"] = 22, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks1_4", - ["playerCanDrive"] = true, + ["heading"] = 0, + ["unitId"] = 22, + ["groupName"] = "USTanks1", + ["countryId"] = 11, + ["coalition"] = "blue", + ["x"] = -294805.71428571, ["type"] = "M-1 Abrams", + ["groupId"] = 11, + ["country"] = "usa", + ["playerCanDrive"] = true, + ["y"] = 639920, ["pos"] = { ["y"] = 7.8300466537476, @@ -460,123 +456,138 @@ aliveUnits = }, -- end of [16784128] [16785152] = { - ["heading"] = 1.4977557614926, ["point"] = { ["y"] = 653291.42857143, ["x"] = -293205.71428571, }, -- end of ["point"] - ["groupId"] = 12, - ["country"] = "usa", - ["groupName"] = "USTanks2", ["skill"] = "Average", ["unit"] = { ["id_"] = 16785152, }, -- end of ["unit"] - ["coalition"] = "blue", - ["unitId"] = 26, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks2_4", - ["playerCanDrive"] = true, + ["heading"] = 1.4977557614926, + ["unitId"] = 26, + ["groupName"] = "USTanks2", + ["countryId"] = 11, + ["coalition"] = "blue", + ["x"] = -293205.71428571, ["type"] = "M-1 Abrams", + ["groupId"] = 12, + ["country"] = "usa", + ["playerCanDrive"] = true, + ["y"] = 653291.42857143, ["pos"] = { - ["y"] = 19.515525817871, - ["x"] = -293068.90625, - ["z"] = 653401.125, + ["y"] = 19.508884429932, + ["x"] = -293069.0625, + ["z"] = 653399, }, -- end of ["pos"] }, -- end of [16785152] [16786176] = { - ["heading"] = 1.4977557614926, + ["alt"] = 72, ["point"] = { - ["y"] = 692996.24632438, - ["x"] = -288123.02974075, + ["y"] = 692136, + ["x"] = -283991, }, -- end of ["point"] - ["unitId"] = 7003, - ["country"] = "usa", + ["coalitionId"] = 2, ["skill"] = "Average", ["unit"] = { ["id_"] = 16786176, }, -- end of ["unit"] - ["coalition"] = "blue", - ["groupId"] = 7001, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "usa gnd 2 unit3", + ["heading"] = 1.4977579653353, + ["groupId"] = 7001, ["groupName"] = "usa gnd 2", + ["countryId"] = 2, + ["x"] = -283991, + ["y"] = 692136, ["type"] = "M-1 Abrams", + ["country"] = "usa", + ["coalition"] = "blue", + ["unitId"] = 7003, ["pos"] = { - ["y"] = 66.343482971191, - ["x"] = -288123.03125, - ["z"] = 692996.25, + ["y"] = 72.255142211914, + ["x"] = -283991.15625, + ["z"] = 692136, }, -- end of ["pos"] }, -- end of [16786176] [16787200] = { - ["heading"] = 1.4977557614926, + ["alt"] = 68, ["point"] = { - ["y"] = 692416.6568865, - ["x"] = -284022.73058924, + ["y"] = 690825, + ["x"] = -285472, }, -- end of ["point"] - ["unitId"] = 7008, - ["country"] = "usa", + ["coalitionId"] = 2, ["skill"] = "Average", ["unit"] = { ["id_"] = 16787200, }, -- end of ["unit"] - ["coalition"] = "blue", - ["groupId"] = 7003, - ["countryId"] = 2, ["category"] = "vehicle", - ["unitName"] = "usa gnd 3 unit3", - ["groupName"] = "usa gnd 3", + ["unitName"] = "usa gnd 4 unit3", + ["heading"] = 1.4977598003676, + ["groupId"] = 7003, + ["groupName"] = "usa gnd 4", + ["countryId"] = 2, + ["x"] = -285472, + ["y"] = 690825, ["type"] = "M-1 Abrams", + ["country"] = "usa", + ["coalition"] = "blue", + ["unitId"] = 7008, ["pos"] = { - ["y"] = 72.460243225098, - ["x"] = -284022.71875, - ["z"] = 692416.6875, + ["y"] = 68.185493469238, + ["x"] = -285471.84375, + ["z"] = 690824.875, }, -- end of ["pos"] }, -- end of [16787200] [16788224] = { - ["heading"] = 1.4977557614926, + ["alt"] = 65, ["point"] = { - ["y"] = 690419.49528366, - ["x"] = -287149.74499211, + ["y"] = 692855, + ["x"] = -288930, }, -- end of ["point"] - ["unitId"] = 7013, - ["country"] = "usa", + ["coalitionId"] = 2, ["skill"] = "Average", ["unit"] = { ["id_"] = 16788224, }, -- end of ["unit"] - ["coalition"] = "blue", - ["groupId"] = 7005, - ["countryId"] = 2, ["category"] = "vehicle", - ["unitName"] = "usa gnd 4 unit3", - ["groupName"] = "usa gnd 4", + ["unitName"] = "usa gnd 6 unit3", + ["heading"] = 1.4977545807326, + ["groupId"] = 7005, + ["groupName"] = "usa gnd 6", + ["countryId"] = 2, + ["x"] = -288930, + ["y"] = 692855, ["type"] = "M-1 Abrams", + ["country"] = "usa", + ["coalition"] = "blue", + ["unitId"] = 7013, ["pos"] = { - ["y"] = 60.488712310791, - ["x"] = -287149.75, - ["z"] = 690419.5, + ["y"] = 65.376831054688, + ["x"] = -288929.875, + ["z"] = 692854.9375, }, -- end of ["pos"] }, -- end of [16788224] [16778240] = { + ["country"] = "russia", ["type"] = "MOSCOW", ["point"] = { @@ -584,23 +595,24 @@ aliveUnits = ["x"] = -86428.571428571, }, -- end of ["point"] ["groupId"] = 10, + ["countryId"] = 2, ["groupName"] = "Rus Ships #2", ["skill"] = "Average", ["unit"] = { ["id_"] = 16778240, }, -- end of ["unit"] - ["countryId"] = 2, - ["unitId"] = 17, + ["coalition"] = "red", + ["x"] = -86428.571428571, ["heading"] = 1.1755995276042, ["category"] = "ship", ["unitName"] = "2ship1", - ["country"] = "russia", - ["coalition"] = "red", + ["unitId"] = 17, + ["y"] = 73571.428571428, ["pos"] = { - ["y"] = -0.041290909051895, - ["x"] = -86404.390625, + ["y"] = -0.04649168625474, + ["x"] = -86404.3828125, ["z"] = 73629.3671875, }, -- end of ["pos"] }, -- end of [16778240] @@ -614,82 +626,59 @@ aliveUnits = }, -- end of ["point"] ["alt_type"] = "BARO", ["livery_id"] = "Russia", - ["skill"] = "Random", + ["onboard_num"] = "52", ["unit"] = { ["id_"] = 16779264, }, -- end of ["unit"] ["category"] = "helicopter", - ["speed"] = 55.555555555556, + ["unitName"] = "Mi-8s_1_1", ["type"] = "Mi-8MT", + ["speed"] = 55.555555555556, + ["country"] = "russia", + ["psi"] = -2.6119254271103, ["groupId"] = 3, ["groupName"] = "Mi-8s_1", - ["coalition"] = "red", - ["country"] = "russia", + ["callsign"] = 103, + ["countryId"] = 2, + ["x"] = -243285.71428571, + ["skill"] = "Random", ["heading"] = 2.6119254271103, ["unitId"] = 5, - ["countryId"] = 2, - ["unitName"] = "Mi-8s_1_1", + ["y"] = 603285.71428571, + ["coalition"] = "red", ["pos"] = { - ["y"] = 500.57836914063, - ["x"] = -246139.921875, - ["z"] = 604956.75, + ["y"] = 500.40405273438, + ["x"] = -246176.15625, + ["z"] = 604977.9375, }, -- end of ["pos"] }, -- end of [16779264] - [16780288] = - { - ["heading"] = -1.7994767003775, - ["point"] = - { - ["y"] = 654625.71428571, - ["x"] = -292922.85714286, - }, -- end of ["point"] - ["groupId"] = 13, - ["country"] = "russia", - ["groupName"] = "RuBTRs", - ["skill"] = "Average", - ["unit"] = - { - ["id_"] = 16780288, - }, -- end of ["unit"] - ["coalition"] = "red", - ["unitId"] = 29, - ["countryId"] = 2, - ["category"] = "vehicle", - ["unitName"] = "RuBTRs3", - ["playerCanDrive"] = true, - ["type"] = "BTR-80", - ["pos"] = - { - ["y"] = 22.546928405762, - ["x"] = -292863.15625, - ["z"] = 654384.125, - }, -- end of ["pos"] - }, -- end of [16780288] [16781312] = { - ["heading"] = 0, ["point"] = { ["y"] = 628677.14285714, ["x"] = -273442.85714286, }, -- end of ["point"] - ["groupId"] = 14, - ["country"] = "russia", - ["groupName"] = "RuTanks", ["skill"] = "Excellent", ["unit"] = { ["id_"] = 16781312, }, -- end of ["unit"] - ["coalition"] = "red", - ["unitId"] = 33, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuTanks1", - ["playerCanDrive"] = true, + ["heading"] = 0, + ["unitId"] = 33, + ["groupName"] = "RuTanks", + ["countryId"] = 2, + ["coalition"] = "red", + ["x"] = -273442.85714286, ["type"] = "T-55", + ["groupId"] = 14, + ["country"] = "russia", + ["playerCanDrive"] = true, + ["y"] = 628677.14285714, ["pos"] = { ["y"] = 10.380812644958, @@ -699,6 +688,7 @@ aliveUnits = }, -- end of [16781312] [16782336] = { + ["country"] = "usa", ["type"] = "TICONDEROG", ["point"] = { @@ -706,49 +696,52 @@ aliveUnits = ["x"] = -355285.71428571, }, -- end of ["point"] ["groupId"] = 8, + ["countryId"] = 11, ["groupName"] = "US Ships", ["skill"] = "Average", ["unit"] = { ["id_"] = 16782336, }, -- end of ["unit"] - ["countryId"] = 11, - ["unitId"] = 13, + ["coalition"] = "blue", + ["x"] = -355285.71428571, ["heading"] = 0, ["category"] = "ship", ["unitName"] = "US Ship #1", - ["country"] = "usa", - ["coalition"] = "blue", + ["unitId"] = 13, + ["y"] = 443857.14285714, ["pos"] = { - ["y"] = -0.051621526479721, - ["x"] = -355217.71875, + ["y"] = -0.057789996266365, + ["x"] = -355217.75, ["z"] = 443857.15625, }, -- end of ["pos"] }, -- end of [16782336] [16783360] = { - ["heading"] = 0, ["point"] = { ["y"] = 639800, ["x"] = -294685.71428571, }, -- end of ["point"] - ["groupId"] = 11, - ["country"] = "usa", - ["groupName"] = "USTanks1", ["skill"] = "Average", ["unit"] = { ["id_"] = 16783360, }, -- end of ["unit"] - ["coalition"] = "blue", - ["unitId"] = 19, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks1_1", - ["playerCanDrive"] = true, + ["heading"] = 0, + ["unitId"] = 19, + ["groupName"] = "USTanks1", + ["countryId"] = 11, + ["coalition"] = "blue", + ["x"] = -294685.71428571, ["type"] = "M-1 Abrams", + ["groupId"] = 11, + ["country"] = "usa", + ["playerCanDrive"] = true, + ["y"] = 639800, ["pos"] = { ["y"] = 7.5028886795044, @@ -758,32 +751,34 @@ aliveUnits = }, -- end of [16783360] [16784384] = { - ["heading"] = 1.4977557614926, ["point"] = { ["y"] = 653171.42857143, ["x"] = -293085.71428571, }, -- end of ["point"] - ["groupId"] = 12, - ["country"] = "usa", - ["groupName"] = "USTanks2", ["skill"] = "Average", ["unit"] = { ["id_"] = 16784384, }, -- end of ["unit"] - ["coalition"] = "blue", - ["unitId"] = 23, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks2_1", - ["playerCanDrive"] = true, + ["heading"] = 1.4977557614926, + ["unitId"] = 23, + ["groupName"] = "USTanks2", + ["countryId"] = 11, + ["coalition"] = "blue", + ["x"] = -293085.71428571, ["type"] = "M-1 Abrams", + ["groupId"] = 12, + ["country"] = "usa", + ["playerCanDrive"] = true, + ["y"] = 653171.42857143, ["pos"] = { - ["y"] = 19.92453956604, - ["x"] = -293062.75, - ["z"] = 653485.5, + ["y"] = 19.914764404297, + ["x"] = -293062.875, + ["z"] = 653483.5, }, -- end of ["pos"] }, -- end of [16784384] [16785408] = @@ -791,123 +786,141 @@ aliveUnits = ["alt"] = 2000, ["point"] = { - ["y"] = 662142.85714286, - ["x"] = -288142.85714286, + ["y"] = 597819.99999999, + ["x"] = -235614.28571428, }, -- end of ["point"] ["alt_type"] = "BARO", - ["livery_id"] = "19th Fighter SQN (AK)", - ["skill"] = "Client", + ["livery_id"] = "279th kiap 1st squad navy", + ["onboard_num"] = "53", ["unit"] = { ["id_"] = 16785408, }, -- end of ["unit"] ["category"] = "plane", + ["unitName"] = "Su-33 Client #2", + ["type"] = "Su-33", ["speed"] = 138.88888888889, - ["type"] = "F-15C", - ["groupId"] = 4, - ["groupName"] = "F-15C Client #1", - ["coalition"] = "blue", - ["country"] = "usa", - ["heading"] = -0.57883789069348, - ["unitId"] = 8, - ["countryId"] = 11, - ["unitName"] = "F-15C Client #1", + ["country"] = "russia", + ["psi"] = 0, + ["groupId"] = 21, + ["groupName"] = "Su-33 Client #2", + ["callsign"] = 104, + ["countryId"] = 2, + ["x"] = -235614.28571428, + ["skill"] = "Client", + ["heading"] = 0, + ["unitId"] = 43, + ["y"] = 597819.99999999, + ["coalition"] = "red", ["pos"] = { - ["y"] = 2002.8173828125, - ["x"] = -278606.25, - ["z"] = 655910.625, + ["y"] = 2006.4555664063, + ["x"] = -225384.671875, + ["z"] = 597820, }, -- end of ["pos"] }, -- end of [16785408] [16786432] = { - ["heading"] = 1.4977557614926, + ["alt"] = 73, ["point"] = { - ["y"] = 692886.94679558, - ["x"] = -287976.47272972, + ["y"] = 692340, + ["x"] = -283878, }, -- end of ["point"] - ["unitId"] = 7004, - ["country"] = "usa", + ["coalitionId"] = 2, ["skill"] = "Average", ["unit"] = { ["id_"] = 16786432, }, -- end of ["unit"] - ["coalition"] = "blue", - ["groupId"] = 7001, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "usa gnd 2 unit4", + ["heading"] = 1.4977603826792, + ["groupId"] = 7001, ["groupName"] = "usa gnd 2", + ["countryId"] = 2, + ["x"] = -283878, + ["y"] = 692340, ["type"] = "M-1 Abrams", + ["country"] = "usa", + ["coalition"] = "blue", + ["unitId"] = 7004, ["pos"] = { - ["y"] = 66.640884399414, - ["x"] = -287976.46875, - ["z"] = 692886.9375, + ["y"] = 72.835899353027, + ["x"] = -283877.65625, + ["z"] = 692340.0625, }, -- end of ["pos"] }, -- end of [16786432] [16787456] = { - ["heading"] = 1.4977557614926, + ["alt"] = 68, ["point"] = { - ["y"] = 692423.17192305, - ["x"] = -283793.86944615, + ["y"] = 690920, + ["x"] = -285485, }, -- end of ["point"] - ["unitId"] = 7009, - ["country"] = "usa", + ["coalitionId"] = 2, ["skill"] = "Average", ["unit"] = { ["id_"] = 16787456, }, -- end of ["unit"] - ["coalition"] = "blue", - ["groupId"] = 7003, - ["countryId"] = 2, ["category"] = "vehicle", - ["unitName"] = "usa gnd 3 unit4", - ["groupName"] = "usa gnd 3", + ["unitName"] = "usa gnd 4 unit4", + ["heading"] = 1.4977598003676, + ["groupId"] = 7003, + ["groupName"] = "usa gnd 4", + ["countryId"] = 2, + ["x"] = -285485, + ["y"] = 690920, ["type"] = "M-1 Abrams", + ["country"] = "usa", + ["coalition"] = "blue", + ["unitId"] = 7009, ["pos"] = { - ["y"] = 73.217681884766, - ["x"] = -283793.875, - ["z"] = 692423.1875, + ["y"] = 68.359664916992, + ["x"] = -285484.71875, + ["z"] = 690919.6875, }, -- end of ["pos"] }, -- end of [16787456] [16788480] = { - ["heading"] = 1.4977557614926, + ["alt"] = 65, ["point"] = { - ["y"] = 690430.82466041, - ["x"] = -287068.46280196, + ["y"] = 693055, + ["x"] = -288765, }, -- end of ["point"] - ["unitId"] = 7014, - ["country"] = "usa", + ["coalitionId"] = 2, ["skill"] = "Average", ["unit"] = { ["id_"] = 16788480, }, -- end of ["unit"] - ["coalition"] = "blue", - ["groupId"] = 7005, - ["countryId"] = 2, ["category"] = "vehicle", - ["unitName"] = "usa gnd 4 unit4", - ["groupName"] = "usa gnd 4", + ["unitName"] = "usa gnd 6 unit4", + ["heading"] = 1.4977545807326, + ["groupId"] = 7005, + ["groupName"] = "usa gnd 6", + ["countryId"] = 2, + ["x"] = -288765, + ["y"] = 693055, ["type"] = "M-1 Abrams", + ["country"] = "usa", + ["coalition"] = "blue", + ["unitId"] = 7014, ["pos"] = { - ["y"] = 61.159954071045, - ["x"] = -287068.46875, - ["z"] = 690430.8125, + ["y"] = 65.412734985352, + ["x"] = -288765.09375, + ["z"] = 693055.1875, }, -- end of ["pos"] }, -- end of [16788480] [16778496] = { + ["country"] = "russia", ["type"] = "MOSCOW", ["point"] = { @@ -915,24 +928,25 @@ aliveUnits = ["x"] = -87228.571428571, }, -- end of ["point"] ["groupId"] = 10, + ["countryId"] = 2, ["groupName"] = "Rus Ships #2", ["skill"] = "Average", ["unit"] = { ["id_"] = 16778496, }, -- end of ["unit"] - ["countryId"] = 2, - ["unitId"] = 18, + ["coalition"] = "red", + ["x"] = -87228.571428571, ["heading"] = 1.1755995276042, ["category"] = "ship", ["unitName"] = "2ship2", - ["country"] = "russia", - ["coalition"] = "red", + ["unitId"] = 18, + ["y"] = 74371.428571428, ["pos"] = { - ["y"] = -0.04130944609642, + ["y"] = -0.046517860144377, ["x"] = -87204.390625, - ["z"] = 74429.359375, + ["z"] = 74429.375, }, -- end of ["pos"] }, -- end of [16778496] [16779520] = @@ -945,52 +959,59 @@ aliveUnits = }, -- end of ["point"] ["alt_type"] = "BARO", ["livery_id"] = "Russia", - ["skill"] = "Random", + ["onboard_num"] = "53", ["unit"] = { ["id_"] = 16779520, }, -- end of ["unit"] ["category"] = "helicopter", - ["speed"] = 55.555555555556, + ["unitName"] = "Mi-8s_1_1 #1", ["type"] = "Mi-8MT", + ["speed"] = 55.555555555556, + ["country"] = "russia", + ["psi"] = -2.6119254271103, ["groupId"] = 3, ["groupName"] = "Mi-8s_1", - ["coalition"] = "red", - ["country"] = "russia", + ["callsign"] = 102, + ["countryId"] = 2, + ["x"] = -243325.71428571, + ["skill"] = "Random", ["heading"] = 2.6119254271103, ["unitId"] = 6, - ["countryId"] = 2, - ["unitName"] = "Mi-8s_1_1 #1", + ["y"] = 603325.71428571, + ["coalition"] = "red", ["pos"] = { - ["y"] = 508.99255371094, - ["x"] = -246077.390625, - ["z"] = 604977.4375, + ["y"] = 508.29885864258, + ["x"] = -246116.546875, + ["z"] = 605000.4375, }, -- end of ["pos"] }, -- end of [16779520] [16781568] = { - ["heading"] = 0, ["point"] = { ["y"] = 628717.14285714, ["x"] = -273482.85714286, }, -- end of ["point"] - ["groupId"] = 14, - ["country"] = "russia", - ["groupName"] = "RuTanks", ["skill"] = "Excellent", ["unit"] = { ["id_"] = 16781568, }, -- end of ["unit"] - ["coalition"] = "red", - ["unitId"] = 34, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuTanks2", - ["playerCanDrive"] = true, + ["heading"] = 0, + ["unitId"] = 34, + ["groupName"] = "RuTanks", + ["countryId"] = 2, + ["coalition"] = "red", + ["x"] = -273482.85714286, ["type"] = "T-55", + ["groupId"] = 14, + ["country"] = "russia", + ["playerCanDrive"] = true, + ["y"] = 628717.14285714, ["pos"] = { ["y"] = 10.385926246643, @@ -1000,6 +1021,7 @@ aliveUnits = }, -- end of [16781568] [16782592] = { + ["country"] = "usa", ["type"] = "TICONDEROG", ["point"] = { @@ -1007,49 +1029,52 @@ aliveUnits = ["x"] = -356085.71428571, }, -- end of ["point"] ["groupId"] = 8, + ["countryId"] = 11, ["groupName"] = "US Ships", ["skill"] = "Average", ["unit"] = { ["id_"] = 16782592, }, -- end of ["unit"] - ["countryId"] = 11, - ["unitId"] = 14, + ["coalition"] = "blue", + ["x"] = -356085.71428571, ["heading"] = 0, ["category"] = "ship", ["unitName"] = "US Ship #2", - ["country"] = "usa", - ["coalition"] = "blue", + ["unitId"] = 14, + ["y"] = 444657.14285714, ["pos"] = { - ["y"] = -0.05169664695859, + ["y"] = -0.057778537273407, ["x"] = -356017.75, - ["z"] = 444657.15625, + ["z"] = 444657.1875, }, -- end of ["pos"] }, -- end of [16782592] [16783616] = { - ["heading"] = 0, ["point"] = { ["y"] = 639840, ["x"] = -294725.71428571, }, -- end of ["point"] - ["groupId"] = 11, - ["country"] = "usa", - ["groupName"] = "USTanks1", ["skill"] = "Average", ["unit"] = { ["id_"] = 16783616, }, -- end of ["unit"] - ["coalition"] = "blue", - ["unitId"] = 20, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks1_2", - ["playerCanDrive"] = true, + ["heading"] = 0, + ["unitId"] = 20, + ["groupName"] = "USTanks1", + ["countryId"] = 11, + ["coalition"] = "blue", + ["x"] = -294725.71428571, ["type"] = "M-1 Abrams", + ["groupId"] = 11, + ["country"] = "usa", + ["playerCanDrive"] = true, + ["y"] = 639840, ["pos"] = { ["y"] = 7.6145420074463, @@ -1059,123 +1084,138 @@ aliveUnits = }, -- end of [16783616] [16784640] = { - ["heading"] = 1.4977557614926, ["point"] = { ["y"] = 653211.42857143, ["x"] = -293125.71428571, }, -- end of ["point"] - ["groupId"] = 12, - ["country"] = "usa", - ["groupName"] = "USTanks2", ["skill"] = "Average", ["unit"] = { ["id_"] = 16784640, }, -- end of ["unit"] - ["coalition"] = "blue", - ["unitId"] = 24, - ["countryId"] = 11, ["category"] = "vehicle", ["unitName"] = "USTanks2_2", - ["playerCanDrive"] = true, + ["heading"] = 1.4977557614926, + ["unitId"] = 24, + ["groupName"] = "USTanks2", + ["countryId"] = 11, + ["coalition"] = "blue", + ["x"] = -293125.71428571, ["type"] = "M-1 Abrams", + ["groupId"] = 12, + ["country"] = "usa", + ["playerCanDrive"] = true, + ["y"] = 653211.42857143, ["pos"] = { - ["y"] = 19.804529190063, - ["x"] = -293064.53125, - ["z"] = 653460.9375, + ["y"] = 19.794382095337, + ["x"] = -293064.6875, + ["z"] = 653458.875, }, -- end of ["pos"] }, -- end of [16784640] [16785664] = { - ["heading"] = 1.4977557614926, + ["alt"] = 73, ["point"] = { - ["y"] = 692951.80504833, - ["x"] = -288112.04900582, + ["y"] = 692297, + ["x"] = -283873, }, -- end of ["point"] - ["unitId"] = 7001, - ["country"] = "usa", + ["coalitionId"] = 2, ["skill"] = "Average", ["unit"] = { ["id_"] = 16785664, }, -- end of ["unit"] - ["coalition"] = "blue", - ["groupId"] = 7001, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "usa gnd 2 unit1", + ["heading"] = 1.4977603826792, + ["groupId"] = 7001, ["groupName"] = "usa gnd 2", + ["countryId"] = 2, + ["x"] = -283873, + ["y"] = 692297, ["type"] = "M-1 Abrams", + ["country"] = "usa", + ["coalition"] = "blue", + ["unitId"] = 7001, ["pos"] = { - ["y"] = 66.39640045166, - ["x"] = -288112.0625, - ["z"] = 692951.8125, + ["y"] = 72.781074523926, + ["x"] = -283872.96875, + ["z"] = 692297.125, }, -- end of ["pos"] }, -- end of [16785664] [16786688] = { - ["heading"] = 1.4977557614926, + ["alt"] = 68, ["point"] = { - ["y"] = 692301.85580476, - ["x"] = -283925.5171695, + ["y"] = 690998, + ["x"] = -285539, }, -- end of ["point"] - ["unitId"] = 7006, - ["country"] = "usa", + ["coalitionId"] = 2, ["skill"] = "Average", ["unit"] = { ["id_"] = 16786688, }, -- end of ["unit"] - ["coalition"] = "blue", - ["groupId"] = 7003, - ["countryId"] = 2, ["category"] = "vehicle", - ["unitName"] = "usa gnd 3 unit1", - ["groupName"] = "usa gnd 3", + ["unitName"] = "usa gnd 4 unit1", + ["heading"] = 1.4977591325037, + ["groupId"] = 7003, + ["groupName"] = "usa gnd 4", + ["countryId"] = 2, + ["x"] = -285539, + ["y"] = 690998, ["type"] = "M-1 Abrams", + ["country"] = "usa", + ["coalition"] = "blue", + ["unitId"] = 7006, ["pos"] = { - ["y"] = 72.640968322754, - ["x"] = -283925.53125, - ["z"] = 692301.875, + ["y"] = 68.374801635742, + ["x"] = -285538.8125, + ["z"] = 690998.25, }, -- end of ["pos"] }, -- end of [16786688] [16787712] = { - ["heading"] = 1.4977557614926, + ["alt"] = 65, ["point"] = { - ["y"] = 690345.01202023, - ["x"] = -286996.80803754, + ["y"] = 692970, + ["x"] = -288880, }, -- end of ["point"] - ["unitId"] = 7011, - ["country"] = "usa", + ["coalitionId"] = 2, ["skill"] = "Average", ["unit"] = { ["id_"] = 16787712, }, -- end of ["unit"] - ["coalition"] = "blue", - ["groupId"] = 7005, - ["countryId"] = 2, ["category"] = "vehicle", - ["unitName"] = "usa gnd 4 unit1", - ["groupName"] = "usa gnd 4", + ["unitName"] = "usa gnd 6 unit1", + ["heading"] = 1.4977545807326, + ["groupId"] = 7005, + ["groupName"] = "usa gnd 6", + ["countryId"] = 2, + ["x"] = -288880, + ["y"] = 692970, ["type"] = "M-1 Abrams", + ["country"] = "usa", + ["coalition"] = "blue", + ["unitId"] = 7011, ["pos"] = { - ["y"] = 61.328872680664, - ["x"] = -286996.8125, - ["z"] = 690345, + ["y"] = 65.337532043457, + ["x"] = -288880.46875, + ["z"] = 692969.5625, }, -- end of ["pos"] }, -- end of [16787712] [16777728] = { + ["country"] = "russia", ["type"] = "MOSCOW", ["point"] = { @@ -1183,22 +1223,23 @@ aliveUnits = ["x"] = -34285.714285714, }, -- end of ["point"] ["groupId"] = 9, + ["countryId"] = 2, ["groupName"] = "Rus Ships #1", ["skill"] = "Average", ["unit"] = { ["id_"] = 16777728, }, -- end of ["unit"] - ["countryId"] = 2, - ["unitId"] = 15, + ["coalition"] = "red", + ["x"] = -34285.714285714, ["heading"] = 0, ["category"] = "ship", ["unitName"] = "1ship1", - ["country"] = "russia", - ["coalition"] = "red", + ["unitId"] = 15, + ["y"] = 200000, ["pos"] = { - ["y"] = -0.042573116719723, + ["y"] = -0.04779813811183, ["x"] = -34222.9375, ["z"] = 200000, }, -- end of ["pos"] diff --git a/Example DBs/mist_DBs_deadObjects.lua b/Example DBs/mist_DBs_deadObjects.lua index 2d594d8..5f2a871 100644 --- a/Example DBs/mist_DBs_deadObjects.lua +++ b/Example DBs/mist_DBs_deadObjects.lua @@ -1,130 +1,44 @@ deadObjects = { - [16779776] = - { - ["objectPos"] = - { - ["y"] = 22.492967605591, - ["x"] = -292872.3125, - ["z"] = 654419.125, - }, -- end of ["objectPos"] - ["objectType"] = "vehicle", - ["objectData"] = - { - ["heading"] = -1.7994767003775, - ["point"] = - { - ["y"] = 654545.71428571, - ["x"] = -292842.85714286, - }, -- end of ["point"] - ["country"] = "russia", - ["skill"] = "Average", - ["type"] = "BTR-80", - ["groupName"] = "RuBTRs", - ["unit"] = - { - ["id_"] = 16779776, - }, -- end of ["unit"] - ["coalition"] = "red", - ["unitId"] = 27, - ["countryId"] = 2, - ["category"] = "vehicle", - ["unitName"] = "RuBTRs1", - ["playerCanDrive"] = true, - ["groupId"] = 13, - ["pos"] = - { - ["y"] = 22.492244720459, - ["x"] = -292872.25, - ["z"] = 654419.375, - }, -- end of ["pos"] - }, -- end of ["objectData"] - ["object"] = - { - ["id_"] = 16779776, - }, -- end of ["object"] - }, -- end of [16779776] - [16780032] = - { - ["objectPos"] = - { - ["y"] = 22.487079620361, - ["x"] = -292863.46875, - ["z"] = 654411.625, - }, -- end of ["objectPos"] - ["objectType"] = "vehicle", - ["objectData"] = - { - ["heading"] = -1.7994767003775, - ["point"] = - { - ["y"] = 654585.71428571, - ["x"] = -292882.85714286, - }, -- end of ["point"] - ["country"] = "russia", - ["skill"] = "Average", - ["type"] = "BTR-80", - ["groupName"] = "RuBTRs", - ["unit"] = - { - ["id_"] = 16780032, - }, -- end of ["unit"] - ["coalition"] = "red", - ["unitId"] = 28, - ["countryId"] = 2, - ["category"] = "vehicle", - ["unitName"] = "RuBTRs2", - ["playerCanDrive"] = true, - ["groupId"] = 13, - ["pos"] = - { - ["y"] = 22.486150741577, - ["x"] = -292864, - ["z"] = 654412.6875, - }, -- end of ["pos"] - }, -- end of ["objectData"] - ["object"] = - { - ["id_"] = 16780032, - }, -- end of ["object"] - }, -- end of [16780032] [16780544] = { ["objectPos"] = { - ["y"] = 22.290777206421, - ["x"] = -292853.84375, - ["z"] = 654488.3125, + ["y"] = 22.166765213013, + ["x"] = -292846.4375, + ["z"] = 654524.8125, }, -- end of ["objectPos"] ["objectType"] = "vehicle", ["objectData"] = { - ["heading"] = -1.7994767003775, ["point"] = { ["y"] = 654665.71428571, ["x"] = -292962.85714286, }, -- end of ["point"] - ["country"] = "russia", ["skill"] = "Average", - ["type"] = "BTR-80", - ["groupName"] = "RuBTRs", ["unit"] = { ["id_"] = 16780544, }, -- end of ["unit"] - ["coalition"] = "red", - ["unitId"] = 30, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuBTRs4", - ["playerCanDrive"] = true, + ["type"] = "BTR-80", ["groupId"] = 13, + ["groupName"] = "RuBTRs", + ["countryId"] = 2, + ["coalition"] = "red", + ["x"] = -292962.85714286, + ["y"] = 654665.71428571, + ["heading"] = -1.7994767003775, + ["unitId"] = 30, + ["playerCanDrive"] = true, + ["country"] = "russia", ["pos"] = { - ["y"] = 22.284147262573, - ["x"] = -292853.5, - ["z"] = 654490.5, + ["y"] = 22.16552734375, + ["x"] = -292846.40625, + ["z"] = 654525.1875, }, -- end of ["pos"] }, -- end of ["objectData"] ["object"] = @@ -132,4 +46,234 @@ deadObjects = ["id_"] = 16780544, }, -- end of ["object"] }, -- end of [16780544] + [16779776] = + { + ["objectPos"] = + { + ["y"] = 22.457056045532, + ["x"] = -292869.3125, + ["z"] = 654432, + }, -- end of ["objectPos"] + ["objectType"] = "vehicle", + ["objectData"] = + { + ["point"] = + { + ["y"] = 654545.71428571, + ["x"] = -292842.85714286, + }, -- end of ["point"] + ["skill"] = "Average", + ["unit"] = + { + ["id_"] = 16779776, + }, -- end of ["unit"] + ["category"] = "vehicle", + ["unitName"] = "RuBTRs1", + ["type"] = "BTR-80", + ["groupId"] = 13, + ["groupName"] = "RuBTRs", + ["countryId"] = 2, + ["coalition"] = "red", + ["x"] = -292842.85714286, + ["y"] = 654545.71428571, + ["heading"] = -1.7994767003775, + ["unitId"] = 27, + ["playerCanDrive"] = true, + ["country"] = "russia", + ["pos"] = + { + ["y"] = 22.452924728394, + ["x"] = -292868.96875, + ["z"] = 654433.4375, + }, -- end of ["pos"] + }, -- end of ["objectData"] + ["object"] = + { + ["id_"] = 16779776, + }, -- end of ["object"] + }, -- end of [16779776] + [16780800] = + { + ["objectPos"] = + { + ["y"] = 22.298601150513, + ["x"] = -292854.3125, + ["z"] = 654485.875, + }, -- end of ["objectPos"] + ["objectType"] = "vehicle", + ["objectData"] = + { + ["point"] = + { + ["y"] = 654705.71428571, + ["x"] = -293002.85714286, + }, -- end of ["point"] + ["skill"] = "Average", + ["unit"] = + { + ["id_"] = 16780800, + }, -- end of ["unit"] + ["category"] = "vehicle", + ["unitName"] = "RuBTRs5", + ["type"] = "BTR-80", + ["groupId"] = 13, + ["groupName"] = "RuBTRs", + ["countryId"] = 2, + ["coalition"] = "red", + ["x"] = -293002.85714286, + ["y"] = 654705.71428571, + ["heading"] = -1.7994767003775, + ["unitId"] = 31, + ["playerCanDrive"] = true, + ["country"] = "russia", + ["pos"] = + { + ["y"] = 22.302053451538, + ["x"] = -292855.65625, + ["z"] = 654485.9375, + }, -- end of ["pos"] + }, -- end of ["objectData"] + ["object"] = + { + ["id_"] = 16780800, + }, -- end of ["object"] + }, -- end of [16780800] + [16780032] = + { + ["objectPos"] = + { + ["y"] = 22.378034591675, + ["x"] = -292859.625, + ["z"] = 654456.6875, + }, -- end of ["objectPos"] + ["objectType"] = "vehicle", + ["objectData"] = + { + ["point"] = + { + ["y"] = 654585.71428571, + ["x"] = -292882.85714286, + }, -- end of ["point"] + ["skill"] = "Average", + ["unit"] = + { + ["id_"] = 16780032, + }, -- end of ["unit"] + ["category"] = "vehicle", + ["unitName"] = "RuBTRs2", + ["type"] = "BTR-80", + ["groupId"] = 13, + ["groupName"] = "RuBTRs", + ["countryId"] = 2, + ["coalition"] = "red", + ["x"] = -292882.85714286, + ["y"] = 654585.71428571, + ["heading"] = -1.7994767003775, + ["unitId"] = 28, + ["playerCanDrive"] = true, + ["country"] = "russia", + ["pos"] = + { + ["y"] = 22.37452507019, + ["x"] = -292859.8125, + ["z"] = 654458.5, + }, -- end of ["pos"] + }, -- end of ["objectData"] + ["object"] = + { + ["id_"] = 16780032, + }, -- end of ["object"] + }, -- end of [16780032] + [16781056] = + { + ["objectPos"] = + { + ["y"] = 22.305490493774, + ["x"] = -292859.53125, + ["z"] = 654488.625, + }, -- end of ["objectPos"] + ["objectType"] = "vehicle", + ["objectData"] = + { + ["point"] = + { + ["y"] = 654745.71428571, + ["x"] = -293042.85714286, + }, -- end of ["point"] + ["skill"] = "Average", + ["unit"] = + { + ["id_"] = 16781056, + }, -- end of ["unit"] + ["category"] = "vehicle", + ["unitName"] = "RuBTRs6", + ["type"] = "BTR-80", + ["groupId"] = 13, + ["groupName"] = "RuBTRs", + ["countryId"] = 2, + ["coalition"] = "red", + ["x"] = -293042.85714286, + ["y"] = 654745.71428571, + ["heading"] = -1.7994767003775, + ["unitId"] = 32, + ["playerCanDrive"] = true, + ["country"] = "russia", + ["pos"] = + { + ["y"] = 22.300601959229, + ["x"] = -292858.625, + ["z"] = 654489.5625, + }, -- end of ["pos"] + }, -- end of ["objectData"] + ["object"] = + { + ["id_"] = 16781056, + }, -- end of ["object"] + }, -- end of [16781056] + [16780288] = + { + ["objectPos"] = + { + ["y"] = 22.347684860229, + ["x"] = -292865.125, + ["z"] = 654476.75, + }, -- end of ["objectPos"] + ["objectType"] = "vehicle", + ["objectData"] = + { + ["point"] = + { + ["y"] = 654625.71428571, + ["x"] = -292922.85714286, + }, -- end of ["point"] + ["skill"] = "Average", + ["unit"] = + { + ["id_"] = 16780288, + }, -- end of ["unit"] + ["category"] = "vehicle", + ["unitName"] = "RuBTRs3", + ["type"] = "BTR-80", + ["groupId"] = 13, + ["groupName"] = "RuBTRs", + ["countryId"] = 2, + ["coalition"] = "red", + ["x"] = -292922.85714286, + ["y"] = 654625.71428571, + ["heading"] = -1.7994767003775, + ["unitId"] = 29, + ["playerCanDrive"] = true, + ["country"] = "russia", + ["pos"] = + { + ["y"] = 22.343215942383, + ["x"] = -292864.5, + ["z"] = 654478.0625, + }, -- end of ["pos"] + }, -- end of ["objectData"] + ["object"] = + { + ["id_"] = 16780288, + }, -- end of ["object"] + }, -- end of [16780288] } -- end of deadObjects diff --git a/Example DBs/mist_DBs_dynGroupsAdded.lua b/Example DBs/mist_DBs_dynGroupsAdded.lua index e7b778c..e75fd9b 100644 --- a/Example DBs/mist_DBs_dynGroupsAdded.lua +++ b/Example DBs/mist_DBs_dynGroupsAdded.lua @@ -3,373 +3,328 @@ dynGroupsAdded = [1] = { ["country"] = "usa", + ["coalitionId"] = 2, + ["groupName"] = "usa gnd 2", ["units"] = { [1] = { + ["alt"] = 73, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692951.80504833, - ["x"] = -288112.04900582, + ["y"] = 692297, + ["x"] = -283873, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["groupId"] = 7001, + ["coalitionId"] = 2, ["coalition"] = "blue", - ["unitId"] = 7001, - ["heading"] = 1.4977557614926, + ["groupName"] = "usa gnd 2", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -283873, + ["y"] = 692297, ["category"] = "vehicle", ["unitName"] = "usa gnd 2 unit1", - ["groupName"] = "usa gnd 2", - ["countryId"] = 2, - ["groupId"] = 7001, + ["unitId"] = 7001, + ["heading"] = 1.4977603826792, + ["skill"] = "Average", }, -- end of [1] [2] = { + ["alt"] = 73, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692984.63711165, - ["x"] = -288136.26599616, + ["y"] = 692378, + ["x"] = -283913, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["groupId"] = 7001, + ["coalitionId"] = 2, ["coalition"] = "blue", - ["unitId"] = 7002, - ["heading"] = 1.4977557614926, + ["groupName"] = "usa gnd 2", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -283913, + ["y"] = 692378, ["category"] = "vehicle", ["unitName"] = "usa gnd 2 unit2", - ["groupName"] = "usa gnd 2", - ["countryId"] = 2, - ["groupId"] = 7001, + ["unitId"] = 7002, + ["heading"] = 1.4977610327793, + ["skill"] = "Average", }, -- end of [2] [3] = { + ["alt"] = 72, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692996.24632438, - ["x"] = -288123.02974075, + ["y"] = 692136, + ["x"] = -283991, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["groupId"] = 7001, + ["coalitionId"] = 2, ["coalition"] = "blue", - ["unitId"] = 7003, - ["heading"] = 1.4977557614926, + ["groupName"] = "usa gnd 2", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -283991, + ["y"] = 692136, ["category"] = "vehicle", ["unitName"] = "usa gnd 2 unit3", - ["groupName"] = "usa gnd 2", - ["countryId"] = 2, - ["groupId"] = 7001, + ["unitId"] = 7003, + ["heading"] = 1.4977579653353, + ["skill"] = "Average", }, -- end of [3] [4] = { + ["alt"] = 73, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692886.94679558, - ["x"] = -287976.47272972, + ["y"] = 692340, + ["x"] = -283878, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["groupId"] = 7001, + ["coalitionId"] = 2, ["coalition"] = "blue", - ["unitId"] = 7004, - ["heading"] = 1.4977557614926, + ["groupName"] = "usa gnd 2", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -283878, + ["y"] = 692340, ["category"] = "vehicle", ["unitName"] = "usa gnd 2 unit4", - ["groupName"] = "usa gnd 2", - ["countryId"] = 2, - ["groupId"] = 7001, + ["unitId"] = 7004, + ["heading"] = 1.4977603826792, + ["skill"] = "Average", }, -- end of [4] }, -- end of ["units"] ["countryId"] = 2, - ["groupId"] = 7001, ["name"] = "usa gnd 2", + ["timeAdded"] = 43221.091, ["category"] = "vehicle", ["coalition"] = "blue", - ["startTime"] = 43221.011, + ["startTime"] = 43221.091, ["task"] = "Ground Nothing", - ["timeAdded"] = 43221.011, + ["groupId"] = 7001, }, -- end of [1] [2] = { - ["groupId"] = 7005, + ["country"] = "usa", + ["coalitionId"] = 2, + ["groupName"] = "usa gnd 4", ["units"] = { [1] = { - ["alt"] = 69, - ["type"] = "Container red 1", + ["alt"] = 68, + ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 690925, - ["x"] = -285115, + ["y"] = 690998, + ["x"] = -285539, }, -- end of ["point"] - ["groupId"] = 7005, - ["groupName"] = "USA static 7005", - ["countryId"] = 2, - ["unitId"] = 7005, - ["category"] = "ship", - ["unitName"] = "USA static 7005", - ["heading"] = 6.1694608363366, - ["country"] = "usa", + ["groupId"] = 7003, + ["coalitionId"] = 2, ["coalition"] = "blue", + ["groupName"] = "usa gnd 4", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -285539, + ["y"] = 690998, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 4 unit1", + ["unitId"] = 7006, + ["heading"] = 1.4977591325037, + ["skill"] = "Average", }, -- end of [1] + [2] = + { + ["alt"] = 68, + ["type"] = "M-1 Abrams", + ["point"] = + { + ["y"] = 690984, + ["x"] = -285610, + }, -- end of ["point"] + ["groupId"] = 7003, + ["coalitionId"] = 2, + ["coalition"] = "blue", + ["groupName"] = "usa gnd 4", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -285610, + ["y"] = 690984, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 4 unit2", + ["unitId"] = 7007, + ["heading"] = 1.4977589159233, + ["skill"] = "Average", + }, -- end of [2] + [3] = + { + ["alt"] = 68, + ["type"] = "M-1 Abrams", + ["point"] = + { + ["y"] = 690825, + ["x"] = -285472, + }, -- end of ["point"] + ["groupId"] = 7003, + ["coalitionId"] = 2, + ["coalition"] = "blue", + ["groupName"] = "usa gnd 4", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -285472, + ["y"] = 690825, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 4 unit3", + ["unitId"] = 7008, + ["heading"] = 1.4977598003676, + ["skill"] = "Average", + }, -- end of [3] + [4] = + { + ["alt"] = 68, + ["type"] = "M-1 Abrams", + ["point"] = + { + ["y"] = 690920, + ["x"] = -285485, + }, -- end of ["point"] + ["groupId"] = 7003, + ["coalitionId"] = 2, + ["coalition"] = "blue", + ["groupName"] = "usa gnd 4", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -285485, + ["y"] = 690920, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 4 unit4", + ["unitId"] = 7009, + ["heading"] = 1.4977598003676, + ["skill"] = "Average", + }, -- end of [4] }, -- end of ["units"] ["countryId"] = 2, - ["timeAdded"] = 43221.011, - ["category"] = "ship", - ["country"] = "usa", - ["startTime"] = 43221.011, + ["name"] = "usa gnd 4", + ["timeAdded"] = 43222.091, + ["category"] = "vehicle", ["coalition"] = "blue", - ["name"] = "USA static 7005", + ["startTime"] = 43222.091, + ["task"] = "Ground Nothing", + ["groupId"] = 7003, }, -- end of [2] [3] = { ["country"] = "usa", + ["coalitionId"] = 2, + ["groupName"] = "usa gnd 6", ["units"] = { [1] = { + ["alt"] = 65, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692301.85580476, - ["x"] = -283925.5171695, + ["y"] = 692970, + ["x"] = -288880, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["groupId"] = 7005, + ["coalitionId"] = 2, ["coalition"] = "blue", - ["unitId"] = 7006, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 3 unit1", - ["groupName"] = "usa gnd 3", + ["groupName"] = "usa gnd 6", + ["country"] = "usa", ["countryId"] = 2, - ["groupId"] = 7003, - }, -- end of [1] - [2] = - { - ["type"] = "M-1 Abrams", - ["point"] = - { - ["y"] = 692374.68565784, - ["x"] = -283846.9396746, - }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", - ["coalition"] = "blue", - ["unitId"] = 7007, - ["heading"] = 1.4977557614926, + ["x"] = -288880, + ["y"] = 692970, ["category"] = "vehicle", - ["unitName"] = "usa gnd 3 unit2", - ["groupName"] = "usa gnd 3", - ["countryId"] = 2, - ["groupId"] = 7003, - }, -- end of [2] - [3] = - { - ["type"] = "M-1 Abrams", - ["point"] = - { - ["y"] = 692416.6568865, - ["x"] = -284022.73058924, - }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", - ["coalition"] = "blue", - ["unitId"] = 7008, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 3 unit3", - ["groupName"] = "usa gnd 3", - ["countryId"] = 2, - ["groupId"] = 7003, - }, -- end of [3] - [4] = - { - ["type"] = "M-1 Abrams", - ["point"] = - { - ["y"] = 692423.17192305, - ["x"] = -283793.86944615, - }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", - ["coalition"] = "blue", - ["unitId"] = 7009, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 3 unit4", - ["groupName"] = "usa gnd 3", - ["countryId"] = 2, - ["groupId"] = 7003, - }, -- end of [4] - }, -- end of ["units"] - ["countryId"] = 2, - ["groupId"] = 7003, - ["name"] = "usa gnd 3", - ["category"] = "vehicle", - ["coalition"] = "blue", - ["startTime"] = 43223.011, - ["task"] = "Ground Nothing", - ["timeAdded"] = 43223.011, - }, -- end of [3] - [4] = - { - ["country"] = "usa", - ["units"] = - { - [1] = - { - ["type"] = "M-1 Abrams", - ["point"] = - { - ["y"] = 690345.01202023, - ["x"] = -286996.80803754, - }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", - ["coalition"] = "blue", + ["unitName"] = "usa gnd 6 unit1", ["unitId"] = 7011, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 4 unit1", - ["groupName"] = "usa gnd 4", - ["countryId"] = 2, - ["groupId"] = 7005, + ["heading"] = 1.4977545807326, + ["skill"] = "Average", }, -- end of [1] [2] = { + ["alt"] = 65, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 690495.78308897, - ["x"] = -287119.30705856, + ["y"] = 693075, + ["x"] = -288920, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", - ["coalition"] = "blue", - ["unitId"] = 7012, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 4 unit2", - ["groupName"] = "usa gnd 4", - ["countryId"] = 2, ["groupId"] = 7005, + ["coalitionId"] = 2, + ["coalition"] = "blue", + ["groupName"] = "usa gnd 6", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -288920, + ["y"] = 693075, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 6 unit2", + ["unitId"] = 7012, + ["heading"] = 1.4977545807326, + ["skill"] = "Average", }, -- end of [2] [3] = { + ["alt"] = 65, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 690419.49528366, - ["x"] = -287149.74499211, + ["y"] = 692855, + ["x"] = -288930, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", - ["coalition"] = "blue", - ["unitId"] = 7013, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 4 unit3", - ["groupName"] = "usa gnd 4", - ["countryId"] = 2, ["groupId"] = 7005, + ["coalitionId"] = 2, + ["coalition"] = "blue", + ["groupName"] = "usa gnd 6", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -288930, + ["y"] = 692855, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 6 unit3", + ["unitId"] = 7013, + ["heading"] = 1.4977545807326, + ["skill"] = "Average", }, -- end of [3] [4] = { + ["alt"] = 65, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 690430.82466041, - ["x"] = -287068.46280196, + ["y"] = 693055, + ["x"] = -288765, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", - ["coalition"] = "blue", - ["unitId"] = 7014, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 4 unit4", - ["groupName"] = "usa gnd 4", - ["countryId"] = 2, ["groupId"] = 7005, + ["coalitionId"] = 2, + ["coalition"] = "blue", + ["groupName"] = "usa gnd 6", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -288765, + ["y"] = 693055, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 6 unit4", + ["unitId"] = 7014, + ["heading"] = 1.4977545807326, + ["skill"] = "Average", }, -- end of [4] }, -- end of ["units"] ["countryId"] = 2, - ["groupId"] = 7005, - ["name"] = "usa gnd 4", + ["name"] = "usa gnd 6", + ["timeAdded"] = 43223.091, ["category"] = "vehicle", ["coalition"] = "blue", - ["startTime"] = 43223.011, + ["startTime"] = 43223.091, ["task"] = "Ground Nothing", - ["timeAdded"] = 43223.011, - }, -- end of [4] - [5] = - { - ["groupId"] = 7010, - ["units"] = - { - [1] = - { - ["alt"] = 66, - ["type"] = "Container red 1", - ["point"] = - { - ["y"] = 692491, - ["x"] = -287269, - }, -- end of ["point"] - ["groupId"] = 7010, - ["groupName"] = "USA static 7010", - ["countryId"] = 2, - ["unitId"] = 7010, - ["category"] = "ship", - ["unitName"] = "USA static 7010", - ["heading"] = 6.1693154268268, - ["country"] = "usa", - ["coalition"] = "blue", - }, -- end of [1] - }, -- end of ["units"] - ["countryId"] = 2, - ["timeAdded"] = 43223.011, - ["category"] = "ship", - ["country"] = "usa", - ["startTime"] = 43223.011, - ["coalition"] = "blue", - ["name"] = "USA static 7010", - }, -- end of [5] - [6] = - { - ["groupId"] = 7015, - ["units"] = - { - [1] = - { - ["alt"] = 64, - ["type"] = "Container red 1", - ["point"] = - { - ["y"] = 689768, - ["x"] = -285807, - }, -- end of ["point"] - ["groupId"] = 7015, - ["groupName"] = "USA static 7015", - ["countryId"] = 2, - ["unitId"] = 7015, - ["category"] = "ship", - ["unitName"] = "USA static 7015", - ["heading"] = 6.169648830639, - ["country"] = "usa", - ["coalition"] = "blue", - }, -- end of [1] - }, -- end of ["units"] - ["countryId"] = 2, - ["timeAdded"] = 43223.011, - ["category"] = "ship", - ["country"] = "usa", - ["startTime"] = 43223.011, - ["coalition"] = "blue", - ["name"] = "USA static 7015", - }, -- end of [6] + ["groupId"] = 7005, + }, -- end of [3] } -- end of dynGroupsAdded diff --git a/Example DBs/mist_DBs_groupsById.lua b/Example DBs/mist_DBs_groupsById.lua index df3983e..7a1ea11 100644 --- a/Example DBs/mist_DBs_groupsById.lua +++ b/Example DBs/mist_DBs_groupsById.lua @@ -2,339 +2,453 @@ groupsById = { [1] = { - ["groupId"] = 1, + ["modulation"] = 0, + ["country"] = "usa", + ["uncontrolled"] = false, ["groupName"] = "AH-1s_1", ["units"] = { [1] = { ["alt"] = 500, - ["heading"] = 0.017389551289373, ["point"] = { ["y"] = 631857.14285714, ["x"] = -297857.14285714, }, -- end of ["point"] - ["groupId"] = 1, ["alt_type"] = "BARO", ["livery_id"] = "standard", - ["skill"] = "High", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 55.555555555556, - ["country"] = "usa", + ["onboard_num"] = "50", ["category"] = "helicopter", - ["unitName"] = "AH-1s_1_1", + ["speed"] = 55.555555555556, ["type"] = "AH-1W", - ["unitId"] = 1, + ["country"] = "usa", + ["psi"] = -0.017389551289373, + ["unitName"] = "AH-1s_1_1", ["groupName"] = "AH-1s_1", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -297857.14285714, + ["y"] = 631857.14285714, + ["unitId"] = 1, + ["heading"] = 0.017389551289373, + ["skill"] = "High", + ["callsign"] = + { + [1] = 1, + [2] = 1, + [3] = 1, + ["name"] = "Enfield11", + }, -- end of ["callsign"] + ["groupId"] = 1, }, -- end of [1] [2] = { ["alt"] = 500, - ["heading"] = 0.017389551289373, ["point"] = { ["y"] = 631897.14285714, ["x"] = -297897.14285714, }, -- end of ["point"] - ["groupId"] = 1, ["alt_type"] = "BARO", ["livery_id"] = "standard", - ["skill"] = "High", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 55.555555555556, - ["country"] = "usa", + ["onboard_num"] = "51", ["category"] = "helicopter", - ["unitName"] = "AH-1s_1_2", + ["speed"] = 55.555555555556, ["type"] = "AH-1W", - ["unitId"] = 2, + ["country"] = "usa", + ["psi"] = -0.017389551289373, + ["unitName"] = "AH-1s_1_2", ["groupName"] = "AH-1s_1", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -297897.14285714, + ["y"] = 631897.14285714, + ["unitId"] = 2, + ["heading"] = 0.017389551289373, + ["skill"] = "High", + ["callsign"] = + { + [1] = 1, + [2] = 1, + [3] = 2, + ["name"] = "Enfield12", + }, -- end of ["callsign"] + ["groupId"] = 1, }, -- end of [2] }, -- end of ["units"] - ["coalition"] = "blue", + ["countryId"] = 11, + ["radioSet"] = false, + ["groupId"] = 1, ["category"] = "helicopter", - ["country"] = "usa", + ["coalition"] = "blue", ["startTime"] = 0, ["task"] = "CAS", - ["countryId"] = 11, + ["frequency"] = 127.5, }, -- end of [1] [2] = { - ["groupId"] = 2, + ["modulation"] = 0, + ["country"] = "russia", + ["uncontrolled"] = false, ["groupName"] = "Ka-50s_1", ["units"] = { [1] = { ["alt"] = 500, - ["heading"] = 2.5953630185698, ["point"] = { ["y"] = 615000, ["x"] = -237571.42857143, }, -- end of ["point"] - ["groupId"] = 2, ["alt_type"] = "BARO", ["livery_id"] = "Russia Demo #024", - ["skill"] = "High", - ["countryId"] = 2, - ["coalition"] = "red", - ["speed"] = 55.555555555556, - ["country"] = "russia", + ["onboard_num"] = "50", ["category"] = "helicopter", - ["unitName"] = "Ka-50s_1_1", + ["speed"] = 55.555555555556, ["type"] = "Ka-50", - ["unitId"] = 3, + ["country"] = "russia", + ["psi"] = -2.5953630185698, + ["unitName"] = "Ka-50s_1_1", ["groupName"] = "Ka-50s_1", + ["coalition"] = "red", + ["countryId"] = 2, + ["x"] = -237571.42857143, + ["y"] = 615000, + ["unitId"] = 3, + ["heading"] = 2.5953630185698, + ["skill"] = "High", + ["callsign"] = 100, + ["groupId"] = 2, }, -- end of [1] [2] = { ["alt"] = 500, - ["heading"] = 2.5953630185698, ["point"] = { ["y"] = 615040, ["x"] = -237611.42857143, }, -- end of ["point"] - ["groupId"] = 2, ["alt_type"] = "BARO", ["livery_id"] = "Russia Demo #024", - ["skill"] = "High", - ["countryId"] = 2, - ["coalition"] = "red", - ["speed"] = 55.555555555556, - ["country"] = "russia", + ["onboard_num"] = "51", ["category"] = "helicopter", - ["unitName"] = "Ka-50s_1_2", + ["speed"] = 55.555555555556, ["type"] = "Ka-50", - ["unitId"] = 4, + ["country"] = "russia", + ["psi"] = -2.5953630185698, + ["unitName"] = "Ka-50s_1_2", ["groupName"] = "Ka-50s_1", + ["coalition"] = "red", + ["countryId"] = 2, + ["x"] = -237611.42857143, + ["y"] = 615040, + ["unitId"] = 4, + ["heading"] = 2.5953630185698, + ["skill"] = "High", + ["callsign"] = 101, + ["groupId"] = 2, }, -- end of [2] }, -- end of ["units"] - ["coalition"] = "red", + ["countryId"] = 2, + ["radioSet"] = false, + ["groupId"] = 2, ["category"] = "helicopter", - ["country"] = "russia", + ["coalition"] = "red", ["startTime"] = 0, ["task"] = "CAS", - ["countryId"] = 2, + ["frequency"] = 124, }, -- end of [2] [3] = { - ["groupId"] = 3, + ["modulation"] = 1, + ["country"] = "russia", + ["uncontrolled"] = false, ["groupName"] = "Mi-8s_1", ["units"] = { [1] = { ["alt"] = 500, - ["heading"] = 2.6119254271103, ["point"] = { ["y"] = 603285.71428571, ["x"] = -243285.71428571, }, -- end of ["point"] - ["groupId"] = 3, ["alt_type"] = "BARO", ["livery_id"] = "Russia", - ["skill"] = "Random", - ["countryId"] = 2, - ["coalition"] = "red", - ["speed"] = 55.555555555556, - ["country"] = "russia", + ["onboard_num"] = "52", ["category"] = "helicopter", - ["unitName"] = "Mi-8s_1_1", + ["speed"] = 55.555555555556, ["type"] = "Mi-8MT", - ["unitId"] = 5, + ["country"] = "russia", + ["psi"] = -2.6119254271103, + ["unitName"] = "Mi-8s_1_1", ["groupName"] = "Mi-8s_1", + ["coalition"] = "red", + ["countryId"] = 2, + ["x"] = -243285.71428571, + ["y"] = 603285.71428571, + ["unitId"] = 5, + ["heading"] = 2.6119254271103, + ["skill"] = "Random", + ["callsign"] = 103, + ["groupId"] = 3, }, -- end of [1] [2] = { ["alt"] = 500, - ["heading"] = 2.6119254271103, ["point"] = { ["y"] = 603325.71428571, ["x"] = -243325.71428571, }, -- end of ["point"] - ["groupId"] = 3, ["alt_type"] = "BARO", ["livery_id"] = "Russia", - ["skill"] = "Random", - ["countryId"] = 2, - ["coalition"] = "red", - ["speed"] = 55.555555555556, - ["country"] = "russia", + ["onboard_num"] = "53", ["category"] = "helicopter", - ["unitName"] = "Mi-8s_1_1 #1", + ["speed"] = 55.555555555556, ["type"] = "Mi-8MT", - ["unitId"] = 6, + ["country"] = "russia", + ["psi"] = -2.6119254271103, + ["unitName"] = "Mi-8s_1_1 #1", ["groupName"] = "Mi-8s_1", + ["coalition"] = "red", + ["countryId"] = 2, + ["x"] = -243325.71428571, + ["y"] = 603325.71428571, + ["unitId"] = 6, + ["heading"] = 2.6119254271103, + ["skill"] = "Random", + ["callsign"] = 102, + ["groupId"] = 3, }, -- end of [2] }, -- end of ["units"] - ["coalition"] = "red", + ["countryId"] = 2, + ["radioSet"] = false, + ["groupId"] = 3, ["category"] = "helicopter", - ["country"] = "russia", + ["coalition"] = "red", ["startTime"] = 0, ["task"] = "Transport", - ["countryId"] = 2, + ["frequency"] = 127.5, }, -- end of [3] [4] = { - ["groupId"] = 4, + ["modulation"] = 0, + ["country"] = "usa", + ["uncontrolled"] = false, ["groupName"] = "F-15C Client #1", ["units"] = { [1] = { ["alt"] = 2000, - ["heading"] = -0.57883789069348, ["point"] = { ["y"] = 662142.85714286, ["x"] = -288142.85714286, }, -- end of ["point"] - ["groupId"] = 4, ["alt_type"] = "BARO", ["livery_id"] = "19th Fighter SQN (AK)", - ["skill"] = "Client", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 138.88888888889, - ["country"] = "usa", + ["onboard_num"] = "10", ["category"] = "plane", - ["unitName"] = "F-15C Client #1", + ["speed"] = 138.88888888889, ["type"] = "F-15C", - ["unitId"] = 8, + ["country"] = "usa", + ["psi"] = 0.57883789069348, + ["unitName"] = "F-15C Client #1", ["groupName"] = "F-15C Client #1", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -288142.85714286, + ["y"] = 662142.85714286, + ["unitId"] = 8, + ["heading"] = -0.57883789069348, + ["skill"] = "Client", + ["callsign"] = + { + [1] = 2, + [2] = 1, + [3] = 1, + ["name"] = "Springfield11", + }, -- end of ["callsign"] + ["groupId"] = 4, }, -- end of [1] }, -- end of ["units"] - ["coalition"] = "blue", + ["countryId"] = 11, + ["radioSet"] = false, + ["groupId"] = 4, ["category"] = "plane", - ["country"] = "usa", + ["coalition"] = "blue", ["startTime"] = 0, ["task"] = "CAP", - ["countryId"] = 11, + ["frequency"] = 124, }, -- end of [4] [5] = { - ["groupId"] = 5, + ["modulation"] = 0, + ["country"] = "usa", + ["uncontrolled"] = false, ["groupName"] = "F-15C Client #2", ["units"] = { [1] = { ["alt"] = 2000, - ["heading"] = -0.57883789069348, ["point"] = { ["y"] = 668428.57142857, ["x"] = -287000, }, -- end of ["point"] - ["groupId"] = 5, ["alt_type"] = "BARO", ["livery_id"] = "19th Fighter SQN (AK)", - ["skill"] = "Client", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 138.88888888889, - ["country"] = "usa", + ["onboard_num"] = "10", ["category"] = "plane", - ["unitName"] = "F-15C Client #2", + ["speed"] = 138.88888888889, ["type"] = "F-15C", - ["unitId"] = 10, + ["country"] = "usa", + ["psi"] = 0.57883789069348, + ["unitName"] = "F-15C Client #2", ["groupName"] = "F-15C Client #2", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -287000, + ["y"] = 668428.57142857, + ["unitId"] = 10, + ["heading"] = -0.57883789069348, + ["skill"] = "Client", + ["callsign"] = + { + [1] = 2, + [2] = 1, + [3] = 1, + ["name"] = "Springfield11", + }, -- end of ["callsign"] + ["groupId"] = 5, }, -- end of [1] }, -- end of ["units"] - ["coalition"] = "blue", + ["countryId"] = 11, + ["radioSet"] = false, + ["groupId"] = 5, ["category"] = "plane", - ["country"] = "usa", + ["coalition"] = "blue", ["startTime"] = 0, ["task"] = "CAP", - ["countryId"] = 11, + ["frequency"] = 124, }, -- end of [5] [6] = { - ["groupId"] = 6, + ["modulation"] = 0, + ["country"] = "usa", + ["uncontrolled"] = false, ["groupName"] = "A-10C Client #1", ["units"] = { [1] = { ["alt"] = 2000, - ["heading"] = -0.67060113146646, ["point"] = { ["y"] = 636428.57142857, ["x"] = -318142.85714286, }, -- end of ["point"] - ["groupId"] = 6, ["alt_type"] = "BARO", ["livery_id"] = "104th FS Maryland ANG, Baltimore (MD)", - ["skill"] = "Client", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 138.88888888889, - ["country"] = "usa", + ["onboard_num"] = "52", ["category"] = "plane", - ["unitName"] = "A-10C Client #1", + ["speed"] = 138.88888888889, ["type"] = "A-10C", - ["unitId"] = 11, + ["country"] = "usa", + ["psi"] = 0.67060113146646, + ["unitName"] = "A-10C Client #1", ["groupName"] = "A-10C Client #1", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -318142.85714286, + ["y"] = 636428.57142857, + ["unitId"] = 11, + ["heading"] = -0.67060113146646, + ["skill"] = "Client", + ["callsign"] = + { + [1] = 3, + [2] = 1, + [3] = 1, + ["name"] = "Uzi11", + }, -- end of ["callsign"] + ["groupId"] = 6, }, -- end of [1] }, -- end of ["units"] - ["coalition"] = "blue", + ["countryId"] = 11, + ["radioSet"] = false, + ["groupId"] = 6, ["category"] = "plane", - ["country"] = "usa", + ["coalition"] = "blue", ["startTime"] = 0, ["task"] = "CAS", - ["countryId"] = 11, + ["frequency"] = 251, }, -- end of [6] [7] = { - ["groupId"] = 7, + ["modulation"] = 0, + ["country"] = "usa", + ["uncontrolled"] = false, ["groupName"] = "A-10C Client #2", ["units"] = { [1] = { ["alt"] = 2000, - ["heading"] = -0.66079849060746, ["point"] = { ["y"] = 644428.57142857, ["x"] = -315857.14285714, }, -- end of ["point"] - ["groupId"] = 7, ["alt_type"] = "BARO", ["livery_id"] = "104th FS Maryland ANG, Baltimore (MD)", - ["skill"] = "Client", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 138.88888888889, - ["country"] = "usa", + ["onboard_num"] = "52", ["category"] = "plane", - ["unitName"] = "A-10C Client #2", + ["speed"] = 138.88888888889, ["type"] = "A-10C", - ["unitId"] = 12, + ["country"] = "usa", + ["psi"] = 0.66079849060746, + ["unitName"] = "A-10C Client #2", ["groupName"] = "A-10C Client #2", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -315857.14285714, + ["y"] = 644428.57142857, + ["unitId"] = 12, + ["heading"] = -0.66079849060746, + ["skill"] = "Client", + ["callsign"] = + { + [1] = 3, + [2] = 1, + [3] = 1, + ["name"] = "Uzi11", + }, -- end of ["callsign"] + ["groupId"] = 7, }, -- end of [1] }, -- end of ["units"] - ["coalition"] = "blue", + ["countryId"] = 11, + ["radioSet"] = false, + ["groupId"] = 7, ["category"] = "plane", - ["country"] = "usa", + ["coalition"] = "blue", ["startTime"] = 0, ["task"] = "CAS", - ["countryId"] = 11, + ["frequency"] = 251, }, -- end of [7] [8] = { ["coalition"] = "blue", - ["category"] = "ship", ["countryId"] = 11, - ["groupId"] = 8, + ["category"] = "ship", ["country"] = "usa", + ["groupId"] = 8, ["startTime"] = 0, ["groupName"] = "US Ships", ["units"] = @@ -348,15 +462,17 @@ groupsById = ["x"] = -355285.71428571, }, -- end of ["point"] ["groupId"] = 8, + ["y"] = 443857.14285714, ["skill"] = "Average", ["coalition"] = "blue", ["countryId"] = 11, - ["groupName"] = "US Ships", + ["x"] = -355285.71428571, + ["unitId"] = 13, ["category"] = "ship", ["unitName"] = "US Ship #1", - ["country"] = "usa", ["heading"] = 0, - ["unitId"] = 13, + ["country"] = "usa", + ["groupName"] = "US Ships", }, -- end of [1] [2] = { @@ -367,25 +483,27 @@ groupsById = ["x"] = -356085.71428571, }, -- end of ["point"] ["groupId"] = 8, + ["y"] = 444657.14285714, ["skill"] = "Average", ["coalition"] = "blue", ["countryId"] = 11, - ["groupName"] = "US Ships", + ["x"] = -356085.71428571, + ["unitId"] = 14, ["category"] = "ship", ["unitName"] = "US Ship #2", - ["country"] = "usa", ["heading"] = 0, - ["unitId"] = 14, + ["country"] = "usa", + ["groupName"] = "US Ships", }, -- end of [2] }, -- end of ["units"] }, -- end of [8] [9] = { ["coalition"] = "red", - ["category"] = "ship", ["countryId"] = 2, - ["groupId"] = 9, + ["category"] = "ship", ["country"] = "russia", + ["groupId"] = 9, ["startTime"] = 0, ["groupName"] = "Rus Ships #1", ["units"] = @@ -399,15 +517,17 @@ groupsById = ["x"] = -34285.714285714, }, -- end of ["point"] ["groupId"] = 9, + ["y"] = 200000, ["skill"] = "Average", ["coalition"] = "red", ["countryId"] = 2, - ["groupName"] = "Rus Ships #1", + ["x"] = -34285.714285714, + ["unitId"] = 15, ["category"] = "ship", ["unitName"] = "1ship1", - ["country"] = "russia", ["heading"] = 0, - ["unitId"] = 15, + ["country"] = "russia", + ["groupName"] = "Rus Ships #1", }, -- end of [1] [2] = { @@ -418,25 +538,27 @@ groupsById = ["x"] = -35085.714285714, }, -- end of ["point"] ["groupId"] = 9, + ["y"] = 200800, ["skill"] = "Average", ["coalition"] = "red", ["countryId"] = 2, - ["groupName"] = "Rus Ships #1", + ["x"] = -35085.714285714, + ["unitId"] = 16, ["category"] = "ship", ["unitName"] = "1ship2", - ["country"] = "russia", ["heading"] = 0, - ["unitId"] = 16, + ["country"] = "russia", + ["groupName"] = "Rus Ships #1", }, -- end of [2] }, -- end of ["units"] }, -- end of [9] [10] = { ["coalition"] = "red", - ["category"] = "ship", ["countryId"] = 2, - ["groupId"] = 10, + ["category"] = "ship", ["country"] = "russia", + ["groupId"] = 10, ["startTime"] = 0, ["groupName"] = "Rus Ships #2", ["units"] = @@ -450,15 +572,17 @@ groupsById = ["x"] = -86428.571428571, }, -- end of ["point"] ["groupId"] = 10, + ["y"] = 73571.428571428, ["skill"] = "Average", ["coalition"] = "red", ["countryId"] = 2, - ["groupName"] = "Rus Ships #2", + ["x"] = -86428.571428571, + ["unitId"] = 17, ["category"] = "ship", ["unitName"] = "2ship1", - ["country"] = "russia", ["heading"] = 1.1755995276042, - ["unitId"] = 17, + ["country"] = "russia", + ["groupName"] = "Rus Ships #2", }, -- end of [1] [2] = { @@ -469,15 +593,17 @@ groupsById = ["x"] = -87228.571428571, }, -- end of ["point"] ["groupId"] = 10, + ["y"] = 74371.428571428, ["skill"] = "Average", ["coalition"] = "red", ["countryId"] = 2, - ["groupName"] = "Rus Ships #2", + ["x"] = -87228.571428571, + ["unitId"] = 18, ["category"] = "ship", ["unitName"] = "2ship2", - ["country"] = "russia", ["heading"] = 1.1755995276042, - ["unitId"] = 18, + ["country"] = "russia", + ["groupName"] = "Rus Ships #2", }, -- end of [2] }, -- end of ["units"] }, -- end of [10] @@ -489,91 +615,99 @@ groupsById = { [1] = { - ["type"] = "M-1 Abrams", + ["heading"] = 0, ["point"] = { ["y"] = 639800, ["x"] = -294685.71428571, }, -- end of ["point"] ["groupId"] = 11, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 639800, ["coalition"] = "blue", ["groupName"] = "USTanks1", - ["heading"] = 0, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -294685.71428571, + ["unitId"] = 19, ["category"] = "vehicle", ["unitName"] = "USTanks1_1", ["playerCanDrive"] = true, - ["unitId"] = 19, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [1] [2] = { - ["type"] = "M-1 Abrams", + ["heading"] = 0, ["point"] = { ["y"] = 639840, ["x"] = -294725.71428571, }, -- end of ["point"] ["groupId"] = 11, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 639840, ["coalition"] = "blue", ["groupName"] = "USTanks1", - ["heading"] = 0, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -294725.71428571, + ["unitId"] = 20, ["category"] = "vehicle", ["unitName"] = "USTanks1_2", ["playerCanDrive"] = true, - ["unitId"] = 20, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [2] [3] = { - ["type"] = "M-1 Abrams", + ["heading"] = 0, ["point"] = { ["y"] = 639880, ["x"] = -294765.71428571, }, -- end of ["point"] ["groupId"] = 11, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 639880, ["coalition"] = "blue", ["groupName"] = "USTanks1", - ["heading"] = 0, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -294765.71428571, + ["unitId"] = 21, ["category"] = "vehicle", ["unitName"] = "USTanks1_3", ["playerCanDrive"] = true, - ["unitId"] = 21, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [3] [4] = { - ["type"] = "M-1 Abrams", + ["heading"] = 0, ["point"] = { ["y"] = 639920, ["x"] = -294805.71428571, }, -- end of ["point"] ["groupId"] = 11, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 639920, ["coalition"] = "blue", ["groupName"] = "USTanks1", - ["heading"] = 0, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -294805.71428571, + ["unitId"] = 22, ["category"] = "vehicle", ["unitName"] = "USTanks1_4", ["playerCanDrive"] = true, - ["unitId"] = 22, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [4] }, -- end of ["units"] ["coalition"] = "blue", ["category"] = "vehicle", - ["country"] = "usa", + ["countryId"] = 11, ["startTime"] = 0, ["task"] = "Ground Nothing", - ["countryId"] = 11, + ["country"] = "usa", }, -- end of [11] [12] = { @@ -583,91 +717,99 @@ groupsById = { [1] = { - ["type"] = "M-1 Abrams", + ["heading"] = 1.4977557614926, ["point"] = { ["y"] = 653171.42857143, ["x"] = -293085.71428571, }, -- end of ["point"] ["groupId"] = 12, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 653171.42857143, ["coalition"] = "blue", ["groupName"] = "USTanks2", - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -293085.71428571, + ["unitId"] = 23, ["category"] = "vehicle", ["unitName"] = "USTanks2_1", ["playerCanDrive"] = true, - ["unitId"] = 23, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [1] [2] = { - ["type"] = "M-1 Abrams", + ["heading"] = 1.4977557614926, ["point"] = { ["y"] = 653211.42857143, ["x"] = -293125.71428571, }, -- end of ["point"] ["groupId"] = 12, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 653211.42857143, ["coalition"] = "blue", ["groupName"] = "USTanks2", - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -293125.71428571, + ["unitId"] = 24, ["category"] = "vehicle", ["unitName"] = "USTanks2_2", ["playerCanDrive"] = true, - ["unitId"] = 24, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [2] [3] = { - ["type"] = "M-1 Abrams", + ["heading"] = 1.4977557614926, ["point"] = { ["y"] = 653251.42857143, ["x"] = -293165.71428571, }, -- end of ["point"] ["groupId"] = 12, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 653251.42857143, ["coalition"] = "blue", ["groupName"] = "USTanks2", - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -293165.71428571, + ["unitId"] = 25, ["category"] = "vehicle", ["unitName"] = "USTanks2_3", ["playerCanDrive"] = true, - ["unitId"] = 25, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [3] [4] = { - ["type"] = "M-1 Abrams", + ["heading"] = 1.4977557614926, ["point"] = { ["y"] = 653291.42857143, ["x"] = -293205.71428571, }, -- end of ["point"] ["groupId"] = 12, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 653291.42857143, ["coalition"] = "blue", ["groupName"] = "USTanks2", - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -293205.71428571, + ["unitId"] = 26, ["category"] = "vehicle", ["unitName"] = "USTanks2_4", ["playerCanDrive"] = true, - ["unitId"] = 26, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [4] }, -- end of ["units"] ["coalition"] = "blue", ["category"] = "vehicle", - ["country"] = "usa", + ["countryId"] = 11, ["startTime"] = 0, ["task"] = "Ground Nothing", - ["countryId"] = 11, + ["country"] = "usa", }, -- end of [12] [13] = { @@ -677,131 +819,143 @@ groupsById = { [1] = { - ["type"] = "BTR-80", + ["heading"] = -1.7994767003775, ["point"] = { ["y"] = 654545.71428571, ["x"] = -292842.85714286, }, -- end of ["point"] ["groupId"] = 13, - ["skill"] = "Average", - ["countryId"] = 2, + ["y"] = 654545.71428571, ["coalition"] = "red", ["groupName"] = "RuBTRs", - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", + ["countryId"] = 2, + ["x"] = -292842.85714286, + ["unitId"] = 27, ["category"] = "vehicle", ["unitName"] = "RuBTRs1", ["playerCanDrive"] = true, - ["unitId"] = 27, ["country"] = "russia", + ["skill"] = "Average", }, -- end of [1] [2] = { - ["type"] = "BTR-80", + ["heading"] = -1.7994767003775, ["point"] = { ["y"] = 654585.71428571, ["x"] = -292882.85714286, }, -- end of ["point"] ["groupId"] = 13, - ["skill"] = "Average", - ["countryId"] = 2, + ["y"] = 654585.71428571, ["coalition"] = "red", ["groupName"] = "RuBTRs", - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", + ["countryId"] = 2, + ["x"] = -292882.85714286, + ["unitId"] = 28, ["category"] = "vehicle", ["unitName"] = "RuBTRs2", ["playerCanDrive"] = true, - ["unitId"] = 28, ["country"] = "russia", + ["skill"] = "Average", }, -- end of [2] [3] = { - ["type"] = "BTR-80", + ["heading"] = -1.7994767003775, ["point"] = { ["y"] = 654625.71428571, ["x"] = -292922.85714286, }, -- end of ["point"] ["groupId"] = 13, - ["skill"] = "Average", - ["countryId"] = 2, + ["y"] = 654625.71428571, ["coalition"] = "red", ["groupName"] = "RuBTRs", - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", + ["countryId"] = 2, + ["x"] = -292922.85714286, + ["unitId"] = 29, ["category"] = "vehicle", ["unitName"] = "RuBTRs3", ["playerCanDrive"] = true, - ["unitId"] = 29, ["country"] = "russia", + ["skill"] = "Average", }, -- end of [3] [4] = { - ["type"] = "BTR-80", + ["heading"] = -1.7994767003775, ["point"] = { ["y"] = 654665.71428571, ["x"] = -292962.85714286, }, -- end of ["point"] ["groupId"] = 13, - ["skill"] = "Average", - ["countryId"] = 2, + ["y"] = 654665.71428571, ["coalition"] = "red", ["groupName"] = "RuBTRs", - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", + ["countryId"] = 2, + ["x"] = -292962.85714286, + ["unitId"] = 30, ["category"] = "vehicle", ["unitName"] = "RuBTRs4", ["playerCanDrive"] = true, - ["unitId"] = 30, ["country"] = "russia", + ["skill"] = "Average", }, -- end of [4] [5] = { - ["type"] = "BTR-80", + ["heading"] = -1.7994767003775, ["point"] = { ["y"] = 654705.71428571, ["x"] = -293002.85714286, }, -- end of ["point"] ["groupId"] = 13, - ["skill"] = "Average", - ["countryId"] = 2, + ["y"] = 654705.71428571, ["coalition"] = "red", ["groupName"] = "RuBTRs", - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", + ["countryId"] = 2, + ["x"] = -293002.85714286, + ["unitId"] = 31, ["category"] = "vehicle", ["unitName"] = "RuBTRs5", ["playerCanDrive"] = true, - ["unitId"] = 31, ["country"] = "russia", + ["skill"] = "Average", }, -- end of [5] [6] = { - ["type"] = "BTR-80", + ["heading"] = -1.7994767003775, ["point"] = { ["y"] = 654745.71428571, ["x"] = -293042.85714286, }, -- end of ["point"] ["groupId"] = 13, - ["skill"] = "Average", - ["countryId"] = 2, + ["y"] = 654745.71428571, ["coalition"] = "red", ["groupName"] = "RuBTRs", - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", + ["countryId"] = 2, + ["x"] = -293042.85714286, + ["unitId"] = 32, ["category"] = "vehicle", ["unitName"] = "RuBTRs6", ["playerCanDrive"] = true, - ["unitId"] = 32, ["country"] = "russia", + ["skill"] = "Average", }, -- end of [6] }, -- end of ["units"] ["coalition"] = "red", ["category"] = "vehicle", - ["country"] = "russia", + ["countryId"] = 2, ["startTime"] = 0, ["task"] = "Ground Nothing", - ["countryId"] = 2, + ["country"] = "russia", }, -- end of [13] [14] = { @@ -811,91 +965,99 @@ groupsById = { [1] = { - ["type"] = "T-55", + ["heading"] = 0, ["point"] = { ["y"] = 628677.14285714, ["x"] = -273442.85714286, }, -- end of ["point"] ["groupId"] = 14, - ["skill"] = "Excellent", - ["countryId"] = 2, + ["y"] = 628677.14285714, ["coalition"] = "red", ["groupName"] = "RuTanks", - ["heading"] = 0, + ["type"] = "T-55", + ["countryId"] = 2, + ["x"] = -273442.85714286, + ["unitId"] = 33, ["category"] = "vehicle", ["unitName"] = "RuTanks1", ["playerCanDrive"] = true, - ["unitId"] = 33, ["country"] = "russia", + ["skill"] = "Excellent", }, -- end of [1] [2] = { - ["type"] = "T-55", + ["heading"] = 0, ["point"] = { ["y"] = 628717.14285714, ["x"] = -273482.85714286, }, -- end of ["point"] ["groupId"] = 14, - ["skill"] = "Excellent", - ["countryId"] = 2, + ["y"] = 628717.14285714, ["coalition"] = "red", ["groupName"] = "RuTanks", - ["heading"] = 0, + ["type"] = "T-55", + ["countryId"] = 2, + ["x"] = -273482.85714286, + ["unitId"] = 34, ["category"] = "vehicle", ["unitName"] = "RuTanks2", ["playerCanDrive"] = true, - ["unitId"] = 34, ["country"] = "russia", + ["skill"] = "Excellent", }, -- end of [2] [3] = { - ["type"] = "T-55", + ["heading"] = 0, ["point"] = { ["y"] = 628757.14285714, ["x"] = -273522.85714286, }, -- end of ["point"] ["groupId"] = 14, - ["skill"] = "Excellent", - ["countryId"] = 2, + ["y"] = 628757.14285714, ["coalition"] = "red", ["groupName"] = "RuTanks", - ["heading"] = 0, + ["type"] = "T-55", + ["countryId"] = 2, + ["x"] = -273522.85714286, + ["unitId"] = 35, ["category"] = "vehicle", ["unitName"] = "RuTanks3", ["playerCanDrive"] = true, - ["unitId"] = 35, ["country"] = "russia", + ["skill"] = "Excellent", }, -- end of [3] [4] = { - ["type"] = "T-55", + ["heading"] = 0, ["point"] = { ["y"] = 628797.14285714, ["x"] = -273562.85714286, }, -- end of ["point"] ["groupId"] = 14, - ["skill"] = "Excellent", - ["countryId"] = 2, + ["y"] = 628797.14285714, ["coalition"] = "red", ["groupName"] = "RuTanks", - ["heading"] = 0, + ["type"] = "T-55", + ["countryId"] = 2, + ["x"] = -273562.85714286, + ["unitId"] = 36, ["category"] = "vehicle", ["unitName"] = "RuTanks4", ["playerCanDrive"] = true, - ["unitId"] = 36, ["country"] = "russia", + ["skill"] = "Excellent", }, -- end of [4] }, -- end of ["units"] ["coalition"] = "red", ["category"] = "vehicle", - ["country"] = "russia", + ["countryId"] = 2, ["startTime"] = 0, ["task"] = "Ground Nothing", - ["countryId"] = 2, + ["country"] = "russia", }, -- end of [14] [15] = { @@ -910,7 +1072,7 @@ groupsById = [1] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 636248.57142857, @@ -919,12 +1081,14 @@ groupsById = ["groupId"] = 15, ["groupName"] = "tent1", ["countryId"] = 11, - ["unitId"] = 37, + ["coalition"] = "blue", + ["x"] = -300871.42857143, + ["y"] = 636248.57142857, ["category"] = "static", ["unitName"] = "tent1", - ["type"] = "FARP Tent", ["country"] = "usa", - ["coalition"] = "blue", + ["heading"] = 0, + ["unitId"] = 37, }, -- end of [1] }, -- end of ["units"] }, -- end of [15] @@ -941,7 +1105,7 @@ groupsById = [1] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 638620, @@ -950,12 +1114,14 @@ groupsById = ["groupId"] = 16, ["groupName"] = "tent2", ["countryId"] = 11, - ["unitId"] = 38, + ["coalition"] = "blue", + ["x"] = -299814.28571429, + ["y"] = 638620, ["category"] = "static", ["unitName"] = "tent2", - ["type"] = "FARP Tent", ["country"] = "usa", - ["coalition"] = "blue", + ["heading"] = 0, + ["unitId"] = 38, }, -- end of [1] }, -- end of ["units"] }, -- end of [16] @@ -979,13 +1145,15 @@ groupsById = }, -- end of ["point"] ["groupId"] = 17, ["groupName"] = "RU Farp", + ["countryId"] = 2, ["coalition"] = "red", - ["unitId"] = 39, + ["x"] = -258442.85714286, + ["y"] = 617591.42857143, ["category"] = "static", ["unitName"] = "RU Farp", - ["type"] = "FARP", - ["countryId"] = 2, ["country"] = "russia", + ["type"] = "FARP", + ["unitId"] = 39, }, -- end of [1] }, -- end of ["units"] }, -- end of [17] @@ -1002,7 +1170,7 @@ groupsById = [1] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 617962.85714285, @@ -1011,12 +1179,14 @@ groupsById = ["groupId"] = 18, ["groupName"] = "RuTent1", ["countryId"] = 2, - ["unitId"] = 40, + ["coalition"] = "red", + ["x"] = -258642.85714286, + ["y"] = 617962.85714285, ["category"] = "static", ["unitName"] = "RuTent1", - ["type"] = "FARP Tent", ["country"] = "russia", - ["coalition"] = "red", + ["heading"] = 0, + ["unitId"] = 40, }, -- end of [1] }, -- end of ["units"] }, -- end of [18] @@ -1033,7 +1203,7 @@ groupsById = [1] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 617691.42857143, @@ -1042,88 +1212,108 @@ groupsById = ["groupId"] = 19, ["groupName"] = "RuTent2", ["countryId"] = 2, - ["unitId"] = 41, + ["coalition"] = "red", + ["x"] = -259071.42857143, + ["y"] = 617691.42857143, ["category"] = "static", ["unitName"] = "RuTent2", - ["type"] = "FARP Tent", ["country"] = "russia", - ["coalition"] = "red", + ["heading"] = 0, + ["unitId"] = 41, }, -- end of [1] }, -- end of ["units"] }, -- end of [19] [20] = { - ["groupId"] = 20, + ["modulation"] = 0, + ["country"] = "russia", + ["uncontrolled"] = false, ["groupName"] = "Su-33 Client #1", ["units"] = { [1] = { ["alt"] = 2000, - ["heading"] = 0, ["point"] = { ["y"] = 590391.42857142, ["x"] = -250185.71428571, }, -- end of ["point"] - ["groupId"] = 20, ["alt_type"] = "BARO", ["livery_id"] = "279th kiap 1st squad navy", - ["skill"] = "Client", - ["countryId"] = 2, - ["coalition"] = "red", - ["speed"] = 138.88888888889, - ["country"] = "russia", + ["onboard_num"] = "53", ["category"] = "plane", - ["unitName"] = "Su-33 Client #1", + ["speed"] = 138.88888888889, ["type"] = "Su-33", - ["unitId"] = 42, + ["country"] = "russia", + ["psi"] = 0, + ["unitName"] = "Su-33 Client #1", ["groupName"] = "Su-33 Client #1", + ["coalition"] = "red", + ["countryId"] = 2, + ["x"] = -250185.71428571, + ["y"] = 590391.42857142, + ["unitId"] = 42, + ["heading"] = 0, + ["skill"] = "Client", + ["callsign"] = 104, + ["groupId"] = 20, }, -- end of [1] }, -- end of ["units"] - ["coalition"] = "red", + ["countryId"] = 2, + ["radioSet"] = false, + ["groupId"] = 20, ["category"] = "plane", - ["country"] = "russia", + ["coalition"] = "red", ["startTime"] = 0, ["task"] = "CAP", - ["countryId"] = 2, + ["frequency"] = 124, }, -- end of [20] [21] = { - ["groupId"] = 21, + ["modulation"] = 0, + ["country"] = "russia", + ["uncontrolled"] = false, ["groupName"] = "Su-33 Client #2", ["units"] = { [1] = { ["alt"] = 2000, - ["heading"] = 0, ["point"] = { ["y"] = 597819.99999999, ["x"] = -235614.28571428, }, -- end of ["point"] - ["groupId"] = 21, ["alt_type"] = "BARO", ["livery_id"] = "279th kiap 1st squad navy", - ["skill"] = "Client", - ["countryId"] = 2, - ["coalition"] = "red", - ["speed"] = 138.88888888889, - ["country"] = "russia", + ["onboard_num"] = "53", ["category"] = "plane", - ["unitName"] = "Su-33 Client #2", + ["speed"] = 138.88888888889, ["type"] = "Su-33", - ["unitId"] = 43, + ["country"] = "russia", + ["psi"] = 0, + ["unitName"] = "Su-33 Client #2", ["groupName"] = "Su-33 Client #2", + ["coalition"] = "red", + ["countryId"] = 2, + ["x"] = -235614.28571428, + ["y"] = 597819.99999999, + ["unitId"] = 43, + ["heading"] = 0, + ["skill"] = "Client", + ["callsign"] = 104, + ["groupId"] = 21, }, -- end of [1] }, -- end of ["units"] - ["coalition"] = "red", + ["countryId"] = 2, + ["radioSet"] = false, + ["groupId"] = 21, ["category"] = "plane", - ["country"] = "russia", + ["coalition"] = "red", ["startTime"] = 0, ["task"] = "CAP", - ["countryId"] = 2, + ["frequency"] = 124, }, -- end of [21] [30] = { @@ -1138,7 +1328,7 @@ groupsById = [1] = { ["shape_name"] = "konteiner_red1", - ["heading"] = 0, + ["type"] = "Container red 1", ["point"] = { ["y"] = 684605.71428571, @@ -1147,347 +1337,342 @@ groupsById = ["groupId"] = 30, ["groupName"] = "static", ["countryId"] = 11, - ["unitId"] = 44, + ["coalition"] = "blue", + ["x"] = -279949.99999999, + ["y"] = 684605.71428571, ["category"] = "static", ["unitName"] = "static", - ["type"] = "Container red 1", ["country"] = "usa", - ["coalition"] = "blue", + ["heading"] = 0, + ["unitId"] = 44, }, -- end of [1] }, -- end of ["units"] }, -- end of [30] - [7001] = + [7003] = { ["country"] = "usa", + ["coalitionId"] = 2, + ["groupName"] = "usa gnd 4", ["units"] = { [1] = { + ["alt"] = 68, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692951.80504833, - ["x"] = -288112.04900582, + ["y"] = 690998, + ["x"] = -285539, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["groupId"] = 7003, + ["coalitionId"] = 2, ["coalition"] = "blue", - ["unitId"] = 7001, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 2 unit1", - ["groupName"] = "usa gnd 2", + ["groupName"] = "usa gnd 4", + ["country"] = "usa", ["countryId"] = 2, - ["groupId"] = 7001, - }, -- end of [1] - [2] = - { - ["type"] = "M-1 Abrams", - ["point"] = - { - ["y"] = 692984.63711165, - ["x"] = -288136.26599616, - }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", - ["coalition"] = "blue", - ["unitId"] = 7002, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 2 unit2", - ["groupName"] = "usa gnd 2", - ["countryId"] = 2, - ["groupId"] = 7001, - }, -- end of [2] - [3] = - { - ["type"] = "M-1 Abrams", - ["point"] = - { - ["y"] = 692996.24632438, - ["x"] = -288123.02974075, - }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", - ["coalition"] = "blue", - ["unitId"] = 7003, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 2 unit3", - ["groupName"] = "usa gnd 2", - ["countryId"] = 2, - ["groupId"] = 7001, - }, -- end of [3] - [4] = - { - ["type"] = "M-1 Abrams", - ["point"] = - { - ["y"] = 692886.94679558, - ["x"] = -287976.47272972, - }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", - ["coalition"] = "blue", - ["unitId"] = 7004, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 2 unit4", - ["groupName"] = "usa gnd 2", - ["countryId"] = 2, - ["groupId"] = 7001, - }, -- end of [4] - }, -- end of ["units"] - ["countryId"] = 2, - ["name"] = "usa gnd 2", - ["category"] = "vehicle", - ["groupId"] = 7001, - ["startTime"] = 43221.011, - ["task"] = "Ground Nothing", - ["coalition"] = "blue", - }, -- end of [7001] - [7010] = - { - ["countryId"] = 2, - ["groupId"] = 7010, - ["name"] = "USA static 7010", - ["country"] = "usa", - ["coalition"] = "blue", - ["startTime"] = 43223.011, - ["category"] = "ship", - ["units"] = - { - [1] = - { - ["alt"] = 66, - ["type"] = "Container red 1", - ["point"] = - { - ["y"] = 692491, - ["x"] = -287269, - }, -- end of ["point"] - ["groupId"] = 7010, - ["groupName"] = "USA static 7010", - ["countryId"] = 2, - ["unitId"] = 7010, - ["category"] = "ship", - ["unitName"] = "USA static 7010", - ["heading"] = 6.1693154268268, - ["country"] = "usa", - ["coalition"] = "blue", - }, -- end of [1] - }, -- end of ["units"] - }, -- end of [7010] - [7005] = - { - ["country"] = "usa", - ["units"] = - { - [1] = - { - ["type"] = "M-1 Abrams", - ["point"] = - { - ["y"] = 690345.01202023, - ["x"] = -286996.80803754, - }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", - ["coalition"] = "blue", - ["unitId"] = 7011, - ["heading"] = 1.4977557614926, + ["x"] = -285539, + ["y"] = 690998, ["category"] = "vehicle", ["unitName"] = "usa gnd 4 unit1", - ["groupName"] = "usa gnd 4", - ["countryId"] = 2, - ["groupId"] = 7005, + ["unitId"] = 7006, + ["heading"] = 1.4977591325037, + ["skill"] = "Average", }, -- end of [1] [2] = { + ["alt"] = 68, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 690495.78308897, - ["x"] = -287119.30705856, + ["y"] = 690984, + ["x"] = -285610, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["groupId"] = 7003, + ["coalitionId"] = 2, ["coalition"] = "blue", - ["unitId"] = 7012, - ["heading"] = 1.4977557614926, + ["groupName"] = "usa gnd 4", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -285610, + ["y"] = 690984, ["category"] = "vehicle", ["unitName"] = "usa gnd 4 unit2", - ["groupName"] = "usa gnd 4", - ["countryId"] = 2, - ["groupId"] = 7005, + ["unitId"] = 7007, + ["heading"] = 1.4977589159233, + ["skill"] = "Average", }, -- end of [2] [3] = { + ["alt"] = 68, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 690419.49528366, - ["x"] = -287149.74499211, + ["y"] = 690825, + ["x"] = -285472, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["groupId"] = 7003, + ["coalitionId"] = 2, ["coalition"] = "blue", - ["unitId"] = 7013, - ["heading"] = 1.4977557614926, + ["groupName"] = "usa gnd 4", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -285472, + ["y"] = 690825, ["category"] = "vehicle", ["unitName"] = "usa gnd 4 unit3", - ["groupName"] = "usa gnd 4", - ["countryId"] = 2, - ["groupId"] = 7005, + ["unitId"] = 7008, + ["heading"] = 1.4977598003676, + ["skill"] = "Average", }, -- end of [3] [4] = { + ["alt"] = 68, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 690430.82466041, - ["x"] = -287068.46280196, + ["y"] = 690920, + ["x"] = -285485, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["groupId"] = 7003, + ["coalitionId"] = 2, ["coalition"] = "blue", - ["unitId"] = 7014, - ["heading"] = 1.4977557614926, + ["groupName"] = "usa gnd 4", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -285485, + ["y"] = 690920, ["category"] = "vehicle", ["unitName"] = "usa gnd 4 unit4", - ["groupName"] = "usa gnd 4", - ["countryId"] = 2, - ["groupId"] = 7005, + ["unitId"] = 7009, + ["heading"] = 1.4977598003676, + ["skill"] = "Average", }, -- end of [4] }, -- end of ["units"] ["countryId"] = 2, ["name"] = "usa gnd 4", + ["timeAdded"] = 43222.091, ["category"] = "vehicle", - ["groupId"] = 7005, - ["startTime"] = 43223.011, + ["coalition"] = "blue", + ["startTime"] = 43222.091, ["task"] = "Ground Nothing", - ["coalition"] = "blue", - }, -- end of [7005] - [7015] = - { - ["countryId"] = 2, - ["groupId"] = 7015, - ["name"] = "USA static 7015", - ["country"] = "usa", - ["coalition"] = "blue", - ["startTime"] = 43223.011, - ["category"] = "ship", - ["units"] = - { - [1] = - { - ["alt"] = 64, - ["type"] = "Container red 1", - ["point"] = - { - ["y"] = 689768, - ["x"] = -285807, - }, -- end of ["point"] - ["groupId"] = 7015, - ["groupName"] = "USA static 7015", - ["countryId"] = 2, - ["unitId"] = 7015, - ["category"] = "ship", - ["unitName"] = "USA static 7015", - ["heading"] = 6.169648830639, - ["country"] = "usa", - ["coalition"] = "blue", - }, -- end of [1] - }, -- end of ["units"] - }, -- end of [7015] - [7003] = + ["groupId"] = 7003, + }, -- end of [7003] + [7001] = { ["country"] = "usa", + ["coalitionId"] = 2, + ["groupName"] = "usa gnd 2", ["units"] = { [1] = { + ["alt"] = 73, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692301.85580476, - ["x"] = -283925.5171695, + ["y"] = 692297, + ["x"] = -283873, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["groupId"] = 7001, + ["coalitionId"] = 2, ["coalition"] = "blue", - ["unitId"] = 7006, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 3 unit1", - ["groupName"] = "usa gnd 3", + ["groupName"] = "usa gnd 2", + ["country"] = "usa", ["countryId"] = 2, - ["groupId"] = 7003, + ["x"] = -283873, + ["y"] = 692297, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 2 unit1", + ["unitId"] = 7001, + ["heading"] = 1.4977603826792, + ["skill"] = "Average", }, -- end of [1] [2] = { + ["alt"] = 73, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692374.68565784, - ["x"] = -283846.9396746, + ["y"] = 692378, + ["x"] = -283913, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["groupId"] = 7001, + ["coalitionId"] = 2, ["coalition"] = "blue", - ["unitId"] = 7007, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 3 unit2", - ["groupName"] = "usa gnd 3", + ["groupName"] = "usa gnd 2", + ["country"] = "usa", ["countryId"] = 2, - ["groupId"] = 7003, + ["x"] = -283913, + ["y"] = 692378, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 2 unit2", + ["unitId"] = 7002, + ["heading"] = 1.4977610327793, + ["skill"] = "Average", }, -- end of [2] [3] = { + ["alt"] = 72, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692416.6568865, - ["x"] = -284022.73058924, + ["y"] = 692136, + ["x"] = -283991, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["groupId"] = 7001, + ["coalitionId"] = 2, ["coalition"] = "blue", - ["unitId"] = 7008, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 3 unit3", - ["groupName"] = "usa gnd 3", + ["groupName"] = "usa gnd 2", + ["country"] = "usa", ["countryId"] = 2, - ["groupId"] = 7003, + ["x"] = -283991, + ["y"] = 692136, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 2 unit3", + ["unitId"] = 7003, + ["heading"] = 1.4977579653353, + ["skill"] = "Average", }, -- end of [3] [4] = { + ["alt"] = 73, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692423.17192305, - ["x"] = -283793.86944615, + ["y"] = 692340, + ["x"] = -283878, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["groupId"] = 7001, + ["coalitionId"] = 2, ["coalition"] = "blue", - ["unitId"] = 7009, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 3 unit4", - ["groupName"] = "usa gnd 3", + ["groupName"] = "usa gnd 2", + ["country"] = "usa", ["countryId"] = 2, - ["groupId"] = 7003, + ["x"] = -283878, + ["y"] = 692340, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 2 unit4", + ["unitId"] = 7004, + ["heading"] = 1.4977603826792, + ["skill"] = "Average", }, -- end of [4] }, -- end of ["units"] ["countryId"] = 2, - ["name"] = "usa gnd 3", + ["name"] = "usa gnd 2", + ["timeAdded"] = 43221.091, ["category"] = "vehicle", - ["groupId"] = 7003, - ["startTime"] = 43223.011, - ["task"] = "Ground Nothing", ["coalition"] = "blue", - }, -- end of [7003] + ["startTime"] = 43221.091, + ["task"] = "Ground Nothing", + ["groupId"] = 7001, + }, -- end of [7001] + [7005] = + { + ["country"] = "usa", + ["coalitionId"] = 2, + ["groupName"] = "usa gnd 6", + ["units"] = + { + [1] = + { + ["alt"] = 65, + ["type"] = "M-1 Abrams", + ["point"] = + { + ["y"] = 692970, + ["x"] = -288880, + }, -- end of ["point"] + ["groupId"] = 7005, + ["coalitionId"] = 2, + ["coalition"] = "blue", + ["groupName"] = "usa gnd 6", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -288880, + ["y"] = 692970, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 6 unit1", + ["unitId"] = 7011, + ["heading"] = 1.4977545807326, + ["skill"] = "Average", + }, -- end of [1] + [2] = + { + ["alt"] = 65, + ["type"] = "M-1 Abrams", + ["point"] = + { + ["y"] = 693075, + ["x"] = -288920, + }, -- end of ["point"] + ["groupId"] = 7005, + ["coalitionId"] = 2, + ["coalition"] = "blue", + ["groupName"] = "usa gnd 6", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -288920, + ["y"] = 693075, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 6 unit2", + ["unitId"] = 7012, + ["heading"] = 1.4977545807326, + ["skill"] = "Average", + }, -- end of [2] + [3] = + { + ["alt"] = 65, + ["type"] = "M-1 Abrams", + ["point"] = + { + ["y"] = 692855, + ["x"] = -288930, + }, -- end of ["point"] + ["groupId"] = 7005, + ["coalitionId"] = 2, + ["coalition"] = "blue", + ["groupName"] = "usa gnd 6", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -288930, + ["y"] = 692855, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 6 unit3", + ["unitId"] = 7013, + ["heading"] = 1.4977545807326, + ["skill"] = "Average", + }, -- end of [3] + [4] = + { + ["alt"] = 65, + ["type"] = "M-1 Abrams", + ["point"] = + { + ["y"] = 693055, + ["x"] = -288765, + }, -- end of ["point"] + ["groupId"] = 7005, + ["coalitionId"] = 2, + ["coalition"] = "blue", + ["groupName"] = "usa gnd 6", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -288765, + ["y"] = 693055, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 6 unit4", + ["unitId"] = 7014, + ["heading"] = 1.4977545807326, + ["skill"] = "Average", + }, -- end of [4] + }, -- end of ["units"] + ["countryId"] = 2, + ["name"] = "usa gnd 6", + ["timeAdded"] = 43223.091, + ["category"] = "vehicle", + ["coalition"] = "blue", + ["startTime"] = 43223.091, + ["task"] = "Ground Nothing", + ["groupId"] = 7005, + }, -- end of [7005] } -- end of groupsById diff --git a/Example DBs/mist_DBs_groupsByName.lua b/Example DBs/mist_DBs_groupsByName.lua index faf702f..856b8c7 100644 --- a/Example DBs/mist_DBs_groupsByName.lua +++ b/Example DBs/mist_DBs_groupsByName.lua @@ -13,7 +13,7 @@ groupsByName = [1] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 617962.85714285, @@ -22,51 +22,68 @@ groupsByName = ["groupId"] = 18, ["groupName"] = "RuTent1", ["countryId"] = 2, - ["unitId"] = 40, + ["coalition"] = "red", + ["x"] = -258642.85714286, + ["y"] = 617962.85714285, ["category"] = "static", ["unitName"] = "RuTent1", - ["type"] = "FARP Tent", ["country"] = "russia", - ["coalition"] = "red", + ["heading"] = 0, + ["unitId"] = 40, }, -- end of [1] }, -- end of ["units"] }, -- end of ["RuTent1"] ["F-15C Client #1"] = { - ["groupId"] = 4, + ["modulation"] = 0, + ["country"] = "usa", + ["uncontrolled"] = false, ["groupName"] = "F-15C Client #1", ["units"] = { [1] = { ["alt"] = 2000, - ["heading"] = -0.57883789069348, ["point"] = { ["y"] = 662142.85714286, ["x"] = -288142.85714286, }, -- end of ["point"] - ["groupId"] = 4, ["alt_type"] = "BARO", ["livery_id"] = "19th Fighter SQN (AK)", - ["skill"] = "Client", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 138.88888888889, - ["country"] = "usa", + ["onboard_num"] = "10", ["category"] = "plane", - ["unitName"] = "F-15C Client #1", + ["speed"] = 138.88888888889, ["type"] = "F-15C", - ["unitId"] = 8, + ["country"] = "usa", + ["psi"] = 0.57883789069348, + ["unitName"] = "F-15C Client #1", ["groupName"] = "F-15C Client #1", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -288142.85714286, + ["y"] = 662142.85714286, + ["unitId"] = 8, + ["heading"] = -0.57883789069348, + ["skill"] = "Client", + ["callsign"] = + { + [1] = 2, + [2] = 1, + [3] = 1, + ["name"] = "Springfield11", + }, -- end of ["callsign"] + ["groupId"] = 4, }, -- end of [1] }, -- end of ["units"] - ["coalition"] = "blue", + ["countryId"] = 11, + ["radioSet"] = false, + ["groupId"] = 4, ["category"] = "plane", - ["country"] = "usa", + ["coalition"] = "blue", ["startTime"] = 0, ["task"] = "CAP", - ["countryId"] = 11, + ["frequency"] = 124, }, -- end of ["F-15C Client #1"] ["tent2"] = { @@ -81,7 +98,7 @@ groupsByName = [1] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 638620, @@ -90,22 +107,24 @@ groupsByName = ["groupId"] = 16, ["groupName"] = "tent2", ["countryId"] = 11, - ["unitId"] = 38, + ["coalition"] = "blue", + ["x"] = -299814.28571429, + ["y"] = 638620, ["category"] = "static", ["unitName"] = "tent2", - ["type"] = "FARP Tent", ["country"] = "usa", - ["coalition"] = "blue", + ["heading"] = 0, + ["unitId"] = 38, }, -- end of [1] }, -- end of ["units"] }, -- end of ["tent2"] ["Rus Ships #2"] = { ["coalition"] = "red", - ["category"] = "ship", ["countryId"] = 2, - ["groupId"] = 10, + ["category"] = "ship", ["country"] = "russia", + ["groupId"] = 10, ["startTime"] = 0, ["groupName"] = "Rus Ships #2", ["units"] = @@ -119,15 +138,17 @@ groupsByName = ["x"] = -86428.571428571, }, -- end of ["point"] ["groupId"] = 10, + ["y"] = 73571.428571428, ["skill"] = "Average", ["coalition"] = "red", ["countryId"] = 2, - ["groupName"] = "Rus Ships #2", + ["x"] = -86428.571428571, + ["unitId"] = 17, ["category"] = "ship", ["unitName"] = "2ship1", - ["country"] = "russia", ["heading"] = 1.1755995276042, - ["unitId"] = 17, + ["country"] = "russia", + ["groupName"] = "Rus Ships #2", }, -- end of [1] [2] = { @@ -138,614 +159,662 @@ groupsByName = ["x"] = -87228.571428571, }, -- end of ["point"] ["groupId"] = 10, + ["y"] = 74371.428571428, ["skill"] = "Average", ["coalition"] = "red", ["countryId"] = 2, - ["groupName"] = "Rus Ships #2", + ["x"] = -87228.571428571, + ["unitId"] = 18, ["category"] = "ship", ["unitName"] = "2ship2", - ["country"] = "russia", ["heading"] = 1.1755995276042, - ["unitId"] = 18, + ["country"] = "russia", + ["groupName"] = "Rus Ships #2", }, -- end of [2] }, -- end of ["units"] }, -- end of ["Rus Ships #2"] - ["USA static 7010"] = - { - ["countryId"] = 2, - ["groupId"] = 7010, - ["name"] = "USA static 7010", - ["country"] = "usa", - ["coalition"] = "blue", - ["startTime"] = 43223.011, - ["category"] = "ship", - ["units"] = - { - [1] = - { - ["alt"] = 66, - ["type"] = "Container red 1", - ["point"] = - { - ["y"] = 692491, - ["x"] = -287269, - }, -- end of ["point"] - ["groupId"] = 7010, - ["groupName"] = "USA static 7010", - ["countryId"] = 2, - ["unitId"] = 7010, - ["category"] = "ship", - ["unitName"] = "USA static 7010", - ["heading"] = 6.1693154268268, - ["country"] = "usa", - ["coalition"] = "blue", - }, -- end of [1] - }, -- end of ["units"] - }, -- end of ["USA static 7010"] ["AH-1s_1"] = { - ["groupId"] = 1, + ["modulation"] = 0, + ["country"] = "usa", + ["uncontrolled"] = false, ["groupName"] = "AH-1s_1", ["units"] = { [1] = { ["alt"] = 500, - ["heading"] = 0.017389551289373, ["point"] = { ["y"] = 631857.14285714, ["x"] = -297857.14285714, }, -- end of ["point"] - ["groupId"] = 1, ["alt_type"] = "BARO", ["livery_id"] = "standard", - ["skill"] = "High", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 55.555555555556, - ["country"] = "usa", + ["onboard_num"] = "50", ["category"] = "helicopter", - ["unitName"] = "AH-1s_1_1", + ["speed"] = 55.555555555556, ["type"] = "AH-1W", - ["unitId"] = 1, + ["country"] = "usa", + ["psi"] = -0.017389551289373, + ["unitName"] = "AH-1s_1_1", ["groupName"] = "AH-1s_1", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -297857.14285714, + ["y"] = 631857.14285714, + ["unitId"] = 1, + ["heading"] = 0.017389551289373, + ["skill"] = "High", + ["callsign"] = + { + [1] = 1, + [2] = 1, + [3] = 1, + ["name"] = "Enfield11", + }, -- end of ["callsign"] + ["groupId"] = 1, }, -- end of [1] [2] = { ["alt"] = 500, - ["heading"] = 0.017389551289373, ["point"] = { ["y"] = 631897.14285714, ["x"] = -297897.14285714, }, -- end of ["point"] - ["groupId"] = 1, ["alt_type"] = "BARO", ["livery_id"] = "standard", - ["skill"] = "High", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 55.555555555556, - ["country"] = "usa", + ["onboard_num"] = "51", ["category"] = "helicopter", - ["unitName"] = "AH-1s_1_2", + ["speed"] = 55.555555555556, ["type"] = "AH-1W", - ["unitId"] = 2, + ["country"] = "usa", + ["psi"] = -0.017389551289373, + ["unitName"] = "AH-1s_1_2", ["groupName"] = "AH-1s_1", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -297897.14285714, + ["y"] = 631897.14285714, + ["unitId"] = 2, + ["heading"] = 0.017389551289373, + ["skill"] = "High", + ["callsign"] = + { + [1] = 1, + [2] = 1, + [3] = 2, + ["name"] = "Enfield12", + }, -- end of ["callsign"] + ["groupId"] = 1, }, -- end of [2] }, -- end of ["units"] - ["coalition"] = "blue", + ["countryId"] = 11, + ["radioSet"] = false, + ["groupId"] = 1, ["category"] = "helicopter", - ["country"] = "usa", + ["coalition"] = "blue", ["startTime"] = 0, ["task"] = "CAS", - ["countryId"] = 11, + ["frequency"] = 127.5, }, -- end of ["AH-1s_1"] - ["usa gnd 4"] = - { - ["country"] = "usa", - ["units"] = - { - [1] = - { - ["type"] = "M-1 Abrams", - ["point"] = - { - ["y"] = 690345.01202023, - ["x"] = -286996.80803754, - }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", - ["coalition"] = "blue", - ["unitId"] = 7011, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 4 unit1", - ["groupName"] = "usa gnd 4", - ["countryId"] = 2, - ["groupId"] = 7005, - }, -- end of [1] - [2] = - { - ["type"] = "M-1 Abrams", - ["point"] = - { - ["y"] = 690495.78308897, - ["x"] = -287119.30705856, - }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", - ["coalition"] = "blue", - ["unitId"] = 7012, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 4 unit2", - ["groupName"] = "usa gnd 4", - ["countryId"] = 2, - ["groupId"] = 7005, - }, -- end of [2] - [3] = - { - ["type"] = "M-1 Abrams", - ["point"] = - { - ["y"] = 690419.49528366, - ["x"] = -287149.74499211, - }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", - ["coalition"] = "blue", - ["unitId"] = 7013, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 4 unit3", - ["groupName"] = "usa gnd 4", - ["countryId"] = 2, - ["groupId"] = 7005, - }, -- end of [3] - [4] = - { - ["type"] = "M-1 Abrams", - ["point"] = - { - ["y"] = 690430.82466041, - ["x"] = -287068.46280196, - }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", - ["coalition"] = "blue", - ["unitId"] = 7014, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 4 unit4", - ["groupName"] = "usa gnd 4", - ["countryId"] = 2, - ["groupId"] = 7005, - }, -- end of [4] - }, -- end of ["units"] - ["countryId"] = 2, - ["name"] = "usa gnd 4", - ["category"] = "vehicle", - ["groupId"] = 7005, - ["startTime"] = 43223.011, - ["task"] = "Ground Nothing", - ["coalition"] = "blue", - }, -- end of ["usa gnd 4"] ["Ka-50s_1"] = { - ["groupId"] = 2, + ["modulation"] = 0, + ["country"] = "russia", + ["uncontrolled"] = false, ["groupName"] = "Ka-50s_1", ["units"] = { [1] = { ["alt"] = 500, - ["heading"] = 2.5953630185698, ["point"] = { ["y"] = 615000, ["x"] = -237571.42857143, }, -- end of ["point"] - ["groupId"] = 2, ["alt_type"] = "BARO", ["livery_id"] = "Russia Demo #024", - ["skill"] = "High", - ["countryId"] = 2, - ["coalition"] = "red", - ["speed"] = 55.555555555556, - ["country"] = "russia", + ["onboard_num"] = "50", ["category"] = "helicopter", - ["unitName"] = "Ka-50s_1_1", + ["speed"] = 55.555555555556, ["type"] = "Ka-50", - ["unitId"] = 3, + ["country"] = "russia", + ["psi"] = -2.5953630185698, + ["unitName"] = "Ka-50s_1_1", ["groupName"] = "Ka-50s_1", + ["coalition"] = "red", + ["countryId"] = 2, + ["x"] = -237571.42857143, + ["y"] = 615000, + ["unitId"] = 3, + ["heading"] = 2.5953630185698, + ["skill"] = "High", + ["callsign"] = 100, + ["groupId"] = 2, }, -- end of [1] [2] = { ["alt"] = 500, - ["heading"] = 2.5953630185698, ["point"] = { ["y"] = 615040, ["x"] = -237611.42857143, }, -- end of ["point"] - ["groupId"] = 2, ["alt_type"] = "BARO", ["livery_id"] = "Russia Demo #024", - ["skill"] = "High", - ["countryId"] = 2, - ["coalition"] = "red", - ["speed"] = 55.555555555556, - ["country"] = "russia", + ["onboard_num"] = "51", ["category"] = "helicopter", - ["unitName"] = "Ka-50s_1_2", + ["speed"] = 55.555555555556, ["type"] = "Ka-50", - ["unitId"] = 4, + ["country"] = "russia", + ["psi"] = -2.5953630185698, + ["unitName"] = "Ka-50s_1_2", ["groupName"] = "Ka-50s_1", + ["coalition"] = "red", + ["countryId"] = 2, + ["x"] = -237611.42857143, + ["y"] = 615040, + ["unitId"] = 4, + ["heading"] = 2.5953630185698, + ["skill"] = "High", + ["callsign"] = 101, + ["groupId"] = 2, }, -- end of [2] }, -- end of ["units"] - ["coalition"] = "red", + ["countryId"] = 2, + ["radioSet"] = false, + ["groupId"] = 2, ["category"] = "helicopter", - ["country"] = "russia", + ["coalition"] = "red", ["startTime"] = 0, ["task"] = "CAS", - ["countryId"] = 2, + ["frequency"] = 124, }, -- end of ["Ka-50s_1"] - ["USA static 7015"] = - { - ["countryId"] = 2, - ["groupId"] = 7015, - ["name"] = "USA static 7015", - ["country"] = "usa", - ["coalition"] = "blue", - ["startTime"] = 43223.011, - ["category"] = "ship", - ["units"] = - { - [1] = - { - ["alt"] = 64, - ["type"] = "Container red 1", - ["point"] = - { - ["y"] = 689768, - ["x"] = -285807, - }, -- end of ["point"] - ["groupId"] = 7015, - ["groupName"] = "USA static 7015", - ["countryId"] = 2, - ["unitId"] = 7015, - ["category"] = "ship", - ["unitName"] = "USA static 7015", - ["heading"] = 6.169648830639, - ["country"] = "usa", - ["coalition"] = "blue", - }, -- end of [1] - }, -- end of ["units"] - }, -- end of ["USA static 7015"] - ["usa gnd 3"] = + ["usa gnd 6"] = { ["country"] = "usa", + ["coalitionId"] = 2, + ["groupName"] = "usa gnd 6", ["units"] = { [1] = { + ["alt"] = 65, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692301.85580476, - ["x"] = -283925.5171695, + ["y"] = 692970, + ["x"] = -288880, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["groupId"] = 7005, + ["coalitionId"] = 2, ["coalition"] = "blue", - ["unitId"] = 7006, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 3 unit1", - ["groupName"] = "usa gnd 3", + ["groupName"] = "usa gnd 6", + ["country"] = "usa", ["countryId"] = 2, - ["groupId"] = 7003, + ["x"] = -288880, + ["y"] = 692970, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 6 unit1", + ["unitId"] = 7011, + ["heading"] = 1.4977545807326, + ["skill"] = "Average", }, -- end of [1] [2] = { + ["alt"] = 65, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692374.68565784, - ["x"] = -283846.9396746, + ["y"] = 693075, + ["x"] = -288920, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["groupId"] = 7005, + ["coalitionId"] = 2, ["coalition"] = "blue", - ["unitId"] = 7007, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 3 unit2", - ["groupName"] = "usa gnd 3", + ["groupName"] = "usa gnd 6", + ["country"] = "usa", ["countryId"] = 2, - ["groupId"] = 7003, + ["x"] = -288920, + ["y"] = 693075, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 6 unit2", + ["unitId"] = 7012, + ["heading"] = 1.4977545807326, + ["skill"] = "Average", }, -- end of [2] [3] = { + ["alt"] = 65, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692416.6568865, - ["x"] = -284022.73058924, + ["y"] = 692855, + ["x"] = -288930, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["groupId"] = 7005, + ["coalitionId"] = 2, ["coalition"] = "blue", - ["unitId"] = 7008, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 3 unit3", - ["groupName"] = "usa gnd 3", + ["groupName"] = "usa gnd 6", + ["country"] = "usa", ["countryId"] = 2, - ["groupId"] = 7003, + ["x"] = -288930, + ["y"] = 692855, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 6 unit3", + ["unitId"] = 7013, + ["heading"] = 1.4977545807326, + ["skill"] = "Average", }, -- end of [3] [4] = { + ["alt"] = 65, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692423.17192305, - ["x"] = -283793.86944615, + ["y"] = 693055, + ["x"] = -288765, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["groupId"] = 7005, + ["coalitionId"] = 2, ["coalition"] = "blue", - ["unitId"] = 7009, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 3 unit4", - ["groupName"] = "usa gnd 3", + ["groupName"] = "usa gnd 6", + ["country"] = "usa", ["countryId"] = 2, - ["groupId"] = 7003, + ["x"] = -288765, + ["y"] = 693055, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 6 unit4", + ["unitId"] = 7014, + ["heading"] = 1.4977545807326, + ["skill"] = "Average", }, -- end of [4] }, -- end of ["units"] ["countryId"] = 2, - ["name"] = "usa gnd 3", + ["name"] = "usa gnd 6", + ["timeAdded"] = 43223.091, ["category"] = "vehicle", - ["groupId"] = 7003, - ["startTime"] = 43223.011, + ["coalition"] = "blue", + ["startTime"] = 43223.091, ["task"] = "Ground Nothing", - ["coalition"] = "blue", - }, -- end of ["usa gnd 3"] - ["USA static 7005"] = - { - ["countryId"] = 2, ["groupId"] = 7005, - ["name"] = "USA static 7005", + }, -- end of ["usa gnd 6"] + ["usa gnd 4"] = + { ["country"] = "usa", - ["coalition"] = "blue", - ["startTime"] = 43221.011, - ["category"] = "ship", + ["coalitionId"] = 2, + ["groupName"] = "usa gnd 4", ["units"] = { [1] = { - ["alt"] = 69, - ["type"] = "Container red 1", + ["alt"] = 68, + ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 690925, - ["x"] = -285115, + ["y"] = 690998, + ["x"] = -285539, }, -- end of ["point"] - ["groupId"] = 7005, - ["groupName"] = "USA static 7005", - ["countryId"] = 2, - ["unitId"] = 7005, - ["category"] = "ship", - ["unitName"] = "USA static 7005", - ["heading"] = 6.1694608363366, - ["country"] = "usa", + ["groupId"] = 7003, + ["coalitionId"] = 2, ["coalition"] = "blue", + ["groupName"] = "usa gnd 4", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -285539, + ["y"] = 690998, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 4 unit1", + ["unitId"] = 7006, + ["heading"] = 1.4977591325037, + ["skill"] = "Average", }, -- end of [1] + [2] = + { + ["alt"] = 68, + ["type"] = "M-1 Abrams", + ["point"] = + { + ["y"] = 690984, + ["x"] = -285610, + }, -- end of ["point"] + ["groupId"] = 7003, + ["coalitionId"] = 2, + ["coalition"] = "blue", + ["groupName"] = "usa gnd 4", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -285610, + ["y"] = 690984, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 4 unit2", + ["unitId"] = 7007, + ["heading"] = 1.4977589159233, + ["skill"] = "Average", + }, -- end of [2] + [3] = + { + ["alt"] = 68, + ["type"] = "M-1 Abrams", + ["point"] = + { + ["y"] = 690825, + ["x"] = -285472, + }, -- end of ["point"] + ["groupId"] = 7003, + ["coalitionId"] = 2, + ["coalition"] = "blue", + ["groupName"] = "usa gnd 4", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -285472, + ["y"] = 690825, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 4 unit3", + ["unitId"] = 7008, + ["heading"] = 1.4977598003676, + ["skill"] = "Average", + }, -- end of [3] + [4] = + { + ["alt"] = 68, + ["type"] = "M-1 Abrams", + ["point"] = + { + ["y"] = 690920, + ["x"] = -285485, + }, -- end of ["point"] + ["groupId"] = 7003, + ["coalitionId"] = 2, + ["coalition"] = "blue", + ["groupName"] = "usa gnd 4", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -285485, + ["y"] = 690920, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 4 unit4", + ["unitId"] = 7009, + ["heading"] = 1.4977598003676, + ["skill"] = "Average", + }, -- end of [4] }, -- end of ["units"] - }, -- end of ["USA static 7005"] + ["countryId"] = 2, + ["name"] = "usa gnd 4", + ["timeAdded"] = 43222.091, + ["category"] = "vehicle", + ["coalition"] = "blue", + ["startTime"] = 43222.091, + ["task"] = "Ground Nothing", + ["groupId"] = 7003, + }, -- end of ["usa gnd 4"] ["A-10C Client #1"] = { - ["groupId"] = 6, + ["modulation"] = 0, + ["country"] = "usa", + ["uncontrolled"] = false, ["groupName"] = "A-10C Client #1", ["units"] = { [1] = { ["alt"] = 2000, - ["heading"] = -0.67060113146646, ["point"] = { ["y"] = 636428.57142857, ["x"] = -318142.85714286, }, -- end of ["point"] - ["groupId"] = 6, ["alt_type"] = "BARO", ["livery_id"] = "104th FS Maryland ANG, Baltimore (MD)", - ["skill"] = "Client", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 138.88888888889, - ["country"] = "usa", + ["onboard_num"] = "52", ["category"] = "plane", - ["unitName"] = "A-10C Client #1", + ["speed"] = 138.88888888889, ["type"] = "A-10C", - ["unitId"] = 11, + ["country"] = "usa", + ["psi"] = 0.67060113146646, + ["unitName"] = "A-10C Client #1", ["groupName"] = "A-10C Client #1", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -318142.85714286, + ["y"] = 636428.57142857, + ["unitId"] = 11, + ["heading"] = -0.67060113146646, + ["skill"] = "Client", + ["callsign"] = + { + [1] = 3, + [2] = 1, + [3] = 1, + ["name"] = "Uzi11", + }, -- end of ["callsign"] + ["groupId"] = 6, }, -- end of [1] }, -- end of ["units"] - ["coalition"] = "blue", + ["countryId"] = 11, + ["radioSet"] = false, + ["groupId"] = 6, ["category"] = "plane", - ["country"] = "usa", + ["coalition"] = "blue", ["startTime"] = 0, ["task"] = "CAS", - ["countryId"] = 11, + ["frequency"] = 251, }, -- end of ["A-10C Client #1"] ["F-15C Client #2"] = { - ["groupId"] = 5, + ["modulation"] = 0, + ["country"] = "usa", + ["uncontrolled"] = false, ["groupName"] = "F-15C Client #2", ["units"] = { [1] = { ["alt"] = 2000, - ["heading"] = -0.57883789069348, ["point"] = { ["y"] = 668428.57142857, ["x"] = -287000, }, -- end of ["point"] - ["groupId"] = 5, ["alt_type"] = "BARO", ["livery_id"] = "19th Fighter SQN (AK)", - ["skill"] = "Client", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 138.88888888889, - ["country"] = "usa", + ["onboard_num"] = "10", ["category"] = "plane", - ["unitName"] = "F-15C Client #2", + ["speed"] = 138.88888888889, ["type"] = "F-15C", - ["unitId"] = 10, + ["country"] = "usa", + ["psi"] = 0.57883789069348, + ["unitName"] = "F-15C Client #2", ["groupName"] = "F-15C Client #2", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -287000, + ["y"] = 668428.57142857, + ["unitId"] = 10, + ["heading"] = -0.57883789069348, + ["skill"] = "Client", + ["callsign"] = + { + [1] = 2, + [2] = 1, + [3] = 1, + ["name"] = "Springfield11", + }, -- end of ["callsign"] + ["groupId"] = 5, }, -- end of [1] }, -- end of ["units"] - ["coalition"] = "blue", + ["countryId"] = 11, + ["radioSet"] = false, + ["groupId"] = 5, ["category"] = "plane", - ["country"] = "usa", + ["coalition"] = "blue", ["startTime"] = 0, ["task"] = "CAP", - ["countryId"] = 11, + ["frequency"] = 124, }, -- end of ["F-15C Client #2"] ["usa gnd 2"] = { ["country"] = "usa", + ["coalitionId"] = 2, + ["groupName"] = "usa gnd 2", ["units"] = { [1] = { + ["alt"] = 73, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692951.80504833, - ["x"] = -288112.04900582, + ["y"] = 692297, + ["x"] = -283873, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["groupId"] = 7001, + ["coalitionId"] = 2, ["coalition"] = "blue", - ["unitId"] = 7001, - ["heading"] = 1.4977557614926, + ["groupName"] = "usa gnd 2", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -283873, + ["y"] = 692297, ["category"] = "vehicle", ["unitName"] = "usa gnd 2 unit1", - ["groupName"] = "usa gnd 2", - ["countryId"] = 2, - ["groupId"] = 7001, + ["unitId"] = 7001, + ["heading"] = 1.4977603826792, + ["skill"] = "Average", }, -- end of [1] [2] = { + ["alt"] = 73, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692984.63711165, - ["x"] = -288136.26599616, + ["y"] = 692378, + ["x"] = -283913, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["groupId"] = 7001, + ["coalitionId"] = 2, ["coalition"] = "blue", - ["unitId"] = 7002, - ["heading"] = 1.4977557614926, + ["groupName"] = "usa gnd 2", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -283913, + ["y"] = 692378, ["category"] = "vehicle", ["unitName"] = "usa gnd 2 unit2", - ["groupName"] = "usa gnd 2", - ["countryId"] = 2, - ["groupId"] = 7001, + ["unitId"] = 7002, + ["heading"] = 1.4977610327793, + ["skill"] = "Average", }, -- end of [2] [3] = { + ["alt"] = 72, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692996.24632438, - ["x"] = -288123.02974075, + ["y"] = 692136, + ["x"] = -283991, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["groupId"] = 7001, + ["coalitionId"] = 2, ["coalition"] = "blue", - ["unitId"] = 7003, - ["heading"] = 1.4977557614926, + ["groupName"] = "usa gnd 2", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -283991, + ["y"] = 692136, ["category"] = "vehicle", ["unitName"] = "usa gnd 2 unit3", - ["groupName"] = "usa gnd 2", - ["countryId"] = 2, - ["groupId"] = 7001, + ["unitId"] = 7003, + ["heading"] = 1.4977579653353, + ["skill"] = "Average", }, -- end of [3] [4] = { + ["alt"] = 73, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692886.94679558, - ["x"] = -287976.47272972, + ["y"] = 692340, + ["x"] = -283878, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["groupId"] = 7001, + ["coalitionId"] = 2, ["coalition"] = "blue", - ["unitId"] = 7004, - ["heading"] = 1.4977557614926, + ["groupName"] = "usa gnd 2", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -283878, + ["y"] = 692340, ["category"] = "vehicle", ["unitName"] = "usa gnd 2 unit4", - ["groupName"] = "usa gnd 2", - ["countryId"] = 2, - ["groupId"] = 7001, + ["unitId"] = 7004, + ["heading"] = 1.4977603826792, + ["skill"] = "Average", }, -- end of [4] }, -- end of ["units"] ["countryId"] = 2, ["name"] = "usa gnd 2", + ["timeAdded"] = 43221.091, ["category"] = "vehicle", - ["groupId"] = 7001, - ["startTime"] = 43221.011, - ["task"] = "Ground Nothing", ["coalition"] = "blue", + ["startTime"] = 43221.091, + ["task"] = "Ground Nothing", + ["groupId"] = 7001, }, -- end of ["usa gnd 2"] ["A-10C Client #2"] = { - ["groupId"] = 7, + ["modulation"] = 0, + ["country"] = "usa", + ["uncontrolled"] = false, ["groupName"] = "A-10C Client #2", ["units"] = { [1] = { ["alt"] = 2000, - ["heading"] = -0.66079849060746, ["point"] = { ["y"] = 644428.57142857, ["x"] = -315857.14285714, }, -- end of ["point"] - ["groupId"] = 7, ["alt_type"] = "BARO", ["livery_id"] = "104th FS Maryland ANG, Baltimore (MD)", - ["skill"] = "Client", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 138.88888888889, - ["country"] = "usa", + ["onboard_num"] = "52", ["category"] = "plane", - ["unitName"] = "A-10C Client #2", + ["speed"] = 138.88888888889, ["type"] = "A-10C", - ["unitId"] = 12, + ["country"] = "usa", + ["psi"] = 0.66079849060746, + ["unitName"] = "A-10C Client #2", ["groupName"] = "A-10C Client #2", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -315857.14285714, + ["y"] = 644428.57142857, + ["unitId"] = 12, + ["heading"] = -0.66079849060746, + ["skill"] = "Client", + ["callsign"] = + { + [1] = 3, + [2] = 1, + [3] = 1, + ["name"] = "Uzi11", + }, -- end of ["callsign"] + ["groupId"] = 7, }, -- end of [1] }, -- end of ["units"] - ["coalition"] = "blue", + ["countryId"] = 11, + ["radioSet"] = false, + ["groupId"] = 7, ["category"] = "plane", - ["country"] = "usa", + ["coalition"] = "blue", ["startTime"] = 0, ["task"] = "CAS", - ["countryId"] = 11, + ["frequency"] = 251, }, -- end of ["A-10C Client #2"] ["RuTanks"] = { @@ -755,91 +824,99 @@ groupsByName = { [1] = { - ["type"] = "T-55", + ["heading"] = 0, ["point"] = { ["y"] = 628677.14285714, ["x"] = -273442.85714286, }, -- end of ["point"] ["groupId"] = 14, - ["skill"] = "Excellent", - ["countryId"] = 2, + ["y"] = 628677.14285714, ["coalition"] = "red", ["groupName"] = "RuTanks", - ["heading"] = 0, + ["type"] = "T-55", + ["countryId"] = 2, + ["x"] = -273442.85714286, + ["unitId"] = 33, ["category"] = "vehicle", ["unitName"] = "RuTanks1", ["playerCanDrive"] = true, - ["unitId"] = 33, ["country"] = "russia", + ["skill"] = "Excellent", }, -- end of [1] [2] = { - ["type"] = "T-55", + ["heading"] = 0, ["point"] = { ["y"] = 628717.14285714, ["x"] = -273482.85714286, }, -- end of ["point"] ["groupId"] = 14, - ["skill"] = "Excellent", - ["countryId"] = 2, + ["y"] = 628717.14285714, ["coalition"] = "red", ["groupName"] = "RuTanks", - ["heading"] = 0, + ["type"] = "T-55", + ["countryId"] = 2, + ["x"] = -273482.85714286, + ["unitId"] = 34, ["category"] = "vehicle", ["unitName"] = "RuTanks2", ["playerCanDrive"] = true, - ["unitId"] = 34, ["country"] = "russia", + ["skill"] = "Excellent", }, -- end of [2] [3] = { - ["type"] = "T-55", + ["heading"] = 0, ["point"] = { ["y"] = 628757.14285714, ["x"] = -273522.85714286, }, -- end of ["point"] ["groupId"] = 14, - ["skill"] = "Excellent", - ["countryId"] = 2, + ["y"] = 628757.14285714, ["coalition"] = "red", ["groupName"] = "RuTanks", - ["heading"] = 0, + ["type"] = "T-55", + ["countryId"] = 2, + ["x"] = -273522.85714286, + ["unitId"] = 35, ["category"] = "vehicle", ["unitName"] = "RuTanks3", ["playerCanDrive"] = true, - ["unitId"] = 35, ["country"] = "russia", + ["skill"] = "Excellent", }, -- end of [3] [4] = { - ["type"] = "T-55", + ["heading"] = 0, ["point"] = { ["y"] = 628797.14285714, ["x"] = -273562.85714286, }, -- end of ["point"] ["groupId"] = 14, - ["skill"] = "Excellent", - ["countryId"] = 2, + ["y"] = 628797.14285714, ["coalition"] = "red", ["groupName"] = "RuTanks", - ["heading"] = 0, + ["type"] = "T-55", + ["countryId"] = 2, + ["x"] = -273562.85714286, + ["unitId"] = 36, ["category"] = "vehicle", ["unitName"] = "RuTanks4", ["playerCanDrive"] = true, - ["unitId"] = 36, ["country"] = "russia", + ["skill"] = "Excellent", }, -- end of [4] }, -- end of ["units"] ["coalition"] = "red", ["category"] = "vehicle", - ["country"] = "russia", + ["countryId"] = 2, ["startTime"] = 0, ["task"] = "Ground Nothing", - ["countryId"] = 2, + ["country"] = "russia", }, -- end of ["RuTanks"] ["tent1"] = { @@ -854,7 +931,7 @@ groupsByName = [1] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 636248.57142857, @@ -863,12 +940,14 @@ groupsByName = ["groupId"] = 15, ["groupName"] = "tent1", ["countryId"] = 11, - ["unitId"] = 37, + ["coalition"] = "blue", + ["x"] = -300871.42857143, + ["y"] = 636248.57142857, ["category"] = "static", ["unitName"] = "tent1", - ["type"] = "FARP Tent", ["country"] = "usa", - ["coalition"] = "blue", + ["heading"] = 0, + ["unitId"] = 37, }, -- end of [1] }, -- end of ["units"] }, -- end of ["tent1"] @@ -885,7 +964,7 @@ groupsByName = [1] = { ["shape_name"] = "konteiner_red1", - ["heading"] = 0, + ["type"] = "Container red 1", ["point"] = { ["y"] = 684605.71428571, @@ -894,12 +973,14 @@ groupsByName = ["groupId"] = 30, ["groupName"] = "static", ["countryId"] = 11, - ["unitId"] = 44, + ["coalition"] = "blue", + ["x"] = -279949.99999999, + ["y"] = 684605.71428571, ["category"] = "static", ["unitName"] = "static", - ["type"] = "Container red 1", ["country"] = "usa", - ["coalition"] = "blue", + ["heading"] = 0, + ["unitId"] = 44, }, -- end of [1] }, -- end of ["units"] }, -- end of ["static"] @@ -911,99 +992,107 @@ groupsByName = { [1] = { - ["type"] = "M-1 Abrams", + ["heading"] = 1.4977557614926, ["point"] = { ["y"] = 653171.42857143, ["x"] = -293085.71428571, }, -- end of ["point"] ["groupId"] = 12, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 653171.42857143, ["coalition"] = "blue", ["groupName"] = "USTanks2", - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -293085.71428571, + ["unitId"] = 23, ["category"] = "vehicle", ["unitName"] = "USTanks2_1", ["playerCanDrive"] = true, - ["unitId"] = 23, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [1] [2] = { - ["type"] = "M-1 Abrams", + ["heading"] = 1.4977557614926, ["point"] = { ["y"] = 653211.42857143, ["x"] = -293125.71428571, }, -- end of ["point"] ["groupId"] = 12, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 653211.42857143, ["coalition"] = "blue", ["groupName"] = "USTanks2", - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -293125.71428571, + ["unitId"] = 24, ["category"] = "vehicle", ["unitName"] = "USTanks2_2", ["playerCanDrive"] = true, - ["unitId"] = 24, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [2] [3] = { - ["type"] = "M-1 Abrams", + ["heading"] = 1.4977557614926, ["point"] = { ["y"] = 653251.42857143, ["x"] = -293165.71428571, }, -- end of ["point"] ["groupId"] = 12, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 653251.42857143, ["coalition"] = "blue", ["groupName"] = "USTanks2", - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -293165.71428571, + ["unitId"] = 25, ["category"] = "vehicle", ["unitName"] = "USTanks2_3", ["playerCanDrive"] = true, - ["unitId"] = 25, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [3] [4] = { - ["type"] = "M-1 Abrams", + ["heading"] = 1.4977557614926, ["point"] = { ["y"] = 653291.42857143, ["x"] = -293205.71428571, }, -- end of ["point"] ["groupId"] = 12, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 653291.42857143, ["coalition"] = "blue", ["groupName"] = "USTanks2", - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -293205.71428571, + ["unitId"] = 26, ["category"] = "vehicle", ["unitName"] = "USTanks2_4", ["playerCanDrive"] = true, - ["unitId"] = 26, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [4] }, -- end of ["units"] ["coalition"] = "blue", ["category"] = "vehicle", - ["country"] = "usa", + ["countryId"] = 11, ["startTime"] = 0, ["task"] = "Ground Nothing", - ["countryId"] = 11, + ["country"] = "usa", }, -- end of ["USTanks2"] ["Rus Ships #1"] = { ["coalition"] = "red", - ["category"] = "ship", ["countryId"] = 2, - ["groupId"] = 9, + ["category"] = "ship", ["country"] = "russia", + ["groupId"] = 9, ["startTime"] = 0, ["groupName"] = "Rus Ships #1", ["units"] = @@ -1017,15 +1106,17 @@ groupsByName = ["x"] = -34285.714285714, }, -- end of ["point"] ["groupId"] = 9, + ["y"] = 200000, ["skill"] = "Average", ["coalition"] = "red", ["countryId"] = 2, - ["groupName"] = "Rus Ships #1", + ["x"] = -34285.714285714, + ["unitId"] = 15, ["category"] = "ship", ["unitName"] = "1ship1", - ["country"] = "russia", ["heading"] = 0, - ["unitId"] = 15, + ["country"] = "russia", + ["groupName"] = "Rus Ships #1", }, -- end of [1] [2] = { @@ -1036,62 +1127,73 @@ groupsByName = ["x"] = -35085.714285714, }, -- end of ["point"] ["groupId"] = 9, + ["y"] = 200800, ["skill"] = "Average", ["coalition"] = "red", ["countryId"] = 2, - ["groupName"] = "Rus Ships #1", + ["x"] = -35085.714285714, + ["unitId"] = 16, ["category"] = "ship", ["unitName"] = "1ship2", - ["country"] = "russia", ["heading"] = 0, - ["unitId"] = 16, + ["country"] = "russia", + ["groupName"] = "Rus Ships #1", }, -- end of [2] }, -- end of ["units"] }, -- end of ["Rus Ships #1"] ["Su-33 Client #1"] = { - ["groupId"] = 20, + ["modulation"] = 0, + ["country"] = "russia", + ["uncontrolled"] = false, ["groupName"] = "Su-33 Client #1", ["units"] = { [1] = { ["alt"] = 2000, - ["heading"] = 0, ["point"] = { ["y"] = 590391.42857142, ["x"] = -250185.71428571, }, -- end of ["point"] - ["groupId"] = 20, ["alt_type"] = "BARO", ["livery_id"] = "279th kiap 1st squad navy", - ["skill"] = "Client", - ["countryId"] = 2, - ["coalition"] = "red", - ["speed"] = 138.88888888889, - ["country"] = "russia", + ["onboard_num"] = "53", ["category"] = "plane", - ["unitName"] = "Su-33 Client #1", + ["speed"] = 138.88888888889, ["type"] = "Su-33", - ["unitId"] = 42, + ["country"] = "russia", + ["psi"] = 0, + ["unitName"] = "Su-33 Client #1", ["groupName"] = "Su-33 Client #1", + ["coalition"] = "red", + ["countryId"] = 2, + ["x"] = -250185.71428571, + ["y"] = 590391.42857142, + ["unitId"] = 42, + ["heading"] = 0, + ["skill"] = "Client", + ["callsign"] = 104, + ["groupId"] = 20, }, -- end of [1] }, -- end of ["units"] - ["coalition"] = "red", + ["countryId"] = 2, + ["radioSet"] = false, + ["groupId"] = 20, ["category"] = "plane", - ["country"] = "russia", + ["coalition"] = "red", ["startTime"] = 0, ["task"] = "CAP", - ["countryId"] = 2, + ["frequency"] = 124, }, -- end of ["Su-33 Client #1"] ["US Ships"] = { ["coalition"] = "blue", - ["category"] = "ship", ["countryId"] = 11, - ["groupId"] = 8, + ["category"] = "ship", ["country"] = "usa", + ["groupId"] = 8, ["startTime"] = 0, ["groupName"] = "US Ships", ["units"] = @@ -1105,15 +1207,17 @@ groupsByName = ["x"] = -355285.71428571, }, -- end of ["point"] ["groupId"] = 8, + ["y"] = 443857.14285714, ["skill"] = "Average", ["coalition"] = "blue", ["countryId"] = 11, - ["groupName"] = "US Ships", + ["x"] = -355285.71428571, + ["unitId"] = 13, ["category"] = "ship", ["unitName"] = "US Ship #1", - ["country"] = "usa", ["heading"] = 0, - ["unitId"] = 13, + ["country"] = "usa", + ["groupName"] = "US Ships", }, -- end of [1] [2] = { @@ -1124,15 +1228,17 @@ groupsByName = ["x"] = -356085.71428571, }, -- end of ["point"] ["groupId"] = 8, + ["y"] = 444657.14285714, ["skill"] = "Average", ["coalition"] = "blue", ["countryId"] = 11, - ["groupName"] = "US Ships", + ["x"] = -356085.71428571, + ["unitId"] = 14, ["category"] = "ship", ["unitName"] = "US Ship #2", - ["country"] = "usa", ["heading"] = 0, - ["unitId"] = 14, + ["country"] = "usa", + ["groupName"] = "US Ships", }, -- end of [2] }, -- end of ["units"] }, -- end of ["US Ships"] @@ -1156,13 +1262,15 @@ groupsByName = }, -- end of ["point"] ["groupId"] = 17, ["groupName"] = "RU Farp", + ["countryId"] = 2, ["coalition"] = "red", - ["unitId"] = 39, + ["x"] = -258442.85714286, + ["y"] = 617591.42857143, ["category"] = "static", ["unitName"] = "RU Farp", - ["type"] = "FARP", - ["countryId"] = 2, ["country"] = "russia", + ["type"] = "FARP", + ["unitId"] = 39, }, -- end of [1] }, -- end of ["units"] }, -- end of ["RU Farp"] @@ -1174,91 +1282,99 @@ groupsByName = { [1] = { - ["type"] = "M-1 Abrams", + ["heading"] = 0, ["point"] = { ["y"] = 639800, ["x"] = -294685.71428571, }, -- end of ["point"] ["groupId"] = 11, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 639800, ["coalition"] = "blue", ["groupName"] = "USTanks1", - ["heading"] = 0, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -294685.71428571, + ["unitId"] = 19, ["category"] = "vehicle", ["unitName"] = "USTanks1_1", ["playerCanDrive"] = true, - ["unitId"] = 19, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [1] [2] = { - ["type"] = "M-1 Abrams", + ["heading"] = 0, ["point"] = { ["y"] = 639840, ["x"] = -294725.71428571, }, -- end of ["point"] ["groupId"] = 11, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 639840, ["coalition"] = "blue", ["groupName"] = "USTanks1", - ["heading"] = 0, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -294725.71428571, + ["unitId"] = 20, ["category"] = "vehicle", ["unitName"] = "USTanks1_2", ["playerCanDrive"] = true, - ["unitId"] = 20, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [2] [3] = { - ["type"] = "M-1 Abrams", + ["heading"] = 0, ["point"] = { ["y"] = 639880, ["x"] = -294765.71428571, }, -- end of ["point"] ["groupId"] = 11, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 639880, ["coalition"] = "blue", ["groupName"] = "USTanks1", - ["heading"] = 0, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -294765.71428571, + ["unitId"] = 21, ["category"] = "vehicle", ["unitName"] = "USTanks1_3", ["playerCanDrive"] = true, - ["unitId"] = 21, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [3] [4] = { - ["type"] = "M-1 Abrams", + ["heading"] = 0, ["point"] = { ["y"] = 639920, ["x"] = -294805.71428571, }, -- end of ["point"] ["groupId"] = 11, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 639920, ["coalition"] = "blue", ["groupName"] = "USTanks1", - ["heading"] = 0, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -294805.71428571, + ["unitId"] = 22, ["category"] = "vehicle", ["unitName"] = "USTanks1_4", ["playerCanDrive"] = true, - ["unitId"] = 22, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [4] }, -- end of ["units"] ["coalition"] = "blue", ["category"] = "vehicle", - ["country"] = "usa", + ["countryId"] = 11, ["startTime"] = 0, ["task"] = "Ground Nothing", - ["countryId"] = 11, + ["country"] = "usa", }, -- end of ["USTanks1"] ["RuTent2"] = { @@ -1273,7 +1389,7 @@ groupsByName = [1] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 617691.42857143, @@ -1282,111 +1398,136 @@ groupsByName = ["groupId"] = 19, ["groupName"] = "RuTent2", ["countryId"] = 2, - ["unitId"] = 41, + ["coalition"] = "red", + ["x"] = -259071.42857143, + ["y"] = 617691.42857143, ["category"] = "static", ["unitName"] = "RuTent2", - ["type"] = "FARP Tent", ["country"] = "russia", - ["coalition"] = "red", + ["heading"] = 0, + ["unitId"] = 41, }, -- end of [1] }, -- end of ["units"] }, -- end of ["RuTent2"] ["Mi-8s_1"] = { - ["groupId"] = 3, + ["modulation"] = 1, + ["country"] = "russia", + ["uncontrolled"] = false, ["groupName"] = "Mi-8s_1", ["units"] = { [1] = { ["alt"] = 500, - ["heading"] = 2.6119254271103, ["point"] = { ["y"] = 603285.71428571, ["x"] = -243285.71428571, }, -- end of ["point"] - ["groupId"] = 3, ["alt_type"] = "BARO", ["livery_id"] = "Russia", - ["skill"] = "Random", - ["countryId"] = 2, - ["coalition"] = "red", - ["speed"] = 55.555555555556, - ["country"] = "russia", + ["onboard_num"] = "52", ["category"] = "helicopter", - ["unitName"] = "Mi-8s_1_1", + ["speed"] = 55.555555555556, ["type"] = "Mi-8MT", - ["unitId"] = 5, + ["country"] = "russia", + ["psi"] = -2.6119254271103, + ["unitName"] = "Mi-8s_1_1", ["groupName"] = "Mi-8s_1", + ["coalition"] = "red", + ["countryId"] = 2, + ["x"] = -243285.71428571, + ["y"] = 603285.71428571, + ["unitId"] = 5, + ["heading"] = 2.6119254271103, + ["skill"] = "Random", + ["callsign"] = 103, + ["groupId"] = 3, }, -- end of [1] [2] = { ["alt"] = 500, - ["heading"] = 2.6119254271103, ["point"] = { ["y"] = 603325.71428571, ["x"] = -243325.71428571, }, -- end of ["point"] - ["groupId"] = 3, ["alt_type"] = "BARO", ["livery_id"] = "Russia", - ["skill"] = "Random", - ["countryId"] = 2, - ["coalition"] = "red", - ["speed"] = 55.555555555556, - ["country"] = "russia", + ["onboard_num"] = "53", ["category"] = "helicopter", - ["unitName"] = "Mi-8s_1_1 #1", + ["speed"] = 55.555555555556, ["type"] = "Mi-8MT", - ["unitId"] = 6, + ["country"] = "russia", + ["psi"] = -2.6119254271103, + ["unitName"] = "Mi-8s_1_1 #1", ["groupName"] = "Mi-8s_1", + ["coalition"] = "red", + ["countryId"] = 2, + ["x"] = -243325.71428571, + ["y"] = 603325.71428571, + ["unitId"] = 6, + ["heading"] = 2.6119254271103, + ["skill"] = "Random", + ["callsign"] = 102, + ["groupId"] = 3, }, -- end of [2] }, -- end of ["units"] - ["coalition"] = "red", + ["countryId"] = 2, + ["radioSet"] = false, + ["groupId"] = 3, ["category"] = "helicopter", - ["country"] = "russia", + ["coalition"] = "red", ["startTime"] = 0, ["task"] = "Transport", - ["countryId"] = 2, + ["frequency"] = 127.5, }, -- end of ["Mi-8s_1"] ["Su-33 Client #2"] = { - ["groupId"] = 21, + ["modulation"] = 0, + ["country"] = "russia", + ["uncontrolled"] = false, ["groupName"] = "Su-33 Client #2", ["units"] = { [1] = { ["alt"] = 2000, - ["heading"] = 0, ["point"] = { ["y"] = 597819.99999999, ["x"] = -235614.28571428, }, -- end of ["point"] - ["groupId"] = 21, ["alt_type"] = "BARO", ["livery_id"] = "279th kiap 1st squad navy", - ["skill"] = "Client", - ["countryId"] = 2, - ["coalition"] = "red", - ["speed"] = 138.88888888889, - ["country"] = "russia", + ["onboard_num"] = "53", ["category"] = "plane", - ["unitName"] = "Su-33 Client #2", + ["speed"] = 138.88888888889, ["type"] = "Su-33", - ["unitId"] = 43, + ["country"] = "russia", + ["psi"] = 0, + ["unitName"] = "Su-33 Client #2", ["groupName"] = "Su-33 Client #2", + ["coalition"] = "red", + ["countryId"] = 2, + ["x"] = -235614.28571428, + ["y"] = 597819.99999999, + ["unitId"] = 43, + ["heading"] = 0, + ["skill"] = "Client", + ["callsign"] = 104, + ["groupId"] = 21, }, -- end of [1] }, -- end of ["units"] - ["coalition"] = "red", + ["countryId"] = 2, + ["radioSet"] = false, + ["groupId"] = 21, ["category"] = "plane", - ["country"] = "russia", + ["coalition"] = "red", ["startTime"] = 0, ["task"] = "CAP", - ["countryId"] = 2, + ["frequency"] = 124, }, -- end of ["Su-33 Client #2"] ["RuBTRs"] = { @@ -1396,130 +1537,142 @@ groupsByName = { [1] = { - ["type"] = "BTR-80", + ["heading"] = -1.7994767003775, ["point"] = { ["y"] = 654545.71428571, ["x"] = -292842.85714286, }, -- end of ["point"] ["groupId"] = 13, - ["skill"] = "Average", - ["countryId"] = 2, + ["y"] = 654545.71428571, ["coalition"] = "red", ["groupName"] = "RuBTRs", - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", + ["countryId"] = 2, + ["x"] = -292842.85714286, + ["unitId"] = 27, ["category"] = "vehicle", ["unitName"] = "RuBTRs1", ["playerCanDrive"] = true, - ["unitId"] = 27, ["country"] = "russia", + ["skill"] = "Average", }, -- end of [1] [2] = { - ["type"] = "BTR-80", + ["heading"] = -1.7994767003775, ["point"] = { ["y"] = 654585.71428571, ["x"] = -292882.85714286, }, -- end of ["point"] ["groupId"] = 13, - ["skill"] = "Average", - ["countryId"] = 2, + ["y"] = 654585.71428571, ["coalition"] = "red", ["groupName"] = "RuBTRs", - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", + ["countryId"] = 2, + ["x"] = -292882.85714286, + ["unitId"] = 28, ["category"] = "vehicle", ["unitName"] = "RuBTRs2", ["playerCanDrive"] = true, - ["unitId"] = 28, ["country"] = "russia", + ["skill"] = "Average", }, -- end of [2] [3] = { - ["type"] = "BTR-80", + ["heading"] = -1.7994767003775, ["point"] = { ["y"] = 654625.71428571, ["x"] = -292922.85714286, }, -- end of ["point"] ["groupId"] = 13, - ["skill"] = "Average", - ["countryId"] = 2, + ["y"] = 654625.71428571, ["coalition"] = "red", ["groupName"] = "RuBTRs", - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", + ["countryId"] = 2, + ["x"] = -292922.85714286, + ["unitId"] = 29, ["category"] = "vehicle", ["unitName"] = "RuBTRs3", ["playerCanDrive"] = true, - ["unitId"] = 29, ["country"] = "russia", + ["skill"] = "Average", }, -- end of [3] [4] = { - ["type"] = "BTR-80", + ["heading"] = -1.7994767003775, ["point"] = { ["y"] = 654665.71428571, ["x"] = -292962.85714286, }, -- end of ["point"] ["groupId"] = 13, - ["skill"] = "Average", - ["countryId"] = 2, + ["y"] = 654665.71428571, ["coalition"] = "red", ["groupName"] = "RuBTRs", - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", + ["countryId"] = 2, + ["x"] = -292962.85714286, + ["unitId"] = 30, ["category"] = "vehicle", ["unitName"] = "RuBTRs4", ["playerCanDrive"] = true, - ["unitId"] = 30, ["country"] = "russia", + ["skill"] = "Average", }, -- end of [4] [5] = { - ["type"] = "BTR-80", + ["heading"] = -1.7994767003775, ["point"] = { ["y"] = 654705.71428571, ["x"] = -293002.85714286, }, -- end of ["point"] ["groupId"] = 13, - ["skill"] = "Average", - ["countryId"] = 2, + ["y"] = 654705.71428571, ["coalition"] = "red", ["groupName"] = "RuBTRs", - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", + ["countryId"] = 2, + ["x"] = -293002.85714286, + ["unitId"] = 31, ["category"] = "vehicle", ["unitName"] = "RuBTRs5", ["playerCanDrive"] = true, - ["unitId"] = 31, ["country"] = "russia", + ["skill"] = "Average", }, -- end of [5] [6] = { - ["type"] = "BTR-80", + ["heading"] = -1.7994767003775, ["point"] = { ["y"] = 654745.71428571, ["x"] = -293042.85714286, }, -- end of ["point"] ["groupId"] = 13, - ["skill"] = "Average", - ["countryId"] = 2, + ["y"] = 654745.71428571, ["coalition"] = "red", ["groupName"] = "RuBTRs", - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", + ["countryId"] = 2, + ["x"] = -293042.85714286, + ["unitId"] = 32, ["category"] = "vehicle", ["unitName"] = "RuBTRs6", ["playerCanDrive"] = true, - ["unitId"] = 32, ["country"] = "russia", + ["skill"] = "Average", }, -- end of [6] }, -- end of ["units"] ["coalition"] = "red", ["category"] = "vehicle", - ["country"] = "russia", + ["countryId"] = 2, ["startTime"] = 0, ["task"] = "Ground Nothing", - ["countryId"] = 2, + ["country"] = "russia", }, -- end of ["RuBTRs"] } -- end of groupsByName diff --git a/Example DBs/mist_DBs_humansById.lua b/Example DBs/mist_DBs_humansById.lua index 278cccf..1174ef0 100644 --- a/Example DBs/mist_DBs_humansById.lua +++ b/Example DBs/mist_DBs_humansById.lua @@ -3,139 +3,193 @@ humansById = [11] = { ["alt"] = 2000, - ["heading"] = -0.67060113146646, ["point"] = { ["y"] = 636428.57142857, ["x"] = -318142.85714286, }, -- end of ["point"] - ["groupId"] = 6, ["alt_type"] = "BARO", ["livery_id"] = "104th FS Maryland ANG, Baltimore (MD)", - ["skill"] = "Client", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 138.88888888889, - ["country"] = "usa", + ["onboard_num"] = "52", ["category"] = "plane", - ["unitName"] = "A-10C Client #1", + ["speed"] = 138.88888888889, ["type"] = "A-10C", - ["unitId"] = 11, + ["country"] = "usa", + ["psi"] = 0.67060113146646, + ["unitName"] = "A-10C Client #1", ["groupName"] = "A-10C Client #1", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -318142.85714286, + ["y"] = 636428.57142857, + ["unitId"] = 11, + ["heading"] = -0.67060113146646, + ["skill"] = "Client", + ["callsign"] = + { + [1] = 3, + [2] = 1, + [3] = 1, + ["name"] = "Uzi11", + }, -- end of ["callsign"] + ["groupId"] = 6, }, -- end of [11] [8] = { ["alt"] = 2000, - ["heading"] = -0.57883789069348, ["point"] = { ["y"] = 662142.85714286, ["x"] = -288142.85714286, }, -- end of ["point"] - ["groupId"] = 4, ["alt_type"] = "BARO", ["livery_id"] = "19th Fighter SQN (AK)", - ["skill"] = "Client", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 138.88888888889, - ["country"] = "usa", + ["onboard_num"] = "10", ["category"] = "plane", - ["unitName"] = "F-15C Client #1", + ["speed"] = 138.88888888889, ["type"] = "F-15C", - ["unitId"] = 8, + ["country"] = "usa", + ["psi"] = 0.57883789069348, + ["unitName"] = "F-15C Client #1", ["groupName"] = "F-15C Client #1", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -288142.85714286, + ["y"] = 662142.85714286, + ["unitId"] = 8, + ["heading"] = -0.57883789069348, + ["skill"] = "Client", + ["callsign"] = + { + [1] = 2, + [2] = 1, + [3] = 1, + ["name"] = "Springfield11", + }, -- end of ["callsign"] + ["groupId"] = 4, }, -- end of [8] [10] = { ["alt"] = 2000, - ["heading"] = -0.57883789069348, ["point"] = { ["y"] = 668428.57142857, ["x"] = -287000, }, -- end of ["point"] - ["groupId"] = 5, ["alt_type"] = "BARO", ["livery_id"] = "19th Fighter SQN (AK)", - ["skill"] = "Client", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 138.88888888889, - ["country"] = "usa", + ["onboard_num"] = "10", ["category"] = "plane", - ["unitName"] = "F-15C Client #2", + ["speed"] = 138.88888888889, ["type"] = "F-15C", - ["unitId"] = 10, + ["country"] = "usa", + ["psi"] = 0.57883789069348, + ["unitName"] = "F-15C Client #2", ["groupName"] = "F-15C Client #2", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -287000, + ["y"] = 668428.57142857, + ["unitId"] = 10, + ["heading"] = -0.57883789069348, + ["skill"] = "Client", + ["callsign"] = + { + [1] = 2, + [2] = 1, + [3] = 1, + ["name"] = "Springfield11", + }, -- end of ["callsign"] + ["groupId"] = 5, }, -- end of [10] [12] = { ["alt"] = 2000, - ["heading"] = -0.66079849060746, ["point"] = { ["y"] = 644428.57142857, ["x"] = -315857.14285714, }, -- end of ["point"] - ["groupId"] = 7, ["alt_type"] = "BARO", ["livery_id"] = "104th FS Maryland ANG, Baltimore (MD)", - ["skill"] = "Client", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 138.88888888889, - ["country"] = "usa", + ["onboard_num"] = "52", ["category"] = "plane", - ["unitName"] = "A-10C Client #2", + ["speed"] = 138.88888888889, ["type"] = "A-10C", - ["unitId"] = 12, + ["country"] = "usa", + ["psi"] = 0.66079849060746, + ["unitName"] = "A-10C Client #2", ["groupName"] = "A-10C Client #2", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -315857.14285714, + ["y"] = 644428.57142857, + ["unitId"] = 12, + ["heading"] = -0.66079849060746, + ["skill"] = "Client", + ["callsign"] = + { + [1] = 3, + [2] = 1, + [3] = 1, + ["name"] = "Uzi11", + }, -- end of ["callsign"] + ["groupId"] = 7, }, -- end of [12] [42] = { ["alt"] = 2000, - ["heading"] = 0, ["point"] = { ["y"] = 590391.42857142, ["x"] = -250185.71428571, }, -- end of ["point"] - ["groupId"] = 20, ["alt_type"] = "BARO", ["livery_id"] = "279th kiap 1st squad navy", - ["skill"] = "Client", - ["countryId"] = 2, - ["coalition"] = "red", - ["speed"] = 138.88888888889, - ["country"] = "russia", + ["onboard_num"] = "53", ["category"] = "plane", - ["unitName"] = "Su-33 Client #1", + ["speed"] = 138.88888888889, ["type"] = "Su-33", - ["unitId"] = 42, + ["country"] = "russia", + ["psi"] = 0, + ["unitName"] = "Su-33 Client #1", ["groupName"] = "Su-33 Client #1", + ["coalition"] = "red", + ["countryId"] = 2, + ["x"] = -250185.71428571, + ["y"] = 590391.42857142, + ["unitId"] = 42, + ["heading"] = 0, + ["skill"] = "Client", + ["callsign"] = 104, + ["groupId"] = 20, }, -- end of [42] [43] = { ["alt"] = 2000, - ["heading"] = 0, ["point"] = { ["y"] = 597819.99999999, ["x"] = -235614.28571428, }, -- end of ["point"] - ["groupId"] = 21, ["alt_type"] = "BARO", ["livery_id"] = "279th kiap 1st squad navy", - ["skill"] = "Client", - ["countryId"] = 2, - ["coalition"] = "red", - ["speed"] = 138.88888888889, - ["country"] = "russia", + ["onboard_num"] = "53", ["category"] = "plane", - ["unitName"] = "Su-33 Client #2", + ["speed"] = 138.88888888889, ["type"] = "Su-33", - ["unitId"] = 43, + ["country"] = "russia", + ["psi"] = 0, + ["unitName"] = "Su-33 Client #2", ["groupName"] = "Su-33 Client #2", + ["coalition"] = "red", + ["countryId"] = 2, + ["x"] = -235614.28571428, + ["y"] = 597819.99999999, + ["unitId"] = 43, + ["heading"] = 0, + ["skill"] = "Client", + ["callsign"] = 104, + ["groupId"] = 21, }, -- end of [43] } -- end of humansById diff --git a/Example DBs/mist_DBs_humansByName.lua b/Example DBs/mist_DBs_humansByName.lua index 0c07f96..0e1573f 100644 --- a/Example DBs/mist_DBs_humansByName.lua +++ b/Example DBs/mist_DBs_humansByName.lua @@ -3,139 +3,193 @@ humansByName = ["A-10C Client #2"] = { ["alt"] = 2000, - ["heading"] = -0.66079849060746, ["point"] = { ["y"] = 644428.57142857, ["x"] = -315857.14285714, }, -- end of ["point"] - ["groupId"] = 7, ["alt_type"] = "BARO", ["livery_id"] = "104th FS Maryland ANG, Baltimore (MD)", - ["skill"] = "Client", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 138.88888888889, - ["country"] = "usa", + ["onboard_num"] = "52", ["category"] = "plane", - ["unitName"] = "A-10C Client #2", + ["speed"] = 138.88888888889, ["type"] = "A-10C", - ["unitId"] = 12, + ["country"] = "usa", + ["psi"] = 0.66079849060746, + ["unitName"] = "A-10C Client #2", ["groupName"] = "A-10C Client #2", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -315857.14285714, + ["y"] = 644428.57142857, + ["unitId"] = 12, + ["heading"] = -0.66079849060746, + ["skill"] = "Client", + ["callsign"] = + { + [1] = 3, + [2] = 1, + [3] = 1, + ["name"] = "Uzi11", + }, -- end of ["callsign"] + ["groupId"] = 7, }, -- end of ["A-10C Client #2"] ["F-15C Client #1"] = { ["alt"] = 2000, - ["heading"] = -0.57883789069348, ["point"] = { ["y"] = 662142.85714286, ["x"] = -288142.85714286, }, -- end of ["point"] - ["groupId"] = 4, ["alt_type"] = "BARO", ["livery_id"] = "19th Fighter SQN (AK)", - ["skill"] = "Client", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 138.88888888889, - ["country"] = "usa", + ["onboard_num"] = "10", ["category"] = "plane", - ["unitName"] = "F-15C Client #1", + ["speed"] = 138.88888888889, ["type"] = "F-15C", - ["unitId"] = 8, + ["country"] = "usa", + ["psi"] = 0.57883789069348, + ["unitName"] = "F-15C Client #1", ["groupName"] = "F-15C Client #1", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -288142.85714286, + ["y"] = 662142.85714286, + ["unitId"] = 8, + ["heading"] = -0.57883789069348, + ["skill"] = "Client", + ["callsign"] = + { + [1] = 2, + [2] = 1, + [3] = 1, + ["name"] = "Springfield11", + }, -- end of ["callsign"] + ["groupId"] = 4, }, -- end of ["F-15C Client #1"] ["Su-33 Client #2"] = { ["alt"] = 2000, - ["heading"] = 0, ["point"] = { ["y"] = 597819.99999999, ["x"] = -235614.28571428, }, -- end of ["point"] - ["groupId"] = 21, ["alt_type"] = "BARO", ["livery_id"] = "279th kiap 1st squad navy", - ["skill"] = "Client", - ["countryId"] = 2, - ["coalition"] = "red", - ["speed"] = 138.88888888889, - ["country"] = "russia", + ["onboard_num"] = "53", ["category"] = "plane", - ["unitName"] = "Su-33 Client #2", + ["speed"] = 138.88888888889, ["type"] = "Su-33", - ["unitId"] = 43, + ["country"] = "russia", + ["psi"] = 0, + ["unitName"] = "Su-33 Client #2", ["groupName"] = "Su-33 Client #2", + ["coalition"] = "red", + ["countryId"] = 2, + ["x"] = -235614.28571428, + ["y"] = 597819.99999999, + ["unitId"] = 43, + ["heading"] = 0, + ["skill"] = "Client", + ["callsign"] = 104, + ["groupId"] = 21, }, -- end of ["Su-33 Client #2"] ["Su-33 Client #1"] = { ["alt"] = 2000, - ["heading"] = 0, ["point"] = { ["y"] = 590391.42857142, ["x"] = -250185.71428571, }, -- end of ["point"] - ["groupId"] = 20, ["alt_type"] = "BARO", ["livery_id"] = "279th kiap 1st squad navy", - ["skill"] = "Client", - ["countryId"] = 2, - ["coalition"] = "red", - ["speed"] = 138.88888888889, - ["country"] = "russia", + ["onboard_num"] = "53", ["category"] = "plane", - ["unitName"] = "Su-33 Client #1", + ["speed"] = 138.88888888889, ["type"] = "Su-33", - ["unitId"] = 42, + ["country"] = "russia", + ["psi"] = 0, + ["unitName"] = "Su-33 Client #1", ["groupName"] = "Su-33 Client #1", + ["coalition"] = "red", + ["countryId"] = 2, + ["x"] = -250185.71428571, + ["y"] = 590391.42857142, + ["unitId"] = 42, + ["heading"] = 0, + ["skill"] = "Client", + ["callsign"] = 104, + ["groupId"] = 20, }, -- end of ["Su-33 Client #1"] ["F-15C Client #2"] = { ["alt"] = 2000, - ["heading"] = -0.57883789069348, ["point"] = { ["y"] = 668428.57142857, ["x"] = -287000, }, -- end of ["point"] - ["groupId"] = 5, ["alt_type"] = "BARO", ["livery_id"] = "19th Fighter SQN (AK)", - ["skill"] = "Client", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 138.88888888889, - ["country"] = "usa", + ["onboard_num"] = "10", ["category"] = "plane", - ["unitName"] = "F-15C Client #2", + ["speed"] = 138.88888888889, ["type"] = "F-15C", - ["unitId"] = 10, + ["country"] = "usa", + ["psi"] = 0.57883789069348, + ["unitName"] = "F-15C Client #2", ["groupName"] = "F-15C Client #2", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -287000, + ["y"] = 668428.57142857, + ["unitId"] = 10, + ["heading"] = -0.57883789069348, + ["skill"] = "Client", + ["callsign"] = + { + [1] = 2, + [2] = 1, + [3] = 1, + ["name"] = "Springfield11", + }, -- end of ["callsign"] + ["groupId"] = 5, }, -- end of ["F-15C Client #2"] ["A-10C Client #1"] = { ["alt"] = 2000, - ["heading"] = -0.67060113146646, ["point"] = { ["y"] = 636428.57142857, ["x"] = -318142.85714286, }, -- end of ["point"] - ["groupId"] = 6, ["alt_type"] = "BARO", ["livery_id"] = "104th FS Maryland ANG, Baltimore (MD)", - ["skill"] = "Client", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 138.88888888889, - ["country"] = "usa", + ["onboard_num"] = "52", ["category"] = "plane", - ["unitName"] = "A-10C Client #1", + ["speed"] = 138.88888888889, ["type"] = "A-10C", - ["unitId"] = 11, + ["country"] = "usa", + ["psi"] = 0.67060113146646, + ["unitName"] = "A-10C Client #1", ["groupName"] = "A-10C Client #1", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -318142.85714286, + ["y"] = 636428.57142857, + ["unitId"] = 11, + ["heading"] = -0.67060113146646, + ["skill"] = "Client", + ["callsign"] = + { + [1] = 3, + [2] = 1, + [3] = 1, + ["name"] = "Uzi11", + }, -- end of ["callsign"] + ["groupId"] = 6, }, -- end of ["A-10C Client #1"] } -- end of humansByName diff --git a/Example DBs/mist_DBs_missionData.lua b/Example DBs/mist_DBs_missionData.lua index 513e817..e9b3a92 100644 --- a/Example DBs/mist_DBs_missionData.lua +++ b/Example DBs/mist_DBs_missionData.lua @@ -3,10 +3,11 @@ missionData = ["version"] = 7, ["files"] = { - [1] = "Briefing-01{225F004F-92E4-4c3e-A5F0-2BA49929055A}.jpg", - [2] = "Thunder2.wav", - [3] = "ExplodeGround0.ogg", - [4] = "Rain.ogg", + [1] = "Thunder2.wav", + [2] = "Briefing-01{225F004F-92E4-4c3e-A5F0-2BA49929055A}.jpg", + [3] = "mist.lua", + [4] = "ExplodeGround0.ogg", + [5] = "Rain.ogg", }, -- end of ["files"] ["startTime"] = 43200, ["theatre"] = "Caucasus", diff --git a/Example DBs/mist_DBs_navPoints.lua b/Example DBs/mist_DBs_navPoints.lua index 6ae0fbd..b9d3db2 100644 --- a/Example DBs/mist_DBs_navPoints.lua +++ b/Example DBs/mist_DBs_navPoints.lua @@ -4,16 +4,10 @@ navPoints = { [1] = { - ["y"] = 670391.42857142, - ["x"] = -260757.14285714, - ["name"] = "DODGE", - ["callsignStr"] = "DODGE", - ["point"] = - { - ["y"] = 0, - ["x"] = -260757.14285714, - ["z"] = 670391.42857142, - }, -- end of ["point"] + ["y"] = 643248.57142856, + ["x"] = -242471.42857143, + ["name"] = "KB1NW", + ["callsignStr"] = "KB1NW", ["properties"] = { ["vnav"] = 1, @@ -22,8 +16,13 @@ navPoints = ["angle"] = 0, ["steer"] = 2, }, -- end of ["properties"] - ["groupId"] = 22, - ["callsign"] = 3, + ["point"] = + { + ["y"] = 0, + ["x"] = -242471.42857143, + ["z"] = 643248.57142856, + }, -- end of ["point"] + ["groupId"] = 25, }, -- end of [1] [2] = { @@ -70,28 +69,6 @@ navPoints = ["groupId"] = 24, }, -- end of [3] [4] = - { - ["y"] = 643248.57142856, - ["x"] = -242471.42857143, - ["name"] = "KB1NW", - ["callsignStr"] = "KB1NW", - ["properties"] = - { - ["vnav"] = 1, - ["scale"] = 0, - ["vangle"] = 0, - ["angle"] = 0, - ["steer"] = 2, - }, -- end of ["properties"] - ["point"] = - { - ["y"] = 0, - ["x"] = -242471.42857143, - ["z"] = 643248.57142856, - }, -- end of ["point"] - ["groupId"] = 25, - }, -- end of [4] - [5] = { ["y"] = 659248.57142856, ["x"] = -243614.28571428, @@ -112,8 +89,8 @@ navPoints = ["z"] = 659248.57142856, }, -- end of ["point"] ["groupId"] = 26, - }, -- end of [5] - [6] = + }, -- end of [4] + [5] = { ["y"] = 625534.28571428, ["x"] = -309328.57142857, @@ -135,6 +112,29 @@ navPoints = }, -- end of ["properties"] ["groupId"] = 27, ["callsign"] = 4, + }, -- end of [5] + [6] = + { + ["y"] = 670391.42857142, + ["x"] = -260757.14285714, + ["name"] = "DODGE", + ["callsignStr"] = "DODGE", + ["point"] = + { + ["y"] = 0, + ["x"] = -260757.14285714, + ["z"] = 670391.42857142, + }, -- end of ["point"] + ["properties"] = + { + ["vnav"] = 1, + ["scale"] = 0, + ["vangle"] = 0, + ["angle"] = 0, + ["steer"] = 2, + }, -- end of ["properties"] + ["groupId"] = 22, + ["callsign"] = 3, }, -- end of [6] }, -- end of ["blue"] ["red"] = diff --git a/Example DBs/mist_DBs_removedAliveUnits.lua b/Example DBs/mist_DBs_removedAliveUnits.lua index cbf3fe1..cb0711b 100644 --- a/Example DBs/mist_DBs_removedAliveUnits.lua +++ b/Example DBs/mist_DBs_removedAliveUnits.lua @@ -1,93 +1,195 @@ removedAliveUnits = { - [16779776] = - { - ["heading"] = -1.7994767003775, - ["point"] = - { - ["y"] = 654545.71428571, - ["x"] = -292842.85714286, - }, -- end of ["point"] - ["groupId"] = 13, - ["country"] = "russia", - ["groupName"] = "RuBTRs", - ["skill"] = "Average", - ["unit"] = - { - ["id_"] = 16779776, - }, -- end of ["unit"] - ["coalition"] = "red", - ["unitId"] = 27, - ["countryId"] = 2, - ["category"] = "vehicle", - ["unitName"] = "RuBTRs1", - ["playerCanDrive"] = true, - ["type"] = "BTR-80", - ["pos"] = - { - ["y"] = 22.492244720459, - ["x"] = -292872.25, - ["z"] = 654419.375, - }, -- end of ["pos"] - }, -- end of [16779776] - [16780032] = - { - ["heading"] = -1.7994767003775, - ["point"] = - { - ["y"] = 654585.71428571, - ["x"] = -292882.85714286, - }, -- end of ["point"] - ["groupId"] = 13, - ["country"] = "russia", - ["groupName"] = "RuBTRs", - ["skill"] = "Average", - ["unit"] = - { - ["id_"] = 16780032, - }, -- end of ["unit"] - ["coalition"] = "red", - ["unitId"] = 28, - ["countryId"] = 2, - ["category"] = "vehicle", - ["unitName"] = "RuBTRs2", - ["playerCanDrive"] = true, - ["type"] = "BTR-80", - ["pos"] = - { - ["y"] = 22.486150741577, - ["x"] = -292864, - ["z"] = 654412.6875, - }, -- end of ["pos"] - }, -- end of [16780032] [16780544] = { - ["heading"] = -1.7994767003775, ["point"] = { ["y"] = 654665.71428571, ["x"] = -292962.85714286, }, -- end of ["point"] - ["groupId"] = 13, - ["country"] = "russia", - ["groupName"] = "RuBTRs", ["skill"] = "Average", ["unit"] = { ["id_"] = 16780544, }, -- end of ["unit"] - ["coalition"] = "red", - ["unitId"] = 30, - ["countryId"] = 2, ["category"] = "vehicle", ["unitName"] = "RuBTRs4", - ["playerCanDrive"] = true, + ["heading"] = -1.7994767003775, + ["unitId"] = 30, + ["groupName"] = "RuBTRs", + ["countryId"] = 2, + ["coalition"] = "red", + ["x"] = -292962.85714286, ["type"] = "BTR-80", + ["groupId"] = 13, + ["country"] = "russia", + ["playerCanDrive"] = true, + ["y"] = 654665.71428571, ["pos"] = { - ["y"] = 22.284147262573, - ["x"] = -292853.5, - ["z"] = 654490.5, + ["y"] = 22.16552734375, + ["x"] = -292846.40625, + ["z"] = 654525.1875, }, -- end of ["pos"] }, -- end of [16780544] + [16779776] = + { + ["point"] = + { + ["y"] = 654545.71428571, + ["x"] = -292842.85714286, + }, -- end of ["point"] + ["skill"] = "Average", + ["unit"] = + { + ["id_"] = 16779776, + }, -- end of ["unit"] + ["category"] = "vehicle", + ["unitName"] = "RuBTRs1", + ["heading"] = -1.7994767003775, + ["unitId"] = 27, + ["groupName"] = "RuBTRs", + ["countryId"] = 2, + ["coalition"] = "red", + ["x"] = -292842.85714286, + ["type"] = "BTR-80", + ["groupId"] = 13, + ["country"] = "russia", + ["playerCanDrive"] = true, + ["y"] = 654545.71428571, + ["pos"] = + { + ["y"] = 22.452924728394, + ["x"] = -292868.96875, + ["z"] = 654433.4375, + }, -- end of ["pos"] + }, -- end of [16779776] + [16780800] = + { + ["point"] = + { + ["y"] = 654705.71428571, + ["x"] = -293002.85714286, + }, -- end of ["point"] + ["skill"] = "Average", + ["unit"] = + { + ["id_"] = 16780800, + }, -- end of ["unit"] + ["category"] = "vehicle", + ["unitName"] = "RuBTRs5", + ["heading"] = -1.7994767003775, + ["unitId"] = 31, + ["groupName"] = "RuBTRs", + ["countryId"] = 2, + ["coalition"] = "red", + ["x"] = -293002.85714286, + ["type"] = "BTR-80", + ["groupId"] = 13, + ["country"] = "russia", + ["playerCanDrive"] = true, + ["y"] = 654705.71428571, + ["pos"] = + { + ["y"] = 22.302053451538, + ["x"] = -292855.65625, + ["z"] = 654485.9375, + }, -- end of ["pos"] + }, -- end of [16780800] + [16780032] = + { + ["point"] = + { + ["y"] = 654585.71428571, + ["x"] = -292882.85714286, + }, -- end of ["point"] + ["skill"] = "Average", + ["unit"] = + { + ["id_"] = 16780032, + }, -- end of ["unit"] + ["category"] = "vehicle", + ["unitName"] = "RuBTRs2", + ["heading"] = -1.7994767003775, + ["unitId"] = 28, + ["groupName"] = "RuBTRs", + ["countryId"] = 2, + ["coalition"] = "red", + ["x"] = -292882.85714286, + ["type"] = "BTR-80", + ["groupId"] = 13, + ["country"] = "russia", + ["playerCanDrive"] = true, + ["y"] = 654585.71428571, + ["pos"] = + { + ["y"] = 22.37452507019, + ["x"] = -292859.8125, + ["z"] = 654458.5, + }, -- end of ["pos"] + }, -- end of [16780032] + [16781056] = + { + ["point"] = + { + ["y"] = 654745.71428571, + ["x"] = -293042.85714286, + }, -- end of ["point"] + ["skill"] = "Average", + ["unit"] = + { + ["id_"] = 16781056, + }, -- end of ["unit"] + ["category"] = "vehicle", + ["unitName"] = "RuBTRs6", + ["heading"] = -1.7994767003775, + ["unitId"] = 32, + ["groupName"] = "RuBTRs", + ["countryId"] = 2, + ["coalition"] = "red", + ["x"] = -293042.85714286, + ["type"] = "BTR-80", + ["groupId"] = 13, + ["country"] = "russia", + ["playerCanDrive"] = true, + ["y"] = 654745.71428571, + ["pos"] = + { + ["y"] = 22.300601959229, + ["x"] = -292858.625, + ["z"] = 654489.5625, + }, -- end of ["pos"] + }, -- end of [16781056] + [16780288] = + { + ["point"] = + { + ["y"] = 654625.71428571, + ["x"] = -292922.85714286, + }, -- end of ["point"] + ["skill"] = "Average", + ["unit"] = + { + ["id_"] = 16780288, + }, -- end of ["unit"] + ["category"] = "vehicle", + ["unitName"] = "RuBTRs3", + ["heading"] = -1.7994767003775, + ["unitId"] = 29, + ["groupName"] = "RuBTRs", + ["countryId"] = 2, + ["coalition"] = "red", + ["x"] = -292922.85714286, + ["type"] = "BTR-80", + ["groupId"] = 13, + ["country"] = "russia", + ["playerCanDrive"] = true, + ["y"] = 654625.71428571, + ["pos"] = + { + ["y"] = 22.343215942383, + ["x"] = -292864.5, + ["z"] = 654478.0625, + }, -- end of ["pos"] + }, -- end of [16780288] } -- end of removedAliveUnits diff --git a/Example DBs/mist_DBs_units.lua b/Example DBs/mist_DBs_units.lua index 71d4e4a..791645e 100644 --- a/Example DBs/mist_DBs_units.lua +++ b/Example DBs/mist_DBs_units.lua @@ -53,64 +53,68 @@ units = { [1] = { - ["countryId"] = 11, - ["groupId"] = 8, - ["coalition"] = "blue", - ["category"] = "ship", ["country"] = "usa", - ["startTime"] = 0, ["groupName"] = "US Ships", ["units"] = { [1] = { - ["heading"] = 0, + ["type"] = "TICONDEROG", ["point"] = { ["y"] = 443857.14285714, ["x"] = -355285.71428571, }, -- end of ["point"] - ["unitId"] = 13, - ["skill"] = "Average", - ["coalition"] = "blue", - ["groupId"] = 8, - ["type"] = "TICONDEROG", - ["category"] = "ship", - ["unitName"] = "US Ship #1", ["country"] = "usa", + ["groupId"] = 8, + ["skill"] = "Average", ["groupName"] = "US Ships", ["countryId"] = 11, + ["x"] = -355285.71428571, + ["heading"] = 0, + ["category"] = "ship", + ["unitName"] = "US Ship #1", + ["unitId"] = 13, + ["coalition"] = "blue", + ["y"] = 443857.14285714, }, -- end of [1] [2] = { - ["heading"] = 0, + ["type"] = "TICONDEROG", ["point"] = { ["y"] = 444657.14285714, ["x"] = -356085.71428571, }, -- end of ["point"] - ["unitId"] = 14, - ["skill"] = "Average", - ["coalition"] = "blue", - ["groupId"] = 8, - ["type"] = "TICONDEROG", - ["category"] = "ship", - ["unitName"] = "US Ship #2", ["country"] = "usa", + ["groupId"] = 8, + ["skill"] = "Average", ["groupName"] = "US Ships", ["countryId"] = 11, + ["x"] = -356085.71428571, + ["heading"] = 0, + ["category"] = "ship", + ["unitName"] = "US Ship #2", + ["unitId"] = 14, + ["coalition"] = "blue", + ["y"] = 444657.14285714, }, -- end of [2] }, -- end of ["units"] + ["coalition"] = "blue", + ["category"] = "ship", + ["groupId"] = 8, + ["startTime"] = 0, + ["countryId"] = 11, }, -- end of [1] }, -- end of ["ship"] ["static"] = { [1] = { + ["coalition"] = "blue", ["countryId"] = 11, ["groupId"] = 15, ["category"] = "static", - ["coalition"] = "blue", ["country"] = "usa", ["groupName"] = "tent1", ["units"] = @@ -118,30 +122,32 @@ units = [1] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 636248.57142857, ["x"] = -300871.42857143, }, -- end of ["point"] - ["country"] = "usa", + ["unitId"] = 37, ["groupId"] = 15, ["groupName"] = "tent1", - ["countryId"] = 11, ["coalition"] = "blue", + ["x"] = -300871.42857143, + ["heading"] = 0, ["category"] = "static", ["unitName"] = "tent1", - ["type"] = "FARP Tent", - ["unitId"] = 37, + ["country"] = "usa", + ["y"] = 636248.57142857, + ["countryId"] = 11, }, -- end of [1] }, -- end of ["units"] }, -- end of [1] [2] = { + ["coalition"] = "blue", ["countryId"] = 11, ["groupId"] = 16, ["category"] = "static", - ["coalition"] = "blue", ["country"] = "usa", ["groupName"] = "tent2", ["units"] = @@ -149,30 +155,32 @@ units = [1] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 638620, ["x"] = -299814.28571429, }, -- end of ["point"] - ["country"] = "usa", + ["unitId"] = 38, ["groupId"] = 16, ["groupName"] = "tent2", - ["countryId"] = 11, ["coalition"] = "blue", + ["x"] = -299814.28571429, + ["heading"] = 0, ["category"] = "static", ["unitName"] = "tent2", - ["type"] = "FARP Tent", - ["unitId"] = 38, + ["country"] = "usa", + ["y"] = 638620, + ["countryId"] = 11, }, -- end of [1] }, -- end of ["units"] }, -- end of [2] [3] = { + ["coalition"] = "blue", ["countryId"] = 11, ["groupId"] = 30, ["category"] = "static", - ["coalition"] = "blue", ["country"] = "usa", ["groupName"] = "static", ["units"] = @@ -180,120 +188,26 @@ units = [1] = { ["shape_name"] = "konteiner_red1", - ["heading"] = 0, + ["type"] = "Container red 1", ["point"] = { ["y"] = 684605.71428571, ["x"] = -279949.99999999, }, -- end of ["point"] - ["country"] = "usa", + ["unitId"] = 44, ["groupId"] = 30, ["groupName"] = "static", - ["countryId"] = 11, ["coalition"] = "blue", + ["x"] = -279949.99999999, + ["heading"] = 0, ["category"] = "static", ["unitName"] = "static", - ["type"] = "Container red 1", - ["unitId"] = 44, + ["country"] = "usa", + ["y"] = 684605.71428571, + ["countryId"] = 11, }, -- end of [1] }, -- end of ["units"] }, -- end of [3] - [4] = - { - ["countryId"] = 2, - ["groupId"] = 7005, - ["name"] = "USA static 7005", - ["country"] = "usa", - ["coalition"] = "blue", - ["startTime"] = 43221.011, - ["category"] = "ship", - ["units"] = - { - [1] = - { - ["alt"] = 69, - ["type"] = "Container red 1", - ["point"] = - { - ["y"] = 690925, - ["x"] = -285115, - }, -- end of ["point"] - ["groupId"] = 7005, - ["groupName"] = "USA static 7005", - ["countryId"] = 2, - ["unitId"] = 7005, - ["category"] = "ship", - ["unitName"] = "USA static 7005", - ["heading"] = 6.1694608363366, - ["country"] = "usa", - ["coalition"] = "blue", - }, -- end of [1] - }, -- end of ["units"] - }, -- end of [4] - [5] = - { - ["countryId"] = 2, - ["groupId"] = 7010, - ["name"] = "USA static 7010", - ["country"] = "usa", - ["coalition"] = "blue", - ["startTime"] = 43223.011, - ["category"] = "ship", - ["units"] = - { - [1] = - { - ["alt"] = 66, - ["type"] = "Container red 1", - ["point"] = - { - ["y"] = 692491, - ["x"] = -287269, - }, -- end of ["point"] - ["groupId"] = 7010, - ["groupName"] = "USA static 7010", - ["countryId"] = 2, - ["unitId"] = 7010, - ["category"] = "ship", - ["unitName"] = "USA static 7010", - ["heading"] = 6.1693154268268, - ["country"] = "usa", - ["coalition"] = "blue", - }, -- end of [1] - }, -- end of ["units"] - }, -- end of [5] - [6] = - { - ["countryId"] = 2, - ["groupId"] = 7015, - ["name"] = "USA static 7015", - ["country"] = "usa", - ["coalition"] = "blue", - ["startTime"] = 43223.011, - ["category"] = "ship", - ["units"] = - { - [1] = - { - ["alt"] = 64, - ["type"] = "Container red 1", - ["point"] = - { - ["y"] = 689768, - ["x"] = -285807, - }, -- end of ["point"] - ["groupId"] = 7015, - ["groupName"] = "USA static 7015", - ["countryId"] = 2, - ["unitId"] = 7015, - ["category"] = "ship", - ["unitName"] = "USA static 7015", - ["heading"] = 6.169648830639, - ["country"] = "usa", - ["coalition"] = "blue", - }, -- end of [1] - }, -- end of ["units"] - }, -- end of [6] }, -- end of ["static"] ["vehicle"] = { @@ -305,91 +219,99 @@ units = { [1] = { - ["heading"] = 0, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 639800, ["x"] = -294685.71428571, }, -- end of ["point"] - ["unitId"] = 19, - ["skill"] = "Average", - ["groupId"] = 11, - ["coalition"] = "blue", - ["type"] = "M-1 Abrams", ["country"] = "usa", + ["groupId"] = 11, + ["groupName"] = "USTanks1", + ["skill"] = "Average", + ["heading"] = 0, + ["countryId"] = 11, + ["x"] = -294685.71428571, + ["unitId"] = 19, ["category"] = "vehicle", ["unitName"] = "USTanks1_1", ["playerCanDrive"] = true, - ["groupName"] = "USTanks1", - ["countryId"] = 11, + ["coalition"] = "blue", + ["y"] = 639800, }, -- end of [1] [2] = { - ["heading"] = 0, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 639840, ["x"] = -294725.71428571, }, -- end of ["point"] - ["unitId"] = 20, - ["skill"] = "Average", - ["groupId"] = 11, - ["coalition"] = "blue", - ["type"] = "M-1 Abrams", ["country"] = "usa", + ["groupId"] = 11, + ["groupName"] = "USTanks1", + ["skill"] = "Average", + ["heading"] = 0, + ["countryId"] = 11, + ["x"] = -294725.71428571, + ["unitId"] = 20, ["category"] = "vehicle", ["unitName"] = "USTanks1_2", ["playerCanDrive"] = true, - ["groupName"] = "USTanks1", - ["countryId"] = 11, + ["coalition"] = "blue", + ["y"] = 639840, }, -- end of [2] [3] = { - ["heading"] = 0, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 639880, ["x"] = -294765.71428571, }, -- end of ["point"] - ["unitId"] = 21, - ["skill"] = "Average", - ["groupId"] = 11, - ["coalition"] = "blue", - ["type"] = "M-1 Abrams", ["country"] = "usa", + ["groupId"] = 11, + ["groupName"] = "USTanks1", + ["skill"] = "Average", + ["heading"] = 0, + ["countryId"] = 11, + ["x"] = -294765.71428571, + ["unitId"] = 21, ["category"] = "vehicle", ["unitName"] = "USTanks1_3", ["playerCanDrive"] = true, - ["groupName"] = "USTanks1", - ["countryId"] = 11, + ["coalition"] = "blue", + ["y"] = 639880, }, -- end of [3] [4] = { - ["heading"] = 0, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 639920, ["x"] = -294805.71428571, }, -- end of ["point"] - ["unitId"] = 22, - ["skill"] = "Average", - ["groupId"] = 11, - ["coalition"] = "blue", - ["type"] = "M-1 Abrams", ["country"] = "usa", + ["groupId"] = 11, + ["groupName"] = "USTanks1", + ["skill"] = "Average", + ["heading"] = 0, + ["countryId"] = 11, + ["x"] = -294805.71428571, + ["unitId"] = 22, ["category"] = "vehicle", ["unitName"] = "USTanks1_4", ["playerCanDrive"] = true, - ["groupName"] = "USTanks1", - ["countryId"] = 11, + ["coalition"] = "blue", + ["y"] = 639920, }, -- end of [4] }, -- end of ["units"] ["countryId"] = 11, + ["country"] = "usa", ["category"] = "vehicle", ["coalition"] = "blue", ["startTime"] = 0, ["task"] = "Ground Nothing", - ["country"] = "usa", }, -- end of [1] [2] = { @@ -399,575 +321,726 @@ units = { [1] = { - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 653171.42857143, ["x"] = -293085.71428571, }, -- end of ["point"] - ["unitId"] = 23, - ["skill"] = "Average", - ["groupId"] = 12, - ["coalition"] = "blue", - ["type"] = "M-1 Abrams", ["country"] = "usa", + ["groupId"] = 12, + ["groupName"] = "USTanks2", + ["skill"] = "Average", + ["heading"] = 1.4977557614926, + ["countryId"] = 11, + ["x"] = -293085.71428571, + ["unitId"] = 23, ["category"] = "vehicle", ["unitName"] = "USTanks2_1", ["playerCanDrive"] = true, - ["groupName"] = "USTanks2", - ["countryId"] = 11, + ["coalition"] = "blue", + ["y"] = 653171.42857143, }, -- end of [1] [2] = { - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 653211.42857143, ["x"] = -293125.71428571, }, -- end of ["point"] - ["unitId"] = 24, - ["skill"] = "Average", - ["groupId"] = 12, - ["coalition"] = "blue", - ["type"] = "M-1 Abrams", ["country"] = "usa", + ["groupId"] = 12, + ["groupName"] = "USTanks2", + ["skill"] = "Average", + ["heading"] = 1.4977557614926, + ["countryId"] = 11, + ["x"] = -293125.71428571, + ["unitId"] = 24, ["category"] = "vehicle", ["unitName"] = "USTanks2_2", ["playerCanDrive"] = true, - ["groupName"] = "USTanks2", - ["countryId"] = 11, + ["coalition"] = "blue", + ["y"] = 653211.42857143, }, -- end of [2] [3] = { - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 653251.42857143, ["x"] = -293165.71428571, }, -- end of ["point"] - ["unitId"] = 25, - ["skill"] = "Average", - ["groupId"] = 12, - ["coalition"] = "blue", - ["type"] = "M-1 Abrams", ["country"] = "usa", + ["groupId"] = 12, + ["groupName"] = "USTanks2", + ["skill"] = "Average", + ["heading"] = 1.4977557614926, + ["countryId"] = 11, + ["x"] = -293165.71428571, + ["unitId"] = 25, ["category"] = "vehicle", ["unitName"] = "USTanks2_3", ["playerCanDrive"] = true, - ["groupName"] = "USTanks2", - ["countryId"] = 11, + ["coalition"] = "blue", + ["y"] = 653251.42857143, }, -- end of [3] [4] = { - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", ["point"] = { ["y"] = 653291.42857143, ["x"] = -293205.71428571, }, -- end of ["point"] - ["unitId"] = 26, - ["skill"] = "Average", - ["groupId"] = 12, - ["coalition"] = "blue", - ["type"] = "M-1 Abrams", ["country"] = "usa", + ["groupId"] = 12, + ["groupName"] = "USTanks2", + ["skill"] = "Average", + ["heading"] = 1.4977557614926, + ["countryId"] = 11, + ["x"] = -293205.71428571, + ["unitId"] = 26, ["category"] = "vehicle", ["unitName"] = "USTanks2_4", ["playerCanDrive"] = true, - ["groupName"] = "USTanks2", - ["countryId"] = 11, + ["coalition"] = "blue", + ["y"] = 653291.42857143, }, -- end of [4] }, -- end of ["units"] ["countryId"] = 11, + ["country"] = "usa", ["category"] = "vehicle", ["coalition"] = "blue", ["startTime"] = 0, ["task"] = "Ground Nothing", - ["country"] = "usa", }, -- end of [2] [3] = { ["country"] = "usa", + ["coalitionId"] = 2, + ["groupName"] = "usa gnd 2", ["units"] = { [1] = { + ["alt"] = 73, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692951.80504833, - ["x"] = -288112.04900582, + ["y"] = 692297, + ["x"] = -283873, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["groupId"] = 7001, + ["coalitionId"] = 2, ["coalition"] = "blue", - ["unitId"] = 7001, - ["heading"] = 1.4977557614926, + ["groupName"] = "usa gnd 2", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -283873, + ["y"] = 692297, ["category"] = "vehicle", ["unitName"] = "usa gnd 2 unit1", - ["groupName"] = "usa gnd 2", - ["countryId"] = 2, - ["groupId"] = 7001, + ["unitId"] = 7001, + ["heading"] = 1.4977603826792, + ["skill"] = "Average", }, -- end of [1] [2] = { + ["alt"] = 73, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692984.63711165, - ["x"] = -288136.26599616, + ["y"] = 692378, + ["x"] = -283913, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["groupId"] = 7001, + ["coalitionId"] = 2, ["coalition"] = "blue", - ["unitId"] = 7002, - ["heading"] = 1.4977557614926, + ["groupName"] = "usa gnd 2", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -283913, + ["y"] = 692378, ["category"] = "vehicle", ["unitName"] = "usa gnd 2 unit2", - ["groupName"] = "usa gnd 2", - ["countryId"] = 2, - ["groupId"] = 7001, + ["unitId"] = 7002, + ["heading"] = 1.4977610327793, + ["skill"] = "Average", }, -- end of [2] [3] = { + ["alt"] = 72, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692996.24632438, - ["x"] = -288123.02974075, + ["y"] = 692136, + ["x"] = -283991, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["groupId"] = 7001, + ["coalitionId"] = 2, ["coalition"] = "blue", - ["unitId"] = 7003, - ["heading"] = 1.4977557614926, + ["groupName"] = "usa gnd 2", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -283991, + ["y"] = 692136, ["category"] = "vehicle", ["unitName"] = "usa gnd 2 unit3", - ["groupName"] = "usa gnd 2", - ["countryId"] = 2, - ["groupId"] = 7001, + ["unitId"] = 7003, + ["heading"] = 1.4977579653353, + ["skill"] = "Average", }, -- end of [3] [4] = { + ["alt"] = 73, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692886.94679558, - ["x"] = -287976.47272972, + ["y"] = 692340, + ["x"] = -283878, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["groupId"] = 7001, + ["coalitionId"] = 2, ["coalition"] = "blue", - ["unitId"] = 7004, - ["heading"] = 1.4977557614926, + ["groupName"] = "usa gnd 2", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -283878, + ["y"] = 692340, ["category"] = "vehicle", ["unitName"] = "usa gnd 2 unit4", - ["groupName"] = "usa gnd 2", - ["countryId"] = 2, - ["groupId"] = 7001, + ["unitId"] = 7004, + ["heading"] = 1.4977603826792, + ["skill"] = "Average", }, -- end of [4] }, -- end of ["units"] ["countryId"] = 2, ["name"] = "usa gnd 2", + ["timeAdded"] = 43221.091, ["category"] = "vehicle", - ["groupId"] = 7001, - ["startTime"] = 43221.011, - ["task"] = "Ground Nothing", ["coalition"] = "blue", + ["startTime"] = 43221.091, + ["task"] = "Ground Nothing", + ["groupId"] = 7001, }, -- end of [3] [4] = { ["country"] = "usa", + ["coalitionId"] = 2, + ["groupName"] = "usa gnd 4", ["units"] = { [1] = { + ["alt"] = 68, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692301.85580476, - ["x"] = -283925.5171695, + ["y"] = 690998, + ["x"] = -285539, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", - ["coalition"] = "blue", - ["unitId"] = 7006, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 3 unit1", - ["groupName"] = "usa gnd 3", - ["countryId"] = 2, ["groupId"] = 7003, - }, -- end of [1] - [2] = - { - ["type"] = "M-1 Abrams", - ["point"] = - { - ["y"] = 692374.68565784, - ["x"] = -283846.9396746, - }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["coalitionId"] = 2, ["coalition"] = "blue", - ["unitId"] = 7007, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 3 unit2", - ["groupName"] = "usa gnd 3", + ["groupName"] = "usa gnd 4", + ["country"] = "usa", ["countryId"] = 2, - ["groupId"] = 7003, - }, -- end of [2] - [3] = - { - ["type"] = "M-1 Abrams", - ["point"] = - { - ["y"] = 692416.6568865, - ["x"] = -284022.73058924, - }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", - ["coalition"] = "blue", - ["unitId"] = 7008, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 3 unit3", - ["groupName"] = "usa gnd 3", - ["countryId"] = 2, - ["groupId"] = 7003, - }, -- end of [3] - [4] = - { - ["type"] = "M-1 Abrams", - ["point"] = - { - ["y"] = 692423.17192305, - ["x"] = -283793.86944615, - }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", - ["coalition"] = "blue", - ["unitId"] = 7009, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 3 unit4", - ["groupName"] = "usa gnd 3", - ["countryId"] = 2, - ["groupId"] = 7003, - }, -- end of [4] - }, -- end of ["units"] - ["countryId"] = 2, - ["name"] = "usa gnd 3", - ["category"] = "vehicle", - ["groupId"] = 7003, - ["startTime"] = 43223.011, - ["task"] = "Ground Nothing", - ["coalition"] = "blue", - }, -- end of [4] - [5] = - { - ["country"] = "usa", - ["units"] = - { - [1] = - { - ["type"] = "M-1 Abrams", - ["point"] = - { - ["y"] = 690345.01202023, - ["x"] = -286996.80803754, - }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", - ["coalition"] = "blue", - ["unitId"] = 7011, - ["heading"] = 1.4977557614926, + ["x"] = -285539, + ["y"] = 690998, ["category"] = "vehicle", ["unitName"] = "usa gnd 4 unit1", - ["groupName"] = "usa gnd 4", - ["countryId"] = 2, - ["groupId"] = 7005, + ["unitId"] = 7006, + ["heading"] = 1.4977591325037, + ["skill"] = "Average", }, -- end of [1] [2] = { + ["alt"] = 68, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 690495.78308897, - ["x"] = -287119.30705856, + ["y"] = 690984, + ["x"] = -285610, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["groupId"] = 7003, + ["coalitionId"] = 2, ["coalition"] = "blue", - ["unitId"] = 7012, - ["heading"] = 1.4977557614926, + ["groupName"] = "usa gnd 4", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -285610, + ["y"] = 690984, ["category"] = "vehicle", ["unitName"] = "usa gnd 4 unit2", - ["groupName"] = "usa gnd 4", - ["countryId"] = 2, - ["groupId"] = 7005, + ["unitId"] = 7007, + ["heading"] = 1.4977589159233, + ["skill"] = "Average", }, -- end of [2] [3] = { + ["alt"] = 68, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 690419.49528366, - ["x"] = -287149.74499211, + ["y"] = 690825, + ["x"] = -285472, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["groupId"] = 7003, + ["coalitionId"] = 2, ["coalition"] = "blue", - ["unitId"] = 7013, - ["heading"] = 1.4977557614926, + ["groupName"] = "usa gnd 4", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -285472, + ["y"] = 690825, ["category"] = "vehicle", ["unitName"] = "usa gnd 4 unit3", - ["groupName"] = "usa gnd 4", - ["countryId"] = 2, - ["groupId"] = 7005, + ["unitId"] = 7008, + ["heading"] = 1.4977598003676, + ["skill"] = "Average", }, -- end of [3] [4] = { + ["alt"] = 68, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 690430.82466041, - ["x"] = -287068.46280196, + ["y"] = 690920, + ["x"] = -285485, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["groupId"] = 7003, + ["coalitionId"] = 2, ["coalition"] = "blue", - ["unitId"] = 7014, - ["heading"] = 1.4977557614926, + ["groupName"] = "usa gnd 4", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -285485, + ["y"] = 690920, ["category"] = "vehicle", ["unitName"] = "usa gnd 4 unit4", - ["groupName"] = "usa gnd 4", - ["countryId"] = 2, - ["groupId"] = 7005, + ["unitId"] = 7009, + ["heading"] = 1.4977598003676, + ["skill"] = "Average", }, -- end of [4] }, -- end of ["units"] ["countryId"] = 2, ["name"] = "usa gnd 4", + ["timeAdded"] = 43222.091, ["category"] = "vehicle", - ["groupId"] = 7005, - ["startTime"] = 43223.011, - ["task"] = "Ground Nothing", ["coalition"] = "blue", + ["startTime"] = 43222.091, + ["task"] = "Ground Nothing", + ["groupId"] = 7003, + }, -- end of [4] + [5] = + { + ["country"] = "usa", + ["coalitionId"] = 2, + ["groupName"] = "usa gnd 6", + ["units"] = + { + [1] = + { + ["alt"] = 65, + ["type"] = "M-1 Abrams", + ["point"] = + { + ["y"] = 692970, + ["x"] = -288880, + }, -- end of ["point"] + ["groupId"] = 7005, + ["coalitionId"] = 2, + ["coalition"] = "blue", + ["groupName"] = "usa gnd 6", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -288880, + ["y"] = 692970, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 6 unit1", + ["unitId"] = 7011, + ["heading"] = 1.4977545807326, + ["skill"] = "Average", + }, -- end of [1] + [2] = + { + ["alt"] = 65, + ["type"] = "M-1 Abrams", + ["point"] = + { + ["y"] = 693075, + ["x"] = -288920, + }, -- end of ["point"] + ["groupId"] = 7005, + ["coalitionId"] = 2, + ["coalition"] = "blue", + ["groupName"] = "usa gnd 6", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -288920, + ["y"] = 693075, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 6 unit2", + ["unitId"] = 7012, + ["heading"] = 1.4977545807326, + ["skill"] = "Average", + }, -- end of [2] + [3] = + { + ["alt"] = 65, + ["type"] = "M-1 Abrams", + ["point"] = + { + ["y"] = 692855, + ["x"] = -288930, + }, -- end of ["point"] + ["groupId"] = 7005, + ["coalitionId"] = 2, + ["coalition"] = "blue", + ["groupName"] = "usa gnd 6", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -288930, + ["y"] = 692855, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 6 unit3", + ["unitId"] = 7013, + ["heading"] = 1.4977545807326, + ["skill"] = "Average", + }, -- end of [3] + [4] = + { + ["alt"] = 65, + ["type"] = "M-1 Abrams", + ["point"] = + { + ["y"] = 693055, + ["x"] = -288765, + }, -- end of ["point"] + ["groupId"] = 7005, + ["coalitionId"] = 2, + ["coalition"] = "blue", + ["groupName"] = "usa gnd 6", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -288765, + ["y"] = 693055, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 6 unit4", + ["unitId"] = 7014, + ["heading"] = 1.4977545807326, + ["skill"] = "Average", + }, -- end of [4] + }, -- end of ["units"] + ["countryId"] = 2, + ["name"] = "usa gnd 6", + ["timeAdded"] = 43223.091, + ["category"] = "vehicle", + ["coalition"] = "blue", + ["startTime"] = 43223.091, + ["task"] = "Ground Nothing", + ["groupId"] = 7005, }, -- end of [5] }, -- end of ["vehicle"] ["plane"] = { [1] = { + ["modulation"] = 0, ["groupId"] = 4, + ["frequency"] = 124, ["groupName"] = "F-15C Client #1", ["units"] = { [1] = { ["alt"] = 2000, - ["heading"] = -0.57883789069348, ["point"] = { ["y"] = 662142.85714286, ["x"] = -288142.85714286, }, -- end of ["point"] - ["unitId"] = 8, - ["groupId"] = 4, + ["alt_type"] = "BARO", ["livery_id"] = "19th Fighter SQN (AK)", ["skill"] = "Client", - ["groupName"] = "F-15C Client #1", - ["coalition"] = "blue", + ["category"] = "plane", + ["speed"] = 138.88888888889, ["type"] = "F-15C", ["country"] = "usa", - ["category"] = "plane", - ["unitName"] = "F-15C Client #1", - ["speed"] = 138.88888888889, + ["psi"] = 0.57883789069348, + ["groupId"] = 4, + ["groupName"] = "F-15C Client #1", + ["onboard_num"] = "10", ["countryId"] = 11, - ["alt_type"] = "BARO", + ["x"] = -288142.85714286, + ["callsign"] = + { + [1] = 2, + [2] = 1, + ["name"] = "Springfield11", + [3] = 1, + }, -- end of ["callsign"] + ["heading"] = -0.57883789069348, + ["unitId"] = 8, + ["y"] = 662142.85714286, + ["coalition"] = "blue", + ["unitName"] = "F-15C Client #1", }, -- end of [1] }, -- end of ["units"] ["countryId"] = 11, + ["radioSet"] = false, + ["country"] = "usa", ["category"] = "plane", ["coalition"] = "blue", ["startTime"] = 0, ["task"] = "CAP", - ["country"] = "usa", + ["uncontrolled"] = false, }, -- end of [1] [2] = { + ["modulation"] = 0, ["groupId"] = 5, + ["frequency"] = 124, ["groupName"] = "F-15C Client #2", ["units"] = { [1] = { ["alt"] = 2000, - ["heading"] = -0.57883789069348, ["point"] = { ["y"] = 668428.57142857, ["x"] = -287000, }, -- end of ["point"] - ["unitId"] = 10, - ["groupId"] = 5, + ["alt_type"] = "BARO", ["livery_id"] = "19th Fighter SQN (AK)", ["skill"] = "Client", - ["groupName"] = "F-15C Client #2", - ["coalition"] = "blue", + ["category"] = "plane", + ["speed"] = 138.88888888889, ["type"] = "F-15C", ["country"] = "usa", - ["category"] = "plane", - ["unitName"] = "F-15C Client #2", - ["speed"] = 138.88888888889, + ["psi"] = 0.57883789069348, + ["groupId"] = 5, + ["groupName"] = "F-15C Client #2", + ["onboard_num"] = "10", ["countryId"] = 11, - ["alt_type"] = "BARO", + ["x"] = -287000, + ["callsign"] = + { + [1] = 2, + [2] = 1, + ["name"] = "Springfield11", + [3] = 1, + }, -- end of ["callsign"] + ["heading"] = -0.57883789069348, + ["unitId"] = 10, + ["y"] = 668428.57142857, + ["coalition"] = "blue", + ["unitName"] = "F-15C Client #2", }, -- end of [1] }, -- end of ["units"] ["countryId"] = 11, + ["radioSet"] = false, + ["country"] = "usa", ["category"] = "plane", ["coalition"] = "blue", ["startTime"] = 0, ["task"] = "CAP", - ["country"] = "usa", + ["uncontrolled"] = false, }, -- end of [2] [3] = { + ["modulation"] = 0, ["groupId"] = 6, + ["frequency"] = 251, ["groupName"] = "A-10C Client #1", ["units"] = { [1] = { ["alt"] = 2000, - ["heading"] = -0.67060113146646, ["point"] = { ["y"] = 636428.57142857, ["x"] = -318142.85714286, }, -- end of ["point"] - ["unitId"] = 11, - ["groupId"] = 6, + ["alt_type"] = "BARO", ["livery_id"] = "104th FS Maryland ANG, Baltimore (MD)", ["skill"] = "Client", - ["groupName"] = "A-10C Client #1", - ["coalition"] = "blue", + ["category"] = "plane", + ["speed"] = 138.88888888889, ["type"] = "A-10C", ["country"] = "usa", - ["category"] = "plane", - ["unitName"] = "A-10C Client #1", - ["speed"] = 138.88888888889, + ["psi"] = 0.67060113146646, + ["groupId"] = 6, + ["groupName"] = "A-10C Client #1", + ["onboard_num"] = "52", ["countryId"] = 11, - ["alt_type"] = "BARO", + ["x"] = -318142.85714286, + ["callsign"] = + { + [1] = 3, + [2] = 1, + ["name"] = "Uzi11", + [3] = 1, + }, -- end of ["callsign"] + ["heading"] = -0.67060113146646, + ["unitId"] = 11, + ["y"] = 636428.57142857, + ["coalition"] = "blue", + ["unitName"] = "A-10C Client #1", }, -- end of [1] }, -- end of ["units"] ["countryId"] = 11, + ["radioSet"] = false, + ["country"] = "usa", ["category"] = "plane", ["coalition"] = "blue", ["startTime"] = 0, ["task"] = "CAS", - ["country"] = "usa", + ["uncontrolled"] = false, }, -- end of [3] [4] = { + ["modulation"] = 0, ["groupId"] = 7, + ["frequency"] = 251, ["groupName"] = "A-10C Client #2", ["units"] = { [1] = { ["alt"] = 2000, - ["heading"] = -0.66079849060746, ["point"] = { ["y"] = 644428.57142857, ["x"] = -315857.14285714, }, -- end of ["point"] - ["unitId"] = 12, - ["groupId"] = 7, + ["alt_type"] = "BARO", ["livery_id"] = "104th FS Maryland ANG, Baltimore (MD)", ["skill"] = "Client", - ["groupName"] = "A-10C Client #2", - ["coalition"] = "blue", + ["category"] = "plane", + ["speed"] = 138.88888888889, ["type"] = "A-10C", ["country"] = "usa", - ["category"] = "plane", - ["unitName"] = "A-10C Client #2", - ["speed"] = 138.88888888889, + ["psi"] = 0.66079849060746, + ["groupId"] = 7, + ["groupName"] = "A-10C Client #2", + ["onboard_num"] = "52", ["countryId"] = 11, - ["alt_type"] = "BARO", + ["x"] = -315857.14285714, + ["callsign"] = + { + [1] = 3, + [2] = 1, + ["name"] = "Uzi11", + [3] = 1, + }, -- end of ["callsign"] + ["heading"] = -0.66079849060746, + ["unitId"] = 12, + ["y"] = 644428.57142857, + ["coalition"] = "blue", + ["unitName"] = "A-10C Client #2", }, -- end of [1] }, -- end of ["units"] ["countryId"] = 11, + ["radioSet"] = false, + ["country"] = "usa", ["category"] = "plane", ["coalition"] = "blue", ["startTime"] = 0, ["task"] = "CAS", - ["country"] = "usa", + ["uncontrolled"] = false, }, -- end of [4] }, -- end of ["plane"] ["helicopter"] = { [1] = { + ["modulation"] = 0, ["groupId"] = 1, + ["frequency"] = 127.5, ["groupName"] = "AH-1s_1", ["units"] = { [1] = { ["alt"] = 500, - ["heading"] = 0.017389551289373, ["point"] = { ["y"] = 631857.14285714, ["x"] = -297857.14285714, }, -- end of ["point"] - ["unitId"] = 1, - ["groupId"] = 1, + ["alt_type"] = "BARO", ["livery_id"] = "standard", ["skill"] = "High", - ["groupName"] = "AH-1s_1", - ["coalition"] = "blue", + ["category"] = "helicopter", + ["speed"] = 55.555555555556, ["type"] = "AH-1W", ["country"] = "usa", - ["category"] = "helicopter", - ["unitName"] = "AH-1s_1_1", - ["speed"] = 55.555555555556, + ["psi"] = -0.017389551289373, + ["groupId"] = 1, + ["groupName"] = "AH-1s_1", + ["onboard_num"] = "50", ["countryId"] = 11, - ["alt_type"] = "BARO", + ["x"] = -297857.14285714, + ["callsign"] = + { + [1] = 1, + [2] = 1, + ["name"] = "Enfield11", + [3] = 1, + }, -- end of ["callsign"] + ["heading"] = 0.017389551289373, + ["unitId"] = 1, + ["y"] = 631857.14285714, + ["coalition"] = "blue", + ["unitName"] = "AH-1s_1_1", }, -- end of [1] [2] = { ["alt"] = 500, - ["heading"] = 0.017389551289373, ["point"] = { ["y"] = 631897.14285714, ["x"] = -297897.14285714, }, -- end of ["point"] - ["unitId"] = 2, - ["groupId"] = 1, + ["alt_type"] = "BARO", ["livery_id"] = "standard", ["skill"] = "High", - ["groupName"] = "AH-1s_1", - ["coalition"] = "blue", + ["category"] = "helicopter", + ["speed"] = 55.555555555556, ["type"] = "AH-1W", ["country"] = "usa", - ["category"] = "helicopter", - ["unitName"] = "AH-1s_1_2", - ["speed"] = 55.555555555556, + ["psi"] = -0.017389551289373, + ["groupId"] = 1, + ["groupName"] = "AH-1s_1", + ["onboard_num"] = "51", ["countryId"] = 11, - ["alt_type"] = "BARO", + ["x"] = -297897.14285714, + ["callsign"] = + { + [1] = 1, + [2] = 1, + ["name"] = "Enfield12", + [3] = 2, + }, -- end of ["callsign"] + ["heading"] = 0.017389551289373, + ["unitId"] = 2, + ["y"] = 631897.14285714, + ["coalition"] = "blue", + ["unitName"] = "AH-1s_1_2", }, -- end of [2] }, -- end of ["units"] ["countryId"] = 11, + ["radioSet"] = false, + ["country"] = "usa", ["category"] = "helicopter", ["coalition"] = "blue", ["startTime"] = 0, ["task"] = "CAS", - ["country"] = "usa", + ["uncontrolled"] = false, }, -- end of [1] }, -- end of ["helicopter"] }, -- end of ["usa"] @@ -993,145 +1066,155 @@ units = { [1] = { - ["countryId"] = 2, - ["groupId"] = 9, - ["coalition"] = "red", - ["category"] = "ship", ["country"] = "russia", - ["startTime"] = 0, ["groupName"] = "Rus Ships #1", ["units"] = { [1] = { - ["heading"] = 0, + ["type"] = "MOSCOW", ["point"] = { ["y"] = 200000, ["x"] = -34285.714285714, }, -- end of ["point"] - ["unitId"] = 15, - ["skill"] = "Average", - ["coalition"] = "red", - ["groupId"] = 9, - ["type"] = "MOSCOW", - ["category"] = "ship", - ["unitName"] = "1ship1", ["country"] = "russia", + ["groupId"] = 9, + ["skill"] = "Average", ["groupName"] = "Rus Ships #1", ["countryId"] = 2, + ["x"] = -34285.714285714, + ["heading"] = 0, + ["category"] = "ship", + ["unitName"] = "1ship1", + ["unitId"] = 15, + ["coalition"] = "red", + ["y"] = 200000, }, -- end of [1] [2] = { - ["heading"] = 0, + ["type"] = "MOSCOW", ["point"] = { ["y"] = 200800, ["x"] = -35085.714285714, }, -- end of ["point"] - ["unitId"] = 16, - ["skill"] = "Average", - ["coalition"] = "red", - ["groupId"] = 9, - ["type"] = "MOSCOW", - ["category"] = "ship", - ["unitName"] = "1ship2", ["country"] = "russia", + ["groupId"] = 9, + ["skill"] = "Average", ["groupName"] = "Rus Ships #1", ["countryId"] = 2, + ["x"] = -35085.714285714, + ["heading"] = 0, + ["category"] = "ship", + ["unitName"] = "1ship2", + ["unitId"] = 16, + ["coalition"] = "red", + ["y"] = 200800, }, -- end of [2] }, -- end of ["units"] + ["coalition"] = "red", + ["category"] = "ship", + ["groupId"] = 9, + ["startTime"] = 0, + ["countryId"] = 2, }, -- end of [1] [2] = { - ["countryId"] = 2, - ["groupId"] = 10, - ["coalition"] = "red", - ["category"] = "ship", ["country"] = "russia", - ["startTime"] = 0, ["groupName"] = "Rus Ships #2", ["units"] = { [1] = { - ["heading"] = 1.1755995276042, + ["type"] = "MOSCOW", ["point"] = { ["y"] = 73571.428571428, ["x"] = -86428.571428571, }, -- end of ["point"] - ["unitId"] = 17, - ["skill"] = "Average", - ["coalition"] = "red", - ["groupId"] = 10, - ["type"] = "MOSCOW", - ["category"] = "ship", - ["unitName"] = "2ship1", ["country"] = "russia", + ["groupId"] = 10, + ["skill"] = "Average", ["groupName"] = "Rus Ships #2", ["countryId"] = 2, + ["x"] = -86428.571428571, + ["heading"] = 1.1755995276042, + ["category"] = "ship", + ["unitName"] = "2ship1", + ["unitId"] = 17, + ["coalition"] = "red", + ["y"] = 73571.428571428, }, -- end of [1] [2] = { - ["heading"] = 1.1755995276042, + ["type"] = "MOSCOW", ["point"] = { ["y"] = 74371.428571428, ["x"] = -87228.571428571, }, -- end of ["point"] - ["unitId"] = 18, - ["skill"] = "Average", - ["coalition"] = "red", - ["groupId"] = 10, - ["type"] = "MOSCOW", - ["category"] = "ship", - ["unitName"] = "2ship2", ["country"] = "russia", + ["groupId"] = 10, + ["skill"] = "Average", ["groupName"] = "Rus Ships #2", ["countryId"] = 2, + ["x"] = -87228.571428571, + ["heading"] = 1.1755995276042, + ["category"] = "ship", + ["unitName"] = "2ship2", + ["unitId"] = 18, + ["coalition"] = "red", + ["y"] = 74371.428571428, }, -- end of [2] }, -- end of ["units"] + ["coalition"] = "red", + ["category"] = "ship", + ["groupId"] = 10, + ["startTime"] = 0, + ["countryId"] = 2, }, -- end of [2] }, -- end of ["ship"] ["static"] = { [1] = { + ["coalition"] = "red", ["countryId"] = 2, ["groupId"] = 17, ["category"] = "static", - ["coalition"] = "red", ["country"] = "russia", ["groupName"] = "RU Farp", ["units"] = { [1] = { - ["heading"] = 0, + ["type"] = "FARP", ["point"] = { ["y"] = 617591.42857143, ["x"] = -258442.85714286, }, -- end of ["point"] - ["country"] = "russia", + ["unitId"] = 39, ["groupId"] = 17, ["groupName"] = "RU Farp", - ["countryId"] = 2, ["coalition"] = "red", + ["x"] = -258442.85714286, + ["heading"] = 0, ["category"] = "static", ["unitName"] = "RU Farp", - ["type"] = "FARP", - ["unitId"] = 39, + ["country"] = "russia", + ["y"] = 617591.42857143, + ["countryId"] = 2, }, -- end of [1] }, -- end of ["units"] }, -- end of [1] [2] = { + ["coalition"] = "red", ["countryId"] = 2, ["groupId"] = 18, ["category"] = "static", - ["coalition"] = "red", ["country"] = "russia", ["groupName"] = "RuTent1", ["units"] = @@ -1139,30 +1222,32 @@ units = [1] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 617962.85714285, ["x"] = -258642.85714286, }, -- end of ["point"] - ["country"] = "russia", + ["unitId"] = 40, ["groupId"] = 18, ["groupName"] = "RuTent1", - ["countryId"] = 2, ["coalition"] = "red", + ["x"] = -258642.85714286, + ["heading"] = 0, ["category"] = "static", ["unitName"] = "RuTent1", - ["type"] = "FARP Tent", - ["unitId"] = 40, + ["country"] = "russia", + ["y"] = 617962.85714285, + ["countryId"] = 2, }, -- end of [1] }, -- end of ["units"] }, -- end of [2] [3] = { + ["coalition"] = "red", ["countryId"] = 2, ["groupId"] = 19, ["category"] = "static", - ["coalition"] = "red", ["country"] = "russia", ["groupName"] = "RuTent2", ["units"] = @@ -1170,21 +1255,23 @@ units = [1] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 617691.42857143, ["x"] = -259071.42857143, }, -- end of ["point"] - ["country"] = "russia", + ["unitId"] = 41, ["groupId"] = 19, ["groupName"] = "RuTent2", - ["countryId"] = 2, ["coalition"] = "red", + ["x"] = -259071.42857143, + ["heading"] = 0, ["category"] = "static", ["unitName"] = "RuTent2", - ["type"] = "FARP Tent", - ["unitId"] = 41, + ["country"] = "russia", + ["y"] = 617691.42857143, + ["countryId"] = 2, }, -- end of [1] }, -- end of ["units"] }, -- end of [3] @@ -1199,131 +1286,143 @@ units = { [1] = { - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", ["point"] = { ["y"] = 654545.71428571, ["x"] = -292842.85714286, }, -- end of ["point"] - ["unitId"] = 27, - ["skill"] = "Average", - ["groupId"] = 13, - ["coalition"] = "red", - ["type"] = "BTR-80", ["country"] = "russia", + ["groupId"] = 13, + ["groupName"] = "RuBTRs", + ["skill"] = "Average", + ["heading"] = -1.7994767003775, + ["countryId"] = 2, + ["x"] = -292842.85714286, + ["unitId"] = 27, ["category"] = "vehicle", ["unitName"] = "RuBTRs1", ["playerCanDrive"] = true, - ["groupName"] = "RuBTRs", - ["countryId"] = 2, + ["coalition"] = "red", + ["y"] = 654545.71428571, }, -- end of [1] [2] = { - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", ["point"] = { ["y"] = 654585.71428571, ["x"] = -292882.85714286, }, -- end of ["point"] - ["unitId"] = 28, - ["skill"] = "Average", - ["groupId"] = 13, - ["coalition"] = "red", - ["type"] = "BTR-80", ["country"] = "russia", + ["groupId"] = 13, + ["groupName"] = "RuBTRs", + ["skill"] = "Average", + ["heading"] = -1.7994767003775, + ["countryId"] = 2, + ["x"] = -292882.85714286, + ["unitId"] = 28, ["category"] = "vehicle", ["unitName"] = "RuBTRs2", ["playerCanDrive"] = true, - ["groupName"] = "RuBTRs", - ["countryId"] = 2, + ["coalition"] = "red", + ["y"] = 654585.71428571, }, -- end of [2] [3] = { - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", ["point"] = { ["y"] = 654625.71428571, ["x"] = -292922.85714286, }, -- end of ["point"] - ["unitId"] = 29, - ["skill"] = "Average", - ["groupId"] = 13, - ["coalition"] = "red", - ["type"] = "BTR-80", ["country"] = "russia", + ["groupId"] = 13, + ["groupName"] = "RuBTRs", + ["skill"] = "Average", + ["heading"] = -1.7994767003775, + ["countryId"] = 2, + ["x"] = -292922.85714286, + ["unitId"] = 29, ["category"] = "vehicle", ["unitName"] = "RuBTRs3", ["playerCanDrive"] = true, - ["groupName"] = "RuBTRs", - ["countryId"] = 2, + ["coalition"] = "red", + ["y"] = 654625.71428571, }, -- end of [3] [4] = { - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", ["point"] = { ["y"] = 654665.71428571, ["x"] = -292962.85714286, }, -- end of ["point"] - ["unitId"] = 30, - ["skill"] = "Average", - ["groupId"] = 13, - ["coalition"] = "red", - ["type"] = "BTR-80", ["country"] = "russia", + ["groupId"] = 13, + ["groupName"] = "RuBTRs", + ["skill"] = "Average", + ["heading"] = -1.7994767003775, + ["countryId"] = 2, + ["x"] = -292962.85714286, + ["unitId"] = 30, ["category"] = "vehicle", ["unitName"] = "RuBTRs4", ["playerCanDrive"] = true, - ["groupName"] = "RuBTRs", - ["countryId"] = 2, + ["coalition"] = "red", + ["y"] = 654665.71428571, }, -- end of [4] [5] = { - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", ["point"] = { ["y"] = 654705.71428571, ["x"] = -293002.85714286, }, -- end of ["point"] - ["unitId"] = 31, - ["skill"] = "Average", - ["groupId"] = 13, - ["coalition"] = "red", - ["type"] = "BTR-80", ["country"] = "russia", + ["groupId"] = 13, + ["groupName"] = "RuBTRs", + ["skill"] = "Average", + ["heading"] = -1.7994767003775, + ["countryId"] = 2, + ["x"] = -293002.85714286, + ["unitId"] = 31, ["category"] = "vehicle", ["unitName"] = "RuBTRs5", ["playerCanDrive"] = true, - ["groupName"] = "RuBTRs", - ["countryId"] = 2, + ["coalition"] = "red", + ["y"] = 654705.71428571, }, -- end of [5] [6] = { - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", ["point"] = { ["y"] = 654745.71428571, ["x"] = -293042.85714286, }, -- end of ["point"] - ["unitId"] = 32, - ["skill"] = "Average", - ["groupId"] = 13, - ["coalition"] = "red", - ["type"] = "BTR-80", ["country"] = "russia", + ["groupId"] = 13, + ["groupName"] = "RuBTRs", + ["skill"] = "Average", + ["heading"] = -1.7994767003775, + ["countryId"] = 2, + ["x"] = -293042.85714286, + ["unitId"] = 32, ["category"] = "vehicle", ["unitName"] = "RuBTRs6", ["playerCanDrive"] = true, - ["groupName"] = "RuBTRs", - ["countryId"] = 2, + ["coalition"] = "red", + ["y"] = 654745.71428571, }, -- end of [6] }, -- end of ["units"] ["countryId"] = 2, + ["country"] = "russia", ["category"] = "vehicle", ["coalition"] = "red", ["startTime"] = 0, ["task"] = "Ground Nothing", - ["country"] = "russia", }, -- end of [1] [2] = { @@ -1333,291 +1432,345 @@ units = { [1] = { - ["heading"] = 0, + ["type"] = "T-55", ["point"] = { ["y"] = 628677.14285714, ["x"] = -273442.85714286, }, -- end of ["point"] - ["unitId"] = 33, - ["skill"] = "Excellent", - ["groupId"] = 14, - ["coalition"] = "red", - ["type"] = "T-55", ["country"] = "russia", + ["groupId"] = 14, + ["groupName"] = "RuTanks", + ["skill"] = "Excellent", + ["heading"] = 0, + ["countryId"] = 2, + ["x"] = -273442.85714286, + ["unitId"] = 33, ["category"] = "vehicle", ["unitName"] = "RuTanks1", ["playerCanDrive"] = true, - ["groupName"] = "RuTanks", - ["countryId"] = 2, + ["coalition"] = "red", + ["y"] = 628677.14285714, }, -- end of [1] [2] = { - ["heading"] = 0, + ["type"] = "T-55", ["point"] = { ["y"] = 628717.14285714, ["x"] = -273482.85714286, }, -- end of ["point"] - ["unitId"] = 34, - ["skill"] = "Excellent", - ["groupId"] = 14, - ["coalition"] = "red", - ["type"] = "T-55", ["country"] = "russia", + ["groupId"] = 14, + ["groupName"] = "RuTanks", + ["skill"] = "Excellent", + ["heading"] = 0, + ["countryId"] = 2, + ["x"] = -273482.85714286, + ["unitId"] = 34, ["category"] = "vehicle", ["unitName"] = "RuTanks2", ["playerCanDrive"] = true, - ["groupName"] = "RuTanks", - ["countryId"] = 2, + ["coalition"] = "red", + ["y"] = 628717.14285714, }, -- end of [2] [3] = { - ["heading"] = 0, + ["type"] = "T-55", ["point"] = { ["y"] = 628757.14285714, ["x"] = -273522.85714286, }, -- end of ["point"] - ["unitId"] = 35, - ["skill"] = "Excellent", - ["groupId"] = 14, - ["coalition"] = "red", - ["type"] = "T-55", ["country"] = "russia", + ["groupId"] = 14, + ["groupName"] = "RuTanks", + ["skill"] = "Excellent", + ["heading"] = 0, + ["countryId"] = 2, + ["x"] = -273522.85714286, + ["unitId"] = 35, ["category"] = "vehicle", ["unitName"] = "RuTanks3", ["playerCanDrive"] = true, - ["groupName"] = "RuTanks", - ["countryId"] = 2, + ["coalition"] = "red", + ["y"] = 628757.14285714, }, -- end of [3] [4] = { - ["heading"] = 0, + ["type"] = "T-55", ["point"] = { ["y"] = 628797.14285714, ["x"] = -273562.85714286, }, -- end of ["point"] - ["unitId"] = 36, - ["skill"] = "Excellent", - ["groupId"] = 14, - ["coalition"] = "red", - ["type"] = "T-55", ["country"] = "russia", + ["groupId"] = 14, + ["groupName"] = "RuTanks", + ["skill"] = "Excellent", + ["heading"] = 0, + ["countryId"] = 2, + ["x"] = -273562.85714286, + ["unitId"] = 36, ["category"] = "vehicle", ["unitName"] = "RuTanks4", ["playerCanDrive"] = true, - ["groupName"] = "RuTanks", - ["countryId"] = 2, + ["coalition"] = "red", + ["y"] = 628797.14285714, }, -- end of [4] }, -- end of ["units"] ["countryId"] = 2, + ["country"] = "russia", ["category"] = "vehicle", ["coalition"] = "red", ["startTime"] = 0, ["task"] = "Ground Nothing", - ["country"] = "russia", }, -- end of [2] }, -- end of ["vehicle"] ["plane"] = { [1] = { + ["modulation"] = 0, ["groupId"] = 20, + ["frequency"] = 124, ["groupName"] = "Su-33 Client #1", ["units"] = { [1] = { ["alt"] = 2000, - ["heading"] = 0, ["point"] = { ["y"] = 590391.42857142, ["x"] = -250185.71428571, }, -- end of ["point"] - ["unitId"] = 42, - ["groupId"] = 20, + ["alt_type"] = "BARO", ["livery_id"] = "279th kiap 1st squad navy", ["skill"] = "Client", - ["groupName"] = "Su-33 Client #1", - ["coalition"] = "red", + ["category"] = "plane", + ["speed"] = 138.88888888889, ["type"] = "Su-33", ["country"] = "russia", - ["category"] = "plane", - ["unitName"] = "Su-33 Client #1", - ["speed"] = 138.88888888889, + ["psi"] = 0, + ["groupId"] = 20, + ["groupName"] = "Su-33 Client #1", + ["onboard_num"] = "53", ["countryId"] = 2, - ["alt_type"] = "BARO", + ["x"] = -250185.71428571, + ["callsign"] = 104, + ["heading"] = 0, + ["unitId"] = 42, + ["y"] = 590391.42857142, + ["coalition"] = "red", + ["unitName"] = "Su-33 Client #1", }, -- end of [1] }, -- end of ["units"] ["countryId"] = 2, + ["radioSet"] = false, + ["country"] = "russia", ["category"] = "plane", ["coalition"] = "red", ["startTime"] = 0, ["task"] = "CAP", - ["country"] = "russia", + ["uncontrolled"] = false, }, -- end of [1] [2] = { + ["modulation"] = 0, ["groupId"] = 21, + ["frequency"] = 124, ["groupName"] = "Su-33 Client #2", ["units"] = { [1] = { ["alt"] = 2000, - ["heading"] = 0, ["point"] = { ["y"] = 597819.99999999, ["x"] = -235614.28571428, }, -- end of ["point"] - ["unitId"] = 43, - ["groupId"] = 21, + ["alt_type"] = "BARO", ["livery_id"] = "279th kiap 1st squad navy", ["skill"] = "Client", - ["groupName"] = "Su-33 Client #2", - ["coalition"] = "red", + ["category"] = "plane", + ["speed"] = 138.88888888889, ["type"] = "Su-33", ["country"] = "russia", - ["category"] = "plane", - ["unitName"] = "Su-33 Client #2", - ["speed"] = 138.88888888889, + ["psi"] = 0, + ["groupId"] = 21, + ["groupName"] = "Su-33 Client #2", + ["onboard_num"] = "53", ["countryId"] = 2, - ["alt_type"] = "BARO", + ["x"] = -235614.28571428, + ["callsign"] = 104, + ["heading"] = 0, + ["unitId"] = 43, + ["y"] = 597819.99999999, + ["coalition"] = "red", + ["unitName"] = "Su-33 Client #2", }, -- end of [1] }, -- end of ["units"] ["countryId"] = 2, + ["radioSet"] = false, + ["country"] = "russia", ["category"] = "plane", ["coalition"] = "red", ["startTime"] = 0, ["task"] = "CAP", - ["country"] = "russia", + ["uncontrolled"] = false, }, -- end of [2] }, -- end of ["plane"] ["helicopter"] = { [1] = { + ["modulation"] = 0, ["groupId"] = 2, + ["frequency"] = 124, ["groupName"] = "Ka-50s_1", ["units"] = { [1] = { ["alt"] = 500, - ["heading"] = 2.5953630185698, ["point"] = { ["y"] = 615000, ["x"] = -237571.42857143, }, -- end of ["point"] - ["unitId"] = 3, - ["groupId"] = 2, + ["alt_type"] = "BARO", ["livery_id"] = "Russia Demo #024", ["skill"] = "High", - ["groupName"] = "Ka-50s_1", - ["coalition"] = "red", + ["category"] = "helicopter", + ["speed"] = 55.555555555556, ["type"] = "Ka-50", ["country"] = "russia", - ["category"] = "helicopter", - ["unitName"] = "Ka-50s_1_1", - ["speed"] = 55.555555555556, + ["psi"] = -2.5953630185698, + ["groupId"] = 2, + ["groupName"] = "Ka-50s_1", + ["onboard_num"] = "50", ["countryId"] = 2, - ["alt_type"] = "BARO", + ["x"] = -237571.42857143, + ["callsign"] = 100, + ["heading"] = 2.5953630185698, + ["unitId"] = 3, + ["y"] = 615000, + ["coalition"] = "red", + ["unitName"] = "Ka-50s_1_1", }, -- end of [1] [2] = { ["alt"] = 500, - ["heading"] = 2.5953630185698, ["point"] = { ["y"] = 615040, ["x"] = -237611.42857143, }, -- end of ["point"] - ["unitId"] = 4, - ["groupId"] = 2, + ["alt_type"] = "BARO", ["livery_id"] = "Russia Demo #024", ["skill"] = "High", - ["groupName"] = "Ka-50s_1", - ["coalition"] = "red", + ["category"] = "helicopter", + ["speed"] = 55.555555555556, ["type"] = "Ka-50", ["country"] = "russia", - ["category"] = "helicopter", - ["unitName"] = "Ka-50s_1_2", - ["speed"] = 55.555555555556, + ["psi"] = -2.5953630185698, + ["groupId"] = 2, + ["groupName"] = "Ka-50s_1", + ["onboard_num"] = "51", ["countryId"] = 2, - ["alt_type"] = "BARO", + ["x"] = -237611.42857143, + ["callsign"] = 101, + ["heading"] = 2.5953630185698, + ["unitId"] = 4, + ["y"] = 615040, + ["coalition"] = "red", + ["unitName"] = "Ka-50s_1_2", }, -- end of [2] }, -- end of ["units"] ["countryId"] = 2, + ["radioSet"] = false, + ["country"] = "russia", ["category"] = "helicopter", ["coalition"] = "red", ["startTime"] = 0, ["task"] = "CAS", - ["country"] = "russia", + ["uncontrolled"] = false, }, -- end of [1] [2] = { + ["modulation"] = 1, ["groupId"] = 3, + ["frequency"] = 127.5, ["groupName"] = "Mi-8s_1", ["units"] = { [1] = { ["alt"] = 500, - ["heading"] = 2.6119254271103, ["point"] = { ["y"] = 603285.71428571, ["x"] = -243285.71428571, }, -- end of ["point"] - ["unitId"] = 5, - ["groupId"] = 3, + ["alt_type"] = "BARO", ["livery_id"] = "Russia", ["skill"] = "Random", - ["groupName"] = "Mi-8s_1", - ["coalition"] = "red", + ["category"] = "helicopter", + ["speed"] = 55.555555555556, ["type"] = "Mi-8MT", ["country"] = "russia", - ["category"] = "helicopter", - ["unitName"] = "Mi-8s_1_1", - ["speed"] = 55.555555555556, + ["psi"] = -2.6119254271103, + ["groupId"] = 3, + ["groupName"] = "Mi-8s_1", + ["onboard_num"] = "52", ["countryId"] = 2, - ["alt_type"] = "BARO", + ["x"] = -243285.71428571, + ["callsign"] = 103, + ["heading"] = 2.6119254271103, + ["unitId"] = 5, + ["y"] = 603285.71428571, + ["coalition"] = "red", + ["unitName"] = "Mi-8s_1_1", }, -- end of [1] [2] = { ["alt"] = 500, - ["heading"] = 2.6119254271103, ["point"] = { ["y"] = 603325.71428571, ["x"] = -243325.71428571, }, -- end of ["point"] - ["unitId"] = 6, - ["groupId"] = 3, + ["alt_type"] = "BARO", ["livery_id"] = "Russia", ["skill"] = "Random", - ["groupName"] = "Mi-8s_1", - ["coalition"] = "red", + ["category"] = "helicopter", + ["speed"] = 55.555555555556, ["type"] = "Mi-8MT", ["country"] = "russia", - ["category"] = "helicopter", - ["unitName"] = "Mi-8s_1_1 #1", - ["speed"] = 55.555555555556, + ["psi"] = -2.6119254271103, + ["groupId"] = 3, + ["groupName"] = "Mi-8s_1", + ["onboard_num"] = "53", ["countryId"] = 2, - ["alt_type"] = "BARO", + ["x"] = -243325.71428571, + ["callsign"] = 102, + ["heading"] = 2.6119254271103, + ["unitId"] = 6, + ["y"] = 603325.71428571, + ["coalition"] = "red", + ["unitName"] = "Mi-8s_1_1 #1", }, -- end of [2] }, -- end of ["units"] ["countryId"] = 2, + ["radioSet"] = false, + ["country"] = "russia", ["category"] = "helicopter", ["coalition"] = "red", ["startTime"] = 0, ["task"] = "Transport", - ["country"] = "russia", + ["uncontrolled"] = false, }, -- end of [2] }, -- end of ["helicopter"] }, -- end of ["russia"] diff --git a/Example DBs/mist_DBs_unitsByCat.lua b/Example DBs/mist_DBs_unitsByCat.lua index dd4c4d4..95231ce 100644 --- a/Example DBs/mist_DBs_unitsByCat.lua +++ b/Example DBs/mist_DBs_unitsByCat.lua @@ -5,140 +5,182 @@ unitsByCat = [1] = { ["alt"] = 500, - ["heading"] = 0.017389551289373, ["point"] = { ["y"] = 631857.14285714, ["x"] = -297857.14285714, }, -- end of ["point"] - ["groupId"] = 1, ["alt_type"] = "BARO", ["livery_id"] = "standard", - ["skill"] = "High", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 55.555555555556, - ["country"] = "usa", + ["onboard_num"] = "50", ["category"] = "helicopter", - ["unitName"] = "AH-1s_1_1", + ["speed"] = 55.555555555556, ["type"] = "AH-1W", - ["unitId"] = 1, + ["country"] = "usa", + ["psi"] = -0.017389551289373, + ["unitName"] = "AH-1s_1_1", ["groupName"] = "AH-1s_1", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -297857.14285714, + ["y"] = 631857.14285714, + ["unitId"] = 1, + ["heading"] = 0.017389551289373, + ["skill"] = "High", + ["callsign"] = + { + [1] = 1, + [2] = 1, + [3] = 1, + ["name"] = "Enfield11", + }, -- end of ["callsign"] + ["groupId"] = 1, }, -- end of [1] [2] = { ["alt"] = 500, - ["heading"] = 0.017389551289373, ["point"] = { ["y"] = 631897.14285714, ["x"] = -297897.14285714, }, -- end of ["point"] - ["groupId"] = 1, ["alt_type"] = "BARO", ["livery_id"] = "standard", - ["skill"] = "High", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 55.555555555556, - ["country"] = "usa", + ["onboard_num"] = "51", ["category"] = "helicopter", - ["unitName"] = "AH-1s_1_2", + ["speed"] = 55.555555555556, ["type"] = "AH-1W", - ["unitId"] = 2, + ["country"] = "usa", + ["psi"] = -0.017389551289373, + ["unitName"] = "AH-1s_1_2", ["groupName"] = "AH-1s_1", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -297897.14285714, + ["y"] = 631897.14285714, + ["unitId"] = 2, + ["heading"] = 0.017389551289373, + ["skill"] = "High", + ["callsign"] = + { + [1] = 1, + [2] = 1, + [3] = 2, + ["name"] = "Enfield12", + }, -- end of ["callsign"] + ["groupId"] = 1, }, -- end of [2] [3] = { ["alt"] = 500, - ["heading"] = 2.5953630185698, ["point"] = { ["y"] = 615000, ["x"] = -237571.42857143, }, -- end of ["point"] - ["groupId"] = 2, ["alt_type"] = "BARO", ["livery_id"] = "Russia Demo #024", - ["skill"] = "High", - ["countryId"] = 2, - ["coalition"] = "red", - ["speed"] = 55.555555555556, - ["country"] = "russia", + ["onboard_num"] = "50", ["category"] = "helicopter", - ["unitName"] = "Ka-50s_1_1", + ["speed"] = 55.555555555556, ["type"] = "Ka-50", - ["unitId"] = 3, + ["country"] = "russia", + ["psi"] = -2.5953630185698, + ["unitName"] = "Ka-50s_1_1", ["groupName"] = "Ka-50s_1", + ["coalition"] = "red", + ["countryId"] = 2, + ["x"] = -237571.42857143, + ["y"] = 615000, + ["unitId"] = 3, + ["heading"] = 2.5953630185698, + ["skill"] = "High", + ["callsign"] = 100, + ["groupId"] = 2, }, -- end of [3] [4] = { ["alt"] = 500, - ["heading"] = 2.5953630185698, ["point"] = { ["y"] = 615040, ["x"] = -237611.42857143, }, -- end of ["point"] - ["groupId"] = 2, ["alt_type"] = "BARO", ["livery_id"] = "Russia Demo #024", - ["skill"] = "High", - ["countryId"] = 2, - ["coalition"] = "red", - ["speed"] = 55.555555555556, - ["country"] = "russia", + ["onboard_num"] = "51", ["category"] = "helicopter", - ["unitName"] = "Ka-50s_1_2", + ["speed"] = 55.555555555556, ["type"] = "Ka-50", - ["unitId"] = 4, + ["country"] = "russia", + ["psi"] = -2.5953630185698, + ["unitName"] = "Ka-50s_1_2", ["groupName"] = "Ka-50s_1", + ["coalition"] = "red", + ["countryId"] = 2, + ["x"] = -237611.42857143, + ["y"] = 615040, + ["unitId"] = 4, + ["heading"] = 2.5953630185698, + ["skill"] = "High", + ["callsign"] = 101, + ["groupId"] = 2, }, -- end of [4] [5] = { ["alt"] = 500, - ["heading"] = 2.6119254271103, ["point"] = { ["y"] = 603285.71428571, ["x"] = -243285.71428571, }, -- end of ["point"] - ["groupId"] = 3, ["alt_type"] = "BARO", ["livery_id"] = "Russia", - ["skill"] = "Random", - ["countryId"] = 2, - ["coalition"] = "red", - ["speed"] = 55.555555555556, - ["country"] = "russia", + ["onboard_num"] = "52", ["category"] = "helicopter", - ["unitName"] = "Mi-8s_1_1", + ["speed"] = 55.555555555556, ["type"] = "Mi-8MT", - ["unitId"] = 5, + ["country"] = "russia", + ["psi"] = -2.6119254271103, + ["unitName"] = "Mi-8s_1_1", ["groupName"] = "Mi-8s_1", + ["coalition"] = "red", + ["countryId"] = 2, + ["x"] = -243285.71428571, + ["y"] = 603285.71428571, + ["unitId"] = 5, + ["heading"] = 2.6119254271103, + ["skill"] = "Random", + ["callsign"] = 103, + ["groupId"] = 3, }, -- end of [5] [6] = { ["alt"] = 500, - ["heading"] = 2.6119254271103, ["point"] = { ["y"] = 603325.71428571, ["x"] = -243325.71428571, }, -- end of ["point"] - ["groupId"] = 3, ["alt_type"] = "BARO", ["livery_id"] = "Russia", - ["skill"] = "Random", - ["countryId"] = 2, - ["coalition"] = "red", - ["speed"] = 55.555555555556, - ["country"] = "russia", + ["onboard_num"] = "53", ["category"] = "helicopter", - ["unitName"] = "Mi-8s_1_1 #1", + ["speed"] = 55.555555555556, ["type"] = "Mi-8MT", - ["unitId"] = 6, + ["country"] = "russia", + ["psi"] = -2.6119254271103, + ["unitName"] = "Mi-8s_1_1 #1", ["groupName"] = "Mi-8s_1", + ["coalition"] = "red", + ["countryId"] = 2, + ["x"] = -243325.71428571, + ["y"] = 603325.71428571, + ["unitId"] = 6, + ["heading"] = 2.6119254271103, + ["skill"] = "Random", + ["callsign"] = 102, + ["groupId"] = 3, }, -- end of [6] }, -- end of ["helicopter"] ["ship"] = @@ -152,15 +194,17 @@ unitsByCat = ["x"] = -355285.71428571, }, -- end of ["point"] ["groupId"] = 8, + ["y"] = 443857.14285714, ["skill"] = "Average", ["coalition"] = "blue", ["countryId"] = 11, - ["groupName"] = "US Ships", + ["x"] = -355285.71428571, + ["unitId"] = 13, ["category"] = "ship", ["unitName"] = "US Ship #1", - ["country"] = "usa", ["heading"] = 0, - ["unitId"] = 13, + ["country"] = "usa", + ["groupName"] = "US Ships", }, -- end of [1] [2] = { @@ -171,15 +215,17 @@ unitsByCat = ["x"] = -356085.71428571, }, -- end of ["point"] ["groupId"] = 8, + ["y"] = 444657.14285714, ["skill"] = "Average", ["coalition"] = "blue", ["countryId"] = 11, - ["groupName"] = "US Ships", + ["x"] = -356085.71428571, + ["unitId"] = 14, ["category"] = "ship", ["unitName"] = "US Ship #2", - ["country"] = "usa", ["heading"] = 0, - ["unitId"] = 14, + ["country"] = "usa", + ["groupName"] = "US Ships", }, -- end of [2] [3] = { @@ -190,15 +236,17 @@ unitsByCat = ["x"] = -34285.714285714, }, -- end of ["point"] ["groupId"] = 9, + ["y"] = 200000, ["skill"] = "Average", ["coalition"] = "red", ["countryId"] = 2, - ["groupName"] = "Rus Ships #1", + ["x"] = -34285.714285714, + ["unitId"] = 15, ["category"] = "ship", ["unitName"] = "1ship1", - ["country"] = "russia", ["heading"] = 0, - ["unitId"] = 15, + ["country"] = "russia", + ["groupName"] = "Rus Ships #1", }, -- end of [3] [4] = { @@ -209,15 +257,17 @@ unitsByCat = ["x"] = -35085.714285714, }, -- end of ["point"] ["groupId"] = 9, + ["y"] = 200800, ["skill"] = "Average", ["coalition"] = "red", ["countryId"] = 2, - ["groupName"] = "Rus Ships #1", + ["x"] = -35085.714285714, + ["unitId"] = 16, ["category"] = "ship", ["unitName"] = "1ship2", - ["country"] = "russia", ["heading"] = 0, - ["unitId"] = 16, + ["country"] = "russia", + ["groupName"] = "Rus Ships #1", }, -- end of [4] [5] = { @@ -228,15 +278,17 @@ unitsByCat = ["x"] = -86428.571428571, }, -- end of ["point"] ["groupId"] = 10, + ["y"] = 73571.428571428, ["skill"] = "Average", ["coalition"] = "red", ["countryId"] = 2, - ["groupName"] = "Rus Ships #2", + ["x"] = -86428.571428571, + ["unitId"] = 17, ["category"] = "ship", ["unitName"] = "2ship1", - ["country"] = "russia", ["heading"] = 1.1755995276042, - ["unitId"] = 17, + ["country"] = "russia", + ["groupName"] = "Rus Ships #2", }, -- end of [5] [6] = { @@ -247,15 +299,17 @@ unitsByCat = ["x"] = -87228.571428571, }, -- end of ["point"] ["groupId"] = 10, + ["y"] = 74371.428571428, ["skill"] = "Average", ["coalition"] = "red", ["countryId"] = 2, - ["groupName"] = "Rus Ships #2", + ["x"] = -87228.571428571, + ["unitId"] = 18, ["category"] = "ship", ["unitName"] = "2ship2", - ["country"] = "russia", ["heading"] = 1.1755995276042, - ["unitId"] = 18, + ["country"] = "russia", + ["groupName"] = "Rus Ships #2", }, -- end of [6] }, -- end of ["ship"] ["static"] = @@ -263,7 +317,7 @@ unitsByCat = [1] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 636248.57142857, @@ -272,17 +326,19 @@ unitsByCat = ["groupId"] = 15, ["groupName"] = "tent1", ["countryId"] = 11, - ["unitId"] = 37, + ["coalition"] = "blue", + ["x"] = -300871.42857143, + ["y"] = 636248.57142857, ["category"] = "static", ["unitName"] = "tent1", - ["type"] = "FARP Tent", ["country"] = "usa", - ["coalition"] = "blue", + ["heading"] = 0, + ["unitId"] = 37, }, -- end of [1] [2] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 638620, @@ -291,17 +347,19 @@ unitsByCat = ["groupId"] = 16, ["groupName"] = "tent2", ["countryId"] = 11, - ["unitId"] = 38, + ["coalition"] = "blue", + ["x"] = -299814.28571429, + ["y"] = 638620, ["category"] = "static", ["unitName"] = "tent2", - ["type"] = "FARP Tent", ["country"] = "usa", - ["coalition"] = "blue", + ["heading"] = 0, + ["unitId"] = 38, }, -- end of [2] [3] = { ["shape_name"] = "konteiner_red1", - ["heading"] = 0, + ["type"] = "Container red 1", ["point"] = { ["y"] = 684605.71428571, @@ -310,12 +368,14 @@ unitsByCat = ["groupId"] = 30, ["groupName"] = "static", ["countryId"] = 11, - ["unitId"] = 44, + ["coalition"] = "blue", + ["x"] = -279949.99999999, + ["y"] = 684605.71428571, ["category"] = "static", ["unitName"] = "static", - ["type"] = "Container red 1", ["country"] = "usa", - ["coalition"] = "blue", + ["heading"] = 0, + ["unitId"] = 44, }, -- end of [3] [4] = { @@ -327,18 +387,20 @@ unitsByCat = }, -- end of ["point"] ["groupId"] = 17, ["groupName"] = "RU Farp", + ["countryId"] = 2, ["coalition"] = "red", - ["unitId"] = 39, + ["x"] = -258442.85714286, + ["y"] = 617591.42857143, ["category"] = "static", ["unitName"] = "RU Farp", - ["type"] = "FARP", - ["countryId"] = 2, ["country"] = "russia", + ["type"] = "FARP", + ["unitId"] = 39, }, -- end of [4] [5] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 617962.85714285, @@ -347,17 +409,19 @@ unitsByCat = ["groupId"] = 18, ["groupName"] = "RuTent1", ["countryId"] = 2, - ["unitId"] = 40, + ["coalition"] = "red", + ["x"] = -258642.85714286, + ["y"] = 617962.85714285, ["category"] = "static", ["unitName"] = "RuTent1", - ["type"] = "FARP Tent", ["country"] = "russia", - ["coalition"] = "red", + ["heading"] = 0, + ["unitId"] = 40, }, -- end of [5] [6] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 617691.42857143, @@ -366,801 +430,884 @@ unitsByCat = ["groupId"] = 19, ["groupName"] = "RuTent2", ["countryId"] = 2, - ["unitId"] = 41, + ["coalition"] = "red", + ["x"] = -259071.42857143, + ["y"] = 617691.42857143, ["category"] = "static", ["unitName"] = "RuTent2", - ["type"] = "FARP Tent", ["country"] = "russia", - ["coalition"] = "red", + ["heading"] = 0, + ["unitId"] = 41, }, -- end of [6] - [7] = - { - ["alt"] = 69, - ["type"] = "Container red 1", - ["point"] = - { - ["y"] = 690925, - ["x"] = -285115, - }, -- end of ["point"] - ["groupId"] = 7005, - ["groupName"] = "USA static 7005", - ["countryId"] = 2, - ["unitId"] = 7005, - ["category"] = "ship", - ["unitName"] = "USA static 7005", - ["heading"] = 6.1694608363366, - ["country"] = "usa", - ["coalition"] = "blue", - }, -- end of [7] - [8] = - { - ["alt"] = 66, - ["type"] = "Container red 1", - ["point"] = - { - ["y"] = 692491, - ["x"] = -287269, - }, -- end of ["point"] - ["groupId"] = 7010, - ["groupName"] = "USA static 7010", - ["countryId"] = 2, - ["unitId"] = 7010, - ["category"] = "ship", - ["unitName"] = "USA static 7010", - ["heading"] = 6.1693154268268, - ["country"] = "usa", - ["coalition"] = "blue", - }, -- end of [8] - [9] = - { - ["alt"] = 64, - ["type"] = "Container red 1", - ["point"] = - { - ["y"] = 689768, - ["x"] = -285807, - }, -- end of ["point"] - ["groupId"] = 7015, - ["groupName"] = "USA static 7015", - ["countryId"] = 2, - ["unitId"] = 7015, - ["category"] = "ship", - ["unitName"] = "USA static 7015", - ["heading"] = 6.169648830639, - ["country"] = "usa", - ["coalition"] = "blue", - }, -- end of [9] }, -- end of ["static"] ["plane"] = { [1] = { ["alt"] = 2000, - ["heading"] = -0.57883789069348, ["point"] = { ["y"] = 662142.85714286, ["x"] = -288142.85714286, }, -- end of ["point"] - ["groupId"] = 4, ["alt_type"] = "BARO", ["livery_id"] = "19th Fighter SQN (AK)", - ["skill"] = "Client", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 138.88888888889, - ["country"] = "usa", + ["onboard_num"] = "10", ["category"] = "plane", - ["unitName"] = "F-15C Client #1", + ["speed"] = 138.88888888889, ["type"] = "F-15C", - ["unitId"] = 8, + ["country"] = "usa", + ["psi"] = 0.57883789069348, + ["unitName"] = "F-15C Client #1", ["groupName"] = "F-15C Client #1", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -288142.85714286, + ["y"] = 662142.85714286, + ["unitId"] = 8, + ["heading"] = -0.57883789069348, + ["skill"] = "Client", + ["callsign"] = + { + [1] = 2, + [2] = 1, + [3] = 1, + ["name"] = "Springfield11", + }, -- end of ["callsign"] + ["groupId"] = 4, }, -- end of [1] [2] = { ["alt"] = 2000, - ["heading"] = -0.57883789069348, ["point"] = { ["y"] = 668428.57142857, ["x"] = -287000, }, -- end of ["point"] - ["groupId"] = 5, ["alt_type"] = "BARO", ["livery_id"] = "19th Fighter SQN (AK)", - ["skill"] = "Client", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 138.88888888889, - ["country"] = "usa", + ["onboard_num"] = "10", ["category"] = "plane", - ["unitName"] = "F-15C Client #2", + ["speed"] = 138.88888888889, ["type"] = "F-15C", - ["unitId"] = 10, + ["country"] = "usa", + ["psi"] = 0.57883789069348, + ["unitName"] = "F-15C Client #2", ["groupName"] = "F-15C Client #2", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -287000, + ["y"] = 668428.57142857, + ["unitId"] = 10, + ["heading"] = -0.57883789069348, + ["skill"] = "Client", + ["callsign"] = + { + [1] = 2, + [2] = 1, + [3] = 1, + ["name"] = "Springfield11", + }, -- end of ["callsign"] + ["groupId"] = 5, }, -- end of [2] [3] = { ["alt"] = 2000, - ["heading"] = -0.67060113146646, ["point"] = { ["y"] = 636428.57142857, ["x"] = -318142.85714286, }, -- end of ["point"] - ["groupId"] = 6, ["alt_type"] = "BARO", ["livery_id"] = "104th FS Maryland ANG, Baltimore (MD)", - ["skill"] = "Client", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 138.88888888889, - ["country"] = "usa", + ["onboard_num"] = "52", ["category"] = "plane", - ["unitName"] = "A-10C Client #1", + ["speed"] = 138.88888888889, ["type"] = "A-10C", - ["unitId"] = 11, + ["country"] = "usa", + ["psi"] = 0.67060113146646, + ["unitName"] = "A-10C Client #1", ["groupName"] = "A-10C Client #1", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -318142.85714286, + ["y"] = 636428.57142857, + ["unitId"] = 11, + ["heading"] = -0.67060113146646, + ["skill"] = "Client", + ["callsign"] = + { + [1] = 3, + [2] = 1, + [3] = 1, + ["name"] = "Uzi11", + }, -- end of ["callsign"] + ["groupId"] = 6, }, -- end of [3] [4] = { ["alt"] = 2000, - ["heading"] = -0.66079849060746, ["point"] = { ["y"] = 644428.57142857, ["x"] = -315857.14285714, }, -- end of ["point"] - ["groupId"] = 7, ["alt_type"] = "BARO", ["livery_id"] = "104th FS Maryland ANG, Baltimore (MD)", - ["skill"] = "Client", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 138.88888888889, - ["country"] = "usa", + ["onboard_num"] = "52", ["category"] = "plane", - ["unitName"] = "A-10C Client #2", + ["speed"] = 138.88888888889, ["type"] = "A-10C", - ["unitId"] = 12, + ["country"] = "usa", + ["psi"] = 0.66079849060746, + ["unitName"] = "A-10C Client #2", ["groupName"] = "A-10C Client #2", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -315857.14285714, + ["y"] = 644428.57142857, + ["unitId"] = 12, + ["heading"] = -0.66079849060746, + ["skill"] = "Client", + ["callsign"] = + { + [1] = 3, + [2] = 1, + [3] = 1, + ["name"] = "Uzi11", + }, -- end of ["callsign"] + ["groupId"] = 7, }, -- end of [4] [5] = { ["alt"] = 2000, - ["heading"] = 0, ["point"] = { ["y"] = 590391.42857142, ["x"] = -250185.71428571, }, -- end of ["point"] - ["groupId"] = 20, ["alt_type"] = "BARO", ["livery_id"] = "279th kiap 1st squad navy", - ["skill"] = "Client", - ["countryId"] = 2, - ["coalition"] = "red", - ["speed"] = 138.88888888889, - ["country"] = "russia", + ["onboard_num"] = "53", ["category"] = "plane", - ["unitName"] = "Su-33 Client #1", + ["speed"] = 138.88888888889, ["type"] = "Su-33", - ["unitId"] = 42, + ["country"] = "russia", + ["psi"] = 0, + ["unitName"] = "Su-33 Client #1", ["groupName"] = "Su-33 Client #1", + ["coalition"] = "red", + ["countryId"] = 2, + ["x"] = -250185.71428571, + ["y"] = 590391.42857142, + ["unitId"] = 42, + ["heading"] = 0, + ["skill"] = "Client", + ["callsign"] = 104, + ["groupId"] = 20, }, -- end of [5] [6] = { ["alt"] = 2000, - ["heading"] = 0, ["point"] = { ["y"] = 597819.99999999, ["x"] = -235614.28571428, }, -- end of ["point"] - ["groupId"] = 21, ["alt_type"] = "BARO", ["livery_id"] = "279th kiap 1st squad navy", - ["skill"] = "Client", - ["countryId"] = 2, - ["coalition"] = "red", - ["speed"] = 138.88888888889, - ["country"] = "russia", + ["onboard_num"] = "53", ["category"] = "plane", - ["unitName"] = "Su-33 Client #2", + ["speed"] = 138.88888888889, ["type"] = "Su-33", - ["unitId"] = 43, + ["country"] = "russia", + ["psi"] = 0, + ["unitName"] = "Su-33 Client #2", ["groupName"] = "Su-33 Client #2", + ["coalition"] = "red", + ["countryId"] = 2, + ["x"] = -235614.28571428, + ["y"] = 597819.99999999, + ["unitId"] = 43, + ["heading"] = 0, + ["skill"] = "Client", + ["callsign"] = 104, + ["groupId"] = 21, }, -- end of [6] }, -- end of ["plane"] ["vehicle"] = { [1] = { - ["type"] = "M-1 Abrams", + ["heading"] = 0, ["point"] = { ["y"] = 639800, ["x"] = -294685.71428571, }, -- end of ["point"] ["groupId"] = 11, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 639800, ["coalition"] = "blue", ["groupName"] = "USTanks1", - ["heading"] = 0, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -294685.71428571, + ["unitId"] = 19, ["category"] = "vehicle", ["unitName"] = "USTanks1_1", ["playerCanDrive"] = true, - ["unitId"] = 19, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [1] [2] = { - ["type"] = "M-1 Abrams", + ["heading"] = 0, ["point"] = { ["y"] = 639840, ["x"] = -294725.71428571, }, -- end of ["point"] ["groupId"] = 11, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 639840, ["coalition"] = "blue", ["groupName"] = "USTanks1", - ["heading"] = 0, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -294725.71428571, + ["unitId"] = 20, ["category"] = "vehicle", ["unitName"] = "USTanks1_2", ["playerCanDrive"] = true, - ["unitId"] = 20, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [2] [3] = { - ["type"] = "M-1 Abrams", + ["heading"] = 0, ["point"] = { ["y"] = 639880, ["x"] = -294765.71428571, }, -- end of ["point"] ["groupId"] = 11, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 639880, ["coalition"] = "blue", ["groupName"] = "USTanks1", - ["heading"] = 0, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -294765.71428571, + ["unitId"] = 21, ["category"] = "vehicle", ["unitName"] = "USTanks1_3", ["playerCanDrive"] = true, - ["unitId"] = 21, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [3] [4] = { - ["type"] = "M-1 Abrams", + ["heading"] = 0, ["point"] = { ["y"] = 639920, ["x"] = -294805.71428571, }, -- end of ["point"] ["groupId"] = 11, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 639920, ["coalition"] = "blue", ["groupName"] = "USTanks1", - ["heading"] = 0, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -294805.71428571, + ["unitId"] = 22, ["category"] = "vehicle", ["unitName"] = "USTanks1_4", ["playerCanDrive"] = true, - ["unitId"] = 22, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [4] [5] = { - ["type"] = "M-1 Abrams", + ["heading"] = 1.4977557614926, ["point"] = { ["y"] = 653171.42857143, ["x"] = -293085.71428571, }, -- end of ["point"] ["groupId"] = 12, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 653171.42857143, ["coalition"] = "blue", ["groupName"] = "USTanks2", - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -293085.71428571, + ["unitId"] = 23, ["category"] = "vehicle", ["unitName"] = "USTanks2_1", ["playerCanDrive"] = true, - ["unitId"] = 23, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [5] [6] = { - ["type"] = "M-1 Abrams", + ["heading"] = 1.4977557614926, ["point"] = { ["y"] = 653211.42857143, ["x"] = -293125.71428571, }, -- end of ["point"] ["groupId"] = 12, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 653211.42857143, ["coalition"] = "blue", ["groupName"] = "USTanks2", - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -293125.71428571, + ["unitId"] = 24, ["category"] = "vehicle", ["unitName"] = "USTanks2_2", ["playerCanDrive"] = true, - ["unitId"] = 24, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [6] [7] = { - ["type"] = "M-1 Abrams", + ["heading"] = 1.4977557614926, ["point"] = { ["y"] = 653251.42857143, ["x"] = -293165.71428571, }, -- end of ["point"] ["groupId"] = 12, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 653251.42857143, ["coalition"] = "blue", ["groupName"] = "USTanks2", - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -293165.71428571, + ["unitId"] = 25, ["category"] = "vehicle", ["unitName"] = "USTanks2_3", ["playerCanDrive"] = true, - ["unitId"] = 25, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [7] [8] = { - ["type"] = "M-1 Abrams", + ["heading"] = 1.4977557614926, ["point"] = { ["y"] = 653291.42857143, ["x"] = -293205.71428571, }, -- end of ["point"] ["groupId"] = 12, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 653291.42857143, ["coalition"] = "blue", ["groupName"] = "USTanks2", - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -293205.71428571, + ["unitId"] = 26, ["category"] = "vehicle", ["unitName"] = "USTanks2_4", ["playerCanDrive"] = true, - ["unitId"] = 26, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [8] [9] = { - ["type"] = "BTR-80", + ["heading"] = -1.7994767003775, ["point"] = { ["y"] = 654545.71428571, ["x"] = -292842.85714286, }, -- end of ["point"] ["groupId"] = 13, - ["skill"] = "Average", - ["countryId"] = 2, + ["y"] = 654545.71428571, ["coalition"] = "red", ["groupName"] = "RuBTRs", - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", + ["countryId"] = 2, + ["x"] = -292842.85714286, + ["unitId"] = 27, ["category"] = "vehicle", ["unitName"] = "RuBTRs1", ["playerCanDrive"] = true, - ["unitId"] = 27, ["country"] = "russia", + ["skill"] = "Average", }, -- end of [9] [10] = { - ["type"] = "BTR-80", + ["heading"] = -1.7994767003775, ["point"] = { ["y"] = 654585.71428571, ["x"] = -292882.85714286, }, -- end of ["point"] ["groupId"] = 13, - ["skill"] = "Average", - ["countryId"] = 2, + ["y"] = 654585.71428571, ["coalition"] = "red", ["groupName"] = "RuBTRs", - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", + ["countryId"] = 2, + ["x"] = -292882.85714286, + ["unitId"] = 28, ["category"] = "vehicle", ["unitName"] = "RuBTRs2", ["playerCanDrive"] = true, - ["unitId"] = 28, ["country"] = "russia", + ["skill"] = "Average", }, -- end of [10] [11] = { - ["type"] = "BTR-80", + ["heading"] = -1.7994767003775, ["point"] = { ["y"] = 654625.71428571, ["x"] = -292922.85714286, }, -- end of ["point"] ["groupId"] = 13, - ["skill"] = "Average", - ["countryId"] = 2, + ["y"] = 654625.71428571, ["coalition"] = "red", ["groupName"] = "RuBTRs", - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", + ["countryId"] = 2, + ["x"] = -292922.85714286, + ["unitId"] = 29, ["category"] = "vehicle", ["unitName"] = "RuBTRs3", ["playerCanDrive"] = true, - ["unitId"] = 29, ["country"] = "russia", + ["skill"] = "Average", }, -- end of [11] [12] = { - ["type"] = "BTR-80", + ["heading"] = -1.7994767003775, ["point"] = { ["y"] = 654665.71428571, ["x"] = -292962.85714286, }, -- end of ["point"] ["groupId"] = 13, - ["skill"] = "Average", - ["countryId"] = 2, + ["y"] = 654665.71428571, ["coalition"] = "red", ["groupName"] = "RuBTRs", - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", + ["countryId"] = 2, + ["x"] = -292962.85714286, + ["unitId"] = 30, ["category"] = "vehicle", ["unitName"] = "RuBTRs4", ["playerCanDrive"] = true, - ["unitId"] = 30, ["country"] = "russia", + ["skill"] = "Average", }, -- end of [12] [13] = { - ["type"] = "BTR-80", + ["heading"] = -1.7994767003775, ["point"] = { ["y"] = 654705.71428571, ["x"] = -293002.85714286, }, -- end of ["point"] ["groupId"] = 13, - ["skill"] = "Average", - ["countryId"] = 2, + ["y"] = 654705.71428571, ["coalition"] = "red", ["groupName"] = "RuBTRs", - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", + ["countryId"] = 2, + ["x"] = -293002.85714286, + ["unitId"] = 31, ["category"] = "vehicle", ["unitName"] = "RuBTRs5", ["playerCanDrive"] = true, - ["unitId"] = 31, ["country"] = "russia", + ["skill"] = "Average", }, -- end of [13] [14] = { - ["type"] = "BTR-80", + ["heading"] = -1.7994767003775, ["point"] = { ["y"] = 654745.71428571, ["x"] = -293042.85714286, }, -- end of ["point"] ["groupId"] = 13, - ["skill"] = "Average", - ["countryId"] = 2, + ["y"] = 654745.71428571, ["coalition"] = "red", ["groupName"] = "RuBTRs", - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", + ["countryId"] = 2, + ["x"] = -293042.85714286, + ["unitId"] = 32, ["category"] = "vehicle", ["unitName"] = "RuBTRs6", ["playerCanDrive"] = true, - ["unitId"] = 32, ["country"] = "russia", + ["skill"] = "Average", }, -- end of [14] [15] = { - ["type"] = "T-55", + ["heading"] = 0, ["point"] = { ["y"] = 628677.14285714, ["x"] = -273442.85714286, }, -- end of ["point"] ["groupId"] = 14, - ["skill"] = "Excellent", - ["countryId"] = 2, + ["y"] = 628677.14285714, ["coalition"] = "red", ["groupName"] = "RuTanks", - ["heading"] = 0, + ["type"] = "T-55", + ["countryId"] = 2, + ["x"] = -273442.85714286, + ["unitId"] = 33, ["category"] = "vehicle", ["unitName"] = "RuTanks1", ["playerCanDrive"] = true, - ["unitId"] = 33, ["country"] = "russia", + ["skill"] = "Excellent", }, -- end of [15] [16] = { - ["type"] = "T-55", + ["heading"] = 0, ["point"] = { ["y"] = 628717.14285714, ["x"] = -273482.85714286, }, -- end of ["point"] ["groupId"] = 14, - ["skill"] = "Excellent", - ["countryId"] = 2, + ["y"] = 628717.14285714, ["coalition"] = "red", ["groupName"] = "RuTanks", - ["heading"] = 0, + ["type"] = "T-55", + ["countryId"] = 2, + ["x"] = -273482.85714286, + ["unitId"] = 34, ["category"] = "vehicle", ["unitName"] = "RuTanks2", ["playerCanDrive"] = true, - ["unitId"] = 34, ["country"] = "russia", + ["skill"] = "Excellent", }, -- end of [16] [17] = { - ["type"] = "T-55", + ["heading"] = 0, ["point"] = { ["y"] = 628757.14285714, ["x"] = -273522.85714286, }, -- end of ["point"] ["groupId"] = 14, - ["skill"] = "Excellent", - ["countryId"] = 2, + ["y"] = 628757.14285714, ["coalition"] = "red", ["groupName"] = "RuTanks", - ["heading"] = 0, + ["type"] = "T-55", + ["countryId"] = 2, + ["x"] = -273522.85714286, + ["unitId"] = 35, ["category"] = "vehicle", ["unitName"] = "RuTanks3", ["playerCanDrive"] = true, - ["unitId"] = 35, ["country"] = "russia", + ["skill"] = "Excellent", }, -- end of [17] [18] = { - ["type"] = "T-55", + ["heading"] = 0, ["point"] = { ["y"] = 628797.14285714, ["x"] = -273562.85714286, }, -- end of ["point"] ["groupId"] = 14, - ["skill"] = "Excellent", - ["countryId"] = 2, + ["y"] = 628797.14285714, ["coalition"] = "red", ["groupName"] = "RuTanks", - ["heading"] = 0, + ["type"] = "T-55", + ["countryId"] = 2, + ["x"] = -273562.85714286, + ["unitId"] = 36, ["category"] = "vehicle", ["unitName"] = "RuTanks4", ["playerCanDrive"] = true, - ["unitId"] = 36, ["country"] = "russia", + ["skill"] = "Excellent", }, -- end of [18] [19] = { + ["alt"] = 73, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692951.80504833, - ["x"] = -288112.04900582, + ["y"] = 692297, + ["x"] = -283873, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["groupId"] = 7001, + ["coalitionId"] = 2, ["coalition"] = "blue", - ["unitId"] = 7001, - ["heading"] = 1.4977557614926, + ["groupName"] = "usa gnd 2", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -283873, + ["y"] = 692297, ["category"] = "vehicle", ["unitName"] = "usa gnd 2 unit1", - ["groupName"] = "usa gnd 2", - ["countryId"] = 2, - ["groupId"] = 7001, + ["unitId"] = 7001, + ["heading"] = 1.4977603826792, + ["skill"] = "Average", }, -- end of [19] [20] = { + ["alt"] = 73, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692984.63711165, - ["x"] = -288136.26599616, + ["y"] = 692378, + ["x"] = -283913, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["groupId"] = 7001, + ["coalitionId"] = 2, ["coalition"] = "blue", - ["unitId"] = 7002, - ["heading"] = 1.4977557614926, + ["groupName"] = "usa gnd 2", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -283913, + ["y"] = 692378, ["category"] = "vehicle", ["unitName"] = "usa gnd 2 unit2", - ["groupName"] = "usa gnd 2", - ["countryId"] = 2, - ["groupId"] = 7001, + ["unitId"] = 7002, + ["heading"] = 1.4977610327793, + ["skill"] = "Average", }, -- end of [20] [21] = { + ["alt"] = 72, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692996.24632438, - ["x"] = -288123.02974075, + ["y"] = 692136, + ["x"] = -283991, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["groupId"] = 7001, + ["coalitionId"] = 2, ["coalition"] = "blue", - ["unitId"] = 7003, - ["heading"] = 1.4977557614926, + ["groupName"] = "usa gnd 2", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -283991, + ["y"] = 692136, ["category"] = "vehicle", ["unitName"] = "usa gnd 2 unit3", - ["groupName"] = "usa gnd 2", - ["countryId"] = 2, - ["groupId"] = 7001, + ["unitId"] = 7003, + ["heading"] = 1.4977579653353, + ["skill"] = "Average", }, -- end of [21] [22] = { + ["alt"] = 73, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692886.94679558, - ["x"] = -287976.47272972, + ["y"] = 692340, + ["x"] = -283878, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["groupId"] = 7001, + ["coalitionId"] = 2, ["coalition"] = "blue", - ["unitId"] = 7004, - ["heading"] = 1.4977557614926, + ["groupName"] = "usa gnd 2", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -283878, + ["y"] = 692340, ["category"] = "vehicle", ["unitName"] = "usa gnd 2 unit4", - ["groupName"] = "usa gnd 2", - ["countryId"] = 2, - ["groupId"] = 7001, + ["unitId"] = 7004, + ["heading"] = 1.4977603826792, + ["skill"] = "Average", }, -- end of [22] [23] = { + ["alt"] = 68, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692301.85580476, - ["x"] = -283925.5171695, + ["y"] = 690998, + ["x"] = -285539, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", - ["coalition"] = "blue", - ["unitId"] = 7006, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 3 unit1", - ["groupName"] = "usa gnd 3", - ["countryId"] = 2, ["groupId"] = 7003, + ["coalitionId"] = 2, + ["coalition"] = "blue", + ["groupName"] = "usa gnd 4", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -285539, + ["y"] = 690998, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 4 unit1", + ["unitId"] = 7006, + ["heading"] = 1.4977591325037, + ["skill"] = "Average", }, -- end of [23] [24] = { + ["alt"] = 68, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692374.68565784, - ["x"] = -283846.9396746, + ["y"] = 690984, + ["x"] = -285610, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", - ["coalition"] = "blue", - ["unitId"] = 7007, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 3 unit2", - ["groupName"] = "usa gnd 3", - ["countryId"] = 2, ["groupId"] = 7003, + ["coalitionId"] = 2, + ["coalition"] = "blue", + ["groupName"] = "usa gnd 4", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -285610, + ["y"] = 690984, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 4 unit2", + ["unitId"] = 7007, + ["heading"] = 1.4977589159233, + ["skill"] = "Average", }, -- end of [24] [25] = { + ["alt"] = 68, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692416.6568865, - ["x"] = -284022.73058924, + ["y"] = 690825, + ["x"] = -285472, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", - ["coalition"] = "blue", - ["unitId"] = 7008, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 3 unit3", - ["groupName"] = "usa gnd 3", - ["countryId"] = 2, ["groupId"] = 7003, + ["coalitionId"] = 2, + ["coalition"] = "blue", + ["groupName"] = "usa gnd 4", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -285472, + ["y"] = 690825, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 4 unit3", + ["unitId"] = 7008, + ["heading"] = 1.4977598003676, + ["skill"] = "Average", }, -- end of [25] [26] = { + ["alt"] = 68, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692423.17192305, - ["x"] = -283793.86944615, + ["y"] = 690920, + ["x"] = -285485, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", - ["coalition"] = "blue", - ["unitId"] = 7009, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 3 unit4", - ["groupName"] = "usa gnd 3", - ["countryId"] = 2, ["groupId"] = 7003, + ["coalitionId"] = 2, + ["coalition"] = "blue", + ["groupName"] = "usa gnd 4", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -285485, + ["y"] = 690920, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 4 unit4", + ["unitId"] = 7009, + ["heading"] = 1.4977598003676, + ["skill"] = "Average", }, -- end of [26] [27] = { + ["alt"] = 65, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 690345.01202023, - ["x"] = -286996.80803754, + ["y"] = 692970, + ["x"] = -288880, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", - ["coalition"] = "blue", - ["unitId"] = 7011, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 4 unit1", - ["groupName"] = "usa gnd 4", - ["countryId"] = 2, ["groupId"] = 7005, + ["coalitionId"] = 2, + ["coalition"] = "blue", + ["groupName"] = "usa gnd 6", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -288880, + ["y"] = 692970, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 6 unit1", + ["unitId"] = 7011, + ["heading"] = 1.4977545807326, + ["skill"] = "Average", }, -- end of [27] [28] = { + ["alt"] = 65, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 690495.78308897, - ["x"] = -287119.30705856, + ["y"] = 693075, + ["x"] = -288920, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", - ["coalition"] = "blue", - ["unitId"] = 7012, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 4 unit2", - ["groupName"] = "usa gnd 4", - ["countryId"] = 2, ["groupId"] = 7005, + ["coalitionId"] = 2, + ["coalition"] = "blue", + ["groupName"] = "usa gnd 6", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -288920, + ["y"] = 693075, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 6 unit2", + ["unitId"] = 7012, + ["heading"] = 1.4977545807326, + ["skill"] = "Average", }, -- end of [28] [29] = { + ["alt"] = 65, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 690419.49528366, - ["x"] = -287149.74499211, + ["y"] = 692855, + ["x"] = -288930, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", - ["coalition"] = "blue", - ["unitId"] = 7013, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 4 unit3", - ["groupName"] = "usa gnd 4", - ["countryId"] = 2, ["groupId"] = 7005, + ["coalitionId"] = 2, + ["coalition"] = "blue", + ["groupName"] = "usa gnd 6", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -288930, + ["y"] = 692855, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 6 unit3", + ["unitId"] = 7013, + ["heading"] = 1.4977545807326, + ["skill"] = "Average", }, -- end of [29] [30] = { + ["alt"] = 65, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 690430.82466041, - ["x"] = -287068.46280196, + ["y"] = 693055, + ["x"] = -288765, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", - ["coalition"] = "blue", - ["unitId"] = 7014, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 4 unit4", - ["groupName"] = "usa gnd 4", - ["countryId"] = 2, ["groupId"] = 7005, + ["coalitionId"] = 2, + ["coalition"] = "blue", + ["groupName"] = "usa gnd 6", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -288765, + ["y"] = 693055, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 6 unit4", + ["unitId"] = 7014, + ["heading"] = 1.4977545807326, + ["skill"] = "Average", }, -- end of [30] }, -- end of ["vehicle"] } -- end of unitsByCat diff --git a/Example DBs/mist_DBs_unitsById.lua b/Example DBs/mist_DBs_unitsById.lua index c93202c..3dc4fc5 100644 --- a/Example DBs/mist_DBs_unitsById.lua +++ b/Example DBs/mist_DBs_unitsById.lua @@ -3,232 +3,318 @@ unitsById = [1] = { ["alt"] = 500, - ["heading"] = 0.017389551289373, ["point"] = { ["y"] = 631857.14285714, ["x"] = -297857.14285714, }, -- end of ["point"] - ["groupId"] = 1, ["alt_type"] = "BARO", ["livery_id"] = "standard", - ["skill"] = "High", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 55.555555555556, - ["country"] = "usa", + ["onboard_num"] = "50", ["category"] = "helicopter", - ["unitName"] = "AH-1s_1_1", + ["speed"] = 55.555555555556, ["type"] = "AH-1W", - ["unitId"] = 1, + ["country"] = "usa", + ["psi"] = -0.017389551289373, + ["unitName"] = "AH-1s_1_1", ["groupName"] = "AH-1s_1", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -297857.14285714, + ["y"] = 631857.14285714, + ["unitId"] = 1, + ["heading"] = 0.017389551289373, + ["skill"] = "High", + ["callsign"] = + { + [1] = 1, + [2] = 1, + [3] = 1, + ["name"] = "Enfield11", + }, -- end of ["callsign"] + ["groupId"] = 1, }, -- end of [1] [2] = { ["alt"] = 500, - ["heading"] = 0.017389551289373, ["point"] = { ["y"] = 631897.14285714, ["x"] = -297897.14285714, }, -- end of ["point"] - ["groupId"] = 1, ["alt_type"] = "BARO", ["livery_id"] = "standard", - ["skill"] = "High", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 55.555555555556, - ["country"] = "usa", + ["onboard_num"] = "51", ["category"] = "helicopter", - ["unitName"] = "AH-1s_1_2", + ["speed"] = 55.555555555556, ["type"] = "AH-1W", - ["unitId"] = 2, + ["country"] = "usa", + ["psi"] = -0.017389551289373, + ["unitName"] = "AH-1s_1_2", ["groupName"] = "AH-1s_1", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -297897.14285714, + ["y"] = 631897.14285714, + ["unitId"] = 2, + ["heading"] = 0.017389551289373, + ["skill"] = "High", + ["callsign"] = + { + [1] = 1, + [2] = 1, + [3] = 2, + ["name"] = "Enfield12", + }, -- end of ["callsign"] + ["groupId"] = 1, }, -- end of [2] [3] = { ["alt"] = 500, - ["heading"] = 2.5953630185698, ["point"] = { ["y"] = 615000, ["x"] = -237571.42857143, }, -- end of ["point"] - ["groupId"] = 2, ["alt_type"] = "BARO", ["livery_id"] = "Russia Demo #024", - ["skill"] = "High", - ["countryId"] = 2, - ["coalition"] = "red", - ["speed"] = 55.555555555556, - ["country"] = "russia", + ["onboard_num"] = "50", ["category"] = "helicopter", - ["unitName"] = "Ka-50s_1_1", + ["speed"] = 55.555555555556, ["type"] = "Ka-50", - ["unitId"] = 3, + ["country"] = "russia", + ["psi"] = -2.5953630185698, + ["unitName"] = "Ka-50s_1_1", ["groupName"] = "Ka-50s_1", + ["coalition"] = "red", + ["countryId"] = 2, + ["x"] = -237571.42857143, + ["y"] = 615000, + ["unitId"] = 3, + ["heading"] = 2.5953630185698, + ["skill"] = "High", + ["callsign"] = 100, + ["groupId"] = 2, }, -- end of [3] [4] = { ["alt"] = 500, - ["heading"] = 2.5953630185698, ["point"] = { ["y"] = 615040, ["x"] = -237611.42857143, }, -- end of ["point"] - ["groupId"] = 2, ["alt_type"] = "BARO", ["livery_id"] = "Russia Demo #024", - ["skill"] = "High", - ["countryId"] = 2, - ["coalition"] = "red", - ["speed"] = 55.555555555556, - ["country"] = "russia", + ["onboard_num"] = "51", ["category"] = "helicopter", - ["unitName"] = "Ka-50s_1_2", + ["speed"] = 55.555555555556, ["type"] = "Ka-50", - ["unitId"] = 4, + ["country"] = "russia", + ["psi"] = -2.5953630185698, + ["unitName"] = "Ka-50s_1_2", ["groupName"] = "Ka-50s_1", + ["coalition"] = "red", + ["countryId"] = 2, + ["x"] = -237611.42857143, + ["y"] = 615040, + ["unitId"] = 4, + ["heading"] = 2.5953630185698, + ["skill"] = "High", + ["callsign"] = 101, + ["groupId"] = 2, }, -- end of [4] [5] = { ["alt"] = 500, - ["heading"] = 2.6119254271103, ["point"] = { ["y"] = 603285.71428571, ["x"] = -243285.71428571, }, -- end of ["point"] - ["groupId"] = 3, ["alt_type"] = "BARO", ["livery_id"] = "Russia", - ["skill"] = "Random", - ["countryId"] = 2, - ["coalition"] = "red", - ["speed"] = 55.555555555556, - ["country"] = "russia", + ["onboard_num"] = "52", ["category"] = "helicopter", - ["unitName"] = "Mi-8s_1_1", + ["speed"] = 55.555555555556, ["type"] = "Mi-8MT", - ["unitId"] = 5, + ["country"] = "russia", + ["psi"] = -2.6119254271103, + ["unitName"] = "Mi-8s_1_1", ["groupName"] = "Mi-8s_1", + ["coalition"] = "red", + ["countryId"] = 2, + ["x"] = -243285.71428571, + ["y"] = 603285.71428571, + ["unitId"] = 5, + ["heading"] = 2.6119254271103, + ["skill"] = "Random", + ["callsign"] = 103, + ["groupId"] = 3, }, -- end of [5] [6] = { ["alt"] = 500, - ["heading"] = 2.6119254271103, ["point"] = { ["y"] = 603325.71428571, ["x"] = -243325.71428571, }, -- end of ["point"] - ["groupId"] = 3, ["alt_type"] = "BARO", ["livery_id"] = "Russia", - ["skill"] = "Random", - ["countryId"] = 2, - ["coalition"] = "red", - ["speed"] = 55.555555555556, - ["country"] = "russia", + ["onboard_num"] = "53", ["category"] = "helicopter", - ["unitName"] = "Mi-8s_1_1 #1", + ["speed"] = 55.555555555556, ["type"] = "Mi-8MT", - ["unitId"] = 6, + ["country"] = "russia", + ["psi"] = -2.6119254271103, + ["unitName"] = "Mi-8s_1_1 #1", ["groupName"] = "Mi-8s_1", + ["coalition"] = "red", + ["countryId"] = 2, + ["x"] = -243325.71428571, + ["y"] = 603325.71428571, + ["unitId"] = 6, + ["heading"] = 2.6119254271103, + ["skill"] = "Random", + ["callsign"] = 102, + ["groupId"] = 3, }, -- end of [6] [8] = { ["alt"] = 2000, - ["heading"] = -0.57883789069348, ["point"] = { ["y"] = 662142.85714286, ["x"] = -288142.85714286, }, -- end of ["point"] - ["groupId"] = 4, ["alt_type"] = "BARO", ["livery_id"] = "19th Fighter SQN (AK)", - ["skill"] = "Client", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 138.88888888889, - ["country"] = "usa", + ["onboard_num"] = "10", ["category"] = "plane", - ["unitName"] = "F-15C Client #1", + ["speed"] = 138.88888888889, ["type"] = "F-15C", - ["unitId"] = 8, + ["country"] = "usa", + ["psi"] = 0.57883789069348, + ["unitName"] = "F-15C Client #1", ["groupName"] = "F-15C Client #1", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -288142.85714286, + ["y"] = 662142.85714286, + ["unitId"] = 8, + ["heading"] = -0.57883789069348, + ["skill"] = "Client", + ["callsign"] = + { + [1] = 2, + [2] = 1, + [3] = 1, + ["name"] = "Springfield11", + }, -- end of ["callsign"] + ["groupId"] = 4, }, -- end of [8] [10] = { ["alt"] = 2000, - ["heading"] = -0.57883789069348, ["point"] = { ["y"] = 668428.57142857, ["x"] = -287000, }, -- end of ["point"] - ["groupId"] = 5, ["alt_type"] = "BARO", ["livery_id"] = "19th Fighter SQN (AK)", - ["skill"] = "Client", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 138.88888888889, - ["country"] = "usa", + ["onboard_num"] = "10", ["category"] = "plane", - ["unitName"] = "F-15C Client #2", + ["speed"] = 138.88888888889, ["type"] = "F-15C", - ["unitId"] = 10, + ["country"] = "usa", + ["psi"] = 0.57883789069348, + ["unitName"] = "F-15C Client #2", ["groupName"] = "F-15C Client #2", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -287000, + ["y"] = 668428.57142857, + ["unitId"] = 10, + ["heading"] = -0.57883789069348, + ["skill"] = "Client", + ["callsign"] = + { + [1] = 2, + [2] = 1, + [3] = 1, + ["name"] = "Springfield11", + }, -- end of ["callsign"] + ["groupId"] = 5, }, -- end of [10] [11] = { ["alt"] = 2000, - ["heading"] = -0.67060113146646, ["point"] = { ["y"] = 636428.57142857, ["x"] = -318142.85714286, }, -- end of ["point"] - ["groupId"] = 6, ["alt_type"] = "BARO", ["livery_id"] = "104th FS Maryland ANG, Baltimore (MD)", - ["skill"] = "Client", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 138.88888888889, - ["country"] = "usa", + ["onboard_num"] = "52", ["category"] = "plane", - ["unitName"] = "A-10C Client #1", + ["speed"] = 138.88888888889, ["type"] = "A-10C", - ["unitId"] = 11, + ["country"] = "usa", + ["psi"] = 0.67060113146646, + ["unitName"] = "A-10C Client #1", ["groupName"] = "A-10C Client #1", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -318142.85714286, + ["y"] = 636428.57142857, + ["unitId"] = 11, + ["heading"] = -0.67060113146646, + ["skill"] = "Client", + ["callsign"] = + { + [1] = 3, + [2] = 1, + [3] = 1, + ["name"] = "Uzi11", + }, -- end of ["callsign"] + ["groupId"] = 6, }, -- end of [11] [12] = { ["alt"] = 2000, - ["heading"] = -0.66079849060746, ["point"] = { ["y"] = 644428.57142857, ["x"] = -315857.14285714, }, -- end of ["point"] - ["groupId"] = 7, ["alt_type"] = "BARO", ["livery_id"] = "104th FS Maryland ANG, Baltimore (MD)", - ["skill"] = "Client", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 138.88888888889, - ["country"] = "usa", + ["onboard_num"] = "52", ["category"] = "plane", - ["unitName"] = "A-10C Client #2", + ["speed"] = 138.88888888889, ["type"] = "A-10C", - ["unitId"] = 12, + ["country"] = "usa", + ["psi"] = 0.66079849060746, + ["unitName"] = "A-10C Client #2", ["groupName"] = "A-10C Client #2", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -315857.14285714, + ["y"] = 644428.57142857, + ["unitId"] = 12, + ["heading"] = -0.66079849060746, + ["skill"] = "Client", + ["callsign"] = + { + [1] = 3, + [2] = 1, + [3] = 1, + ["name"] = "Uzi11", + }, -- end of ["callsign"] + ["groupId"] = 7, }, -- end of [12] [13] = { @@ -239,15 +325,17 @@ unitsById = ["x"] = -355285.71428571, }, -- end of ["point"] ["groupId"] = 8, + ["y"] = 443857.14285714, ["skill"] = "Average", ["coalition"] = "blue", ["countryId"] = 11, - ["groupName"] = "US Ships", + ["x"] = -355285.71428571, + ["unitId"] = 13, ["category"] = "ship", ["unitName"] = "US Ship #1", - ["country"] = "usa", ["heading"] = 0, - ["unitId"] = 13, + ["country"] = "usa", + ["groupName"] = "US Ships", }, -- end of [13] [14] = { @@ -258,15 +346,17 @@ unitsById = ["x"] = -356085.71428571, }, -- end of ["point"] ["groupId"] = 8, + ["y"] = 444657.14285714, ["skill"] = "Average", ["coalition"] = "blue", ["countryId"] = 11, - ["groupName"] = "US Ships", + ["x"] = -356085.71428571, + ["unitId"] = 14, ["category"] = "ship", ["unitName"] = "US Ship #2", - ["country"] = "usa", ["heading"] = 0, - ["unitId"] = 14, + ["country"] = "usa", + ["groupName"] = "US Ships", }, -- end of [14] [15] = { @@ -277,15 +367,17 @@ unitsById = ["x"] = -34285.714285714, }, -- end of ["point"] ["groupId"] = 9, + ["y"] = 200000, ["skill"] = "Average", ["coalition"] = "red", ["countryId"] = 2, - ["groupName"] = "Rus Ships #1", + ["x"] = -34285.714285714, + ["unitId"] = 15, ["category"] = "ship", ["unitName"] = "1ship1", - ["country"] = "russia", ["heading"] = 0, - ["unitId"] = 15, + ["country"] = "russia", + ["groupName"] = "Rus Ships #1", }, -- end of [15] [16] = { @@ -296,15 +388,17 @@ unitsById = ["x"] = -35085.714285714, }, -- end of ["point"] ["groupId"] = 9, + ["y"] = 200800, ["skill"] = "Average", ["coalition"] = "red", ["countryId"] = 2, - ["groupName"] = "Rus Ships #1", + ["x"] = -35085.714285714, + ["unitId"] = 16, ["category"] = "ship", ["unitName"] = "1ship2", - ["country"] = "russia", ["heading"] = 0, - ["unitId"] = 16, + ["country"] = "russia", + ["groupName"] = "Rus Ships #1", }, -- end of [16] [17] = { @@ -315,15 +409,17 @@ unitsById = ["x"] = -86428.571428571, }, -- end of ["point"] ["groupId"] = 10, + ["y"] = 73571.428571428, ["skill"] = "Average", ["coalition"] = "red", ["countryId"] = 2, - ["groupName"] = "Rus Ships #2", + ["x"] = -86428.571428571, + ["unitId"] = 17, ["category"] = "ship", ["unitName"] = "2ship1", - ["country"] = "russia", ["heading"] = 1.1755995276042, - ["unitId"] = 17, + ["country"] = "russia", + ["groupName"] = "Rus Ships #2", }, -- end of [17] [18] = { @@ -334,380 +430,418 @@ unitsById = ["x"] = -87228.571428571, }, -- end of ["point"] ["groupId"] = 10, + ["y"] = 74371.428571428, ["skill"] = "Average", ["coalition"] = "red", ["countryId"] = 2, - ["groupName"] = "Rus Ships #2", + ["x"] = -87228.571428571, + ["unitId"] = 18, ["category"] = "ship", ["unitName"] = "2ship2", - ["country"] = "russia", ["heading"] = 1.1755995276042, - ["unitId"] = 18, + ["country"] = "russia", + ["groupName"] = "Rus Ships #2", }, -- end of [18] [19] = { - ["type"] = "M-1 Abrams", + ["heading"] = 0, ["point"] = { ["y"] = 639800, ["x"] = -294685.71428571, }, -- end of ["point"] ["groupId"] = 11, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 639800, ["coalition"] = "blue", ["groupName"] = "USTanks1", - ["heading"] = 0, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -294685.71428571, + ["unitId"] = 19, ["category"] = "vehicle", ["unitName"] = "USTanks1_1", ["playerCanDrive"] = true, - ["unitId"] = 19, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [19] [20] = { - ["type"] = "M-1 Abrams", + ["heading"] = 0, ["point"] = { ["y"] = 639840, ["x"] = -294725.71428571, }, -- end of ["point"] ["groupId"] = 11, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 639840, ["coalition"] = "blue", ["groupName"] = "USTanks1", - ["heading"] = 0, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -294725.71428571, + ["unitId"] = 20, ["category"] = "vehicle", ["unitName"] = "USTanks1_2", ["playerCanDrive"] = true, - ["unitId"] = 20, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [20] [21] = { - ["type"] = "M-1 Abrams", + ["heading"] = 0, ["point"] = { ["y"] = 639880, ["x"] = -294765.71428571, }, -- end of ["point"] ["groupId"] = 11, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 639880, ["coalition"] = "blue", ["groupName"] = "USTanks1", - ["heading"] = 0, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -294765.71428571, + ["unitId"] = 21, ["category"] = "vehicle", ["unitName"] = "USTanks1_3", ["playerCanDrive"] = true, - ["unitId"] = 21, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [21] [22] = { - ["type"] = "M-1 Abrams", + ["heading"] = 0, ["point"] = { ["y"] = 639920, ["x"] = -294805.71428571, }, -- end of ["point"] ["groupId"] = 11, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 639920, ["coalition"] = "blue", ["groupName"] = "USTanks1", - ["heading"] = 0, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -294805.71428571, + ["unitId"] = 22, ["category"] = "vehicle", ["unitName"] = "USTanks1_4", ["playerCanDrive"] = true, - ["unitId"] = 22, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [22] [23] = { - ["type"] = "M-1 Abrams", + ["heading"] = 1.4977557614926, ["point"] = { ["y"] = 653171.42857143, ["x"] = -293085.71428571, }, -- end of ["point"] ["groupId"] = 12, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 653171.42857143, ["coalition"] = "blue", ["groupName"] = "USTanks2", - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -293085.71428571, + ["unitId"] = 23, ["category"] = "vehicle", ["unitName"] = "USTanks2_1", ["playerCanDrive"] = true, - ["unitId"] = 23, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [23] [24] = { - ["type"] = "M-1 Abrams", + ["heading"] = 1.4977557614926, ["point"] = { ["y"] = 653211.42857143, ["x"] = -293125.71428571, }, -- end of ["point"] ["groupId"] = 12, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 653211.42857143, ["coalition"] = "blue", ["groupName"] = "USTanks2", - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -293125.71428571, + ["unitId"] = 24, ["category"] = "vehicle", ["unitName"] = "USTanks2_2", ["playerCanDrive"] = true, - ["unitId"] = 24, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [24] [25] = { - ["type"] = "M-1 Abrams", + ["heading"] = 1.4977557614926, ["point"] = { ["y"] = 653251.42857143, ["x"] = -293165.71428571, }, -- end of ["point"] ["groupId"] = 12, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 653251.42857143, ["coalition"] = "blue", ["groupName"] = "USTanks2", - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -293165.71428571, + ["unitId"] = 25, ["category"] = "vehicle", ["unitName"] = "USTanks2_3", ["playerCanDrive"] = true, - ["unitId"] = 25, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [25] [26] = { - ["type"] = "M-1 Abrams", + ["heading"] = 1.4977557614926, ["point"] = { ["y"] = 653291.42857143, ["x"] = -293205.71428571, }, -- end of ["point"] ["groupId"] = 12, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 653291.42857143, ["coalition"] = "blue", ["groupName"] = "USTanks2", - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -293205.71428571, + ["unitId"] = 26, ["category"] = "vehicle", ["unitName"] = "USTanks2_4", ["playerCanDrive"] = true, - ["unitId"] = 26, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [26] [27] = { - ["type"] = "BTR-80", + ["heading"] = -1.7994767003775, ["point"] = { ["y"] = 654545.71428571, ["x"] = -292842.85714286, }, -- end of ["point"] ["groupId"] = 13, - ["skill"] = "Average", - ["countryId"] = 2, + ["y"] = 654545.71428571, ["coalition"] = "red", ["groupName"] = "RuBTRs", - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", + ["countryId"] = 2, + ["x"] = -292842.85714286, + ["unitId"] = 27, ["category"] = "vehicle", ["unitName"] = "RuBTRs1", ["playerCanDrive"] = true, - ["unitId"] = 27, ["country"] = "russia", + ["skill"] = "Average", }, -- end of [27] [28] = { - ["type"] = "BTR-80", + ["heading"] = -1.7994767003775, ["point"] = { ["y"] = 654585.71428571, ["x"] = -292882.85714286, }, -- end of ["point"] ["groupId"] = 13, - ["skill"] = "Average", - ["countryId"] = 2, + ["y"] = 654585.71428571, ["coalition"] = "red", ["groupName"] = "RuBTRs", - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", + ["countryId"] = 2, + ["x"] = -292882.85714286, + ["unitId"] = 28, ["category"] = "vehicle", ["unitName"] = "RuBTRs2", ["playerCanDrive"] = true, - ["unitId"] = 28, ["country"] = "russia", + ["skill"] = "Average", }, -- end of [28] [29] = { - ["type"] = "BTR-80", + ["heading"] = -1.7994767003775, ["point"] = { ["y"] = 654625.71428571, ["x"] = -292922.85714286, }, -- end of ["point"] ["groupId"] = 13, - ["skill"] = "Average", - ["countryId"] = 2, + ["y"] = 654625.71428571, ["coalition"] = "red", ["groupName"] = "RuBTRs", - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", + ["countryId"] = 2, + ["x"] = -292922.85714286, + ["unitId"] = 29, ["category"] = "vehicle", ["unitName"] = "RuBTRs3", ["playerCanDrive"] = true, - ["unitId"] = 29, ["country"] = "russia", + ["skill"] = "Average", }, -- end of [29] [30] = { - ["type"] = "BTR-80", + ["heading"] = -1.7994767003775, ["point"] = { ["y"] = 654665.71428571, ["x"] = -292962.85714286, }, -- end of ["point"] ["groupId"] = 13, - ["skill"] = "Average", - ["countryId"] = 2, + ["y"] = 654665.71428571, ["coalition"] = "red", ["groupName"] = "RuBTRs", - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", + ["countryId"] = 2, + ["x"] = -292962.85714286, + ["unitId"] = 30, ["category"] = "vehicle", ["unitName"] = "RuBTRs4", ["playerCanDrive"] = true, - ["unitId"] = 30, ["country"] = "russia", + ["skill"] = "Average", }, -- end of [30] [31] = { - ["type"] = "BTR-80", + ["heading"] = -1.7994767003775, ["point"] = { ["y"] = 654705.71428571, ["x"] = -293002.85714286, }, -- end of ["point"] ["groupId"] = 13, - ["skill"] = "Average", - ["countryId"] = 2, + ["y"] = 654705.71428571, ["coalition"] = "red", ["groupName"] = "RuBTRs", - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", + ["countryId"] = 2, + ["x"] = -293002.85714286, + ["unitId"] = 31, ["category"] = "vehicle", ["unitName"] = "RuBTRs5", ["playerCanDrive"] = true, - ["unitId"] = 31, ["country"] = "russia", + ["skill"] = "Average", }, -- end of [31] [32] = { - ["type"] = "BTR-80", + ["heading"] = -1.7994767003775, ["point"] = { ["y"] = 654745.71428571, ["x"] = -293042.85714286, }, -- end of ["point"] ["groupId"] = 13, - ["skill"] = "Average", - ["countryId"] = 2, + ["y"] = 654745.71428571, ["coalition"] = "red", ["groupName"] = "RuBTRs", - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", + ["countryId"] = 2, + ["x"] = -293042.85714286, + ["unitId"] = 32, ["category"] = "vehicle", ["unitName"] = "RuBTRs6", ["playerCanDrive"] = true, - ["unitId"] = 32, ["country"] = "russia", + ["skill"] = "Average", }, -- end of [32] [33] = { - ["type"] = "T-55", + ["heading"] = 0, ["point"] = { ["y"] = 628677.14285714, ["x"] = -273442.85714286, }, -- end of ["point"] ["groupId"] = 14, - ["skill"] = "Excellent", - ["countryId"] = 2, + ["y"] = 628677.14285714, ["coalition"] = "red", ["groupName"] = "RuTanks", - ["heading"] = 0, + ["type"] = "T-55", + ["countryId"] = 2, + ["x"] = -273442.85714286, + ["unitId"] = 33, ["category"] = "vehicle", ["unitName"] = "RuTanks1", ["playerCanDrive"] = true, - ["unitId"] = 33, ["country"] = "russia", + ["skill"] = "Excellent", }, -- end of [33] [34] = { - ["type"] = "T-55", + ["heading"] = 0, ["point"] = { ["y"] = 628717.14285714, ["x"] = -273482.85714286, }, -- end of ["point"] ["groupId"] = 14, - ["skill"] = "Excellent", - ["countryId"] = 2, + ["y"] = 628717.14285714, ["coalition"] = "red", ["groupName"] = "RuTanks", - ["heading"] = 0, + ["type"] = "T-55", + ["countryId"] = 2, + ["x"] = -273482.85714286, + ["unitId"] = 34, ["category"] = "vehicle", ["unitName"] = "RuTanks2", ["playerCanDrive"] = true, - ["unitId"] = 34, ["country"] = "russia", + ["skill"] = "Excellent", }, -- end of [34] [35] = { - ["type"] = "T-55", + ["heading"] = 0, ["point"] = { ["y"] = 628757.14285714, ["x"] = -273522.85714286, }, -- end of ["point"] ["groupId"] = 14, - ["skill"] = "Excellent", - ["countryId"] = 2, + ["y"] = 628757.14285714, ["coalition"] = "red", ["groupName"] = "RuTanks", - ["heading"] = 0, + ["type"] = "T-55", + ["countryId"] = 2, + ["x"] = -273522.85714286, + ["unitId"] = 35, ["category"] = "vehicle", ["unitName"] = "RuTanks3", ["playerCanDrive"] = true, - ["unitId"] = 35, ["country"] = "russia", + ["skill"] = "Excellent", }, -- end of [35] [36] = { - ["type"] = "T-55", + ["heading"] = 0, ["point"] = { ["y"] = 628797.14285714, ["x"] = -273562.85714286, }, -- end of ["point"] ["groupId"] = 14, - ["skill"] = "Excellent", - ["countryId"] = 2, + ["y"] = 628797.14285714, ["coalition"] = "red", ["groupName"] = "RuTanks", - ["heading"] = 0, + ["type"] = "T-55", + ["countryId"] = 2, + ["x"] = -273562.85714286, + ["unitId"] = 36, ["category"] = "vehicle", ["unitName"] = "RuTanks4", ["playerCanDrive"] = true, - ["unitId"] = 36, ["country"] = "russia", + ["skill"] = "Excellent", }, -- end of [36] [37] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 636248.57142857, @@ -716,17 +850,19 @@ unitsById = ["groupId"] = 15, ["groupName"] = "tent1", ["countryId"] = 11, - ["unitId"] = 37, + ["coalition"] = "blue", + ["x"] = -300871.42857143, + ["y"] = 636248.57142857, ["category"] = "static", ["unitName"] = "tent1", - ["type"] = "FARP Tent", ["country"] = "usa", - ["coalition"] = "blue", + ["heading"] = 0, + ["unitId"] = 37, }, -- end of [37] [38] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 638620, @@ -735,12 +871,14 @@ unitsById = ["groupId"] = 16, ["groupName"] = "tent2", ["countryId"] = 11, - ["unitId"] = 38, + ["coalition"] = "blue", + ["x"] = -299814.28571429, + ["y"] = 638620, ["category"] = "static", ["unitName"] = "tent2", - ["type"] = "FARP Tent", ["country"] = "usa", - ["coalition"] = "blue", + ["heading"] = 0, + ["unitId"] = 38, }, -- end of [38] [39] = { @@ -752,18 +890,20 @@ unitsById = }, -- end of ["point"] ["groupId"] = 17, ["groupName"] = "RU Farp", + ["countryId"] = 2, ["coalition"] = "red", - ["unitId"] = 39, + ["x"] = -258442.85714286, + ["y"] = 617591.42857143, ["category"] = "static", ["unitName"] = "RU Farp", - ["type"] = "FARP", - ["countryId"] = 2, ["country"] = "russia", + ["type"] = "FARP", + ["unitId"] = 39, }, -- end of [39] [40] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 617962.85714285, @@ -772,17 +912,19 @@ unitsById = ["groupId"] = 18, ["groupName"] = "RuTent1", ["countryId"] = 2, - ["unitId"] = 40, + ["coalition"] = "red", + ["x"] = -258642.85714286, + ["y"] = 617962.85714285, ["category"] = "static", ["unitName"] = "RuTent1", - ["type"] = "FARP Tent", ["country"] = "russia", - ["coalition"] = "red", + ["heading"] = 0, + ["unitId"] = 40, }, -- end of [40] [41] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 617691.42857143, @@ -791,63 +933,75 @@ unitsById = ["groupId"] = 19, ["groupName"] = "RuTent2", ["countryId"] = 2, - ["unitId"] = 41, + ["coalition"] = "red", + ["x"] = -259071.42857143, + ["y"] = 617691.42857143, ["category"] = "static", ["unitName"] = "RuTent2", - ["type"] = "FARP Tent", ["country"] = "russia", - ["coalition"] = "red", + ["heading"] = 0, + ["unitId"] = 41, }, -- end of [41] [42] = { ["alt"] = 2000, - ["heading"] = 0, ["point"] = { ["y"] = 590391.42857142, ["x"] = -250185.71428571, }, -- end of ["point"] - ["groupId"] = 20, ["alt_type"] = "BARO", ["livery_id"] = "279th kiap 1st squad navy", - ["skill"] = "Client", - ["countryId"] = 2, - ["coalition"] = "red", - ["speed"] = 138.88888888889, - ["country"] = "russia", + ["onboard_num"] = "53", ["category"] = "plane", - ["unitName"] = "Su-33 Client #1", + ["speed"] = 138.88888888889, ["type"] = "Su-33", - ["unitId"] = 42, + ["country"] = "russia", + ["psi"] = 0, + ["unitName"] = "Su-33 Client #1", ["groupName"] = "Su-33 Client #1", + ["coalition"] = "red", + ["countryId"] = 2, + ["x"] = -250185.71428571, + ["y"] = 590391.42857142, + ["unitId"] = 42, + ["heading"] = 0, + ["skill"] = "Client", + ["callsign"] = 104, + ["groupId"] = 20, }, -- end of [42] [43] = { ["alt"] = 2000, - ["heading"] = 0, ["point"] = { ["y"] = 597819.99999999, ["x"] = -235614.28571428, }, -- end of ["point"] - ["groupId"] = 21, ["alt_type"] = "BARO", ["livery_id"] = "279th kiap 1st squad navy", - ["skill"] = "Client", - ["countryId"] = 2, - ["coalition"] = "red", - ["speed"] = 138.88888888889, - ["country"] = "russia", + ["onboard_num"] = "53", ["category"] = "plane", - ["unitName"] = "Su-33 Client #2", + ["speed"] = 138.88888888889, ["type"] = "Su-33", - ["unitId"] = 43, + ["country"] = "russia", + ["psi"] = 0, + ["unitName"] = "Su-33 Client #2", ["groupName"] = "Su-33 Client #2", + ["coalition"] = "red", + ["countryId"] = 2, + ["x"] = -235614.28571428, + ["y"] = 597819.99999999, + ["unitId"] = 43, + ["heading"] = 0, + ["skill"] = "Client", + ["callsign"] = 104, + ["groupId"] = 21, }, -- end of [43] [44] = { ["shape_name"] = "konteiner_red1", - ["heading"] = 0, + ["type"] = "Container red 1", ["point"] = { ["y"] = 684605.71428571, @@ -856,296 +1010,289 @@ unitsById = ["groupId"] = 30, ["groupName"] = "static", ["countryId"] = 11, - ["unitId"] = 44, + ["coalition"] = "blue", + ["x"] = -279949.99999999, + ["y"] = 684605.71428571, ["category"] = "static", ["unitName"] = "static", - ["type"] = "Container red 1", ["country"] = "usa", - ["coalition"] = "blue", + ["heading"] = 0, + ["unitId"] = 44, }, -- end of [44] [7006] = { + ["alt"] = 68, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692301.85580476, - ["x"] = -283925.5171695, + ["y"] = 690998, + ["x"] = -285539, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", - ["coalition"] = "blue", - ["unitId"] = 7006, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 3 unit1", - ["groupName"] = "usa gnd 3", - ["countryId"] = 2, ["groupId"] = 7003, + ["coalitionId"] = 2, + ["coalition"] = "blue", + ["groupName"] = "usa gnd 4", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -285539, + ["y"] = 690998, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 4 unit1", + ["unitId"] = 7006, + ["heading"] = 1.4977591325037, + ["skill"] = "Average", }, -- end of [7006] [7007] = { + ["alt"] = 68, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692374.68565784, - ["x"] = -283846.9396746, + ["y"] = 690984, + ["x"] = -285610, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", - ["coalition"] = "blue", - ["unitId"] = 7007, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 3 unit2", - ["groupName"] = "usa gnd 3", - ["countryId"] = 2, ["groupId"] = 7003, + ["coalitionId"] = 2, + ["coalition"] = "blue", + ["groupName"] = "usa gnd 4", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -285610, + ["y"] = 690984, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 4 unit2", + ["unitId"] = 7007, + ["heading"] = 1.4977589159233, + ["skill"] = "Average", }, -- end of [7007] [7008] = { + ["alt"] = 68, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692416.6568865, - ["x"] = -284022.73058924, + ["y"] = 690825, + ["x"] = -285472, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", - ["coalition"] = "blue", - ["unitId"] = 7008, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 3 unit3", - ["groupName"] = "usa gnd 3", - ["countryId"] = 2, ["groupId"] = 7003, + ["coalitionId"] = 2, + ["coalition"] = "blue", + ["groupName"] = "usa gnd 4", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -285472, + ["y"] = 690825, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 4 unit3", + ["unitId"] = 7008, + ["heading"] = 1.4977598003676, + ["skill"] = "Average", }, -- end of [7008] [7009] = { + ["alt"] = 68, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692423.17192305, - ["x"] = -283793.86944615, + ["y"] = 690920, + ["x"] = -285485, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", - ["coalition"] = "blue", - ["unitId"] = 7009, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 3 unit4", - ["groupName"] = "usa gnd 3", - ["countryId"] = 2, ["groupId"] = 7003, - }, -- end of [7009] - [7010] = - { - ["alt"] = 66, - ["type"] = "Container red 1", - ["point"] = - { - ["y"] = 692491, - ["x"] = -287269, - }, -- end of ["point"] - ["groupId"] = 7010, - ["groupName"] = "USA static 7010", - ["countryId"] = 2, - ["unitId"] = 7010, - ["category"] = "ship", - ["unitName"] = "USA static 7010", - ["heading"] = 6.1693154268268, - ["country"] = "usa", + ["coalitionId"] = 2, ["coalition"] = "blue", - }, -- end of [7010] + ["groupName"] = "usa gnd 4", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -285485, + ["y"] = 690920, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 4 unit4", + ["unitId"] = 7009, + ["heading"] = 1.4977598003676, + ["skill"] = "Average", + }, -- end of [7009] [7011] = { + ["alt"] = 65, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 690345.01202023, - ["x"] = -286996.80803754, + ["y"] = 692970, + ["x"] = -288880, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", - ["coalition"] = "blue", - ["unitId"] = 7011, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 4 unit1", - ["groupName"] = "usa gnd 4", - ["countryId"] = 2, ["groupId"] = 7005, + ["coalitionId"] = 2, + ["coalition"] = "blue", + ["groupName"] = "usa gnd 6", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -288880, + ["y"] = 692970, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 6 unit1", + ["unitId"] = 7011, + ["heading"] = 1.4977545807326, + ["skill"] = "Average", }, -- end of [7011] [7012] = { + ["alt"] = 65, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 690495.78308897, - ["x"] = -287119.30705856, + ["y"] = 693075, + ["x"] = -288920, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", - ["coalition"] = "blue", - ["unitId"] = 7012, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 4 unit2", - ["groupName"] = "usa gnd 4", - ["countryId"] = 2, ["groupId"] = 7005, + ["coalitionId"] = 2, + ["coalition"] = "blue", + ["groupName"] = "usa gnd 6", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -288920, + ["y"] = 693075, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 6 unit2", + ["unitId"] = 7012, + ["heading"] = 1.4977545807326, + ["skill"] = "Average", }, -- end of [7012] [7013] = { + ["alt"] = 65, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 690419.49528366, - ["x"] = -287149.74499211, + ["y"] = 692855, + ["x"] = -288930, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", - ["coalition"] = "blue", - ["unitId"] = 7013, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 4 unit3", - ["groupName"] = "usa gnd 4", - ["countryId"] = 2, ["groupId"] = 7005, + ["coalitionId"] = 2, + ["coalition"] = "blue", + ["groupName"] = "usa gnd 6", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -288930, + ["y"] = 692855, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 6 unit3", + ["unitId"] = 7013, + ["heading"] = 1.4977545807326, + ["skill"] = "Average", }, -- end of [7013] [7014] = { + ["alt"] = 65, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 690430.82466041, - ["x"] = -287068.46280196, + ["y"] = 693055, + ["x"] = -288765, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", - ["coalition"] = "blue", - ["unitId"] = 7014, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 4 unit4", - ["groupName"] = "usa gnd 4", - ["countryId"] = 2, ["groupId"] = 7005, - }, -- end of [7014] - [7015] = - { - ["alt"] = 64, - ["type"] = "Container red 1", - ["point"] = - { - ["y"] = 689768, - ["x"] = -285807, - }, -- end of ["point"] - ["groupId"] = 7015, - ["groupName"] = "USA static 7015", - ["countryId"] = 2, - ["unitId"] = 7015, - ["category"] = "ship", - ["unitName"] = "USA static 7015", - ["heading"] = 6.169648830639, - ["country"] = "usa", + ["coalitionId"] = 2, ["coalition"] = "blue", - }, -- end of [7015] + ["groupName"] = "usa gnd 6", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -288765, + ["y"] = 693055, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 6 unit4", + ["unitId"] = 7014, + ["heading"] = 1.4977545807326, + ["skill"] = "Average", + }, -- end of [7014] [7001] = { + ["alt"] = 73, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692951.80504833, - ["x"] = -288112.04900582, + ["y"] = 692297, + ["x"] = -283873, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["groupId"] = 7001, + ["coalitionId"] = 2, ["coalition"] = "blue", - ["unitId"] = 7001, - ["heading"] = 1.4977557614926, + ["groupName"] = "usa gnd 2", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -283873, + ["y"] = 692297, ["category"] = "vehicle", ["unitName"] = "usa gnd 2 unit1", - ["groupName"] = "usa gnd 2", - ["countryId"] = 2, - ["groupId"] = 7001, + ["unitId"] = 7001, + ["heading"] = 1.4977603826792, + ["skill"] = "Average", }, -- end of [7001] [7002] = { + ["alt"] = 73, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692984.63711165, - ["x"] = -288136.26599616, + ["y"] = 692378, + ["x"] = -283913, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["groupId"] = 7001, + ["coalitionId"] = 2, ["coalition"] = "blue", - ["unitId"] = 7002, - ["heading"] = 1.4977557614926, + ["groupName"] = "usa gnd 2", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -283913, + ["y"] = 692378, ["category"] = "vehicle", ["unitName"] = "usa gnd 2 unit2", - ["groupName"] = "usa gnd 2", - ["countryId"] = 2, - ["groupId"] = 7001, + ["unitId"] = 7002, + ["heading"] = 1.4977610327793, + ["skill"] = "Average", }, -- end of [7002] [7003] = { + ["alt"] = 72, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692996.24632438, - ["x"] = -288123.02974075, + ["y"] = 692136, + ["x"] = -283991, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["groupId"] = 7001, + ["coalitionId"] = 2, ["coalition"] = "blue", - ["unitId"] = 7003, - ["heading"] = 1.4977557614926, + ["groupName"] = "usa gnd 2", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -283991, + ["y"] = 692136, ["category"] = "vehicle", ["unitName"] = "usa gnd 2 unit3", - ["groupName"] = "usa gnd 2", - ["countryId"] = 2, - ["groupId"] = 7001, + ["unitId"] = 7003, + ["heading"] = 1.4977579653353, + ["skill"] = "Average", }, -- end of [7003] [7004] = { + ["alt"] = 73, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692886.94679558, - ["x"] = -287976.47272972, + ["y"] = 692340, + ["x"] = -283878, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["groupId"] = 7001, + ["coalitionId"] = 2, ["coalition"] = "blue", - ["unitId"] = 7004, - ["heading"] = 1.4977557614926, + ["groupName"] = "usa gnd 2", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -283878, + ["y"] = 692340, ["category"] = "vehicle", ["unitName"] = "usa gnd 2 unit4", - ["groupName"] = "usa gnd 2", - ["countryId"] = 2, - ["groupId"] = 7001, + ["unitId"] = 7004, + ["heading"] = 1.4977603826792, + ["skill"] = "Average", }, -- end of [7004] - [7005] = - { - ["alt"] = 69, - ["type"] = "Container red 1", - ["point"] = - { - ["y"] = 690925, - ["x"] = -285115, - }, -- end of ["point"] - ["groupId"] = 7005, - ["groupName"] = "USA static 7005", - ["countryId"] = 2, - ["unitId"] = 7005, - ["category"] = "ship", - ["unitName"] = "USA static 7005", - ["heading"] = 6.1694608363366, - ["country"] = "usa", - ["coalition"] = "blue", - }, -- end of [7005] } -- end of unitsById diff --git a/Example DBs/mist_DBs_unitsByName.lua b/Example DBs/mist_DBs_unitsByName.lua index c7e237e..e71dd84 100644 --- a/Example DBs/mist_DBs_unitsByName.lua +++ b/Example DBs/mist_DBs_unitsByName.lua @@ -3,7 +3,7 @@ unitsByName = ["RuTent1"] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 617962.85714285, @@ -12,94 +12,138 @@ unitsByName = ["groupId"] = 18, ["groupName"] = "RuTent1", ["countryId"] = 2, - ["unitId"] = 40, + ["coalition"] = "red", + ["x"] = -258642.85714286, + ["y"] = 617962.85714285, ["category"] = "static", ["unitName"] = "RuTent1", - ["type"] = "FARP Tent", ["country"] = "russia", - ["coalition"] = "red", + ["heading"] = 0, + ["unitId"] = 40, }, -- end of ["RuTent1"] ["USTanks1_1"] = { - ["type"] = "M-1 Abrams", + ["heading"] = 0, ["point"] = { ["y"] = 639800, ["x"] = -294685.71428571, }, -- end of ["point"] ["groupId"] = 11, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 639800, ["coalition"] = "blue", ["groupName"] = "USTanks1", - ["heading"] = 0, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -294685.71428571, + ["unitId"] = 19, ["category"] = "vehicle", ["unitName"] = "USTanks1_1", ["playerCanDrive"] = true, - ["unitId"] = 19, ["country"] = "usa", + ["skill"] = "Average", }, -- end of ["USTanks1_1"] + ["usa gnd 6 unit1"] = + { + ["alt"] = 65, + ["type"] = "M-1 Abrams", + ["point"] = + { + ["y"] = 692970, + ["x"] = -288880, + }, -- end of ["point"] + ["groupId"] = 7005, + ["coalitionId"] = 2, + ["coalition"] = "blue", + ["groupName"] = "usa gnd 6", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -288880, + ["y"] = 692970, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 6 unit1", + ["unitId"] = 7011, + ["heading"] = 1.4977545807326, + ["skill"] = "Average", + }, -- end of ["usa gnd 6 unit1"] ["USTanks2_4"] = { - ["type"] = "M-1 Abrams", + ["heading"] = 1.4977557614926, ["point"] = { ["y"] = 653291.42857143, ["x"] = -293205.71428571, }, -- end of ["point"] ["groupId"] = 12, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 653291.42857143, ["coalition"] = "blue", ["groupName"] = "USTanks2", - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -293205.71428571, + ["unitId"] = 26, ["category"] = "vehicle", ["unitName"] = "USTanks2_4", ["playerCanDrive"] = true, - ["unitId"] = 26, ["country"] = "usa", + ["skill"] = "Average", }, -- end of ["USTanks2_4"] ["A-10C Client #1"] = { ["alt"] = 2000, - ["heading"] = -0.67060113146646, ["point"] = { ["y"] = 636428.57142857, ["x"] = -318142.85714286, }, -- end of ["point"] - ["groupId"] = 6, ["alt_type"] = "BARO", ["livery_id"] = "104th FS Maryland ANG, Baltimore (MD)", - ["skill"] = "Client", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 138.88888888889, - ["country"] = "usa", + ["onboard_num"] = "52", ["category"] = "plane", - ["unitName"] = "A-10C Client #1", + ["speed"] = 138.88888888889, ["type"] = "A-10C", - ["unitId"] = 11, + ["country"] = "usa", + ["psi"] = 0.67060113146646, + ["unitName"] = "A-10C Client #1", ["groupName"] = "A-10C Client #1", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -318142.85714286, + ["y"] = 636428.57142857, + ["unitId"] = 11, + ["heading"] = -0.67060113146646, + ["skill"] = "Client", + ["callsign"] = + { + [1] = 3, + [2] = 1, + [3] = 1, + ["name"] = "Uzi11", + }, -- end of ["callsign"] + ["groupId"] = 6, }, -- end of ["A-10C Client #1"] ["usa gnd 2 unit4"] = { + ["alt"] = 73, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692886.94679558, - ["x"] = -287976.47272972, + ["y"] = 692340, + ["x"] = -283878, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["groupId"] = 7001, + ["coalitionId"] = 2, ["coalition"] = "blue", - ["unitId"] = 7004, - ["heading"] = 1.4977557614926, + ["groupName"] = "usa gnd 2", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -283878, + ["y"] = 692340, ["category"] = "vehicle", ["unitName"] = "usa gnd 2 unit4", - ["groupName"] = "usa gnd 2", - ["countryId"] = 2, - ["groupId"] = 7001, + ["unitId"] = 7004, + ["heading"] = 1.4977603826792, + ["skill"] = "Average", }, -- end of ["usa gnd 2 unit4"] ["1ship2"] = { @@ -110,15 +154,17 @@ unitsByName = ["x"] = -35085.714285714, }, -- end of ["point"] ["groupId"] = 9, + ["y"] = 200800, ["skill"] = "Average", ["coalition"] = "red", ["countryId"] = 2, - ["groupName"] = "Rus Ships #1", + ["x"] = -35085.714285714, + ["unitId"] = 16, ["category"] = "ship", ["unitName"] = "1ship2", - ["country"] = "russia", ["heading"] = 0, - ["unitId"] = 16, + ["country"] = "russia", + ["groupName"] = "Rus Ships #1", }, -- end of ["1ship2"] ["2ship1"] = { @@ -129,15 +175,17 @@ unitsByName = ["x"] = -86428.571428571, }, -- end of ["point"] ["groupId"] = 10, + ["y"] = 73571.428571428, ["skill"] = "Average", ["coalition"] = "red", ["countryId"] = 2, - ["groupName"] = "Rus Ships #2", + ["x"] = -86428.571428571, + ["unitId"] = 17, ["category"] = "ship", ["unitName"] = "2ship1", - ["country"] = "russia", ["heading"] = 1.1755995276042, - ["unitId"] = 17, + ["country"] = "russia", + ["groupName"] = "Rus Ships #2", }, -- end of ["2ship1"] ["1ship1"] = { @@ -148,121 +196,100 @@ unitsByName = ["x"] = -34285.714285714, }, -- end of ["point"] ["groupId"] = 9, + ["y"] = 200000, ["skill"] = "Average", ["coalition"] = "red", ["countryId"] = 2, - ["groupName"] = "Rus Ships #1", + ["x"] = -34285.714285714, + ["unitId"] = 15, ["category"] = "ship", ["unitName"] = "1ship1", - ["country"] = "russia", ["heading"] = 0, - ["unitId"] = 15, + ["country"] = "russia", + ["groupName"] = "Rus Ships #1", }, -- end of ["1ship1"] - ["usa gnd 2 unit1"] = - { - ["type"] = "M-1 Abrams", - ["point"] = - { - ["y"] = 692951.80504833, - ["x"] = -288112.04900582, - }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", - ["coalition"] = "blue", - ["unitId"] = 7001, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 2 unit1", - ["groupName"] = "usa gnd 2", - ["countryId"] = 2, - ["groupId"] = 7001, - }, -- end of ["usa gnd 2 unit1"] ["RuBTRs2"] = { - ["type"] = "BTR-80", + ["heading"] = -1.7994767003775, ["point"] = { ["y"] = 654585.71428571, ["x"] = -292882.85714286, }, -- end of ["point"] ["groupId"] = 13, - ["skill"] = "Average", - ["countryId"] = 2, + ["y"] = 654585.71428571, ["coalition"] = "red", ["groupName"] = "RuBTRs", - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", + ["countryId"] = 2, + ["x"] = -292882.85714286, + ["unitId"] = 28, ["category"] = "vehicle", ["unitName"] = "RuBTRs2", ["playerCanDrive"] = true, - ["unitId"] = 28, ["country"] = "russia", + ["skill"] = "Average", }, -- end of ["RuBTRs2"] - ["USA static 7010"] = - { - ["alt"] = 66, - ["type"] = "Container red 1", - ["point"] = - { - ["y"] = 692491, - ["x"] = -287269, - }, -- end of ["point"] - ["groupId"] = 7010, - ["groupName"] = "USA static 7010", - ["countryId"] = 2, - ["unitId"] = 7010, - ["category"] = "ship", - ["unitName"] = "USA static 7010", - ["heading"] = 6.1693154268268, - ["country"] = "usa", - ["coalition"] = "blue", - }, -- end of ["USA static 7010"] ["AH-1s_1_1"] = { ["alt"] = 500, - ["heading"] = 0.017389551289373, ["point"] = { ["y"] = 631857.14285714, ["x"] = -297857.14285714, }, -- end of ["point"] - ["groupId"] = 1, ["alt_type"] = "BARO", ["livery_id"] = "standard", - ["skill"] = "High", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 55.555555555556, - ["country"] = "usa", + ["onboard_num"] = "50", ["category"] = "helicopter", - ["unitName"] = "AH-1s_1_1", + ["speed"] = 55.555555555556, ["type"] = "AH-1W", - ["unitId"] = 1, + ["country"] = "usa", + ["psi"] = -0.017389551289373, + ["unitName"] = "AH-1s_1_1", ["groupName"] = "AH-1s_1", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -297857.14285714, + ["y"] = 631857.14285714, + ["unitId"] = 1, + ["heading"] = 0.017389551289373, + ["skill"] = "High", + ["callsign"] = + { + [1] = 1, + [2] = 1, + [3] = 1, + ["name"] = "Enfield11", + }, -- end of ["callsign"] + ["groupId"] = 1, }, -- end of ["AH-1s_1_1"] ["USTanks2_3"] = { - ["type"] = "M-1 Abrams", + ["heading"] = 1.4977557614926, ["point"] = { ["y"] = 653251.42857143, ["x"] = -293165.71428571, }, -- end of ["point"] ["groupId"] = 12, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 653251.42857143, ["coalition"] = "blue", ["groupName"] = "USTanks2", - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -293165.71428571, + ["unitId"] = 25, ["category"] = "vehicle", ["unitName"] = "USTanks2_3", ["playerCanDrive"] = true, - ["unitId"] = 25, ["country"] = "usa", + ["skill"] = "Average", }, -- end of ["USTanks2_3"] ["tent1"] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 636248.57142857, @@ -271,17 +298,19 @@ unitsByName = ["groupId"] = 15, ["groupName"] = "tent1", ["countryId"] = 11, - ["unitId"] = 37, + ["coalition"] = "blue", + ["x"] = -300871.42857143, + ["y"] = 636248.57142857, ["category"] = "static", ["unitName"] = "tent1", - ["type"] = "FARP Tent", ["country"] = "usa", - ["coalition"] = "blue", + ["heading"] = 0, + ["unitId"] = 37, }, -- end of ["tent1"] ["static"] = { ["shape_name"] = "konteiner_red1", - ["heading"] = 0, + ["type"] = "Container red 1", ["point"] = { ["y"] = 684605.71428571, @@ -290,187 +319,172 @@ unitsByName = ["groupId"] = 30, ["groupName"] = "static", ["countryId"] = 11, - ["unitId"] = 44, + ["coalition"] = "blue", + ["x"] = -279949.99999999, + ["y"] = 684605.71428571, ["category"] = "static", ["unitName"] = "static", - ["type"] = "Container red 1", ["country"] = "usa", - ["coalition"] = "blue", + ["heading"] = 0, + ["unitId"] = 44, }, -- end of ["static"] - ["usa gnd 4 unit4"] = + ["usa gnd 6 unit3"] = { + ["alt"] = 65, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 690430.82466041, - ["x"] = -287068.46280196, + ["y"] = 692855, + ["x"] = -288930, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", - ["coalition"] = "blue", - ["unitId"] = 7014, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 4 unit4", - ["groupName"] = "usa gnd 4", - ["countryId"] = 2, ["groupId"] = 7005, - }, -- end of ["usa gnd 4 unit4"] - ["usa gnd 4 unit3"] = - { - ["type"] = "M-1 Abrams", - ["point"] = - { - ["y"] = 690419.49528366, - ["x"] = -287149.74499211, - }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["coalitionId"] = 2, ["coalition"] = "blue", + ["groupName"] = "usa gnd 6", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -288930, + ["y"] = 692855, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 6 unit3", ["unitId"] = 7013, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 4 unit3", - ["groupName"] = "usa gnd 4", - ["countryId"] = 2, - ["groupId"] = 7005, - }, -- end of ["usa gnd 4 unit3"] + ["heading"] = 1.4977545807326, + ["skill"] = "Average", + }, -- end of ["usa gnd 6 unit3"] ["RuBTRs4"] = { - ["type"] = "BTR-80", + ["heading"] = -1.7994767003775, ["point"] = { ["y"] = 654665.71428571, ["x"] = -292962.85714286, }, -- end of ["point"] ["groupId"] = 13, - ["skill"] = "Average", - ["countryId"] = 2, + ["y"] = 654665.71428571, ["coalition"] = "red", ["groupName"] = "RuBTRs", - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", + ["countryId"] = 2, + ["x"] = -292962.85714286, + ["unitId"] = 30, ["category"] = "vehicle", ["unitName"] = "RuBTRs4", ["playerCanDrive"] = true, - ["unitId"] = 30, ["country"] = "russia", + ["skill"] = "Average", }, -- end of ["RuBTRs4"] ["USTanks2_1"] = { - ["type"] = "M-1 Abrams", + ["heading"] = 1.4977557614926, ["point"] = { ["y"] = 653171.42857143, ["x"] = -293085.71428571, }, -- end of ["point"] ["groupId"] = 12, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 653171.42857143, ["coalition"] = "blue", ["groupName"] = "USTanks2", - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -293085.71428571, + ["unitId"] = 23, ["category"] = "vehicle", ["unitName"] = "USTanks2_1", ["playerCanDrive"] = true, - ["unitId"] = 23, ["country"] = "usa", + ["skill"] = "Average", }, -- end of ["USTanks2_1"] ["USTanks1_2"] = { - ["type"] = "M-1 Abrams", + ["heading"] = 0, ["point"] = { ["y"] = 639840, ["x"] = -294725.71428571, }, -- end of ["point"] ["groupId"] = 11, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 639840, ["coalition"] = "blue", ["groupName"] = "USTanks1", - ["heading"] = 0, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -294725.71428571, + ["unitId"] = 20, ["category"] = "vehicle", ["unitName"] = "USTanks1_2", ["playerCanDrive"] = true, - ["unitId"] = 20, ["country"] = "usa", + ["skill"] = "Average", }, -- end of ["USTanks1_2"] - ["USA static 7005"] = - { - ["alt"] = 69, - ["type"] = "Container red 1", - ["point"] = - { - ["y"] = 690925, - ["x"] = -285115, - }, -- end of ["point"] - ["groupId"] = 7005, - ["groupName"] = "USA static 7005", - ["countryId"] = 2, - ["unitId"] = 7005, - ["category"] = "ship", - ["unitName"] = "USA static 7005", - ["heading"] = 6.1694608363366, - ["country"] = "usa", - ["coalition"] = "blue", - }, -- end of ["USA static 7005"] - ["usa gnd 4 unit1"] = + ["usa gnd 6 unit4"] = { + ["alt"] = 65, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 690345.01202023, - ["x"] = -286996.80803754, + ["y"] = 693055, + ["x"] = -288765, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["groupId"] = 7005, + ["coalitionId"] = 2, ["coalition"] = "blue", - ["unitId"] = 7011, - ["heading"] = 1.4977557614926, + ["groupName"] = "usa gnd 6", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -288765, + ["y"] = 693055, ["category"] = "vehicle", - ["unitName"] = "usa gnd 4 unit1", + ["unitName"] = "usa gnd 6 unit4", + ["unitId"] = 7014, + ["heading"] = 1.4977545807326, + ["skill"] = "Average", + }, -- end of ["usa gnd 6 unit4"] + ["RuBTRs5"] = + { + ["heading"] = -1.7994767003775, + ["point"] = + { + ["y"] = 654705.71428571, + ["x"] = -293002.85714286, + }, -- end of ["point"] + ["groupId"] = 13, + ["y"] = 654705.71428571, + ["coalition"] = "red", + ["groupName"] = "RuBTRs", + ["type"] = "BTR-80", + ["countryId"] = 2, + ["x"] = -293002.85714286, + ["unitId"] = 31, + ["category"] = "vehicle", + ["unitName"] = "RuBTRs5", + ["playerCanDrive"] = true, + ["country"] = "russia", + ["skill"] = "Average", + }, -- end of ["RuBTRs5"] + ["usa gnd 4 unit4"] = + { + ["alt"] = 68, + ["type"] = "M-1 Abrams", + ["point"] = + { + ["y"] = 690920, + ["x"] = -285485, + }, -- end of ["point"] + ["groupId"] = 7003, + ["coalitionId"] = 2, + ["coalition"] = "blue", ["groupName"] = "usa gnd 4", - ["countryId"] = 2, - ["groupId"] = 7005, - }, -- end of ["usa gnd 4 unit1"] - ["usa gnd 3 unit4"] = - { - ["type"] = "M-1 Abrams", - ["point"] = - { - ["y"] = 692423.17192305, - ["x"] = -283793.86944615, - }, -- end of ["point"] ["country"] = "usa", - ["skill"] = "Average", - ["coalition"] = "blue", + ["countryId"] = 2, + ["x"] = -285485, + ["y"] = 690920, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 4 unit4", ["unitId"] = 7009, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 3 unit4", - ["groupName"] = "usa gnd 3", - ["countryId"] = 2, - ["groupId"] = 7003, - }, -- end of ["usa gnd 3 unit4"] - ["usa gnd 3 unit3"] = - { - ["type"] = "M-1 Abrams", - ["point"] = - { - ["y"] = 692416.6568865, - ["x"] = -284022.73058924, - }, -- end of ["point"] - ["country"] = "usa", + ["heading"] = 1.4977598003676, ["skill"] = "Average", - ["coalition"] = "blue", - ["unitId"] = 7008, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 3 unit3", - ["groupName"] = "usa gnd 3", - ["countryId"] = 2, - ["groupId"] = 7003, - }, -- end of ["usa gnd 3 unit3"] + }, -- end of ["usa gnd 4 unit4"] ["US Ship #2"] = { ["type"] = "TICONDEROG", @@ -480,63 +494,78 @@ unitsByName = ["x"] = -356085.71428571, }, -- end of ["point"] ["groupId"] = 8, + ["y"] = 444657.14285714, ["skill"] = "Average", ["coalition"] = "blue", ["countryId"] = 11, - ["groupName"] = "US Ships", + ["x"] = -356085.71428571, + ["unitId"] = 14, ["category"] = "ship", ["unitName"] = "US Ship #2", - ["country"] = "usa", ["heading"] = 0, - ["unitId"] = 14, + ["country"] = "usa", + ["groupName"] = "US Ships", }, -- end of ["US Ship #2"] ["A-10C Client #2"] = { ["alt"] = 2000, - ["heading"] = -0.66079849060746, ["point"] = { ["y"] = 644428.57142857, ["x"] = -315857.14285714, }, -- end of ["point"] - ["groupId"] = 7, ["alt_type"] = "BARO", ["livery_id"] = "104th FS Maryland ANG, Baltimore (MD)", - ["skill"] = "Client", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 138.88888888889, - ["country"] = "usa", + ["onboard_num"] = "52", ["category"] = "plane", - ["unitName"] = "A-10C Client #2", + ["speed"] = 138.88888888889, ["type"] = "A-10C", - ["unitId"] = 12, + ["country"] = "usa", + ["psi"] = 0.66079849060746, + ["unitName"] = "A-10C Client #2", ["groupName"] = "A-10C Client #2", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -315857.14285714, + ["y"] = 644428.57142857, + ["unitId"] = 12, + ["heading"] = -0.66079849060746, + ["skill"] = "Client", + ["callsign"] = + { + [1] = 3, + [2] = 1, + [3] = 1, + ["name"] = "Uzi11", + }, -- end of ["callsign"] + ["groupId"] = 7, }, -- end of ["A-10C Client #2"] ["USTanks1_3"] = { - ["type"] = "M-1 Abrams", + ["heading"] = 0, ["point"] = { ["y"] = 639880, ["x"] = -294765.71428571, }, -- end of ["point"] ["groupId"] = 11, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 639880, ["coalition"] = "blue", ["groupName"] = "USTanks1", - ["heading"] = 0, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -294765.71428571, + ["unitId"] = 21, ["category"] = "vehicle", ["unitName"] = "USTanks1_3", ["playerCanDrive"] = true, - ["unitId"] = 21, ["country"] = "usa", + ["skill"] = "Average", }, -- end of ["USTanks1_3"] ["RuTent2"] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 617691.42857143, @@ -545,348 +574,425 @@ unitsByName = ["groupId"] = 19, ["groupName"] = "RuTent2", ["countryId"] = 2, - ["unitId"] = 41, + ["coalition"] = "red", + ["x"] = -259071.42857143, + ["y"] = 617691.42857143, ["category"] = "static", ["unitName"] = "RuTent2", - ["type"] = "FARP Tent", ["country"] = "russia", - ["coalition"] = "red", + ["heading"] = 0, + ["unitId"] = 41, }, -- end of ["RuTent2"] - ["usa gnd 3 unit2"] = + ["usa gnd 4 unit3"] = { + ["alt"] = 68, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692374.68565784, - ["x"] = -283846.9396746, + ["y"] = 690825, + ["x"] = -285472, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", - ["coalition"] = "blue", - ["unitId"] = 7007, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 3 unit2", - ["groupName"] = "usa gnd 3", - ["countryId"] = 2, ["groupId"] = 7003, - }, -- end of ["usa gnd 3 unit2"] + ["coalitionId"] = 2, + ["coalition"] = "blue", + ["groupName"] = "usa gnd 4", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -285472, + ["y"] = 690825, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 4 unit3", + ["unitId"] = 7008, + ["heading"] = 1.4977598003676, + ["skill"] = "Average", + }, -- end of ["usa gnd 4 unit3"] ["usa gnd 2 unit2"] = { + ["alt"] = 73, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692984.63711165, - ["x"] = -288136.26599616, + ["y"] = 692378, + ["x"] = -283913, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["groupId"] = 7001, + ["coalitionId"] = 2, ["coalition"] = "blue", - ["unitId"] = 7002, - ["heading"] = 1.4977557614926, + ["groupName"] = "usa gnd 2", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -283913, + ["y"] = 692378, ["category"] = "vehicle", ["unitName"] = "usa gnd 2 unit2", - ["groupName"] = "usa gnd 2", - ["countryId"] = 2, - ["groupId"] = 7001, + ["unitId"] = 7002, + ["heading"] = 1.4977610327793, + ["skill"] = "Average", }, -- end of ["usa gnd 2 unit2"] - ["usa gnd 3 unit1"] = + ["usa gnd 4 unit1"] = { + ["alt"] = 68, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692301.85580476, - ["x"] = -283925.5171695, + ["y"] = 690998, + ["x"] = -285539, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", - ["coalition"] = "blue", - ["unitId"] = 7006, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 3 unit1", - ["groupName"] = "usa gnd 3", - ["countryId"] = 2, ["groupId"] = 7003, - }, -- end of ["usa gnd 3 unit1"] + ["coalitionId"] = 2, + ["coalition"] = "blue", + ["groupName"] = "usa gnd 4", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -285539, + ["y"] = 690998, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 4 unit1", + ["unitId"] = 7006, + ["heading"] = 1.4977591325037, + ["skill"] = "Average", + }, -- end of ["usa gnd 4 unit1"] ["F-15C Client #2"] = { ["alt"] = 2000, - ["heading"] = -0.57883789069348, ["point"] = { ["y"] = 668428.57142857, ["x"] = -287000, }, -- end of ["point"] - ["groupId"] = 5, ["alt_type"] = "BARO", ["livery_id"] = "19th Fighter SQN (AK)", - ["skill"] = "Client", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 138.88888888889, - ["country"] = "usa", + ["onboard_num"] = "10", ["category"] = "plane", - ["unitName"] = "F-15C Client #2", + ["speed"] = 138.88888888889, ["type"] = "F-15C", - ["unitId"] = 10, + ["country"] = "usa", + ["psi"] = 0.57883789069348, + ["unitName"] = "F-15C Client #2", ["groupName"] = "F-15C Client #2", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -287000, + ["y"] = 668428.57142857, + ["unitId"] = 10, + ["heading"] = -0.57883789069348, + ["skill"] = "Client", + ["callsign"] = + { + [1] = 2, + [2] = 1, + [3] = 1, + ["name"] = "Springfield11", + }, -- end of ["callsign"] + ["groupId"] = 5, }, -- end of ["F-15C Client #2"] ["usa gnd 4 unit2"] = { + ["alt"] = 68, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 690495.78308897, - ["x"] = -287119.30705856, + ["y"] = 690984, + ["x"] = -285610, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["groupId"] = 7003, + ["coalitionId"] = 2, ["coalition"] = "blue", - ["unitId"] = 7012, - ["heading"] = 1.4977557614926, + ["groupName"] = "usa gnd 4", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -285610, + ["y"] = 690984, ["category"] = "vehicle", ["unitName"] = "usa gnd 4 unit2", - ["groupName"] = "usa gnd 4", - ["countryId"] = 2, - ["groupId"] = 7005, + ["unitId"] = 7007, + ["heading"] = 1.4977589159233, + ["skill"] = "Average", }, -- end of ["usa gnd 4 unit2"] ["RuBTRs6"] = { - ["type"] = "BTR-80", + ["heading"] = -1.7994767003775, ["point"] = { ["y"] = 654745.71428571, ["x"] = -293042.85714286, }, -- end of ["point"] ["groupId"] = 13, - ["skill"] = "Average", - ["countryId"] = 2, + ["y"] = 654745.71428571, ["coalition"] = "red", ["groupName"] = "RuBTRs", - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", + ["countryId"] = 2, + ["x"] = -293042.85714286, + ["unitId"] = 32, ["category"] = "vehicle", ["unitName"] = "RuBTRs6", ["playerCanDrive"] = true, - ["unitId"] = 32, ["country"] = "russia", + ["skill"] = "Average", }, -- end of ["RuBTRs6"] ["RuTanks3"] = { - ["type"] = "T-55", + ["heading"] = 0, ["point"] = { ["y"] = 628757.14285714, ["x"] = -273522.85714286, }, -- end of ["point"] ["groupId"] = 14, - ["skill"] = "Excellent", - ["countryId"] = 2, + ["y"] = 628757.14285714, ["coalition"] = "red", ["groupName"] = "RuTanks", - ["heading"] = 0, + ["type"] = "T-55", + ["countryId"] = 2, + ["x"] = -273522.85714286, + ["unitId"] = 35, ["category"] = "vehicle", ["unitName"] = "RuTanks3", ["playerCanDrive"] = true, - ["unitId"] = 35, ["country"] = "russia", + ["skill"] = "Excellent", }, -- end of ["RuTanks3"] ["USTanks2_2"] = { - ["type"] = "M-1 Abrams", + ["heading"] = 1.4977557614926, ["point"] = { ["y"] = 653211.42857143, ["x"] = -293125.71428571, }, -- end of ["point"] ["groupId"] = 12, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 653211.42857143, ["coalition"] = "blue", ["groupName"] = "USTanks2", - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -293125.71428571, + ["unitId"] = 24, ["category"] = "vehicle", ["unitName"] = "USTanks2_2", ["playerCanDrive"] = true, - ["unitId"] = 24, ["country"] = "usa", + ["skill"] = "Average", }, -- end of ["USTanks2_2"] ["Ka-50s_1_1"] = { ["alt"] = 500, - ["heading"] = 2.5953630185698, ["point"] = { ["y"] = 615000, ["x"] = -237571.42857143, }, -- end of ["point"] - ["groupId"] = 2, ["alt_type"] = "BARO", ["livery_id"] = "Russia Demo #024", - ["skill"] = "High", - ["countryId"] = 2, - ["coalition"] = "red", - ["speed"] = 55.555555555556, - ["country"] = "russia", + ["onboard_num"] = "50", ["category"] = "helicopter", - ["unitName"] = "Ka-50s_1_1", + ["speed"] = 55.555555555556, ["type"] = "Ka-50", - ["unitId"] = 3, + ["country"] = "russia", + ["psi"] = -2.5953630185698, + ["unitName"] = "Ka-50s_1_1", ["groupName"] = "Ka-50s_1", + ["coalition"] = "red", + ["countryId"] = 2, + ["x"] = -237571.42857143, + ["y"] = 615000, + ["unitId"] = 3, + ["heading"] = 2.5953630185698, + ["skill"] = "High", + ["callsign"] = 100, + ["groupId"] = 2, }, -- end of ["Ka-50s_1_1"] - ["USA static 7015"] = + ["usa gnd 2 unit1"] = { - ["alt"] = 64, - ["type"] = "Container red 1", + ["alt"] = 73, + ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 689768, - ["x"] = -285807, + ["y"] = 692297, + ["x"] = -283873, }, -- end of ["point"] - ["groupId"] = 7015, - ["groupName"] = "USA static 7015", - ["countryId"] = 2, - ["unitId"] = 7015, - ["category"] = "ship", - ["unitName"] = "USA static 7015", - ["heading"] = 6.169648830639, - ["country"] = "usa", + ["groupId"] = 7001, + ["coalitionId"] = 2, ["coalition"] = "blue", - }, -- end of ["USA static 7015"] + ["groupName"] = "usa gnd 2", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -283873, + ["y"] = 692297, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 2 unit1", + ["unitId"] = 7001, + ["heading"] = 1.4977603826792, + ["skill"] = "Average", + }, -- end of ["usa gnd 2 unit1"] ["Mi-8s_1_1 #1"] = { ["alt"] = 500, - ["heading"] = 2.6119254271103, ["point"] = { ["y"] = 603325.71428571, ["x"] = -243325.71428571, }, -- end of ["point"] - ["groupId"] = 3, ["alt_type"] = "BARO", ["livery_id"] = "Russia", - ["skill"] = "Random", - ["countryId"] = 2, - ["coalition"] = "red", - ["speed"] = 55.555555555556, - ["country"] = "russia", + ["onboard_num"] = "53", ["category"] = "helicopter", - ["unitName"] = "Mi-8s_1_1 #1", + ["speed"] = 55.555555555556, ["type"] = "Mi-8MT", - ["unitId"] = 6, + ["country"] = "russia", + ["psi"] = -2.6119254271103, + ["unitName"] = "Mi-8s_1_1 #1", ["groupName"] = "Mi-8s_1", + ["coalition"] = "red", + ["countryId"] = 2, + ["x"] = -243325.71428571, + ["y"] = 603325.71428571, + ["unitId"] = 6, + ["heading"] = 2.6119254271103, + ["skill"] = "Random", + ["callsign"] = 102, + ["groupId"] = 3, }, -- end of ["Mi-8s_1_1 #1"] ["Su-33 Client #1"] = { ["alt"] = 2000, - ["heading"] = 0, ["point"] = { ["y"] = 590391.42857142, ["x"] = -250185.71428571, }, -- end of ["point"] - ["groupId"] = 20, ["alt_type"] = "BARO", ["livery_id"] = "279th kiap 1st squad navy", - ["skill"] = "Client", - ["countryId"] = 2, - ["coalition"] = "red", - ["speed"] = 138.88888888889, - ["country"] = "russia", + ["onboard_num"] = "53", ["category"] = "plane", - ["unitName"] = "Su-33 Client #1", + ["speed"] = 138.88888888889, ["type"] = "Su-33", - ["unitId"] = 42, + ["country"] = "russia", + ["psi"] = 0, + ["unitName"] = "Su-33 Client #1", ["groupName"] = "Su-33 Client #1", + ["coalition"] = "red", + ["countryId"] = 2, + ["x"] = -250185.71428571, + ["y"] = 590391.42857142, + ["unitId"] = 42, + ["heading"] = 0, + ["skill"] = "Client", + ["callsign"] = 104, + ["groupId"] = 20, }, -- end of ["Su-33 Client #1"] ["Ka-50s_1_2"] = { ["alt"] = 500, - ["heading"] = 2.5953630185698, ["point"] = { ["y"] = 615040, ["x"] = -237611.42857143, }, -- end of ["point"] - ["groupId"] = 2, ["alt_type"] = "BARO", ["livery_id"] = "Russia Demo #024", - ["skill"] = "High", - ["countryId"] = 2, - ["coalition"] = "red", - ["speed"] = 55.555555555556, - ["country"] = "russia", + ["onboard_num"] = "51", ["category"] = "helicopter", - ["unitName"] = "Ka-50s_1_2", + ["speed"] = 55.555555555556, ["type"] = "Ka-50", - ["unitId"] = 4, + ["country"] = "russia", + ["psi"] = -2.5953630185698, + ["unitName"] = "Ka-50s_1_2", ["groupName"] = "Ka-50s_1", + ["coalition"] = "red", + ["countryId"] = 2, + ["x"] = -237611.42857143, + ["y"] = 615040, + ["unitId"] = 4, + ["heading"] = 2.5953630185698, + ["skill"] = "High", + ["callsign"] = 101, + ["groupId"] = 2, }, -- end of ["Ka-50s_1_2"] ["USTanks1_4"] = { - ["type"] = "M-1 Abrams", + ["heading"] = 0, ["point"] = { ["y"] = 639920, ["x"] = -294805.71428571, }, -- end of ["point"] ["groupId"] = 11, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 639920, ["coalition"] = "blue", ["groupName"] = "USTanks1", - ["heading"] = 0, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -294805.71428571, + ["unitId"] = 22, ["category"] = "vehicle", ["unitName"] = "USTanks1_4", ["playerCanDrive"] = true, - ["unitId"] = 22, ["country"] = "usa", + ["skill"] = "Average", }, -- end of ["USTanks1_4"] ["AH-1s_1_2"] = { ["alt"] = 500, - ["heading"] = 0.017389551289373, ["point"] = { ["y"] = 631897.14285714, ["x"] = -297897.14285714, }, -- end of ["point"] - ["groupId"] = 1, ["alt_type"] = "BARO", ["livery_id"] = "standard", - ["skill"] = "High", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 55.555555555556, - ["country"] = "usa", + ["onboard_num"] = "51", ["category"] = "helicopter", - ["unitName"] = "AH-1s_1_2", + ["speed"] = 55.555555555556, ["type"] = "AH-1W", - ["unitId"] = 2, + ["country"] = "usa", + ["psi"] = -0.017389551289373, + ["unitName"] = "AH-1s_1_2", ["groupName"] = "AH-1s_1", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -297897.14285714, + ["y"] = 631897.14285714, + ["unitId"] = 2, + ["heading"] = 0.017389551289373, + ["skill"] = "High", + ["callsign"] = + { + [1] = 1, + [2] = 1, + [3] = 2, + ["name"] = "Enfield12", + }, -- end of ["callsign"] + ["groupId"] = 1, }, -- end of ["AH-1s_1_2"] ["Mi-8s_1_1"] = { ["alt"] = 500, - ["heading"] = 2.6119254271103, ["point"] = { ["y"] = 603285.71428571, ["x"] = -243285.71428571, }, -- end of ["point"] - ["groupId"] = 3, ["alt_type"] = "BARO", ["livery_id"] = "Russia", - ["skill"] = "Random", - ["countryId"] = 2, - ["coalition"] = "red", - ["speed"] = 55.555555555556, - ["country"] = "russia", + ["onboard_num"] = "52", ["category"] = "helicopter", - ["unitName"] = "Mi-8s_1_1", + ["speed"] = 55.555555555556, ["type"] = "Mi-8MT", - ["unitId"] = 5, + ["country"] = "russia", + ["psi"] = -2.6119254271103, + ["unitName"] = "Mi-8s_1_1", ["groupName"] = "Mi-8s_1", + ["coalition"] = "red", + ["countryId"] = 2, + ["x"] = -243285.71428571, + ["y"] = 603285.71428571, + ["unitId"] = 5, + ["heading"] = 2.6119254271103, + ["skill"] = "Random", + ["callsign"] = 103, + ["groupId"] = 3, }, -- end of ["Mi-8s_1_1"] ["US Ship #1"] = { @@ -897,123 +1003,144 @@ unitsByName = ["x"] = -355285.71428571, }, -- end of ["point"] ["groupId"] = 8, + ["y"] = 443857.14285714, ["skill"] = "Average", ["coalition"] = "blue", ["countryId"] = 11, - ["groupName"] = "US Ships", + ["x"] = -355285.71428571, + ["unitId"] = 13, ["category"] = "ship", ["unitName"] = "US Ship #1", - ["country"] = "usa", ["heading"] = 0, - ["unitId"] = 13, + ["country"] = "usa", + ["groupName"] = "US Ships", }, -- end of ["US Ship #1"] ["RuTanks4"] = { - ["type"] = "T-55", + ["heading"] = 0, ["point"] = { ["y"] = 628797.14285714, ["x"] = -273562.85714286, }, -- end of ["point"] ["groupId"] = 14, - ["skill"] = "Excellent", - ["countryId"] = 2, + ["y"] = 628797.14285714, ["coalition"] = "red", ["groupName"] = "RuTanks", - ["heading"] = 0, + ["type"] = "T-55", + ["countryId"] = 2, + ["x"] = -273562.85714286, + ["unitId"] = 36, ["category"] = "vehicle", ["unitName"] = "RuTanks4", ["playerCanDrive"] = true, - ["unitId"] = 36, ["country"] = "russia", + ["skill"] = "Excellent", }, -- end of ["RuTanks4"] ["RuTanks2"] = { - ["type"] = "T-55", + ["heading"] = 0, ["point"] = { ["y"] = 628717.14285714, ["x"] = -273482.85714286, }, -- end of ["point"] ["groupId"] = 14, - ["skill"] = "Excellent", - ["countryId"] = 2, + ["y"] = 628717.14285714, ["coalition"] = "red", ["groupName"] = "RuTanks", - ["heading"] = 0, + ["type"] = "T-55", + ["countryId"] = 2, + ["x"] = -273482.85714286, + ["unitId"] = 34, ["category"] = "vehicle", ["unitName"] = "RuTanks2", ["playerCanDrive"] = true, - ["unitId"] = 34, ["country"] = "russia", + ["skill"] = "Excellent", }, -- end of ["RuTanks2"] ["RuTanks1"] = { - ["type"] = "T-55", + ["heading"] = 0, ["point"] = { ["y"] = 628677.14285714, ["x"] = -273442.85714286, }, -- end of ["point"] ["groupId"] = 14, - ["skill"] = "Excellent", - ["countryId"] = 2, + ["y"] = 628677.14285714, ["coalition"] = "red", ["groupName"] = "RuTanks", - ["heading"] = 0, + ["type"] = "T-55", + ["countryId"] = 2, + ["x"] = -273442.85714286, + ["unitId"] = 33, ["category"] = "vehicle", ["unitName"] = "RuTanks1", ["playerCanDrive"] = true, - ["unitId"] = 33, ["country"] = "russia", + ["skill"] = "Excellent", }, -- end of ["RuTanks1"] ["RuBTRs3"] = { - ["type"] = "BTR-80", + ["heading"] = -1.7994767003775, ["point"] = { ["y"] = 654625.71428571, ["x"] = -292922.85714286, }, -- end of ["point"] ["groupId"] = 13, - ["skill"] = "Average", - ["countryId"] = 2, + ["y"] = 654625.71428571, ["coalition"] = "red", ["groupName"] = "RuBTRs", - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", + ["countryId"] = 2, + ["x"] = -292922.85714286, + ["unitId"] = 29, ["category"] = "vehicle", ["unitName"] = "RuBTRs3", ["playerCanDrive"] = true, - ["unitId"] = 29, ["country"] = "russia", + ["skill"] = "Average", }, -- end of ["RuBTRs3"] ["F-15C Client #1"] = { ["alt"] = 2000, - ["heading"] = -0.57883789069348, ["point"] = { ["y"] = 662142.85714286, ["x"] = -288142.85714286, }, -- end of ["point"] - ["groupId"] = 4, ["alt_type"] = "BARO", ["livery_id"] = "19th Fighter SQN (AK)", - ["skill"] = "Client", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 138.88888888889, - ["country"] = "usa", + ["onboard_num"] = "10", ["category"] = "plane", - ["unitName"] = "F-15C Client #1", + ["speed"] = 138.88888888889, ["type"] = "F-15C", - ["unitId"] = 8, + ["country"] = "usa", + ["psi"] = 0.57883789069348, + ["unitName"] = "F-15C Client #1", ["groupName"] = "F-15C Client #1", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -288142.85714286, + ["y"] = 662142.85714286, + ["unitId"] = 8, + ["heading"] = -0.57883789069348, + ["skill"] = "Client", + ["callsign"] = + { + [1] = 2, + [2] = 1, + [3] = 1, + ["name"] = "Springfield11", + }, -- end of ["callsign"] + ["groupId"] = 4, }, -- end of ["F-15C Client #1"] ["tent2"] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 638620, @@ -1022,52 +1149,61 @@ unitsByName = ["groupId"] = 16, ["groupName"] = "tent2", ["countryId"] = 11, - ["unitId"] = 38, + ["coalition"] = "blue", + ["x"] = -299814.28571429, + ["y"] = 638620, ["category"] = "static", ["unitName"] = "tent2", - ["type"] = "FARP Tent", ["country"] = "usa", - ["coalition"] = "blue", + ["heading"] = 0, + ["unitId"] = 38, }, -- end of ["tent2"] ["usa gnd 2 unit3"] = { + ["alt"] = 72, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692996.24632438, - ["x"] = -288123.02974075, + ["y"] = 692136, + ["x"] = -283991, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["groupId"] = 7001, + ["coalitionId"] = 2, ["coalition"] = "blue", - ["unitId"] = 7003, - ["heading"] = 1.4977557614926, + ["groupName"] = "usa gnd 2", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -283991, + ["y"] = 692136, ["category"] = "vehicle", ["unitName"] = "usa gnd 2 unit3", - ["groupName"] = "usa gnd 2", - ["countryId"] = 2, - ["groupId"] = 7001, + ["unitId"] = 7003, + ["heading"] = 1.4977579653353, + ["skill"] = "Average", }, -- end of ["usa gnd 2 unit3"] - ["RuBTRs5"] = + ["usa gnd 6 unit2"] = { - ["type"] = "BTR-80", + ["alt"] = 65, + ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 654705.71428571, - ["x"] = -293002.85714286, + ["y"] = 693075, + ["x"] = -288920, }, -- end of ["point"] - ["groupId"] = 13, - ["skill"] = "Average", + ["groupId"] = 7005, + ["coalitionId"] = 2, + ["coalition"] = "blue", + ["groupName"] = "usa gnd 6", + ["country"] = "usa", ["countryId"] = 2, - ["coalition"] = "red", - ["groupName"] = "RuBTRs", - ["heading"] = -1.7994767003775, + ["x"] = -288920, + ["y"] = 693075, ["category"] = "vehicle", - ["unitName"] = "RuBTRs5", - ["playerCanDrive"] = true, - ["unitId"] = 31, - ["country"] = "russia", - }, -- end of ["RuBTRs5"] + ["unitName"] = "usa gnd 6 unit2", + ["unitId"] = 7012, + ["heading"] = 1.4977545807326, + ["skill"] = "Average", + }, -- end of ["usa gnd 6 unit2"] ["2ship2"] = { ["type"] = "MOSCOW", @@ -1077,15 +1213,17 @@ unitsByName = ["x"] = -87228.571428571, }, -- end of ["point"] ["groupId"] = 10, + ["y"] = 74371.428571428, ["skill"] = "Average", ["coalition"] = "red", ["countryId"] = 2, - ["groupName"] = "Rus Ships #2", + ["x"] = -87228.571428571, + ["unitId"] = 18, ["category"] = "ship", ["unitName"] = "2ship2", - ["country"] = "russia", ["heading"] = 1.1755995276042, - ["unitId"] = 18, + ["country"] = "russia", + ["groupName"] = "Rus Ships #2", }, -- end of ["2ship2"] ["RU Farp"] = { @@ -1097,55 +1235,64 @@ unitsByName = }, -- end of ["point"] ["groupId"] = 17, ["groupName"] = "RU Farp", + ["countryId"] = 2, ["coalition"] = "red", - ["unitId"] = 39, + ["x"] = -258442.85714286, + ["y"] = 617591.42857143, ["category"] = "static", ["unitName"] = "RU Farp", - ["type"] = "FARP", - ["countryId"] = 2, ["country"] = "russia", + ["type"] = "FARP", + ["unitId"] = 39, }, -- end of ["RU Farp"] ["Su-33 Client #2"] = { ["alt"] = 2000, - ["heading"] = 0, ["point"] = { ["y"] = 597819.99999999, ["x"] = -235614.28571428, }, -- end of ["point"] - ["groupId"] = 21, ["alt_type"] = "BARO", ["livery_id"] = "279th kiap 1st squad navy", - ["skill"] = "Client", - ["countryId"] = 2, - ["coalition"] = "red", - ["speed"] = 138.88888888889, - ["country"] = "russia", + ["onboard_num"] = "53", ["category"] = "plane", - ["unitName"] = "Su-33 Client #2", + ["speed"] = 138.88888888889, ["type"] = "Su-33", - ["unitId"] = 43, + ["country"] = "russia", + ["psi"] = 0, + ["unitName"] = "Su-33 Client #2", ["groupName"] = "Su-33 Client #2", + ["coalition"] = "red", + ["countryId"] = 2, + ["x"] = -235614.28571428, + ["y"] = 597819.99999999, + ["unitId"] = 43, + ["heading"] = 0, + ["skill"] = "Client", + ["callsign"] = 104, + ["groupId"] = 21, }, -- end of ["Su-33 Client #2"] ["RuBTRs1"] = { - ["type"] = "BTR-80", + ["heading"] = -1.7994767003775, ["point"] = { ["y"] = 654545.71428571, ["x"] = -292842.85714286, }, -- end of ["point"] ["groupId"] = 13, - ["skill"] = "Average", - ["countryId"] = 2, + ["y"] = 654545.71428571, ["coalition"] = "red", ["groupName"] = "RuBTRs", - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", + ["countryId"] = 2, + ["x"] = -292842.85714286, + ["unitId"] = 27, ["category"] = "vehicle", ["unitName"] = "RuBTRs1", ["playerCanDrive"] = true, - ["unitId"] = 27, ["country"] = "russia", + ["skill"] = "Average", }, -- end of ["RuBTRs1"] } -- end of unitsByName diff --git a/Example DBs/mist_DBs_unitsByNum.lua b/Example DBs/mist_DBs_unitsByNum.lua index 8a42647..8a3f35b 100644 --- a/Example DBs/mist_DBs_unitsByNum.lua +++ b/Example DBs/mist_DBs_unitsByNum.lua @@ -9,15 +9,17 @@ unitsByNum = ["x"] = -355285.71428571, }, -- end of ["point"] ["groupId"] = 8, + ["y"] = 443857.14285714, ["skill"] = "Average", ["coalition"] = "blue", ["countryId"] = 11, - ["groupName"] = "US Ships", + ["x"] = -355285.71428571, + ["unitId"] = 13, ["category"] = "ship", ["unitName"] = "US Ship #1", - ["country"] = "usa", ["heading"] = 0, - ["unitId"] = 13, + ["country"] = "usa", + ["groupName"] = "US Ships", }, -- end of [1] [2] = { @@ -28,20 +30,22 @@ unitsByNum = ["x"] = -356085.71428571, }, -- end of ["point"] ["groupId"] = 8, + ["y"] = 444657.14285714, ["skill"] = "Average", ["coalition"] = "blue", ["countryId"] = 11, - ["groupName"] = "US Ships", + ["x"] = -356085.71428571, + ["unitId"] = 14, ["category"] = "ship", ["unitName"] = "US Ship #2", - ["country"] = "usa", ["heading"] = 0, - ["unitId"] = 14, + ["country"] = "usa", + ["groupName"] = "US Ships", }, -- end of [2] [3] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 636248.57142857, @@ -50,17 +54,19 @@ unitsByNum = ["groupId"] = 15, ["groupName"] = "tent1", ["countryId"] = 11, - ["unitId"] = 37, + ["coalition"] = "blue", + ["x"] = -300871.42857143, + ["y"] = 636248.57142857, ["category"] = "static", ["unitName"] = "tent1", - ["type"] = "FARP Tent", ["country"] = "usa", - ["coalition"] = "blue", + ["heading"] = 0, + ["unitId"] = 37, }, -- end of [3] [4] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 638620, @@ -69,17 +75,19 @@ unitsByNum = ["groupId"] = 16, ["groupName"] = "tent2", ["countryId"] = 11, - ["unitId"] = 38, + ["coalition"] = "blue", + ["x"] = -299814.28571429, + ["y"] = 638620, ["category"] = "static", ["unitName"] = "tent2", - ["type"] = "FARP Tent", ["country"] = "usa", - ["coalition"] = "blue", + ["heading"] = 0, + ["unitId"] = 38, }, -- end of [4] [5] = { ["shape_name"] = "konteiner_red1", - ["heading"] = 0, + ["type"] = "Container red 1", ["point"] = { ["y"] = 684605.71428571, @@ -88,310 +96,394 @@ unitsByNum = ["groupId"] = 30, ["groupName"] = "static", ["countryId"] = 11, - ["unitId"] = 44, + ["coalition"] = "blue", + ["x"] = -279949.99999999, + ["y"] = 684605.71428571, ["category"] = "static", ["unitName"] = "static", - ["type"] = "Container red 1", ["country"] = "usa", - ["coalition"] = "blue", + ["heading"] = 0, + ["unitId"] = 44, }, -- end of [5] [6] = { - ["type"] = "M-1 Abrams", + ["heading"] = 0, ["point"] = { ["y"] = 639800, ["x"] = -294685.71428571, }, -- end of ["point"] ["groupId"] = 11, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 639800, ["coalition"] = "blue", ["groupName"] = "USTanks1", - ["heading"] = 0, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -294685.71428571, + ["unitId"] = 19, ["category"] = "vehicle", ["unitName"] = "USTanks1_1", ["playerCanDrive"] = true, - ["unitId"] = 19, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [6] [7] = { - ["type"] = "M-1 Abrams", + ["heading"] = 0, ["point"] = { ["y"] = 639840, ["x"] = -294725.71428571, }, -- end of ["point"] ["groupId"] = 11, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 639840, ["coalition"] = "blue", ["groupName"] = "USTanks1", - ["heading"] = 0, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -294725.71428571, + ["unitId"] = 20, ["category"] = "vehicle", ["unitName"] = "USTanks1_2", ["playerCanDrive"] = true, - ["unitId"] = 20, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [7] [8] = { - ["type"] = "M-1 Abrams", + ["heading"] = 0, ["point"] = { ["y"] = 639880, ["x"] = -294765.71428571, }, -- end of ["point"] ["groupId"] = 11, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 639880, ["coalition"] = "blue", ["groupName"] = "USTanks1", - ["heading"] = 0, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -294765.71428571, + ["unitId"] = 21, ["category"] = "vehicle", ["unitName"] = "USTanks1_3", ["playerCanDrive"] = true, - ["unitId"] = 21, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [8] [9] = { - ["type"] = "M-1 Abrams", + ["heading"] = 0, ["point"] = { ["y"] = 639920, ["x"] = -294805.71428571, }, -- end of ["point"] ["groupId"] = 11, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 639920, ["coalition"] = "blue", ["groupName"] = "USTanks1", - ["heading"] = 0, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -294805.71428571, + ["unitId"] = 22, ["category"] = "vehicle", ["unitName"] = "USTanks1_4", ["playerCanDrive"] = true, - ["unitId"] = 22, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [9] [10] = { - ["type"] = "M-1 Abrams", + ["heading"] = 1.4977557614926, ["point"] = { ["y"] = 653171.42857143, ["x"] = -293085.71428571, }, -- end of ["point"] ["groupId"] = 12, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 653171.42857143, ["coalition"] = "blue", ["groupName"] = "USTanks2", - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -293085.71428571, + ["unitId"] = 23, ["category"] = "vehicle", ["unitName"] = "USTanks2_1", ["playerCanDrive"] = true, - ["unitId"] = 23, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [10] [11] = { - ["type"] = "M-1 Abrams", + ["heading"] = 1.4977557614926, ["point"] = { ["y"] = 653211.42857143, ["x"] = -293125.71428571, }, -- end of ["point"] ["groupId"] = 12, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 653211.42857143, ["coalition"] = "blue", ["groupName"] = "USTanks2", - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -293125.71428571, + ["unitId"] = 24, ["category"] = "vehicle", ["unitName"] = "USTanks2_2", ["playerCanDrive"] = true, - ["unitId"] = 24, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [11] [12] = { - ["type"] = "M-1 Abrams", + ["heading"] = 1.4977557614926, ["point"] = { ["y"] = 653251.42857143, ["x"] = -293165.71428571, }, -- end of ["point"] ["groupId"] = 12, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 653251.42857143, ["coalition"] = "blue", ["groupName"] = "USTanks2", - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -293165.71428571, + ["unitId"] = 25, ["category"] = "vehicle", ["unitName"] = "USTanks2_3", ["playerCanDrive"] = true, - ["unitId"] = 25, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [12] [13] = { - ["type"] = "M-1 Abrams", + ["heading"] = 1.4977557614926, ["point"] = { ["y"] = 653291.42857143, ["x"] = -293205.71428571, }, -- end of ["point"] ["groupId"] = 12, - ["skill"] = "Average", - ["countryId"] = 11, + ["y"] = 653291.42857143, ["coalition"] = "blue", ["groupName"] = "USTanks2", - ["heading"] = 1.4977557614926, + ["type"] = "M-1 Abrams", + ["countryId"] = 11, + ["x"] = -293205.71428571, + ["unitId"] = 26, ["category"] = "vehicle", ["unitName"] = "USTanks2_4", ["playerCanDrive"] = true, - ["unitId"] = 26, ["country"] = "usa", + ["skill"] = "Average", }, -- end of [13] [14] = { ["alt"] = 2000, - ["heading"] = -0.57883789069348, ["point"] = { ["y"] = 662142.85714286, ["x"] = -288142.85714286, }, -- end of ["point"] - ["groupId"] = 4, ["alt_type"] = "BARO", ["livery_id"] = "19th Fighter SQN (AK)", - ["skill"] = "Client", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 138.88888888889, - ["country"] = "usa", + ["onboard_num"] = "10", ["category"] = "plane", - ["unitName"] = "F-15C Client #1", + ["speed"] = 138.88888888889, ["type"] = "F-15C", - ["unitId"] = 8, + ["country"] = "usa", + ["psi"] = 0.57883789069348, + ["unitName"] = "F-15C Client #1", ["groupName"] = "F-15C Client #1", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -288142.85714286, + ["y"] = 662142.85714286, + ["unitId"] = 8, + ["heading"] = -0.57883789069348, + ["skill"] = "Client", + ["callsign"] = + { + [1] = 2, + [2] = 1, + [3] = 1, + ["name"] = "Springfield11", + }, -- end of ["callsign"] + ["groupId"] = 4, }, -- end of [14] [15] = { ["alt"] = 2000, - ["heading"] = -0.57883789069348, ["point"] = { ["y"] = 668428.57142857, ["x"] = -287000, }, -- end of ["point"] - ["groupId"] = 5, ["alt_type"] = "BARO", ["livery_id"] = "19th Fighter SQN (AK)", - ["skill"] = "Client", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 138.88888888889, - ["country"] = "usa", + ["onboard_num"] = "10", ["category"] = "plane", - ["unitName"] = "F-15C Client #2", + ["speed"] = 138.88888888889, ["type"] = "F-15C", - ["unitId"] = 10, + ["country"] = "usa", + ["psi"] = 0.57883789069348, + ["unitName"] = "F-15C Client #2", ["groupName"] = "F-15C Client #2", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -287000, + ["y"] = 668428.57142857, + ["unitId"] = 10, + ["heading"] = -0.57883789069348, + ["skill"] = "Client", + ["callsign"] = + { + [1] = 2, + [2] = 1, + [3] = 1, + ["name"] = "Springfield11", + }, -- end of ["callsign"] + ["groupId"] = 5, }, -- end of [15] [16] = { ["alt"] = 2000, - ["heading"] = -0.67060113146646, ["point"] = { ["y"] = 636428.57142857, ["x"] = -318142.85714286, }, -- end of ["point"] - ["groupId"] = 6, ["alt_type"] = "BARO", ["livery_id"] = "104th FS Maryland ANG, Baltimore (MD)", - ["skill"] = "Client", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 138.88888888889, - ["country"] = "usa", + ["onboard_num"] = "52", ["category"] = "plane", - ["unitName"] = "A-10C Client #1", + ["speed"] = 138.88888888889, ["type"] = "A-10C", - ["unitId"] = 11, + ["country"] = "usa", + ["psi"] = 0.67060113146646, + ["unitName"] = "A-10C Client #1", ["groupName"] = "A-10C Client #1", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -318142.85714286, + ["y"] = 636428.57142857, + ["unitId"] = 11, + ["heading"] = -0.67060113146646, + ["skill"] = "Client", + ["callsign"] = + { + [1] = 3, + [2] = 1, + [3] = 1, + ["name"] = "Uzi11", + }, -- end of ["callsign"] + ["groupId"] = 6, }, -- end of [16] [17] = { ["alt"] = 2000, - ["heading"] = -0.66079849060746, ["point"] = { ["y"] = 644428.57142857, ["x"] = -315857.14285714, }, -- end of ["point"] - ["groupId"] = 7, ["alt_type"] = "BARO", ["livery_id"] = "104th FS Maryland ANG, Baltimore (MD)", - ["skill"] = "Client", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 138.88888888889, - ["country"] = "usa", + ["onboard_num"] = "52", ["category"] = "plane", - ["unitName"] = "A-10C Client #2", + ["speed"] = 138.88888888889, ["type"] = "A-10C", - ["unitId"] = 12, + ["country"] = "usa", + ["psi"] = 0.66079849060746, + ["unitName"] = "A-10C Client #2", ["groupName"] = "A-10C Client #2", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -315857.14285714, + ["y"] = 644428.57142857, + ["unitId"] = 12, + ["heading"] = -0.66079849060746, + ["skill"] = "Client", + ["callsign"] = + { + [1] = 3, + [2] = 1, + [3] = 1, + ["name"] = "Uzi11", + }, -- end of ["callsign"] + ["groupId"] = 7, }, -- end of [17] [18] = { ["alt"] = 500, - ["heading"] = 0.017389551289373, ["point"] = { ["y"] = 631857.14285714, ["x"] = -297857.14285714, }, -- end of ["point"] - ["groupId"] = 1, ["alt_type"] = "BARO", ["livery_id"] = "standard", - ["skill"] = "High", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 55.555555555556, - ["country"] = "usa", + ["onboard_num"] = "50", ["category"] = "helicopter", - ["unitName"] = "AH-1s_1_1", + ["speed"] = 55.555555555556, ["type"] = "AH-1W", - ["unitId"] = 1, + ["country"] = "usa", + ["psi"] = -0.017389551289373, + ["unitName"] = "AH-1s_1_1", ["groupName"] = "AH-1s_1", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -297857.14285714, + ["y"] = 631857.14285714, + ["unitId"] = 1, + ["heading"] = 0.017389551289373, + ["skill"] = "High", + ["callsign"] = + { + [1] = 1, + [2] = 1, + [3] = 1, + ["name"] = "Enfield11", + }, -- end of ["callsign"] + ["groupId"] = 1, }, -- end of [18] [19] = { ["alt"] = 500, - ["heading"] = 0.017389551289373, ["point"] = { ["y"] = 631897.14285714, ["x"] = -297897.14285714, }, -- end of ["point"] - ["groupId"] = 1, ["alt_type"] = "BARO", ["livery_id"] = "standard", - ["skill"] = "High", - ["countryId"] = 11, - ["coalition"] = "blue", - ["speed"] = 55.555555555556, - ["country"] = "usa", + ["onboard_num"] = "51", ["category"] = "helicopter", - ["unitName"] = "AH-1s_1_2", + ["speed"] = 55.555555555556, ["type"] = "AH-1W", - ["unitId"] = 2, + ["country"] = "usa", + ["psi"] = -0.017389551289373, + ["unitName"] = "AH-1s_1_2", ["groupName"] = "AH-1s_1", + ["coalition"] = "blue", + ["countryId"] = 11, + ["x"] = -297897.14285714, + ["y"] = 631897.14285714, + ["unitId"] = 2, + ["heading"] = 0.017389551289373, + ["skill"] = "High", + ["callsign"] = + { + [1] = 1, + [2] = 1, + [3] = 2, + ["name"] = "Enfield12", + }, -- end of ["callsign"] + ["groupId"] = 1, }, -- end of [19] [20] = { @@ -402,15 +494,17 @@ unitsByNum = ["x"] = -34285.714285714, }, -- end of ["point"] ["groupId"] = 9, + ["y"] = 200000, ["skill"] = "Average", ["coalition"] = "red", ["countryId"] = 2, - ["groupName"] = "Rus Ships #1", + ["x"] = -34285.714285714, + ["unitId"] = 15, ["category"] = "ship", ["unitName"] = "1ship1", - ["country"] = "russia", ["heading"] = 0, - ["unitId"] = 15, + ["country"] = "russia", + ["groupName"] = "Rus Ships #1", }, -- end of [20] [21] = { @@ -421,15 +515,17 @@ unitsByNum = ["x"] = -35085.714285714, }, -- end of ["point"] ["groupId"] = 9, + ["y"] = 200800, ["skill"] = "Average", ["coalition"] = "red", ["countryId"] = 2, - ["groupName"] = "Rus Ships #1", + ["x"] = -35085.714285714, + ["unitId"] = 16, ["category"] = "ship", ["unitName"] = "1ship2", - ["country"] = "russia", ["heading"] = 0, - ["unitId"] = 16, + ["country"] = "russia", + ["groupName"] = "Rus Ships #1", }, -- end of [21] [22] = { @@ -440,15 +536,17 @@ unitsByNum = ["x"] = -86428.571428571, }, -- end of ["point"] ["groupId"] = 10, + ["y"] = 73571.428571428, ["skill"] = "Average", ["coalition"] = "red", ["countryId"] = 2, - ["groupName"] = "Rus Ships #2", + ["x"] = -86428.571428571, + ["unitId"] = 17, ["category"] = "ship", ["unitName"] = "2ship1", - ["country"] = "russia", ["heading"] = 1.1755995276042, - ["unitId"] = 17, + ["country"] = "russia", + ["groupName"] = "Rus Ships #2", }, -- end of [22] [23] = { @@ -459,15 +557,17 @@ unitsByNum = ["x"] = -87228.571428571, }, -- end of ["point"] ["groupId"] = 10, + ["y"] = 74371.428571428, ["skill"] = "Average", ["coalition"] = "red", ["countryId"] = 2, - ["groupName"] = "Rus Ships #2", + ["x"] = -87228.571428571, + ["unitId"] = 18, ["category"] = "ship", ["unitName"] = "2ship2", - ["country"] = "russia", ["heading"] = 1.1755995276042, - ["unitId"] = 18, + ["country"] = "russia", + ["groupName"] = "Rus Ships #2", }, -- end of [23] [24] = { @@ -479,18 +579,20 @@ unitsByNum = }, -- end of ["point"] ["groupId"] = 17, ["groupName"] = "RU Farp", + ["countryId"] = 2, ["coalition"] = "red", - ["unitId"] = 39, + ["x"] = -258442.85714286, + ["y"] = 617591.42857143, ["category"] = "static", ["unitName"] = "RU Farp", - ["type"] = "FARP", - ["countryId"] = 2, ["country"] = "russia", + ["type"] = "FARP", + ["unitId"] = 39, }, -- end of [24] [25] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 617962.85714285, @@ -499,17 +601,19 @@ unitsByNum = ["groupId"] = 18, ["groupName"] = "RuTent1", ["countryId"] = 2, - ["unitId"] = 40, + ["coalition"] = "red", + ["x"] = -258642.85714286, + ["y"] = 617962.85714285, ["category"] = "static", ["unitName"] = "RuTent1", - ["type"] = "FARP Tent", ["country"] = "russia", - ["coalition"] = "red", + ["heading"] = 0, + ["unitId"] = 40, }, -- end of [25] [26] = { ["shape_name"] = "PalatkaB", - ["heading"] = 0, + ["type"] = "FARP Tent", ["point"] = { ["y"] = 617691.42857143, @@ -518,634 +622,677 @@ unitsByNum = ["groupId"] = 19, ["groupName"] = "RuTent2", ["countryId"] = 2, - ["unitId"] = 41, + ["coalition"] = "red", + ["x"] = -259071.42857143, + ["y"] = 617691.42857143, ["category"] = "static", ["unitName"] = "RuTent2", - ["type"] = "FARP Tent", ["country"] = "russia", - ["coalition"] = "red", + ["heading"] = 0, + ["unitId"] = 41, }, -- end of [26] [27] = { - ["type"] = "BTR-80", + ["heading"] = -1.7994767003775, ["point"] = { ["y"] = 654545.71428571, ["x"] = -292842.85714286, }, -- end of ["point"] ["groupId"] = 13, - ["skill"] = "Average", - ["countryId"] = 2, + ["y"] = 654545.71428571, ["coalition"] = "red", ["groupName"] = "RuBTRs", - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", + ["countryId"] = 2, + ["x"] = -292842.85714286, + ["unitId"] = 27, ["category"] = "vehicle", ["unitName"] = "RuBTRs1", ["playerCanDrive"] = true, - ["unitId"] = 27, ["country"] = "russia", + ["skill"] = "Average", }, -- end of [27] [28] = { - ["type"] = "BTR-80", + ["heading"] = -1.7994767003775, ["point"] = { ["y"] = 654585.71428571, ["x"] = -292882.85714286, }, -- end of ["point"] ["groupId"] = 13, - ["skill"] = "Average", - ["countryId"] = 2, + ["y"] = 654585.71428571, ["coalition"] = "red", ["groupName"] = "RuBTRs", - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", + ["countryId"] = 2, + ["x"] = -292882.85714286, + ["unitId"] = 28, ["category"] = "vehicle", ["unitName"] = "RuBTRs2", ["playerCanDrive"] = true, - ["unitId"] = 28, ["country"] = "russia", + ["skill"] = "Average", }, -- end of [28] [29] = { - ["type"] = "BTR-80", + ["heading"] = -1.7994767003775, ["point"] = { ["y"] = 654625.71428571, ["x"] = -292922.85714286, }, -- end of ["point"] ["groupId"] = 13, - ["skill"] = "Average", - ["countryId"] = 2, + ["y"] = 654625.71428571, ["coalition"] = "red", ["groupName"] = "RuBTRs", - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", + ["countryId"] = 2, + ["x"] = -292922.85714286, + ["unitId"] = 29, ["category"] = "vehicle", ["unitName"] = "RuBTRs3", ["playerCanDrive"] = true, - ["unitId"] = 29, ["country"] = "russia", + ["skill"] = "Average", }, -- end of [29] [30] = { - ["type"] = "BTR-80", + ["heading"] = -1.7994767003775, ["point"] = { ["y"] = 654665.71428571, ["x"] = -292962.85714286, }, -- end of ["point"] ["groupId"] = 13, - ["skill"] = "Average", - ["countryId"] = 2, + ["y"] = 654665.71428571, ["coalition"] = "red", ["groupName"] = "RuBTRs", - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", + ["countryId"] = 2, + ["x"] = -292962.85714286, + ["unitId"] = 30, ["category"] = "vehicle", ["unitName"] = "RuBTRs4", ["playerCanDrive"] = true, - ["unitId"] = 30, ["country"] = "russia", + ["skill"] = "Average", }, -- end of [30] [31] = { - ["type"] = "BTR-80", + ["heading"] = -1.7994767003775, ["point"] = { ["y"] = 654705.71428571, ["x"] = -293002.85714286, }, -- end of ["point"] ["groupId"] = 13, - ["skill"] = "Average", - ["countryId"] = 2, + ["y"] = 654705.71428571, ["coalition"] = "red", ["groupName"] = "RuBTRs", - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", + ["countryId"] = 2, + ["x"] = -293002.85714286, + ["unitId"] = 31, ["category"] = "vehicle", ["unitName"] = "RuBTRs5", ["playerCanDrive"] = true, - ["unitId"] = 31, ["country"] = "russia", + ["skill"] = "Average", }, -- end of [31] [32] = { - ["type"] = "BTR-80", + ["heading"] = -1.7994767003775, ["point"] = { ["y"] = 654745.71428571, ["x"] = -293042.85714286, }, -- end of ["point"] ["groupId"] = 13, - ["skill"] = "Average", - ["countryId"] = 2, + ["y"] = 654745.71428571, ["coalition"] = "red", ["groupName"] = "RuBTRs", - ["heading"] = -1.7994767003775, + ["type"] = "BTR-80", + ["countryId"] = 2, + ["x"] = -293042.85714286, + ["unitId"] = 32, ["category"] = "vehicle", ["unitName"] = "RuBTRs6", ["playerCanDrive"] = true, - ["unitId"] = 32, ["country"] = "russia", + ["skill"] = "Average", }, -- end of [32] [33] = { - ["type"] = "T-55", + ["heading"] = 0, ["point"] = { ["y"] = 628677.14285714, ["x"] = -273442.85714286, }, -- end of ["point"] ["groupId"] = 14, - ["skill"] = "Excellent", - ["countryId"] = 2, + ["y"] = 628677.14285714, ["coalition"] = "red", ["groupName"] = "RuTanks", - ["heading"] = 0, + ["type"] = "T-55", + ["countryId"] = 2, + ["x"] = -273442.85714286, + ["unitId"] = 33, ["category"] = "vehicle", ["unitName"] = "RuTanks1", ["playerCanDrive"] = true, - ["unitId"] = 33, ["country"] = "russia", + ["skill"] = "Excellent", }, -- end of [33] [34] = { - ["type"] = "T-55", + ["heading"] = 0, ["point"] = { ["y"] = 628717.14285714, ["x"] = -273482.85714286, }, -- end of ["point"] ["groupId"] = 14, - ["skill"] = "Excellent", - ["countryId"] = 2, + ["y"] = 628717.14285714, ["coalition"] = "red", ["groupName"] = "RuTanks", - ["heading"] = 0, + ["type"] = "T-55", + ["countryId"] = 2, + ["x"] = -273482.85714286, + ["unitId"] = 34, ["category"] = "vehicle", ["unitName"] = "RuTanks2", ["playerCanDrive"] = true, - ["unitId"] = 34, ["country"] = "russia", + ["skill"] = "Excellent", }, -- end of [34] [35] = { - ["type"] = "T-55", + ["heading"] = 0, ["point"] = { ["y"] = 628757.14285714, ["x"] = -273522.85714286, }, -- end of ["point"] ["groupId"] = 14, - ["skill"] = "Excellent", - ["countryId"] = 2, + ["y"] = 628757.14285714, ["coalition"] = "red", ["groupName"] = "RuTanks", - ["heading"] = 0, + ["type"] = "T-55", + ["countryId"] = 2, + ["x"] = -273522.85714286, + ["unitId"] = 35, ["category"] = "vehicle", ["unitName"] = "RuTanks3", ["playerCanDrive"] = true, - ["unitId"] = 35, ["country"] = "russia", + ["skill"] = "Excellent", }, -- end of [35] [36] = { - ["type"] = "T-55", + ["heading"] = 0, ["point"] = { ["y"] = 628797.14285714, ["x"] = -273562.85714286, }, -- end of ["point"] ["groupId"] = 14, - ["skill"] = "Excellent", - ["countryId"] = 2, + ["y"] = 628797.14285714, ["coalition"] = "red", ["groupName"] = "RuTanks", - ["heading"] = 0, + ["type"] = "T-55", + ["countryId"] = 2, + ["x"] = -273562.85714286, + ["unitId"] = 36, ["category"] = "vehicle", ["unitName"] = "RuTanks4", ["playerCanDrive"] = true, - ["unitId"] = 36, ["country"] = "russia", + ["skill"] = "Excellent", }, -- end of [36] [37] = { ["alt"] = 2000, - ["heading"] = 0, ["point"] = { ["y"] = 590391.42857142, ["x"] = -250185.71428571, }, -- end of ["point"] - ["groupId"] = 20, ["alt_type"] = "BARO", ["livery_id"] = "279th kiap 1st squad navy", - ["skill"] = "Client", - ["countryId"] = 2, - ["coalition"] = "red", - ["speed"] = 138.88888888889, - ["country"] = "russia", + ["onboard_num"] = "53", ["category"] = "plane", - ["unitName"] = "Su-33 Client #1", + ["speed"] = 138.88888888889, ["type"] = "Su-33", - ["unitId"] = 42, + ["country"] = "russia", + ["psi"] = 0, + ["unitName"] = "Su-33 Client #1", ["groupName"] = "Su-33 Client #1", + ["coalition"] = "red", + ["countryId"] = 2, + ["x"] = -250185.71428571, + ["y"] = 590391.42857142, + ["unitId"] = 42, + ["heading"] = 0, + ["skill"] = "Client", + ["callsign"] = 104, + ["groupId"] = 20, }, -- end of [37] [38] = { ["alt"] = 2000, - ["heading"] = 0, ["point"] = { ["y"] = 597819.99999999, ["x"] = -235614.28571428, }, -- end of ["point"] - ["groupId"] = 21, ["alt_type"] = "BARO", ["livery_id"] = "279th kiap 1st squad navy", - ["skill"] = "Client", - ["countryId"] = 2, - ["coalition"] = "red", - ["speed"] = 138.88888888889, - ["country"] = "russia", + ["onboard_num"] = "53", ["category"] = "plane", - ["unitName"] = "Su-33 Client #2", + ["speed"] = 138.88888888889, ["type"] = "Su-33", - ["unitId"] = 43, + ["country"] = "russia", + ["psi"] = 0, + ["unitName"] = "Su-33 Client #2", ["groupName"] = "Su-33 Client #2", + ["coalition"] = "red", + ["countryId"] = 2, + ["x"] = -235614.28571428, + ["y"] = 597819.99999999, + ["unitId"] = 43, + ["heading"] = 0, + ["skill"] = "Client", + ["callsign"] = 104, + ["groupId"] = 21, }, -- end of [38] [39] = { ["alt"] = 500, - ["heading"] = 2.5953630185698, ["point"] = { ["y"] = 615000, ["x"] = -237571.42857143, }, -- end of ["point"] - ["groupId"] = 2, ["alt_type"] = "BARO", ["livery_id"] = "Russia Demo #024", - ["skill"] = "High", - ["countryId"] = 2, - ["coalition"] = "red", - ["speed"] = 55.555555555556, - ["country"] = "russia", + ["onboard_num"] = "50", ["category"] = "helicopter", - ["unitName"] = "Ka-50s_1_1", + ["speed"] = 55.555555555556, ["type"] = "Ka-50", - ["unitId"] = 3, + ["country"] = "russia", + ["psi"] = -2.5953630185698, + ["unitName"] = "Ka-50s_1_1", ["groupName"] = "Ka-50s_1", + ["coalition"] = "red", + ["countryId"] = 2, + ["x"] = -237571.42857143, + ["y"] = 615000, + ["unitId"] = 3, + ["heading"] = 2.5953630185698, + ["skill"] = "High", + ["callsign"] = 100, + ["groupId"] = 2, }, -- end of [39] [40] = { ["alt"] = 500, - ["heading"] = 2.5953630185698, ["point"] = { ["y"] = 615040, ["x"] = -237611.42857143, }, -- end of ["point"] - ["groupId"] = 2, ["alt_type"] = "BARO", ["livery_id"] = "Russia Demo #024", - ["skill"] = "High", - ["countryId"] = 2, - ["coalition"] = "red", - ["speed"] = 55.555555555556, - ["country"] = "russia", + ["onboard_num"] = "51", ["category"] = "helicopter", - ["unitName"] = "Ka-50s_1_2", + ["speed"] = 55.555555555556, ["type"] = "Ka-50", - ["unitId"] = 4, + ["country"] = "russia", + ["psi"] = -2.5953630185698, + ["unitName"] = "Ka-50s_1_2", ["groupName"] = "Ka-50s_1", + ["coalition"] = "red", + ["countryId"] = 2, + ["x"] = -237611.42857143, + ["y"] = 615040, + ["unitId"] = 4, + ["heading"] = 2.5953630185698, + ["skill"] = "High", + ["callsign"] = 101, + ["groupId"] = 2, }, -- end of [40] [41] = { ["alt"] = 500, - ["heading"] = 2.6119254271103, ["point"] = { ["y"] = 603285.71428571, ["x"] = -243285.71428571, }, -- end of ["point"] - ["groupId"] = 3, ["alt_type"] = "BARO", ["livery_id"] = "Russia", - ["skill"] = "Random", - ["countryId"] = 2, - ["coalition"] = "red", - ["speed"] = 55.555555555556, - ["country"] = "russia", + ["onboard_num"] = "52", ["category"] = "helicopter", - ["unitName"] = "Mi-8s_1_1", + ["speed"] = 55.555555555556, ["type"] = "Mi-8MT", - ["unitId"] = 5, + ["country"] = "russia", + ["psi"] = -2.6119254271103, + ["unitName"] = "Mi-8s_1_1", ["groupName"] = "Mi-8s_1", + ["coalition"] = "red", + ["countryId"] = 2, + ["x"] = -243285.71428571, + ["y"] = 603285.71428571, + ["unitId"] = 5, + ["heading"] = 2.6119254271103, + ["skill"] = "Random", + ["callsign"] = 103, + ["groupId"] = 3, }, -- end of [41] [42] = { ["alt"] = 500, - ["heading"] = 2.6119254271103, ["point"] = { ["y"] = 603325.71428571, ["x"] = -243325.71428571, }, -- end of ["point"] - ["groupId"] = 3, ["alt_type"] = "BARO", ["livery_id"] = "Russia", - ["skill"] = "Random", - ["countryId"] = 2, - ["coalition"] = "red", - ["speed"] = 55.555555555556, - ["country"] = "russia", + ["onboard_num"] = "53", ["category"] = "helicopter", - ["unitName"] = "Mi-8s_1_1 #1", + ["speed"] = 55.555555555556, ["type"] = "Mi-8MT", - ["unitId"] = 6, + ["country"] = "russia", + ["psi"] = -2.6119254271103, + ["unitName"] = "Mi-8s_1_1 #1", ["groupName"] = "Mi-8s_1", + ["coalition"] = "red", + ["countryId"] = 2, + ["x"] = -243325.71428571, + ["y"] = 603325.71428571, + ["unitId"] = 6, + ["heading"] = 2.6119254271103, + ["skill"] = "Random", + ["callsign"] = 102, + ["groupId"] = 3, }, -- end of [42] [43] = { + ["alt"] = 73, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692951.80504833, - ["x"] = -288112.04900582, + ["y"] = 692297, + ["x"] = -283873, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["groupId"] = 7001, + ["coalitionId"] = 2, ["coalition"] = "blue", - ["unitId"] = 7001, - ["heading"] = 1.4977557614926, + ["groupName"] = "usa gnd 2", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -283873, + ["y"] = 692297, ["category"] = "vehicle", ["unitName"] = "usa gnd 2 unit1", - ["groupName"] = "usa gnd 2", - ["countryId"] = 2, - ["groupId"] = 7001, + ["unitId"] = 7001, + ["heading"] = 1.4977603826792, + ["skill"] = "Average", }, -- end of [43] [44] = { + ["alt"] = 73, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692984.63711165, - ["x"] = -288136.26599616, + ["y"] = 692378, + ["x"] = -283913, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["groupId"] = 7001, + ["coalitionId"] = 2, ["coalition"] = "blue", - ["unitId"] = 7002, - ["heading"] = 1.4977557614926, + ["groupName"] = "usa gnd 2", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -283913, + ["y"] = 692378, ["category"] = "vehicle", ["unitName"] = "usa gnd 2 unit2", - ["groupName"] = "usa gnd 2", - ["countryId"] = 2, - ["groupId"] = 7001, + ["unitId"] = 7002, + ["heading"] = 1.4977610327793, + ["skill"] = "Average", }, -- end of [44] [45] = { + ["alt"] = 72, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692996.24632438, - ["x"] = -288123.02974075, + ["y"] = 692136, + ["x"] = -283991, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["groupId"] = 7001, + ["coalitionId"] = 2, ["coalition"] = "blue", - ["unitId"] = 7003, - ["heading"] = 1.4977557614926, + ["groupName"] = "usa gnd 2", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -283991, + ["y"] = 692136, ["category"] = "vehicle", ["unitName"] = "usa gnd 2 unit3", - ["groupName"] = "usa gnd 2", - ["countryId"] = 2, - ["groupId"] = 7001, + ["unitId"] = 7003, + ["heading"] = 1.4977579653353, + ["skill"] = "Average", }, -- end of [45] [46] = { + ["alt"] = 73, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692886.94679558, - ["x"] = -287976.47272972, + ["y"] = 692340, + ["x"] = -283878, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["groupId"] = 7001, + ["coalitionId"] = 2, ["coalition"] = "blue", - ["unitId"] = 7004, - ["heading"] = 1.4977557614926, + ["groupName"] = "usa gnd 2", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -283878, + ["y"] = 692340, ["category"] = "vehicle", ["unitName"] = "usa gnd 2 unit4", - ["groupName"] = "usa gnd 2", - ["countryId"] = 2, - ["groupId"] = 7001, + ["unitId"] = 7004, + ["heading"] = 1.4977603826792, + ["skill"] = "Average", }, -- end of [46] [47] = { - ["alt"] = 69, - ["type"] = "Container red 1", + ["alt"] = 68, + ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 690925, - ["x"] = -285115, + ["y"] = 690998, + ["x"] = -285539, }, -- end of ["point"] - ["groupId"] = 7005, - ["groupName"] = "USA static 7005", - ["countryId"] = 2, - ["unitId"] = 7005, - ["category"] = "ship", - ["unitName"] = "USA static 7005", - ["heading"] = 6.1694608363366, - ["country"] = "usa", + ["groupId"] = 7003, + ["coalitionId"] = 2, ["coalition"] = "blue", + ["groupName"] = "usa gnd 4", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -285539, + ["y"] = 690998, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 4 unit1", + ["unitId"] = 7006, + ["heading"] = 1.4977591325037, + ["skill"] = "Average", }, -- end of [47] [48] = { + ["alt"] = 68, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692301.85580476, - ["x"] = -283925.5171695, + ["y"] = 690984, + ["x"] = -285610, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", - ["coalition"] = "blue", - ["unitId"] = 7006, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 3 unit1", - ["groupName"] = "usa gnd 3", - ["countryId"] = 2, ["groupId"] = 7003, + ["coalitionId"] = 2, + ["coalition"] = "blue", + ["groupName"] = "usa gnd 4", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -285610, + ["y"] = 690984, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 4 unit2", + ["unitId"] = 7007, + ["heading"] = 1.4977589159233, + ["skill"] = "Average", }, -- end of [48] [49] = { + ["alt"] = 68, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692374.68565784, - ["x"] = -283846.9396746, + ["y"] = 690825, + ["x"] = -285472, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", - ["coalition"] = "blue", - ["unitId"] = 7007, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 3 unit2", - ["groupName"] = "usa gnd 3", - ["countryId"] = 2, ["groupId"] = 7003, + ["coalitionId"] = 2, + ["coalition"] = "blue", + ["groupName"] = "usa gnd 4", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -285472, + ["y"] = 690825, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 4 unit3", + ["unitId"] = 7008, + ["heading"] = 1.4977598003676, + ["skill"] = "Average", }, -- end of [49] [50] = { + ["alt"] = 68, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692416.6568865, - ["x"] = -284022.73058924, + ["y"] = 690920, + ["x"] = -285485, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", - ["coalition"] = "blue", - ["unitId"] = 7008, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 3 unit3", - ["groupName"] = "usa gnd 3", - ["countryId"] = 2, ["groupId"] = 7003, + ["coalitionId"] = 2, + ["coalition"] = "blue", + ["groupName"] = "usa gnd 4", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -285485, + ["y"] = 690920, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 4 unit4", + ["unitId"] = 7009, + ["heading"] = 1.4977598003676, + ["skill"] = "Average", }, -- end of [50] [51] = { + ["alt"] = 65, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 692423.17192305, - ["x"] = -283793.86944615, + ["y"] = 692970, + ["x"] = -288880, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["groupId"] = 7005, + ["coalitionId"] = 2, ["coalition"] = "blue", - ["unitId"] = 7009, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 3 unit4", - ["groupName"] = "usa gnd 3", + ["groupName"] = "usa gnd 6", + ["country"] = "usa", ["countryId"] = 2, - ["groupId"] = 7003, + ["x"] = -288880, + ["y"] = 692970, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 6 unit1", + ["unitId"] = 7011, + ["heading"] = 1.4977545807326, + ["skill"] = "Average", }, -- end of [51] [52] = { + ["alt"] = 65, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 690345.01202023, - ["x"] = -286996.80803754, + ["y"] = 693075, + ["x"] = -288920, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", - ["coalition"] = "blue", - ["unitId"] = 7011, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 4 unit1", - ["groupName"] = "usa gnd 4", - ["countryId"] = 2, ["groupId"] = 7005, + ["coalitionId"] = 2, + ["coalition"] = "blue", + ["groupName"] = "usa gnd 6", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -288920, + ["y"] = 693075, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 6 unit2", + ["unitId"] = 7012, + ["heading"] = 1.4977545807326, + ["skill"] = "Average", }, -- end of [52] [53] = { + ["alt"] = 65, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 690495.78308897, - ["x"] = -287119.30705856, + ["y"] = 692855, + ["x"] = -288930, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", - ["coalition"] = "blue", - ["unitId"] = 7012, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 4 unit2", - ["groupName"] = "usa gnd 4", - ["countryId"] = 2, ["groupId"] = 7005, + ["coalitionId"] = 2, + ["coalition"] = "blue", + ["groupName"] = "usa gnd 6", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -288930, + ["y"] = 692855, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 6 unit3", + ["unitId"] = 7013, + ["heading"] = 1.4977545807326, + ["skill"] = "Average", }, -- end of [53] [54] = { + ["alt"] = 65, ["type"] = "M-1 Abrams", ["point"] = { - ["y"] = 690419.49528366, - ["x"] = -287149.74499211, + ["y"] = 693055, + ["x"] = -288765, }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", - ["coalition"] = "blue", - ["unitId"] = 7013, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 4 unit3", - ["groupName"] = "usa gnd 4", - ["countryId"] = 2, ["groupId"] = 7005, - }, -- end of [54] - [55] = - { - ["type"] = "M-1 Abrams", - ["point"] = - { - ["y"] = 690430.82466041, - ["x"] = -287068.46280196, - }, -- end of ["point"] - ["country"] = "usa", - ["skill"] = "Average", + ["coalitionId"] = 2, ["coalition"] = "blue", + ["groupName"] = "usa gnd 6", + ["country"] = "usa", + ["countryId"] = 2, + ["x"] = -288765, + ["y"] = 693055, + ["category"] = "vehicle", + ["unitName"] = "usa gnd 6 unit4", ["unitId"] = 7014, - ["heading"] = 1.4977557614926, - ["category"] = "vehicle", - ["unitName"] = "usa gnd 4 unit4", - ["groupName"] = "usa gnd 4", - ["countryId"] = 2, - ["groupId"] = 7005, - }, -- end of [55] - [56] = - { - ["alt"] = 66, - ["type"] = "Container red 1", - ["point"] = - { - ["y"] = 692491, - ["x"] = -287269, - }, -- end of ["point"] - ["groupId"] = 7010, - ["groupName"] = "USA static 7010", - ["countryId"] = 2, - ["unitId"] = 7010, - ["category"] = "ship", - ["unitName"] = "USA static 7010", - ["heading"] = 6.1693154268268, - ["country"] = "usa", - ["coalition"] = "blue", - }, -- end of [56] - [57] = - { - ["alt"] = 64, - ["type"] = "Container red 1", - ["point"] = - { - ["y"] = 689768, - ["x"] = -285807, - }, -- end of ["point"] - ["groupId"] = 7015, - ["groupName"] = "USA static 7015", - ["countryId"] = 2, - ["unitId"] = 7015, - ["category"] = "ship", - ["unitName"] = "USA static 7015", - ["heading"] = 6.169648830639, - ["country"] = "usa", - ["coalition"] = "blue", - }, -- end of [57] + ["heading"] = 1.4977545807326, + ["skill"] = "Average", + }, -- end of [54] } -- end of unitsByNum diff --git a/Example DBs/mist_DBs_zonesByNum.lua b/Example DBs/mist_DBs_zonesByNum.lua index 59e1dee..7170a53 100644 --- a/Example DBs/mist_DBs_zonesByNum.lua +++ b/Example DBs/mist_DBs_zonesByNum.lua @@ -1,28 +1,6 @@ zonesByNum = { [1] = - { - ["y"] = 673819.99999999, - ["radius"] = 3000, - ["point"] = - { - ["y"] = 0, - ["x"] = -271900, - ["z"] = 673819.99999999, - }, -- end of ["point"] - ["name"] = "explosion zone", - ["color"] = - { - [1] = 1, - [2] = 1, - [3] = 1, - [4] = 0.14901960784314, - }, -- end of ["color"] - ["x"] = -271900, - ["hidden"] = false, - ["zoneId"] = 1, - }, -- end of [1] - [2] = { ["y"] = 614105.71428571, ["radius"] = 3000, @@ -43,8 +21,8 @@ zonesByNum = ["x"] = -245328.57142857, ["hidden"] = false, ["zoneId"] = 2, - }, -- end of [2] - [3] = + }, -- end of [1] + [2] = { ["y"] = 692534.28571428, ["radius"] = 3000, @@ -65,5 +43,27 @@ zonesByNum = ["x"] = -285971.42857143, ["hidden"] = false, ["zoneId"] = 3, + }, -- end of [2] + [3] = + { + ["y"] = 673819.99999999, + ["radius"] = 3000, + ["point"] = + { + ["y"] = 0, + ["x"] = -271900, + ["z"] = 673819.99999999, + }, -- end of ["point"] + ["name"] = "explosion zone", + ["color"] = + { + [1] = 1, + [2] = 1, + [3] = 1, + [4] = 0.14901960784314, + }, -- end of ["color"] + ["x"] = -271900, + ["hidden"] = false, + ["zoneId"] = 1, }, -- end of [3] } -- end of zonesByNum diff --git a/Mist guide.pdf b/Mist guide.pdf index 027fb0b..febc1c4 100644 Binary files a/Mist guide.pdf and b/Mist guide.pdf differ diff --git a/mist.lua b/mist.lua index e34d388..0b2732b 100644 --- a/mist.lua +++ b/mist.lua @@ -1,17 +1,46 @@ +--[[ + +]] --MiST Mission Scripting Tools mist = {} -- don't change these mist.majorVersion = 3 -mist.minorVersion = 4 -mist.build = 27 +mist.minorVersion = 5 +mist.build = 34 + +--[[ +DB update refactor +currently: + +mist.dynAdd adds table data it addToDBs table +spawn events are monitored +groupsToAdd table created +addToDBs parsed and added to spawned events table +spawnEvents table parsed and added to groupsToAdd table +groupsToAdd then parsed and calls mist.dbUpdate() +mist.dbUpdate() gets all of the group data and saves the group data to the mist.DBs + + +plan/goal: +make update into coroutine/remove in pairs loops +seperate larger funcs into smaller funcs + +writeGroups contains all DB creation code + +]] -------------------------------------------------------------------------------------------------------------- -- the main area do local coroutines = {} + local tempSpawnedUnits = {} -- birth events added here + local mistAddedObjects = {} -- mist.dynAdd unit data added here + local mistAddedGroups = {} -- mist.dynAdd groupdata added here + local writeGroups = {} + local function update_alive_units() -- coroutine function local lalive_units = mist.DBs.aliveUnits -- local references for faster execution local lunits = mist.DBs.unitsByNum @@ -57,16 +86,339 @@ do end end end + + local function dbUpdate(event) + local newTable = {} + + newTable['startTime'] = timer.getAbsTime() + + if type(event) == 'string' then -- if name of an object. + --env.info('event') + local newObject + local newType = 'group' + if Group.getByName(event) then + newObject = Group.getByName(event) + elseif StaticObject.getByName(event) then + newObject = StaticObject.getByName(event) + newType = 'static' + -- env.info('its static') + else + env.info('WTF') + return false + end + + + + newTable.name = newObject:getName() + newTable.groupId = tonumber(newObject:getID()) + newTable.groupName = newObject:getName() + local unitOneRef + if newType == 'static' then + + unitOneRef = newObject + newTable.countryId = tonumber(newObject:getCountry()) + newTable.coalitionId = tonumber(newObject:getCoalition()) + newTable.category = 'static' + else + unitOneRef = newObject:getUnits() + newTable.countryId = tonumber(unitOneRef[1]:getCountry()) + newTable.coalitionId = tonumber(unitOneRef[1]:getCoalition()) + newTable.category = tonumber(newObject:getCategory()) + end + + for countryData, countryId in pairs(country.id) do + if newTable.country and string.upper(countryData) == string.upper(newTable.country) or countryId == newTable.countryId then + newTable['countryId'] = countryId + newTable['country'] = string.lower(countryData) + for coaData, coaId in pairs(coalition.side) do + if coaId == coalition.getCountryCoalition(countryId) then + newTable['coalition'] = string.lower(coaData) + end + end + end + end + + for catData, catId in pairs(Unit.Category) do + if Group.getByName(newTable.groupName):isExist() then + if catId == Group.getByName(newTable.groupName):getCategory() then + newTable['category'] = string.lower(catData) + end + elseif StaticObject.getByName(newTable.groupName):isExist() then + if catId == StaticObject.getByName(newTable.groupName):getCategory() then + newTable['category'] = string.lower(catData) + end + + end + end + + local gfound = false + for index, data in pairs(mistAddedGroups) do + if mist.stringMatch(data.name, newTable.groupName) == true then + gfound = true + newTable.task = data.task + newTable.modulation = data.modulation + newTable.uncontrolled = data.uncontrolled + newTable.radioSet = data.radioSet + mistAddedGroups[index] = nil + end + end + + if gfound == false then + newTable.uncontrolled = false + end + + newTable.units = {} + if newType == 'group' then + for unitId, unitData in pairs(unitOneRef) do + newTable.units[unitId] = {} + newTable.units[unitId].unitName = unitData:getName() + + newTable.units[unitId].x = mist.utils.round(unitData:getPosition().p.x) + newTable.units[unitId].y = mist.utils.round(unitData:getPosition().p.z) + newTable.units[unitId].point = {} + newTable.units[unitId].point.x = newTable.units[unitId].x + newTable.units[unitId].point.y = newTable.units[unitId].y + newTable.units[unitId].alt = mist.utils.round(unitData:getPosition().p.y) + + newTable.units[unitId].heading = mist.getHeading(unitData, true) + + newTable.units[unitId].type = unitData:getTypeName() + newTable.units[unitId].unitId = tonumber(unitData:getID()) + + + newTable.units[unitId].groupName = newTable.groupName + newTable.units[unitId].groupId = newTable.groupId + newTable.units[unitId].countryId = newTable.countryId + newTable.units[unitId].coalitionId = newTable.coalitionId + newTable.units[unitId].coalition = newTable.coalition + newTable.units[unitId].country = newTable.country + local found = false + for index, data in pairs(mistAddedObjects) do + if mist.stringMatch(data.name, newTable.units[unitId].unitName) == true then + found = true + newTable.units[unitId].livery_id = data.livery_id + newTable.units[unitId].skill = data.skill + newTable.units[unitId].alt_type = data.alt_type + newTable.units[unitId].callsign = data.callsign + newTable.units[unitId].psi = data.psi + mistAddedObjects[index] = nil + end + if found == false then + newTable.units[unitId].skill = "High" + newTable.units[unitId].alt_type = "BARO" + end + end + + end + else -- its a static + + newTable.units[1] = {} + newTable.units[1].unitName = newObject:getName() + + newTable.units[1].x = mist.utils.round(newObject:getPosition().p.x) + newTable.units[1].y = mist.utils.round(newObject:getPosition().p.z) + newTable.units[1].point = {} + newTable.units[1].point.x = newTable.units[1].x + newTable.units[1].point.y = newTable.units[1].y + newTable.units[1].alt = mist.utils.round(newObject:getPosition().p.y) + newTable.units[1].heading = mist.getHeading(newObject, true) + newTable.units[1].type = newObject:getTypeName() + newTable.units[1].unitId = tonumber(newObject:getID()) + newTable.units[1].groupName = newTable.name + newTable.units[1].groupId = newTable.groupId + newTable.units[1].countryId = newTable.countryId + newTable.units[1].country = newTable.country + newTable.units[1].coalitionId = newTable.coalitionId + newTable.units[1].coalition = newTable.coalition + + ----- search mist added objects for extra data if applicable + for index, data in pairs(mistAddedObjects) do + if mist.stringMatch(data.name, newTable.units[1].unitName) == true then + newTable.units[1].shape_name = data.shape_name -- for statics + newTable.units[1].livery_id = data.livery_id + newTable.units[1].airdromeId = data.airdromeId + mistAddedObjects[index] = nil + end + end + end + end + + newTable['timeAdded'] = timer.getAbsTime() -- only on the dynGroupsAdded table. For other reference, see start time + --mist.debug.dumpDBs() + --end + return newTable + end + + + + local function checkSpawnedEvents() + if #tempSpawnedUnits > 0 then + local groupsToAdd = {} + local ltemp = tempSpawnedUnits + local ltable = table + + local updatesPerRun = math.ceil(#tempSpawnedUnits/20) + if updatesPerRun < 5 then + updatesPerRun = 5 + end + --env.info(#groupsToAdd) + --env.info(#tempSpawnedUnits) + for x = 1, #tempSpawnedUnits do + local spawnedObj = ltemp[x] + if spawnedObj and spawnedObj:isExist() then + local found = false + for index, name in pairs(groupsToAdd) do + if spawnedObj:getCategory() == 1 then -- normal groups + if mist.stringMatch(spawnedObj:getGroup():getName(), name) == true then + found = true + break + end + elseif spawnedObj:getCategory() == 3 then -- static objects + if mist.stringMatch(spawnedObj:getName(), name) == true then + found = true + break + end + end + end + if found == false then + if spawnedObj:getCategory() == 1 then -- normal groups + groupsToAdd[#groupsToAdd + 1] = spawnedObj:getGroup():getName() + elseif spawnedObj:getCategory() == 3 then -- static objects + groupsToAdd[#groupsToAdd + 1] = spawnedObj:getName() + end + end + end + + + table.remove(ltemp, x) + if x%updatesPerRun == 0 then + coroutine.yield() + end + + end + + + if #groupsToAdd > 0 then + for groupId, groupName in pairs(groupsToAdd) do + if not mist.DBs.groupsByName[groupName] or mist.DBs.groupsByName[groupName] and mist.DBs.groupsByName[groupName].startTime + 10 < timer.getAbsTime() then + writeGroups[#writeGroups + 1] = dbUpdate(groupName) + end + end + end + end + end + + + local function updateDBTables() + local i = 0 + for index, newTable in pairs(writeGroups) do + i = i + 1 + end + local savesPerRun = math.ceil(i/10) + if savesPerRun < 5 then + savesPerRun = 5 + end + if i > 0 then + local ldeepCopy = mist.utils.deepCopy + for x = 1, i do + local newTable = writeGroups[x] + local mistCategory + if type(newTable.category) == 'string' then + mistCategory = string.lower(newTable.category) + end + + if string.upper(newTable['category']) == 'GROUND_UNIT' then + mistCategory = 'vehicle' + newTable['category'] = mistCategory + elseif string.upper(newTable['category']) == 'AIRPLANE' then + mistCategory = 'plane' + newTable['category'] = mistCategory + elseif string.upper(newTable['category']) == 'HELICOPTER' then + mistCategory = 'helicopter' + newTable['category'] = mistCategory + elseif string.upper(newTable['category']) == 'SHIP' then + mistCategory = 'ship' + newTable['category'] = mistCategory + end + for newId, newUnitData in pairs(newTable.units) do + newUnitData.category = mistCategory + if newUnitData.unitId then + mist.DBs.unitsById[tonumber(newUnitData.unitId)] = ldeepCopy(newUnitData) + end + + mist.DBs.unitsByName[newUnitData.unitName] = ldeepCopy(newUnitData) + mist.DBs.unitsByCat[mistCategory][#mist.DBs.unitsByCat[mistCategory] + 1] = ldeepCopy(newUnitData) + mist.DBs.unitsByNum[#mist.DBs.unitsByNum + 1] = ldeepCopy(newUnitData) + end + -- this is a really annoying DB to populate. Gotta create new tables in case its missing + if not mist.DBs.units[newTable.coalition] then + mist.DBs.units[newTable.coalition] = {} + end + + if not mist.DBs.units[newTable.coalition][newTable.country] then + mist.DBs.units[newTable.coalition][(newTable.country)] = {} + mist.DBs.units[newTable.coalition][(newTable.country)]['countryId'] = newTable.countryId + end + if not mist.DBs.units[newTable.coalition][newTable.country][mistCategory] then + mist.DBs.units[newTable.coalition][(newTable.country)][mistCategory] = {} + end + mist.DBs.units[newTable.coalition][(newTable.country)][mistCategory][#mist.DBs.units[newTable.coalition][(newTable.country)][mistCategory] + 1] = ldeepCopy(newTable) + + if newTable.groupId then + mist.DBs.groupsById[newTable.groupId] = ldeepCopy(newTable) + end + + mist.DBs.groupsByName[newTable.name] = ldeepCopy(newTable) + mist.DBs.dynGroupsAdded[#mist.DBs.dynGroupsAdded + 1] = ldeepCopy(newTable) + + writeGroups[x] = nil + if x%savesPerRun == 0 then + coroutine.yield() + end + end + end + end + local update_alive_units_counter = 0 + local write_DB_table_counter = 0 + local check_spawn_events_counter = 0 -- THE MAIN FUNCTION -- Accessed 100 times/sec. mist.main = function() timer.scheduleFunction(mist.main, {}, timer.getTime() + 0.01) --reschedule first in case of Lua error ---------------------------------------------------------------------------------------------------------- --area to add new stuff in - - - + write_DB_table_counter = write_DB_table_counter + 1 + if write_DB_table_counter == 10 then + + write_DB_table_counter = 0 + + if not coroutines.updateDBTables then + coroutines['updateDBTables'] = coroutine.create(updateDBTables) + end + + coroutine.resume(coroutines.updateDBTables) + + if coroutine.status(coroutines.updateDBTables) == 'dead' then + coroutines.updateDBTables = nil + end + end + + check_spawn_events_counter = check_spawn_events_counter + 1 + if check_spawn_events_counter == 10 then + + check_spawn_events_counter = 0 + + if not coroutines.checkSpawnedEvents then + coroutines['checkSpawnedEvents'] = coroutine.create(checkSpawnedEvents) + end + + coroutine.resume(coroutines.checkSpawnedEvents) + + if coroutine.status(coroutines.checkSpawnedEvents) == 'dead' then + coroutines.checkSpawnedEvents = nil + end + end ----------------------------------------------------------------------------------------------------------- --updating alive units @@ -87,13 +439,287 @@ do mist.do_scheduled_functions() end -- end of mist.main + -------------------------------------------- + ------------ mist dyn add stuff for coroutines + local mistGpId = 7000 + local mistUnitId = 7000 + local mistDynAddIndex = 1 -end ------------------------------------------------------------------------------------------------------------- + mist.nextGroupId = 1 + mist.nextUnitId = 1 + + mist.getNextUnitId = function() + mist.nextUnitId = mist.nextUnitId + 1 + if mist.nextUnitId > 6900 then + mist.nextUnitId = 14000 + end + return mist.nextUnitId + end + + mist.getNextGroupId = function() + mist.nextGroupId = mist.nextGroupId + 1 + if mist.nextGroupId > 6900 then + mist.nextGroupId = 14000 + end + return mist.nextGroupId + end + + local function groupSpawned(event) + if event.id == world.event.S_EVENT_BIRTH and timer.getTime0() < timer.getAbsTime()then -- dont need to add units spawned in at the start of the mission if mist is loaded in init line + table.insert(tempSpawnedUnits,(event.initiator)) + end + end + + + + + mist.dynAddStatic = function(staticObj) + local newObj = {} + newObj.groupId = staticObj.groupId + newObj.category = staticObj.category + newObj.type = staticObj.type + newObj.unitId = staticObj.unitId + newObj.y = staticObj.y + newObj.x = staticObj.x + newObj.heading = staticObj.heading + newObj.name = staticObj.name + newObj.dead = staticObj.dead + newObj.country = staticObj.country + newObj.clone = staticObj.clone + newObj.shape_name = newObj.shape_name + + if staticObj.units then -- if its mist format + newObj.groupId = staticObj.units[1].groupId + newObj.category = staticObj.units[1].category + newObj.type = staticObj.units[1].type + newObj.unitId = staticObj.units[1].unitId + newObj.y = staticObj.units[1].y + newObj.x = staticObj.units[1].x + newObj.heading = staticObj.units[1].heading + newObj.name = staticObj.units[1].name + newObj.dead = staticObj.units[1].dead + newObj.country = staticObj.units[1].country + newObj.shape_name = staticObj.units[1].shape_name + end + + + newObj.country = staticObj.country + + if not newObj.country then + return false + end + + local newCountry + for countryName, countryId in pairs(country.id) do + if type(newObj.country) == 'string' then + if tostring(countryName) == string.upper(newObj.country) then + newCountry = countryName + end + elseif type(newObj.country) == 'number' then + if countryId == newObj.country then + newCountry = countryName + end + end + end + + if newObj.clone or not newObj.groupId then + mistGpId = mistGpId + 1 + newObj.groupId = mistGpId + end + + if newObj.clone or not newObj.unitId then + mistUnitId = mistUnitId + 1 + newObj.unitId = mistUnitId + end + + if newObj.clone or not newObj.name then + mistDynAddIndex = mistDynAddIndex + 1 + newObj.name = (newCountry .. ' static ' .. mistDynAddIndex) + end + + if not newObj.dead then + newObj.dead = false + end + + if not newObj.heading then + newObj.heading = math.random(360) + end + + if newObj.x and newObj.y and newObj.type and type(newObj.x) == 'number' and type(newObj.y) == 'number' and type(newObj.type) == 'string' then + coalition.addStaticObject(country.id[newCountry], newObj) + + return newObj.name + end + return false + end + + mist.dynAdd = function(newGroup) -- same as coalition.add function in SSE. checks the passed data to see if its valid. +--Will generate groupId, groupName, unitId, and unitName if needed +-- + + + --env.info('dynAdd') + local cntry = newGroup.country + local groupType = newGroup.category + local newCountry = '' + -- validate data + for countryName, countryId in pairs(country.id) do + if type(cntry) == 'string' then + if tostring(countryName) == string.upper(cntry) then + newCountry = countryName + end + elseif type(cntry) == 'number' then + if countryId == cntry then + newCountry = countryName + end + end + end + + if newCountry == '' then + return false + end + + local newCat = '' + for catName, catId in pairs(Unit.Category) do + if type(groupType) == 'string' then + if tostring(catName) == string.upper(groupType) then + newCat = catName + end + elseif type(groupType) == 'number' then + if catId == groupType then + newCat = catName + end + end + + if catName == 'GROUND_UNIT' and (string.upper(groupType) == 'VEHICLE' or string.upper(groupType) == 'GROUND') then + newCat = 'GROUND_UNIT' + elseif catName == 'AIRPLANE' and string.upper(groupType) == 'PLANE' then + newCat = 'AIRPLANE' + end + end + + local typeName + if newCat == 'GROUND_UNIT' then + typeName = ' gnd ' + elseif newCat == 'AIRPLANE' then + typeName = ' air ' + elseif newCat == 'HELICOPTER' then + typeName = ' hel ' + elseif newCat == 'SHIP' then + typeName = ' shp ' + elseif newCat == 'BUILDING' then + typeName = ' bld ' + end + + if newGroup.clone or not newGroup.groupId then + mistDynAddIndex = mistDynAddIndex + 1 + mistGpId = mistGpId + 1 + newGroup.groupId = mistGpId + end + if newGroup.groupName or newGroup.name then + if newGroup.groupName then + newGroup['name'] = newGroup.groupName + elseif newGroup.name then + newGroup['name'] = newGroup.name + end + end + + if newGroup.clone and mist.DBs.groupsByName[newGroup.name] or not newGroup.name then + newGroup['name'] = tostring(tostring(cntry) .. tostring(typeName) .. mistDynAddIndex) + end + + for unitIndex, unitData in pairs(newGroup.units) do + + local originalName = newGroup.units[unitIndex].unitName or newGroup.units[unitIndex].name + if newGroup.clone or not unitData.unitId then + mistUnitId = mistUnitId + 1 + newGroup.units[unitIndex]['unitId'] = mistUnitId + end + if newGroup.units[unitIndex].unitName or newGroup.units[unitIndex].name then + if newGroup.units[unitIndex].unitName then + newGroup.units[unitIndex].name = newGroup.units[unitIndex].unitName + elseif newGroup.units[unitIndex].name then + newGroup.units[unitIndex].name = newGroup.units[unitIndex].name + end + end + if newGroup.clone or not unitData.name then + newGroup.units[unitIndex].name = tostring(newGroup.name .. ' unit' .. unitIndex) + end + + if not unitData.skill then + newGroup.units[unitIndex].skill = 'Random' + end + + if not unitData.alt then + if newCat == 'AIRPLANE' then + newGroup.units[unitIndex].alt = 2000 + newGroup.units[unitIndex].alt_type = 'RADIO' + newGroup.units[unitIndex].speed = 150 + elseif newCat == 'HELICOPTER' then + newGroup.units[unitIndex].alt = 500 + newGroup.units[unitIndex].alt_type = 'RADIO' + newGroup.units[unitIndex].speed = 60 + else + --[[env.info('check height') + newGroup.units[unitIndex].alt = land.getHeight({x = newGroup.units[unitIndex].x, y = newGroup.units[unitIndex].y}) + newGroup.units[unitIndex].alt_type = 'BARO']] + end + + + end + + if newCat == 'AIRPLANE' or newCat == 'HELICOPTER' then + if (newGroup.units[unitIndex].alt_type ~= 'RADIO' or newGroup.units[unitIndex].alt_type ~= 'BARO') or not newGroup.units[unitIndex].alt_type then + newGroup.units[unitIndex].alt_type = 'RADIO' + end + if not unitData.speed then + if newCat == 'AIRPLANE' then + newGroup.units[unitIndex].speed = 150 + elseif newCat == 'HELICOPTER' then + newGroup.units[unitIndex].speed = 60 + end + end + if not unitData.payload then + newGroup.units[unitIndex].payload = mist.getPayload(originalName) + end + end + mistAddedObjects[#mistAddedObjects + 1] = mist.utils.deepCopy(newGroup.units[unitIndex]) + end + mistAddedGroups[#mistAddedGroups + 1] = mist.utils.deepCopy(newGroup) + + if newGroup.route and not newGroup.route.points then + if not newGroup.route.points and newGroup.route[1] then + local copyRoute = newGroup.route + newGroup.route = {} + newGroup.route.points = copyRoute + end + end + newGroup.country = newCountry + + + + -- sanitize table + newGroup.groupName = nil + newGroup.clone = nil + newGroup.category = nil + newGroup.country = nil + + newGroup.tasks = {} + newGroup.visible = false + + for unitIndex, unitData in pairs(newGroup.units) do + newGroup.units[unitIndex].unitName = nil + end + + coalition.addGroup(country.id[newCountry], Unit.Category[newCat], newGroup) + + return newGroup.name + + end --------------------------------------------------------------------------------------------- --Modified Slmod task scheduler, superior to timer.scheduleFunction -do + local Tasks = {} local task_id = 0 --[[ mist.scheduleFunction: @@ -169,8 +795,7 @@ do end -end -do + local idNum = 0 --Simplified event handler @@ -193,9 +818,14 @@ do end end return false - end + end + mist.addEventHandler(groupSpawned) +-- mist.scheduleFunction(checkSpawnedEvents, {}, timer.getTime() + 5, 1) + end +------------------------------------------------------------------------------------------------------------ + ---------------------------------------------------------------------------------------------- -- Utils- conversion, Lua utils, etc. @@ -866,6 +1496,18 @@ mist.getNorthCorrection = function(point) --gets the correction needed for true return math.atan2(north_posit.z - point.z, north_posit.x - point.x) end +mist.getUnitSkill = function(unitName) + if Unit.getByName(unitName) then + local lunit = Unit.getByName(unitName) + for name, data in pairs(mist.DBs.unitsByName) do + if name == unitName and data.type == lunit:getTypeName() and data.unitId == lunit:getID() and data.skill then + return data.skill + end + end + end + return false +end + function mist.getGroupPoints(groupname) -- if groupname exists in env.mission, then returns table of the group's points in numerical order, such as: { [1] = {x = 299435.224, y = -1146632.6773}, [2] = { x = 663324.6563, y = 322424.1112}} for coa_name, coa_data in pairs(env.mission.coalition) do if (coa_name == 'red' or coa_name == 'blue') and type(coa_data) == 'table' then @@ -875,7 +1517,7 @@ function mist.getGroupPoints(groupname) -- if groupname exists in env.mission, if obj_type_name == "helicopter" or obj_type_name == "ship" or obj_type_name == "plane" or obj_type_name == "vehicle" then -- only these types have points if ((type(obj_type_data) == 'table') and obj_type_data.group and (type(obj_type_data.group) == 'table') and (#obj_type_data.group > 0)) then --there's a group! for group_num, group_data in pairs(obj_type_data.group) do - if group_data and group_data.name and group_data.name == groupname then -- this is the group we are looking for + if group_data and group_data.name and mist.stringMatch(group_data.name, groupname) then -- this is the group we are looking for if group_data.route and group_data.route.points and #group_data.route.points > 0 then local points = {} for point_num, point in pairs(group_data.route.points) do @@ -1210,6 +1852,11 @@ for coa_name, coa_data in pairs(env.mission.coalition) do mist.DBs.units[coa_name][countryName][category][group_num]["startTime"] = group_data.start_time mist.DBs.units[coa_name][countryName][category][group_num]["task"] = group_data.task mist.DBs.units[coa_name][countryName][category][group_num]["units"] = {} + + mist.DBs.units[coa_name][countryName][category][group_num]["radioSet"] = group_data.radioSet + mist.DBs.units[coa_name][countryName][category][group_num]["uncontrolled"] = group_data.uncontrolled + mist.DBs.units[coa_name][countryName][category][group_num]["frequency"] = group_data.frequency + mist.DBs.units[coa_name][countryName][category][group_num]["modulation"] = group_data.modulation for unit_num, unit_data in pairs(group_data.units) do local units_tbl = mist.DBs.units[coa_name][countryName][category][group_num]["units"] --pointer to the units table for this group @@ -1236,8 +1883,13 @@ for coa_name, coa_data in pairs(env.mission.coalition) do units_tbl[unit_num]["point"]["x"] = unit_data.x units_tbl[unit_num]["point"]["y"] = unit_data.y end + units_tbl[unit_num]['x'] = unit_data.x + units_tbl[unit_num]['y'] = unit_data.y - + units_tbl[unit_num]["callsign"] = unit_data.callsign + units_tbl[unit_num]["onboard_num"] = unit_data.onboard_num + units_tbl[unit_num]["hardpoint_racks"] = unit_data.hardpoint_racks + units_tbl[unit_num]["psi"] = unit_data.psi units_tbl[unit_num]["shape_name"] = unit_data.shape_name units_tbl[unit_num]["groupName"] = group_data.name @@ -1322,6 +1974,18 @@ for coa_name, coa_data in pairs(mist.DBs.units) do end -------------- +-------- mist unitID funcs +do + for id, idData in pairs(mist.DBs.unitsById) do + if idData.unitId > mist.nextUnitId then + mist.nextUnitId = mist.utils.deepCopy(idData.unitId) + end + if idData.groupId > mist.nextGroupId then + mist.nextGroupId = mist.utils.deepCopy(idData.groupId) + end + end +end + --DynDBs mist.DBs.MEunits = mist.utils.deepCopy(mist.DBs.units) mist.DBs.MEunitsByName = mist.utils.deepCopy(mist.DBs.unitsByName) @@ -1902,8 +2566,8 @@ initial_number -- type_tbl local type_tbl = { [{'zones', 'zone'}] = {'table', 'string'}, - flag = 'number', - stopflag = {'number', 'nil'}, + flag = {'number', 'string'}, + stopflag = {'number', 'string', 'nil'}, [{'req_num', 'reqnum'}] = {'number', 'nil'}, } @@ -1949,8 +2613,8 @@ initial_number -- type_tbl local type_tbl = { [{'zone', 'polyzone'}] = 'table', - flag = 'number', - stopflag = {'number', 'nil'}, + flag = {'number', 'string'}, + stopflag = {'number', 'string', 'nil'}, [{'req_num', 'reqnum'}] = {'number', 'nil'}, } @@ -1979,6 +2643,15 @@ end function mist.pointInPolygon(point, poly, maxalt) --raycasting point in polygon. Code from http://softsurfer.com/Archive/algorithm_0103/algorithm_0103.htm + local type_tbl = { + point {'table'}, + poly = {'number'}, + maxalt = {'number', 'nil'}, + } + + local err, errmsg = mist.utils.typeCheck('mist.pointInPolygon', type_tbl, {point, poly, maxalt}) + assert(err, errmsg) + point = mist.utils.makeVec3(point) local px = point.x local pz = point.z @@ -2007,6 +2680,22 @@ function mist.pointInPolygon(point, poly, maxalt) --raycasting point in polygon. end end +mist.getUnitsInPolygon = function (unit_names, polyZone, max_alt) + local units = {} + + for i = 1, #unit_names do + units[#units + 1] = Unit.getByName(unitNames[i]) + end + + local inZoneUnits = {} + for i =1, #units do + if units[i]:isActive() and mist.pointInPolygon(units[i]:getPosition().p, polyZone, max_alt) then + inZoneUnits[inZoneUnits + 1] = units[i] + end + end + + return inZoneUnits +end function mist.flagFunc.units_in_polygon(vars) --[[vars needs to be: @@ -2023,8 +2712,8 @@ toggle = boolean or nil local type_tbl = { [{'units', 'unit'}] = 'table', [{'zone', 'polyzone'}] = 'table', - flag = 'number', - stopflag = {'number', 'nil'}, + flag = {'number', 'string'}, + stopflag = {'number', 'string', 'nil'}, [{'maxalt', 'alt'}] = {'number', 'nil'}, interval = {'number', 'nil'}, [{'req_num', 'reqnum'}] = {'number', 'nil'}, @@ -2150,8 +2839,8 @@ function mist.flagFunc.units_in_zones(vars) local type_tbl = { units = 'table', zones = 'table', - flag = 'number', - stopflag = {'number', 'nil'}, + flag = {'number', 'string'}, + stopflag = {'number', 'string', 'nil'}, [{'zone_type', 'zonetype'}] = {'string', 'nil'}, [{'req_num', 'reqnum'}] = {'number', 'nil'}, interval = {'number', 'nil'}, @@ -2258,8 +2947,8 @@ function mist.flagFunc.units_in_moving_zones(vars) units = 'table', [{'zone_units', 'zoneunits'}] = 'table', radius = 'number', - flag = 'number', - stopflag = {'number', 'nil'}, + flag = {'number', 'string'}, + stopflag = {'number', 'string', 'nil'}, [{'zone_type', 'zonetype'}] = {'string', 'nil'}, [{'req_num', 'reqnum'}] = {'number', 'nil'}, interval = {'number', 'nil'}, @@ -2374,8 +3063,8 @@ toggle = boolean or nil [{'altoffset1', 'alt1'}] = 'number', [{'unitset2', 'units2'}] = 'table', [{'altoffset2', 'alt2'}] = 'number', - flag = 'number', - stopflag = {'number', 'nil'}, + flag = {'number', 'string'}, + stopflag = {'number', 'string', 'nil'}, [{'req_num', 'reqnum'}] = {'number', 'nil'}, interval = {'number', 'nil'}, radius = {'number', 'nil'}, @@ -2420,6 +3109,177 @@ toggle = boolean or nil end end +mist.flagFunc.group_alive = function(vars) +--[[vars +groupName +flag +toggle +interval +stopFlag + +]] + local type_tbl = { + [{'group', 'groupname', 'gp', 'groupName'}] = 'string', + flag = {'number', 'string'}, + stopflag = {'number', 'string', 'nil'}, + interval = {'number', 'nil'}, + toggle = {'boolean', 'nil'}, + } + + local err, errmsg = mist.utils.typeCheck('mist.flagFunc.group_alive', type_tbl, vars) + assert(err, errmsg) + + local groupName = vars.groupName or vars.group or vars.gp or vars.Groupname + local flag = vars.flag + local stopflag = vars.stopflag or -1 + local interval = vars.interval or 1 + local toggle = vars.toggle or nil + + + if stopflag == -1 or (type(trigger.misc.getUserFlag(stopflag)) == 'number' and trigger.misc.getUserFlag(stopflag) == 0) or (type(trigger.misc.getUserFlag(stopflag)) == 'boolean' and trigger.misc.getUserFlag(stopflag) == false) then + if Group.getByName(groupName) and Group.getByName(groupName):isActive() then + if trigger.misc.getUserFlag(flag) == 0 then + trigger.action.setUserFlag(flag, true) + end + else + if toggle then + trigger.action.setUserFlag(flag, false) + end + end + end + + if (type(trigger.misc.getUserFlag(stopflag)) == 'number' and trigger.misc.getUserFlag(stopflag) == 0) or (type(trigger.misc.getUserFlag(stopflag)) == 'boolean' and trigger.misc.getUserFlag(stopflag) == false) then + mist.scheduleFunction(mist.flagFunc.group_alive, {{groupName = groupName, flag = flag, stopflag = stopflag, interval = interval, toggle = toggle}}, timer.getTime() + interval) + end + +end + +mist.flagFunc.group_dead = function(vars) + local type_tbl = { + [{'group', 'groupname', 'gp', 'groupName'}] = 'string', + flag = {'number', 'string'}, + stopflag = {'number', 'string', 'nil'}, + interval = {'number', 'nil'}, + toggle = {'boolean', 'nil'}, + } + + local err, errmsg = mist.utils.typeCheck('mist.flagFunc.group_dead', type_tbl, vars) + assert(err, errmsg) + + local groupName = vars.groupName or vars.group or vars.gp or vars.Groupname + local flag = vars.flag + local stopflag = vars.stopflag or -1 + local interval = vars.interval or 1 + local toggle = vars.toggle or nil + + + if stopflag == -1 or (type(trigger.misc.getUserFlag(stopflag)) == 'number' and trigger.misc.getUserFlag(stopflag) == 0) or (type(trigger.misc.getUserFlag(stopflag)) == 'boolean' and trigger.misc.getUserFlag(stopflag) == false) then + if not Group.getByName(groupName) then + if trigger.misc.getUserFlag(flag) == 0 then + trigger.action.setUserFlag(flag, true) + end + else + if toggle then + trigger.action.setUserFlag(flag, false) + end + end + end + + if (type(trigger.misc.getUserFlag(stopflag)) == 'number' and trigger.misc.getUserFlag(stopflag) == 0) or (type(trigger.misc.getUserFlag(stopflag)) == 'boolean' and trigger.misc.getUserFlag(stopflag) == false) then + mist.scheduleFunction(mist.flagFunc.group_dead, {{groupName = groupName, flag = flag, stopflag = stopflag, interval = interval, toggle = toggle}}, timer.getTime() + interval) + end +end + +mist.flagFunc.group_alive_less_than = function(vars) + local type_tbl = { + [{'group', 'groupname', 'gp', 'groupName'}] = 'string', + percent = 'number', + flag = {'number', 'string'}, + stopflag = {'number', 'string', 'nil'}, + interval = {'number', 'nil'}, + toggle = {'boolean', 'nil'}, + } + + local err, errmsg = mist.utils.typeCheck('mist.flagFunc.group_alive_less_than', type_tbl, vars) + assert(err, errmsg) + + local groupName = vars.groupName or vars.group or vars.gp or vars.Groupname + local flag = vars.flag + local percent = vars.percent + local stopflag = vars.stopflag or -1 + local interval = vars.interval or 1 + local toggle = vars.toggle or nil + + + if stopflag == -1 or (type(trigger.misc.getUserFlag(stopflag)) == 'number' and trigger.misc.getUserFlag(stopflag) == 0) or (type(trigger.misc.getUserFlag(stopflag)) == 'boolean' and trigger.misc.getUserFlag(stopflag) == false) then + if Group.getByName(groupName) and Group.getByName(groupName):isActive() then + if Group.getByName(groupName):getSize()/Group.getByName(groupName):getInitialSize() < percent/100 then + if trigger.misc.getUserFlag(flag) == 0 then + trigger.action.setUserFlag(flag, true) + end + else + if toggle then + trigger.action.setUserFlag(flag, false) + end + end + else + if trigger.misc.getUserFlag(flag) == 0 then + trigger.action.setUserFlag(flag, true) + end + end + end + + if (type(trigger.misc.getUserFlag(stopflag)) == 'number' and trigger.misc.getUserFlag(stopflag) == 0) or (type(trigger.misc.getUserFlag(stopflag)) == 'boolean' and trigger.misc.getUserFlag(stopflag) == false) then + mist.scheduleFunction(mist.flagFunc.group_alive_less_than, {{groupName = groupName, flag = flag, stopflag = stopflag, interval = interval, toggle = toggle, percent = percent}}, timer.getTime() + interval) + end +end + +mist.flagFunc.group_alive_more_than = function(vars) + local type_tbl = { + [{'group', 'groupname', 'gp', 'groupName'}] = 'string', + percent = 'number', + flag = {'number', 'string'}, + stopflag = {'number', 'string', 'nil'}, + interval = {'number', 'nil'}, + toggle = {'boolean', 'nil'}, + } + + local err, errmsg = mist.utils.typeCheck('mist.flagFunc.group_alive_more_than', type_tbl, vars) + assert(err, errmsg) + + local groupName = vars.groupName or vars.group or vars.gp or vars.Groupname + local flag = vars.flag + local percent = vars.percent + local stopflag = vars.stopflag or -1 + local interval = vars.interval or 1 + local toggle = vars.toggle or nil + + + if stopflag == -1 or (type(trigger.misc.getUserFlag(stopflag)) == 'number' and trigger.misc.getUserFlag(stopflag) == 0) or (type(trigger.misc.getUserFlag(stopflag)) == 'boolean' and trigger.misc.getUserFlag(stopflag) == false) then + if Group.getByName(groupName) and Group.getByName(groupName):isActive() then + if Group.getByName(groupName):getSize()/Group.getByName(groupName):getInitialSize() > percent/100 then + if trigger.misc.getUserFlag(flag) == 0 then + trigger.action.setUserFlag(flag, true) + end + else + if toggle and trigger.misc.getUserFlag(flag) == 1 then + trigger.action.setUserFlag(flag, false) + end + end + else --- just in case + if toggle and trigger.misc.getUserFlag(flag) == 1 then + trigger.action.setUserFlag(flag, false) + end + end + end + + if (type(trigger.misc.getUserFlag(stopflag)) == 'number' and trigger.misc.getUserFlag(stopflag) == 0) or (type(trigger.misc.getUserFlag(stopflag)) == 'boolean' and trigger.misc.getUserFlag(stopflag) == false) then + mist.scheduleFunction(mist.flagFunc.group_alive_more_than, {{groupName = groupName, flag = flag, stopflag = stopflag, interval = interval, toggle = toggle, percent = percent}}, timer.getTime() + interval) + end +end + + + --Gets the average position of a group of units (by name) mist.getAvgPos = function(unitNames) local avgX, avgY, avgZ, totNum = 0, 0, 0, 0 @@ -2609,7 +3469,7 @@ function mist.getGroupRoute(groupname, task) -- same as getGroupPoints but ret if obj_type_name == "helicopter" or obj_type_name == "ship" or obj_type_name == "plane" or obj_type_name == "vehicle" then -- only these types have points if ((type(obj_type_data) == 'table') and obj_type_data.group and (type(obj_type_data.group) == 'table') and (#obj_type_data.group > 0)) then --there's a group! for group_num, group_data in pairs(obj_type_data.group) do - if group_data and group_data.name and group_data.name == groupname then -- this is the group we are looking for + if group_data and group_data.name and mist.stringMatch(group_data.name, groupname) then -- this is the group we are looking for if group_data.route and group_data.route.points and #group_data.route.points > 0 then local points = {} @@ -2635,7 +3495,6 @@ function mist.getGroupRoute(groupname, task) -- same as getGroupPoints but ret points[point_num] = routeData end - return points end return @@ -2732,9 +3591,9 @@ mist.fixedWing.buildWP = function(point, WPtype, speed, alt, altType) if altType then altType = string.lower(altType) - if altType == 'radio' or 'agl' then + if altType == 'radio' or altType == 'agl' then wp.alt_type = 'RADIO' - elseif altType == 'baro' or 'asl' then + elseif altType == 'baro' or altType == 'asl' then wp.alt_type = 'BARO' end else @@ -2791,9 +3650,9 @@ mist.heli.buildWP = function(point, WPtype, speed, alt, altType) if altType then altType = string.lower(altType) - if altType == 'radio' or 'agl' then + if altType == 'radio' or altType == 'agl' then wp.alt_type = 'RADIO' - elseif altType == 'baro' or 'asl' then + elseif altType == 'baro' or altType == 'asl' then wp.alt_type = 'BARO' end else @@ -2987,7 +3846,36 @@ mist.isTerrainValid = function(coord, terrainTypes) -- vec2/3 and enum or table return false end - +mist.terrainHeightDiff = function(coord, searchSize) + local samples = {} + local searchRadius = 5 + if searchSize then + searchRadius = searchSize + end + if type(coord) == 'string' then + coord = mist.utils.zoneToVec3(coord) + end + + coord = mist.utils.makeVec2(coord) + + samples[#samples + 1] = land.getHeight(coord) + for i = 0, 360, 30 do + samples[#samples + 1] = land.getHeight({x = (coord.x + (math.sin(math.rad(i))*searchRadius)), y = (coord.y + (math.cos(math.rad(i))*searchRadius))}) + if searchRadius >= 20 then -- if search radius is sorta large, take a sample halfway between center and outer edge + samples[#samples + 1] = land.getHeight({x = (coord.x + (math.sin(math.rad(i))*(searchRadius/2))), y = (coord.y + (math.cos(math.rad(i))*(searchRadius/2)))}) + end + end + local tMax, tMin = 0, 1000000 + for index, height in pairs(samples) do + if height > tMax then + tMax = height + end + if height < tMin then + tMin = height + end + end + return mist.utils.round(tMax - tMin, 2) +end @@ -3492,7 +4380,6 @@ mist.getBRString = function(vars) end end - -- Returns the Vec3 coordinates of the average position of the concentration of units most in the heading direction. --[[ vars for mist.getLeadingPos: vars.units - table of unit names @@ -3879,588 +4766,31 @@ end -- start of sct Merge do -- all function uses of group and unit Ids must be in this do statement - local mistGpId = 7000 - local mistUnitId = 7000 - local mistDynAddIndex = 1 - mist.nextGroupId = 1 - mist.nextUnitId = 1 - - local tempSpawnedUnits = {} -- birth events added here - local addToDBs = {} -- mist.dynAdd added here +mist.groupTableCheck = function(groupData) + local isOk = false - local function checkSpawnedEvents() - --env.info('check Spawned Events') - local groupsToAdd = {} - - for index, gpData in pairs(addToDBs) do - groupsToAdd[#groupsToAdd + 1] = gpData - groupsToAdd[#groupsToAdd].mist = true -- ok now - - addToDBs[index] = nil - end - --env.info(#groupsToAdd) - --env.info(#tempSpawnedUnits) - for eventId, eventData in pairs(tempSpawnedUnits) do - if eventData and eventData:isExist() then - if eventData:getCategory() == 1 then -- normal groups - local match = false - if #groupsToAdd > 0 then -- if groups are expected - for groupId, groupData in pairs(groupsToAdd) do -- iterate through known groups to add - if (type(groupData) == 'string' and groupData == eventData:getGroup():getName()) or (type(groupData) == 'table' and groupData.name == eventData:getGroup():getName()) then -- already added, do nothing - match = true - break - end - end - if match == false then -- hasn't been added - groupsToAdd[#groupsToAdd + 1] = eventData:getGroup():getName() - end - else -- no groups added by mist - groupsToAdd[#groupsToAdd + 1] = eventData:getGroup():getName() - end - elseif eventData:getCategory() == 3 then -- static objects - local name = eventData:getName() - local found = false - for groupId, groupData in pairs(groupsToAdd) do - if type(groupData) == 'string' and groupData == name then - found = true - break - end - end - if found == false then - groupsToAdd[#groupsToAdd + 1] = name - end - end - end - tempSpawnedUnits[eventId] = nil - end - - - if #groupsToAdd > 0 then - --env.info('doDBUpdate') - for groupId, groupData in pairs(groupsToAdd) do - if not mist.DBs.groupsByName[groupData] or mist.DBs.groupsByName[groupData] and mist.DBs.groupsByName[groupData].startTime + 10 < timer.getAbsTime() then - mist.dbUpdate(groupData) - end + if groupData.country then + isOk = true + end + if groupData.category then + isOk = true + else + isOk = false + end + if groupData.units then + for unitId, unitData in pairs(groupData.units) do + if unitData.x and unitData.y and unitData.type then + isOk = true end end + else + isOk = false end - mist.scheduleFunction(checkSpawnedEvents, {}, timer.getTime() + 5, 2) - - for id, idData in pairs(mist.DBs.unitsById) do - if idData.unitId > mist.nextUnitId then - mist.nextUnitId = mist.utils.deepCopy(idData.unitId) - end - if idData.groupId > mist.nextGroupId then - mist.nextGroupId = mist.utils.deepCopy(idData.groupId) - end - end - - mist.getNextUnitId = function() - mist.nextUnitId = mist.nextUnitId + 1 - if mist.nextUnitId > 6900 then - mist.nextUnitId = 14000 - end - return mist.nextUnitId - end - - mist.getNextGroupId = function() - mist.nextGroupId = mist.nextGroupId + 1 - if mist.nextGroupId > 6900 then - mist.nextGroupId = 14000 - end - return mist.nextGroupId - end - - local function groupSpawned(event) - - - --trigger.action.outText(mist.utils.tableShow(event), 25) - if event.id == world.event.S_EVENT_BIRTH and timer.getTime0() < timer.getAbsTime()then -- dont need to add units spawned in at the start of the mission if mist is loaded in init line - --env.info(#tempSpawnedUnits .. 'S_EVENTBIRTH') - tempSpawnedUnits[#tempSpawnedUnits + 1] = (event.initiator) - - --[[local msg = {} - msg.text = mist.utils.tableShow(event) - msg.text = msg.text .. '\n' .. Unit.getName(event.initiator) - msg.msgFor = {coa = {'all'}} - msg.displayTime = 10 - - mist.message.add(msg)]] - -- mist.scheduleFunction(checkSpawnedEvents, {}, timer.getTime() + 1.5) - end - - end - - mist.addEventHandler(groupSpawned) - - - mist.dbUpdate = function(event) - local groupData - - --env.info('dbUpdate') - --[[ Similar to normal DBs, example... - [unitID] = { - [instance1] = {fist added unitData} - [instance2] = {2nd added Unit Data} - - ]] - - - if type(event) == 'string' then -- if name of an object. - --env.info('event') - local newObject - local newType = 'group' - if Group.getByName(event) then - newObject = Group.getByName(event) - --env.info('group') - elseif StaticObject.getByName(event) then - newObject = StaticObject.getByName(event) - newType = 'static' - -- env.info('its static') - else - env.info('WTF') - return false - end - - groupData = {} - groupData.name = newObject:getName() - groupData.groupId = tonumber(newObject:getID()) - - local unitOneRef - if newType == 'static' then - - unitOneRef = newObject - groupData.countryId = tonumber(newObject:getCountry()) - groupData.coalitionId = tonumber(newObject:getCoalition()) - groupData.category = 'static' - else - unitOneRef = newObject:getUnits() - groupData.countryId = tonumber(unitOneRef[1]:getCountry()) - groupData.coalitionId = tonumber(unitOneRef[1]:getCoalition()) - groupData.category = tonumber(newObject:getCategory()) - end - - groupData.units = {} - if newType == 'group' then - for unitId, unitData in pairs(unitOneRef) do - groupData.units[unitId] = {} - groupData.units[unitId].name = unitData:getName() - - groupData.units[unitId].x = mist.utils.round(unitData:getPosition().p.x) - groupData.units[unitId].y = mist.utils.round(unitData:getPosition().p.z) - groupData.units[unitId].alt = mist.utils.round(unitData:getPosition().p.y) - groupData.units[unitId].alt_type = "BARO" - groupData.units[unitId].heading = mist.getHeading(unitData, true) - - groupData.units[unitId].type = unitData:getTypeName() - groupData.units[unitId].unitId = tonumber(unitData:getID()) - groupData.units[unitId].skill = "HIGH" - - groupData.units[unitId].groupName = groupData.name - groupData.units[unitId].groupId = groupData.groupId - groupData.units[unitId].countryId = groupData.countryId - groupData.units[unitId].coalitionId = groupData.coalitionId - - end - else -- its a static - - groupData.units[1] = {} - groupData.units[1].name = newObject:getName() - - groupData.units[1].x = mist.utils.round(newObject:getPosition().p.x) - groupData.units[1].y = mist.utils.round(newObject:getPosition().p.z) - groupData.units[1].alt = mist.utils.round(newObject:getPosition().p.y) - groupData.units[1].heading = mist.getHeading(newObject, true) - groupData.units[1].type = newObject:getTypeName() - groupData.units[1].unitId = tonumber(newObject:getID()) - groupData.units[1].groupName = groupData.name - groupData.units[1].groupId = groupData.groupId - groupData.units[1].countryId = groupData.countryId - groupData.units[1].coalitionId = groupData.coalitionId - - - end - - - else -- its a table - groupData = event - - end - - local mistCategory - if type(groupData.category) == 'string' then - mistCategory = string.lower(groupData.category) - end - - --mist.debug.writeData(mist.utils.serialize,{'DBs', groupData}, 'newUnits.txt') - --for newGroupIndex, newGroupData in pairs(groupData) do - - local newTable = {} - - local tableSize = #mist.DBs.dynGroupsAdded + 1 - newTable['name'] = groupData.name - newTable['groupId'] = groupData.groupId - newTable['startTime'] = timer.getAbsTime() - newTable['task'] = groupData.task - - - for countryData, countryId in pairs(country.id) do - if groupData.country and string.upper(countryData) == string.upper(groupData.country) or countryId == groupData.countryId then - newTable['countryId'] = countryId - newTable['country'] = string.lower(countryData) - for coaData, coaId in pairs(coalition.side) do - if coaId == coalition.getCountryCoalition(countryId) then - newTable['coalition'] = string.lower(coaData) - end - end - end - end - - for catData, catId in pairs(Unit.Category) do - if Group.getByName(groupData.name):isExist() then - if catId == Group.getByName(groupData.name):getCategory() then - newTable['category'] = string.lower(catData) - end - elseif StaticObject.getByName(groupData.name):isExist() then - if catId == StaticObject.getByName(groupData.name):getCategory() then - newTable['category'] = string.lower(catData) - end - - end - end - - - if string.upper(newTable['category']) == 'GROUND_UNIT' then - mistCategory = 'vehicle' - newTable['category'] = mistCategory - elseif string.upper(newTable['category']) == 'AIRPLANE' then - mistCategory = 'plane' - newTable['category'] = mistCategory - elseif string.upper(newTable['category']) == 'HELICOPTER' then - mistCategory = 'helicopter' - newTable['category'] = mistCategory - elseif string.upper(newTable['category']) == 'SHIP' then - mistCategory = 'ship' - newTable['category'] = mistCategory - end - - newTable['units'] = {} - for newUnitId, newUnitData in pairs(groupData.units) do - - newTable['units'][newUnitId] = {} - newTable['units'][newUnitId]['unitName'] = newUnitData.name - newTable['units'][newUnitId]['groupId'] = tonumber(groupData.groupId) - newTable['units'][newUnitId]['heading'] = newUnitData.heading - newTable['units'][newUnitId]['point'] = {} - newTable['units'][newUnitId]['point']['x'] = newUnitData.x - newTable['units'][newUnitId]['point']['y'] = newUnitData.y - newTable['units'][newUnitId]['alt'] = newUnitData.alt - newTable['units'][newUnitId]['alt_type'] = newUnitData.alt_type - newTable['units'][newUnitId]['unitId'] = tonumber(newUnitData.unitId) - newTable['units'][newUnitId]['speed'] = newUnitData.speed - newTable['units'][newUnitId]['airdromeId'] = newUnitData.airdromeId - newTable['units'][newUnitId]['type'] = newUnitData.type - newTable['units'][newUnitId]['skill'] = newUnitData.skill - newTable['units'][newUnitId]['groupName'] = groupData.name - newTable['units'][newUnitId]['livery_id'] = groupData.livery_id - newTable['units'][newUnitId]['country'] = string.lower(newTable.country) - newTable['units'][newUnitId]['countryId'] = newTable.countryId - newTable['units'][newUnitId]['coalition'] = newTable.coalition - newTable['units'][newUnitId]['category'] = newTable.category - - newTable['units'][newUnitId]['shape_name'] = newTable.shape_name -- for statics - - - - if newUnitData.unitId then - mist.DBs.unitsById[tonumber(newUnitData.unitId)] = mist.utils.deepCopy(newTable['units'][newUnitId]) - end - - mist.DBs.unitsByName[newUnitData.name] = mist.utils.deepCopy(newTable['units'][newUnitId]) - mist.DBs.unitsByCat[mistCategory][#mist.DBs.unitsByCat[mistCategory] + 1] = mist.utils.deepCopy(newTable['units'][newUnitId]) - mist.DBs.unitsByNum[#mist.DBs.unitsByNum + 1] = mist.utils.deepCopy(newTable['units'][newUnitId]) - - end - - - - -- this is a really annoying DB to populate. Gotta create new tables in case its missing - if not mist.DBs.units[newTable.coalition] then - mist.DBs.units[newTable.coalition] = {} - end - - if not mist.DBs.units[newTable.coalition][newTable.country] then - mist.DBs.units[newTable.coalition][(newTable.country)] = {} - mist.DBs.units[newTable.coalition][(newTable.country)]['countryId'] = newTable.countryId - end - if not mist.DBs.units[newTable.coalition][newTable.country][mistCategory] then - mist.DBs.units[newTable.coalition][(newTable.country)][mistCategory] = {} - end - mist.DBs.units[newTable.coalition][(newTable.country)][mistCategory][#mist.DBs.units[newTable.coalition][(newTable.country)][mistCategory] + 1] = mist.utils.deepCopy(newTable) - - if newTable.groupId then - mist.DBs.groupsById[groupData.groupId] = mist.utils.deepCopy(newTable) - end - - mist.DBs.groupsByName[groupData.name] = mist.utils.deepCopy(newTable) - - newTable['timeAdded'] = timer.getAbsTime() -- only on the dynGroupsAdded table. For other reference, see start time - mist.DBs.dynGroupsAdded[#mist.DBs.dynGroupsAdded + 1] = mist.utils.deepCopy(newTable) - - - --mist.debug.dumpDBs() - --end - return - end - - - mist.dynAddStatic = function(staticObj) - local newObj = {} - newObj.groupId = staticObj.groupId - newObj.category = staticObj.category - newObj.type = staticObj.type - newObj.unitId = staticObj.unitId - newObj.y = staticObj.y - newObj.x = staticObj.x - newObj.heading = staticObj.heading - newObj.name = staticObj.name - newObj.dead = staticObj.dead - newObj.country = staticObj.country - newObj.clone = staticObj.clone - newObj.shape_name = newObj.shape_name - - if staticObj.units then -- if its mist format - newObj.groupId = staticObj.units[1].groupId - newObj.category = staticObj.units[1].category - newObj.type = staticObj.units[1].type - newObj.unitId = staticObj.units[1].unitId - newObj.y = staticObj.units[1].y - newObj.x = staticObj.units[1].x - newObj.heading = staticObj.units[1].heading - newObj.name = staticObj.units[1].name - newObj.dead = staticObj.units[1].dead - newObj.country = staticObj.units[1].country - newObj.shape_name = staticObj.units[1].shape_name - end - - - newObj.country = staticObj.country - - if not newObj.country then - return false - end - - local newCountry - for countryName, countryId in pairs(country.id) do - if type(newObj.country) == 'string' then - if tostring(countryName) == string.upper(newObj.country) then - newCountry = countryName - end - elseif type(newObj.country) == 'number' then - if countryId == newObj.country then - newCountry = countryName - end - end - end - - if newObj.clone or not newObj.groupId then - mistGpId = mistGpId + 1 - newObj.groupId = mistGpId - end - - if newObj.clone or not newObj.unitId then - mistUnitId = mistUnitId + 1 - newObj.unitId = mistUnitId - end - - if newObj.clone or not newObj.name then - mistDynAddIndex = mistDynAddIndex + 1 - newObj.name = (newCountry .. ' static ' .. mistDynAddIndex) - end - - if not newObj.dead then - newObj.dead = false - end - - if not newObj.heading then - newObj.heading = math.random(360) - end - - if newObj.x and newObj.y and newObj.type and type(newObj.x) == 'number' and type(newObj.y) == 'number' and type(newObj.type) == 'string' then - coalition.addStaticObject(country.id[newCountry], newObj) - - return newObj.name - end - return false - end - - mist.dynAdd = function(newGroup) -- same as coalition.add function in SSE. checks the passed data to see if its valid. ---Will generate groupId, groupName, unitId, and unitName if needed --- - - - --env.info('dynAdd') - local cntry = newGroup.country - local groupType = newGroup.category - local newCountry = '' - - -- validate data - for countryName, countryId in pairs(country.id) do - if type(cntry) == 'string' then - if tostring(countryName) == string.upper(cntry) then - newCountry = countryName - end - elseif type(cntry) == 'number' then - if countryId == cntry then - newCountry = countryName - end - end - end - - if newCountry == '' then - return false - end - - local newCat = '' - for catName, catId in pairs(Unit.Category) do - if type(groupType) == 'string' then - if tostring(catName) == string.upper(groupType) then - newCat = catName - end - elseif type(groupType) == 'number' then - if catId == groupType then - newCat = catName - end - end - - if catName == 'GROUND_UNIT' and (string.upper(groupType) == 'VEHICLE' or string.upper(groupType) == 'GROUND') then - newCat = 'GROUND_UNIT' - elseif catName == 'AIRPLANE' and string.upper(groupType) == 'PLANE' then - newCat = 'AIRPLANE' - end - end - - local typeName - if newCat == 'GROUND_UNIT' then - typeName = ' gnd ' - elseif newCat == 'AIRPLANE' then - typeName = ' air ' - elseif newCat == 'HELICOPTER' then - typeName = ' hel ' - elseif newCat == 'SHIP' then - typeName = ' shp ' - elseif newCat == 'BUILDING' then - typeName = ' bld ' - end - - if newGroup.clone or not newGroup.groupId then - mistDynAddIndex = mistDynAddIndex + 1 - mistGpId = mistGpId + 1 - newGroup.groupId = mistGpId - end - if newGroup.groupName or newGroup.name then - if newGroup.groupName then - newGroup['name'] = newGroup.groupName - elseif newGroup.name then - newGroup['name'] = newGroup.name - end - end - if newGroup.clone or not newGroup.name then - newGroup['name'] = tostring(tostring(cntry) .. tostring(typeName) .. mistDynAddIndex) - end - - for unitIndex, unitData in pairs(newGroup.units) do - - local originalName = newGroup.units[unitIndex].unitName or newGroup.units[unitIndex].name - if newGroup.clone or not unitData.unitId then - mistUnitId = mistUnitId + 1 - newGroup.units[unitIndex]['unitId'] = mistUnitId - end - if newGroup.units[unitIndex].unitName or newGroup.units[unitIndex].name then - if newGroup.units[unitIndex].unitName then - newGroup.units[unitIndex].name = newGroup.units[unitIndex].unitName - elseif newGroup.units[unitIndex].name then - newGroup.units[unitIndex].name = newGroup.units[unitIndex].name - end - end - if newGroup.clone or not unitData.name then - newGroup.units[unitIndex].name = tostring(newGroup.name .. ' unit' .. unitIndex) - end - - if not unitData.skill then - newGroup.units[unitIndex].skill = 'Random' - end - - if not unitData.alt then - if newCat == 'AIRPLANE' then - newGroup.units[unitIndex].alt = 2000 - newGroup.units[unitIndex].alt_type = 'RADIO' - newGroup.units[unitIndex].speed = 150 - elseif newCat == 'HELICOPTER' then - newGroup.units[unitIndex].alt = 500 - newGroup.units[unitIndex].alt_type = 'RADIO' - newGroup.units[unitIndex].speed = 60 - else - --[[env.info('check height') - newGroup.units[unitIndex].alt = land.getHeight({x = newGroup.units[unitIndex].x, y = newGroup.units[unitIndex].y}) - newGroup.units[unitIndex].alt_type = 'BARO']] - end - - - end - - if newCat == 'AIRPLANE' or newCat == 'HELICOPTER' then - if (newGroup.units[unitIndex].alt_type ~= 'RADIO' or newGroup.units[unitIndex].alt_type ~= 'BARO') or not newGroup.units[unitIndex].alt_type then - newGroup.units[unitIndex].alt_type = 'RADIO' - end - if not unitData.speed then - if newCat == 'AIRPLANE' then - newGroup.units[unitIndex].speed = 150 - elseif newCat == 'HELICOPTER' then - newGroup.units[unitIndex].speed = 60 - end - end - if not unitData.payload then - newGroup.units[unitIndex].payload = mist.getPayload(originalName) - end - end - - end - if newGroup.route and not newGroup.route.points then - if not newGroup.route.points and newGroup.route[1] then - local copyRoute = newGroup.route - newGroup.route = {} - newGroup.route.points = copyRoute - end - end - newGroup.country = newCountry - - addToDBs[#addToDBs + 1] = mist.utils.deepCopy(newGroup) - - - -- sanitize table - newGroup.groupName = nil - newGroup.clone = nil - newGroup.category = nil - newGroup.country = nil - - newGroup.tasks = {} - newGroup.visible = false - - for unitIndex, unitData in pairs(newGroup.units) do - newGroup.units[unitIndex].unitName = nil - end - - --env.info('added') - coalition.addGroup(country.id[newCountry], Unit.Category[newCat], newGroup) - - - return newGroup.name - - end + return isOk +end mist.getCurrentGroupData = function(gpName) if Group.getByName(gpName) then @@ -4486,14 +4816,14 @@ mist.getCurrentGroupData = function(gpName) newData.units[unitNum]['x'] = unitData:getPosition().p.x newData.units[unitNum]['y'] = unitData:getPosition().p.z newData.units[unitNum]["type"] = unitData:getTypeName() - --newData.units[unitNum]["skill"] = unitData.skill + newData.units[unitNum]["skill"] = mist.getUnitSkill(unitData:getName()) -- get velocity needed newData.units[unitNum]["unitName"] = unitData:getName() newData.units[unitNum]["heading"] = mist.getHeading(unitData, true) -- added to DBs newData.units[unitNum]['alt'] = unitData:getPosition().p.y newData.country = string.lower(country.name[unitData:getCountry()]) - + newData.units[unitNum]['callsign'] = unitData:getCallsign() end return newData @@ -4502,43 +4832,61 @@ mist.getCurrentGroupData = function(gpName) end mist.getGroupData = function(gpName) - --env.info('getgroupData') - for groupName, groupData in pairs(mist.DBs.groupsByName) do - if string.lower(groupName) == string.lower(gpName) then - local newData = {} - newData.hidden = false -- maybe add this to DBs - newData.groupId = groupData.groupId - newData.groupName = groupName - newData.category = groupData.category - newData.country = groupData.country - newData.units = {} - newData.task = groupData.task - - for unitNum, unitData in pairs(groupData.units) do - newData.units[unitNum] = {} - - newData.units[unitNum]["unitId"] = unitData.unitId - --newData.units[unitNum]['point'] = unitData.point - newData.units[unitNum]['x'] = unitData.point.x - newData.units[unitNum]['y'] = unitData.point.y - newData.units[unitNum]['alt'] = unitData.alt - newData.units[unitNum]['alt_type'] = unitData.alt_type - newData.units[unitNum]['speed'] = unitData.speed - newData.units[unitNum]["type"] = unitData.type - newData.units[unitNum]["skill"] = unitData.skill - newData.units[unitNum]["unitName"] = unitData.unitName - newData.units[unitNum]["heading"] = unitData.heading -- added to DBs - newData.units[unitNum]["playerCanDrive"] = unitData.playerCanDrive -- added to DBs - - - if newData.category == 'plane' or newData.category == 'helicopter' then - newData.units[unitNum]["payload"] = mist.getPayload(unitData.unitName) - newData.units[unitNum]['livery_id'] = unitData.livery_id - end + local found = false + local newData = {} + if mist.DBs.groupsByName[gpName] then + newData = mist.utils.deepCopy(mist.DBs.groupsByName[gpName]) + found = true + end + + if found == false then + for groupName, groupData in pairs(mist.DBs.groupsByName) do + if mist.stringMatch(groupName, gpName) == true then + newData = mist.utils.deepCopy(groupData) + newData.groupName = groupName + found = true + break end - return newData end end + + local payloads + if newData.category == 'plane' or newData.category == 'helicopter' then + payloads = mist.getGroupPayload(newData.groupName) + end + if found == true then + newData.hidden = false -- maybe add this to DBs + + for unitNum, unitData in pairs(newData.units) do + newData.units[unitNum] = {} + + newData.units[unitNum]["unitId"] = unitData.unitId + --newData.units[unitNum]['point'] = unitData.point + newData.units[unitNum]['x'] = unitData.point.x + newData.units[unitNum]['y'] = unitData.point.y + newData.units[unitNum]['alt'] = unitData.alt + newData.units[unitNum]['alt_type'] = unitData.alt_type + newData.units[unitNum]['speed'] = unitData.speed + newData.units[unitNum]["type"] = unitData.type + newData.units[unitNum]["skill"] = unitData.skill + newData.units[unitNum]["unitName"] = unitData.unitName + newData.units[unitNum]["heading"] = unitData.heading -- added to DBs + newData.units[unitNum]["playerCanDrive"] = unitData.playerCanDrive -- added to DBs + + + if newData.category == 'plane' or newData.category == 'helicopter' then + newData.units[unitNum]["payload"] = payloads[unitNum] + newData.units[unitNum]['livery_id'] = unitData.livery_id + newData.units[unitNum]['onboard_num'] = unitData.onboard_num + newData.units[unitNum]['callsign'] = unitData.callsign + end + end + + return newData + else + env.info(gpName .. ' not found in mist.getGroupData') + return + end end mist.getPayload = function(unitName) @@ -4553,7 +4901,7 @@ mist.getPayload = function(unitName) for group_num, group_data in pairs(obj_type_data.group) do if group_data and group_data.name then for unitIndex, unitData in pairs(group_data.units) do --group index - if string.lower(unitName) == string.lower(unitData.name) then + if mist.stringMatch(unitName, unitData.name) == true then return unitData.payload end end @@ -4567,11 +4915,46 @@ mist.getPayload = function(unitName) end end else + env.info('mist.getPayload got ' .. type(unitName)) return false end + env.info('mist.getPayload, payload not found') return end +mist.getGroupPayload = function(groupName) + if groupName and type(groupName) == 'string' then + for coa_name, coa_data in pairs(env.mission.coalition) do + if (coa_name == 'red' or coa_name == 'blue') and type(coa_data) == 'table' then + if coa_data.country then --there is a country table + for cntry_id, cntry_data in pairs(coa_data.country) do + for obj_type_name, obj_type_data in pairs(cntry_data) do + if obj_type_name == "helicopter" or obj_type_name == "ship" or obj_type_name == "plane" or obj_type_name == "vehicle" then -- only these types have points + if ((type(obj_type_data) == 'table') and obj_type_data.group and (type(obj_type_data.group) == 'table') and (#obj_type_data.group > 0)) then --there's a group! + for group_num, group_data in pairs(obj_type_data.group) do + if group_data and group_data.name and mist.stringMatch(groupName, group_data.name) == true then + local payloads = {} + for unitIndex, unitData in pairs(group_data.units) do --group index + payloads[unitIndex] = unitData.payload + end + return payloads + end + end + end + end + end + end + end + end + end + else + env.info('mist.getGroupPayload got ' .. type(groupName)) + return false + end + env.info('mist.getGroupPayload, payload not found') + return + +end mist.teleportToPoint = function(vars) -- main teleport function that all of teleport/respawn functions call local point = vars.point @@ -4586,9 +4969,6 @@ mist.teleportToPoint = function(vars) -- main teleport function that all of tele end local action = vars.action - local isStatic = false - - local disperse = vars.disperse or false local maxDisp = vars.maxDisp @@ -4601,7 +4981,7 @@ mist.teleportToPoint = function(vars) -- main teleport function that all of tele local innerRadius = vars.innerRadius local route = vars.route - + local newGroupData if gpName and not vars.groupData then if string.lower(action) == 'teleport' or string.lower(action) == 'tele' then @@ -4620,7 +5000,6 @@ mist.teleportToPoint = function(vars) -- main teleport function that all of tele newGroupData = vars.groupData end - local diff = {['x'] = 0, ['y'] = 0} local newCoord, origCoord if point then @@ -4645,6 +5024,7 @@ mist.teleportToPoint = function(vars) -- main teleport function that all of tele end end if valid == false then + env.info('mist.teleportToPoint; vars.point not a valid coordinate') return false end end @@ -4666,8 +5046,8 @@ mist.teleportToPoint = function(vars) -- main teleport function that all of tele --tostring, tostring(), - newGroupData.country = mist.DBs.groupsByName[gpName].country - newGroupData.category = mist.DBs.groupsByName[gpName].category + newGroupData.country = mist.DBs.groupsByName[newGroupData.groupName].country + newGroupData.category = mist.DBs.groupsByName[newGroupData.groupName].category if route then newGroupData.route = route end @@ -4795,9 +5175,158 @@ mist.teleportGroup = function(gpName, task) end return newGroup end + +mist.spawnRandomizedGroup = function(groupName, vars) -- need to debug + if Group.getByName(groupName) then + local gpData = mist.getGroupData(groupName) + gpData.units = mist.randomizeGroupOrder(gpData.units, vars) + gpData.route = mist.getGroupRoute(groupName, 'task') + + mist.dynAdd(gpData) + end + + return true +end + +mist.randomizeNumTable = function(vars) + local newTable = {} + + local excludeIndex = {} + local randomTable = {} + + if vars and vars.exclude and type(vars.exclude) == 'table' then + for index, data in pairs(vars.exclude) do + excludeIndex[data] = true + end + end + + local low, hi, size + + if vars.size then + size = vars.size + end + + if vars and vars.lowerLimit and type(vars.lowerLimit) == 'number' then + low = mist.utils.round(vars.lowerLimit) + else + low = 1 + end + + if vars and vars.upperLimit and type(vars.upperLimit) == 'number' then + hi = mist.utils.round(vars.upperLimit) + else + hi = size + end + + local choices = {} + -- add to exclude list and create list of what to randomize + for i = 1, size do + if not (i >= low and i <= hi) then + + excludeIndex[i] = true + end + if not excludeIndex[i] then + table.insert(choices, i) + else + newTable[i] = i + end + end + + for ind, num in pairs(choices) do + local found = false + local x = 0 + while found == false do + x = mist.random(size) -- get random number from list + local addNew = true + for index, _ in pairs(excludeIndex) do + if index == x then + addNew = false + break + end + end + if addNew == true then + excludeIndex[x] = true + found = true + end + excludeIndex[x] = true + + end + newTable[num] = x + end + --[[ + for i = 1, #newTable do + env.info(newTable[i]) + end + ]] + return newTable +end + +mist.randomizeGroupOrder = function(passedUnits, vars) + -- figure out what to exclude, and send data to other func + local units = passedUnits + + if passedUnits.units then + units = passUnits.units + end + + local exclude = {} + local excludeNum = {} + if vars and vars.excludeType and type(vars.excludeType) == 'table' then + exclude = vars.excludeType + end + + if vars and vars.excludeNum and type(vars.excludeNum) == 'table' then + excludeNum = vars.excludeNum + end + + local low, hi + + if vars and vars.lowerLimit and type(vars.lowerLimit) == 'number' then + low = mist.utils.round(vars.lowerLimit) + else + low = 1 + end + + if vars and vars.upperLimit and type(vars.upperLimit) == 'number' then + hi = mist.utils.round(vars.upperLimit) + else + hi = #units + end -end + local excludeNum = {} + for unitIndex, unitData in pairs(units) do + if unitIndex >= low and unitIndex <= hi then -- if within range + local found = false + if #exclude > 0 then + for excludeType, index in pairs(exclude) do -- check if excluded + if mist.stringMatch(excludeType, unitData.type) then -- if excluded + excludeNum[unitIndex] = unitIndex + found = true + end + end + end + else -- unitIndex is either to low, or to high: added to exclude list + excludeNum[unitIndex] = unitId + end + end + + local newGroup = {} + local newOrder = mist.randomizeNumTable({exclude = excludeNum, size = #units}) + + for unitIndex, unitData in pairs(units) do + for i = 1, #newOrder do + if newOrder[i] == unitIndex then + newGroup[i] = mist.utils.deepCopy(units[i]) -- gets all of the unit data + newGroup[i].type = mist.utils.deepCopy(unitData.type) + newGroup[i].skill = mist.utils.deepCopy(unitData.skill) + newGroup[i].unitName = mist.utils.deepCopy(unitData.unitName) + newGroup[i].unitIndex = mist.utils.deepCopy(unitData.unitIndex) -- replaces the units data with a new type + end + end + end + return newGroup +end mist.ground.patrolRoute = function(vars) @@ -4945,6 +5474,33 @@ mist.random = function(firstNum, secondNum) -- no support for decimals return choices[rtnVal] end + + +mist.stringMatch = function(s1, s2, bool) + local exclude = {'%-', '%(', '%)', '%_', '%[', '%]', '%.', '%#', '% ', '%{', '%}', '%$', '%%', '%?', '%+', '%^'} + if type(s1) == 'string' and type(s2) == 'string' then + for i , str in pairs(exclude) do + s1 = string.gsub(s1, str, '') + s2 = string.gsub(s2, str, '') + end + if not bool then + s1 = string.lower(s1) + s2 = string.lower(s2) + end + + if s1 == s2 then + return true + else + return false + end + else + env.info('mist.stringMatch; Either the first or second variable were not a string') + return false + end +end + +mist.matchString = mist.stringMatch -- both commands work because order out type of I + mist.DBs.const = {} --[[ @@ -5052,6 +5608,6 @@ scope examples: {unitTypes = { blue = {'A-10C'}}} ]] - +end mist.main() env.info(('Mist version ' .. mist.majorVersion .. '.' .. mist.minorVersion .. '.' .. mist.build .. ' loaded.')) \ No newline at end of file diff --git a/mist_doc_file.doc b/mist_doc_file.doc index 1f0320b..1bff9db 100644 Binary files a/mist_doc_file.doc and b/mist_doc_file.doc differ diff --git a/rev changelog.txt b/rev changelog.txt index 178f636..6a3cc7d 100644 --- a/rev changelog.txt +++ b/rev changelog.txt @@ -1,6 +1,51 @@ --- Changelog +-- changelog + +v34 v3.5 release +- fixed missing entries in dbupdate +- isActive() check added to getUnitsInPolygon + +v33 +- added getGroupPayload +- re-wrote how mist.stringMatch worked. no functional difference between previous iteration +- DBs now contain callsign, psi, modulation, frequency, uncontrolled, radioSet, hardpoint_racks, and onboard_num. Dependent on whether or not group type has the option available. + + +v32 +- flagfuncs now support string values for flag and stop flags +- optimized and fixed issue with mist.getGroupData + + +v31 +- added more special characters to ignore for mist.stringMatch +- added 3rd variable to mist.string to define if strings are case sensitive +- added mist.randomizeNumTable +- modified mist.randomizeGroupOrder to use mist.randomizeNumTable +- added mist.terrainHeightDiff + +v30 +-Optimizations and fixes of refactoring +-mist.dbUpdate changed to a local dbUpdate function. now no longer accessible globally +- added mist.matchString because I always get it backwards + +v29 +-Refactoring dbUpdate and related functions integration + +v28 +added mist.getUnitSkill +added mist.stringMatch +added mist.groupTableCheck +added mist.spawnRandomizedGroup +added mist.randomizeGroupOrder +added mist.getUnitsInPolygon + + +v27 +added mist.flagFunc.group_alive +added mist.flagFunc.group_dead +added mist.flagFunc.group_alive_more_than +added mist.flagFunc.group_alive_less_than + ---[[ v025 changelog mist 3.4.25 -fixed bug with mist.message.add with regard to updating existing messages