Released How to add boosters - Updated:23.02.2017

Discussion in 'Programming' started by KaLul0, Nov 28, 2013.

  1. KaLul0

    KaLul0
    Expand Collapse

    Joined:
    Aug 3, 2013
    Messages:
    59
    Updated to 0.8.0.1 (released on 24.12.2016)
    Updated on 23.02.2017
    ( I added the "new" cars ETK I-Series and Bruckell LeGran and updated the Tutorial cause the node and mesh line toggle buttons changed by default )


    Do you want to boost a vehicle in every imaginable way?


    My target with this is to make you understand how to add boosters
    and provide you booster codes for Original BeamNG cars.


    (Special thanks to Kamil_ for the development on how it works)

    Takes just 3-5 Minutes.
    Be aware that if you want to boost a non official car you need to follow the whole tutorial.
    1. "Choose the Car and open the car's file"

    Close the Game and go into your "BeamNG.drive\content\vehicles" , folder and look out for the ZIP file which belongs to the car you want to add boosters to.

    CAR-ZIP-THRUSTERS
    Bruckell LeGran - legran.zip - 1
    Bruckell Moonhawk - moonhawk.zip - 2
    Burnside Special - burnside.zip - 1
    Civetta Bolide 390 GTR - super.zip - 2
    ETK 800 Series - etk800.zip - 2
    ETK I-Series - etki.zip - 2
    ETK K Series - etkc.zip - 2
    Gavril Barstow - barstow.zip - 2
    Gavril D-Series - pickup.zip - 1
    Gavril Grand Marshal - fullsize.zip - 2
    Gavril H-Series - van.zip - 1
    Gavril Roamer - roamer.zip - 1
    Gavril T-Series - semi.zip - 2
    Hirochi SBR4 - sbr.zip - 2
    Hirochi Sunburst - sunburst.zip - 1
    Ibishu 200BX - coupe.zip - 2
    Ibishu Covet - hatch.zip - 2
    Ibishu Miramar - miramar.zip - 2
    Ibishu Pessima 1988-1991 - pessima.zip - 2
    Ibishu Pessima 1996-2000 - midsize.zip - 2
    Ibishu Pigeon - pigeon.zip - 1

    If you found the car you want to edit then open the .ZIP with windows build in archiver or WinRar or any other archiver you may want to use.
    Lookout for the .jbeam files and edit the one with the same name as the zip file.
    Use Word,Libre Office,Wordpad,Note,Notepad++,... or whatever Text editor you normally use. I prefer WordPad or Notepad++ but Wordpad is on every Windows PC.
    Next to Step "2".

    2. "Copy some code"

    Here is a list of code sheets that fit to your car.
    If your car is not in the list, jump to point "4".
    Else, copy the whole code of that car and go on to Step "3".
    LeGran.png
    "thrusters": [

    ["id1:", "id2:"],

    {"factor": 10},
    {"thrustLimit":5000},
    {"control": "G"},
    ["exh1", "exh3"],

    {"factor":10},
    {"thrustLimit":10000},
    {"control": "H"},
    ["exh3", "exh1"],

    ],


    moonhawk.png
    "thrusters": [

    ["id1:", "id2:"],

    {"factor": 10},
    {"thrustLimit":5000},
    {"control": "H"},
    ["f4rr", "f3rr"],

    {"factor":10},
    {"thrustLimit":10000},
    {"control": "G"},
    ["f3rr", "f4rr"],

    {"factor": 10},
    {"thrustLimit":5000},
    {"control": "H"},
    ["f4ll", "f3ll"],

    {"factor":10},
    {"thrustLimit":10000},
    {"control": "G"},
    ["f3ll", "f4ll"],
    ],


    burnside.png
    "thrusters": [

    ["id1:", "id2:"],

    {"factor": 10},
    {"thrustLimit":10000},
    {"control": "H"},
    ["ax1", "tra1"],

    {"factor":10},
    {"thrustLimit":15000},
    {"control": "G"},
    ["tra1", "ax1"],
    ],


    civetta bolide.png
    "thrusters": [

    ["id1:", "id2:"],

    {"factor": 10},
    {"thrustLimit":10000},
    {"control": "H"},
    ["c3l", "c2l"],

    {"factor":10},
    {"thrustLimit":15000},
    {"control": "G"},
    ["c2l", "c3l"],

    {"factor": 10},
    {"thrustLimit":10000},
    {"control": "H"},
    ["c3r", "c2r"],

    {"factor":10},
    {"thrustLimit":15000},
    {"control": "G"},
    ["c2r", "c3r"],
    ],


    etk800.png
    "thrusters": [

    ["id1:", "id2:"],

    {"factor": 10},
    {"thrustLimit":10000},
    {"control": "H"},
    ["f2l", "f1l"],

    {"factor":10},
    {"thrustLimit":15000},
    {"control": "G"},
    ["f1l", "f2l"],

    {"factor": 10},
    {"thrustLimit":10000},
    {"control": "H"},
    ["f2r", "f1r"],

    {"factor":10},
    {"thrustLimit":15000},
    {"control": "G"},
    ["f1r", "f2r"],
    ],


    ETKi.png
    "thrusters": [

    ["id1:", "id2:"],

    {"factor": 10},
    {"thrustLimit":10000},
    {"control": "H"},
    ["f2l", "f1l"],

    {"factor":10},
    {"thrustLimit":15000},
    {"control": "G"},
    ["f1l", "f2l"],

    {"factor": 10},
    {"thrustLimit":10000},
    {"control": "H"},
    ["f2r", "f1r"],

    {"factor":10},
    {"thrustLimit":15000},
    {"control": "G"},
    ["f1r", "f2r"],
    ],


    default.png
    "thrusters": [

    ["id1:", "id2:"],

    {"factor": 10},
    {"thrustLimit":10000},
    {"control": "H"},
    ["f2l", "f1l"],

    {"factor":10},
    {"thrustLimit":15000},
    {"control": "G"},
    ["f1l", "f2l"],

    {"factor": 10},
    {"thrustLimit":10000},
    {"control": "H"},
    ["f2r", "f1r"],

    {"factor":10},
    {"thrustLimit":15000},
    {"control": "G"},
    ["f1r", "f2r"],
    ],


    gavril barstow.png
    "thrusters": [

    ["id1:", "id2:"],

    {"factor": 10},
    {"thrustLimit":5000},
    {"control": "H"},
    ["s1ll", "s2ll"],

    {"factor":10},
    {"thrustLimit":5000},
    {"control": "G"},
    ["s2ll", "s1ll"],

    {"factor": 10},
    {"thrustLimit":5000},
    {"control": "H"},
    ["s1rr", "s2rr"],

    {"factor":10},
    {"thrustLimit":5000},
    {"control": "G"},
    ["s2rr", "s1rr"],
    ],


    Gavril D-Series.png
    "thrusters": [

    ["id1:", "id2:"],

    {"factor": 10},
    {"thrustLimit":20000},
    {"control": "H"},
    ["fr12", "fr11"],

    {"factor":10},
    {"thrustLimit":40000},
    {"control": "G"},
    ["fr11", "fr12"],
    ],


    Gavril Grand Marshal.png
    "thrusters": [

    ["id1:", "id2:"],

    {"factor": 10},
    {"thrustLimit":10000},
    {"control": "H"},
    ["f3l", "f2l"],

    {"factor":10},
    {"thrustLimit":15000},
    {"control": "G"},
    ["f2l", "f3l"],

    {"factor": 10},
    {"thrustLimit":10000},
    {"control": "H"},
    ["f3r", "f2r"],

    {"factor":10},
    {"thrustLimit":15000},
    {"control": "G"},
    ["f2r", "f3r"],
    ],


    Gavril H-Series.png
    "thrusters": [

    ["id1:", "id2:"],

    {"factor": 10},
    {"thrustLimit":20000},
    {"control": "H"},
    ["fr12", "fr11"],

    {"factor":10},
    {"thrustLimit":40000},
    {"control": "G"},
    ["fr11", "fr12"],
    ],


    Gavril Roamer.png
    "thrusters": [

    ["id1:", "id2:"],

    {"factor": 10},
    {"thrustLimit":10000},
    {"control": "H"},
    ["fr10", "fr9"],

    {"factor":10},
    {"thrustLimit":15000},
    {"control": "G"},
    ["fr9", "fr10"],
    ],


    Gavril T-Series.png
    "thrusters": [

    ["id1:", "id2:"],

    {"factor": 10},
    {"thrustLimit":20000},
    {"control": "H"},
    ["f8r", "f7r"],

    {"factor":10},
    {"thrustLimit":40000},
    {"control": "G"},
    ["f7r", "f8r"],

    {"factor": 10},
    {"thrustLimit":20000},
    {"control": "H"},
    ["f8l", "f7l"],

    {"factor":10},
    {"thrustLimit":40000},
    {"control": "G"},
    ["f7l", "f8l"],
    ],


    SBR4.png
    "thrusters": [

    ["id1:", "id2:"],

    {"factor": 10},
    {"thrustLimit":10000},
    {"control": "H"},
    ["f3l", "f2l"],

    {"factor":10},
    {"thrustLimit":15000},
    {"control": "G"},
    ["f2l", "f3l"],

    {"factor": 10},
    {"thrustLimit":10000},
    {"control": "H"},
    ["f3r", "f2r"],

    {"factor":10},
    {"thrustLimit":15000},
    {"control": "G"},
    ["f2r", "f3r"],
    ],


    sunburst.png
    "thrusters": [

    ["id1:", "id2:"],

    {"factor": 10},
    {"thrustLimit":7000},
    {"control": "H"},
    ["exh5", "exh3"],

    {"factor":10},
    {"thrustLimit":10000},
    {"control": "G"},
    ["exh3", "exh5"],
    ],


    200BX.png
    "thrusters": [

    ["id1:", "id2:"],

    {"factor":10},
    {"thrustLimit":5000},
    {"control": "H"},
    ["f2l","f1l"],

    {"factor":10},
    {"thrustLimit":10000},
    {"control": "G"},
    ["f1l","f2l"],

    {"factor":10},
    {"thrustLimit":5000},
    {"control": "H"},
    ["f2r","f1r"],

    {"factor":10},
    {"thrustLimit":10000},
    {"control": "G"},
    ["f1r","f2r"],
    ],


    Covet.png
    "thrusters": [

    ["id1:", "id2:"],

    {"factor": 10},
    {"thrustLimit":5000},
    {"control": "H"},
    ["f2l", "f1l"],

    {"factor":10},
    {"thrustLimit":10000},
    {"control": "G"},
    ["f1l", "f2l"],

    {"factor": 10},
    {"thrustLimit":5000},
    {"control": "H"},
    ["f2r", "f1r"],

    {"factor":10},
    {"thrustLimit":10000},
    {"control": "G"},
    ["f1r", "f2r"],
    ],


    miramar.png
    "thrusters": [

    ["id1:", "id2:"],

    {"factor": 10},
    {"thrustLimit":5000},
    {"control": "H"},
    ["f3l", "f2l"],

    {"factor":10},
    {"thrustLimit":10000},
    {"control": "G"},
    ["f2l", "f3l"],

    {"factor": 10},
    {"thrustLimit":5000},
    {"control": "H"},
    ["f3r", "f2r"],

    {"factor":10},
    {"thrustLimit":10000},
    {"control": "G"},
    ["f2r", "f3r"],
    ],


    pessima.png
    "thrusters": [

    ["id1:", "id2:"],

    {"factor": 10},
    {"thrustLimit":5000},
    {"control": "H"},
    ["f3l", "f2l"],

    {"factor":10},
    {"thrustLimit":10000},
    {"control": "G"},
    ["f2l", "f3l"],

    {"factor": 10},
    {"thrustLimit":5000},
    {"control": "H"},
    ["f3r", "f2r"],

    {"factor":10},
    {"thrustLimit":10000},
    {"control": "G"},
    ["f2r", "f3r"],
    ],


    pessima_old.png
    "thrusters": [

    ["id1:", "id2:"],

    {"factor": 10},
    {"thrustLimit":5000},
    {"control": "H"},
    ["f3l", "f2l"],

    {"factor":10},
    {"thrustLimit":10000},
    {"control": "G"},
    ["f2l", "f3l"],

    {"factor": 10},
    {"thrustLimit":5000},
    {"control": "H"},
    ["f3r", "f2r"],

    {"factor":10},
    {"thrustLimit":10000},
    {"control": "G"},
    ["f2r", "f3r"],
    ],


    pigeon.png
    "thrusters": [

    ["id1:", "id2:"],

    {"factor": 10},
    {"thrustLimit":5000},
    {"control": "H"},
    ["f1", "f2"],

    {"factor":10},
    {"thrustLimit":5000},
    {"control": "G"},
    ["f2", "f1"],
    ],

    3. "Paste copied code into the .jbeam file"

    Go to your .jbeam file and paste the copied code after the slots box.
    Zwischenablage01.jpg

    This provides every car type of any model to work with a booster.

    Now save the file and say YES if WinRar is asking to replace the existing file.
    Go to Point "6".

    4. "Find good beams"

    Go in-game, select your map as usual. Then select the car you want to add boosters to.
    For example the DSC Buggy.(Which is a downloadable Mod)
    Now press "J" for stopping physics to prevent the car from moving.
    Now press "CTRL+N" once so you can see the Node Names (This changed with one of the last updates it was once "K" and was showing Node names)

    BeamNG.drive - 0.4.3.0.1413 - x64 - DX11 06.11.2015 22_58_17.png
    And press "CTRL+B" to show the mesh lines which connect the Nodes. ( Was once "L")

    BeamNG.drive - 0.4.3.0.1413 - x64 - DX11 06.11.2015 22_58_43.png
    Try playing with the camera to find a beam in the center of the vehicle:
    Numpad 9 + 3 Zoom in and out
    Numpad 4 + 6 Rotate left and right
    Numpad 8 + 2 Rotate up and down
    The lines are hard to see since the last update, but we can see there is Point "bg9" and "bg10" which tells us they are connected.
    This one looks good! Now move the camera as good as possible to clearly see the names!
    At this point i can just trust and hope its a straight line. Well lets try it.

    BeamNG.drive - 0.4.3.0.1413 - x64 - DX11 06.11.2015 22_59_34.png
    Some cars don't have center beams along the length, so we need 2 beams for the thruster to keep balance.
    If you don't have a center on your vehicle, please don't panic. Just search for 2 beams near the center.
    One on the left and one on the right. They always have similar names for their side.

    For example as you can see on the picture:
    bg9l + bg10l in the left.
    And
    bg9r + bg10r on the right!

    Now you can copy a "1 thruster" code.
    Or if you need "2 thrusters", (because the vehicle has no center beam) the other one.
    Go on to Point "5" now.

    5. "Edit your code"

    Before you edit the code, i will shortly describe it to you.

    "factor" - the multiplicator for the boost force used.
    "thrustLimit" - The maximum boosting power possible.
    "control" - Is the letter which activates the boost.
    "["s1ll", "s2ll"]" - is the definition of the beam by using 2 points and setting an orientation. If you would switch these 2 "Names" the thruster would work backwards.


    Replace the beam names with those you found!
    Start with the beam that has a larger number. It may sometimes work inverted, then just switch both names or the control!
    Now, for those of you who have 2 thrusters, just do the same as you did before with the second thruster.
    It simply has just 2 lines more to edit.

    6. "Profit"

    Congratulations to your brand new NOS/booster/thruster and/or your super back-puller!
    Just start the Game and load your Vehicle and have fun boosting!

    If you got any problems you can discuss here or ask me per PM.

    Please don't forget to click thanks!

    UPDATE: Remember that updates destroy your modification and you maybe have to do it again. So better safe your thruster code for your modded cars.

    BonnieTheBunny made a MOD. So you dont need to do all on your own ;)
    MOD
     
    #1 KaLul0, Nov 28, 2013
    Last edited: Feb 23, 2017
    • Like Like x 4
  2. DrowsySam

    DrowsySam
    Expand Collapse

    Joined:
    Jul 30, 2013
    Messages:
    996
    Re: Tutorial: How to add thrusters/booster/NOS to cars via LUA/Scripting

    I was playing around with this a few days ago, managed to get my DSC Buggy up to 11,000 km/h before it exploded.. ;)
     
    • Like Like x 1
  3. logoster

    logoster
    Expand Collapse

    Joined:
    Sep 5, 2012
    Messages:
    2,082
    Re: Tutorial: How to add thrusters/booster/NOS to cars via LUA/Scripting

    :D, awesome
     
  4. RobertGracie

    RobertGracie
    Expand Collapse

    Joined:
    Oct 15, 2013
    Messages:
    3,779
    Re: Tutorial: How to add thrusters/booster/NOS to cars via LUA/Scripting

    Is this Turbo boost or something...
     
  5. chevy65

    chevy65
    Expand Collapse

    Joined:
    Aug 12, 2013
    Messages:
    155
    Re: Tutorial: How to add thrusters/booster/NOS to cars via LUA/Scripting

    I can get the PickupSport up to 1100 miles an hour and then it lifts off and fly's.... just needs wings now :)
     
  6. Jrockin

    Jrockin
    Expand Collapse

    Joined:
    Nov 26, 2013
    Messages:
    2
    Re: Tutorial: How to add thrusters/booster/NOS to cars via LUA/Scripting

    Thanks for this! Really easy to understand and follow, great work! :D
     
  7. Kamil_

    Kamil_
    Expand Collapse

    Joined:
    Mar 17, 2013
    Messages:
    691
    Re: Tutorial: How to add thrusters/booster/NOS to cars via LUA/Scripting

    That's the thing, it's a jet engine and not NOS xD

    Anyhow, I was messing around with this too and it caused my moonhawk to spin reallllllyyyy fast, every part of the body fell off and the frame got stretched out :D
     
  8. KaLul0

    KaLul0
    Expand Collapse

    Joined:
    Aug 3, 2013
    Messages:
    59
    Re: Tutorial: How to add thrusters/booster/NOS to cars via LUA/Scripting

    @Kamil_ I just want everyone to understand. And to make the searching easier. I used enough words that describe thrusters in different ways ;) @Jrockin Thank you!

    Gesendet von meinem GT-I9505 mit Tapatalk
     
  9. Kamil_

    Kamil_
    Expand Collapse

    Joined:
    Mar 17, 2013
    Messages:
    691
    Re: Tutorial: How to add thrusters/booster/NOS to cars via LUA/Scripting

    I think you did a great job explaining it, much better than me :p
     
  10. KaLul0

    KaLul0
    Expand Collapse

    Joined:
    Aug 3, 2013
    Messages:
    59
    Re: Tutorial: How to add thrusters/booster/NOS to cars via LUA/Scripting

    Thank you! i played much more now :D i managed to use a car as high flyer XD it has 12 thrusters on it and i can fly around :D
     
  11. SkritCraft

    SkritCraft
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    338
    Re: Tutorial: How to add thrusters/booster/NOS to cars via LUA/Scripting

    Why can't i use other keys to activate the thrusters?
     
  12. SixSixSevenSeven

    SixSixSevenSeven
    Expand Collapse

    Joined:
    Sep 13, 2013
    Messages:
    6,960
    Re: Tutorial: How to add thrusters/booster/NOS to cars via LUA/Scripting

    Thruster keys have been set manually in JBeam file
     
  13. SkritCraft

    SkritCraft
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    338
    Re: Tutorial: How to add thrusters/booster/NOS to cars via LUA/Scripting

    If i change the keys and press them ingame, nothing happens :/
     
  14. Kamil_

    Kamil_
    Expand Collapse

    Joined:
    Mar 17, 2013
    Messages:
    691
    Re: Tutorial: How to add thrusters/booster/NOS to cars via LUA/Scripting

    What keys/code do you have?
    The keys have to be uppercase in the jbeam
     
  15. SkritCraft

    SkritCraft
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    338
    Re: Tutorial: How to add thrusters/booster/NOS to cars via LUA/Scripting

    "thrusters": [

    ["id1:", "id2:"],

    {"factor": 10},
    {"thrustLimit":25000},
    {"control": "S"},
    ["f2l", "f1l"],

    {"factor":10},
    {"thrustLimit":25000},
    {"control": "W"},
    ["f1l", "f2l"],

    {"factor": 10},
    {"thrustLimit":25000},
    {"control": "S"},
    ["f2r", "f1r"],

    {"factor":10},
    {"thrustLimit":25000},
    {"control": "W"},
    ["f1r", "f2r"],
    ],
     
  16. Kamil_

    Kamil_
    Expand Collapse

    Joined:
    Mar 17, 2013
    Messages:
    691
    Re: Tutorial: How to add thrusters/booster/NOS to cars via LUA/Scripting

    Weird... does it work with G/H keys?
     
  17. KaLul0

    KaLul0
    Expand Collapse

    Joined:
    Aug 3, 2013
    Messages:
    59
    Re: Tutorial: How to add thrusters/booster/NOS to cars via LUA/Scripting

    It seems that some keys don't work.
    E.g. i can use "F" but i cant use "U" i haven't found the problem yet.

    If "G" and "H" doesn't work for you please try some other keys instead.
     
  18. Cardinal799

    Cardinal799
    Expand Collapse

    Joined:
    Oct 15, 2013
    Messages:
    1,070
    Re: Tutorial: How to add thrusters/booster/NOS to cars via LUA/Scripting

    I can see now that I will never be able to make a vehicle on here. I am doing something wrong. Do you just paste the code at the end of the whole thing? I know that you have to take out the last two brackets that were there first. I am just extremely cornfused.
     
  19. logoster

    logoster
    Expand Collapse

    Joined:
    Sep 5, 2012
    Messages:
    2,082
    Re: Tutorial: How to add thrusters/booster/NOS to cars via LUA/Scripting

    im thinking input conflict, the defualt input map uses wsad as the keys for free camrea cam
     
  20. Cardinal799

    Cardinal799
    Expand Collapse

    Joined:
    Oct 15, 2013
    Messages:
    1,070
    Re: Tutorial: How to add thrusters/booster/NOS to cars via LUA/Scripting

    Okay, after a bit of experimenting, I found out that some of my vehicles managed to get an extra 2000+ lines of code, and I think it may be because of the DriveEditor. On other vehicles, I did get the thrusters in. I just wish I could get the golf cart to fly. :D
     
  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