1. Trouble with the game?
    Try the troubleshooter!

    Dismiss Notice
  2. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice
  3. Before reporting issues or bugs, please check the up-to-date Bug Reporting Thread for the current version.
    0.32 Bug Reporting thread
    Solutions and more information may already be available.

Help with "Introduction to Vehicle Creation" Guide

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by Cincinnatus, Aug 28, 2020.

  1. Cincinnatus

    Cincinnatus
    Expand Collapse

    Joined:
    Aug 25, 2020
    Messages:
    643
    I've done everything in the guide up to this section in the guide.

    We're almost ready to load the vehicle in BeamNG.drive to test it out, but first, we'll need to define a name to appear in the vehicle browser. To do this we'll create a small text file called info.json, and type in the following text:

    {
    "Name":"Tug",
    "Author":"YourNameHere",
    "Type":"Car",
    "default_pc":"default",
    "colors":{
    "Pearl White": "1 1 1 1"
    }
    }
    Now, with a JBeam containing nodes and beams and a name appearing in the vehicle selector, it's possible to load the vehicle in-game. Open up BeamNG.drive, go to one of the grid maps, and find your vehicle in the browser.

    Since there's no visible model for it yet, you'll have to press K to turn on JBeam debug (or Ctrl-B to show beams) in order to actually see it. If all has gone well, the shell of the car will be fairly rigid and self-supporting. If not, you'll have to go back and add more connecting edges in Blender, re-export the JBeam and copy the revised beam section into the main JBeam file.

    At this stage, only the nodes will be able to collide with other vehicles (we'll cover collision triangles later), but you may still want to try hitting the shell with things to test its strength.



    I have made the jbeam file and the info.json. The problem is that the guide doesn't say where to put these two files so should I put them both in the car's folder or is there something else wrong with it? Maybe I did something wrong with one of the files but it is unlikely that it is the info.json since it was pasted directly from the guide.
     
  2. umustbeloggedintododat

    umustbeloggedintododat
    Expand Collapse

    Joined:
    Feb 16, 2019
    Messages:
    1,383
    It goes inside the standard vehicle layout

    YourVehicle.zip > Vehicles > YourVehicle > Mod files
     
  3. Cincinnatus

    Cincinnatus
    Expand Collapse

    Joined:
    Aug 25, 2020
    Messages:
    643
    Ok thanks!
    --- Post updated ---
    both the the info.json and the jbeam?
     
  4. umustbeloggedintododat

    umustbeloggedintododat
    Expand Collapse

    Joined:
    Feb 16, 2019
    Messages:
    1,383
    yeah
     
  5. Cincinnatus

    Cincinnatus
    Expand Collapse

    Joined:
    Aug 25, 2020
    Messages:
    643
    Ok thanks!
     
  6. umustbeloggedintododat

    umustbeloggedintododat
    Expand Collapse

    Joined:
    Feb 16, 2019
    Messages:
    1,383
    and unpack it to make live changes to the car
     
  7. Cincinnatus

    Cincinnatus
    Expand Collapse

    Joined:
    Aug 25, 2020
    Messages:
    643
  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