ObjArray = {}

ObjArray["Cruise missiles"] = {"AGM_86", "AGM_84E", "BGM_109B", "X_65", "X_55", "X_59M", "AGM_154"}
ObjArray["Anti-Ship missiles"] = {"X_41", "AGM_84A", "Sea_Eagle", "X_31P", "Kormoran", "X_22"}

ObjArray["Missiles"] = {ObjArray["Cruise missiles"], ObjArray["Anti-Ship missiles"]}

ObjArray["Fighters"]      = {"MiG-23MLD", "MiG-29A", "MiG-29G", "MiG-29S", "Su-27", "Su-33", "F-14A", "F-15C", "F-5E"}
ObjArray["Interceptors"]    = {"MiG-25PD", "MiG-31"}
ObjArray["Multirole fighters"]  = {"F-4E", "MiG-29K", "Su-30", "F-16C bl.50", "F-16A", "F/A-18A", "F/A-18C", "Mirage 2000-5"}
ObjArray["Bombers"]       = {"Tu-22M3", "Su-17M4", "Su-24M", "MiG-27K", "Su-34", "F-111F", "EA-6B", "BAE Harrier", "F-117A", "Tornado GR3", "Tornado IDS"}
ObjArray["Battleplanes"]    = {"Su-25", "Su-25T", "Su-25TM", "A-10A"}
ObjArray["AWACS"]         = {"A-50", "E-3A", "E-2C"}
ObjArray["Tankers"]       = {"IL-78M", "KC-10A"}
ObjArray["Aux"]         = {"S-3R", "S-3B", "MiG-25RBT", "Su-24MR"}
ObjArray["Transports"]      = {"IL-76MD", "An-26B", "An-30M", "C-130", "C-17A", "Yak-40"}
ObjArray["Strategic bombers"]   = {"Tu-160", "Tu-95MS", "Tu-142", "B-52H", "B-1B"}
ObjArray["UAVs"]        = {"Tu-141", "Tu-143", "RQ-1A Predator"}

ObjArray["Planes"] = {  ObjArray["Fighters"], ObjArray["Interceptors"], ObjArray["Multirole fighters"], ObjArray["Bombers"], 
            ObjArray["Battleplanes"], ObjArray["AWACS"], ObjArray["Tankers"], ObjArray["Aux"], ObjArray["Transports"], 
            ObjArray["Strategic bombers"], ObjArray["UAVs"], ObjArray["Missiles"]}

ObjArray["Attack helicopters"]    = {"Mi-24V", "Ka-50", "Ka-52", "AH-64A", "AH-64D", "Mi-28N", "Sea Lynx", "UH-1H", "AH-1W", "SH-60B", "OH-58D"}
ObjArray["Transport helicopters"]   = {"Mi-8MT", "Mi-26", "Ka-27", "CH-47D", "CH-53E", "UH-60A", "SH-3W"}

ObjArray["Helicopters"] = {ObjArray["Attack helicopters"], ObjArray["Transport helicopters"]}

ObjArray["Air"] = {ObjArray["Planes"], ObjArray["Helicopters"]}

ObjArray["Cars"]    = {"UAZ469", "VAZ"}
ObjArray["Trucks"]    = { "TMZ5", "TZ10", "M818", "MAZelektro", "MAZkaraul", "MAZobsch", "MAZstol", "UralApa", "ATZ60", 
                          "Reis", "Tiagach", "Ural375", "Ural375PBU", "ZIL135", "KAMAZ_Fire", "KAMAZ_Tent", "LAZ_695",
                          "GAZ_66", "GAZ_3307", "GAZ_3308", "MAZ_6303", "ZIL_4334", "ZIL_SKP_11", "URAL_4320T",
                          "eURAL_4320_31", "URAL_ATsP_6", "ZIL_APA_80", "ZIL_131_KUNG", "HEMTT_M978", "Bus", "Trolebus", "Predator_TrojanSpirit", "Predator_GCS"}
