Just to see how to put vehicles in BeamNG, I got a model from the Sketchup warehouse of a 1988 Toyota Corolla and exported it as a DAE. (I don't plan on officially releasing this unless I heavily modify the jbeam and model). I then put the 1988 Pessima jbeam, body jbeam, and bumper jbeams in but when I load it up, only the jbeam appears but not the mesh. Attached is a zip of this car, does anyone know what I did wrong?
I cant import the model into blender because it doesnt import properly, but it appears you havent renamed the parts in the flexbody section to the names of the parts in the mesh. edit alright so what you do to change the flexbodys find this: Code: "flexbodies": [ ["mesh", "[group]:", "nonFlexMaterials"], //body ["pessima_body", ["pessima_body"]], ["pessima_radsupport", ["pessima_body"]], ["pessima_engbaycrap", ["pessima_engine_bay"]], ["pessima_subframe_F", ["pessima_subframe_F"]], ["pessima_brace", ["pessima_subframe_F","pessima_body"]], ["pessima_subframe_R", ["pessima_subframe_R"]], {"deformGroup":"pessima_backlight_break", "deformMaterialBase":"pessima_lights", "deformMaterialDamaged":"pessima_lights_dmg"} ["pessima_chmsl", ["pessima_body"]], {"deformGroup":""} ["pessima_dash", ["pessima_dash"]], ["pessima_intmirror", ["pessima_roof"]], ["pessima_sunvisor", ["pessima_roof"]], ["pessima_gauges", ["pessima_dash"]], ["pessima_decals_gauges", ["pessima_dash"]], ], Lets take Code: ["pessima_body", ["pessima_body"]], and turn it into the corolla body The first name "pessima_body" is the name of the mesh in the .DAE. The second part is the node group its assigned to. So lets say your body mesh is called "corolla_body". what you need to do is change the first part, "pessima_body" into "corolla_body". like this: Code: ["corolla_body", ["pessima_body"]],
I believe it is just a single mesh. --- Post updated --- I renamed them and it still has the same issue
What program are you using? sketchup? if so someone else needs to step in, as i dont know how to rename things in sketchup. Also mind sharing what you changed in code tags?(["code"] ["/code"] without the quotes)
This is the model: https://3dwarehouse.sketchup.com/model.html?id=586da8cf648767222a9eb0f146e94477 Here is what the pessima_body.jbeam flexbodies section now looks like: Code: "flexbodies": [ ["mesh", "[group]:", "nonFlexMaterials"], //body ["corolla_body", ["corolla_body"]], ], pessima_bumper_F.jbeam: Code: "flexbodies": [ ["mesh", "[group]:", "nonFlexMaterials"], ["corolla_bumper_F", ["corolla_bumper_F"]], ], pessima_bumper_R.jbeam: Code: "flexbodies": [ ["mesh", "[group]:", "nonFlexMaterials"], ["corolla_bumper_R", ["corolla_bumper_R"]], ],
Ahhh, you changed the second one. Dont change that one unless you change it in node section as well. So leave the first one as you have it(name of the mesh) but change the second one(node group) back to pessima_XXXX
so if you open console(~ key) you will see errors. right now its saying failed to get render mesh corolla body. that means your mesh doesnt have anything named corolla body in it. so you need to find the name of the body/rename the body in the mesh
opening it in a text editor is not the way to do it. You need to open it in a 3d modeling program, like blender or sketchup. From there, at least in blender, you can see the mesh names
Imported it back into Sketchup and exported it with the name I specified in the jbeam but still nothing. (in the top right corner)