jake.1.1.1 0 Posted December 1, 2019 I am trying to retexture a boonie and i have added this to the config but keep getting an error saying, undefined base class. Can someone please give me the correct config or the fix to my problem. Thanks in advance class H_Booniehat_khk : H_HelmetB { displayName = "$STR_A3_H_Booniehat_ocamo0"; picture = "\A3\characters_f\Data\UI\icon_H_booniehat_desert_ca.paa"; model = "\A3\Characters_F\Common\booniehat"; hiddenSelectionsTextures[] = {"\A3\Characters_F\Common\Data\booniehat_desert_co.paa"}; class ItemInfo : ItemInfo { mass = 10; allowedSlots[] = {801, 901, 701, 605}; uniformModel = "\A3\Characters_F\Common\booniehat"; modelSides[] = {6}; armor = 0; passThrough = true; }; }; class H_Booniehat_indp : H_Booniehat_khk { displayName = "$STR_A3_H_Booniehat_khk0"; picture = "\A3\characters_f\Data\UI\icon_H_booniehat_indp_ca.paa"; hiddenSelectionsTextures[] = {"\A3\Characters_F\Common\Data\booniehat_indp_co.paa"}; }; ERROR MESSAGE - file custom_uniform/config.cpp, line 212/cfgweapons.H_Nooniehat_indp: Undefined base class 'H_Booniehat_khk' Share this post Link to post Share on other sites
Ex3B 265 Posted December 2, 2019 Did you declare class H_HelmetB before class H_Booniehat_khk : H_HelmetB? You should have something like: class H_HelmetB; class H_Booniehat_khk : H_HelmetB { stuff }; You'll also need to ensure that class ItemInfo is declared before you reference it in your section: class ItemInfo : ItemInfo { mass = 10; allowedSlots[] = {801, 901, 701, 605}; uniformModel = "\A3\Characters_F\Common\booniehat"; modelSides[] = {6}; armor = 0; passThrough = true; }; Share this post Link to post Share on other sites