ObjArray["Trains"]    = { "Teplowoz", "WCisterna", "WGruz", "WGruzOtkr", "WagonPlatforma", "WagonPass" }
ObjArray["Unarmed vehicles"] = {ObjArray["Cars"], ObjArray["Trucks"], ObjArray["Trains"]}

ObjArray["Infantry"]  = {"Infantry-AK74", "Infantry-RPG", "SoldierAK", "SoldierRPG"}
ObjArray["Tanks"]     = {"T-55", "M-60", "T-72", "Leo1", "Leopard-2", "T-80U", "T-80U", "LeClerc", "M1 Abrams"}
ObjArray["Artillery"]   = {"MSTA", "Akatzia", "SAU_2C9", "2C1", "M109", "Bereg_SAU"}
ObjArray["MRLS"]    = {"Grad", "Smerch", "Scud", "MLRS"}
ObjArray["IFV"]     = {"MCV80", "BMD-1", "BMP-1", "BMP-2", "BMP-3", "M-2_Bradley", "M1126 Stryker ICV", "M1134 Stryker ATGM", "Marder", "M1128 Stryker MGS"}
ObjArray["APC"]     = {"BTR80", "M113", "LAV-25", "LVTP-7", "M-1025", "M-1043", "M1045", "MTLB", "TPZ", "BRDM-2", "BTR-D", "BOMAN"}
ObjArray["Bunkers"] = {"Sandbox", "Bunker"}
ObjArray["Armed vehicles"] = {ObjArray["Tanks"], ObjArray["Artillery"], ObjArray["MRLS"], ObjArray["IFV"], ObjArray["APC"], ObjArray["Bunkers"]}
ObjArray["Armed ground units"] = {ObjArray["Infantry"], ObjArray["Armed vehicles"]}

ObjArray["Static AAA"] = {"ZU-23", "ZU-23 TRENCH", "ZU-23 URAL", "ZU-23 INSURGENT", "ZU-23 TRENCH INSURGENT", "ZU-23 URAL INSURGENT"}
ObjArray["Mobile AAA"] = {"Shilka", "Gepard", "Vulkan", "Tunguska"}
ObjArray["AAA"]     = {ObjArray["Static AAA"], ObjArray["Mobile AAA"]}

ObjArray["EWR"]     = {"1L13", "55ZH6"}

ObjArray["SAM SR"]    = {"64N6E", "45N66M on 40V6MD", "9C18M1", "KUB_1C91", "9C737M", "AN/MPQ-50", "AN/MPQ-53", "Roland search radar"}
ObjArray["SAM TR"]    = {"5N63C", "RPN on 40V6M", "9A310M1", "9A39", "KUB_1C91", "AN/MPQ-46", "AN/MPQ-53", "Roland"}
ObjArray["SAM LL"]    = {"5P85C", "5P85D", "9A82", "9A83", "9A84", "9A85", "9A310M1", "9A39", "2P25", "M901", "AN/MSW-11", "Roland"}
ObjArray["SAM CC"]    = {"54K6", "9C457", "9C470M1", "AN/MSQ-104"}
ObjArray["SAM AUX"]   = {"9T217"}
ObjArray["SAM elements"]= {ObjArray["SAM SR"], ObjArray["SAM TR"], ObjArray["SAM LL"], ObjArray["SAM CC"], ObjArray["SAM AUX"]}
ObjArray["SAM"] = { "9A33BM3", "9A331", "Tunguska", "Strela 9K31", "Strela 9K35", "M-48 Chaparral", "Avenger", "M-6 Linebacker"}
ObjArray["MANPAD"] = {"Igla", "Igla-IglaRUS_1", "IglaGRG_1", "StingerUSA_1", "StingerIZR_1", "Stinger"}
ObjArray["MANPAD AUX"] = {"IglaRUS_2", "IglaGRG_2", "StingerUSA_2", "StingerIZR_2"}
ObjArray["Air Defence vehicles"] = {ObjArray["SAM elements"], ObjArray["SAM"], ObjArray["AAA"], ObjArray["EWR"]}
ObjArray["Air Defence"] = {ObjArray["Air Defence vehicles"], ObjArray["MANPAD"], ObjArray["MANPAD AUX"]}

