a idiot 238 0 Posted November 26, 2022 So, this thing has been bugging me for a bit. I managed to retexture and succesfully add into the game one helmet, it appears in the editor, i can wear it and is just fine. Then, i tried adding the second, but now suddenly, it doesn't work. I get the "Undefined base class "ItemCore" on line 32. Here's the config: class CfgPatches { class burg_head { units[] = {}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {"A3_Characters_F_BLUFOR"}; }; }; class cfgWeapons { class ItemCore; class HeadgearItem; class ss_cap1 : ItemCore { scope = 2; weaponPoolAvailable = 1; displayName = "SS cap"; picture = "\A3\characters_f\Data\UI\icon_H_Cap_blk_CA.paa"; model = "\cup\creatures\people\military\cup_creatures_people_military_usarmy\CUP_US_patrol_cap.p3d"; hiddenSelections[] = {"camo"}; hiddenSelectionsTextures[] = {"TNOUM\textures\burgcap.paa"}; class ItemInfo : HeadgearItem { mass = 100; uniformModel = "\cup\creatures\people\military\cup_creatures_people_military_usarmy\CUP_US_patrol_cap.p3d"; modelSides[] = {6}; armor = 3*0.5; passThrough = 0.8; hiddenSelections[] = {"camo"}; }; }; }; class ss_cap2 : ItemCore { scope = 2; weaponPoolAvailable = 1; displayName = "SS cap 2"; picture = "\A3\characters_f\Data\UI\icon_H_Cap_blk_CA.paa"; model = "\cup\creatures\people\military\cup_creatures_people_military_usarmy\CUP_US_patrol_cap.p3d"; hiddenSelections[] = {"camo"}; hiddenSelectionsTextures[] = {"TNOUM\textures\burgcap2.paa"}; class ItemInfo : HeadgearItem { mass = 100; uniformModel = "\cup\creatures\people\military\cup_creatures_people_military_usarmy\CUP_US_patrol_cap.p3d"; modelSides[] = {6}; armor = 3*0.5; passThrough = 0.8; hiddenSelections[] = {"camo"}; }; }; }; (i am working on a TNO mod, so ignore the SS thingy cap's, is a simple CUP retexture for now) Any help will be greatly appreciated! Share this post Link to post Share on other sites
honger 114 Posted November 26, 2022 It's because you're closing the CfgWeapons and then you add ss_cap2. Delete the "};" marked in the lower part of screenshot and it should work. Share this post Link to post Share on other sites