dmorok 18 Posted March 26, 2016 Hi. ive got config.cpp class CfgPatches { class A1_objects { units[] = {"A1_objects"}; weapons[] = {}; worlds[] = {""}; requiredVersion = 0.100000; requiredAddons[] = {}; author = "DMorok"; }; }; class cfgVehicleClasses { class A1_objects { displayName = "A1_objects"; }; }; class CfgEditorCategories { class arma1obj{ displayname = "arma 1 obj"}; }; class CfgEditorSubcategories { class arma1buildings { displayName = "arma 1 buildings"; }; }; class CfgVehicles { /*extern*/ class Building; editorCategory = Arma1OBJ editorSubcategory = arma1buildings class 02_industry_02_komin: Building{ scope = 2; displayName = "komin"; model = "\ca\buildings\komin.p3d"; icon = "A3_Bush\data\nature.paa"; accuracy = 0.300000; vehicleclass = "A1_objects"; }; }; in 2d editor its work fine under "empty - a1_objects" in 3d editor its under "props - structure - villages" Why? and how it is related? help me to understand how to fix it. with example please? or at least can i make an subcat in exist categorie? Share this post Link to post Share on other sites
Azza FHI 50 Posted March 26, 2016 i could be mistaken but at first glance i would have thought you need to put editorCategory = Arma1OBJ and editorSubcategory = arma1buildings inside the config of the new building that you are creating. right now you have it listed under the external class reference which may not be doing anything class 02_industry_02_komin: Building{ scope = 2; displayName = "komin"; model = "\ca\buildings\komin.p3d"; icon = "A3_Bush\data\nature.paa"; editorCategory = Arma1OBJ; editorSubcategory = arma1buildings; accuracy = 0.300000; vehicleclass = "A1_objects"; and how did u not get an error if there was no ; present after those lines? anyway try that see how u go 1 Share this post Link to post Share on other sites
dmorok 18 Posted March 26, 2016 Thank you very much. It worked fine now. Share this post Link to post Share on other sites