ObjArray["Ground vehicles"] = {ObjArray["Unarmed vehicles"], ObjArray["Armed vehicles"], ObjArray["Air Defence vehicles"]} --vehicles only
ObjArray["Vehicles"] = {ObjArray["Unarmed vehicles"], ObjArray["Armed ground units"], ObjArray["Air Defence"]} -- (= Ground units) ground units ("vehicles" name for ME compartibility)
ObjArray["Ground Units"] = {ObjArray["Unarmed vehicles"], ObjArray["Armed ground units"], ObjArray["Air Defence"]} -- ground units

ObjArray["Ground Units Non Airdefence"] = {ObjArray["Unarmed vehicles"], ObjArray["Armed ground units"]} -- ground units

ObjArray["Aircraft Carriers"]   = {"CV Admiral Kuznetzov", "CVN Carl Vinson"}
ObjArray["Cruisers"]      		= {"CG Moscow", "CG Grozny", "CG Kara", "CG Ticonderoga"}
ObjArray["Destroyers"]      	= {"DDG Mod_Kashin", "DD Spurance"}
ObjArray["Fregates"]      		= {"FFG O_H_Perry", "FFG Neustrashimy", "FFG Krivak II", "FFG Krivak III", "FFL Grisha II", "FFL Grisha V"}
ObjArray["Corvetes"]			= {"FSG Tarantul III", "FSG Osa II", "FSG Nanuchka III", "FSG Sivuch"}
ObjArray["Aux"] 				= {"LST Ropucha"}
ObjArray["Heavy armed ships"]	= {	ObjArray["Aircraft Carriers"], ObjArray["Cruisers"], ObjArray["Destroyers"],
									ObjArray["Fregates"], ObjArray["Corvetes"], ObjArray["Aux"]}
ObjArray["Light armed ships"] 	= {"Kater", "Torpedo kater", "ACV Tsaplya"}
ObjArray["Armed ships"]   		= {ObjArray["Heavy armed ships"], ObjArray["Light armed ships"]}
ObjArray["Unarmed ships"]		= {"Elnya", "Zvezdny", "Yastrenov", "Barge with sand", "Barge without sand", "SS Kilo", "SS Som"}
ObjArray["Ships"]				= {ObjArray["Armed ships"], ObjArray["Unarmed ships"]}


--[[ObjArray["Sinle-Runway Airdromes"] = {  "Khersones", "Razdolnoe", "Dzhankoy", "Kirovskoe", "Kerch", "Belbek",
                    "Krasnogvardeyskoye", "Octyabrskoe", "Gvardeyskoe", "Krasnodar", "Anapa",
                    "Novorossiysk", "Krymsk", "Maykop", "Gelendzhik", "Sochi", "Sukhumi", "Gudauta",
                    "Batumi", "Tskhakaya", "Kobuleti", "Kutaisi"}
ObjArray["Double-Runway Airdromes"] = {"Saki", "Simpheropol", "Krasnodar_P"}
ObjArray["Airdromes"] = {ObjArray["Sinle-Runway Airdromes"], ObjArray["Double-Runway Airdromes"]}
--]]

ObjArray["All crafts"] = {ObjArray["Air"], ObjArray["Ground vehicles"], ObjArray["Ships"]}

ObjArray["Airfields"] = {"1st runway", "2nd runway"}
ObjArray["Heliports"] = {"Helipad"}

ObjArray["Fortifications"] = {"Static flying vehicles", "Static ground vehicles", "Static SAM", "Static ship"}
ObjArray["Static units"] = {"Static flying vehicles", "Static ground vehicles", "Static SAM", "Static ship"}
ObjArray["Statics"] = {"Static flying vehicles", "Static ground vehicles", "Static SAM", "Static ship", "Buildings"}

--aux combinations

--Aircrafts
ObjArray["Battle airplanes"] = {ObjArray["Fighters"], ObjArray["Interceptors"], ObjArray["Multirole fighters"], ObjArray["Bombers"], ObjArray["Battleplanes"]}

