MatthewK Posted May 11, 2014 Report Share Posted May 11, 2014 The heli lift only lifts with helis. I installed this one so i could also tow with wheeled vehicles :) Link to comment Share on other sites More sharing options...
tkdmaster Posted May 11, 2014 Report Share Posted May 11, 2014 Still need to get this patched to fix the ground clipping issue as well as the vehicle chain towing exploit. Link to comment Share on other sites More sharing options...
Bambit Posted May 11, 2014 Report Share Posted May 11, 2014 Ye, especially the second issue. Link to comment Share on other sites More sharing options...
DimitriPokki Posted May 11, 2014 Report Share Posted May 11, 2014 my init.sqf for mf tow /** * mf-tow/init.sqf * The main script for initalising towing functionality. * * Created by Matt Fairbrass (matt_d_rat) * Version: 1.0.0 * MIT Licence **/ private ["_cursorTarget", "_typeOfCursorTarget"]; // Public variables MF_Tow_Base_Path = "addons\mf-tow"; // The base path to the MF-Tow Folder. MF_Tow_Distance = 10; // The vehicles which can tow MF_Tow_Vehicles = [ "Tractor", "car_sedan", "policecar", "HMMWV_M2", "HMMWV_TOW", "HMMWV_MK19", "HMMWV", "UAZ_MG_CDF", "UAZ_AGS30_CDF", "UAZ_CDF", "Ural_CDF", "UralOpen_CDF", "UralRepair_CDF", "UralReammo_CDF", "UralRefuel_CDF", "Ural_ZU23_CDF", "UAZ_RU", "UAZ_AGS30_RU", "UAZ_MG_INS", "UAZ_MG_INS", "UAZ_AGS30_INS", "UAZ_INS", "UAZ_SPG9_INS", "Ural_INS", "UralOpen_INS", "UralRepair_INS", "UralReammo_INS", "UralRefuel_INS", "Ural_ZU23_INS", "URAL_ZU23_Gue", "UralCivil", "UralCivil2", "Skoda", "SkodaBlue", "SkodaRed", "SkodaGreen", "datsun1_civil_1_open", "datsun1_civil_2_covered", "datsun1_civil_3_open", "tractorOld", "car_hatchback", "hilux1_civil_1_open", "hilux1_civil_2_covered", "hilux1_civil_3_open", "Pickup_PK_GUE", "Pickup_PK_INS", "Offroad_DSHKM_Gue", "Offroad_SPG9_Gue", "Offroad_DSHKM_INS", "GLT_M300_LT", "GLT_M300_ST", "GAZ_Vodnik_HMG", "GAZ_Vodnik", "GAZ_Vodnik_MedEvac", "HMMWV_Armored", "HMMWV_Ambulance", "HMMWV_Avenger", "Ikarus", "Kamaz", "KamazOpen", "KamazRepair", "KamazReammo", "KamazRefuel", "Lada1", "Lada2", "LadaLM", "VWGolf", "UAZ_MG_TK_EP1", "UAZ_AGS30_TK_EP1", "UAZ_Unarmed_TK_EP1", "UAZ_Unarmed_UN_EP1", "UAZ_Unarmed_TK_CIV_EP1", "Ural_UN_EP1", "Ural_TK_CIV_EP1", "UralRepair_TK_EP1", "UralReammo_TK_EP1", "UralRefuel_TK_EP1", "Ural_ZU23_TK_EP1", "Ural_ZU23_TK_GUE_EP1", "UralSupply_TK_EP1", "UralSalvage_TK_EP1", "Pickup_PK_TK_GUE_EP1", "Offroad_DSHKM_TK_GUE_EP1", "Offroad_SPG9_TK_GUE_EP1", "HMMWV_DES_EP1", "HMMWV_MK19_DES_EP1", "HMMWV_Ambulance_DES_EP1", "HMMWV_Ambulance_CZ_DES_EP1", "MTVR_DES_EP1", "MtvrReammo_DES_EP1", "MtvrRefuel_DES_EP1", "MtvrRepair_DES_EP1", "MtvrSupply_DES_EP1", "MtvrSalvage_DES_EP1", "Lada1_TK_CIV_EP1", "Lada2_TK_CIV_EP1", "Ikarus_TK_CIV_EP1", "hilux1_civil_3_open_EP1", "ATV_US_EP1", "ATV_CZ_EP1", "BTR40_MG_TK_GUE_EP1", "BTR40_TK_GUE_EP1", "BTR40_MG_TK_INS_EP1", "BTR40_TK_INS_EP1", "BTR60_TK_EP1", "HMMWV_M1035_DES_EP1", "HMMWV_TOW_DES_EP1", "HMMWV_TOW_DES_EP1", "HMMWV_Terminal_EP1", "LandRover_CZ_EP1", "LandRover_TK_CIV_EP1", "S1203_TK_CIV_EP1", "S1203_ambulance_EP1", "SUV_TK_CIV_EP1", "SUV_TK_EP1", "SUV_UN_EP1", "Volha_1_TK_CIV_EP1", "Volha_2_TK_CIV_EP1", "VolhaLimo_TK_CIV_EP1", "SUV_PMC", "ArmoredSUV_PMC", "HMMWV_DZ", "UAZ_MG_TK_EP1_DZ", "UAZ_MG_TK_EP1_DZE", "GAZ_Vodnik_DZ", "GAZ_Vodnik_DZE", "ArmoredSUV_PMC_DZ", "ArmoredSUV_PMC_DZE", "Pickup_PK_TK_GUE_EP1_DZ", "Pickup_PK_TK_GUE_EP1_DZE", "Pickup_PK_GUE_DZ", "Pickup_PK_GUE_DZE", "Pickup_PK_INS_DZ", "Pickup_PK_INS_DZE", "Offroad_DSHKM_Gue_DZ", "Offroad_DSHKM_Gue_DZE", "Offroad_DSHKM_Gue_DZE1", "Offroad_DSHKM_Gue_DZE2", "Offroad_DSHKM_Gue_DZE3", "Offroad_DSHKM_Gue_DZE4", "V3S_TK_EP1_DZE", "V3S_RA_TK_GUE_EP1", "V3S_Refuel_TK_GUE_EP1", "V3S_Refuel_TK_GUE_EP1_DZ", "UralCivil_DZE", "UralCivil2_DZE", "UralRefuel_TK_EP1_DZ", "KamazOpen_DZE", "KamazRefuel_DZ", "MtvrRefuel_DES_EP1_DZ", "MtvrRefuel_DZ", "VolhaLimo_TK_CIV_EP1_DZE1", "Volha_1_TK_CIV_EP1_DZE1", "Volha_2_TK_CIV_EP1_DZE1", "VolhaLimo_TK_CIV_EP1_DZE2", "Volha_1_TK_CIV_EP1_DZE2", "Volha_2_TK_CIV_EP1_DZE2", "VolhaLimo_TK_CIV_EP1_DZE3", "Volha_1_TK_CIV_EP1_DZE3", "Volha_2_TK_CIV_EP1_DZE3", "VolhaLimo_TK_CIV_EP1_DZE4", "Volha_1_TK_CIV_EP1_DZE4", "Volha_2_TK_CIV_EP1_DZE4", "VWGolf_DZE1", "VWGolf_DZE2", "VWGolf_DZE3", "VWGolf_DZE4", "Skoda_DZE1", "SkodaBlue_DZE1", "SkodaRed_DZE1", "SkodaGreen_DZE1", "Skoda_DZE2", "SkodaBlue_DZE2", "SkodaRed_DZE2", "SkodaGreen_DZE2", "Skoda_DZE3", "SkodaBlue_DZE3", "SkodaRed_DZE3", "SkodaGreen_DZE3", "Skoda_DZE4", "SkodaBlue_DZE4", "SkodaRed_DZE4", "SkodaGreen_DZE4", "car_hatchback_DZE1", "car_hatchback_DZE2", "car_hatchback_DZE3", "car_hatchback_DZE4", "car_sedan_DZE1", "car_sedan_DZE2", "car_sedan_DZE3", "car_sedan_DZE4", "datsun1_civil_1_open_DZE1", "datsun1_civil_2_covered_DZE1", "datsun1_civil_3_open_DZE1", "datsun1_civil_1_open_DZE2", "datsun1_civil_2_covered_DZE2", "datsun1_civil_3_open_DZE2", "datsun1_civil_1_open_DZE3", "datsun1_civil_2_covered_DZE3", "datsun1_civil_3_open_DZE3", "datsun1_civil_1_open_DZE4", "datsun1_civil_2_covered_DZE4", "datsun1_civil_3_open_DZE4", "Lada1_DZE1", "Lada2_DZE1", "LadaLM_DZE1", "Lada1_TK_CIV_EP1_DZE1", "Lada2_TK_CIV_EP1_DZE1", "Lada1_DZE2", "Lada2_DZE2", "LadaLM_DZE2", "Lada1_TK_CIV_EP1_DZE2", "Lada2_TK_CIV_EP1_DZE2", "Lada1_DZE3", "Lada2_DZE3", "LadaLM_DZE3", "Lada1_TK_CIV_EP1_DZE3", "Lada2_TK_CIV_EP1_DZE3", "Lada1_DZE4", "Lada2_DZE4", "LadaLM_DZE4", "Lada1_TK_CIV_EP1_DZE4", "Lada2_TK_CIV_EP1_DZE4", "hilux1_civil_1_open_DZE1", "hilux1_civil_2_covered_DZE1", "hilux1_civil_3_open_DZE1", "hilux1_civil_1_open_DZE2", "hilux1_civil_2_covered_DZE2", "hilux1_civil_3_open_DZE2", "hilux1_civil_1_open_DZE3", "hilux1_civil_2_covered_DZE3", "hilux1_civil_3_open_DZE3", "hilux1_civil_1_open_DZE4", "hilux1_civil_2_covered_DZE4", "hilux1_civil_3_open_DZE4", "UAZ_CDF_DZE1", "UAZ_INS_DZE1", "UAZ_RU_DZE1", "UAZ_Unarmed_TK_EP1_DZE1", "UAZ_Unarmed_UN_EP1_DZE1", "UAZ_Unarmed_TK_CIV_EP1_DZE1", "UAZ_CDF_DZE2", "UAZ_INS_DZE2", "UAZ_RU_DZE2", "UAZ_Unarmed_TK_EP1_DZE2", "UAZ_Unarmed_UN_EP1_DZE2", "UAZ_Unarmed_TK_CIV_EP1_DZE2", "UAZ_CDF_DZE3", "UAZ_INS_DZE3", "UAZ_RU_DZE3", "UAZ_Unarmed_TK_EP1_DZE3", "UAZ_Unarmed_UN_EP1_DZE3", "UAZ_Unarmed_TK_CIV_EP1_DZE3", "UAZ_CDF_DZE4", "UAZ_INS_DZE4", "UAZ_RU_DZE4", "UAZ_Unarmed_TK_EP1_DZE4", "UAZ_Unarmed_UN_EP1_DZE4", "UAZ_Unarmed_TK_CIV_EP1_DZE4", "SUV_Camo", "SUV_Blue", "SUV_Green", "SUV_Yellow", "SUV_Red", "SUV_White", "SUV_Pink", "SUV_Charcoal", "SUV_Orange", "SUV_Silver", "SUV_TK_CIV_EP1_DZE1", "SUV_Camo_DZE1", "SUV_Blue_DZE1", "SUV_Green_DZE1", "SUV_Yellow_DZE1", "SUV_Red_DZE1", "SUV_White_DZE1", "SUV_Pink_DZE1", "SUV_Charcoal_DZE1", "SUV_Orange_DZE1", "SUV_Silver_DZE1", "SUV_TK_CIV_EP1_DZE2", "SUV_Camo_DZE2", "SUV_Blue_DZE2", "SUV_Green_DZE2", "SUV_Yellow_DZE2", "SUV_Red_DZE2", "SUV_White_DZE2", "SUV_Pink_DZE2", "SUV_Charcoal_DZE2", "SUV_Orange_DZE2", "SUV_Silver_DZE2", "SUV_TK_CIV_EP1_DZE3", "SUV_Camo_DZE3", "SUV_Blue_DZE3", "SUV_Green_DZE3", "SUV_Yellow_DZE3", "SUV_Red_DZE3", "SUV_White_DZE3", "SUV_Pink_DZE3", "SUV_Charcoal_DZE3", "SUV_Orange_DZE3", "SUV_Silver_DZE3", "SUV_TK_CIV_EP1_DZE4", "SUV_Camo_DZE4", "SUV_Blue_DZE4", "SUV_Green_DZE4", "SUV_Yellow_DZE4", "SUV_Red_DZE4", "SUV_White_DZE4", "SUV_Pink_DZE4", "SUV_Charcoal_DZE4", "SUV_Orange_DZE4", "SUV_Silver_DZE4", "WarfareSalvageTruck_USMC", "WarfareSupplyTruck_USMC", "WarfareReammoTruck_USMC", "WarfareSalvageTruck_RU", "WarfareSupplyTruck_RU", "WarfareReammoTruck_RU", "WarfareSalvageTruck_CDF", "WarfareSupplyTruck_CDF", "WarfareReammoTruck_CDF", "WarfareSalvageTruck_INS", "WarfareSupplyTruck_INS", "WarfareReammoTruck_INS", "WarfareSalvageTruck_Gue", "WarfareSupplyTruck_Gue", "WarfareReammoTruck_Gue", "WarfareRepairTruck_Gue", "V3S_TK_EP1", "V3S_Open_TK_EP1", "V3S_Open_TK_CIV_EP1", "V3S_TK_GUE_EP1", "V3S_Repair_TK_GUE_EP1", "V3S_Reammo_TK_GUE_EP1", "V3S_Supply_TK_GUE_EP1", "V3S_Salvage_TK_GUE_EP1", "SUV_PMC_BAF", "BAF_Offroad_D", "BAF_ATV_W", "BAF_Offroad_W" ]; // Functions /** * Returns an array of towable objects which can be pulled by the tow truck. * Configure this as required to set which vehicles can pull which types of other vehicles. **/ MF_Tow_Towable_Array = { private ["_array","_towTruck"]; _towTruck = _this select 0; _array = []; switch (typeOf _towTruck) do { case "Tractor": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "car_sedan": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "policecar": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "HMMWV_M2": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "HMMWV_TOW": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "HMMWV_MK19": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "HMMWV": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UAZ_MG_CDF": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UAZ_AGS30_CDF": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UAZ_CDF": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Ural_CDF": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UralOpen_CDF": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UralRepair_CDF": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UralReammo_CDF": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UralRefuel_CDF": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Ural_ZU23_CDF": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UAZ_RU": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UAZ_AGS30_RU": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UAZ_MG_INS": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UAZ_MG_INS": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UAZ_AGS30_INS": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UAZ_INS": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UAZ_SPG9_INS": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Ural_INS": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UralOpen_INS": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UralRepair_INS": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UralReammo_INS": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UralRefuel_INS": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Ural_ZU23_INS": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "URAL_ZU23_Gue": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UralCivil": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UralCivil2": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Skoda": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SkodaBlue": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SkodaRed": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SkodaGreen": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "datsun1_civil_1_open": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "datsun1_civil_2_covered": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "datsun1_civil_3_open": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "tractorOld": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "car_hatchback": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "hilux1_civil_1_open": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "hilux1_civil_2_covered": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "hilux1_civil_3_open": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Pickup_PK_GUE": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Pickup_PK_INS": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Offroad_DSHKM_Gue": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Offroad_SPG9_Gue": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Offroad_DSHKM_INS": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "GLT_M300_LT": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "GLT_M300_ST": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "GAZ_Vodnik_HMG": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "GAZ_Vodnik": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "GAZ_Vodnik_MedEvac": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "HMMWV_Armored": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "HMMWV_Ambulance": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "HMMWV_Avenger": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Ikarus": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Kamaz": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "KamazOpen": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "KamazRepair": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "KamazReammo": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "KamazRefuel": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Lada1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Lada2": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "LadaLM": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "VWGolf": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UAZ_MG_TK_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UAZ_AGS30_TK_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UAZ_Unarmed_TK_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UAZ_Unarmed_UN_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UAZ_Unarmed_TK_CIV_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Ural_UN_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Ural_TK_CIV_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UralRepair_TK_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UralReammo_TK_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UralRefuel_TK_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Ural_ZU23_TK_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Ural_ZU23_TK_GUE_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UralSupply_TK_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UralSalvage_TK_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Pickup_PK_TK_GUE_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Offroad_DSHKM_TK_GUE_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Offroad_SPG9_TK_GUE_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "HMMWV_DES_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "HMMWV_MK19_DES_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "HMMWV_Ambulance_DES_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "HMMWV_Ambulance_CZ_DES_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "MTVR_DES_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "MtvrReammo_DES_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "MtvrRefuel_DES_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "MtvrRepair_DES_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "MtvrSupply_DES_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "MtvrSalvage_DES_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Lada1_TK_CIV_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Lada2_TK_CIV_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Ikarus_TK_CIV_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "hilux1_civil_3_open_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "ATV_US_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "ATV_CZ_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "BTR40_MG_TK_GUE_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "BTR40_TK_GUE_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "BTR40_MG_TK_INS_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "BTR40_TK_INS_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "BTR60_TK_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "HMMWV_M1035_DES_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "HMMWV_TOW_DES_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "HMMWV_TOW_DES_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "HMMWV_Terminal_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "LandRover_CZ_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "LandRover_TK_CIV_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "S1203_TK_CIV_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "S1203_ambulance_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_TK_CIV_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_TK_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_UN_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Volha_1_TK_CIV_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Volha_2_TK_CIV_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "VolhaLimo_TK_CIV_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_PMC": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "ArmoredSUV_PMC": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "HMMWV_DZ": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UAZ_MG_TK_EP1_DZ": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UAZ_MG_TK_EP1_DZE": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "GAZ_Vodnik_DZ": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "GAZ_Vodnik_DZE": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "ArmoredSUV_PMC_DZ": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "ArmoredSUV_PMC_DZE": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Pickup_PK_TK_GUE_EP1_DZ": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Pickup_PK_TK_GUE_EP1_DZE": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Pickup_PK_GUE_DZ": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Pickup_PK_GUE_DZE": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Pickup_PK_INS_DZ": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Pickup_PK_INS_DZE": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Offroad_DSHKM_Gue_DZ": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Offroad_DSHKM_Gue_DZE": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Offroad_DSHKM_Gue_DZE1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Offroad_DSHKM_Gue_DZE2": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Offroad_DSHKM_Gue_DZE3": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Offroad_DSHKM_Gue_DZE4": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "V3S_TK_EP1_DZE": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "V3S_RA_TK_GUE_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "V3S_Refuel_TK_GUE_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "V3S_Refuel_TK_GUE_EP1_DZ": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UralCivil_DZE": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UralCivil2_DZE": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UralRefuel_TK_EP1_DZ": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "KamazOpen_DZE": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "KamazRefuel_DZ": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "MtvrRefuel_DES_EP1_DZ": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "MtvrRefuel_DZ": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "VolhaLimo_TK_CIV_EP1_DZE1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Volha_1_TK_CIV_EP1_DZE1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Volha_2_TK_CIV_EP1_DZE1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "VolhaLimo_TK_CIV_EP1_DZE2": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Volha_1_TK_CIV_EP1_DZE2": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Volha_2_TK_CIV_EP1_DZE2": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "VolhaLimo_TK_CIV_EP1_DZE3": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Volha_1_TK_CIV_EP1_DZE3": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Volha_2_TK_CIV_EP1_DZE3": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "VolhaLimo_TK_CIV_EP1_DZE4": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Volha_1_TK_CIV_EP1_DZE4": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Volha_2_TK_CIV_EP1_DZE4": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "VWGolf_DZE1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "VWGolf_DZE2": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "VWGolf_DZE3": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "VWGolf_DZE4": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Skoda_DZE1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SkodaBlue_DZE1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SkodaRed_DZE1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SkodaGreen_DZE1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Skoda_DZE2": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SkodaBlue_DZE2": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SkodaRed_DZE2": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SkodaGreen_DZE2": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Skoda_DZE3": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SkodaBlue_DZE3": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SkodaRed_DZE3": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SkodaGreen_DZE3": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Skoda_DZE4": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SkodaBlue_DZE4": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SkodaRed_DZE4": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SkodaGreen_DZE4": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "car_hatchback_DZE1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "car_hatchback_DZE2": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "car_hatchback_DZE3": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "car_hatchback_DZE4": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "car_sedan_DZE1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "car_sedan_DZE2": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "car_sedan_DZE3": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "car_sedan_DZE4": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "datsun1_civil_1_open_DZE1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "datsun1_civil_2_covered_DZE1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "datsun1_civil_3_open_DZE1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "datsun1_civil_1_open_DZE2": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "datsun1_civil_2_covered_DZE2": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "datsun1_civil_3_open_DZE2": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "datsun1_civil_1_open_DZE3": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "datsun1_civil_2_covered_DZE3": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "datsun1_civil_3_open_DZE3": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "datsun1_civil_1_open_DZE4": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "datsun1_civil_2_covered_DZE4": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "datsun1_civil_3_open_DZE4": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Lada1_DZE1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Lada2_DZE1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "LadaLM_DZE1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Lada1_TK_CIV_EP1_DZE1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Lada2_TK_CIV_EP1_DZE1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Lada1_DZE2": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Lada2_DZE2": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "LadaLM_DZE2": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Lada1_TK_CIV_EP1_DZE2": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Lada2_TK_CIV_EP1_DZE2": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Lada1_DZE3": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Lada2_DZE3": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "LadaLM_DZE3": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Lada1_TK_CIV_EP1_DZE3": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Lada2_TK_CIV_EP1_DZE3": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Lada1_DZE4": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Lada2_DZE4": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "LadaLM_DZE4": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Lada1_TK_CIV_EP1_DZE4": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "Lada2_TK_CIV_EP1_DZE4": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "hilux1_civil_1_open_DZE1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "hilux1_civil_2_covered_DZE1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "hilux1_civil_3_open_DZE1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "hilux1_civil_1_open_DZE2": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "hilux1_civil_2_covered_DZE2": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "hilux1_civil_3_open_DZE2": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "hilux1_civil_1_open_DZE3": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "hilux1_civil_2_covered_DZE3": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "hilux1_civil_3_open_DZE3": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "hilux1_civil_1_open_DZE4": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "hilux1_civil_2_covered_DZE4": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "hilux1_civil_3_open_DZE4": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UAZ_CDF_DZE1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UAZ_INS_DZE1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UAZ_RU_DZE1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UAZ_Unarmed_TK_EP1_DZE1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UAZ_Unarmed_UN_EP1_DZE1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UAZ_Unarmed_TK_CIV_EP1_DZE1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UAZ_CDF_DZE2": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UAZ_INS_DZE2": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UAZ_RU_DZE2": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UAZ_Unarmed_TK_EP1_DZE2": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UAZ_Unarmed_UN_EP1_DZE2": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UAZ_Unarmed_TK_CIV_EP1_DZE2": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UAZ_CDF_DZE3": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UAZ_INS_DZE3": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UAZ_RU_DZE3": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UAZ_Unarmed_TK_EP1_DZE3": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UAZ_Unarmed_UN_EP1_DZE3": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UAZ_Unarmed_TK_CIV_EP1_DZE3": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UAZ_CDF_DZE4": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UAZ_INS_DZE4": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UAZ_RU_DZE4": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UAZ_Unarmed_TK_EP1_DZE4": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UAZ_Unarmed_UN_EP1_DZE4": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "UAZ_Unarmed_TK_CIV_EP1_DZE4": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_Camo": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_Blue": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_Green": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_Yellow": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_Red": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_White": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_Pink": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_Charcoal": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_Orange": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_Silver": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_TK_CIV_EP1_DZE1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_Camo_DZE1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_Blue_DZE1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_Green_DZE1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_Yellow_DZE1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_Red_DZE1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_White_DZE1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_Pink_DZE1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_Charcoal_DZE1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_Orange_DZE1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_Silver_DZE1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_TK_CIV_EP1_DZE2": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_Camo_DZE2": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_Blue_DZE2": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_Green_DZE2": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_Yellow_DZE2": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_Red_DZE2": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_White_DZE2": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_Pink_DZE2": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_Charcoal_DZE2": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_Orange_DZE2": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_Silver_DZE2": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_TK_CIV_EP1_DZE3": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_Camo_DZE3": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_Blue_DZE3": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_Green_DZE3": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_Yellow_DZE3": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_Red_DZE3": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_White_DZE3": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_Pink_DZE3": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_Charcoal_DZE3": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_Orange_DZE3": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_Silver_DZE3": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_TK_CIV_EP1_DZE4": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_Camo_DZE4": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_Blue_DZE4": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_Green_DZE4": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_Yellow_DZE4": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_Red_DZE4": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_White_DZE4": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_Pink_DZE4": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_Charcoal_DZE4": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_Orange_DZE4": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_Silver_DZE4": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "WarfareSalvageTruck_USMC": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "WarfareSupplyTruck_USMC": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "WarfareReammoTruck_USMC": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "WarfareSalvageTruck_RU": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "WarfareSupplyTruck_RU": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "WarfareReammoTruck_RU": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "WarfareSalvageTruck_CDF": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "WarfareSupplyTruck_CDF": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "WarfareReammoTruck_CDF": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "WarfareSalvageTruck_INS": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "WarfareSupplyTruck_INS": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "WarfareReammoTruck_INS": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "WarfareSalvageTruck_Gue": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "WarfareSupplyTruck_Gue": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "WarfareReammoTruck_Gue": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "WarfareRepairTruck_Gue": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "V3S_TK_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "V3S_Open_TK_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "V3S_Open_TK_CIV_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "V3S_TK_GUE_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "V3S_Repair_TK_GUE_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "V3S_Reammo_TK_GUE_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "V3S_Supply_TK_GUE_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "V3S_Salvage_TK_GUE_EP1": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "SUV_PMC_BAF": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "BAF_Offroad_D": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "BAF_ATV_W": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; case "BAF_Offroad_W": {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; }; _array }; /** * Animate the player in a towing action, whilst attaching them to the tow vehicle to ensure safety. **/ MF_Tow_Animate_Player_Tow_Action = { private ["_towTruck"]; _towTruck = _this select 0; [player,20,true,(getPosATL player)] spawn player_alertZombies; // Alert nearby zombies [1,1] call dayz_HungerThirst; // Use some hunger and thirst to perform the action // Attach the player to the tow truck temporarily for safety so that they aren't accidentally hit by the vehicle when it gets attached player attachTo [_towTruck, [ (boundingBox _towTruck select 1 select 0), (boundingBox _towTruck select 0 select 1) + 1, (boundingBox _towTruck select 0 select 2) - (boundingBox player select 0 select 2) ] ]; player setDir 270; player setPos (getPos player); player playActionNow "Medic"; // Force the animation }; MF_Tow_Get_Vehicle_Name = { private ["_vehicle", "_configVeh", "_vehicleName"]; _vehicle = _this select 0; _configVeh = configFile >> "cfgVehicles" >> TypeOf(_vehicle); _vehicleName = getText(_configVeh >> "displayName"); _vehicleName }; // Initialise script _cursorTarget = cursorTarget; _typeOfCursorTarget = typeOf _cursorTarget; // Add the action to the players scroll wheel menu if the cursor target is a vehicle which can tow. if(_typeOfCursorTarget in MF_Tow_Vehicles) then { if (s_player_towing < 0) then { if(!(_cursorTarget getVariable ["MFTowInTow", false])) then { s_player_towing = player addAction ["Attach Tow", format["%1\tow_AttachTow.sqf", MF_Tow_Base_Path], _cursorTarget, 0, false, true, "",""]; } else { s_player_towing = player addAction ["Detach Tow", format["%1\tow_DetachTow.sqf", MF_Tow_Base_Path], _cursorTarget, 0, false, true, "",""]; }; }; } else { player removeAction s_player_towing; s_player_towing = -1; }; F507DMT 1 Link to comment Share on other sites More sharing options...
matt_d_rat Posted May 11, 2014 Author Report Share Posted May 11, 2014 Hey all, just release v1.1.0 in response to some of the issues reported. Change log is as follows: v1.1.0 Non-breaking changes to the check for whether the cursor target is a towable vehicle. Deprecated MF_Tow_Towable variable as it is no longer used as a check condition. Vehicles which can tow and be towed are now maintained in MF_Tow_Towable_Array function, removing the need to maintain two seperate arrays. Updated the install guide to reflect the changes above. Fixed the z-axis offset issues with the UAZ as the tow vehicle and as the towable vehicle which caused the UAZ to either be in the air or under ground during towing. Fixed player z-axis offset to the UAZ when in animation state. This was again due to the bounding box data on the UAZ being completely incorrect. So you no longer need MF_Tow_Vehicles variable, just the MF_Tow_Towable_Array. I updated the code in such a way as to not break the fantastic massive case lists people have been building :-). So you can copy paste your changes in the switch statement without anything breaking :-). Link to comment Share on other sites More sharing options...
matt_d_rat Posted May 11, 2014 Author Report Share Posted May 11, 2014 Still need to get this patched to fix the ground clipping issue as well as the vehicle chain towing exploit. Hoping the latest patch resolves most of the ground clipping issues. I am currently working on people accidentally dying. I've figured out that this happens when you attempt to tow from the "front", and as a result the target vehicle moves through the player, dealing damage. As for the towing chain, do people feel this is an exploit or put another way, an undesirable feature? Happy to put in a fix, or a config option to disable this functionality. That will come out in the next release. Link to comment Share on other sites More sharing options...
matt_d_rat Posted May 11, 2014 Author Report Share Posted May 11, 2014 Just curious . But why does the heli lift script only require an addition to the init.sqf (without the locked vehicle fix), but yours requires additions to the selfunctions file? Thanks for the hard work btw :) Much like Krixes self-blood bag script, MF-Tow hooks into the fn_selfactions.sqf so that it can appear in the contextual scroll wheel menu. As @Halvhjearne alluded to, there possibly may be another approach I can take (which i'll look into) to make the setup easier. This is my first community script so I am currently still also learning, will continue to improve as time goes on. hm it did not work for me, made a folder for it ... addons\mf-tow\.. changed the init.sqf file with the changes you see above. placed the line call compile preprocessFileLineNumbers "addons\mf-tow\init.sqf"; just after the commented out towing script block, but ingame no options. weird. is there no more elegant way to call the script? i will try it out using a execVM command. You have a syntax error in the MF_Tow_Vehicles, missing a semi-colon after the "M1126_ICV_M2_EP1" entry in that array. Note: in v1.1.0 of the script this array is now deprecated. You only need to use the MF_Tow_Towable_Array function to maintain a list of vehicles which can tow and be towed now. :-) there is most likely a loop added in other tow scripts, that checks every 5 sec or so if it needs to add/remove addaction ... tbh i feel this is a bit wasting time as there are already plenty of tow/lift scripts availible ... it donsnt have any features that you cant get with other tow/lift scripts either, however it will allow players to tow multiple vehicles at a time and requires a massive setup to include all the mods vehicles. @matt_d_rat even tho i think its a waste of time, i feel i have to comment a bit and i think you need to lookup isKindOf as you can use a wider spread base classname aswell as a specific one, instead of comparing exact and case sensitive names with typeOf. it will perhaps require you to add a loop or two to apply but i think it will be better not to mention easier to setup after. also you can check if an object is locked, you dont nessecarily need to set a variable to determin that, just check like this: if(locked _myobject)then{ Thanks for your suggestions. Will take your feedback on board. Link to comment Share on other sites More sharing options...
MatthewK Posted May 11, 2014 Report Share Posted May 11, 2014 Much like Krixes self-blood bag script, MF-Tow hooks into the fn_selfactions.sqf so that it can appear in the contextual scroll wheel menu. As @Halvhjearne alluded to, there possibly may be another approach I can take (which i'll look into) to make the setup easier. This is my first community script so I am currently still also learning, will continue to improve as time goes on. Same here, still learning the ropes so to speak. So it's always interesting to hear why certain developers choose to do things one way and not the other, i've learnt a lot from scripters like yourself, so thanks :) Link to comment Share on other sites More sharing options...
tkdmaster Posted May 11, 2014 Report Share Posted May 11, 2014 Hoping the latest patch resolves most of the ground clipping issues. I am currently working on people accidentally dying. I've figured out that this happens when you attempt to tow from the "front", and as a result the target vehicle moves through the player, dealing damage. As for the towing chain, do people feel this is an exploit or put another way, an undesirable feature? Happy to put in a fix, or a config option to disable this functionality. That will come out in the next release. Good to hear that work is still being done on this :) And yes, i'd definitely consider this an exploit. I mean, the system itself is based around a pseudo-weight system, just like BTC is, so I'd think a hummer thats towing 7+ cars, and is being carried by a helicopter is a bit.....yeah, a very undesired feature. Also, another bug thing. People are able to get in/stay in the vehicles as they're being towed. Not sure if that's intended, but its probly not a good thing. Link to comment Share on other sites More sharing options...
ukko Posted May 11, 2014 Report Share Posted May 11, 2014 Hi Matt Great work so far on this script - its certainly proving to be a winner. I would also like to say that chaining vehicles can be so exploited and I would think personally a fix or like you say make it a configurable part of your scripts, but I believe it needs addressing as soon as poss. I've deployed it on my server and people thought it was good but it didn't take long before I started seeing SUV's pulling a train of others vehicles, heh.. Great to see you continuing support for your 1st community script - keep it going ! .. Cheers ukko.... Link to comment Share on other sites More sharing options...
matt_d_rat Posted May 11, 2014 Author Report Share Posted May 11, 2014 Hi Matt Great work so far on this script - its certainly proving to be a winner. I would also like to say that chaining vehicles can be so exploited and I would think personally a fix or like you say make it a configurable part of your scripts, but I believe it needs addressing as soon as poss. I've deployed it on my server and people thought it was good but it didn't take long before I started seeing SUV's pulling a train of others vehicles, heh.. Great to see you continuing support for your 1st community script - keep it going ! .. Cheers ukko.... Thanks. Will look into adding a feature to disable/enable this functionality. I will make the "chaining" of tow vehicles disabled by default. Not sure when I will have time to look into it, I tend to only have the weekends as I work as a software engineer during the weekdays. If I get any free time before the weekend I will take a look into it. Link to comment Share on other sites More sharing options...
matt_d_rat Posted May 11, 2014 Author Report Share Posted May 11, 2014 Ok so I couldn't sleep and decided to treat you guys :) . I have patched the "Multi-tow" exploit and have done a new release (v1.1.1). This functionality can be turned back on should you so wish to, full details below: v1.1.1 Fixed exploit which allowed players to tow vehicles which were already being towed. Fixed exploit which allowed players to tow vehicles which were already towing another vehicle. This functionality can be turned back on via the MF_Tow_Multi_Towing config param being set to true (default value is false). Be warned, turning this on produces "interesting" results and probably only serves as a means for trolling. Link to comment Share on other sites More sharing options...
ukko Posted May 12, 2014 Report Share Posted May 12, 2014 Hi Matt A true trooper ! ... Sorry for keeping ya awake :D cheers ukko matt_d_rat 1 Link to comment Share on other sites More sharing options...
VentZer0 Posted May 12, 2014 Report Share Posted May 12, 2014 I like the script very much, but pleeeeeaaase make it so that you can use classes instead of types for the vehicles. right now you need the specific classname of a vehicle like the SUV, all different SUV variants need their own respective case and if you're like you only want certain types of vehicles towing certaintypes of vehicles. so no {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; for all cases (skoda towing a LAV25 .. lawl -.-). if you change up your code a little bit it should work with "iskindOf" instead of "typeof", using classes instead of classnames would make the configuration so much easier. Link to comment Share on other sites More sharing options...
matt_d_rat Posted May 12, 2014 Author Report Share Posted May 12, 2014 I like the script very much, but pleeeeeaaase make it so that you can use classes instead of types for the vehicles. right now you need the specific classname of a vehicle like the SUV, all different SUV variants need their own respective case and if you're like you only want certain types of vehicles towing certaintypes of vehicles. so no {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];}; for all cases (skoda towing a LAV25 .. lawl -.-). if you change up your code a little bit it should work with "iskindOf" instead of "typeof", using classes instead of classnames would make the configuration so much easier. Will look into it. Does isKindOf support checking on a specific classname such as "SUV_Orange_DZE2" as well as base class names like "Car"? If so then yes this will be an easy change to make. :-) Link to comment Share on other sites More sharing options...
matt_d_rat Posted May 12, 2014 Author Report Share Posted May 12, 2014 Hi Matt A true trooper ! ... Sorry for keeping ya awake :D cheers ukko No problem, too much caffeine during the day was to blame :D. Thank you to everyone who has helped with the testing and feedback. Link to comment Share on other sites More sharing options...
VentZer0 Posted May 12, 2014 Report Share Posted May 12, 2014 iskindof uses boolean, it checks if an object is part of a class for instance _cursortarget iskindof "air" : returns true if _cursortarget is an airvehicle ... all of them _cursortarget iskindof "mv22" : returns true if _cursortarget is a MV22 or MV22_DZ because MV22 is the Superclass for MV22_DZ _cursortarget iskindof "mv22_dz" : returns ONLY if _cursortaget is the MV22_DZ http://browser.six-projects.net/cfg_vehicleshttps://community.bistudio.com/wiki/ArmA_2:_CfgVehicles might help with determining the classes of certain vehicles ^^ by the way :http://pastebin.com/L2n1mi38 all vehicles, except Tanks are in this file and they are able to tow vehicles which are reasonable/realistic instead of a one size fits all approach. 123kb have fun MatthewK and Bambit 2 Link to comment Share on other sites More sharing options...
Bambit Posted May 12, 2014 Report Share Posted May 12, 2014 ^This We didn't implement this script on our server yet, because a "car" can tow a "car" :D And 'wheeled APC" is kind of too much for an old skoda :) Link to comment Share on other sites More sharing options...
VentZer0 Posted May 12, 2014 Report Share Posted May 12, 2014 ^This We didn't implement this script on our server yet, because a "car" can tow a "car" :D And 'wheeled APC" is kind of too much for an old skoda :) exactly the reason I did all that there, have fun using my arrays ;) MatthewK 1 Link to comment Share on other sites More sharing options...
Bambit Posted May 12, 2014 Report Share Posted May 12, 2014 But do I need to wait for this from 'typeOf' to 'isKindOf' change? Or can I just copy&paste this awesome list? :D I was in the middle of making my list, when you posted yours, so might as well steal yours ;P Link to comment Share on other sites More sharing options...
MatthewK Posted May 12, 2014 Report Share Posted May 12, 2014 But do I need to wait for this from 'typeOf' to 'isKindOf' change? Or can I just copy&paste this awesome list? :D I was in the middle of making my list, when you posted yours, so might as well steal yours ;P I copied his list and it works like a charm. Sure glad it wasn't me typing that up though, give that man a beer :D VentZer0 1 Link to comment Share on other sites More sharing options...
Bambit Posted May 12, 2014 Report Share Posted May 12, 2014 Ye. A beer for the guy ;) I'll send it using my tamed pidgeons, so that it gets there cold :D VentZer0 1 Link to comment Share on other sites More sharing options...
VentZer0 Posted May 12, 2014 Report Share Posted May 12, 2014 thanks for the beer, but i dont drink alcohol ^.^ a coke will be fine too :DDimitriPokki also thank him because I took most of his list for the cases and then added all the missing ones (basically all military vehicles) to it. but the bulk of the work was putting in the towable vehicle classes, good that base_classes work there ^^ Link to comment Share on other sites More sharing options...
matt_d_rat Posted May 12, 2014 Author Report Share Posted May 12, 2014 Ideally for this feature I want to find a way in which both methods can be used, either generic base class or specific class, and maintain it in only one place rather than two arrays like pre v1.1.0 was doing. Will have a think about the approach over the coming weekend. MatthewK 1 Link to comment Share on other sites More sharing options...
290x Posted May 13, 2014 Report Share Posted May 13, 2014 Ive been trying to find addons to install, and everytime i run into another problem.. For this MF TOW i cannot find INIT.SQF in my DayZ_epoch_24.napf folder.. There is NO init.sqf in that file.. can anyone explain why? Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now