1. Intel iGPU (6xx series) crashes
    Fixed drivers available!
    Instructions here

    Dismiss Notice

(Tutorial) How to improve your automation cars with file editing

Discussion in 'Content Creation' started by TheCrySick, Jun 22, 2020.

  1. TheCrySick

    TheCrySick
    Expand Collapse

    Joined:
    Aug 10, 2018
    Messages:
    56
    Hi everyone! ^^

    I have made a tutorial to share with you everything I have learn to improve my cars! I will update this tutorial each time I learn something new, and if you want to help me and to share your experience, feel free to do it! :)

    Summary:
    • Preparation
    • Creation of a car pack
    • Add a new mechanical part to your car
    • Use the sound of an engine from a BeamNG base car
    • Tune the engine sound volume
    • Add configurations to your mod
    • Add suspension sounds to your car
    • Add an electric engine with a realistic torque curve to your car
    • Add a horn to your car
    • When the modifications are done
    Preparation:
    a. I highly recommend you install ‘’Peazip’’. It works perfectly, and it’s completely free. You can download it here: https://www.peazip.org/
    b. To help the images comprehension, I have a made a simple legend. It will help you find yourself on the pictures, and to help you understand what you have to do. Well, I hope so at least. The ‘’Part ID’’ is the code that BeamNG will use to identify the part, this ID have to be unique for each part. The ‘’Part name’’ is the name the part will appear under in BeamNG parts selector.

    c. The .JBEAM files can simply be open with the Windows notepad.
    d. You have to unzip the file of the car you want to edit. To do that, you just have to go in the folder where you can find all your automation exported cars, and to do just like on the following picture. It’s important to unzip your car in a new folder, it will save you time in additions to make manipulations a lot easier if you work on several cars at the same time.

    e. Once you have unzipped your car, open your new folder. You should see something like this:

    f. The .JBEAM files can be found in the ‘’vehicles’’ file, and then in the ‘’name_of_your_car’’ file.

    Creation of a car pack
    For example, I want to create a car pack which will contain the standard variant of my Initiale Mirage, and its GTF variant. You can put as many cars as you want in the pack with this method.
    a. Unzip the cars you want to add in your cars.
    b. Open the main folder of each car:

    c. Choose which car will be used ad base for the pack. I will name it ‘’Car 1’’ on the following pictures.
    d. Select the ‘’art’’ folder and the ‘’vehicles’’ folders of the other cars you want to add in the pack. (‘’Car 2’’ on the pictures)
    e. Copy those 2 folders in the main folder of ‘’Car 1’’. They should merge together.
    f. If you want to be sure that all the cars are now in the pack, you can open the ‘’vehicles’’ folder of ‘’Car 1’’. You should see a folder for each of the cars added to the pack:

    Add a new mechanical part to your car
    For example, I'm working on a pick-up truck. Currently, it uses a 9-speed automatic transmission, and I would like to install on it a 5-speed automatic gearbox with which I could block the differentials in BeamNG. However, the method is the same for all parts.
    a. Create a car with the part you want to add in Automation: for example, I create a "parts" variant of my pickup (it must have a different name from your original car!), on which I install the gearbox of my choice.
    b. Exports this "parts" variant in BeamNG.
    c. Unzip your "parts" car in the same way as your original car.
    d. Open the file. JBEAM corresponding to the engine for both cars:

    e. What you need to see then:

    f. In both files, you have to find the section corresponding to the transmission:

    g. You must change the ID of the new part only, as well as the name of the two parts (refer to the legend at the beginning of this tutorial), as you can see on this picture:

    h. Select and copy your entire part of interest. It starts with its ID, and ends just before the ID of the following part, as this image shows:

    i. Stick your new part just after the equivalent part in your original file, just before the ID of the next part:

    j. PARTICULAR CASE: Some gearboxes are made up of two parts, the gearbox itself, and a transfer case (‘'transfercase'’). If this is the case, then you need to add this part to your original file as well, if possible just after the gearbox you just added:

    k. Save your original file and close it. You don’t have to save your parts file.​

    Use the sound of an engine from a BeamNG base car
    I will stay on the same pickup for this example, I wish it had the sound of the V8 diesel of the Gavril D-series. However, the logic is the same for all sounds.
    a. Open the file. JBEAM matching your car's engine:

    b. Search for the .ZIP files of the BeamNG default Vehicles:

    c. Search for the file of the car with the engine sound you are interested in (''pickup'' as part of the D-series)
    d. Open it without unziping it using Peazip. For this, you just have to make a double click on the .ZIP file.
    e. Search for the file. JBEAM corresponding to the engine:

    f. PARTICULAR CASE: as you can see, the .JBEAM files of the D-series engines are not in the .ZIP file of the D-series. This is one thing that happens for a number of vehicles such as modern ETKs. Then, you have to look for the .ZIP file named ‘’common’’ among the vehicle files. The .JBEAM files of engines shared by several vehicles are found in this file. ZIP:

    g. Open the file. JBEAM of the engine you are interested in:

    h. In both files. JBEAM, and more precisely in the section corresponding to the engines, look for the subcategory ‘’soundConfig’’:

    i. Selects the entire subcategory of the engine with the sound you're interested in as in the image, then replaces the ‘’soundConfigExhaust’’ subcategory of the engine with your sound of interest, then use it to replace the ‘’soundConfig’’ subcategory of your engine:

    j. Save your original file and close it.​

    Tune the engine sound volume
    For example, the V12 engine of my Initiale Vaucluse is an ear destroyer, so I want to lower the volume of this engine.
    a. Open the file. JBEAM matching your car's engine and look for the subcategory ‘’soundConfig’’:

    b. Follow this link, you should see this:

    c. Enter the values the subcategory ‘’soundConfig’’ of your engine in the ‘’Old values’’ table. PLEASE NOTE, THIS IS A FRENCH DOCUMENT, SO YOU HAVE TO USE A COMMA IN THE PLACE OF A DOT

    d. Modify the volume change coefficient (less than 100% = lower volume / more than 100% = higher volume):

    e. Edit subcategory ‘’soundConfig’’ of your engine with the new values:

    Add configurations to your mod
    First, your car needs to have various parts available in the part selector of BeamNG.
    You'll find a tutorial here: https://wiki.beamng.com/Making_A_Custom_Configuration
    If you don’t want to bother with the info.json file, know that they are not essential, it will work without them.

    Add suspension sounds to your car
    a. Choose a default car of BeamNG, with the same kind of suspension as your car
    b. Search for the file of the car of your interest
    c. Open it without decompressing it using Peazip. For this, you just have to make a double click on the.zip file.
    d. Search for the .JBEAM file corresponding to the front or rear suspension (named ‘’sound file’’ on the pictures), and open it with the .JBEAM file of the front suspension of your car:

    e. In the sound file, use the shortcut ’’Ctrl+f’’ to open the search window, and then, research /event:>Vehicle>Suspension/:
    and
    f. In the original file of your front suspension, use the shortcut ’’Ctrl+f’’ to open the search windows, and then, research /"fs1r"{"precompressionRange"/:
    and
    g. In the sound file, select and copy this part, be careful to take only what you need, nothing more, and nothing less:

    h. Add this part in the original file of your front suspension, just like on this picture:

    i. Save your original file and close it.
    j. Open the .JBEAM file of the rear suspension of your car use the shortcut ’’Ctrl+f’’ to open the search window, and then, research /"rs1r"{"precompressionRange"/:
    and
    k. In the sound file, select and copy this part, be careful to take only what you need, nothing more, and nothing less:

    l. Add this part in the original file of your rear suspension, just like on this picture:

    Add an electric engine with a realistic torque curve to your car
    You can find an alternative tutorial here, which use a diferent methode
    For example, I want to add a 500hp electric engine on my Initiale Vaucluse.
    a. Open this Google Sheet doc: https://docs.google.com/spreadsheets/d/1kAbJ6vnqJv8AlazNdREqDwWNhQ-Sx9LR1NajPoZ4YcA/edit?usp=sharing
    b. You should see this:

    c. Choose the power you want to have for your engine:

    d. Download this .JBEAM file: https://drive.google.com/file/d/1npSCnf70buHsaGxKAcZMfoAXhIbyq8yW/view?usp=sharing
    e. Open it, you should see something like this:

    f. Enter the new torque values:

    g. Change the name of the engine:

    h. Now, to add this engine to your car, follow the tutorial “Add a new mechanical part to your car”.
    i. In the same .JBEAM file, under the electric engine, you will find 2 different CVT gearbox: a RWD variant and an AWD variant.
    j. Choose the gearbox you want (or the 2 if you want :p), and it to your car. Follow the tutorial “Add a new mechanical part to your car”.​

    Add a horn to your car
    Special thanks to @DaddelZeit :)
    a. Open the main .JBEAM file of your car, named name_of_your_car.JBEAM:

    b. Locate the ‘’slots’’ subpart:

    c. Copy this line: ["soundscape_horn", "soundscape_horn_7", "Horn"],
    d. Add it in your slots:

    When the modifications are done
    a. Go back to the base folder of your car:

    b. select the two files, ‘’vehicles’’ and ‘’art’’, then compress them:

    That's it! I hope it's clear :)
     
    #1 TheCrySick, Jun 22, 2020
    Last edited: Aug 2, 2020
    • Like Like x 7
  2. G-Farce

    G-Farce
    Expand Collapse

    Joined:
    Apr 1, 2016
    Messages:
    449
    Wow! I totally didn't see this. This is awesome. I've been out of the loop on automation stuff, very cool to see more tutorials and guides done this well!
     
    • Like Like x 1
  3. TheCrySick

    TheCrySick
    Expand Collapse

    Joined:
    Aug 10, 2018
    Messages:
    56
  4. TheCrySick

    TheCrySick
    Expand Collapse

    Joined:
    Aug 10, 2018
    Messages:
    56
    Hi everyone :)
    A new part of the tutorial is now available: How to add a suspension sound to your car!
     
    • Like Like x 2
  5. TheCrySick

    TheCrySick
    Expand Collapse

    Joined:
    Aug 10, 2018
    Messages:
    56
    A new part of the tutorial is ready: Add an electric engine with a realistic torque curve to your car!
     
  6. DaddelZeit

    DaddelZeit
    Expand Collapse

    Joined:
    Jul 17, 2019
    Messages:
    798
    How about editing tire grip? I remember the setting to be something like 'groundCoef' or something.
     
  7. TheCrySick

    TheCrySick
    Expand Collapse

    Joined:
    Aug 10, 2018
    Messages:
    56
    It's something I never do, but I will look if I can find how to do that :)
     
  8. DaddelZeit

    DaddelZeit
    Expand Collapse

    Joined:
    Jul 17, 2019
    Messages:
    798
    It's a small improvement. I've done it multiple times to decrease wheel spin. I used on my latest semi and my Pegasus P90. It can definitely increase Performance and make the Car more fun to drive. The only problem with my method it that it also increases the probability of rolling.
    --- Post updated ---
    And how about adding a horn?
     
  9. TheCrySick

    TheCrySick
    Expand Collapse

    Joined:
    Aug 10, 2018
    Messages:
    56
    This is why I don't do it, the only time I have touched the tires of one of my cars, it was to improve the grip of the hillclimb variant of my Initiale Vaucluse, and I have simply use the values of the race tires you can find in BeamNG. I think it's better to maximize the aero instead of the tires grip :p
    And for the wheelspin, I don't see it as an issue, because I like to drift ^^

    It's something I am trying to do for a few weeks now, but I don't find how to add it :/
     
  10. DaddelZeit

    DaddelZeit
    Expand Collapse

    Joined:
    Jul 17, 2019
    Messages:
    798
    Add this line to your main jbeam:
    Code:
            ["soundscape_horn", "soundscape_horn_7", "Horn"],
     
    • Agree Agree x 1
  11. TheCrySick

    TheCrySick
    Expand Collapse

    Joined:
    Aug 10, 2018
    Messages:
    56
    Thanks! :D
     
  12. TheCrySick

    TheCrySick
    Expand Collapse

    Joined:
    Aug 10, 2018
    Messages:
    56
    I have added this to the tutorial, thanks again mate :)
     
    • Like Like x 1
  13. G-Farce

    G-Farce
    Expand Collapse

    Joined:
    Apr 1, 2016
    Messages:
    449
    I actually did a comprehensive tutorial on this one a while back in the Automation forum. It's probably buried but completely worth a look
     
    • Like Like x 1
  14. TheCrySick

    TheCrySick
    Expand Collapse

    Joined:
    Aug 10, 2018
    Messages:
    56
    Thanks! If you manage to find it, I will add a link in the tutorial! :D
     
  15. vidderus

    vidderus
    Expand Collapse

    Joined:
    Sep 1, 2019
    Messages:
    65
    Can you add a tutorial on how to make transparent glass and license plates?
     
    • Agree Agree x 1
  16. TheCrySick

    TheCrySick
    Expand Collapse

    Joined:
    Aug 10, 2018
    Messages:
    56
    Sadly, I can't help you with the transparent windows, since I never tried to do it myself. But you can find a tutorial here: https://www.beamng.com/threads/tuto...ent-windows-to-automation-exported-car.56414/
    But, if I am not mistaken, the next update of Automation will make the windows of your cars transparent, and you will probably have an interior editing tool!


    For the license plates, I have always used the ones you can find in Automation, but I don't think this is what you want to know ^^'
     
    • Agree Agree 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