--Airdefence types
ObjArray["AntiAir Armed Vehicles"] = {ObjArray["Tanks"], ObjArray["IFV"], ObjArray["APC"], ObjArray["Bunkers"] }
ObjArray["Short-Range SAM"] = {"Tunguska", "9A331", "9A33BM3", "Strela 9K31", "Strela 9K35", "M-48 Chaparral", "Avenger", "M-6 Linebacker", "Roland"}
ObjArray["Medium-Range SAM"] = {"9A310M1", "9A39", "KUB_1C91", "AN/MPQ-46"}
ObjArray["Long-Range SAM"] = {"5N63C", "RPN on 40V6M", "AN/MPQ-53"}
ObjArray["IR Guided SAM"] = {   "Igla", "Igla-IglaRUS_1", "IglaGRG_1", "StingerUSA_1", "StingerIZR_1", "Stinger", 
                                "Strela 9K31", "Strela 9K35", "M-48 Chaparral", "Avenger", "M-6 Linebacker"}
ObjArray["Radar Guided SAM"] = {"Tunguska", "9A331", "9A33BM3", "Strela 9K31", "Strela 9K35", "M-48 Chaparral", "Avenger", "M-6 Linebacker", "Roland",
                                "9A310M1", "9A39", "KUB_1C91", "AN/MPQ-46",
                                "5N63C", "RPN on 40V6M", "AN/MPQ-53"}
ObjArray["ATGM"] = {"BMD-1", "BMP-1", "BMP-2", "BMP-3", "M-2_Bradley", "M1134 Stryker ATGM", "Marder", "M1045"}

--Soldiers
ObjArray["Soldiers"] = {ObjArray["Infantry"], ObjArray["MANPAD"], ObjArray["MANPAD AUX"]}

--Target protecting airdefence
ObjArray["Air Defence Shooting Platform"] = {ObjArray["SAM"], ObjArray["SAM LL"] , ObjArray["MANPAD"] , ObjArray["AAA"] }
ObjArray["Dangerous AAA"] = {ObjArray["Armed ships"], ObjArray["Mobile AAA"] }
ObjArray["Dangerous SAM"] = {ObjArray["Armed ships"], ObjArray["SAM TR"], ObjArray["SAM"] }
ObjArray["Dangerous AirDefence"] = {ObjArray["Dangerous AAA"], ObjArray["Dangerous SAM"] }

--Armour level
ObjArray["NonArmoredUnits"] = {ObjArray["Air"], ObjArray["Unarmed vehicles"], ObjArray["Fortifications"], ObjArray["Air Defence"], ObjArray["Light armed ships"]}
ObjArray["LightArmoredUnits"] = {ObjArray["Artillery"], ObjArray["IFV"], ObjArray["APC"]}
ObjArray["NonAndLightArmoredUnits"] = {ObjArray["NonArmoredUnits"], ObjArray["LightArmoredUnits"]}
ObjArray["HeavyArmoredUnits"] = {ObjArray["Tanks"], ObjArray["Heavy armed ships"], ObjArray["Unarmed ships"], ObjArray["Buildings"], ObjArray["Bunkers"]}

ObjArray["Rocket Attack Valid AirDefence"] = {ObjArray["AAA"], ObjArray["MANPAD"], ObjArray["MANPAD AUX"]}

--Pods
ObjArray["TargetingPods"] = {   "PAVETACK AN/AVQ-26 FLIR/LDT", "LANTIRN F-14", "LANTIRN F-16", "LANTIRN F-18", "AN/ASQ-173 LDT/CAM", "Litening AN/AAQ-28 FLIR/LDT",
                                "AN/AAS-38 FLIR/LDT", "Merkury LLTV", "Kopyo radar", "Fantasmagoria"}

ObjArray["ECMPods"] = {"Sorbtsia L203 ECM", "Siren SPS-141 ECM", "AN/ALQ-131 ECM", "Sky Shadow ECM"}

--sample combintaions      
ObjArray["Made in USSR"] = {"BTR80","Tu-22M3", "Su-17M4"}
ObjArray["USSR-made Planes"] = {ObjArray["Planes"], OPERATOR_AND, ObjArray["Made in USSR"]}
