Tutorial: Making A Custom Part For A Vanilla Car

Discussion in 'Content Creation' started by AwesomeCarlPlays, Sep 26, 2021.

  1. AwesomeCarlPlays

    AwesomeCarlPlays
    Expand Collapse

    Joined:
    Jan 21, 2021
    Messages:
    265
    I dont know if anyone has done a thread on this but I thought I would make a "super simple" tutorial on how to add a custom part to a car.
    Note: for this tutorial to work you need a IQ of above 10. If its below 10, then well, too bad.
    For this example I will be adding a custom front bumper to the sunburst
    ----------------------------------------------------------------------------------
    How to get to the game files:
    Go to steam and press this and it should open the game files.
    upload_2021-9-26_15-25-46.png
    Then you can go to the vehicles folder to access all the stuff
    upload_2021-9-26_15-26-31.png
    ----------------------------------------------------------------------------------
    Tools you will need:
    - Notepad
    - Blender

    Step 1: Creating your mod folder
    Step one is to go to your mods folder which you can open by clicking manage user folder in the launcher and opening in explorer.
    upload_2021-9-26_15-7-38.png
    Now go inside mods > unpacked (create the "unpacked" folder if you dont have one)
    upload_2021-9-26_15-11-27.png
    Now right click the empty space and click "new" then click "folder"
    Now rename the folder to whatever you want your mod to be called. Heres mine
    upload_2021-9-26_15-12-56.png
    Now in that folder, create a folder called "vehicles"
    upload_2021-9-26_15-13-34.png
    In vehicles, now create a folder with the codename of your car. If youre unsure check the vehicles folder in the game files (look at the top of the page to learn how to get to it) > content > vehicles or just ask below. The sunburst is simply called "sunburst", so I will create a "sunburst" folder.
    upload_2021-9-26_15-19-3.png
    Now go to the game files and find the zip file of your car, for me I will be opening "sunburst.zip".
    Now go inside and find the .jbeam file of the part you want to make. I will be using sunburst_bumper_f.jbeam
    upload_2021-9-26_15-33-53.png
    Now make a copy of this file and add it to your mod and name it to something different.
    upload_2021-9-26_15-36-1.png
    I have added fl after it for facelift.
    ----------------------------------------------------------------------------------

    Step 2: Preparing your model for BeamNG
    upload_2021-9-26_15-1-39.png
    Here is my bumper that I will be adding to the sunburst. Now make sure to name it to something you can remember with f2 or fn + f2 (or just go to the top right list and name it there), I named it sunburst_bumper_f_wide_flsport. (since the original name was sunburst_bumper_f_wide)
    If your bumper is just a edited version of the original, you shouldn't need to worry about texturing, but if it is a custom model, you need to material properties and assign a texture, eg "sunburst" or "grille" I wont go into too much detail about texturing and modelling in this tutorial. I have made a new texturing tutorial here
    upload_2021-9-26_15-6-15.png
    Now you can export the model to your mods folder, you can name it anything you want.
    If you have multiple parts in your mod, you can keep them in the same .dae file.
    upload_2021-9-26_15-56-16.png
    I have put it inside my mod and named it faceliftsunburst.
    upload_2021-9-26_16-1-58.png

    ----------------------------------------------------------------------------------

    Step 3: Editing the Jbeam file
    Now open the jbeam file in your mod folder with notepad.
    It should look like this.
    upload_2021-9-26_16-7-10.png
    There are 2 steps that you need to do. First is make sure you only have your part in the jbeam. For example, in the sunburst bumper jbeam, the fog lights and sport RS bumpers are also in here, at the bottom.
    upload_2021-9-26_16-13-5.png
    So to delete these, delete the section from the part name to the 2 endings. Like this:
    upload_2021-9-26_16-14-49.png
    After doing that, the ending of the file should look like this:
    upload_2021-9-26_16-16-42.png
    Make sure the endings look exactly like that.
    Now the second step is to edit the code.
    There are 3 spots that you need to change. This applies to pretty much every part.
    The 1st spot is the name at the top
    upload_2021-9-26_16-18-57.png
    You can change that to anything
    The 2nd spot you need to change is the display name in the game parts selector
    upload_2021-9-26_16-20-9.png
    The 3rd thing you need to change is the flexbodies.
    upload_2021-9-26_16-25-58.png
    upload_2021-9-26_16-24-27.png
    Make sure to change that to the name of your part in blender, so for me its sunburst_bumper_F_wide_flsport
    As you can see I also changed the fog light frame but normally that wouldnt be there on other parts.
    If there are multiple flexbodies in the body, eg fog light in my case, then you can just leave it or delete the line. If your part involves glass, just ignore the lines that start with {"deformGroup".
    Now click save and close the file.
    upload_2021-9-26_16-29-55.png
    If your mod has multiple parts, the jbeams should still be in the same folder, as a different jbeam file.
    Now you should be done! Check if your mod appears in the mod manager. If not, try pressing Ctrl L.
    upload_2021-9-26_16-32-17.png
    Now you should be able to find your part in the parts selector, as you can see, I named my part Facelift Sport Front Bumper.
    upload_2021-9-26_16-35-33.png
    I hope you found this tutorial helpful, you can ask for help by replying to this thread.
    Do let me know if i forgor anything.
    Note if you want to publish your mod, you can just unpack your mod through the game mod manager.
     

    Attached Files:

    • upload_2021-9-26_15-36-13.png
    • upload_2021-9-26_16-21-32.png
    • upload_2021-9-26_16-23-53.png
    #1 AwesomeCarlPlays, Sep 26, 2021
    Last edited: Nov 1, 2021
    • Like Like x 13
  2. carsmin

    carsmin
    Expand Collapse

    Joined:
    Jan 7, 2018
    Messages:
    2,049
    cool but this is just meshslapping
     
  3. ThatCarGuyDownTheStreet

    ThatCarGuyDownTheStreet
    Expand Collapse

    Joined:
    Mar 30, 2017
    Messages:
    3,253
    you're doing too much
     
    • Agree Agree x 2
  4. AwesomeCarlPlays

    AwesomeCarlPlays
    Expand Collapse

    Joined:
    Jan 21, 2021
    Messages:
    265
    Well, this is for people who want to start modding, this is the first step
     
    • Agree Agree x 8
  5. carsmin

    carsmin
    Expand Collapse

    Joined:
    Jan 7, 2018
    Messages:
    2,049
    Yeah Its pretty good.
    But I'd suggest add things like editing the jbeam, glowmaps, etc
     
  6. AwesomeCarlPlays

    AwesomeCarlPlays
    Expand Collapse

    Joined:
    Jan 21, 2021
    Messages:
    265
    I think I'll make a seperate tutorial for that later (and also idek how to do glowmaps)
     
  7. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,057
    For a single bumper that has a similar shape to original, it's not too big of a problem, if it still fits the shape and all.
     
    • Agree Agree x 7
  8. carsmin

    carsmin
    Expand Collapse

    Joined:
    Jan 7, 2018
    Messages:
    2,049
    yeah.
    But editing it to fit is better. And its needed when its really different. dunno
     
    • Agree Agree x 1
  9. SevenToaster509

    SevenToaster509
    Expand Collapse

    Joined:
    Aug 24, 2021
    Messages:
    64
    Nice, can you make a tut on custom textures?
     
  10. AwesomeCarlPlays

    AwesomeCarlPlays
    Expand Collapse

    Joined:
    Jan 21, 2021
    Messages:
    265
    I can do a tutorial maybe on putting vanilla textures on your models lol, but idk about custom textures
     
  11. Astra115

    Astra115
    Expand Collapse

    Joined:
    Sep 5, 2021
    Messages:
    6
    Not sure if I'm a bit stupid but how do you import the front bumper to blender?
     
  12. Turbo49>

    Turbo49>
    Expand Collapse

    Joined:
    Apr 1, 2021
    Messages:
    3,098
    Open the .dae of the car in it's zip located in content, every part it uses will be here.
     
    • Agree Agree x 1
  13. Fredr3x

    Fredr3x
    Expand Collapse

    Joined:
    Sep 1, 2020
    Messages:
    714
    I know this is technically bumping, but I just want to say this really did help me to make my first project in-game, however; How do I make a custom JBeam? Thank you!
    Must've messed something up;
     

    Attached Files:

    • Screenshot17374.png
    #13 Fredr3x, Mar 20, 2022
    Last edited: Mar 20, 2022
  14. AwesomeCarlPlays

    AwesomeCarlPlays
    Expand Collapse

    Joined:
    Jan 21, 2021
    Messages:
    265
    You probably renamed something or you could try clearing cache. With jbeam, if its just a bumper, you can try just going into the node postions and moving them, you can get help from the Modding for Dummies discord server https://discord.gg/39dvN7z
     
    • Like Like x 1
  15. Fredr3x

    Fredr3x
    Expand Collapse

    Joined:
    Sep 1, 2020
    Messages:
    714
    Thank you man, I will try playing around with it, could it also be that it isn’t picking up my blender .dae file? Thanks man :) I’ll have a look
     
  16. ZMH_Gamer

    ZMH_Gamer
    Expand Collapse
    Banned

    Joined:
    Feb 6, 2022
    Messages:
    89
    Hey. How should i make a led lightbar on midsize? (1996 to 2000 Ibishu Pessima.)
    Because. It wasn't on the BeamNG.Drive game last time.
     
  17. Fredr3x

    Fredr3x
    Expand Collapse

    Joined:
    Sep 1, 2020
    Messages:
    714
    There’s a guy on Beam forums who can help. His name is Kemro. Nice guy and there is a lot of work like texturing etc. Making light bars is his speciality, so he could help :)
     
  18. ZMH_Gamer

    ZMH_Gamer
    Expand Collapse
    Banned

    Joined:
    Feb 6, 2022
    Messages:
    89
    I don't know. He said. It's hard to make the lightbar. :(
     
  19. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,057
    It's hard to make everything, there isn't really anything easy
     
    • Agree Agree x 1
  20. ZMH_Gamer

    ZMH_Gamer
    Expand Collapse
    Banned

    Joined:
    Feb 6, 2022
    Messages:
    89
    Yes. Okay about your quote.
     
  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