Then change name of engine at Line 2 and at Line 5, different between these two is that name on Line 2 is used by game internally and Line 5 is what you see in game: It is good practice to scroll up and see which curly bracket is pair of that one, in this case it is actually opening bracket for engine part and not the file, so it means we need to add one more curly bracket to end of file so you should have something like in image. So make cursor blink at beginning of line 1, hit enter and make cursor blink at line 1 again, put opening curly bracket there like in image:Īt this point many make a mistake, at end of the file at line 161 there is curly bracket and it closes something, if you put blinking cursor next to that curly bracket on line 161 it turns red as in image: We now have a part (engine) in our new file, but we don't have curly bracket on line 1 that opens the file, so we need to add that and his friend that closes the file at end of the file.
IMPORTANT: Select Save as type to All types (*.*) or else your file will not be. Next save file to (more power to Barstow\vehicles\barstow) with new name, I like to use my name at end of jbeam file name to make less chance of someone's mod conflicting with mine. Then hit new button from toolbar and paste selection from clipboard and you should end up something like this: So now we know that what makes engine is between lines 2 and 161, next we select all of those lines, including line 2 and line 161 with everything between them, copy that and paste to new file, so select like in image and copy selection to clipboard. More information about jbeam file structure: JBeam_Reference Line 161 has closing curly bracket which is end of barstow_engine_v8_291 part, Notepad++ makes it glow red so it is easy to find: I have placed blinking cursor next to that bracket on line 2 so you can see it glows red, this is handy feature of Notepad++ Line 1 has opening of jbeam file curly bracket, line 2 has name of part section "barstow_engine_v8_291": and also at end of line 2 there is curly bracket that opens up part section. You will have more fun if you installed Notepad++, if not yet, now is good time for that, links at top of post.Įach jbeam file will have brackets and commas, all very important, curly bracket defines begin and end of section. Next is fun part, we open barstow_engine.jbeam and start modding, IMPORTANT make sure you open correct file, not one that is in (original) folder, but one that is where you copied engine file in previous step as shown by this image: Now we must copy barstow_engine.jbeam to barstow folder we created at previous step as illustrated by next image, make sure you copy, default action is to move, so hold ctrl down when dragging or select copy and then choose folder and paste!: NOTE: We don't use capital letters now, it is good practice to avoid capital letters if original files and folders don't have capital letters so you maintain same logic and later it becomes more important when editing files.
How to mod beamng drive zip file#
I made these folders (moddingtuts\stage 1\more power to Barstow \original)Įxtract official Barstow vehicle, you can find Barstow in following location (Program Files (x86)\Steam\steamapps\common\BeamNG.drive\content\vehicles\barstow.zip), notice how there are vehicles and barstow folders inside the zip file (archive), that is very important to remember later.ĭrag vehicles folder from inside of the Barstow.zip to folder named original and you should have something like this:Ĭreate new folders inside more power to barstow folder, first create vehicles folder, then inside of vehicles folder create folder named barstow. Let's start modding by creating a temporary location where we extract (Barstow.zip) So anything you drop into your (Documents\BeamNG.drive\mods) folder overrides what is in game folders. It is not good idea to edit files in that location as it messes up with the game, instead it is better to make changes in a mod folder. Official vehicles are in zip files at (Program Files (x86)\Steam\steamapps\common\BeamNG.drive\content\vehicles), however hold your horses there! Optional: Torsion's tutorial to get most out of Notepad++
How to mod beamng drive how to#
INTRO: This will be step by step walktrough of how to make a engine mod, it is for absolute beginners and shows how I do things, which might be different from how others do it, but should be something that helps you started.