OFFICIAL Blender JBeam Editor

Discussion in 'Content Creation' started by Leeloo, Sep 20, 2023.

  1. JoshD

    JoshD
    Expand Collapse

    Joined:
    Dec 31, 2020
    Messages:
    1,201
    After the game update it seems to be working fine.
     
    • Like Like x 1
  2. angelo234

    angelo234
    Expand Collapse
    Programmer
    BeamNG Team

    Joined:
    Aug 11, 2017
    Messages:
    585
    You can download it and see the current progress, but I warn you its not in a ready to use state :)

    I still have some work left to do :)
     
    • Like Like x 1
  3. SaiMonicL

    SaiMonicL
    Expand Collapse

    Joined:
    Aug 18, 2021
    Messages:
    239
    alright, but do the beams and triangle export already work? thats the main thing i want, also, you are doing a great job, just make the update great
     
  4. JoshD

    JoshD
    Expand Collapse

    Joined:
    Dec 31, 2020
    Messages:
    1,201
    I guess I was wrong, it's still doing it randomly. No errors that I can tell, it's just not saving the positions of the nodes. It also seems to be random, some nodes will move while others just stay put.
     
  5. angelo234

    angelo234
    Expand Collapse
    Programmer
    BeamNG Team

    Joined:
    Aug 11, 2017
    Messages:
    585
    Beam exporting is almost done but triangle exporting is actually a different animal due to how Blender handles triangles. Triangles are defined by beams in Blender which is different from BeamNG which are defined by nodes, meaning having to do workarounds...
     
  6. angelo234

    angelo234
    Expand Collapse
    Programmer
    BeamNG Team

    Joined:
    Aug 11, 2017
    Messages:
    585
    Hmm have you by chance moved around the exported JBeam file?
     
  7. JoshD

    JoshD
    Expand Collapse

    Joined:
    Dec 31, 2020
    Messages:
    1,201
    You mean as in the location of the file itself? I'd have to say no. I've tried saving the file imported & saving it as a new jbeam file & neither seems to work.
     
  8. angelo234

    angelo234
    Expand Collapse
    Programmer
    BeamNG Team

    Joined:
    Aug 11, 2017
    Messages:
    585
    Hmm I'm not sure then. Does starting a new Blender scene help out? If not, if you don't mind sending me the .blend file as well as the JBeam file you are working on so I can see what the issue is (PM me if you want).
     
  9. SaiMonicL

    SaiMonicL
    Expand Collapse

    Joined:
    Aug 18, 2021
    Messages:
    239
    oh damn, well i hope you get it working, i know this is a dumb question and everyone hates it, but do you know when it could be released?
     
  10. [-RM-]isawben

    [-RM-]isawben
    Expand Collapse

    Joined:
    Jun 20, 2022
    Messages:
    11
    I'm having an issue with one of my cars. When I import the jbeam not all of the parts are there, no errors, but then if I try to export the jbeam it fails and I get an error. See, I was adding a new slot for a hood. I had blender open with the dae and the jbeam already imported. I moved some nodes to make room for the hood, then exported it. Then I pasted the code for my hood into the jbeam, deleted the jbeam in blender and imported it again. The hood successfully appeared so I moved the nodes where I wanted them. But on exporting to jbeam I received this error: blendererror.jpg

    Now if I import that jbeam file there are 2 slots that don't import, "ripper_steering_wheel" and "ripper_gauges". The steering slot is referenced in the error. I didn't change anything with those slots. Restarting blender didn't help. It only seems to be this jbeam file, other jbeam files seem to import all of their parts properly. I get the same error on exporting, if I import the problem jbeam to an empty scene with nothing else in it.
     
  11. angelo234

    angelo234
    Expand Collapse
    Programmer
    BeamNG Team

    Joined:
    Aug 11, 2017
    Messages:
    585
    Hmm could I take a look at the JBeam file (PM me if you want)? Maybe there's a syntax error.
     
  12. angelo234

    angelo234
    Expand Collapse
    Programmer
    BeamNG Team

    Joined:
    Aug 11, 2017
    Messages:
    585
    Not sure but hopefully within a month. I also need to do testing to make sure stuff is as bug free as possible and doesn't break and cause chaos :)
     
  13. [-RM-]isawben

    [-RM-]isawben
    Expand Collapse

    Joined:
    Jun 20, 2022
    Messages:
    11
    Thanks, I'll try to comb it over before I take up your time, though.
    --- Post updated ---
    It was indeed a syntax error, but in the slot above the steering slot, so not where I was looking. It was an extra } near the very end of the previous slot (which was still able to import into blender, btw). Thanks for pointing me towards the syntax. Is there any way the error report could more accurately point out syntax errors? Perhaps that's outside the scope of the plugin.

    Thanks again for your work on this, excited for the next update.
     
    • Like Like x 1
  14. SaiMonicL

    SaiMonicL
    Expand Collapse

    Joined:
    Aug 18, 2021
    Messages:
    239
    if you want i am available for testing, if needed, i will fill out a form for not spreading anything, i would love to test the jbeam editor and just have fun, it also increases my work speed, and probably yours too, so pm me (idk if you can) if you want me to test.
     
    • Like Like x 1
  15. angelo234

    angelo234
    Expand Collapse
    Programmer
    BeamNG Team

    Joined:
    Aug 11, 2017
    Messages:
    585
    Nice you found the issue :) Should have mentioned this before, but we actually made a prototype VSCode JBeam Editor plugin which includes a JBeam syntax checker and also can visualize the JBeam part (no editing tho) https://marketplace.visualstudio.com/items?itemName=beamng.jbeam-editor

    In the future, the Blender Editor and the VSCode plugin are most likely going to be merged into one tool.
     
    • Like Like x 2
  16. angelo234

    angelo234
    Expand Collapse
    Programmer
    BeamNG Team

    Joined:
    Aug 11, 2017
    Messages:
    585
    Appreciate it :) When the time comes to test, I could just make an announcement here and you and others that would like to test it out can simply just download the plugin from GitHub to test it out.
     
    • Agree Agree x 1
  17. SaiMonicL

    SaiMonicL
    Expand Collapse

    Joined:
    Aug 18, 2021
    Messages:
    239
    that would be great! i ofcourse want to help to make this the best it can be for modders like me, because i find making jbeam a hard task, but it did get easier with this, i just want the possibility to export triangles and beams, that all and it will come hopefully in early or mid january, just hit me up on discord if you want: saimonicl
     
    • Like Like x 1
  18. JlnPrssnr

    JlnPrssnr
    Expand Collapse

    Joined:
    Jun 15, 2016
    Messages:
    433
    Tried the VSCode addon, which sounds incredibly promising. I was able to pick the file association, but now it's stuck on 'Connecting to BeamNG', any ideas how I can fix this?
    upload_2023-12-31_0-46-50.png
    interesting, the 3D preview works, despite it still trying to connect:
    upload_2023-12-31_0-51-57.png
     
  19. Kryotex

    Kryotex
    Expand Collapse

    Joined:
    Oct 16, 2012
    Messages:
    257
    Any chance of a 3ds max plugin version?
     
  20. angelo234

    angelo234
    Expand Collapse
    Programmer
    BeamNG Team

    Joined:
    Aug 11, 2017
    Messages:
    585
    The "Connecting to BeamNG" message you don't need to worry about. The message goes away when you open the game and for now I believe just displays some JBeam statistics about the current vehicle in game.
     
    • Like Like 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