Solved First time modder needs some help

Discussion in 'Mod Support' started by Bravo_CJ, Dec 23, 2023.

  1. Bravo_CJ

    Bravo_CJ
    Expand Collapse

    Joined:
    Jul 10, 2023
    Messages:
    65
    So...to practice modding, I am trying to make a cube for BeamNG.drive. In the future I'm planning to make it fully adjustable with variable node weight, beam spring, node material, skin, etc. However, for now I just want to spawn it in-game, and I can't do it. Whenever I try to spawn it, I get a bunch of lua error messages in my console, and the vehicle doesn't spawn at all. The cube does actually show up in the vehicle selector. What do I need to do to make it spawn?
    I'll attach the files I have right now to this message. If you know what's going wrong with them, please tell me, thank you very much!
     

    Attached Files:

  2. Bravo_CJ

    Bravo_CJ
    Expand Collapse

    Joined:
    Jul 10, 2023
    Messages:
    65
    Guys I really need some help on this topic, thank you!
     
  3. SSRG

    SSRG
    Expand Collapse

    Joined:
    Jun 17, 2023
    Messages:
    4,027
    - Most of the beams section is missing commas
    - Triple check for any missing brackets, commas, quotations etc
    - Refnodes should be before nodes (I think)
    - Put information at the start of the jbeam, like name, author and value, like it’s seen on vanilla parts. That might help.
     
  4. Bravo_CJ

    Bravo_CJ
    Expand Collapse

    Joined:
    Jul 10, 2023
    Messages:
    65
    Thank you! I'll try these out and see if my problem gets resolved
     
    • Like Like x 2
  5. Bravo_CJ

    Bravo_CJ
    Expand Collapse

    Joined:
    Jul 10, 2023
    Messages:
    65
    Turns out the JBeam had a lot of formatting issues. However, the most important issue making the vehicle unspawnable is, in fact, the lack of the "information" section. That's quite interesting..."information" shouldn't be something so essential, bot whatever lol
    --- Post updated ---
    However, I still can't make the flexbody mesh work. I've named the .dae file "cube", but it seems the game can't find it. What should I do?
    upload_2024-4-24_23-7-42.png
     
  6. SSRG

    SSRG
    Expand Collapse

    Joined:
    Jun 17, 2023
    Messages:
    4,027
    Is the mesh itself called cube?
     
  7. Bravo_CJ

    Bravo_CJ
    Expand Collapse

    Joined:
    Jul 10, 2023
    Messages:
    65
    yup, it's called cube.dae
    upload_2024-4-24_23-21-59.png
     
  8. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,073
    But what is the name in Blender? File name doesn't matter
     
    • Like Like x 1
  9. Bravo_CJ

    Bravo_CJ
    Expand Collapse

    Joined:
    Jul 10, 2023
    Messages:
    65
    Oh that's what matters? well I guess that's what's causing the problem
    it's called "object" or something in blender iirc
    --- Post updated ---
    Sooo... I checked out blender and found that it's named "Cube" instead of "cube", so I simply replaced the mesh name's capital letter
    and I got this
    upload_2024-4-24_23-57-38.png
    Yup, problem is solved. Thank you very much!
    --- Post updated ---
    (it's kinda deformed since I dragged it around to test out deformation)
     
  10. thetrainguy

    thetrainguy
    Expand Collapse

    Joined:
    Mar 4, 2024
    Messages:
    144
    Another good way to start is to make a car in automation and edit the jbeam(they are very bad).
     
  11. Bravo_CJ

    Bravo_CJ
    Expand Collapse

    Joined:
    Jul 10, 2023
    Messages:
    65
    The thing is, I don't have automation.
    Also, if we are going to edit JBeams, why don't we just start with vanilla JBeams?
     
  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