DO´H! I forgot that. Thanks, it worked. But somehow the N/B and mesh is high from the ground but in blender it´s not so much. And... my N/b explodes after I spawn it. EDIT: Got it not to explode by finding random beam settings from hatch.jbeam Ah.. that satisfaction to see own mesh hitting ground and deforming!
Well I actually modeled the n/b in Blender and then used this add-on: http://www.beamng.com/threads/5775-Blender-Script-to-Export-Nodes-and-Beams Then I used this to see the node names: http://www.beamng.com/threads/6103-NodeBeam-Editor , so I was able to place refNodes.
Why thanks so much for this little tutorial, I'm looking foward the dudes who are working in the jbeam exporter for Blender, I am sure it will ease a lot the work. I'd like to ask you, Nadeox, how did you do all those beams and nodes with the cars you have done? And the materials? Would you like to share the tutorials that, if any, you used. Ah yes, my creation, it's coming to life in Drive, one step at a time. Looks better when you fuse the whole thing together, for the time being at least, haha
FIRST OF ALL, I KNOW THIS IS A BUMP. I read the forum and I didn't see anyone with my error, The tutorial's great. But once the box part, and the jbeam, and the object name with in the jbeam is done, I get an error which makes the model not appear, (the Jbeam does) Here's the error:
uh, if I did I would feel so stupid, Ima' go check. EDIT: nope, same thing, (it wasn't paused in the first place)
I have left it on pause fairly often and only after 5 - 10 mins of raging and digging through the jbeam later i realize that i just left pause on. I just couldn't quite remember what message in the console normally prompts me to remember
No not really, if you are willing to attach your jbeam file then i may be able to get a better idea of the problem. If i cant then i am sure someone else will. Some troubleshooting tips: • Back up your vehicle files • If the vehicle worked before then try and remember what you have added recently just before it stopped working and delete it or try and fix it • If you cant remember just start deleting chunks of code until it functions correctly. Just please make sure you back up first.
Always, always end node groups in the node section with this Code: {"group":""} I don't know if that will fix the vehicle since i haven't tested it but that will cause the game to freeze if its not present when you add a mesh to your jbeam.
I haven't on the go kart i am making but its probably good practice to add one. As far as i am aware they are not necessary most of the time. This is what my nodes section looks like: Code: "nodes" :[ ["id", "posX", "posY", "posZ"], {"group":"body"}, {"selfCollision":false} {"collision" :true} {"nodeMaterial":"|NM_METAL"}, {"frictionCoef":0.7}, {"nodeWeight":2}, //lower chassis ["lc00",0.4, 0.6, 0.38], ["lc10",-0.4, 0.6, 0.38], ["lc01",0.4, 0, 0.38], ["lc11",-0.4, 0, 0.38], ["lc02",0.35, -0.6, 0.38], ["lc12",-0.35, -0.6, 0.38], //upper chassis ["uc00",0.4, 0.6, 0.5], ["uc10",-0.4, 0.6, 0.5], {"nodeWeight":10}, ["uc01",0.4, 0, 0.7], ["uc11",-0.4, 0, 0.7], {"nodeWeight":2}, ["uc02",0.35, -0.6, 0.5], ["uc12",-0.35, -0.6, 0.5], {"nodeWeight":0.8}, //Front Bumper ["fb0",0.35, -0.9, 0.4], ["fb1",-0.35, -0.9, 0.4], {"nodeWeight":2}, {"group":""} //Bits wheels attach to ["wrl", 0.58, 0.6, 0.5], ["wrr", -0.58, 0.6, 0.5], ["wfl", 0.47, -0.6, 0.5], ["wfr", -0.47, -0.6, 0.5], ],
The flexibody sections in both of our vehicles is also different. Yours: Code: "flexbodies": [ ["mesh", "[group]:"], ["Cube1", ["Box001"]] ], Mine: Code: "flexbodies": [ ["mesh", "[group]:", "nonFlexMaterials"], {"isCollisionMesh":false}, {"rotation":{"x":0, "y":0, "z":0}, "translation":{"x":0, "y":0, "z":1}}, ["Chassis", ["body"],], ["Sides", ["body"],], ["Front", ["body"],], {"deformGroup":""} ], If you look at the chassis section in my flexibody section you will see that mine places more commas than yours inside the brackets. So that may be part of the issue.
I'm a little lost, you can download the files and try what your saying, (because I just can't convert my JBeam to match yours, when the other has more features then mine)
Well in truth i am currently slightly overloaded with coursework that i am trying to get done really quickly so i am trying to prioritize that over your model. So sorry about that. This means that i don't have time to test everything i say since i have other things to do. But looking over a jbeam file in search of errors doesnt take to long and is a nice distraction from photoshop, kingsoft writer and visual basic What i was trying to say in the last post is that i think you are missing a comma. Since i know that my model is in game and works i am using that as a known standard. The section of my vehicle that i shared is actually mostly from the wiki: Flexbodies So try changing it from this: Code: ["Cube1", ["Box001"]] to this: Code: ["Cube1", ["Box001"],] as that makes the syntax the same as mine. Hopefully adding that comma in should make your vehicle function.
You're totally fine! I'm so glad that even willing to help me this much. I'm added the commas. EDIT: YAY I got a new error, (which is good because it might give me some info) Here's a pic just in case: And here are some even newer files (everything I changed)
Rename your .dae file to be the same as what the game is expecting it to be form the error message. (top red line)