Solved Jbeam error [SOLVED]

Discussion in 'Mod Support' started by Kevin15673, Jan 3, 2018.

  1. Kevin15673

    Kevin15673
    Expand Collapse

    Joined:
    Jan 28, 2016
    Messages:
    136
    I'm getting these errors when I try to spawn the mod i'm working on.

    "unable to decode JSON: vehicles/Camaro/Body.jbeam"
    and
    "JSON decoding error: lua/common/json.lua:74: Expected dictionary seperator ':' or '=' instead of ' '" ' near line 239, "beams": [
     
  2. psy_lo

    psy_lo
    Expand Collapse

    Joined:
    Jul 3, 2015
    Messages:
    223
    ...something not right nearly the line 239. Or It can be also a..... try to check if at the end of jbeam there is the right final } sign.

    I remember when I spend to much time to find error in my first jbeam... it's not almost easy...

    If you don't found, let me try to investigate the purpose of this error!
     
  3. Kevin15673

    Kevin15673
    Expand Collapse

    Joined:
    Jan 28, 2016
    Messages:
    136
    The ending ' ] ' is there, I don't know what causes the issue. But heres the zip.
     

    Attached Files:

  4. psy_lo

    psy_lo
    Expand Collapse

    Joined:
    Jul 3, 2015
    Messages:
    223
    Ok, check the line 236, there is crappy characters where is {"group":""},

    camaro_bne.jpg
     
  5. Kevin15673

    Kevin15673
    Expand Collapse

    Joined:
    Jan 28, 2016
    Messages:
    136
    it's still giving me the error about the stuff on line 239
     
  6. psy_lo

    psy_lo
    Expand Collapse

    Joined:
    Jul 3, 2015
    Messages:
    223
    Try with the file I checked, as you can see on the screenshot, the jbeam work fine without error msg!
     

    Attached Files:

  7. Kevin15673

    Kevin15673
    Expand Collapse

    Joined:
    Jan 28, 2016
    Messages:
    136
    alright, i'll update my file with yours then try and spawn it in-game again
    --- Post updated ---
    Works fine, other than my body dosent render... any idea why that is? and also the model kinda spins around on its own.
     
  8. crashmaster

    crashmaster
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    1,812
    for that, in blender do ctrl+a and reset the location.
    upload_2018-1-2_21-34-45.png
     
  9. psy_lo

    psy_lo
    Expand Collapse

    Joined:
    Jul 3, 2015
    Messages:
    223
    in flexbody section of your jbeam the mesh name is ["CarBody", ["1"]], but in blender mesh name is "Body". Simply replace CarBody with Body in the jbeam and it will be ok!
     
  10. Kevin15673

    Kevin15673
    Expand Collapse

    Joined:
    Jan 28, 2016
    Messages:
    136
    A few of the nodes are swinging out of their places, i'm assuming this is because I don't have something done correctly in the jbeam, but otherwise its looking pretty good.
     

    Attached Files:

    • NewBitmapImage.png
  11. psy_lo

    psy_lo
    Expand Collapse

    Joined:
    Jul 3, 2015
    Messages:
    223
    Excellent!

    U have a lot of courage to start from scratch a complete vehicle for BNG. I respect that, I starting like this with BNG modding. I know how exciting it is, but it's a path that never ends ....

    If I can suggest something to you so that you can save lot of time! I found a good tutorial on this forum, which explains how to easily import your new project into an already existing project from official BNG devs vehicles.

    https://www.beamng.com/threads/tutorial-viewing-your-mesh-on-an-existing-vehicles-jbeam.41130/

    For a Camaro, a perfect starting base with a Barstow or a Moonhawk. Like this, you have directly nice working mod that you can totally adapt and evolve to your model.

    --- Post updated ---
    Nodes swinging because they are not attached with 3 point minimum or more to a beam :)
     
    #11 psy_lo, Jan 3, 2018
    Last edited: Jan 3, 2018
  12. Kevin15673

    Kevin15673
    Expand Collapse

    Joined:
    Jan 28, 2016
    Messages:
    136
  13. workclock1©

    workclock1©
    Expand Collapse

    Joined:
    Jan 5, 2016
    Messages:
    2,555
    I would probably change the title of the thread since (even with the solved) looks like you are still having jbeam issues, probably just me.
     
  14. Kevin15673

    Kevin15673
    Expand Collapse

    Joined:
    Jan 28, 2016
    Messages:
    136
    jeez, you just follow me everywhere I go, don't you? :p
     
  15. workclock1©

    workclock1©
    Expand Collapse

    Joined:
    Jan 5, 2016
    Messages:
    2,555
    I guess so, sorry, now you can keep the thread how ever you want, i don't care.

    now go work on that Camaro and stop me from bugging you
     
  16. Kevin15673

    Kevin15673
    Expand Collapse

    Joined:
    Jan 28, 2016
    Messages:
    136
    im working on it and talking to you at the same time, also, its fine, the same could be said for me since i've been on a few of your threads
     
  17. psy_lo

    psy_lo
    Expand Collapse

    Joined:
    Jul 3, 2015
    Messages:
    223
  18. Kevin15673

    Kevin15673
    Expand Collapse

    Joined:
    Jan 28, 2016
    Messages:
    136
  19. psy_lo

    psy_lo
    Expand Collapse

    Joined:
    Jul 3, 2015
    Messages:
    223
  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