So...to practice modding, I am trying to make a cube for BeamNG.drive. In the future I'm planning to make it fully adjustable with variable node weight, beam spring, node material, skin, etc. However, for now I just want to spawn it in-game, and I can't do it. Whenever I try to spawn it, I get a bunch of lua error messages in my console, and the vehicle doesn't spawn at all. The cube does actually show up in the vehicle selector. What do I need to do to make it spawn? I'll attach the files I have right now to this message. If you know what's going wrong with them, please tell me, thank you very much!
- Most of the beams section is missing commas - Triple check for any missing brackets, commas, quotations etc - Refnodes should be before nodes (I think) - Put information at the start of the jbeam, like name, author and value, like it’s seen on vanilla parts. That might help.
Turns out the JBeam had a lot of formatting issues. However, the most important issue making the vehicle unspawnable is, in fact, the lack of the "information" section. That's quite interesting..."information" shouldn't be something so essential, bot whatever lol --- Post updated --- However, I still can't make the flexbody mesh work. I've named the .dae file "cube", but it seems the game can't find it. What should I do?
Oh that's what matters? well I guess that's what's causing the problem it's called "object" or something in blender iirc --- Post updated --- Sooo... I checked out blender and found that it's named "Cube" instead of "cube", so I simply replaced the mesh name's capital letter and I got this Yup, problem is solved. Thank you very much! --- Post updated --- (it's kinda deformed since I dragged it around to test out deformation)
The thing is, I don't have automation. Also, if we are going to edit JBeams, why don't we just start with vanilla JBeams?