1. Trouble with the game?
    Try the troubleshooter!

    Dismiss Notice
  2. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice
  3. Before reporting issues or bugs, please check the up-to-date Bug Reporting Thread for the current version.
    0.32 Bug Reporting thread
    Solutions and more information may already be available.

How to add parts to the .DAE?

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by Fundador, Aug 5, 2013.

  1. Fundador

    Fundador
    Expand Collapse

    Joined:
    May 21, 2013
    Messages:
    595
    Hi,

    I have been fiddling about trying to add a light-bar i have made to the gavril D-15 (pickup truck) and haven't had much luck so far.
    I have tried doing this to truck.DAE
    Capture.JPG
    Then specifying it in a Jbeam file with the same settings as the standard front bumper just a different name and meshname, My new part appeared on the drop down list in the parts configurator but when i added it to the car i got no front bumper at all.
    The meshname was Truck_Bumper_f_lightbar which followed the same format as other pats.

    Any help would be appreciated :)

    thanks,

    Rob
     
  2. thomatoes50

    thomatoes50
    Expand Collapse
    BeamNG Team

    Joined:
    Jan 31, 2013
    Messages:
    722
    Did you had beams to the jbeam file??
    Code:
    "pickup_fueltank": {
        "information":{
            "authors":"gabester",
            "name":"Gavril D-Series Fuel Tank",
        }
        "slotType" : "pickup_fueltank",
        "scalebeamSpring":0.84,
        "scalebeamDamp":1.3,
        "scalebeamDeform":1.5,
        "scalebeamStrength":1.78,
        "flexbodies": [
             ["mesh", "[group]:", "nonFlexMaterials"],
             ["pickup_fueltank", ["pickup_framefront", "pickup_framecab", "pickup_rearshocktop", "pickup_framebed"]],
        ],
        "nodes": [
             ["id", "posX", "posY", "posZ"],
        ],
        "beams": [
              ["id1:", "id2:"],
              {"beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
              //fuel tank beams
              {"beamSpring":101000,"beamDamp":20},
              {"beamDeform":6000,"beamStrength":48000},
              ["fr13l","fr13",{"name":"pickup_fueltank_a"}],
              ["fr14l","fr12l",{"name":"pickup_fueltank_b"}],
              ["fr14","fr12",{"name":"pickup_fueltank_c"}],
        ],
    }
    Modify those value to yours and grab some code from other part or vehicle
     
  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