In the refNodes you define a bunch of ID's, do you have nodes defined with the same ID's? Code: "nodes": [ ["id", "posX", "posY", "posZ"], ["[B]0[/B]", 1, 1, 0], ["[B]1[/B]", 1, 1, 0], ["[B]2[/B]", 1, 1, 0], ["[B]4[/B]", 1, 1, 0], The bold part is what the ID's in refNodes refer to. - - - Updated - - - Does the camera freez as well? Then probarly you got an error in your .jbeam file, check in the console in game (~ button for me) there is probably written some error.
I recently ran into the same problem, had me stumped for a fair while, found that this seems to work for me, best of luck! Code: "refNodes":[ ["ref:", "back:", "left:", "up:"] ["1a", "1b", "1c", "1d"] -------------------------------------------- "nodes": [ ["id", "posX", "posY", "posZ"], ["1a", -0.3, -0.2, 0.2], ["1b", -0.3, 0.3, 0.2], ["1c", 0.3, -0.2, 0.2], ["1d", -0.3, -0.2, 0.3], ],
Does your .dea file has the same name as your folder/jbeam file? With me they all match to "testcar", remember I also ran into something like this. PS. Nice looking model you got, hope you can get it too work!
I fixed one of my problems. I hadn't edited the beams when I changed the node names which caused problems. My new problem is that the actual model doesn't load. Ia m going to try one thing before I truly ask for help. Also, once loaded, I get constant errors for nil o rpm steering and wheels. I believe this is solely because I didnot add any but I don't know for sure.
I think I may be messing up in the names. It's confusing which ones need to be the same. So let's see if I got it straight: Assuming nodes and beams definitions are ok, the names references we need are: - myVAR folder - myVAR Jbeam file name - myVAR .DAE file name - myMESH geometry inside the .DAE file - myMESH on the first line of the .Jbeam file - myVERYOWNNAME for "author" inside "information" - myBEAUTIFULCARNAME for "name" inside "information" - {"group":"myDYNAMICSPOINTS"} inside "nodes" - ["myMESH", ["myDYNAMICPOINTS"]] inside "flexbodies" Is it correct?
Yeah when I spawn the test car, the camera just freezes and and I see no cube for the Jbeam? What error would I look for?
There has to be more to it than what's written in the wiki and this tutorial (many thanks Nadeox, we all really appreciate and recon your effort to teach, but something more is required that is not exposed and I can't see it if it should be obvious). I've been really trying for several hours past 2 days. So now I've tried the minimal "customization" I could imagine that should work according to instructions as I understood (basically just reproduce a working vehicle) and yet I failed. I created a folder named "myCone" in the vehicles folder, copied Jbeam and DAE files from the folder "cones" renamed both to "myCone.Jbeam" and "myCone.DAE". Inside the Jbeam and the DAE there was absolutely no reference to the string "cones", so there shouldn't be anything missing or miss typed in my brand new vehicle "myCone". Yet, "cones" works, "myCone" does not. I get the same frozen cam with the same error (similar to BoaMan, but different lines of the external LUA script) I've been encountering: Code: 1992.563629| === BeamNG - loading all .cs files in vehicle folder:vehicles/myCone/1992.563946| * loading materials script file: vehicles/myCone/materials.cs 1992.564728| * loading materials script file: vehicles/common/materials.cs 1992.569178| === BeamNG - loading all .cs files in vehicle folder DONE 1992.569807|BEAMNG| INFO| creating new object in slot 0 ... 1992.570396|BEAMNG| WARN| Lua tried to read env variable: LUA_PATH 1992.570441|BEAMNG| WARN| Lua tried to read env variable: LUA_CPATH 1992.583801|BEAMNG| INFO| loading vehicle directory:vehicles/myCone/ 1992.583887|BEAMNG| INFO| * loading jbeam files: 1992.583936|BEAMNG| ERR | got exception: lua/vehicle/beamng.lua:2110: attempt to index a nil value 1992.584713|BEAMNG| ERR | lua/vehicle/drivetrain.lua:243: attempt to index field 'data' (a nil value) I've never touched RoR, maybe there's something from there that you assume everyone would know?
It should be the last lines, they should be red and prefixed with "BEAMNG| ERR |" Hmmm I remember I ran exactly into the same error, only can't recall the cause/fix.. Maybe you could attach what you have so far in a zip file? So I could fiddle around with it. Also take a look at: http://www.beamng.com/threads/2994-DriveEditor-Vehicle-Configuration-(-jbeam)-Editor-GUI He made a little tool to edit jbeam files, didn't use it yet but think this will make things easier for us noobs
I would really appreciate if you could take a look at them. Thank you. I'm staring obsessively and clueless at them probably beyond healthy levels myVAR is the simplest I could imagine with remarkable names. myCone is the copy mentioned above. I've fiddled with the tool you mentioned. But I'm afraid I may be failing at very elemental stuff since not even a cone clone I could reproduce.
What was i doing wrong? it's not in place... i was try to change the ref nodes but nothing happened. In the editor node pos. and the body is in place so i doesn't know what wrong. Anyone knows the solution?
I used Physicfreak's example and changed everything to what I want, like changing the car name etc but it crashes everytime I select it in beamng. WHY? :'(
Move the 3D model in your 3D Software, so it will change its coordinates. Try till you get the perfect place.
It's working, just i don't understand if make a point in the modeling program on the object, its why are not there in the game engine?
Ok so I got to the end of part 3 and ive got a resonable understanding of whats going on. So when I spawn in my BMW only half of it is there (I know its somthing to do with the mirror modifier I used), its gigantic and the camera freezes and tells me that the error is just under the refNodes where I have put "],lol" to mark it, but I cant find anything that is wrong. Also I have put "BMW_Boot" but it shows the whole car, Im sure that I have split the car components correctly
MayaToJbeam-Visual-Jbeam-Editor-near-zero-typing pretty much mature. But I will need some help with the mentioned above.
I get a frozen camera "TempoMatador": { "information":{ "authors":"Chong McBong, Rand0mPsych0", "name":"Tempo Matador", } "refNodes":[ ["ref:", "back:", "left:", "up:"] ["fr9", "fr10", "fr9l", "fr11"] ], "nodes": [ ["id", "posX", "posY", "posZ"], {"nodeWeight":70}, {"group":"matador_chassis"}, {"frictionCoef":0.7}, {"nodeMaterial":"|NM_METAL"}, {"collision":true} {"selfCollision":false} ["1a", 1, 1, 0], ["1b", 0, 1, 0], ["1c", 1, 0, 0], ["1d", 0, 0, 0], ["1e", 1, 1, 1], ["1f", 0, 1, 1], ["2a", 1, 0, 1], ["2b", 0, 0, 1], ], "flexbodies":[ ["mesh", "[group]:", "nonFlexMaterials"], {"isCollisionMesh":false}, ["Cube", ["cube_group"]] ], } } }
your problem is that you set the group to "group":"matador_chassis"}, but down at flexbodies it says cube_group and it should say matador_chassis to match the group
So I changed what you said, but I'm still having the same error. { "TempoMatador": { "information":{ "authors":"Chong McBong, Rand0mPsych0", "name":"Tempo Matador", } "refNodes":[ ["ref:", "back:", "left:", "up:"] ["fr9", "fr10", "fr9l", "fr11"] ], "nodes": [ ["id", "posX", "posY", "posZ"], {"nodeWeight":70}, {"group":"matador_chassis"}, {"frictionCoef":0.7}, {"nodeMaterial":"|NM_METAL"}, {"collision":true} {"selfCollision":false} ["1a", 1, 1, 0], ["1b", 0, 1, 0], ["1c", 1, 0, 0], ["1d", 0, 0, 0], ["1e", 1, 1, 1], ["1f", 0, 1, 1], ["2a", 1, 0, 1], ["2b", 0, 0, 1], ], "flexbodies":[ ["mesh", "[group]:", "nonFlexMaterials"], {"isCollisionMesh":false}, ["Cube", ["matador_chassis"]] ], } } }