jimmybulmer 21 Posted August 1, 2016 I am trying to work on some assets for a mod but cant seem to get it to work properly. Everything works fine the model appears in the model viewer from O2 with textures and everything, however when I put it into Arma 3 I cant find the model in the editor. Bellow are my model.cfg and an image of it in the model viewer. Any help is appreciated class CfgPatches { class Survive_Level1_Structures { units[] = {"Land_BushCraftWall_1"}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {}; }; }; class CfgVehicles { class Static; class Land_BushCraftWall_1 : Static { scope = 2; model = "\Survive_Level1Structures\BushCraftWall01.p3d"; displayName = "Bushcraft Wall 1"; vehicleClass = "survive"; }; }; Share this post Link to post Share on other sites
.kju 3245 Posted August 1, 2016 remove 'vehicleClass = "survive";' or define the custom vehicle class also static might not have editor categories for Eden configured Share this post Link to post Share on other sites
jimmybulmer 21 Posted August 1, 2016 remove 'vehicleClass = "survive";' or define the custom vehicle class also static might not have editor categories for Eden configured tried this and it didnt work. 3den is the only editor now (they have disabled the 2d editor from what I can see and i've had it work with this config before. any other suggestions? Share this post Link to post Share on other sites
HeisenS 27 Posted August 1, 2016 tried this and it didnt work. 3den is the only editor now (they have disabled the 2d editor from what I can see and i've had it work with this config before. any other suggestions? Hi Jimmy, Try this, obviously rename all to fit your mod project folder. Config.cpp http://pastebin.com/RUsn59wr Model.cfg http://pastebin.com/AgeqxBLx Care to ignore the animation stuff, as it looks as your gate thing doesn't need to animate. Hope I helped :) Regards, Heisen p.s. In the future, try be more specific when naming your topics for help such as : "config.cpp/model.cfg help?". Share this post Link to post Share on other sites
jimmybulmer 21 Posted August 1, 2016 Hi Jimmy, Try this, obviously rename all to fit your mod project folder. Config.cpp http://pastebin.com/RUsn59wr Model.cfg http://pastebin.com/AgeqxBLx Care to ignore the animation stuff, as it looks as your gate thing doesn't need to animate. Hope I helped :) Regards, Heisen p.s. In the future, try be more specific when naming your topics for help such as : "config.cpp/model.cfg help?". Have just tried this and had the same outcome. I will do that in the future I just threw this together quickly in hope to get responses ASAP. Share this post Link to post Share on other sites
jimmybulmer 21 Posted August 1, 2016 Oh also when i try to spawn it in using the class name like this: createVehicle ["land_bushcraft_wall_1_f", position player, [], "0", "0"]; and get the error: 'Error type string, expected Number Share this post Link to post Share on other sites
badluckburt 78 Posted August 1, 2016 Oh also when i try to spawn it in using the class name like this: createVehicle ["land_bushcraft_wall_1_f", position player, [], "0", "0"]; and get the error: 'Error type string, expected Number Your last two parameters ("0") are incorrect. Wrapping a number in quotes will turn it into a string. Also, the last parameter does not have a correct value, check the BIKI: https://community.bistudio.com/wiki/createVehicle Share this post Link to post Share on other sites
jimmybulmer 21 Posted August 1, 2016 Your last two parameters ("0") are incorrect. Wrapping a number in quotes will turn it into a string. Also, the last parameter does not have a correct value, check the BIKI: https://community.bistudio.com/wiki/createVehicle Oh whoops, me being dumb lol. Did that anyway and get no errors but still nothing spawns in? I get no errors at anypoint throughout launching the game all the way to closing it. Share this post Link to post Share on other sites
badluckburt 78 Posted August 1, 2016 I didn't notice it before but why are you trying to spawn in "land_bushcraft_wall_1_f"? Your class is called "Land_BushCraftWall_1" Share this post Link to post Share on other sites
jimmybulmer 21 Posted August 1, 2016 I didn't notice it before but why are you trying to spawn in "land_bushcraft_wall_1_f"? Your class is called "Land_BushCraftWall_1" changed it to that after Share this post Link to post Share on other sites
jimmybulmer 21 Posted August 1, 2016 I am now going to crawl into a hole and cry because of how stupid I have been today....I FORGOT TO PUT THE PBO IN AN ADDONS FOLDER... im so dumb im at a loss for words XD Thread can be closed this is fixed thanks everyone for the help 2 Share this post Link to post Share on other sites