Unsolved How to make a stronger welded doors?

Discussion in 'Mod Support' started by Peter Beamo, Apr 2, 2017.

  1. Peter Beamo

    Peter Beamo
    Expand Collapse

    Joined:
    Jun 27, 2016
    Messages:
    3,200
    Any way to make 'em stick together

    EDIT : Know how to make the welded doors. But I want to make em' STICK like a super glue and can't pull them off!!

    What should I increase in doors jbeam????
     
    #1 Peter Beamo, Apr 2, 2017
    Last edited: Apr 16, 2017
  2. torsion

    torsion
    Expand Collapse

    Joined:
    May 31, 2015
    Messages:
    1,600
    Either make a few new beams or use the coupler system. Additional beams won't require you to re-declare nodes and will probably help you maintain compatibility with new game versions for a little longer.
     
    • Informative Informative x 1
  3. Ytrewq

    Ytrewq
    Expand Collapse

    Joined:
    Dec 6, 2014
    Messages:
    2,268
    5-door Covet mod has a "welded doors" version, you can use it as an example.
     
  4. Peter Beamo

    Peter Beamo
    Expand Collapse

    Joined:
    Jun 27, 2016
    Messages:
    3,200
    need more details about it :(
    still can't figure out how
     
  5. torsion

    torsion
    Expand Collapse

    Joined:
    May 31, 2015
    Messages:
    1,600
    I must be missing something. Just permanently connect the doors to the body. The physics engine is node/beam based, so it doesn't directly simulate a difference between (for example) two plates which are bolted together vs two plates which are welded together. It's up to you to setup a node/beam structure which behaves in a similar way to what you want to simulate.

    Look at the beams used for a normal section of body which is permanently joined together, similar to how you would like the door seam to behave. Examine their spring, damp, deform, break, etc. Now create new beams between the door nodes and the body nodes using those settings.
     
    • Informative Informative x 1
  6. Peter Beamo

    Peter Beamo
    Expand Collapse

    Joined:
    Jun 27, 2016
    Messages:
    3,200
    im still a dumb but thx for da tips anyway.....
    A dumb like me still need a IN-DEPTH tutorial XDDDD
     
  7. Narwhal

    Narwhal
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    1,698
    Guys cant you just explain it to him in a easy to understand way?

    somethign i wrote. copy pasting here. i cant say if the attached files will work, but the method below will.

    IM USING MOONHAWK AS EXAMPLE
    heres what i did. I have also included the files and a zip. the zip shoudl be able to be dropped straight into mods.
    First copy the moonhawk door and hood jbeam your unpacked moonhawk folder Should be something like this: mods/unpacked/moonhawkwelded/vehicles/moonhawk. Next rename each one.

    then open both of them up. The start of the hood jbeam should look like this
    Code:
    "moonhawk_hood": {
       "information":{
            "authors":"BeamNG",
            "name":"Hood",
            "value":100,
        }
    
    You need to add onto the top part _welded so that the game can tell its a separate part. Next add Welded in front of hood in the name part. This is the text that shows up in the part selector.
    Code:
    "moonhawk_hood_welded": {
       "information":{
            "authors":"BeamNG",
            "name":"Welded Hood",
            "value":100,
        }
    
    Finally for the hood find the word latch. should be around line 306 and look like this
    Code:
            //hood latch
              {"beamDeform":10500,"beamStrength":30500},
              {"breakGroup":"moonhawk_hoodlatch"},
    
    Change the value for beamStrength to a higher number if you want the welds to still break, but be stronger than the regular latch. or put "FLT_MAX"(exactly like that with the quotes too)
    Code:
            //hood latch
              {"beamDeform":10500,"beamStrength":30500},
              {"breakGroup":"moonhawk_hoodlatch"},
    
    This is what it looks like when i have the flt max value put in.
    Code:
            //hood latch
              {"beamDeform":10500,"beamStrength":"FLT_MAX"},
              {"breakGroup":"moonhawk_hoodlatch"},
    
     

    Attached Files:

    • Agree Agree x 1
  8. Peter Beamo

    Peter Beamo
    Expand Collapse

    Joined:
    Jun 27, 2016
    Messages:
    3,200
    Thank u so much man!!
    This is a lot easier to understand!
    And welcome back :D

    And thanks to @torsion too !! for trying to help me :)
     
    • Like Like x 2
  9. Peter Beamo

    Peter Beamo
    Expand Collapse

    Joined:
    Jun 27, 2016
    Messages:
    3,200
    what about the fenders???
     
  10. synsol

    synsol
    Expand Collapse
    QA Lead
    BeamNG Team

    Joined:
    Aug 4, 2013
    Messages:
    1,473
    if the doors are welded, you could also include the doors flexbodies on the body jbeam, an add fixed beams into it, on the doors area.
     
    • Agree Agree x 1
    • Informative Informative x 1
  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