Advertisement
morrtz

Airfield Capture V4

Oct 12th, 2013
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 97.88 KB | None | 0 0
  1. VDatabase =
  2. {
  3.     ["Gelendzhik Red Vehicles"] =      
  4.     {
  5.                                 ["visible"] = false,
  6.                                 ["taskSelected"] = true,
  7.                                 ["lateActivation"] = false,
  8.                                 ["groupId"] = 4,
  9.                                 ["tasks"] =
  10.                                 {
  11.                                 }, -- end of ["tasks"]
  12.                                 ["hidden"] = false,
  13.                                 ["units"] =
  14.                                 {
  15.                                     [1] =
  16.                                     {
  17.                                         ["y"] = 298079.14285715,
  18.                                         ["type"] = "ZSU-23-4 Shilka",
  19.                                         ["name"] = "Unit #031",
  20.                                         ["unitId"] = 37,
  21.                                         ["heading"] = 2.3561944901921,
  22.                                         ["playerCanDrive"] = true,
  23.                                         ["skill"] = "Random",
  24.                                         ["x"] = -51047.428571428,
  25.                                     }, -- end of [1]
  26.                                     [2] =
  27.                                     {
  28.                                         ["y"] = 297802.00000001,
  29.                                         ["type"] = "ZSU-23-4 Shilka",
  30.                                         ["name"] = "Unit #032",
  31.                                         ["unitId"] = 133,
  32.                                         ["heading"] = 2.3561944901921,
  33.                                         ["playerCanDrive"] = true,
  34.                                         ["skill"] = "Random",
  35.                                         ["x"] = -50847.428571428,
  36.                                     }, -- end of [2]
  37.                                     [3] =
  38.                                     {
  39.                                         ["y"] = 298950.57142858,
  40.                                         ["type"] = "ZSU-23-4 Shilka",
  41.                                         ["name"] = "Unit #033",
  42.                                         ["unitId"] = 134,
  43.                                         ["heading"] = 2.3561944901921,
  44.                                         ["playerCanDrive"] = true,
  45.                                         ["skill"] = "Random",
  46.                                         ["x"] = -49893.142857142,
  47.                                     }, -- end of [3]
  48.                                     [4] =
  49.                                     {
  50.                                         ["y"] = 298719.14285715,
  51.                                         ["type"] = "ZSU-23-4 Shilka",
  52.                                         ["name"] = "Unit #034",
  53.                                         ["unitId"] = 135,
  54.                                         ["heading"] = 2.3561944901921,
  55.                                         ["playerCanDrive"] = true,
  56.                                         ["skill"] = "Random",
  57.                                         ["x"] = -49753.142857142,
  58.                                     }, -- end of [4]
  59.                                     [5] =
  60.                                     {
  61.                                         ["y"] = 298186.00000001,
  62.                                         ["type"] = "house1arm",
  63.                                         ["name"] = "Unit #035",
  64.                                         ["unitId"] = 136,
  65.                                         ["heading"] = 2.2689280275926,
  66.                                         ["playerCanDrive"] = false,
  67.                                         ["skill"] = "Random",
  68.                                         ["x"] = -50398.857142856,
  69.                                     }, -- end of [5]
  70.                                     [6] =
  71.                                     {
  72.                                         ["y"] = 298908.57142858,
  73.                                         ["type"] = "ATMZ-5",
  74.                                         ["name"] = "Unit #036",
  75.                                         ["unitId"] = 137,
  76.                                         ["heading"] = 5.4105206811824,
  77.                                         ["playerCanDrive"] = false,
  78.                                         ["skill"] = "Random",
  79.                                         ["x"] = -50108.857142856,
  80.                                     }, -- end of [6]
  81.                                     [7] =
  82.                                     {
  83.                                         ["y"] = 298882.85714286,
  84.                                         ["type"] = "ATMZ-5",
  85.                                         ["name"] = "Unit #037",
  86.                                         ["unitId"] = 138,
  87.                                         ["heading"] = 5.4105206811824,
  88.                                         ["playerCanDrive"] = false,
  89.                                         ["skill"] = "Random",
  90.                                         ["x"] = -50144.571428571,
  91.                                     }, -- end of [7]
  92.                                     [8] =
  93.                                     {
  94.                                         ["y"] = 298320.00000001,
  95.                                         ["type"] = "ATMZ-5",
  96.                                         ["name"] = "Unit #038",
  97.                                         ["unitId"] = 139,
  98.                                         ["heading"] = 2.2689280275926,
  99.                                         ["playerCanDrive"] = false,
  100.                                         ["skill"] = "Random",
  101.                                         ["x"] = -50238.857142856,
  102.                                     }, -- end of [8]
  103.                                     [9] =
  104.                                     {
  105.                                         ["y"] = 298350.00000001,
  106.                                         ["type"] = "ATMZ-5",
  107.                                         ["name"] = "Unit #039",
  108.                                         ["unitId"] = 140,
  109.                                         ["heading"] = 2.2689280275926,
  110.                                         ["playerCanDrive"] = false,
  111.                                         ["skill"] = "Random",
  112.                                         ["x"] = -50208.857142856,
  113.                                     }, -- end of [9]
  114.                                     [10] =
  115.                                     {
  116.                                         ["y"] = 298252.85714286,
  117.                                         ["type"] = "ATMZ-5",
  118.                                         ["name"] = "Unit #083",
  119.                                         ["unitId"] = 148,
  120.                                         ["heading"] = 5.4105206811824,
  121.                                         ["playerCanDrive"] = false,
  122.                                         ["skill"] = "Random",
  123.                                         ["x"] = -50843.142857142,
  124.                                     }, -- end of [10]
  125.                                     [11] =
  126.                                     {
  127.                                         ["y"] = 298277.14285715,
  128.                                         ["type"] = "ATMZ-5",
  129.                                         ["name"] = "Unit #084",
  130.                                         ["unitId"] = 149,
  131.                                         ["heading"] = 5.4105206811824,
  132.                                         ["playerCanDrive"] = false,
  133.                                         ["skill"] = "Random",
  134.                                         ["x"] = -50811.714285714,
  135.                                     }, -- end of [11]
  136.                                     [12] =
  137.                                     {
  138.                                         ["y"] = 297954.28571429,
  139.                                         ["type"] = "house1arm",
  140.                                         ["name"] = "Unit #085",
  141.                                         ["unitId"] = 150,
  142.                                         ["heading"] = 2.2689280275926,
  143.                                         ["playerCanDrive"] = false,
  144.                                         ["skill"] = "Random",
  145.                                         ["x"] = -50670.285714285,
  146.                                     }, -- end of [12]
  147.                                 }, -- end of ["units"]
  148.                                 ["y"] = 298079.14285715,
  149.                                 ["x"] = -51047.428571428,
  150.                                 ["name"] = "Gelendzhik Red Vehicles",
  151.                                 ["route"] =
  152.                                 {
  153.                                     ["spans"] =
  154.                                     {
  155.                                         [1] =
  156.                                         {
  157.                                             [1] =
  158.                                             {
  159.                                                 ["y"] = 242664.28571429,
  160.                                                 ["x"] = -6364.2857142838,
  161.                                             }, -- end of [1]
  162.                                             [2] =
  163.                                             {
  164.                                                 ["y"] = 243021.42857143,
  165.                                                 ["x"] = -6721.4285714267,
  166.                                             }, -- end of [2]
  167.                                         }, -- end of [1]
  168.                                     }, -- end of ["spans"]
  169.                                     ["points"] =
  170.                                     {
  171.                                         [1] =
  172.                                         {
  173.                                             ["alt"] = 25,
  174.                                             ["type"] = "Turning Point",
  175.                                             ["ETA"] = 0,
  176.                                             ["alt_type"] = "BARO",
  177.                                             ["formation_template"] = "",
  178.                                             ["y"] = 298079.14285715,
  179.                                             ["x"] = -51047.428571428,
  180.                                             ["ETA_locked"] = true,
  181.                                             ["speed"] = 5.5555555555556,
  182.                                             ["action"] = "Off Road",
  183.                                             ["task"] =
  184.                                             {
  185.                                                 ["id"] = "ComboTask",
  186.                                                 ["params"] =
  187.                                                 {
  188.                                                     ["tasks"] =
  189.                                                     {
  190.                                                     }, -- end of ["tasks"]
  191.                                                 }, -- end of ["params"]
  192.                                             }, -- end of ["task"]
  193.                                             ["speed_locked"] = true,
  194.                                         }, -- end of [1]
  195.                                     }, -- end of ["points"]
  196.                                     ["routeRelativeTOT"] = true,
  197.                                 }, -- end of ["route"]
  198.                                 ["start_time"] = 0,
  199.                                 ["task"] = "Ground Nothing",
  200.     }, -- end of ["Gelendzhik Red Vehicles"]
  201.     ["Gelendzhik Blue Vehicles"] =  
  202.     {
  203.                                 ["visible"] = false,
  204.                                 ["taskSelected"] = true,
  205.                                 ["lateActivation"] = false,
  206.                                 ["groupId"] = 3,
  207.                                 ["tasks"] =
  208.                                 {
  209.                                 }, -- end of ["tasks"]
  210.                                 ["hidden"] = false,
  211.                                 ["units"] =
  212.                                 {
  213.                                     [1] =
  214.                                     {
  215.                                         ["y"] = 298020.57142858,
  216.                                         ["type"] = "Vulcan",
  217.                                         ["name"] = "Unit #022",
  218.                                         ["unitId"] = 26,
  219.                                         ["heading"] = 2.3561944901921,
  220.                                         ["playerCanDrive"] = false,
  221.                                         ["skill"] = "Random",
  222.                                         ["x"] = -51013.142857142,
  223.                                     }, -- end of [1]
  224.                                     [2] =
  225.                                     {
  226.                                         ["y"] = 297837.71428572,
  227.                                         ["type"] = "Vulcan",
  228.                                         ["name"] = "Unit #023",
  229.                                         ["unitId"] = 125,
  230.                                         ["heading"] = 2.3561944901921,
  231.                                         ["playerCanDrive"] = false,
  232.                                         ["skill"] = "Random",
  233.                                         ["x"] = -50795.999999999,
  234.                                     }, -- end of [2]
  235.                                     [3] =
  236.                                     {
  237.                                         ["y"] = 298983.42857143,
  238.                                         ["type"] = "Vulcan",
  239.                                         ["name"] = "Unit #024",
  240.                                         ["unitId"] = 126,
  241.                                         ["heading"] = 2.3561944901921,
  242.                                         ["playerCanDrive"] = false,
  243.                                         ["skill"] = "Random",
  244.                                         ["x"] = -49847.428571428,
  245.                                     }, -- end of [3]
  246.                                     [4] =
  247.                                     {
  248.                                         ["y"] = 298763.42857143,
  249.                                         ["type"] = "Vulcan",
  250.                                         ["name"] = "Unit #025",
  251.                                         ["unitId"] = 127,
  252.                                         ["heading"] = 2.3561944901921,
  253.                                         ["playerCanDrive"] = false,
  254.                                         ["skill"] = "Random",
  255.                                         ["x"] = -49701.714285714,
  256.                                     }, -- end of [4]
  257.                                     [5] =
  258.                                     {
  259.                                         ["y"] = 298244.00000001,
  260.                                         ["type"] = "house1arm",
  261.                                         ["name"] = "Unit #026",
  262.                                         ["unitId"] = 128,
  263.                                         ["heading"] = 2.3561944901921,
  264.                                         ["playerCanDrive"] = false,
  265.                                         ["skill"] = "Random",
  266.                                         ["x"] = -50332.571428571,
  267.                                     }, -- end of [5]
  268.                                     [6] =
  269.                                     {
  270.                                         ["y"] = 298556.00000001,
  271.                                         ["type"] = "M978 HEMTT Tanker",
  272.                                         ["name"] = "Unit #027",
  273.                                         ["unitId"] = 129,
  274.                                         ["heading"] = 2.2689280275926,
  275.                                         ["playerCanDrive"] = false,
  276.                                         ["skill"] = "Random",
  277.                                         ["x"] = -49961.999999999,
  278.                                     }, -- end of [6]
  279.                                     [7] =
  280.                                     {
  281.                                         ["y"] = 298586.00000001,
  282.                                         ["type"] = "M978 HEMTT Tanker",
  283.                                         ["name"] = "Unit #028",
  284.                                         ["unitId"] = 130,
  285.                                         ["heading"] = 2.2689280275926,
  286.                                         ["playerCanDrive"] = false,
  287.                                         ["skill"] = "Random",
  288.                                         ["x"] = -49927.714285714,
  289.                                     }, -- end of [7]
  290.                                     [8] =
  291.                                     {
  292.                                         ["y"] = 298778.85714286,
  293.                                         ["type"] = "M978 HEMTT Tanker",
  294.                                         ["name"] = "Unit #029",
  295.                                         ["unitId"] = 131,
  296.                                         ["heading"] = 5.4105206811824,
  297.                                         ["playerCanDrive"] = false,
  298.                                         ["skill"] = "Random",
  299.                                         ["x"] = -50257.714285714,
  300.                                     }, -- end of [8]
  301.                                     [9] =
  302.                                     {
  303.                                         ["y"] = 298752.00000001,
  304.                                         ["type"] = "M978 HEMTT Tanker",
  305.                                         ["name"] = "Unit #030",
  306.                                         ["unitId"] = 132,
  307.                                         ["heading"] = 5.4105206811824,
  308.                                         ["playerCanDrive"] = false,
  309.                                         ["skill"] = "Random",
  310.                                         ["x"] = -50284.571428571,
  311.                                     }, -- end of [9]
  312.                                     [10] =
  313.                                     {
  314.                                         ["y"] = 298454.85714286,
  315.                                         ["type"] = "M978 HEMTT Tanker",
  316.                                         ["name"] = "Unit #080",
  317.                                         ["unitId"] = 145,
  318.                                         ["heading"] = 5.4105206811824,
  319.                                         ["playerCanDrive"] = false,
  320.                                         ["skill"] = "Random",
  321.                                         ["x"] = -50604.571428571,
  322.                                     }, -- end of [10]
  323.                                     [11] =
  324.                                     {
  325.                                         ["y"] = 298483.42857143,
  326.                                         ["type"] = "M978 HEMTT Tanker",
  327.                                         ["name"] = "Unit #081",
  328.                                         ["unitId"] = 146,
  329.                                         ["heading"] = 5.4105206811824,
  330.                                         ["playerCanDrive"] = false,
  331.                                         ["skill"] = "Random",
  332.                                         ["x"] = -50578.857142857,
  333.                                     }, -- end of [11]
  334.                                     [12] =
  335.                                     {
  336.                                         ["y"] = 298634.85714286,
  337.                                         ["type"] = "house1arm",
  338.                                         ["name"] = "Unit #082",
  339.                                         ["unitId"] = 147,
  340.                                         ["heading"] = 2.3561944901921,
  341.                                         ["playerCanDrive"] = false,
  342.                                         ["skill"] = "Random",
  343.                                         ["x"] = -49864.571428571,
  344.                                     }, -- end of [12]
  345.                                 }, -- end of ["units"]
  346.                                 ["y"] = 298020.57142858,
  347.                                 ["x"] = -51013.142857142,
  348.                                 ["name"] = "Gelendzhik Blue Vehicles",
  349.                                 ["route"] =
  350.                                 {
  351.                                     ["spans"] =
  352.                                     {
  353.                                         [1] =
  354.                                         {
  355.                                             [1] =
  356.                                             {
  357.                                                 ["y"] = 242664.28571429,
  358.                                                 ["x"] = -6364.2857142838,
  359.                                             }, -- end of [1]
  360.                                             [2] =
  361.                                             {
  362.                                                 ["y"] = 243021.42857143,
  363.                                                 ["x"] = -6721.4285714267,
  364.                                             }, -- end of [2]
  365.                                         }, -- end of [1]
  366.                                     }, -- end of ["spans"]
  367.                                     ["points"] =
  368.                                     {
  369.                                         [1] =
  370.                                         {
  371.                                             ["alt"] = 25,
  372.                                             ["type"] = "Turning Point",
  373.                                             ["ETA"] = 0,
  374.                                             ["alt_type"] = "BARO",
  375.                                             ["formation_template"] = "",
  376.                                             ["y"] = 298020.57142858,
  377.                                             ["x"] = -51013.142857142,
  378.                                             ["ETA_locked"] = true,
  379.                                             ["speed"] = 5.5555555555556,
  380.                                             ["action"] = "Off Road",
  381.                                             ["task"] =
  382.                                             {
  383.                                                 ["id"] = "ComboTask",
  384.                                                 ["params"] =
  385.                                                 {
  386.                                                     ["tasks"] =
  387.                                                     {
  388.                                                     }, -- end of ["tasks"]
  389.                                                 }, -- end of ["params"]
  390.                                             }, -- end of ["task"]
  391.                                             ["speed_locked"] = true,
  392.                                         }, -- end of [1]
  393.                                     }, -- end of ["points"]
  394.                                     ["routeRelativeTOT"] = true,
  395.                                 }, -- end of ["route"]
  396.                                 ["start_time"] = 0,
  397.                                 ["task"] = "Ground Nothing",
  398.     }, -- end of ["Gelendzhik Blue Vehicles"]
  399.     ["Novorossiysk Red Vehicles"] =        
  400.     {
  401.                                 ["visible"] = false,
  402.                                 ["taskSelected"] = true,
  403.                                 ["lateActivation"] = false,
  404.                                 ["groupId"] = 5,
  405.                                 ["tasks"] =
  406.                                 {
  407.                                 }, -- end of ["tasks"]
  408.                                 ["hidden"] = false,
  409.                                 ["units"] =
  410.                                 {
  411.                                     [1] =
  412.                                     {
  413.                                         ["y"] = 278760.85714286,
  414.                                         ["type"] = "ZSU-23-4 Shilka",
  415.                                         ["name"] = "Unit #040",
  416.                                         ["unitId"] = 48,
  417.                                         ["heading"] = 2.3561944901921,
  418.                                         ["playerCanDrive"] = true,
  419.                                         ["skill"] = "Random",
  420.                                         ["x"] = -41560.857142857,
  421.                                     }, -- end of [1]
  422.                                     [2] =
  423.                                     {
  424.                                         ["y"] = 278462.28571429,
  425.                                         ["type"] = "ZSU-23-4 Shilka",
  426.                                         ["name"] = "Unit #041",
  427.                                         ["unitId"] = 49,
  428.                                         ["heading"] = 2.3561944901921,
  429.                                         ["playerCanDrive"] = true,
  430.                                         ["skill"] = "Random",
  431.                                         ["x"] = -41293.714285714,
  432.                                     }, -- end of [2]
  433.                                     [3] =
  434.                                     {
  435.                                         ["y"] = 280005.14285715,
  436.                                         ["type"] = "ZSU-23-4 Shilka",
  437.                                         ["name"] = "Unit #042",
  438.                                         ["unitId"] = 50,
  439.                                         ["heading"] = 2.3561944901921,
  440.                                         ["playerCanDrive"] = true,
  441.                                         ["skill"] = "Random",
  442.                                         ["x"] = -40439.428571429,
  443.                                     }, -- end of [3]
  444.                                     [4] =
  445.                                     {
  446.                                         ["y"] = 279553.71428572,
  447.                                         ["type"] = "ZSU-23-4 Shilka",
  448.                                         ["name"] = "Unit #043",
  449.                                         ["unitId"] = 51,
  450.                                         ["heading"] = 2.3561944901921,
  451.                                         ["playerCanDrive"] = true,
  452.                                         ["skill"] = "Random",
  453.                                         ["x"] = -40368,
  454.                                     }, -- end of [4]
  455.                                     [5] =
  456.                                     {
  457.                                         ["y"] = 278709.42857143,
  458.                                         ["type"] = "house1arm",
  459.                                         ["name"] = "Unit #044",
  460.                                         ["unitId"] = 52,
  461.                                         ["heading"] = 2.2689280275926,
  462.                                         ["playerCanDrive"] = false,
  463.                                         ["skill"] = "Random",
  464.                                         ["x"] = -41063.714285714,
  465.                                     }, -- end of [5]
  466.                                     [6] =
  467.                                     {
  468.                                         ["y"] = 279352.28571429,
  469.                                         ["type"] = "ATMZ-5",
  470.                                         ["name"] = "Unit #045",
  471.                                         ["unitId"] = 53,
  472.                                         ["heading"] = 5.4105206811824,
  473.                                         ["playerCanDrive"] = false,
  474.                                         ["skill"] = "Random",
  475.                                         ["x"] = -41058.571428571,
  476.                                     }, -- end of [6]
  477.                                     [7] =
  478.                                     {
  479.                                         ["y"] = 279395.14285714,
  480.                                         ["type"] = "ATMZ-5",
  481.                                         ["name"] = "Unit #046",
  482.                                         ["unitId"] = 54,
  483.                                         ["heading"] = 5.4105206811824,
  484.                                         ["playerCanDrive"] = false,
  485.                                         ["skill"] = "Random",
  486.                                         ["x"] = -41010,
  487.                                     }, -- end of [7]
  488.                                     [8] =
  489.                                     {
  490.                                         ["y"] = 279052.28571429,
  491.                                         ["type"] = "ATMZ-5",
  492.                                         ["name"] = "Unit #047",
  493.                                         ["unitId"] = 55,
  494.                                         ["heading"] = 5.4105206811824,
  495.                                         ["playerCanDrive"] = false,
  496.                                         ["skill"] = "Random",
  497.                                         ["x"] = -41375.714285714,
  498.                                     }, -- end of [8]
  499.                                     [9] =
  500.                                     {
  501.                                         ["y"] = 279018,
  502.                                         ["type"] = "ATMZ-5",
  503.                                         ["name"] = "Unit #048",
  504.                                         ["unitId"] = 56,
  505.                                         ["heading"] = 5.4105206811824,
  506.                                         ["playerCanDrive"] = false,
  507.                                         ["skill"] = "Random",
  508.                                         ["x"] = -41418.571428571,
  509.                                     }, -- end of [9]
  510.                                     [10] =
  511.                                     {
  512.                                         ["y"] = 278960.85714286,
  513.                                         ["type"] = "ZSU-23-4 Shilka",
  514.                                         ["name"] = "Unit #078",
  515.                                         ["unitId"] = 143,
  516.                                         ["heading"] = 2.3561944901921,
  517.                                         ["playerCanDrive"] = true,
  518.                                         ["skill"] = "Random",
  519.                                         ["x"] = -40606.571428571,
  520.                                     }, -- end of [10]
  521.                                     [11] =
  522.                                     {
  523.                                         ["y"] = 279012.28571429,
  524.                                         ["type"] = "ZSU-23-4 Shilka",
  525.                                         ["name"] = "Unit #079",
  526.                                         ["unitId"] = 144,
  527.                                         ["heading"] = 2.3561944901921,
  528.                                         ["playerCanDrive"] = true,
  529.                                         ["skill"] = "Random",
  530.                                         ["x"] = -40652.285714286,
  531.                                     }, -- end of [11]
  532.                                 }, -- end of ["units"]
  533.                                 ["y"] = 278760.85714286,
  534.                                 ["x"] = -41560.857142857,
  535.                                 ["name"] = "Novorossiysk Red Vehicles",
  536.                                 ["route"] =
  537.                                 {
  538.                                     ["spans"] =
  539.                                     {
  540.                                         [1] =
  541.                                         {
  542.                                             [1] =
  543.                                             {
  544.                                                 ["y"] = 242664.28571429,
  545.                                                 ["x"] = -6364.2857142838,
  546.                                             }, -- end of [1]
  547.                                             [2] =
  548.                                             {
  549.                                                 ["y"] = 243021.42857143,
  550.                                                 ["x"] = -6721.4285714267,
  551.                                             }, -- end of [2]
  552.                                         }, -- end of [1]
  553.                                     }, -- end of ["spans"]
  554.                                     ["points"] =
  555.                                     {
  556.                                         [1] =
  557.                                         {
  558.                                             ["alt"] = 40,
  559.                                             ["type"] = "Turning Point",
  560.                                             ["ETA"] = 0,
  561.                                             ["alt_type"] = "BARO",
  562.                                             ["formation_template"] = "",
  563.                                             ["y"] = 278760.85714286,
  564.                                             ["x"] = -41560.857142857,
  565.                                             ["ETA_locked"] = true,
  566.                                             ["speed"] = 5.5555555555556,
  567.                                             ["action"] = "Off Road",
  568.                                             ["task"] =
  569.                                             {
  570.                                                 ["id"] = "ComboTask",
  571.                                                 ["params"] =
  572.                                                 {
  573.                                                     ["tasks"] =
  574.                                                     {
  575.                                                     }, -- end of ["tasks"]
  576.                                                 }, -- end of ["params"]
  577.                                             }, -- end of ["task"]
  578.                                             ["speed_locked"] = true,
  579.                                         }, -- end of [1]
  580.                                     }, -- end of ["points"]
  581.                                     ["routeRelativeTOT"] = true,
  582.                                 }, -- end of ["route"]
  583.                                 ["start_time"] = 0,
  584.                                 ["task"] = "Ground Nothing",
  585.     }, -- end of ["Novorossiysk Red Vehicles"]
  586.     ["Novorossiysk Blue Vehicles"] =       
  587.     {
  588.                                 ["visible"] = false,
  589.                                 ["taskSelected"] = true,
  590.                                 ["lateActivation"] = false,
  591.                                 ["groupId"] = 6,
  592.                                 ["tasks"] =
  593.                                 {
  594.                                 }, -- end of ["tasks"]
  595.                                 ["hidden"] = false,
  596.                                 ["units"] =
  597.                                 {
  598.                                     [1] =
  599.                                     {
  600.                                         ["y"] = 278736.28571429,
  601.                                         ["type"] = "Vulcan",
  602.                                         ["name"] = "Unit #049",
  603.                                         ["unitId"] = 57,
  604.                                         ["heading"] = 2.3561944901921,
  605.                                         ["playerCanDrive"] = false,
  606.                                         ["skill"] = "Random",
  607.                                         ["x"] = -41586.857142857,
  608.                                     }, -- end of [1]
  609.                                     [2] =
  610.                                     {
  611.                                         ["y"] = 278500.57142857,
  612.                                         ["type"] = "Vulcan",
  613.                                         ["name"] = "Unit #050",
  614.                                         ["unitId"] = 58,
  615.                                         ["heading"] = 2.3561944901921,
  616.                                         ["playerCanDrive"] = false,
  617.                                         ["skill"] = "Random",
  618.                                         ["x"] = -41298.285714286,
  619.                                     }, -- end of [2]
  620.                                     [3] =
  621.                                     {
  622.                                         ["y"] = 279534.85714286,
  623.                                         ["type"] = "Vulcan",
  624.                                         ["name"] = "Unit #051",
  625.                                         ["unitId"] = 59,
  626.                                         ["heading"] = 2.3561944901921,
  627.                                         ["playerCanDrive"] = false,
  628.                                         ["skill"] = "Random",
  629.                                         ["x"] = -40419.714285714,
  630.                                     }, -- end of [3]
  631.                                     [4] =
  632.                                     {
  633.                                         ["y"] = 279957.71428572,
  634.                                         ["type"] = "Vulcan",
  635.                                         ["name"] = "Unit #052",
  636.                                         ["unitId"] = 60,
  637.                                         ["heading"] = 2.3561944901921,
  638.                                         ["playerCanDrive"] = false,
  639.                                         ["skill"] = "Random",
  640.                                         ["x"] = -40502.571428571,
  641.                                     }, -- end of [4]
  642.                                     [5] =
  643.                                     {
  644.                                         ["y"] = 278669.42857143,
  645.                                         ["type"] = "house1arm",
  646.                                         ["name"] = "Unit #053",
  647.                                         ["unitId"] = 61,
  648.                                         ["heading"] = 0.6457718232379,
  649.                                         ["playerCanDrive"] = false,
  650.                                         ["skill"] = "Random",
  651.                                         ["x"] = -40643.714285714,
  652.                                     }, -- end of [5]
  653.                                     [6] =
  654.                                     {
  655.                                         ["y"] = 279191.71428571,
  656.                                         ["type"] = "M978 HEMTT Tanker",
  657.                                         ["name"] = "Unit #054",
  658.                                         ["unitId"] = 62,
  659.                                         ["heading"] = 3.8397243543875,
  660.                                         ["playerCanDrive"] = false,
  661.                                         ["skill"] = "Random",
  662.                                         ["x"] = -41212.285714288,
  663.                                     }, -- end of [6]
  664.                                     [7] =
  665.                                     {
  666.                                         ["y"] = 279148,
  667.                                         ["type"] = "M978 HEMTT Tanker",
  668.                                         ["name"] = "Unit #055",
  669.                                         ["unitId"] = 63,
  670.                                         ["heading"] = 5.4105206811824,
  671.                                         ["playerCanDrive"] = false,
  672.                                         ["skill"] = "Random",
  673.                                         ["x"] = -41256.000000002,
  674.                                     }, -- end of [7]
  675.                                     [8] =
  676.                                     {
  677.                                         ["y"] = 279617.42857143,
  678.                                         ["type"] = "M978 HEMTT Tanker",
  679.                                         ["name"] = "Unit #056",
  680.                                         ["unitId"] = 64,
  681.                                         ["heading"] = 5.4105206811824,
  682.                                         ["playerCanDrive"] = false,
  683.                                         ["skill"] = "Random",
  684.                                         ["x"] = -40742.285714288,
  685.                                     }, -- end of [8]
  686.                                     [9] =
  687.                                     {
  688.                                         ["y"] = 279581.71428571,
  689.                                         ["type"] = "M978 HEMTT Tanker",
  690.                                         ["name"] = "Unit #057",
  691.                                         ["unitId"] = 65,
  692.                                         ["heading"] = 5.4105206811824,
  693.                                         ["playerCanDrive"] = false,
  694.                                         ["skill"] = "Random",
  695.                                         ["x"] = -40785.142857145,
  696.                                     }, -- end of [9]
  697.                                     [10] =
  698.                                     {
  699.                                         ["y"] = 279050,
  700.                                         ["type"] = "Vulcan",
  701.                                         ["name"] = "Unit #076",
  702.                                         ["unitId"] = 141,
  703.                                         ["heading"] = 2.3561944901921,
  704.                                         ["playerCanDrive"] = false,
  705.                                         ["skill"] = "Random",
  706.                                         ["x"] = -40782.571428571,
  707.                                     }, -- end of [10]
  708.                                     [11] =
  709.                                     {
  710.                                         ["y"] = 279080,
  711.                                         ["type"] = "Vulcan",
  712.                                         ["name"] = "Unit #077",
  713.                                         ["unitId"] = 142,
  714.                                         ["heading"] = 2.3561944901921,
  715.                                         ["playerCanDrive"] = false,
  716.                                         ["skill"] = "Random",
  717.                                         ["x"] = -40738.285714286,
  718.                                     }, -- end of [11]
  719.                                 }, -- end of ["units"]
  720.                                 ["y"] = 278736.28571429,
  721.                                 ["x"] = -41586.857142857,
  722.                                 ["name"] = "Novorossiysk Blue Vehicles",
  723.                                 ["route"] =
  724.                                 {
  725.                                     ["spans"] =
  726.                                     {
  727.                                         [1] =
  728.                                         {
  729.                                             [1] =
  730.                                             {
  731.                                                 ["y"] = 242664.28571429,
  732.                                                 ["x"] = -6364.2857142838,
  733.                                             }, -- end of [1]
  734.                                             [2] =
  735.                                             {
  736.                                                 ["y"] = 243021.42857143,
  737.                                                 ["x"] = -6721.4285714267,
  738.                                             }, -- end of [2]
  739.                                         }, -- end of [1]
  740.                                     }, -- end of ["spans"]
  741.                                     ["points"] =
  742.                                     {
  743.                                         [1] =
  744.                                         {
  745.                                             ["alt"] = 40,
  746.                                             ["type"] = "Turning Point",
  747.                                             ["ETA"] = 0,
  748.                                             ["alt_type"] = "BARO",
  749.                                             ["formation_template"] = "",
  750.                                             ["y"] = 278736.28571429,
  751.                                             ["x"] = -41586.857142857,
  752.                                             ["ETA_locked"] = true,
  753.                                             ["speed"] = 5.5555555555556,
  754.                                             ["action"] = "Off Road",
  755.                                             ["task"] =
  756.                                             {
  757.                                                 ["id"] = "ComboTask",
  758.                                                 ["params"] =
  759.                                                 {
  760.                                                     ["tasks"] =
  761.                                                     {
  762.                                                     }, -- end of ["tasks"]
  763.                                                 }, -- end of ["params"]
  764.                                             }, -- end of ["task"]
  765.                                             ["speed_locked"] = true,
  766.                                         }, -- end of [1]
  767.                                     }, -- end of ["points"]
  768.                                     ["routeRelativeTOT"] = true,
  769.                                 }, -- end of ["route"]
  770.                                 ["start_time"] = 0,
  771.                                 ["task"] = "Ground Nothing",
  772.     }, -- end of ["Novorossiysk Blue Vehicles"]
  773.     ["Krymsk Red Vehicles"] =      
  774.     {
  775.                                 ["visible"] = false,
  776.                                 ["taskSelected"] = true,
  777.                                 ["lateActivation"] = false,
  778.                                 ["groupId"] = 7,
  779.                                 ["tasks"] =
  780.                                 {
  781.                                 }, -- end of ["tasks"]
  782.                                 ["hidden"] = false,
  783.                                 ["units"] =
  784.                                 {
  785.                                     [1] =
  786.                                     {
  787.                                         ["y"] = 293946.85714286,
  788.                                         ["type"] = "ZSU-23-4 Shilka",
  789.                                         ["name"] = "Unit #058",
  790.                                         ["unitId"] = 66,
  791.                                         ["heading"] = 2.3561944901921,
  792.                                         ["playerCanDrive"] = true,
  793.                                         ["skill"] = "Random",
  794.                                         ["x"] = -7412.8571428571,
  795.                                     }, -- end of [1]
  796.                                     [2] =
  797.                                     {
  798.                                         ["y"] = 293648.28571429,
  799.                                         ["type"] = "ZSU-23-4 Shilka",
  800.                                         ["name"] = "Unit #059",
  801.                                         ["unitId"] = 67,
  802.                                         ["heading"] = 2.3561944901921,
  803.                                         ["playerCanDrive"] = true,
  804.                                         ["skill"] = "Random",
  805.                                         ["x"] = -7145.7142857142,
  806.                                     }, -- end of [2]
  807.                                     [3] =
  808.                                     {
  809.                                         ["y"] = 295086.85714286,
  810.                                         ["type"] = "ZSU-23-4 Shilka",
  811.                                         ["name"] = "Unit #060",
  812.                                         ["unitId"] = 68,
  813.                                         ["heading"] = 2.3561944901921,
  814.                                         ["playerCanDrive"] = true,
  815.                                         ["skill"] = "Random",
  816.                                         ["x"] = -5992.8571428571,
  817.                                     }, -- end of [3]
  818.                                     [4] =
  819.                                     {
  820.                                         ["y"] = 294752.57142858,
  821.                                         ["type"] = "ZSU-23-4 Shilka",
  822.                                         ["name"] = "Unit #061",
  823.                                         ["unitId"] = 69,
  824.                                         ["heading"] = 2.3561944901921,
  825.                                         ["playerCanDrive"] = true,
  826.                                         ["skill"] = "Random",
  827.                                         ["x"] = -5778.5714285714,
  828.                                     }, -- end of [4]
  829.                                     [5] =
  830.                                     {
  831.                                         ["y"] = 294876.85714286,
  832.                                         ["type"] = "house1arm",
  833.                                         ["name"] = "Unit #062",
  834.                                         ["unitId"] = 70,
  835.                                         ["heading"] = 5.4105206811824,
  836.                                         ["playerCanDrive"] = false,
  837.                                         ["skill"] = "Random",
  838.                                         ["x"] = -6501.4285714285,
  839.                                     }, -- end of [5]
  840.                                     [6] =
  841.                                     {
  842.                                         ["y"] = 294814.57142858,
  843.                                         ["type"] = "ATMZ-5",
  844.                                         ["name"] = "Unit #063",
  845.                                         ["unitId"] = 71,
  846.                                         ["heading"] = 0.69813170079773,
  847.                                         ["playerCanDrive"] = false,
  848.                                         ["skill"] = "Random",
  849.                                         ["x"] = -6324.5714285707,
  850.                                     }, -- end of [6]
  851.                                     [7] =
  852.                                     {
  853.                                         ["y"] = 294754.57142858,
  854.                                         ["type"] = "ATMZ-5",
  855.                                         ["name"] = "Unit #064",
  856.                                         ["unitId"] = 72,
  857.                                         ["heading"] = 0.69813170079773,
  858.                                         ["playerCanDrive"] = false,
  859.                                         ["skill"] = "Random",
  860.                                         ["x"] = -6275.9999999993,
  861.                                     }, -- end of [7]
  862.                                     [8] =
  863.                                     {
  864.                                         ["y"] = 294094.57142858,
  865.                                         ["type"] = "ATMZ-5",
  866.                                         ["name"] = "Unit #065",
  867.                                         ["unitId"] = 73,
  868.                                         ["heading"] = 2.2689280275926,
  869.                                         ["playerCanDrive"] = false,
  870.                                         ["skill"] = "Random",
  871.                                         ["x"] = -6570.285714285,
  872.                                     }, -- end of [8]
  873.                                     [9] =
  874.                                     {
  875.                                         ["y"] = 294054.57142858,
  876.                                         ["type"] = "ATMZ-5",
  877.                                         ["name"] = "Unit #066",
  878.                                         ["unitId"] = 74,
  879.                                         ["heading"] = 2.2689280275926,
  880.                                         ["playerCanDrive"] = false,
  881.                                         ["skill"] = "Random",
  882.                                         ["x"] = -6624.5714285707,
  883.                                     }, -- end of [9]
  884.                                     [10] =
  885.                                     {
  886.                                         ["y"] = 294528.85714287,
  887.                                         ["type"] = "house1arm",
  888.                                         ["name"] = "Unit #089",
  889.                                         ["unitId"] = 154,
  890.                                         ["heading"] = 5.4105206811824,
  891.                                         ["playerCanDrive"] = false,
  892.                                         ["skill"] = "Random",
  893.                                         ["x"] = -6953.1428571422,
  894.                                     }, -- end of [10]
  895.                                     [11] =
  896.                                     {
  897.                                         ["y"] = 294083.14285715,
  898.                                         ["type"] = "ATMZ-5",
  899.                                         ["name"] = "Unit #090",
  900.                                         ["unitId"] = 155,
  901.                                         ["heading"] = 0.69813170079773,
  902.                                         ["playerCanDrive"] = false,
  903.                                         ["skill"] = "Random",
  904.                                         ["x"] = -7084.5714285707,
  905.                                     }, -- end of [11]
  906.                                     [12] =
  907.                                     {
  908.                                         ["y"] = 294148.85714287,
  909.                                         ["type"] = "ATMZ-5",
  910.                                         ["name"] = "Unit #091",
  911.                                         ["unitId"] = 156,
  912.                                         ["heading"] = 0.69813170079773,
  913.                                         ["playerCanDrive"] = false,
  914.                                         ["skill"] = "Random",
  915.                                         ["x"] = -7135.9999999993,
  916.                                     }, -- end of [12]
  917.                                     [13] =
  918.                                     {
  919.                                         ["y"] = 293860.28571429,
  920.                                         ["type"] = "ATMZ-5",
  921.                                         ["name"] = "Unit #094",
  922.                                         ["unitId"] = 159,
  923.                                         ["heading"] = 2.2689280275926,
  924.                                         ["playerCanDrive"] = false,
  925.                                         ["skill"] = "Random",
  926.                                         ["x"] = -6890.285714285,
  927.                                     }, -- end of [13]
  928.                                     [14] =
  929.                                     {
  930.                                         ["y"] = 293903.14285715,
  931.                                         ["type"] = "ATMZ-5",
  932.                                         ["name"] = "Unit #095",
  933.                                         ["unitId"] = 160,
  934.                                         ["heading"] = 2.2689280275926,
  935.                                         ["playerCanDrive"] = false,
  936.                                         ["skill"] = "Random",
  937.                                         ["x"] = -6838.8571428564,
  938.                                     }, -- end of [14]
  939.                                 }, -- end of ["units"]
  940.                                 ["y"] = 293946.85714286,
  941.                                 ["x"] = -7412.8571428571,
  942.                                 ["name"] = "Krymsk Red Vehicles",
  943.                                 ["route"] =
  944.                                 {
  945.                                     ["spans"] =
  946.                                     {
  947.                                         [1] =
  948.                                         {
  949.                                             [1] =
  950.                                             {
  951.                                                 ["y"] = 242664.28571429,
  952.                                                 ["x"] = -6364.2857142838,
  953.                                             }, -- end of [1]
  954.                                             [2] =
  955.                                             {
  956.                                                 ["y"] = 243021.42857143,
  957.                                                 ["x"] = -6721.4285714267,
  958.                                             }, -- end of [2]
  959.                                         }, -- end of [1]
  960.                                     }, -- end of ["spans"]
  961.                                     ["points"] =
  962.                                     {
  963.                                         [1] =
  964.                                         {
  965.                                             ["alt"] = 20,
  966.                                             ["type"] = "Turning Point",
  967.                                             ["ETA"] = 0,
  968.                                             ["alt_type"] = "BARO",
  969.                                             ["formation_template"] = "",
  970.                                             ["y"] = 293946.85714286,
  971.                                             ["x"] = -7412.8571428571,
  972.                                             ["ETA_locked"] = true,
  973.                                             ["speed"] = 5.5555555555556,
  974.                                             ["action"] = "Off Road",
  975.                                             ["task"] =
  976.                                             {
  977.                                                 ["id"] = "ComboTask",
  978.                                                 ["params"] =
  979.                                                 {
  980.                                                     ["tasks"] =
  981.                                                     {
  982.                                                     }, -- end of ["tasks"]
  983.                                                 }, -- end of ["params"]
  984.                                             }, -- end of ["task"]
  985.                                             ["speed_locked"] = true,
  986.                                         }, -- end of [1]
  987.                                     }, -- end of ["points"]
  988.                                     ["routeRelativeTOT"] = true,
  989.                                 }, -- end of ["route"]
  990.                                 ["start_time"] = 0,
  991.                                 ["task"] = "Ground Nothing",
  992.     }, -- end of ["Krymsk Red Vehicles"]
  993.     ["Krymsk Blue Vehicles"] =     
  994.     {
  995.                                 ["visible"] = false,
  996.                                 ["taskSelected"] = true,
  997.                                 ["lateActivation"] = false,
  998.                                 ["groupId"] = 8,
  999.                                 ["tasks"] =
  1000.                                 {
  1001.                                 }, -- end of ["tasks"]
  1002.                                 ["hidden"] = false,
  1003.                                 ["units"] =
  1004.                                 {
  1005.                                     [1] =
  1006.                                     {
  1007.                                         ["y"] = 293888.85714286,
  1008.                                         ["type"] = "Vulcan",
  1009.                                         ["name"] = "Unit #067",
  1010.                                         ["unitId"] = 75,
  1011.                                         ["heading"] = 2.3561944901921,
  1012.                                         ["playerCanDrive"] = false,
  1013.                                         ["skill"] = "Random",
  1014.                                         ["x"] = -7374.8571428571,
  1015.                                     }, -- end of [1]
  1016.                                     [2] =
  1017.                                     {
  1018.                                         ["y"] = 293708.85714286,
  1019.                                         ["type"] = "Vulcan",
  1020.                                         ["name"] = "Unit #068",
  1021.                                         ["unitId"] = 76,
  1022.                                         ["heading"] = 2.3561944901921,
  1023.                                         ["playerCanDrive"] = false,
  1024.                                         ["skill"] = "Random",
  1025.                                         ["x"] = -7097.7142857142,
  1026.                                     }, -- end of [2]
  1027.                                     [3] =
  1028.                                     {
  1029.                                         ["y"] = 294831.42857144,
  1030.                                         ["type"] = "Vulcan",
  1031.                                         ["name"] = "Unit #069",
  1032.                                         ["unitId"] = 77,
  1033.                                         ["heading"] = 2.3561944901921,
  1034.                                         ["playerCanDrive"] = false,
  1035.                                         ["skill"] = "Random",
  1036.                                         ["x"] = -5713.4285714285,
  1037.                                     }, -- end of [3]
  1038.                                     [4] =
  1039.                                     {
  1040.                                         ["y"] = 295100.00000001,
  1041.                                         ["type"] = "Vulcan",
  1042.                                         ["name"] = "Unit #070",
  1043.                                         ["unitId"] = 78,
  1044.                                         ["heading"] = 2.3561944901921,
  1045.                                         ["playerCanDrive"] = false,
  1046.                                         ["skill"] = "Random",
  1047.                                         ["x"] = -5927.7142857142,
  1048.                                     }, -- end of [4]
  1049.                                     [5] =
  1050.                                     {
  1051.                                         ["y"] = 294830.00000001,
  1052.                                         ["type"] = "house1arm",
  1053.                                         ["name"] = "Unit #071",
  1054.                                         ["unitId"] = 79,
  1055.                                         ["heading"] = 5.4105206811824,
  1056.                                         ["playerCanDrive"] = false,
  1057.                                         ["skill"] = "Random",
  1058.                                         ["x"] = -6560.5714285713,
  1059.                                     }, -- end of [5]
  1060.                                     [6] =
  1061.                                     {
  1062.                                         ["y"] = 294548.85714287,
  1063.                                         ["type"] = "M978 HEMTT Tanker",
  1064.                                         ["name"] = "Unit #072",
  1065.                                         ["unitId"] = 80,
  1066.                                         ["heading"] = 2.2689280275926,
  1067.                                         ["playerCanDrive"] = false,
  1068.                                         ["skill"] = "Random",
  1069.                                         ["x"] = -5967.4285714279,
  1070.                                     }, -- end of [6]
  1071.                                     [7] =
  1072.                                     {
  1073.                                         ["y"] = 294497.42857144,
  1074.                                         ["type"] = "M978 HEMTT Tanker",
  1075.                                         ["name"] = "Unit #073",
  1076.                                         ["unitId"] = 81,
  1077.                                         ["heading"] = 2.2689280275926,
  1078.                                         ["playerCanDrive"] = false,
  1079.                                         ["skill"] = "Random",
  1080.                                         ["x"] = -6027.4285714279,
  1081.                                     }, -- end of [7]
  1082.                                     [8] =
  1083.                                     {
  1084.                                         ["y"] = 294210.00000001,
  1085.                                         ["type"] = "M978 HEMTT Tanker",
  1086.                                         ["name"] = "Unit #074",
  1087.                                         ["unitId"] = 82,
  1088.                                         ["heading"] = 3.8397243543875,
  1089.                                         ["playerCanDrive"] = false,
  1090.                                         ["skill"] = "Random",
  1091.                                         ["x"] = -7030.285714285,
  1092.                                     }, -- end of [8]
  1093.                                     [9] =
  1094.                                     {
  1095.                                         ["y"] = 294158.57142858,
  1096.                                         ["type"] = "M978 HEMTT Tanker",
  1097.                                         ["name"] = "Unit #075",
  1098.                                         ["unitId"] = 83,
  1099.                                         ["heading"] = 3.8397243543875,
  1100.                                         ["playerCanDrive"] = false,
  1101.                                         ["skill"] = "Random",
  1102.                                         ["x"] = -6987.4285714279,
  1103.                                     }, -- end of [9]
  1104.                                     [10] =
  1105.                                     {
  1106.                                         ["y"] = 294598.57142858,
  1107.                                         ["type"] = "house1arm",
  1108.                                         ["name"] = "Unit #086",
  1109.                                         ["unitId"] = 151,
  1110.                                         ["heading"] = 5.4105206811824,
  1111.                                         ["playerCanDrive"] = false,
  1112.                                         ["skill"] = "Random",
  1113.                                         ["x"] = -6864.5714285707,
  1114.                                     }, -- end of [10]
  1115.                                     [11] =
  1116.                                     {
  1117.                                         ["y"] = 294830.00000001,
  1118.                                         ["type"] = "M978 HEMTT Tanker",
  1119.                                         ["name"] = "Unit #087",
  1120.                                         ["unitId"] = 152,
  1121.                                         ["heading"] = 3.8397243543875,
  1122.                                         ["playerCanDrive"] = false,
  1123.                                         ["skill"] = "Random",
  1124.                                         ["x"] = -6178.8571428564,
  1125.                                     }, -- end of [11]
  1126.                                     [12] =
  1127.                                     {
  1128.                                         ["y"] = 294881.42857144,
  1129.                                         ["type"] = "M978 HEMTT Tanker",
  1130.                                         ["name"] = "Unit #088",
  1131.                                         ["unitId"] = 153,
  1132.                                         ["heading"] = 3.8397243543875,
  1133.                                         ["playerCanDrive"] = false,
  1134.                                         ["skill"] = "Random",
  1135.                                         ["x"] = -6221.7142857136,
  1136.                                     }, -- end of [12]
  1137.                                     [13] =
  1138.                                     {
  1139.                                         ["y"] = 294286.00000001,
  1140.                                         ["type"] = "M978 HEMTT Tanker",
  1141.                                         ["name"] = "Unit #092",
  1142.                                         ["unitId"] = 157,
  1143.                                         ["heading"] = 2.2689280275926,
  1144.                                         ["playerCanDrive"] = false,
  1145.                                         ["skill"] = "Random",
  1146.                                         ["x"] = -6318.8571428564,
  1147.                                     }, -- end of [13]
  1148.                                     [14] =
  1149.                                     {
  1150.                                         ["y"] = 294331.71428572,
  1151.                                         ["type"] = "M978 HEMTT Tanker",
  1152.                                         ["name"] = "Unit #093",
  1153.                                         ["unitId"] = 158,
  1154.                                         ["heading"] = 2.2689280275926,
  1155.                                         ["playerCanDrive"] = false,
  1156.                                         ["skill"] = "Random",
  1157.                                         ["x"] = -6258.8571428564,
  1158.                                     }, -- end of [14]
  1159.                                 }, -- end of ["units"]
  1160.                                 ["y"] = 293888.85714286,
  1161.                                 ["x"] = -7374.8571428571,
  1162.                                 ["name"] = "Krymsk Blue Vehicles",
  1163.                                 ["route"] =
  1164.                                 {
  1165.                                     ["spans"] =
  1166.                                     {
  1167.                                         [1] =
  1168.                                         {
  1169.                                             [1] =
  1170.                                             {
  1171.                                                 ["y"] = 242664.28571429,
  1172.                                                 ["x"] = -6364.2857142838,
  1173.                                             }, -- end of [1]
  1174.                                             [2] =
  1175.                                             {
  1176.                                                 ["y"] = 243021.42857143,
  1177.                                                 ["x"] = -6721.4285714267,
  1178.                                             }, -- end of [2]
  1179.                                         }, -- end of [1]
  1180.                                     }, -- end of ["spans"]
  1181.                                     ["points"] =
  1182.                                     {
  1183.                                         [1] =
  1184.                                         {
  1185.                                             ["alt"] = 20,
  1186.                                             ["type"] = "Turning Point",
  1187.                                             ["ETA"] = 0,
  1188.                                             ["alt_type"] = "BARO",
  1189.                                             ["formation_template"] = "",
  1190.                                             ["y"] = 293888.85714286,
  1191.                                             ["x"] = -7374.8571428571,
  1192.                                             ["ETA_locked"] = true,
  1193.                                             ["speed"] = 5.5555555555556,
  1194.                                             ["action"] = "Off Road",
  1195.                                             ["task"] =
  1196.                                             {
  1197.                                                 ["id"] = "ComboTask",
  1198.                                                 ["params"] =
  1199.                                                 {
  1200.                                                     ["tasks"] =
  1201.                                                     {
  1202.                                                     }, -- end of ["tasks"]
  1203.                                                 }, -- end of ["params"]
  1204.                                             }, -- end of ["task"]
  1205.                                             ["speed_locked"] = true,
  1206.                                         }, -- end of [1]
  1207.                                     }, -- end of ["points"]
  1208.                                     ["routeRelativeTOT"] = true,
  1209.                                 }, -- end of ["route"]
  1210.                                 ["start_time"] = 0,
  1211.                                 ["task"] = "Ground Nothing",
  1212.     }, -- end of ["Krymsk Blue Vehicles"]
  1213.     ["Anapa Red Vehicles"] =       
  1214.     {
  1215.                                 ["visible"] = false,
  1216.                                 ["taskSelected"] = true,
  1217.                                 ["lateActivation"] = false,
  1218.                                 ["groupId"] = 1,
  1219.                                 ["tasks"] =
  1220.                                 {
  1221.                                 }, -- end of ["tasks"]
  1222.                                 ["hidden"] = false,
  1223.                                 ["units"] =
  1224.                                 {
  1225.                                     [1] =
  1226.                                     {
  1227.                                         ["y"] = 242664.28571429,
  1228.                                         ["type"] = "ZSU-23-4 Shilka",
  1229.                                         ["name"] = "Unit #1",
  1230.                                         ["unitId"] = 1,
  1231.                                         ["heading"] = 2.3561944901921,
  1232.                                         ["playerCanDrive"] = true,
  1233.                                         ["skill"] = "Random",
  1234.                                         ["x"] = -6364.2857142838,
  1235.                                     }, -- end of [1]
  1236.                                     [2] =
  1237.                                     {
  1238.                                         ["y"] = 241814.28571429,
  1239.                                         ["type"] = "ZSU-23-4 Shilka",
  1240.                                         ["name"] = "Unit #001",
  1241.                                         ["unitId"] = 2,
  1242.                                         ["heading"] = 2.3561944901921,
  1243.                                         ["playerCanDrive"] = true,
  1244.                                         ["skill"] = "Random",
  1245.                                         ["x"] = -6180.5714285695,
  1246.                                     }, -- end of [2]
  1247.                                     [3] =
  1248.                                     {
  1249.                                         ["y"] = 243787.14285714,
  1250.                                         ["type"] = "ZSU-23-4 Shilka",
  1251.                                         ["name"] = "Unit #002",
  1252.                                         ["unitId"] = 3,
  1253.                                         ["heading"] = 2.3561944901921,
  1254.                                         ["playerCanDrive"] = true,
  1255.                                         ["skill"] = "Random",
  1256.                                         ["x"] = -4436.2857142838,
  1257.                                     }, -- end of [3]
  1258.                                     [4] =
  1259.                                     {
  1260.                                         ["y"] = 244032.85714286,
  1261.                                         ["type"] = "ZSU-23-4 Shilka",
  1262.                                         ["name"] = "Unit #003",
  1263.                                         ["unitId"] = 4,
  1264.                                         ["heading"] = 2.3561944901921,
  1265.                                         ["playerCanDrive"] = true,
  1266.                                         ["skill"] = "Random",
  1267.                                         ["x"] = -4747.7142857124,
  1268.                                     }, -- end of [4]
  1269.                                     [5] =
  1270.                                     {
  1271.                                         ["y"] = 242920.28571429,
  1272.                                         ["type"] = "house1arm",
  1273.                                         ["name"] = "Unit #004",
  1274.                                         ["unitId"] = 5,
  1275.                                         ["heading"] = 2.2689280275926,
  1276.                                         ["playerCanDrive"] = false,
  1277.                                         ["skill"] = "Random",
  1278.                                         ["x"] = -5088.8571428565,
  1279.                                     }, -- end of [5]
  1280.                                     [6] =
  1281.                                     {
  1282.                                         ["y"] = 242108.28571429,
  1283.                                         ["type"] = "ATMZ-5",
  1284.                                         ["name"] = "Unit #005",
  1285.                                         ["unitId"] = 9,
  1286.                                         ["heading"] = 5.4105206811824,
  1287.                                         ["playerCanDrive"] = false,
  1288.                                         ["skill"] = "Random",
  1289.                                         ["x"] = -6381.4285714279,
  1290.                                     }, -- end of [6]
  1291.                                     [7] =
  1292.                                     {
  1293.                                         ["y"] = 242130.57142858,
  1294.                                         ["type"] = "ATMZ-5",
  1295.                                         ["name"] = "Unit #006",
  1296.                                         ["unitId"] = 10,
  1297.                                         ["heading"] = 5.4105206811824,
  1298.                                         ["playerCanDrive"] = false,
  1299.                                         ["skill"] = "Random",
  1300.                                         ["x"] = -6399.7142857136,
  1301.                                     }, -- end of [7]
  1302.                                     [8] =
  1303.                                     {
  1304.                                         ["y"] = 243952.28571429,
  1305.                                         ["type"] = "ATMZ-5",
  1306.                                         ["name"] = "Unit #007",
  1307.                                         ["unitId"] = 11,
  1308.                                         ["heading"] = 3.8397243543875,
  1309.                                         ["playerCanDrive"] = false,
  1310.                                         ["skill"] = "Random",
  1311.                                         ["x"] = -4280.8571428565,
  1312.                                     }, -- end of [8]
  1313.                                     [9] =
  1314.                                     {
  1315.                                         ["y"] = 243986.28571429,
  1316.                                         ["type"] = "ATMZ-5",
  1317.                                         ["name"] = "Unit #008",
  1318.                                         ["unitId"] = 12,
  1319.                                         ["heading"] = 3.8397243543875,
  1320.                                         ["playerCanDrive"] = false,
  1321.                                         ["skill"] = "Random",
  1322.                                         ["x"] = -4313.1428571422,
  1323.                                     }, -- end of [9]
  1324.                                     [10] =
  1325.                                     {
  1326.                                         ["y"] = 242934.28571429,
  1327.                                         ["type"] = "ATMZ-5",
  1328.                                         ["name"] = "Unit #009",
  1329.                                         ["unitId"] = 13,
  1330.                                         ["heading"] = 3.8397243543875,
  1331.                                         ["playerCanDrive"] = false,
  1332.                                         ["skill"] = "Random",
  1333.                                         ["x"] = -5422.285714285,
  1334.                                     }, -- end of [10]
  1335.                                     [11] =
  1336.                                     {
  1337.                                         ["y"] = 242961.14285715,
  1338.                                         ["type"] = "ATMZ-5",
  1339.                                         ["name"] = "Unit #010",
  1340.                                         ["unitId"] = 14,
  1341.                                         ["heading"] = 3.8397243543875,
  1342.                                         ["playerCanDrive"] = false,
  1343.                                         ["skill"] = "Random",
  1344.                                         ["x"] = -5445.7142857136,
  1345.                                     }, -- end of [11]
  1346.                                     [12] =
  1347.                                     {
  1348.                                         ["y"] = 242272.57142858,
  1349.                                         ["type"] = "ATMZ-5",
  1350.                                         ["name"] = "Unit #099",
  1351.                                         ["unitId"] = 164,
  1352.                                         ["heading"] = 2.2689280275926,
  1353.                                         ["playerCanDrive"] = false,
  1354.                                         ["skill"] = "Random",
  1355.                                         ["x"] = -5848.285714285,
  1356.                                     }, -- end of [12]
  1357.                                     [13] =
  1358.                                     {
  1359.                                         ["y"] = 242241.14285715,
  1360.                                         ["type"] = "ATMZ-5",
  1361.                                         ["name"] = "Unit #100",
  1362.                                         ["unitId"] = 165,
  1363.                                         ["heading"] = 2.2689280275926,
  1364.                                         ["playerCanDrive"] = false,
  1365.                                         ["skill"] = "Random",
  1366.                                         ["x"] = -5888.285714285,
  1367.                                     }, -- end of [13]
  1368.                                     [14] =
  1369.                                     {
  1370.                                         ["y"] = 243502.85714286,
  1371.                                         ["type"] = "house1arm",
  1372.                                         ["name"] = "Unit #101",
  1373.                                         ["unitId"] = 166,
  1374.                                         ["heading"] = 2.2689280275926,
  1375.                                         ["playerCanDrive"] = false,
  1376.                                         ["skill"] = "Random",
  1377.                                         ["x"] = -4451.7142857136,
  1378.                                     }, -- end of [14]
  1379.                                 }, -- end of ["units"]
  1380.                                 ["y"] = 242664.28571429,
  1381.                                 ["x"] = -6364.2857142838,
  1382.                                 ["name"] = "Anapa Red Vehicles",
  1383.                                 ["route"] =
  1384.                                 {
  1385.                                     ["spans"] =
  1386.                                     {
  1387.                                         [1] =
  1388.                                         {
  1389.                                             [1] =
  1390.                                             {
  1391.                                                 ["y"] = 242664.28571429,
  1392.                                                 ["x"] = -6364.2857142838,
  1393.                                             }, -- end of [1]
  1394.                                             [2] =
  1395.                                             {
  1396.                                                 ["y"] = 243021.42857143,
  1397.                                                 ["x"] = -6721.4285714267,
  1398.                                             }, -- end of [2]
  1399.                                         }, -- end of [1]
  1400.                                     }, -- end of ["spans"]
  1401.                                     ["points"] =
  1402.                                     {
  1403.                                         [1] =
  1404.                                         {
  1405.                                             ["alt"] = 45,
  1406.                                             ["type"] = "Turning Point",
  1407.                                             ["ETA"] = 0,
  1408.                                             ["alt_type"] = "BARO",
  1409.                                             ["formation_template"] = "",
  1410.                                             ["y"] = 242664.28571429,
  1411.                                             ["x"] = -6364.2857142838,
  1412.                                             ["ETA_locked"] = true,
  1413.                                             ["speed"] = 5.5555555555556,
  1414.                                             ["action"] = "Off Road",
  1415.                                             ["task"] =
  1416.                                             {
  1417.                                                 ["id"] = "ComboTask",
  1418.                                                 ["params"] =
  1419.                                                 {
  1420.                                                     ["tasks"] =
  1421.                                                     {
  1422.                                                     }, -- end of ["tasks"]
  1423.                                                 }, -- end of ["params"]
  1424.                                             }, -- end of ["task"]
  1425.                                             ["speed_locked"] = true,
  1426.                                         }, -- end of [1]
  1427.                                     }, -- end of ["points"]
  1428.                                     ["routeRelativeTOT"] = true,
  1429.                                 }, -- end of ["route"]
  1430.                                 ["start_time"] = 0,
  1431.                                 ["task"] = "Ground Nothing",
  1432.     }, -- end of ["Anapa Red Vehicles"]
  1433.     ["Anapa Blue Vehicles"] =      
  1434.     {
  1435.                                 ["visible"] = false,
  1436.                                 ["taskSelected"] = true,
  1437.                                 ["lateActivation"] = false,
  1438.                                 ["groupId"] = 2,
  1439.                                 ["tasks"] =
  1440.                                 {
  1441.                                 }, -- end of ["tasks"]
  1442.                                 ["hidden"] = false,
  1443.                                 ["units"] =
  1444.                                 {
  1445.                                     [1] =
  1446.                                     {
  1447.                                         ["y"] = 242655.14285714,
  1448.                                         ["type"] = "Vulcan",
  1449.                                         ["name"] = "Unit #011",
  1450.                                         ["unitId"] = 15,
  1451.                                         ["heading"] = 2.3561944901921,
  1452.                                         ["playerCanDrive"] = false,
  1453.                                         ["skill"] = "Random",
  1454.                                         ["x"] = -6357.7142857121,
  1455.                                     }, -- end of [1]
  1456.                                     [2] =
  1457.                                     {
  1458.                                         ["y"] = 241805.14285714,
  1459.                                         ["type"] = "Vulcan",
  1460.                                         ["name"] = "Unit #012",
  1461.                                         ["unitId"] = 16,
  1462.                                         ["heading"] = 2.3561944901921,
  1463.                                         ["playerCanDrive"] = false,
  1464.                                         ["skill"] = "Random",
  1465.                                         ["x"] = -6173.9999999978,
  1466.                                     }, -- end of [2]
  1467.                                     [3] =
  1468.                                     {
  1469.                                         ["y"] = 243778,
  1470.                                         ["type"] = "Vulcan",
  1471.                                         ["name"] = "Unit #013",
  1472.                                         ["unitId"] = 17,
  1473.                                         ["heading"] = 2.3561944901921,
  1474.                                         ["playerCanDrive"] = false,
  1475.                                         ["skill"] = "Random",
  1476.                                         ["x"] = -4429.7142857121,
  1477.                                     }, -- end of [3]
  1478.                                     [4] =
  1479.                                     {
  1480.                                         ["y"] = 244023.71428571,
  1481.                                         ["type"] = "Vulcan",
  1482.                                         ["name"] = "Unit #014",
  1483.                                         ["unitId"] = 18,
  1484.                                         ["heading"] = 2.3561944901921,
  1485.                                         ["playerCanDrive"] = false,
  1486.                                         ["skill"] = "Random",
  1487.                                         ["x"] = -4741.1428571407,
  1488.                                     }, -- end of [4]
  1489.                                     [5] =
  1490.                                     {
  1491.                                         ["y"] = 242869.71428571,
  1492.                                         ["type"] = "house1arm",
  1493.                                         ["name"] = "Unit #015",
  1494.                                         ["unitId"] = 19,
  1495.                                         ["heading"] = 2.2689280275926,
  1496.                                         ["playerCanDrive"] = false,
  1497.                                         ["skill"] = "Random",
  1498.                                         ["x"] = -5147.4285714264,
  1499.                                     }, -- end of [5]
  1500.                                     [6] =
  1501.                                     {
  1502.                                         ["y"] = 242370.85714286,
  1503.                                         ["type"] = "M978 HEMTT Tanker",
  1504.                                         ["name"] = "Unit #016",
  1505.                                         ["unitId"] = 20,
  1506.                                         ["heading"] = 5.4105206811824,
  1507.                                         ["playerCanDrive"] = false,
  1508.                                         ["skill"] = "Random",
  1509.                                         ["x"] = -5737.7142857136,
  1510.                                     }, -- end of [6]
  1511.                                     [7] =
  1512.                                     {
  1513.                                         ["y"] = 242406.57142858,
  1514.                                         ["type"] = "M978 HEMTT Tanker",
  1515.                                         ["name"] = "Unit #017",
  1516.                                         ["unitId"] = 21,
  1517.                                         ["heading"] = 2.2689280275926,
  1518.                                         ["playerCanDrive"] = false,
  1519.                                         ["skill"] = "Random",
  1520.                                         ["x"] = -5704.8571428565,
  1521.                                     }, -- end of [7]
  1522.                                     [8] =
  1523.                                     {
  1524.                                         ["y"] = 242052.85714286,
  1525.                                         ["type"] = "M978 HEMTT Tanker",
  1526.                                         ["name"] = "Unit #018",
  1527.                                         ["unitId"] = 22,
  1528.                                         ["heading"] = 0.69813170079773,
  1529.                                         ["playerCanDrive"] = false,
  1530.                                         ["skill"] = "Random",
  1531.                                         ["x"] = -6332.8571428565,
  1532.                                     }, -- end of [8]
  1533.                                     [9] =
  1534.                                     {
  1535.                                         ["y"] = 242024.85714286,
  1536.                                         ["type"] = "M978 HEMTT Tanker",
  1537.                                         ["name"] = "Unit #019",
  1538.                                         ["unitId"] = 23,
  1539.                                         ["heading"] = 0.69813170079773,
  1540.                                         ["playerCanDrive"] = false,
  1541.                                         ["skill"] = "Random",
  1542.                                         ["x"] = -6312.8571428565,
  1543.                                     }, -- end of [9]
  1544.                                     [10] =
  1545.                                     {
  1546.                                         ["y"] = 243887.14285715,
  1547.                                         ["type"] = "M978 HEMTT Tanker",
  1548.                                         ["name"] = "Unit #020",
  1549.                                         ["unitId"] = 24,
  1550.                                         ["heading"] = 3.8397243543875,
  1551.                                         ["playerCanDrive"] = false,
  1552.                                         ["skill"] = "Random",
  1553.                                         ["x"] = -4217.9999999993,
  1554.                                     }, -- end of [10]
  1555.                                     [11] =
  1556.                                     {
  1557.                                         ["y"] = 243911.14285715,
  1558.                                         ["type"] = "M978 HEMTT Tanker",
  1559.                                         ["name"] = "Unit #021",
  1560.                                         ["unitId"] = 25,
  1561.                                         ["heading"] = 3.8397243543875,
  1562.                                         ["playerCanDrive"] = false,
  1563.                                         ["skill"] = "Random",
  1564.                                         ["x"] = -4241.4285714279,
  1565.                                     }, -- end of [11]
  1566.                                     [12] =
  1567.                                     {
  1568.                                         ["y"] = 243403.14285715,
  1569.                                         ["type"] = "house1arm",
  1570.                                         ["name"] = "Unit #096",
  1571.                                         ["unitId"] = 161,
  1572.                                         ["heading"] = 2.2689280275926,
  1573.                                         ["playerCanDrive"] = false,
  1574.                                         ["skill"] = "Random",
  1575.                                         ["x"] = -4551.7142857136,
  1576.                                     }, -- end of [12]
  1577.                                     [13] =
  1578.                                     {
  1579.                                         ["y"] = 242873.14285715,
  1580.                                         ["type"] = "M978 HEMTT Tanker",
  1581.                                         ["name"] = "Unit #097",
  1582.                                         ["unitId"] = 162,
  1583.                                         ["heading"] = 0.69813170079773,
  1584.                                         ["playerCanDrive"] = false,
  1585.                                         ["skill"] = "Random",
  1586.                                         ["x"] = -5491.4285714279,
  1587.                                     }, -- end of [13]
  1588.                                     [14] =
  1589.                                     {
  1590.                                         ["y"] = 242900.57142858,
  1591.                                         ["type"] = "M978 HEMTT Tanker",
  1592.                                         ["name"] = "Unit #098",
  1593.                                         ["unitId"] = 163,
  1594.                                         ["heading"] = 0.69813170079773,
  1595.                                         ["playerCanDrive"] = false,
  1596.                                         ["skill"] = "Random",
  1597.                                         ["x"] = -5515.9999999993,
  1598.                                     }, -- end of [14]
  1599.                                 }, -- end of ["units"]
  1600.                                 ["y"] = 242655.14285714,
  1601.                                 ["x"] = -6357.7142857121,
  1602.                                 ["name"] = "Anapa Blue Vehicles",
  1603.                                 ["route"] =
  1604.                                 {
  1605.                                     ["spans"] =
  1606.                                     {
  1607.                                         [1] =
  1608.                                         {
  1609.                                             [1] =
  1610.                                             {
  1611.                                                 ["y"] = 242664.28571429,
  1612.                                                 ["x"] = -6364.2857142838,
  1613.                                             }, -- end of [1]
  1614.                                             [2] =
  1615.                                             {
  1616.                                                 ["y"] = 243021.42857143,
  1617.                                                 ["x"] = -6721.4285714267,
  1618.                                             }, -- end of [2]
  1619.                                         }, -- end of [1]
  1620.                                     }, -- end of ["spans"]
  1621.                                     ["points"] =
  1622.                                     {
  1623.                                         [1] =
  1624.                                         {
  1625.                                             ["alt"] = 45,
  1626.                                             ["type"] = "Turning Point",
  1627.                                             ["ETA"] = 0,
  1628.                                             ["alt_type"] = "BARO",
  1629.                                             ["formation_template"] = "",
  1630.                                             ["y"] = 242655.14285714,
  1631.                                             ["x"] = -6357.7142857121,
  1632.                                             ["ETA_locked"] = true,
  1633.                                             ["speed"] = 5.5555555555556,
  1634.                                             ["action"] = "Off Road",
  1635.                                             ["task"] =
  1636.                                             {
  1637.                                                 ["id"] = "ComboTask",
  1638.                                                 ["params"] =
  1639.                                                 {
  1640.                                                     ["tasks"] =
  1641.                                                     {
  1642.                                                     }, -- end of ["tasks"]
  1643.                                                 }, -- end of ["params"]
  1644.                                             }, -- end of ["task"]
  1645.                                             ["speed_locked"] = true,
  1646.                                         }, -- end of [1]
  1647.                                     }, -- end of ["points"]
  1648.                                     ["routeRelativeTOT"] = true,
  1649.                                 }, -- end of ["route"]
  1650.                                 ["start_time"] = 0,
  1651.                                 ["task"] = "Ground Nothing",
  1652.     }, -- end of ["Anapa Blue Vehicles"]
  1653. }
  1654.  
  1655.  
  1656.  
  1657.  
  1658. local clients = {
  1659.   ['blue'] = {
  1660.     ['gelendzhik'] = {"Gelendzhik Blue P-51D #001", "Gelendzhik Blue P-51D #002","Gelendzhik Blue P-51D #003","Gelendzhik Blue P-51D #004","Gelendzhik Blue P-51D #005"},
  1661.     ['novorossiysk'] = {"Novorossiysk Blue P-51D #001", "Novorossiysk Blue P-51D #002","Novorossiysk Blue P-51D #003","Novorossiysk Blue P-51D #004"},
  1662.     ['krymsk'] = {"Krymsk Blue P-51D #001", "Krymsk Blue P-51D #002","Krymsk Blue P-51D #003","Krymsk Blue P-51D #004"},
  1663.     ['anapa'] = {"Anapa Blue P-51D #001", "Anapa Blue P-51D #002","Anapa Blue P-51D #003","Anapa Blue P-51D #004","Anapa Blue P-51D #005","Anapa Blue P-51D #006","Anapa Blue P-51D #007"},
  1664.   },
  1665.   ['red'] = {
  1666.     ['gelendzhik'] = {"Gelendzhik Red P-51D #001", "Gelendzhik Red P-51D #002","Gelendzhik Red P-51D #003","Gelendzhik Red P-51D #004","Gelendzhik Red P-51D #005"},
  1667.     ['novorossiysk'] = {"Novorossiysk Red P-51D #001", "Novorossiysk Red P-51D #002","Novorossiysk Red P-51D #003","Novorossiysk Red P-51D #004"},
  1668.     ['krymsk'] = {"Krymsk Red P-51D #001", "Krymsk Red P-51D #002","Krymsk Red P-51D #003","Krymsk Red P-51D #004"},
  1669.     ['anapa'] = {"Anapa Red P-51D #001", "Anapa Red P-51D #002","Anapa Red P-51D #003","Anapa Red P-51D #004","Anapa Red P-51D #005","Anapa Red P-51D #006","Anapa Red P-51D #007"},
  1670.   },
  1671. }
  1672.  
  1673. local deactivateUnits = {
  1674.   ['blue'] = {
  1675.     ['gelendzhik'] = {},
  1676.     ['novorossiysk'] = {},
  1677.     ['krymsk'] = {},
  1678.     ['anapa'] = {},
  1679.   },
  1680.   ['red'] = {
  1681.     ['gelendzhik'] = {},
  1682.     ['novorossiysk'] = {},
  1683.     ['krymsk'] = {},
  1684.     ['anapa'] = {},
  1685.   },
  1686.  }
  1687.  
  1688.  local function deactivateBase(coaName, airbase)
  1689.     for index, name in pairs(clients[coaName][airbase]) do
  1690.         if not Unit.getByName(name) then
  1691.             deactivateUnits[coaName][airbase][index] = name
  1692.         end
  1693.     end
  1694. end
  1695.  
  1696.  
  1697. function manageClients(coaName, airbase)
  1698.     if coaName == "blue" then
  1699.         deactivateUnits["red"][airbase] = {}
  1700.         deactivateBase('blue', airbase)
  1701.     elseif coaName == "red" then
  1702.         deactivateUnits["blue"][airbase] = {}
  1703.         deactivateBase('red', airbase)
  1704.     else
  1705.         deactivateBase('red', airbase)
  1706.         deactivateBase('blue', airbase)
  1707.     end
  1708. end
  1709.  
  1710.  
  1711. function deactivate()
  1712.     for coalition, bases in pairs(deactivateUnits) do
  1713.         for base, units in pairs(bases) do
  1714.             for index, unit in pairs(units) do
  1715.                 if Unit.getByName(unit) then
  1716.                     Unit.getByName(unit):destroy()
  1717.                 end
  1718.             end
  1719.         end
  1720.     end
  1721.    
  1722.     for i, group in pairs(VDatabase) do
  1723.         for j, v in pairs(group.units) do
  1724.             local unit = Unit.getByName(v.name)
  1725.             if unit and unit:getLife() <= 1 then
  1726.                 unit:destroy()
  1727.             end
  1728.         end
  1729.     end
  1730. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement