Help With Jbeam Please

Discussion in 'Land' started by Beetleman, Sep 5, 2024.

  1. Beetleman

    Beetleman
    Expand Collapse

    Joined:
    Dec 15, 2023
    Messages:
    65
    Hi all Yesterday I was trying to make a Miramar convertible. All went well with the modelling and the dae file and i saved the body as miramar_body_con, The body appeared in the parts selection menu and all worked well no issues other than the car was Lhd not Rhd, and the other thing was there were nodes where the roof was i tried the jbeam blender editor and deleted the nodes and saved the jbeam file as the name above but no luck so i went to the manual way where i had to delete the nodes in the code refreshed no luck I've spent 5 hrs trying to get it to work and now i am writing here all suggestions will be taken into consideration
    Link of what it looks like
     
  2. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,353
    They are probably nodes from the glass
     
  3. Beetleman

    Beetleman
    Expand Collapse

    Joined:
    Dec 15, 2023
    Messages:
    65
    Thanks so much, is there a way to remove them.i have the glass removed in parts editor though? And it looks more like a pillar node?I'm glad someone pointed it out. I am a huge fan of your mods.
     
  4. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,353
    If they are not in the glass then you should be able to normally manually remove them in the body Jbeam file
     
  5. Beetleman

    Beetleman
    Expand Collapse

    Joined:
    Dec 15, 2023
    Messages:
    65
    Yes I have tried doing that it made no difference I think it might be taking the nodes from the og body?
     
  6. oioioioo

    oioioioo
    Expand Collapse

    Joined:
    Jul 1, 2019
    Messages:
    98
    I don't know if you're still having the same issue, but a good way of indentifying the problem-nodes is using the in-game debugger.

    In "Vehicle config" where you change vehicle parts and make configs, there's a tab at the top that says "Debug". In there is an option
    for "Node Visualization," and "Node Text". Set "Node Visualization" to "Simple," and set "Node Text" to "Names".

    This will show you the exact names of the nodes that are giving you the problem, simply write them down and then start looking through
    the "Nodes" sections of the Miramar's .Jbeam files and searching the exact node-names until you find what part they're located in, then
    all you have to do is figure out whether they need to be deleted entirely, or simply moved.

    I hope this helps, good luck with your mod! I always like a good convertible mod lol
     
  7. Beetleman

    Beetleman
    Expand Collapse

    Joined:
    Dec 15, 2023
    Messages:
    65
    Thanks mate, turns out my mod never made it into the game it was a mod i had already installed and that is why none of the code mods were helping, do you have any clue on how to make a custom body appear in the vehicle config editor, i tried making and renaming it but it would not appear? Thanks for the support!
     
  8. oioioioo

    oioioioo
    Expand Collapse

    Joined:
    Jul 1, 2019
    Messages:
    98
    Yes, you need to do a couple of things. Firstly, open your .Jbeam file for your custom body and change a couple lines,
    pictured below:
    Capture.png
    (Click the image to view it a little larger)
    (I forgot this at first, but you will also need to ensure your "flexbodies" section names the exact model name of your custom body as it appears in your 3D software, Blender etc.)

    Next, once you have your .Jbeam changed so the game recognizes it, you have to put it somewhere the game can actually find it. You could pack it into a proper, zipped mod, or put it in the unpacked folder within your mods folder, but that still requires it to be packed properly. I find for very small (1 or 2 file) mods, it's easiest to put it here:
    C:\Users\User\AppData\Local\BeamNG.drive\0.32\vehicles\miramar
    (It's "vehicles\miramar" in this case, but it could be any of the other vanilla vehicles, or even a modded vehicle if you're making a mod of a mod. And where "0.32" is, just make sure it's whatever version of the game you're currently running, or nothing will show up lol)

    (Please note as well that you will need to place every file that makes up your mod into the location listed above. Models, .Jbeams, .Jsons, textures, everything, or pieces will be missing. You should also make a backup of these files somewhere besides the "vehicles" folders, as cache clearing will remove them and you could lose progress.)

    Here's the official BeamNG Documentation page, it's very helpful once you have a loose understanding of the topics at hand.
    https://documentation.beamng.com/modding/vehicle/intro_jbeam/partslotsystem/ (How to use the parts system)
    https://documentation.beamng.com/modding/vehicle/intro_jbeam/common_issues/ (Common problems)
    https://documentation.beamng.com/modding/vehicle/sections/flexbodies/ (Assigning flexbodies)
    https://documentation.beamng.com/modding/ (And just modding the game in general)

    I hope this is understandable and helpful lol...
    Good luck
     
  9. Beetleman

    Beetleman
    Expand Collapse

    Joined:
    Dec 15, 2023
    Messages:
    65
    Thanks mate will look at it later on. Glad someone went into detail.
     
  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