Solved Can someone teach me how to make engine mod?

Discussion in 'Mod Support' started by driftbox, May 20, 2021.

  1. driftbox

    driftbox
    Expand Collapse

    Joined:
    Feb 1, 2021
    Messages:
    280
    Can someone teach me how to make engine mod? I want make engine mod based on models from game
     
  2. TC203

    TC203
    Expand Collapse

    Joined:
    Sep 9, 2020
    Messages:
    133
    What kind of engine
     
  3. driftbox

    driftbox
    Expand Collapse

    Joined:
    Feb 1, 2021
    Messages:
    280
    Car engine. Inline 4
     
  4. TC203

    TC203
    Expand Collapse

    Joined:
    Sep 9, 2020
    Messages:
    133
    For which car
     
  5. driftbox

    driftbox
    Expand Collapse

    Joined:
    Feb 1, 2021
    Messages:
    280
    Covet.
     
  6. TC203

    TC203
    Expand Collapse

    Joined:
    Sep 9, 2020
    Messages:
    133
    An extra-powerful engine or a normal engine
     
  7. driftbox

    driftbox
    Expand Collapse

    Joined:
    Feb 1, 2021
    Messages:
    280
    I want to make normal engine for covet. I want to change horsepower and torque
     
  8. TC203

    TC203
    Expand Collapse

    Joined:
    Sep 9, 2020
    Messages:
    133
  9. DaddelZeit

    DaddelZeit
    Expand Collapse

    Joined:
    Jul 17, 2019
    Messages:
    3,319
    First of all you need to make a basic mod folder structure and get your files. A working folder structure is: name.zip/vehicles/name of vehicle Your game files should be located in: C:\Program Files (x86)\Steam\steamapps\common\BeamNG.drive\content\vehicles by default on steam
    Then you'll need to search for your vehicle zip in there, here's a list of the vehicles along with their filenames: https://documentation.beamng.com/vehicle_system/vehicles/index.html
    I'll be changing a Covet engine, so I need to look out for a zip archive with the name hatch Once I found it, I click through it's folder structure until I see all the jbeam/model/material files Then I look for an engine jbeam, it should always have a engine in it's name. In this case it's simply titled hatch_engine.jbeam
    I copy this file into the folder structure we just created (vehicles/hatch) in this case and rename the engine jbeam to something different than hatch_engine
    Then I pack my vehicles folder into a zip-compressed-folder and rename the zip to whatever. This is your mod name. Then I move it into Documents/BeamNG.drive/mods
    After that, I launch the game, disable all other mods and unpack the zip:

    Then, you can launch a map and spawn the car.

    Navigate to Documents/BeamNG.drive/mods/unpacked. There you should see a folder with the same name as the zip folder you created. Navigate through it until you reach your jbeam file.
    Open the file (I suggest using NotePad++) and you should see something along the lines of this:

    hatch_engine_sohc - This is our parts name, change this! 1.5L SOHC I4 Engine - This is our in-game name, change this aswell!
    These are the slots that define the slotname of the turbo, e.g.

    But we don't care about that.
    These are the numbers that define the torque of your engine:

    To get the torque of an engine, search online until you find a torque curve for it!
    I found that this website has a pretty big database: https://www.automobile-catalog.com/
    Then, source out the numbers or try around until you get something reasonable, like I'm doing since this is a fictional engine
    These are the numbers that define the idlerpm and maxrpm (maximum capable) of your engine

    The RevLimiter is often located inside an ECU's jbeam, to find it simply search for ecu in the file
    If you do change the ECU, be sure to rename the same things we did with the engine!
    If you want to change the fuel type, change it here

    be aware that you may have to create another fueltank, though!
    Also be aware that you can change the entire sound of an engine in the soundconfig section:

    Everything else should be pretty self-explanatory :p
     
    • Agree Agree x 3
    • Like Like x 2
  10. TC203

    TC203
    Expand Collapse

    Joined:
    Sep 9, 2020
    Messages:
    133
    I was just saying the same thing. Anyway, amazing explanation :).
     
  11. driftbox

    driftbox
    Expand Collapse

    Joined:
    Feb 1, 2021
    Messages:
    280
    Thanks. I will make it tomorrow
     
  12. driftbox

    driftbox
    Expand Collapse

    Joined:
    Feb 1, 2021
    Messages:
    280
    i think everything works but how can i change max RPM?
     
  13. DaddelZeit

    DaddelZeit
    Expand Collapse

    Joined:
    Jul 17, 2019
    Messages:
    3,319
    If it doesn't work with the "maxrpm" value in the main engine jbeam look for an ecu jbeam with a "maxrpm" value.
     
  14. driftbox

    driftbox
    Expand Collapse

    Joined:
    Feb 1, 2021
    Messages:
    280
    this ECU will be another ECU or it will be replacing ECU from vanilla game?
     
  15. DaddelZeit

    DaddelZeit
    Expand Collapse

    Joined:
    Jul 17, 2019
    Messages:
    3,319
    If you change the partname (the first one that defines the name for the game), it will be another one.
     
    • Like Like x 1
  16. driftbox

    driftbox
    Expand Collapse

    Joined:
    Feb 1, 2021
    Messages:
    280
    Thanks
     
  17. Born 2 Drive

    Born 2 Drive
    Expand Collapse

    Joined:
    Nov 17, 2019
    Messages:
    468
    It doesn't work for me, the engines just don't show in the parts selector :/
     
  18. corvette86_97

    corvette86_97
    Expand Collapse

    Joined:
    Dec 2, 2016
    Messages:
    77
    There is a wacky way just copy the engine itself and change file name and name of the engine
    You may also need to do the same with other parts like new ecu for the new engine
     
  19. driftbox

    driftbox
    Expand Collapse

    Joined:
    Feb 1, 2021
    Messages:
    280
    i know. I learned it
    --- Post updated ---
    you mean 1.6 SOHC? A added only this engine
     
  20. Born 2 Drive

    Born 2 Drive
    Expand Collapse

    Joined:
    Nov 17, 2019
    Messages:
    468
    No, I'm trying to create an I4 engine for the ETK I-Series. I renamed everything I should have and changed the torque figures but it just doesn't show up in-game. :(:confused:
     
  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