Introduction to Vehicle Creation - Feedback Thread

Discussion in 'Content Creation' started by B25Mitch, Nov 26, 2014.

  1. fufsgfen

    fufsgfen
    Expand Collapse

    Joined:
    Jan 10, 2017
    Messages:
    6,782
    White/gray is easier to color I think.
     
  2. ✨ Neko ✨

    ✨ Neko ✨
    Expand Collapse

    Joined:
    Dec 16, 2018
    Messages:
    13
    I see. I didn't think of checking logs. Thanks for the information. I'll look over it again once I have time in the coming days and look into these options. Hopefully I can get it working. Thank you.
     
  3. Mario64iscool2

    Mario64iscool2
    Expand Collapse

    Joined:
    Mar 20, 2016
    Messages:
    124
    I'm having issues with the T Series not wanting to skin. The skin file and skin part/material both exist. No errors are thrown. The truck stays white.
    upload_2019-6-8_13-3-33.png
    upload_2019-6-8_13-4-26.png
    upload_2019-6-8_13-8-45.png
     
  4. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,683
  5. Jaco Sethi-Reiner

    Jaco Sethi-Reiner
    Expand Collapse

    Joined:
    Jun 22, 2019
    Messages:
    7
    Thanks. Veeeery heilpfuul
     
  6. Victorswager

    Victorswager
    Expand Collapse

    Joined:
    Apr 25, 2017
    Messages:
    1
    Hello! Im currently trying to make a car (nothing pretty, just something that Works) but i cant get past the texturing progress, i tried to make the textures and everything but the vehicle just appears invisible in game. Would be nice if someone could help me out. (the files i have created are down there so you can check em if you want).
     

    Attached Files:

  7. Fox GΔMING

    Fox GΔMING
    Expand Collapse

    Joined:
    Aug 5, 2018
    Messages:
    19
    Hi, I've followed all of the things in the thread, up to the point where you first open up BeamNG.Drive, and find your vehicle in the browser.

    I can't seem to find my mod anywhere, and yet I followed all of the instructions. Just in case, I'm attaching the scripts:


    Code:
    {"Javler":
     
    {
        "information":{
            "authors":"Fox GAMING",
            "name":"Metris Javler",
        }
      
        "slotType" : "main",
      
        "nodes": [    
            ["id", "posX", "posY", "posZ"],
            {"nodeWeight":10},
            {"frictionCoef":0.7},
            {"nodeMaterial":"|NM_METAL"},
            {"collision":true},
            {"selfCollision":true},
            ["a0",0.5,-3.106,0.1],
            ["a1",0.5,-3.106,0.6],
            ["a2",0.0,-3.106,0.1],
            ["a3",0.0,-3.106,0.6],
            ["a4",0.5,-3.082,1.1],
            ["a5",0.0,-3.082,1.1],
            ["a6",1.0,-3.013,0.1],
            ["a7",1.0,-3.013,0.6],
            ["a8",1.0,-3.0,1.1],
            ["a9",0.5,-2.987,0.6],
            ["a10",0.0,-2.987,0.6],
            ["a11",1.0,-2.905,0.6],
            ["a12",1.0,-2.588,1.19],
            ["a13",0.0,-2.471,1.196],
            ["a14",1.0,-2.129,0.1],
            ["a15",1.0,-2.076,0.682],
            ["a16",1.053,-2.02,0.1],
            ["a17",0.5,-2.008,0.1],
            ["a18",1.049,-2.0,0.6],
            ["a19",0.5,-2.0,0.1],
            ["a20",0.5,-2.0,0.6],
            ["a21",0.5,-1.98,0.6],
            ["a22",0.5,-1.015,0.6],
            ["a23",0.999,-1.001,1.199],
            ["a24",1.049,-1.0,0.6],
            ["a25",0.5,-1.0,0.1],
            ["a26",0.5,-1.0,0.1],
            ["a27",0.5,-1.0,0.6],
            ["a28",0.0,-1.0,1.2],
            ["a29",1.053,-0.98,0.1],
            ["a30",1.001,-0.931,0.694],
            ["a31",1.0,-0.871,0.1],
            ["a32",0.882,-0.6,2.017],
            ["a33",0.0,-0.6,2.017],
            ["a34",1.0,0.138,1.087],
            ["a35",1.0,0.871,0.1],
            ["a36",1.0,0.925,0.682],
            ["a37",1.053,0.98,0.1],
            ["a38",0.5,0.992,0.1],
            ["a39",1.049,1.0,0.6],
            ["a40",0.881,1.0,2.1],
            ["a41",0.5,1.0,0.1],
            ["a42",0.5,1.0,0.6],
            ["a43",0.0,1.0,2.1],
            ["a44",0.5,1.02,0.6],
            ["a45",0.5,1.99,0.6],
            ["a46",1.049,2.005,0.6],
            ["a47",0.5,2.005,0.1],
            ["a48",0.5,2.005,0.1],
            ["a49",0.5,2.005,0.6],
            ["a50",1.054,2.025,0.1],
            ["a51",1.001,2.067,0.702],
            ["a52",1.0,2.134,0.1],
            ["a53",0.881,2.45,2.1],
            ["a54",0.0,2.45,2.1],
            ["a55",1.0,2.5,0.6],
            ["a56",1.0,2.5,1.1],
            ["a57",0.0,2.5,0.6],
            ["a58",0.0,2.5,1.1],
            ["a59",1.0,2.52,0.1],
            ["a60",0.5,2.58,0.1],
            ["a61",0.0,2.58,0.1],
            ["a62",0.995,2.616,0.6],
            ["a63",0.0,2.66,0.6],
        ],
     
      "beams": [
            ["id1:", "id2:"],
            {"beamSpring":2000000,"beamDamp":200},
            {"beamDeform":80000,"beamStrength":"800000"},
            ["a34","a23"],
            ["a36","a51"],
            ["a47","a61"],
            ["a43","a32"],
            ["a42","a49"],
            ["a53","a43"],
            ["a24","a30"],
            ["a12","a4"],
            ["a43","a40"],
            ["a21","a18"],
            ["a51","a55"],
            ["a13","a5"],
            ["a32","a23"],
            ["a47","a60"],
            ["a60","a61"],
            ["a60","a59"],
            ["a54","a43"],
            ["a31","a25"],
            ["a24","a29"],
            ["a8","a11"],
            ["a24","a31"],
            ["a32","a28"],
            ["a42","a46"],
            ["a26","a29"],
            ["a48","a50"],
            ["a62","a59"],
            ["a63","a57"],
            ["a33","a28"],
            ["a48","a44"],
            ["a44","a39"],
            ["a33","a32"],
            ["a41","a25"],
            ["a10","a3"],
            ["a16","a19"],
            ["a39","a42"],
            ["a23","a15"],
            ["a45","a44"],
            ["a51","a56"],
            ["a7","a6"],
            ["a25","a19"],
            ["a2","a19"],
            ["a52","a59"],
            ["a12","a8"],
            ["a46","a51"],
            ["a25","a61"],
            ["a30","a18"],
            ["a34","a30"],
            ["a24","a18"],
            ["a12","a11"],
            ["a3","a0"],
            ["a35","a41"],
            ["a27","a24"],
            ["a62","a60"],
            ["a25","a2"],
            ["a36","a56"],
            ["a34","a35"],
            ["a58","a53"],
            ["a21","a22"],
            ["a6","a0"],
            ["a9","a1"],
            ["a52","a47"],
            ["a52","a60"],
            ["a9","a7"],
            ["a3","a9"],
            ["a14","a19"],
            ["a0","a2"],
            ["a50","a46"],
            ["a21","a17"],
            ["a30","a15"],
            ["a34","a56"],
            ["a31","a29"],
            ["a13","a23"],
            ["a30","a31"],
            ["a34","a36"],
            ["a11","a14"],
            ["a22","a26"],
            ["a31","a35"],
            ["a12","a15"],
            ["a55","a52"],
            ["a41","a47"],
            ["a13","a12"],
            ["a56","a40"],
            ["a30","a23"],
            ["a53","a56"],
            ["a7","a11"],
            ["a43","a33"],
            ["a4","a5"],
            ["a39","a38"],
            ["a54","a58"],
            ["a39","a35"],
            ["a18","a14"],
            ["a28","a23"],
            ["a39","a37"],
            ["a32","a34"],
            ["a45","a46"],
            ["a18","a20"],
            ["a4","a9"],
            ["a5","a10"],
            ["a38","a48"],
            ["a57","a62"],
            ["a16","a14"],
            ["a15","a14"],
            ["a50","a52"],
            ["a6","a14"],
            ["a8","a4"],
            ["a15","a18"],
            ["a18","a17"],
            ["a14","a0"],
            ["a31","a34"],
            ["a49","a46"],
            ["a22","a29"],
            ["a36","a35"],
            ["a40","a32"],
            ["a37","a41"],
            ["a50","a45"],
            ["a63","a61"],
            ["a23","a12"],
            ["a52","a46"],
            ["a57","a55"],
            ["a63","a62"],
            ["a2","a61"],
            ["a63","a60"],
            ["a37","a38"],
            ["a58","a56"],
            ["a15","a11"],
            ["a24","a22"],
            ["a59","a55"],
            ["a48","a45"],
            ["a16","a17"],
            ["a58","a55"],
            ["a28","a13"],
            ["a7","a1"],
            ["a53","a40"],
            ["a25","a29"],
            ["a39","a51"],
            ["a62","a55"],
            ["a54","a53"],
            ["a11","a6"],
            ["a18","a16"],
            ["a52","a51"],
            ["a13","a4"],
            ["a26","a17"],
            ["a9","a10"],
            ["a58","a57"],
            ["a21","a26"],
            ["a3","a2"],
            ["a56","a55"],
            ["a19","a0"],
            ["a5","a9"],
            ["a35","a37"],
            ["a27","a20"],
            ["a11","a9"],
            ["a47","a50"],
            ["a1","a3"],
            ["a39","a46"],
            ["a40","a34"],
            ["a20","a24"],
            ["a35","a25"],
            ["a8","a9"],
            ["a36","a39"],
            ["a1","a6"],
            ["a41","a61"],
            ["a44","a38"],
            ["a1","a0"],
            ["a61","a60"],
            ["a60","a47"],
            ["a47","a61"],
            ["a43","a33"],
            ["a33","a32"],
            ["a32","a43"],
            ["a35","a25"],
            ["a25","a41"],
            ["a41","a35"],
            ["a11","a7"],
            ["a7","a6"],
            ["a6","a11"],
            ["a8","a12"],
            ["a12","a4"],
            ["a4","a8"],
            ["a60","a62"],
            ["a62","a59"],
            ["a59","a60"],
            ["a61","a47"],
            ["a47","a41"],
            ["a41","a61"],
            ["a34","a32"],
            ["a32","a23"],
            ["a23","a34"],
            ["a43","a32"],
            ["a32","a40"],
            ["a40","a43"],
            ["a23","a30"],
            ["a30","a34"],
            ["a34","a23"],
            ["a47","a52"],
            ["a52","a50"],
            ["a50","a47"],
            ["a58","a55"],
            ["a55","a57"],
            ["a57","a58"],
            ["a34","a31"],
            ["a31","a35"],
            ["a35","a34"],
            ["a55","a59"],
            ["a59","a62"],
            ["a62","a55"],
            ["a14","a11"],
            ["a11","a6"],
            ["a6","a14"],
            ["a52","a55"],
            ["a55","a51"],
            ["a51","a52"],
            ["a24","a22"],
            ["a22","a29"],
            ["a29","a24"],
            ["a38","a39"],
            ["a39","a37"],
            ["a37","a38"],
            ["a46","a45"],
            ["a45","a50"],
            ["a50","a46"],
            ["a52","a59"],
            ["a59","a55"],
            ["a55","a52"],
            ["a31","a29"],
            ["a29","a25"],
            ["a25","a31"],
            ["a4","a13"],
            ["a13","a5"],
            ["a5","a4"],
            ["a9","a5"],
            ["a5","a10"],
            ["a10","a9"],
            ["a0","a14"],
            ["a14","a6"],
            ["a6","a0"],
            ["a53","a58"],
            ["a58","a54"],
            ["a54","a53"],
            ["a15","a23"],
            ["a23","a12"],
            ["a12","a15"],
            ["a58","a56"],
            ["a56","a55"],
            ["a55","a58"],
            ["a9","a3"],
            ["a3","a1"],
            ["a1","a9"],
            ["a31","a24"],
            ["a24","a29"],
            ["a29","a31"],
            ["a0","a3"],
            ["a3","a2"],
            ["a2","a0"],
            ["a14","a15"],
            ["a15","a11"],
            ["a11","a14"],
            ["a6","a1"],
            ["a1","a0"],
            ["a0","a6"],
            ["a7","a9"],
            ["a9","a1"],
            ["a1","a7"],
            ["a23","a13"],
            ["a13","a12"],
            ["a12","a23"],
            ["a2","a25"],
            ["a25","a19"],
            ["a19","a2"],
            ["a60","a52"],
            ["a52","a47"],
            ["a47","a60"],
            ["a41","a25"],
            ["a25","a61"],
            ["a61","a41"],
            ["a9","a8"],
            ["a8","a4"],
            ["a4","a9"],
            ["a19","a0"],
            ["a0","a2"],
            ["a2","a19"],
            ["a60","a63"],
            ["a63","a62"],
            ["a62","a60"],
            ["a23","a32"],
            ["a32","a28"],
            ["a28","a23"],
            ["a57","a62"],
            ["a62","a63"],
            ["a63","a57"],
            ["a11","a12"],
            ["a12","a8"],
            ["a8","a11"],
            ["a51","a39"],
            ["a39","a46"],
            ["a46","a51"],
            ["a57","a55"],
            ["a55","a62"],
            ["a62","a57"],
            ["a43","a53"],
            ["a53","a54"],
            ["a54","a43"],
            ["a40","a56"],
            ["a56","a53"],
            ["a53","a40"],
            ["a56","a36"],
            ["a36","a51"],
            ["a51","a56"],
            ["a14","a18"],
            ["a18","a15"],
            ["a15","a14"],
            ["a51","a55"],
            ["a55","a56"],
            ["a56","a51"],
            ["a35","a31"],
            ["a31","a25"],
            ["a25","a35"],
            ["a35","a36"],
            ["a36","a34"],
            ["a34","a35"],
            ["a40","a32"],
            ["a32","a34"],
            ["a34","a40"],
            ["a35","a39"],
            ["a39","a36"],
            ["a36","a35"],
            ["a19","a16"],
            ["a16","a14"],
            ["a14","a19"],
            ["a34","a30"],
            ["a30","a31"],
            ["a31","a34"],
            ["a32","a33"],
            ["a33","a28"],
            ["a28","a32"],
            ["a41","a37"],
            ["a37","a35"],
            ["a35","a41"],
            ["a18","a30"],
            ["a30","a15"],
            ["a15","a18"],
            ["a46","a52"],
            ["a52","a51"],
            ["a51","a46"],
            ["a17","a18"],
            ["a18","a16"],
            ["a16","a17"],
            ["a24","a20"],
            ["a20","a27"],
            ["a27","a24"],
            ["a29","a22"],
            ["a22","a26"],
            ["a26","a29"],
            ["a26","a21"],
            ["a21","a17"],
            ["a17","a26"],
            ["a50","a45"],
            ["a45","a48"],
            ["a48","a50"],
            ["a46","a42"],
            ["a42","a49"],
            ["a49","a46"],
            ["a44","a48"],
            ["a48","a45"],
            ["a45","a44"],
            ["a38","a44"],
            ["a44","a39"],
            ["a39","a38"],
            ["a4","a12"],
            ["a12","a13"],
            ["a13","a4"],
            ["a9","a4"],
            ["a4","a5"],
            ["a5","a9"],
            ["a0","a19"],
            ["a19","a14"],
            ["a14","a0"],
            ["a53","a56"],
            ["a56","a58"],
            ["a58","a53"],
            ["a15","a30"],
            ["a30","a23"],
            ["a23","a15"],
            ["a9","a10"],
            ["a10","a3"],
            ["a3","a9"],
            ["a31","a30"],
            ["a30","a24"],
            ["a24","a31"],
            ["a0","a1"],
            ["a1","a3"],
            ["a3","a0"],
            ["a6","a7"],
            ["a7","a1"],
            ["a1","a6"],
            ["a7","a11"],
            ["a11","a9"],
            ["a9","a7"],
            ["a23","a28"],
            ["a28","a13"],
            ["a13","a23"],
            ["a2","a61"],
            ["a61","a25"],
            ["a25","a2"],
            ["a60","a59"],
            ["a59","a52"],
            ["a52","a60"],
            ["a9","a11"],
            ["a11","a8"],
            ["a8","a9"],
            ["a60","a61"],
            ["a61","a63"],
            ["a63","a60"],
            ["a11","a15"],
            ["a15","a12"],
            ["a12","a11"],
            ["a51","a36"],
            ["a36","a39"],
            ["a39","a51"],
            ["a43","a40"],
            ["a40","a53"],
            ["a53","a43"],
            ["a40","a34"],
            ["a34","a56"],
            ["a56","a40"],
            ["a56","a34"],
            ["a34","a36"],
            ["a36","a56"],
            ["a14","a16"],
            ["a16","a18"],
            ["a18","a14"],
            ["a35","a37"],
            ["a37","a39"],
            ["a39","a35"],
            ["a18","a24"],
            ["a24","a30"],
            ["a30","a18"],
            ["a46","a50"],
            ["a50","a52"],
            ["a52","a46"],
            ["a17","a21"],
            ["a21","a18"],
            ["a18","a17"],
            ["a24","a18"],
            ["a18","a20"],
            ["a20","a24"],
            ["a26","a22"],
            ["a22","a21"],
            ["a21","a26"],
            ["a46","a39"],
            ["a39","a42"],
            ["a42","a46"],
            ["a44","a38"],
            ["a38","a48"],
            ["a48","a44"],
        ],
          
    }
    }

    Code:
    {
        "Name":"Metris Javler",
        "Author":"Fox GAMING",
        "Type":"Car",
        "default_pc":"default",
        "colors":{
            "Pearl White": "1 1 1 1"
        }
    }

    Please help! Thanks!



    *EDIT*: Nevermind, I fixed it, I needed to place the folder in Mods, and I zipped it. However, I have another problem...

    ...when I press K and Ctrl-B, it doesn't show up the green lines/ outlines (I'm guessing those are the beams).

    *EDIT 2*: Ok, double-nevermind that, I looked more closely at the nodes (blue dots) with Ctrl, and released it's the node layout for the Gavril D-Series. It also says Failed to Load vehicle/object: [the name of my mod].


    Here's the Error Log when I run an Verify Integrity check:...


    Code:
      0.00112|L|logging|-----------------------------------------------------------------------------
      0.00118|L|logging|-- BeamNG.drive.launcher - new - 2019-8-16 -- 19:45:17
      0.00120|L|logging|-- v 0.17.0.0.8941 - x86 - build buildbot build 8941 on winbuildbot3 - 16/08/2019 - 13:05:41
      0.00121|L|logging|-- Log Format: Time since startup | Message level: D(ebug), I(nfo), W(arning), E(rror), A(lways) | Message
      0.00128|D|baseFS|gameroot = 'D:\Steam\steamapps\common\BeamNG.drive\'
      0.00130|D|baseFS|userpath = 'C:\Users\xbox\Documents\BeamNG.drive\' , Reason = Default path
      0.00146|I|bng_platform_version|Microsoft Windows 10 (v10.0) (build 18362), 64-bit
      0.15100|I|showMainUI|Nvidia Driver v=43160  Branch='r430_00'
      3.22039|D|verifyHash|starting integrity checking ...
      3.22533|D|verifyHash|Read 2234 hash entries, checking and hashing them now...
    100.72323|I|verifyHash|Hashed all 2234 files - 12.095 GB data in 97.50 seconds
    100.72325|I|verifyHash| - 22.91 files / second
    100.72326|I|verifyHash| - 127.03 MB / second
    102.42564|I|verifyHash|=== Differences ===
    102.42567|I|verifyHash| cefTest\Code Cache\js\index-dir\the-real-index: different
    102.42568|I|verifyHash| cefTest\DevToolsActivePort: different
    102.42569|I|verifyHash| cefTest\GPUCache\index: different
    102.42571|I|verifyHash|=== Differences statistics ===
    102.42572|I|verifyHash|different : 3 files
    102.42573|I|verifyHash|The unknown files have been moved to the following directory: C:\Users\xbox\Documents\BeamNG.drive\\unknown_files_user_backup\0.17.0.0
    
     
    #247 Fox GΔMING, Aug 17, 2019
    Last edited: Aug 17, 2019
  8. Fox GΔMING

    Fox GΔMING
    Expand Collapse

    Joined:
    Aug 5, 2018
    Messages:
    19
    Now earlier on today I was able to get it to show up, in the selector and in game/spawning, and then just recently it won't show up at all. I've re exported it like a million times and checked everything and yet it won't show up in the selector.

    I'm not currently on my computer, I'll post some screenshots and files when I'm back on, hopefully later on today.


    EDIT: Ok, I'm back on. Here's the mod:

    \Documents\BeamNG.drive\mods\Metris_Javler\javler.jbeam

    \Documents\BeamNG.drive\mods\Metris_Javler\info.json

    The Metris_Javler Folder is not a Zip.

    I also have a zipped, "javler" (javler.zip) folder, with the same exact file contents, which I update.


    Also, the mod itself shows up in the mods tab:

    upload_2019-8-17_15-5-59.png

    EDIT 2: Ok, I got it to show up, now it gave an error:

    upload_2019-8-17_15-14-21.png
     

    Attached Files:

    #248 Fox GΔMING, Aug 17, 2019
    Last edited: Aug 17, 2019
  9. ALEX3000

    ALEX3000
    Expand Collapse

    Joined:
    Dec 28, 2016
    Messages:
    108
    Hello, I have a question about the registration of certain parts of the car in the file .jbeam . I want to be able to choose in the" part selector " a normal seat, but with a lot of weight. I copy the part which describes the standard seat and insert after, but change the weight of the seat({"nodeWeight":122}), the name of the seat("name":"Rear Bench Seats 3x80kg"), and the name of the group("roamer_seats_R_1"). But the game writes an error. How to find error?
    And such a problem is observed only with the registration of the rear seat in the ROAMER.
     
    #249 ALEX3000, Sep 7, 2019
    Last edited: Sep 9, 2019
  10. sun_key

    sun_key
    Expand Collapse

    Joined:
    Apr 26, 2020
    Messages:
    53
     
  11. Jimj883

    Jimj883
    Expand Collapse

    Joined:
    Aug 13, 2020
    Messages:
    2
    Hi, I followed your guide to the point where the model should spawn, but the game doesn't find the car in the car explorer. What am I doing wrong?
     

    Attached Files:

  12. ThunderPower

    ThunderPower
    Expand Collapse

    Joined:
    Aug 10, 2020
    Messages:
    15
    Hello Jimj,
    can you write me the path acces of your jbeam and info .json files please?

    I think it is the access path that is not good because I tried and it works

    normally, for the start, file your files like this:
    Documment \ Beamng.drive \ mod \ unpacked \ 2cav \ vehicles \ 2cav \ "your files .jbeam and infos.json"
    --- Post updated ---
     
  13. ThunderPower

    ThunderPower
    Expand Collapse

    Joined:
    Aug 10, 2020
    Messages:
    15
    Hello,
    I have several problems,
    1 / After a lot of testing, the texture of the wheels absolutely does not want to load!
    2 / the engine and transmission don't turn the wheels and I really don't know how doing!


    Will anyone be kind enough to help me or refer me to an already existing conversation ??


    It's been several messages already, and I have always found by myself, if someone could answer me, that will be nice
    Thank you

    Capture.png
     

    Attached Files:

    #253 ThunderPower, Aug 19, 2020
    Last edited: Aug 23, 2020
  14. Jimj883

    Jimj883
    Expand Collapse

    Joined:
    Aug 13, 2020
    Messages:
    2
    Thank you, you fixed my problem. I'm kind of dumb with tecnology so i often do this errors.
     
  15. jondfb

    jondfb
    Expand Collapse

    Joined:
    Jun 16, 2020
    Messages:
    116
    Hey can you help me bc i can spawn my vehicle but the beams wont come up when i press ctrl b
     
  16. ThunderPower

    ThunderPower
    Expand Collapse

    Joined:
    Aug 10, 2020
    Messages:
    15
    Hello jondfb,
    not having much information to help you, can you send me your mod folder in .zip ?
     
  17. jondfb

    jondfb
    Expand Collapse

    Joined:
    Jun 16, 2020
    Messages:
    116
    Ok Here it is

    Hey I know you might not have done anything yet or fixed anything but thanks for helping me
     

    Attached Files:

  18. ThunderPower

    ThunderPower
    Expand Collapse

    Joined:
    Aug 10, 2020
    Messages:
    15
    Hi jondfb, great news!
    There are no worries in your mod!
    By doing "Crtl + b" the beams of your cube appear well.
    If that doesn't work for you try clearing the vehicles cache

    Capture2.png

    You're welcome for help, that's normal. If no one helps those in difficulty, there is no point in having a forum ...
    Do not hesitate to keep me informed in your projects by messages, maybe we can help each other for the mods
    Sorry for the mistakes, I'm French
     

    Attached Files:

    #258 ThunderPower, Aug 28, 2020
    Last edited: Aug 28, 2020
  19. jondfb

    jondfb
    Expand Collapse

    Joined:
    Jun 16, 2020
    Messages:
    116
    ok thanks
    --- Post updated ---
    How do i clear the vehicle cache
    --- Post updated ---
    Ok thanks how do i add collisions to it. IDK why i can just drive through it
    --- Post updated ---
    Hey i also need help with the texturing and the flex bodies
     
    • Like Like x 1
  20. ThunderPower

    ThunderPower
    Expand Collapse

    Joined:
    Aug 10, 2020
    Messages:
    15
    Hello jong fb,

    ---1---

    To clear the vehicle cache:
    1 / If you use a desktop shortcut to start Beamng, a window will open with three options:
    -launch game
    -manage user folder
    -Support tools

    Go to "Support tools"
    and choose "clear cache".

    2 / If you don't have this window,
    you can switch to "manual" mod.
    Go to:
    Documents \ BeamNG.drive \ cache.0.20.1.1 \ vehicles
    and delete your vehicle's file or all files.
    This will only reset the vehicle settings saved by the games.

    ---2---

    For collisions, Beamng uses collision triangles.
    I noticed that in your jbeam there was no triangles section.
    In Blender, when you export your jbeam mesh, you change to "edit mod" and select "Cube.jbeam".
    And you just have to exprote the mesh.
    Then you open your "Cube.jbeam" from your mod and the "Cube" in Blender's export folder.
    You copy paste the new lines: nodes, beams, and triangles from the "Cube" into your "Cube.jbeam"
    And you recharge your vehicle in Beamng and normally it has a collision box.
    (--video mp4 = "triangles"--)

    ---3---

    (--videos--step 1 and 2--)

    The texture cannot be alone.
    So you have to create a new "material.cs" file and add a "flexbodies" section in the .jbeam file.

    First of all, open your blender project and rename the material to "Cube.jbeam" and re-export the .dae with this name:
    "test_cube.DAE.dae"

    In your mod folder, create a file called: "materials.cs"

    and paste these lines there:

    Code:
    singleton Material(test_cube)
    {
       mapTo = "test_cube.DAE";
       diffuseMap[0] = "vehicles\test cube\test_cube.png";
       specularPower[0] = "15";
       useAnisotropic[0] = "1";
       castShadows = "0";
       translucent = "0";
       alphaTest = "0";
       alphaRef = "0";
    };
    
    Then, add a "flexbodies" to the exsitant .jbeam file

    Paste these lines below "slotType": "main", :

    Code:
             "flexbodies": [
            ["mesh", "[group]:", "nonFlexMaterials"],
            ["Cube.jbeam", ["test_cube"]],
            
    ], 
    And we must add this little line below the options in the nodes section :

    Code:
    {"group":"test_cube"},
    Then in your blender project, you have to create a texture.
    Go to "Shading" at the top of the interface, and click on "add"
    and type "image".
    Then create a new texture of 1024/1024.
    Go to the top right of the interface, in "Render Properties" and choose the "Cycles" mod in the "Render Engine" box.
    dessent in the "Bake", and choose "Ambient Oclusion" in "Bake type" and click on the Bake button
    Save the image in your folder with this name:
    "test_cube.png.png"

    And in theory ... your vehicle appears with an appearance !

    I hope this will help you.I hope this will help you.
     

    Attached Files:

  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