Rich_R 1087 Posted June 27, 2020 I'm trying to put the vanilla mortar into retextured kitbags. They work when you assemble them, but when unassembled, one component defaults to the original backpack and they wont assemble again. I've dug deeper into the config trying to fix this but can't. Anyone have any ideas? Here's the relevant code. class faaa_mortar_olive: B_Mortar_01_F { class SimpleObject { eden = 1; animate[] = {{"mainturret", 0}, {"maingun", 0}, {"optics", 0}, {"optics_stabilization", 0}, {"legs_zeroing", 0}, {"uplegs_zeroing", 0}}; hide[] = {"light_back", "brzdove svetlo", "clan", "podsvit pristroju", "poskozeni"}; verticalOffset = 0.757; verticalOffsetWorld = 0.035; init = "''"; }; editorPreview = "\A3\EditorPreviews_F\Data\CfgVehicles\B_Mortar_01_F.jpg"; _generalMacro = "faaa_mortar_olive"; scope = 2; side = 1; faction = "FAA"; crew = "FAAAWB_13"; availableForSupportTypes[] = {"Artillery"}; hiddenSelections[] = {"camo"}; hiddenSelectionsTextures[] = {"\A3\Static_f\Mortar_01\data\Mortar_01_CO.paa"}; class assembleInfo: assembleInfo { dissasembleTo[] = {"faaa_Mortar_01_weapon_F", "faaa_Mortar_01_support_F"}; }; }; class faaa_Mortar_01_support_F: Bag_Base { author = "Rich"; _generalMacro = "faaa_Mortar_01_support_F"; displayName = "1AA Mortar Plate Olive"; scope = 2; scopeCurator = 2; scopeArsenal = 2; faction = "FAA"; model = "\A3\weapons_f\Ammoboxes\bags\Backpack_Fast.p3d"; editorCategory = "EdCat_Equipment"; editorSubcategory = "EdSubcat_DismantledWeapons"; hiddenSelectionsTextures[] = {"1AAEquip\data\mortar_olive_p_co.paa"}; picture = "1AAEquip\data\ui\icon_B_C_mortar_rgr_ca"; icon = "iconBackpack"; mass = 180; maximumLoad = 0; class assembleInfo { primary = 0; base = ""; assembleTo = ""; dissasembleTo[] = {}; displayName = ""; }; }; class Weapon_Bag_Base: Bag_Base { author = "Bohemia Interactive"; _generalMacro = "Weapon_Bag_Base"; model = "\A3\weapons_f\Ammoboxes\bags\Backpack_Fast.p3d"; picture = "1AAEquip\data\ui\icon_B_C_mortar_rgr_ca"; icon = "iconBackpack"; maximumLoad = 0; class assembleInfo { primary = 1; base = "faaa_Mortar_01_support_F"; assembleTo = ""; dissasembleTo[] = {}; displayName = ""; }; }; class faaa_Mortar_01_weapon_F: Weapon_Bag_Base { author = "Rich"; _generalMacro = "faaa_Mortar_01_weapon_F"; displayName = "1AA Mortar Olive"; scope = 2; scopeCurator = 2; scopeArsenal = 2; faction = "FAA"; editorCategory = "EdCat_Equipment"; editorSubcategory = "EdSubcat_DismantledWeapons"; model = "\A3\weapons_f\Ammoboxes\bags\Backpack_Fast"; hiddenSelectionsTextures[] = {"1AAEquip\data\mortar_olive_m_co.paa"}; picture = "1AAEquip\data\ui\icon_B_C_mortar_rgr_ca"; mass = 380; class assembleInfo: assembleInfo { displayName = "Mk6 Mortar"; assembleTo = "faaa_mortar_olive"; base[] = {"faaa_Mortar_01_support_F"}; }; }; Share this post Link to post Share on other sites