1. Stuck or having problems creating your mod?
  2. GPU Fatal Error? Intel HD Graphics 620/630 Crashes? Help us solve them!
    Dismiss Notice

Solved JBEAM Issue

Discussion in 'Mod Support' started by workclock1©, Jan 13, 2019.

  1. workclock1©

    workclock1©
    Expand Collapse

    Joined:
    Jan 5, 2016
    Messages:
    2,701
    With the blender JBEAM exporter, i created a simple JBEAM inside blender. I have been wanting to transfer that into a modded vehicle inside BeamNG. But, I'm not too sure who that's done.

    Here is the code I'm trying to get into one of the official vehicles JBEAMS:

    Code:
    {
        "agera_bumper_F":{
            "information":{
                "name":"",
                "authors":"Blender Jbeam v0.2.0"},
            "slotType":"main",
    //--Nodes--
            "nodes":[
                ["id", "posX", "posY", "posZ"],
                ["nl0",0.019,-2.041,0.42],
                ["nl1",0.019,-2.041,0.42],
                ["nl2",0.019,-2.03,0.567],
                ["nl3",0.019,-2.03,0.567],
                ["nr4",-0.414,-2.027,0.247],
                ["nl5",0.451,-2.026,0.247],
                ["nr6",-0.321,-2.007,0.406],
                ["nr7",-0.321,-2.007,0.406],
                ["nl8",0.358,-2.006,0.406],
                ["nl9",0.358,-2.006,0.406],
                ["nl10",0.018,-2.0,0.251],
                ["nl11",0.018,-1.999,0.604],
                ["nr12",-0.355,-1.995,0.551],
                ["nr13",-0.355,-1.995,0.551],
                ["nl14",0.392,-1.994,0.551],
                ["nl15",0.392,-1.994,0.551],
                ["nr16",-0.428,-1.988,0.51],
                ["nl17",0.465,-1.986,0.51],
                ["nr18",-0.435,-1.984,0.43],
                ["nl19",0.472,-1.983,0.43],
                ["nr20",-0.464,-1.931,0.604],
                ["nl21",0.5,-1.93,0.604],
                ["nr22",-0.704,-1.898,0.502],
                ["nl23",0.74,-1.896,0.502],
                ["nr24",-0.823,-1.851,0.247],
                ["nl25",0.859,-1.849,0.247],
                ["nr26",-0.78,-1.849,0.371],
                ["nl27",0.816,-1.847,0.371],
                ["nr28",-0.787,-1.828,0.617],
                ["nr29",-0.787,-1.828,0.617],
                ["nr30",-0.787,-1.828,0.617],
                ["nr31",-0.787,-1.828,0.617],
                ["nr32",-0.787,-1.828,0.617],
                ["nl33",0.824,-1.826,0.617],
                ["nl34",0.824,-1.826,0.617],
                ["nl35",0.824,-1.826,0.617],
                ["nl36",0.824,-1.826,0.617],
                ["nr37",-0.733,-1.825,0.645],
                ["nl38",0.77,-1.823,0.645],
                ["nr39",-0.777,-1.806,0.276],
                ["nr40",-0.777,-1.806,0.276],
                ["nr41",-0.777,-1.806,0.276],
                ["nl42",0.813,-1.804,0.276],
                ["nl43",0.813,-1.804,0.276],
                ["nl44",0.813,-1.804,0.276],
                ["nr45",-0.913,-1.572,0.266],
                ["nr46",-0.913,-1.572,0.266],
                ["nr47",-0.913,-1.572,0.266],
                ["nr48",-0.922,-1.572,0.246],
                ["nl49",0.958,-1.569,0.246],
                ["nl50",0.949,-1.569,0.266],
                ["nl51",0.949,-1.569,0.266],
                ["nr52",-0.944,-1.569,0.61],
                ["nl53",0.98,-1.566,0.61],
                ["nr54",-0.858,-1.51,0.802],
                ["nl55",0.894,-1.508,0.802],
                ["nr56",-0.925,-1.499,0.264],
                ["nl57",0.961,-1.497,0.264],
                ["nr58",-0.928,-1.491,0.246],
                ["nr59",-0.903,-1.477,0.789],
                ["nr60",-0.903,-1.477,0.789],
                ["nl61",0.938,-1.474,0.789],
                ["nl62",0.938,-1.474,0.789],
                ["nr63",-0.971,-1.471,0.644],
                ["nl64",1.006,-1.468,0.644],
                ["nr65",-0.97,-1.402,0.721],
                ["nl66",1.005,-1.399,0.721],
                ],
    //--Beams--
            "beams":[
                ["id1:", "id2:"],
                ["nl9","nl5"],
                ["nr12","nl2"],
                ["nl38","nl34"],
                ["nr52","nr28"],
                ["nr18","nr16"],
                ["nl9","nl44"],
                ["nl57","nl50"],
                ["nl62","nl66"],
                ["nl11","nr12"],
                ["nr47","nr41"],
                ["nl64","nl62"],
                ["nl15","nl8"],
                ["nr30","nr37"],
                ["nl34","nl61"],
                ["nr54","nr37"],
                ["nl11","nl21"],
                ["nl57","nl53"],
                ["nl64","nl66"],
                ["nr18","nr26"],
                ["nl36","nl62"],
                ["nr46","nr56"],
                ["nr31","nr20"],
                ["nl19","nl17"],
                ["nl0","nl3"],
                ["nr40","nr13"],
                ["nl14","nl11"],
                ["nr16","nr22"],
                ["nr52","nr59"],
                ["nr6","nl3"],
                ["nr24","nr7"],
                ["nl10","nl9"],
                ["nl0","nl8"],
                ["nr63","nr59"],
                ["nl42","nl35"],
                ["nl33","nl38"],
                ["nl1","nl10"],
                ["nl50","nl43"],
                ["nr20","nl11"],
                ["nl27","nl19"],
                ["nl25","nl49"],
                ["nl3","nl15"],
                ["nl53","nl36"],
                ["nr31","nr12"],
                ["nr52","nr39"],
                ["nr16","nr26"],
                ["nl27","nl23"],
                ["nr47","nr48"],
                ["nl61","nl55"],
                ["nl38","nl55"],
                ["nl10","nl5"],
                ["nr40","nr32"],
                ["nl8","nl42"],
                ["nl23","nl17"],
                ["nr4","nl10"],
                ["nr63","nr65"],
                ["nl5","nl25"],
                ["nl57","nl64"],
                ["nr52","nr63"],
                ["nl62","nl53"],
                ["nl3","nl8"],
                ["nl44","nl49"],
                ["nl2","nl14"],
                ["nr12","nr20"],
                ["nr41","nr24"],
                ["nr26","nr22"],
                ["nl21","nl38"],
                ["nr59","nr29"],
                ["nr7","nr4"],
                ["nr65","nr59"],
                ["nr40","nr6"],
                ["nr60","nr54"],
                ["nl43","nl53"],
                ["nr56","nr52"],
                ["nr7","nl10"],
                ["nl1","nl9"],
                ["nr45","nr52"],
                ["nl14","nl21"],
                ["nl15","nl42"],
                ["nl49","nl51"],
                ["nl44","nl51"],
                ["nl21","nl33"],
                ["nr37","nr31"],
                ["nr48","nr58"],
                ["nr39","nr28"],
                ["nr60","nr30"],
                ["nl50","nl53"],
                ["nr48","nr41"],
                ["nl44","nl25"],
                ["nr56","nr63"],
                ["nl15","nl35"],
                ["nr7","nl1"],
                ["nl38","nl61"],
                ["nr45","nr39"],
                ["nr41","nr7"],
                ["nr24","nr4"],
                ["nr6","nl0"],
                ["nr52","nr46"],
                ["nl43","nl36"],
                ["nl64","nl53"],
                ["nr13","nl3"],
                ["nl14","nl33"],
                ["nl19","nl23"],
                ["nr30","nr54"],
                ["nl5","nl44"],
                ["nl11","nl2"],
                ["nr37","nr20"],
                ["nr52","nr29"],
                ["nr48","nr24"],
                ["nr32","nr13"],
                ["nr6","nr13"],
                ["nl33","nl21"],
                ["nl21","nl14"],
                ["nl14","nl33"],
                ["nr12","nl11"],
                ["nl11","nr20"],
                ["nr20","nr12"],
                ["nl23","nl19"],
                ["nl19","nl27"],
                ["nl27","nl23"],
                ["nr60","nr30"],
                ["nr30","nr54"],
                ["nr54","nr60"],
                ["nr54","nr30"],
                ["nr30","nr37"],
                ["nr37","nr54"],
                ["nr24","nr41"],
                ["nr41","nr48"],
                ["nr48","nr24"],
                ["nl11","nl14"],
                ["nl14","nl21"],
                ["nl21","nl11"],
                ["nl3","nr6"],
                ["nr6","nl0"],
                ["nl0","nl3"],
                ["nr52","nr56"],
                ["nr56","nr46"],
                ["nr46","nr52"],
                ["nl42","nl15"],
                ["nl15","nl8"],
                ["nl8","nl42"],
                ["nl34","nl61"],
                ["nl61","nl38"],
                ["nl38","nl34"],
                ["nl38","nl61"],
                ["nl61","nl55"],
                ["nl55","nl38"],
                ["nr20","nr31"],
                ["nr31","nr12"],
                ["nr12","nr20"],
                ["nl8","nl3"],
                ["nl3","nl0"],
                ["nl0","nl8"],
                ["nl53","nl43"],
                ["nl43","nl50"],
                ["nl50","nl53"],
                ["nl53","nl57"],
                ["nl57","nl64"],
                ["nl64","nl53"],
                ["nr13","nr40"],
                ["nr40","nr6"],
                ["nr6","nr13"],
                ["nr39","nr52"],
                ["nr52","nr45"],
                ["nr45","nr39"],
                ["nr52","nr29"],
                ["nr29","nr59"],
                ["nr59","nr52"],
                ["nr47","nr48"],
                ["nr48","nr41"],
                ["nr41","nr47"],
                ["nl62","nl36"],
                ["nl36","nl53"],
                ["nl53","nl62"],
                ["nr7","nr24"],
                ["nr24","nr4"],
                ["nr4","nr7"],
                ["nr7","nr4"],
                ["nr4","nl10"],
                ["nl10","nr7"],
                ["nl9","nl10"],
                ["nl10","nl5"],
                ["nl5","nl9"],
                ["nl9","nl5"],
                ["nl5","nl44"],
                ["nl44","nl9"],
                ["nl44","nl5"],
                ["nl5","nl25"],
                ["nl25","nl44"],
                ["nl44","nl25"],
                ["nl25","nl49"],
                ["nl49","nl44"],
                ["nl44","nl49"],
                ["nl49","nl51"],
                ["nl51","nl44"],
                ["nl10","nl1"],
                ["nl1","nr7"],
                ["nr7","nl10"],
                ["nr18","nr16"],
                ["nr16","nr26"],
                ["nr26","nr18"],
                ["nr26","nr16"],
                ["nr16","nr22"],
                ["nr22","nr26"],
                ["nl33","nl38"],
                ["nl38","nl21"],
                ["nl21","nl33"],
                ["nr12","nl2"],
                ["nl2","nl11"],
                ["nl11","nr12"],
                ["nl23","nl17"],
                ["nl17","nl19"],
                ["nl19","nl23"],
                ["nr24","nr7"],
                ["nr7","nr41"],
                ["nr41","nr24"],
                ["nl11","nl2"],
                ["nl2","nl14"],
                ["nl14","nl11"],
                ["nl3","nr13"],
                ["nr13","nr6"],
                ["nr6","nl3"],
                ["nr52","nr63"],
                ["nr63","nr56"],
                ["nr56","nr52"],
                ["nl42","nl35"],
                ["nl35","nl15"],
                ["nl15","nl42"],
                ["nr20","nr37"],
                ["nr37","nr31"],
                ["nr31","nr20"],
                ["nl8","nl15"],
                ["nl15","nl3"],
                ["nl3","nl8"],
                ["nl53","nl36"],
                ["nl36","nl43"],
                ["nl43","nl53"],
                ["nl53","nl50"],
                ["nl50","nl57"],
                ["nl57","nl53"],
                ["nr13","nr32"],
                ["nr32","nr40"],
                ["nr40","nr13"],
                ["nr39","nr28"],
                ["nr28","nr52"],
                ["nr52","nr39"],
                ["nr65","nr63"],
                ["nr63","nr59"],
                ["nr59","nr65"],
                ["nr63","nr52"],
                ["nr52","nr59"],
                ["nr59","nr63"],
                ["nl53","nl64"],
                ["nl64","nl62"],
                ["nl62","nl53"],
                ["nl64","nl66"],
                ["nl66","nl62"],
                ["nl62","nl64"],
                ["nl10","nl9"],
                ["nl9","nl1"],
                ["nl1","nl10"],
                ],
    //--tri col--
            "triangles":[
                ["id1:", "id2:", "id3:"],
                ["nl33","nl21","nl14"],
                ["nr12","nl11","nr20"],
                ["nl23","nl19","nl27"],
                ["nr60","nr30","nr54"],
                ["nr54","nr30","nr37"],
                ["nr24","nr41","nr48"],
                ["nl11","nl14","nl21"],
                ["nl3","nr6","nl0"],
                ["nr52","nr56","nr46"],
                ["nl42","nl15","nl8"],
                ["nl34","nl61","nl38"],
                ["nl38","nl61","nl55"],
                ["nr20","nr31","nr12"],
                ["nl8","nl3","nl0"],
                ["nl53","nl43","nl50"],
                ["nl53","nl57","nl64"],
                ["nr13","nr40","nr6"],
                ["nr39","nr52","nr45"],
                ["nr52","nr29","nr59"],
                ["nr47","nr48","nr41"],
                ["nl62","nl36","nl53"],
                ["nr7","nr24","nr4"],
                ["nr7","nr4","nl10"],
                ["nl9","nl10","nl5"],
                ["nl9","nl5","nl44"],
                ["nl44","nl5","nl25"],
                ["nl44","nl25","nl49"],
                ["nl44","nl49","nl51"],
                ["nl10","nl1","nr7"],
                ["nr18","nr16","nr26"],
                ["nr26","nr16","nr22"],
                ["nl33","nl38","nl21"],
                ["nr12","nl2","nl11"],
                ["nl23","nl17","nl19"],
                ["nr24","nr7","nr41"],
                ["nl11","nl2","nl14"],
                ["nl3","nr13","nr6"],
                ["nr52","nr63","nr56"],
                ["nl42","nl35","nl15"],
                ["nr20","nr37","nr31"],
                ["nl8","nl15","nl3"],
                ["nl53","nl36","nl43"],
                ["nl53","nl50","nl57"],
                ["nr13","nr32","nr40"],
                ["nr39","nr28","nr52"],
                ["nr65","nr63","nr59"],
                ["nr63","nr52","nr59"],
                ["nl53","nl64","nl62"],
                ["nl64","nl66","nl62"],
                ["nl10","nl9","nl1"],
                ],
        }
    }



    As seen above, It's just locations of nodes and beams, and I don't know how to get those ported into another JBEAM (such as the locations of the nodes and beams into an official jbeam, such as a etkc_bumper_F).

    Any help?
     
  2. Blijo

    Blijo
    Expand Collapse

    Joined:
    Apr 27, 2016
    Messages:
    1,987
    • Agree Agree x 1
  3. aljowen

    aljowen
    Expand Collapse

    Joined:
    Oct 21, 2012
    Messages:
    1,653
    Irrespective of how you get that jbeam into the game, 67 nodes seems like rather a lot for a front bumper. Typically I would expect somewhere closer to 20 nodes. So I would suggest that you create another using a simpler design.

    That said, I would very strongly advise against using a car as your first jbeam project. Cars are *very* complex. You should start with something much simpler, such as a box. Then work up from there as you learn.

    If it must be a car, then it should be a very simple one. This guide is to the best of my knowledge a good one (that uses blender -> jbeam export):
    https://wiki.beamng.com/Introduction_to_Vehicle_Creation


    If you want a basic introduction to how jbeam physics work, this guide is a decent starting point: https://wiki.beamng.com/JBeam_Physics_Theory
    For documentation, go here: https://wiki.beamng.com/Vehicle_Creation_Megapage
     
    • Like Like x 1
    • Informative Informative x 1
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice