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.36 Bug Reporting thread
    Solutions and more information may already be available.

How to edit Jbeams from the beginning

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by Faction54, Sep 15, 2016.

  1. Faction54

    Faction54
    Expand Collapse

    Joined:
    Sep 2, 2016
    Messages:
    213
    hello. I'm pretty new here, I've only had the game a few weeks, but I'd love to know how to fiddle with the Jbeams. especially so I can lower cars (i'm a big fan of that). So, I know I'm maybe going to be a bit newb, but can someone please just give me a detailed explanation for a beginner on how to mess with Jbeams.Thanks for your time.
     
  2. synsol

    synsol
    Expand Collapse
    QA Lead
    BeamNG Team

    Joined:
    Aug 4, 2013
    Messages:
    1,475
    Hi , welcome to the community !

    Don't worries , after some testing, modifying jbeam could be learn quickly, we have some articles in our wiki that can help: http://wiki.beamng.com/JBeam_Introduction

    The best advice i can give you , is to isolate the part you want to modify first , example a new coilover for the cover using a copy of original part, and use the mod folder to make your change . On your mod folder (..Documents / BeamNG.drive / Mods ) you need to have an "Unpacked" folder , you can put here your mod file and tweak it while the game is open to see the results in live .

    Code:
    "hatch_coilover_F_MYNAME": {
        "information":{
            "authors":"BeamNG",
            "name":"My new Front Struts",
            "value":200,
        },
    
        "slotType" : "hatch_coilover_F",
    
        "flexbodies": [
            ["mesh", "[group]:", "nonFlexMaterials"],
            ["hatch_coilover_F", ["hatch_shockbottom_F","hatch_shocktop_F"]],
        ],
        "beams": [
              ["id1:", "id2:"],
              //front springs with soft initial bump stop
              {"beamPrecompression":1.205, "beamType":"|BOUNDED", "beamLongBound":0.0, "beamShortBound":0.19},
              {"beamDeform":70000,"beamStrength":125000},
              {"beamSpring":24000,"beamDamp":0},
              {"beamLimitSpring":201000,"beamLimitDamp":2000},
              ["fh1r","fs1r"{"soundFile":"art/sound/spring_creak.ogg","volumeFactor":5.5,"decayMode":0,"decayFactor":3,"pitchFactor":1,"maxStress":7000}],
              ["fh1l","fs1l"{"soundFile":"art/sound/spring_compress2.ogg","volumeFactor":0.8,"decayMode":1,"decayFactor":5,"pitchFactor":4,"maxStress":600}],
              //harder bump stop
              {"beamPrecompression":1, "beamType":"|BOUNDED", "beamLongBound":1.0, "beamShortBound":0.09},
              {"beamSpring":0,"beamDamp":0},
              {"beamLimitSpring":1501000,"beamLimitDamp":15000},
              ["fh1r","fs1r"{"beamLimitDampRebound":0}],
              ["fh1l","fs1l"{"beamLimitDampRebound":0}],
              //shocks
              {"beamPrecompression":1, "beamType":"|BOUNDED", "beamLongBound":1.0, "beamShortBound":1.0},
              {"beamSpring":0,"beamDamp":2500},
              {"beamLimitSpring":0,"beamLimitDamp":0},
              ["fh1r","fs1r"{"beamDampFast":1200,"beamDampRebound":3800,"beamDampReboundFast":1900,"beamDampVelocitySplit":0.09}],
              ["fh1l","fs1l"{"beamDampFast":1200,"beamDampRebound":3800,"beamDampReboundFast":1900,"beamDampVelocitySplit":0.09}],
              {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
        ],
    },
    This is an exemple of jbeam for Covet front coilover ;


    If you need help please feel free to ask here :)
     
  3. Faction54

    Faction54
    Expand Collapse

    Joined:
    Sep 2, 2016
    Messages:
    213
    Thanks for the link, I'm still not quite following, but I'll go have a good read:)
     
  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