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.

hub wheels Problems (Devs Needed)

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by ThreeDTech21, Mar 5, 2016.

  1. ThreeDTech21

    ThreeDTech21
    Expand Collapse

    Joined:
    Sep 27, 2013
    Messages:
    1,616
    1st problem.

    Why do these few lines of code added to the wheels jbeam crash the game?

    I'm trying to upgrade my vehicle to the new wheels jbeam, I did copy and paste all the lines of code from the new wheels jbeam over the old wheels jbeam. But there is a line of code when copied over the old lines of code causes the game to crash.

    //ORIGINAL (OLD) LINE OF CODE------------------------------- <--Look For That Line this is the original lines of code that work fine.

    Code:
    }
    
    "schoolbus_street_F": {
        "information":{
            "authors":"BeamNG",
            "name":"32inch Hirochi SBRS2 Wheels",
        }
        "flexbodies": [
             ["mesh", "[group]:", "nonFlexMaterials"],
             //wheels
             ["hirochi_wheel_04a_19x9", ["wheel_FR"], [], {"pos":{"x":-1.0654, "y":-3.25, "z":0.45}, "rot":{"x":0, "y":0, "z":180}, "scale":{"x":1.5, "y":1.5, "z":1.5}}],
             ["hirochi_wheel_04a_19x9", ["wheel_FL"], [], {"pos":{"x": 1.0654, "y":-3.25, "z":0.45}, "rot":{"x":0, "y":0, "z":0}, "scale":{"x":1.5, "y":1.5, "z":1.5}}],
             ["tire_01a_19x9_25", ["wheel_FR"], [], {"pos":{"x":-1.0654, "y":-3.25, "z":0.45}, "rot":{"x":0, "y":0, "z":0}, "scale":{"x":1.5, "y":1.5, "z":1.5}}],
             ["tire_01a_19x9_25", ["wheel_FL"], [], {"pos":{"x": 1.0654, "y":-3.25, "z":0.45}, "rot":{"x":0, "y":0, "z":0}, "scale":{"x":1.5, "y":1.5, "z":1.5}}],
         ],
        "slotType" : "schoolbus_wheel_F",
        "beams": [
              ["id1:", "id2:", "options"],
              //--FRONT WHEELS--
              {"beamSpring":4000100,"beamDamp":16},
              {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
              {"beamDeform":200000,"beamStrength":"FLT_MAX"},
              ["fh1r","fh1rr"],
              ["fh1l","fh1ll"],
              {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
        ],
        "pressureWheels": [
                ["name","hubGroup","group","node1:","node2:","nodeS","nodeArm:","wheelDir"],
                {"enableTireReinfBeams":true},{"disableMeshBreaking":false,"disableHubMeshBreaking":false},
       
                //general settings
                {"radius":0.473},
                {"hubRadius":0.37},
                {"wheelOffset":-0.08},
                {"hubWidth":0.36},
                {"tireWidth":0.35},
                {"numRays":24},
       
                //hub options
                {"hubTreadBeamSpring":3160800, "hubTreadBeamDamp":12.8},
                {"hubPeripheryBeamSpring":3160800, "hubPeripheryBeamDamp":12.8},
                {"hubSideBeamSpring":3160800, "hubSideBeamDamp":12.8},
                {"hubBeamDeform":170000, "hubBeamStrength":270000},
                {"hubNodeWeight":1.12},
                {"hubNodeMaterial":"|NM_METAL"},
                {"hubFrictionCoef":0.5},
    
                //tire options
                {"wheelSideBeamSpring":0,"wheelSideBeamDamp":64},
                {"wheelSideBeamSpringExpansion":951000,"wheelSideBeamDampExpansion":80},
                {"wheelReinfBeamSpring":112800,"wheelReinfBeamDamp":96},
                {"wheelReinfBeamSpringExpansion":141000,"wheelReinfBeamDampExpansion":120},
                {"wheelTreadBeamSpring":360800,"wheelTreadBeamDamp":200},
                {"wheelTreadBeamSpringExpansion":451000,"wheelTreadBeamDampExpansion":250},
                {"wheelPeripheryBeamSpring":440800,"wheelPeripheryBeamDamp":80},
       
                //deform values
                {"wheelSideBeamDeform":78000,"wheelSideBeamStrength":82000},
                {"wheelReinfBeamDeform":78000,"wheelReinfBeamStrength":82000},
                {"wheelTreadBeamDeform":78000,"wheelTreadBeamStrength":96000},
                {"wheelPeripheryBeamDeform":78000,"wheelPeripheryBeamStrength":96000},
       
                //general tire values
                {"nodeWeight":1.02},
                {"nodeMaterial":"|NM_RUBBER"},
                {"frictionCoef":1.1},
                {"triangleCollision":true},
                {"pressurePSI":95},
                {"maxPressurePSI":2400},
                {"dragCoef":20},
       
                //front
                {"selfCollision":true}
                {"collision":true}
       
                //ORIGINAL (OLD) LINE OF CODE-------------------------------
                ["FR", "wheel_FR", "fh1rr", "fh1r", 9999,  "fa4r", 1],
                ["FL", "wheel_FL", "fh1ll", "fh1l", 9999,  "fa4l", -1],
       
               {"propulsed":0},
                {"brakeTorque":0},
                {"parkingTorque":0},
                {"triangleCollision":false},
                {"disableMeshBreaking":false,"disableTriangleBreaking":false}
        ],


    The line of code change is in he code below. Under Original Code look for the comment
    //NEW LINE OF CODE-------------------------------
    <--Look For That Line, That is the new lines of code that crash the game.

    Code:
    "schoolbus_street_F": {
        "information":{
            "authors":"BeamNG",
            "name":"32inch Hirochi SBRS2 Wheels",
        }
        "flexbodies": [
             ["mesh", "[group]:", "nonFlexMaterials"],
             //wheels
             ["hirochi_wheel_04a_19x9", ["wheel_FR"], [], {"pos":{"x":-1.0654, "y":-3.25, "z":0.45}, "rot":{"x":0, "y":0, "z":180}, "scale":{"x":1.5, "y":1.5, "z":1.5}}],
             ["hirochi_wheel_04a_19x9", ["wheel_FL"], [], {"pos":{"x": 1.0654, "y":-3.25, "z":0.45}, "rot":{"x":0, "y":0, "z":0}, "scale":{"x":1.5, "y":1.5, "z":1.5}}],
             ["tire_01a_19x9_25", ["wheel_FR"], [], {"pos":{"x":-1.0654, "y":-3.25, "z":0.45}, "rot":{"x":0, "y":0, "z":0}, "scale":{"x":1.5, "y":1.5, "z":1.5}}],
             ["tire_01a_19x9_25", ["wheel_FL"], [], {"pos":{"x": 1.0654, "y":-3.25, "z":0.45}, "rot":{"x":0, "y":0, "z":0}, "scale":{"x":1.5, "y":1.5, "z":1.5}}],
         ],
        "slotType" : "schoolbus_wheel_F",
        "beams": [
              ["id1:", "id2:", "options"],
              //--FRONT WHEELS--
              {"beamSpring":4000100,"beamDamp":16},
              {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
              {"beamDeform":200000,"beamStrength":"FLT_MAX"},
              ["fh1r","fh1rr"],
              ["fh1l","fh1ll"],
              {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
        ],
        "pressureWheels": [
                ["name","hubGroup","group","node1:","node2:","nodeS","nodeArm:","wheelDir"],
                {"enableTireReinfBeams":true},{"disableMeshBreaking":false,"disableHubMeshBreaking":false},
         
                //general settings
                {"radius":0.473},
                {"hubRadius":0.37},
                {"wheelOffset":-0.08},
                {"hubWidth":0.36},
                {"tireWidth":0.35},
                {"numRays":24},
         
                //hub options
                {"hubTreadBeamSpring":3160800, "hubTreadBeamDamp":12.8},
                {"hubPeripheryBeamSpring":3160800, "hubPeripheryBeamDamp":12.8},
                {"hubSideBeamSpring":3160800, "hubSideBeamDamp":12.8},
                {"hubBeamDeform":170000, "hubBeamStrength":270000},
                {"hubNodeWeight":1.12},
                {"hubNodeMaterial":"|NM_METAL"},
                {"hubFrictionCoef":0.5},
     
                //tire options
                {"wheelSideBeamSpring":0,"wheelSideBeamDamp":64},
                {"wheelSideBeamSpringExpansion":951000,"wheelSideBeamDampExpansion":80},
                {"wheelReinfBeamSpring":112800,"wheelReinfBeamDamp":96},
                {"wheelReinfBeamSpringExpansion":141000,"wheelReinfBeamDampExpansion":120},
                {"wheelTreadBeamSpring":360800,"wheelTreadBeamDamp":200},
                {"wheelTreadBeamSpringExpansion":451000,"wheelTreadBeamDampExpansion":250},
                {"wheelPeripheryBeamSpring":440800,"wheelPeripheryBeamDamp":80},
         
                //deform values
                {"wheelSideBeamDeform":78000,"wheelSideBeamStrength":82000},
                {"wheelReinfBeamDeform":78000,"wheelReinfBeamStrength":82000},
                {"wheelTreadBeamDeform":78000,"wheelTreadBeamStrength":96000},
                {"wheelPeripheryBeamDeform":78000,"wheelPeripheryBeamStrength":96000},
         
                //general tire values
                {"nodeWeight":1.02},
                {"nodeMaterial":"|NM_RUBBER"},
                {"frictionCoef":1.1},
                {"triangleCollision":true},
                {"pressurePSI":95},
                {"maxPressurePSI":2400},
                {"dragCoef":20},
         
                //front
                {"selfCollision":true}
                {"collision":true}
         
                //NEW LINE OF CODE-------------------------------
                {"selfCollision":true}
                {"collision":true}
                {"axleBeams":["axle_FR"]}
                ["FR", "wheel_FR", "tire_FR", "fh1rr", "fh1r", 9999,  "fa4r", 1, {"nodeCoupling:":"fh1r","steerAxisUp:":"fa5r","steerAxisDown:":"fa4r"}],
                {"axleBeams":["axle_FL"]}
                ["FL", "wheel_FL", "tire_FL", "fh1ll", "fh1l", 9999,  "fa4l", -1, {"nodeCoupling:":"fh1l","steerAxisUp:":"fa5l","steerAxisDown:":"fa4l"}],
                {"axleBeams":[]}
         
               {"propulsed":0},
                {"brakeTorque":0},
                {"parkingTorque":0},
                {"triangleCollision":false},
                {"disableMeshBreaking":false,"disableTriangleBreaking":false}
        ],
    2nd problem

    The rims distort while driving as can be seen in the video below. How can I fix that




    distort1.PNG
    --- Post updated ---
    Help! It will take days to figure this out
     
    #1 ThreeDTech21, Mar 6, 2016
    Last edited: Mar 6, 2016
  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