{
"sprtg_suspension_R": {
    "information":{
        "authors":"BeamNG",
        "name":"Torsion Beam Rear Suspension",
        "value":220,
    },
    "slotType" : "sprtg_suspension_R2",
    "slots": [
        ["type", "default", "description"],
        ["sprtg_brake_R","sprtg_brake_R", "Rear Brakes"],
        //To change the base track width, edit the trackoffset_R offset in the expression.
        ["wheel_R_5","steelwheel_16a_16x7_R","Rear Wheels", {"nodeOffset":{"x":"$=$trackoffset_R+0.3", "y":1.338, "z":0.32}}],
        ["sprtg_wheeldata_R","sprtg_wheeldata_R", "Rear Spindles", {"coreSlot":true}],
        ["sprtg_spring_R","sprtg_spring_R", "Rear Springs"],
        ["sprtg_shock_R","sprtg_shock_R", "Rear Shocks"],
    ],
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         //rear running gear
         ["sprtg_hub_R_torsionbeam", ["sprtg_hub_R"]],
         ["sprtg_torsionbeam", ["sprtg_hub_R", "sprtg_torsionbeam_R"]],
    ],
    "variables": [
        ["name", "type", "unit", "category", "default", "min", "max", "title", "description"],
        ["$camber_RR", "range", "", "Wheel Alignment", 0.973, 0.96, 1.03, "Camber Adjust", "Adjusts the wheel camber angles", {"subCategory":"Rear"}],
        ["$toe_RR", "range", "", "Wheel Alignment", 0.9965, 1.01, 0.99, "Toe Adjust", "Adjusts the wheel toe-in angle", {"subCategory":"Rear"}],
        ["$trackoffset_R", "range", "+m", "Wheels", 0.0,-0.02, 0.05, "Wheel Offset", "Spacing of the wheel from the hub", {"stepDis":0.001,"subCategory":"Rear"}],
    ],
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         //--REAR RUNNING GEAR--
         {"nodeMaterial":"|NM_METAL"},
         {"frictionCoef":0.5},
         {"collision":true},
         {"selfCollision":true},

         //trailing arm mounts
         {"nodeWeight":6.5},
         {"group":"sprtg_torsionbeam_R"},
         ["rx1r",-0.563,0.865,0.295],
         ["rx1l", 0.563,0.865,0.295],

         //relocate upper spring mounts
         {"nodeWeight":3.5},
         ["r1rr",-0.444,1.37,0.44, {"group":["sprtg_body", "sprtg_spring_R"]}],
         ["r1ll",0.444,1.37,0.44, {"group":["sprtg_body", "sprtg_spring_R"]}],

         //--FRONT SUSPENSION--
         {"collision":true},
         {"selfCollision":true},

         //rear hubs
         {"nodeWeight":8},
         {"group":["sprtg_torsionbeam_R", "sprtg_shock_R", "sprtg_hub_R"]}
         ["rh1r",-0.75,1.34,0.18],
         ["rh1l", 0.75,1.34,0.18],
         {"nodeWeight":4.5},
         {"group":["sprtg_torsionbeam_R", "sprtg_hub_R"]}
         ["rh2r",-0.75,1.34,0.46],
         ["rh2l", 0.75,1.34,0.46],
         //["rh3r",-0.72,1.46,0.24],
         //["rh3l", 0.72,1.46,0.24],
         {"selfCollision":false},
         {"nodeWeight":4.5},
         ["rh4r",-0.4,1.16,0.24],
         ["rh4l", 0.4,1.16,0.24],
         ["rh6r",-0.4,1.16,0.45],
         ["rh6l", 0.4,1.16,0.45],
         //["rh4",0.0,1.15,0.47, {"collision":false}],
         //lower spring mounts
         {"nodeWeight":3.5},
         {"group":["sprtg_torsionbeam_R", "sprtg_spring_R"]}
         ["rh3r",-0.456,1.37,0.24],
         ["rh3l", 0.456,1.37,0.24],
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          //--REAR RUNNING GEAR--

          //trailing arm mounts
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          {"beamSpring":7001000,"beamDamp":150},
          {"beamDeform":25000,"beamStrength":220000},
          {"breakGroup":"trailingarm_RR"},
          ["rx1r", "f4rr"],
          ["rx1r", "f4r"],
          ["rx1r", "f9rr"],
          ["rx1r", "f9r"],
          ["rx1r", "f3rr"],
          ["rx1r", "f8rr"],
          ["rx1r", "f3r"],
          {"breakGroup":"trailingarm_RL"},
          ["rx1l", "f4ll"],
          ["rx1l", "f4l"],
          ["rx1l", "f9ll"],
          ["rx1l", "f9l"],
          ["rx1l", "f3ll"],
          ["rx1l", "f8ll"],
          ["rx1l", "f3l"],
          {"breakGroup":""},

          //--REAR SUSPENSION--
          {"deformLimitExpansion":1.2},
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},

          //torsion beam suspension
          {"beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          {"beamDeform":38000,"beamStrength":337500},
          {"beamSpring":10001000,"beamDamp":150},
          //beam to hub
          ["rh1l", "rh4l"],
          ["rh2l", "rh6l"],
          ["rh1l", "rh6l"],
          ["rh2l", "rh4l"],
          ["rh6l", "rh4l"],

          ["rh1r", "rh4r"],
          ["rh2r", "rh6r"],
          ["rh1r", "rh6r"],
          ["rh2r", "rh4r"],
          ["rh6r", "rh4r"],

          //hub to pivot
          {"beamSpring":7001000,"beamDamp":150},
          ["rh1r", "rx1r"],
          ["rh2r", "rx1r"],

          ["rh1l", "rx1l"],
          ["rh2l", "rx1l"],

          //beam across (controls beam vertical bend)
          {"beamSpring":10001000,"beamDamp":150},
          ["rh4r", "rh4l"],
          ["rh6r", "rh6l"],
          //beam crossing (controls beam vertical shear)
          {"beamSpring":3001000,"beamDamp":150},
          ["rh6r", "rh4l"],
          ["rh4r", "rh6l"],

          //beam twist and lateral compliance
          {"beamSpring":1501000,"beamDamp":150},
          ["rh6r", "rx1l"],
          ["rh4r", "rx1l"],
          ["rh6l", "rx1r"],
          ["rh4l", "rx1r"],

          ["rh4l", "rx1l"],
          ["rh6l", "rx1l"],
          ["rh4r", "rx1r"],
          ["rh6r", "rx1r"],

          //lateral compliance
          {"beamSpring":2001000,"beamDamp":150},
          ["rw1r","rh4l",{"breakGroup":"wheel_RR"}],
          ["rw1r","rh6l",{"breakGroup":"wheel_RR"}],
          ["rw1l","rh4r",{"breakGroup":"wheel_RL"}],
          ["rw1l","rh6r",{"breakGroup":"wheel_RL"}],

          //spring perch
          {"beamSpring":7001000,"beamDamp":150},
          ["rh3l", "rh1l"],
          ["rh1l", "rh2l"],
          ["rh2l", "rh3l"],

          ["rh1r", "rh3r"],
          ["rh3r", "rh2r"],
          ["rh2r", "rh1r"],

          {"beamSpring":3501000,"beamDamp":150},
          ["rh3r", "rh4r"],
          ["rh3l", "rh4l"],

          //attach to wheel
          {"beamSpring":9001000,"beamDamp":150},
          {"beamDeform":78000,"beamStrength":275000},
          {"optional":true},
          {"breakGroup":"wheel_RR"},
          ["rh1r","rw1r", {"name":"axle_RR"}],
          ["rh2r","rw1r"],
          //["rh3r","rw1r"],
          ["rh1r","rw1rr"],
          ["rh2r","rw1rr", {"beamPrecompression":"$camber_RR","beamPrecompressionTime":0.5}],
          //["rh3r","rw1rr"],
          ["rw1r","rx1r", {"beamSpring":4501000}],
          ["rw1rr","rx1r", {"beamSpring":4501000,"beamPrecompression":"$toe_RR","beamPrecompressionTime":0.5}],

          {"breakGroup":"wheel_RL"},
          ["rh1l","rw1l", {"name":"axle_RL"}],
          ["rh2l","rw1l"],
          //["rh3l","rw1l"],
          ["rh1l","rw1ll"],
          ["rh2l","rw1ll", {"beamPrecompression":"$camber_RR","beamPrecompressionTime":0.5}],
          //["rh3l","rw1ll"],
          ["rw1l","rx1l", {"beamSpring":4501000}],
          ["rw1ll","rx1l", {"beamSpring":4501000,"beamPrecompression":"$toe_RR","beamPrecompressionTime":0.5}],
          {"breakGroup":""},
          {"optional":false},

          //rear limiters
          {"deformLimitExpansion":""},
          {"beamPrecompression":0.55, "beamType":"|SUPPORT", "beamLongBound":3},
          {"beamSpring":2501000,"beamDamp":500,"beamDeform":165000,"beamStrength":900000},
          {"optional":true},
          ["rw1r", "f4rr"],
          ["rw1r", "f9rr"],
          ["rw1r", "r2rr"],
          ["rw1r", "q7r", {"beamPrecompression":0.45}],
          ["rw1rr", "f4rr"],
          ["rw1rr", "f9rr"],
          ["rw1rr", "r2rr"],
          ["rw1rr", "q7r", {"beamPrecompression":0.45}],

          ["rw1l", "f4ll"],
          ["rw1l", "f9ll"],
          ["rw1l", "r2ll"],
          ["rw1l", "q7l", {"beamPrecompression":0.45}],
          ["rw1ll", "f4ll"],
          ["rw1ll", "f9ll"],
          ["rw1ll", "r2ll"],
          ["rw1ll", "q7l", {"beamPrecompression":0.45}],
          {"optional":false},

          //hub anti-invert
          {"beamPrecompression":1, "beamType":"|BOUNDED", "beamLongBound":0.1, "beamShortBound":0.1},
          {"beamSpring":0,"beamDamp":0,"beamDeform":40500,"beamStrength":405000},
          {"beamLimitSpring":2001000,"beamLimitDamp":500},

          //suspension travel hard limit
          {"beamPrecompression":1, "beamType":"|BOUNDED", "beamLongBound":1, "beamShortBound":1},
          {"beamSpring":0,"beamDamp":100,"beamDeform":15000,"beamStrength":150000},
          {"beamLimitSpring":1001000,"beamLimitDamp":600},
          ["rh3r","r3rr", {"longBoundRange":0.11,"shortBoundRange":0.12,"boundZone":0.025,"beamLimitDampRebound":0,"dampCutoffHz":500}],
          ["rh3l","r3ll", {"longBoundRange":0.11,"shortBoundRange":0.12,"boundZone":0.025,"beamLimitDampRebound":0,"dampCutoffHz":500}],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          {"deformLimitExpansion":1.2},
    ],
    "torsionbars": [
        ["id1:", "id2:", "id3:", "id4:"],
        //twist beam
        {"spring":1200, "damp":10, "deform":"FLT_MAX", "strength":"FLT_MAX"},
        ["rx1r", "rh4r", "rh4l", "rx1l"],
    ],
    "triangles": [
            ["id1:","id2:","id3:"],
            //rear suspension
            {"triangleType":"NONCOLLIDABLE"},
            ["rh3l", "rh1l", "rh4l"],
            ["rh4l", "rh1l", "rx1l"],
            ["rh4r", "rx1r", "rh1r"],
            ["rh3r", "rh4r", "rh1r"],
            ["rh4r", "rh4l", "rx1l"],
            ["rh4l", "rx1r", "rh4r"],
            {"triangleType":"NORMALTYPE"},

    ],
    "pressureWheels": [
            ["name","hubGroup","group","node1:","node2:","nodeS","nodeArm:","wheelDir"],
            //cancel out brake properties
            {"brakeTorque":0},
            {"parkingTorque":0},
            {"enableBrakeThermals":false},
            {"brakeDiameter":false},
            {"brakeMass":false},
            {"brakeType":false},
            {"rotorMaterial":false},
            {"brakeVentingCoef":false},
    ],
},
"sprtg_wheeldata_R": {
    "information":{
        "authors":"BeamNG",
        "name":"Rear Spindles",
        "value":100,
    },
    "slotType" : "sprtg_wheeldata_R",
    "pressureWheels": [
        ["name","hubGroup","group","node1:","node2:","nodeS","nodeArm:","wheelDir"],
        //rear
        {"selfCollision":false},
        {"collision":true},
        {"hubcapBreakGroup":"hubcap_RR"},
        {"hubcapGroup":"hubcap_RR"},
        {"axleBeams":["axle_RR"]},
        ["RR", "wheel_RR", "tire_RR", "rw1rr", "rw1r", 9999, "rx1r", 1, {"torqueCoupling:":"rdiffr", "torqueArm:":"rx1r", "torqueArm2:":"rx1l"}],
        {"hubcapBreakGroup":"hubcap_RL"},
        {"hubcapGroup":"hubcap_RL"},
        {"axleBeams":["axle_RL"]},
        ["RL", "wheel_RL", "tire_RL", "rw1ll", "rw1l", 9999, "rx1l", -1, {"torqueCoupling:":"rdiffl", "torqueArm:":"rx1l", "torqueArm2:":"rx1r"}],
        {"selfCollision":true},
        {"axleBeams":[]},{"disableMeshBreaking":false,"disableTriangleBreaking":false},
        {"hubcapBreakGroup":""},
        {"hubcapGroup":""},
        {"enableHubcaps":false},
        {"enableTireLbeams":false},
        {"enableTireSideReinfBeams":false},
        {"enableTireReinfBeams":false},
        {"enableTreadReinfBeams":false},
        {"enableTirePeripheryReinfBeams":false},
        {"loadSensitivitySlope":""},
        {"noLoadCoef":""},
        {"fullLoadCoef":""},
        {"frictionCoef":""},
        {"slidingFrictionCoef":""},
        {"softnessCoef":0.5},
        {"treadCoef":1.0},
    ],
    "powertrain" : [
        ["type", "name", "inputName", "inputIndex"],
        ["shaft", "spindleRL", "wheelaxleRL", 1, {"connectedWheel":"RL", "breakTriggerBeam":"axle_RL", "uiName":"Rear Left Axle", "friction":1.12, "dynamicFriction":0.0031}],
        ["shaft", "spindleRR", "wheelaxleRR", 1, {"connectedWheel":"RR", "breakTriggerBeam":"axle_RR", "uiName":"Rear Right Axle", "friction":1.12, "dynamicFriction":0.0031}],
    ],
},
"sprtg_spring_R": {
    "information":{
        "authors":"BeamNG",
        "name":"Rear Springs",
        "value":180,
    },
    "slotType" : "sprtg_spring_R",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["sprtg_spring_R_torsionbeam", ["sprtg_spring_R","sprtg_lowerarm_R"]],
    ],
    "nodes":[
         ["id", "posX", "posY", "posZ"],
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_METAL"},
         {"selfCollision":true},
         {"collision":true},

         {"nodeWeight":7.0},
         ["r1rr",-0.444,1.37,0.44, {"group":["sprtg_body", "sprtg_spring_R"]}],
         ["r1ll", 0.444,1.37,0.44, {"group":["sprtg_body", "sprtg_spring_R"]}],
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          //rear springs
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
          {"beamDeform":20000,"beamStrength":150000},
          {"beamSpring":14000,"beamDamp":0},
          ["rh3l","r1ll", {"precompressionRange":0.17,"soundFile":"event:>Vehicle>Suspension>car_modn_med_01>spring_compress_01","colorFactor":0.6,"attackFactor":10,"volumeFactor":1.4,"decayFactor":10,"noiseFactor":0.01,"pitchFactor":0.2,"maxStress":1300}],
          ["rh3r","r1rr", {"precompressionRange":0.17,"soundFile":"event:>Vehicle>Suspension>car_modn_med_01>spring_compress_01","colorFactor":0.6,"attackFactor":10,"volumeFactor":1.4,"decayFactor":10,"noiseFactor":0.01,"pitchFactor":0.2,"maxStress":1300}],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
    ],
},
"sprtg_spring_R_E": {
    "information":{
        "authors":"BeamNG",
        "name":"E Rear Springs",
        "value":250,
    },
    "slotType" : "sprtg_spring_R",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["sprtg_spring_R_torsionbeam", ["sprtg_spring_R","sprtg_lowerarm_R"]],
    ],
    "nodes":[
         ["id", "posX", "posY", "posZ"],
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_METAL"},
         {"selfCollision":true},
         {"collision":true},

         {"nodeWeight":7.2},
         ["r1rr",-0.444,1.37,0.44, {"group":["sprtg_body", "sprtg_spring_R"]}],
         ["r1ll", 0.444,1.37,0.44, {"group":["sprtg_body", "sprtg_spring_R"]}],
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          //rear springs
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
          {"beamDeform":20000,"beamStrength":150000},
          {"beamSpring":25000,"beamDamp":0},
          ["rh3l","r1ll", {"precompressionRange":0.13,"soundFile":"event:>Vehicle>Suspension>car_modn_med_01>spring_compress_01","colorFactor":0.5,"attackFactor":20,"volumeFactor":1.15,"decayFactor":6,"noiseFactor":0.01,"pitchFactor":0.3,"maxStress":1300}],
          ["rh3r","r1rr", {"precompressionRange":0.13,"soundFile":"event:>Vehicle>Suspension>car_modn_med_01>spring_compress_01","colorFactor":0.5,"attackFactor":20,"volumeFactor":1.15,"decayFactor":6,"noiseFactor":0.01,"pitchFactor":0.3,"maxStress":1300}],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
    ],
},
"sprtg_spring_R_sport": {
    "information":{
        "authors":"BeamNG",
        "name":"Sport Rear Springs",
        "value":350,
    },
    "slotType" : "sprtg_spring_R",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["sprtg_spring_R_torsionbeam", ["sprtg_spring_R","sprtg_lowerarm_R"]],
    ],
    "nodes":[
         ["id", "posX", "posY", "posZ"],
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_METAL"},
         {"selfCollision":true},
         {"collision":true},

         {"nodeWeight":6.75},
         ["r1rr",-0.444,1.37,0.44, {"group":["sprtg_body", "sprtg_spring_R"]}],
         ["r1ll", 0.444,1.37,0.44, {"group":["sprtg_body", "sprtg_spring_R"]}],
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          //rear springs
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
          {"beamDeform":25000,"beamStrength":150000},
          {"beamSpring":22000,"beamDamp":0},
          ["rh3l","r1ll", {"precompressionRange":0.09,"soundFile":"event:>Vehicle>Suspension>car_modn_med_01>spring_compress_01","colorFactor":0.5,"attackFactor":36,"volumeFactor":1.35,"decayFactor":20,"noiseFactor":0.01,"pitchFactor":0.4,"maxStress":1600}],
          ["rh3r","r1rr", {"precompressionRange":0.09,"soundFile":"event:>Vehicle>Suspension>car_modn_med_01>spring_compress_01","colorFactor":0.5,"attackFactor":36,"volumeFactor":1.35,"decayFactor":20,"noiseFactor":0.01,"pitchFactor":0.4,"maxStress":1600}],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
    ],
},
"sprtg_spring_R_race": {
    "information":{
        "authors":"BeamNG",
        "name":"Race Rear Springs",
        "value":1150,
    },
    "slotType" : "sprtg_spring_R",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["sprtg_spring_R_torsionbeam", ["sprtg_spring_R","sprtg_lowerarm_R"]],
    ],
    "variables": [
        ["name", "type", "unit", "category", "default", "min", "max", "title", "description"],
        ["$springheight_R_race", "range", "+m", "Suspension", 0, -0.06, 0.04, "Spring Height", "Raise or lower the suspension height", {"stepDis":0.005, "subCategory":"Rear"}],
        ["$spring_R_race", "range", "N/m", "Suspension", 35000, 10000, 60000, "Spring Rate", "Spring stiffness", {"stepDis":500, "subCategory":"Rear"}]
    ],
    "nodes":[
         ["id", "posX", "posY", "posZ"],
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_METAL"},
         {"selfCollision":true},
         {"collision":true},

         {"nodeWeight":6.0},
         ["r1rr",-0.444,1.37,0.44, {"group":["sprtg_body", "sprtg_spring_R"]}],
         ["r1ll", 0.444,1.37,0.44, {"group":["sprtg_body", "sprtg_spring_R"]}],
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          //rear springs
          {"beamType":"|NORMAL"},
          {"beamDeform":30000,"beamStrength":15000},
          {"beamSpring":"$spring_R_race","beamDamp":0},
          ["rh3l","r1ll", {"precompressionRange":"$=$springheight_R_race + 0.022","soundFile":"event:>Vehicle>Suspension>car_modn_med_01>spring_compress_01","colorFactor":0.5,"attackFactor":42,"volumeFactor":1.25,"decayFactor":12,"noiseFactor":0.01,"pitchFactor":1.0,"maxStress":3600}],
          ["rh3r","r1rr", {"precompressionRange":"$=$springheight_R_race + 0.022","soundFile":"event:>Vehicle>Suspension>car_modn_med_01>spring_compress_01","colorFactor":0.5,"attackFactor":42,"volumeFactor":1.25,"decayFactor":12,"noiseFactor":0.01,"pitchFactor":1.0,"maxStress":3600}],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
    ],
},
"sprtg_spring_R_rally": {
    "information":{
        "authors":"BeamNG",
        "name":"Rally Rear Springs",
        "value":1250,
    },
    "slotType" : "sprtg_spring_R",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["sprtg_spring_R_torsionbeam", ["sprtg_spring_R","sprtg_lowerarm_R"]],
    ],
    "variables": [
        ["name", "type", "unit", "category", "default", "min", "max", "title", "description"],
        ["$springheight_R_rally", "range", "+m", "Suspension", 0, -0.04, 0.06, "Spring Height", "Raise or lower the suspension height", {"stepDis":0.005, "subCategory":"Rear"}],
        ["$spring_R_rally", "range", "N/m", "Suspension", 27000, 7000, 57000, "Spring Rate", "Spring stiffness", {"stepDis":500, "subCategory":"Rear"}]
    ],
    "nodes":[
         ["id", "posX", "posY", "posZ"],
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_METAL"},
         {"selfCollision":true},
         {"collision":true},

         {"nodeWeight":6.0},
         ["r1rr",-0.444,1.37,0.44, {"group":["sprtg_body", "sprtg_spring_R"]}],
         ["r1ll", 0.444,1.37,0.44, {"group":["sprtg_body", "sprtg_spring_R"]}],
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          //rear springs
          {"beamType":"|NORMAL"},
          {"beamDeform":30000,"beamStrength":200000},
          {"beamSpring":"$spring_R_rally","beamDamp":0},
          ["rh3l","r1ll", {"precompressionRange":"$=$springheight_R_rally + 0.13","soundFile":"event:>Vehicle>Suspension>car_modn_med_01>spring_compress_01","colorFactor":0.4,"attackFactor":36,"volumeFactor":1.15,"decayFactor":6,"noiseFactor":0.01,"pitchFactor":0.7,"maxStress":3600}],
          ["rh3r","r1rr", {"precompressionRange":"$=$springheight_R_rally + 0.13","soundFile":"event:>Vehicle>Suspension>car_modn_med_01>spring_compress_01","colorFactor":0.4,"attackFactor":36,"volumeFactor":1.15,"decayFactor":6,"noiseFactor":0.01,"pitchFactor":0.7,"maxStress":3600}],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
    ],
},
"sprtg_shock_R": {
    "information":{
        "authors":"BeamNG",
        "name":"Rear Shocks",
        "value":160,
    },
    "slotType" : "sprtg_shock_R",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["sprtg_shock_R_torsionbeam", ["sprtg_shock_R","sprtg_lowerarm_R"]],
    ],
    "nodes":[
         ["id", "posX", "posY", "posZ"],
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_METAL"},
         {"selfCollision":true},
         {"collision":true},

         {"nodeWeight":8.0},
         ["r3rr",-0.496,1.42,0.677, {"group":["sprtg_body", "sprtg_shock_R"]}],
         ["r3ll",0.496,1.42,0.677, {"group":["sprtg_body", "sprtg_shock_R"]}],
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          //rear shocks
          {"beamPrecompression":1.0, "beamType":"|BOUNDED", "beamLongBound":1.0, "beamShortBound":1.0},
          {"beamDeform":17000,"beamStrength":175000},
          {"beamLimitSpring":0,"beamLimitDamp":0},
          {"beamSpring":0,"beamDamp":2200},
          ["rh1r","r3rr", {"name":"shock_RR","beamDampFast":1100,"beamDampRebound":3200,"beamDampReboundFast":1600,"beamDampVelocitySplit":0.17,"dampCutoffHz":500}],
          ["rh1l","r3ll", {"name":"shock_RL","beamDampFast":1100,"beamDampRebound":3200,"beamDampReboundFast":1600,"beamDampVelocitySplit":0.17,"dampCutoffHz":500}],
          //soft initial bumpstop
          {"beamSpring":0,"beamDamp":0},
          {"beamLimitSpring":18000,"beamLimitDamp":1000},
          ["rh1r","r3rr", {"longBoundRange":1,"shortBoundRange":0.025,"boundZone":0.06,"beamLimitDampRebound":0,"dampCutoffHz":500}],
          ["rh1l","r3ll", {"longBoundRange":1,"shortBoundRange":0.025,"boundZone":0.06,"beamLimitDampRebound":0,"dampCutoffHz":500}],
          //hard bump stop
          {"beamSpring":0,"beamDamp":0},
          {"beamLimitSpring":201000,"beamLimitDamp":10000},
          ["rh1r","r3rr", {"longBoundRange":0.08,"shortBoundRange":0.08,"boundZone":0.04,"beamLimitDampRebound":1000,"dampCutoffHz":500}],
          ["rh1l","r3ll", {"longBoundRange":0.08,"shortBoundRange":0.08,"boundZone":0.04,"beamLimitDampRebound":1000,"dampCutoffHz":500}],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
    ],
},
"sprtg_shock_R_E": {
    "information":{
        "authors":"BeamNG",
        "name":"E Rear Shocks",
        "value":220,
    },
    "slotType" : "sprtg_shock_R",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["sprtg_shock_R_torsionbeam", ["sprtg_shock_R","sprtg_lowerarm_R"]],
    ],
    "nodes":[
         ["id", "posX", "posY", "posZ"],
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_METAL"},
         {"selfCollision":true},
         {"collision":true},

         {"nodeWeight":8.5},
         ["r3rr",-0.496,1.42,0.677, {"group":["sprtg_body", "sprtg_shock_R"]}],
         ["r3ll",0.496,1.42,0.677, {"group":["sprtg_body", "sprtg_shock_R"]}],
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          //rear shocks
          {"beamPrecompression":1.0, "beamType":"|BOUNDED", "beamLongBound":1.0, "beamShortBound":1.0},
          {"beamDeform":17000,"beamStrength":175000},
          {"beamLimitSpring":0,"beamLimitDamp":0},
          {"beamSpring":0,"beamDamp":2800},
          ["rh1r","r3rr", {"name":"shock_RR","beamDampFast":1400,"beamDampRebound":4400,"beamDampReboundFast":2200,"beamDampVelocitySplit":0.2,"dampCutoffHz":500}],
          ["rh1l","r3ll", {"name":"shock_RL","beamDampFast":1400,"beamDampRebound":4400,"beamDampReboundFast":2200,"beamDampVelocitySplit":0.2,"dampCutoffHz":500}],
          //soft initial bumpstop
          {"beamSpring":0,"beamDamp":0},
          {"beamLimitSpring":18000,"beamLimitDamp":1000},
          ["rh1r","r3rr", {"longBoundRange":1,"shortBoundRange":0.025,"boundZone":0.06,"beamLimitDampRebound":0,"dampCutoffHz":500}],
          ["rh1l","r3ll", {"longBoundRange":1,"shortBoundRange":0.025,"boundZone":0.06,"beamLimitDampRebound":0,"dampCutoffHz":500}],
          //hard bump stop
          {"beamSpring":0,"beamDamp":0},
          {"beamLimitSpring":201000,"beamLimitDamp":10000},
          ["rh1r","r3rr", {"longBoundRange":0.08,"shortBoundRange":0.08,"boundZone":0.04,"beamLimitDampRebound":1000,"dampCutoffHz":500}],
          ["rh1l","r3ll", {"longBoundRange":0.08,"shortBoundRange":0.08,"boundZone":0.04,"beamLimitDampRebound":1000,"dampCutoffHz":500}],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
    ],
},
"sprtg_shock_R_sport": {
    "information":{
        "authors":"BeamNG",
        "name":"Sport Rear Shocks",
        "value":450,
    },
    "slotType" : "sprtg_shock_R",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["sprtg_shock_R", ["sprtg_shock_R","sprtg_lowerarm_R"]],
    ],
    "nodes":[
         ["id", "posX", "posY", "posZ"],
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_METAL"},
         {"selfCollision":true},
         {"collision":true},

         {"nodeWeight":7.0},
         ["r3rr",-0.496,1.42,0.677, {"group":["sprtg_body", "sprtg_shock_R"]}],
         ["r3ll",0.496,1.42,0.677, {"group":["sprtg_body", "sprtg_shock_R"]}],
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          //rear shocks
          {"beamPrecompression":1.0, "beamType":"|BOUNDED", "beamLongBound":1.0, "beamShortBound":1.0},
          {"beamDeform":15000,"beamStrength":175000},
          {"beamLimitSpring":0,"beamLimitDamp":0},
          {"beamSpring":0,"beamDamp":2500},
          ["rh1r","r3rr", {"name":"shock_RR","beamDampFast":1250,"beamDampRebound":3800,"beamDampReboundFast":1900,"beamDampVelocitySplit":0.25,"dampCutoffHz":500}],
          ["rh1l","r3ll", {"name":"shock_RL","beamDampFast":1250,"beamDampRebound":3800,"beamDampReboundFast":1900,"beamDampVelocitySplit":0.25,"dampCutoffHz":500}],
          //soft initial bumpstop
          {"beamSpring":0,"beamDamp":0},
          {"beamLimitSpring":20000,"beamLimitDamp":1000},
          ["rh1r","r3rr", {"longBoundRange":1,"shortBoundRange":0.045,"boundZone":0.06,"beamLimitDampRebound":0,"dampCutoffHz":500}],
          ["rh1l","r3ll", {"longBoundRange":1,"shortBoundRange":0.045,"boundZone":0.06,"beamLimitDampRebound":0,"dampCutoffHz":500}],
          //hard bump stop
          {"beamSpring":0,"beamDamp":0},
          {"beamLimitSpring":201000,"beamLimitDamp":10000},
          ["rh1r","r3rr", {"longBoundRange":0.08,"shortBoundRange":0.09,"boundZone":0.04,"beamLimitDampRebound":1000,"dampCutoffHz":500}],
          ["rh1l","r3ll", {"longBoundRange":0.08,"shortBoundRange":0.09,"boundZone":0.04,"beamLimitDampRebound":1000,"dampCutoffHz":500}],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
    ],
},
"sprtg_shock_R_race": {
    "information":{
        "authors":"BeamNG",
        "name":"Race Rear Shocks",
        "value":900,
    },
    "slotType" : "sprtg_shock_R",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["sprtg_shock_R_torsionbeam", ["sprtg_shock_R","sprtg_lowerarm_R"]],
    ],
    "variables": [
        ["name", "type", "unit", "category", "default", "min", "max", "title", "description"],
        ["$damp_bump_R_race", "range", "N/m/s", "Suspension", 4000, 500, 10000, "Bump Damping", "Damper rate in compression", {"stepDis":100, "subCategory":"Rear"}]
        ["$damp_rebound_R_race", "range", "N/m/s", "Suspension", 10000, 500, 20000, "Rebound Damping", "Damper rate in extension", {"stepDis":100, "subCategory":"Rear"}]
    ],
    "nodes":[
         ["id", "posX", "posY", "posZ"],
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_METAL"},
         {"selfCollision":true},
         {"collision":true},

         {"nodeWeight":6.0},
         ["r3rr",-0.496,1.42,0.677, {"group":["sprtg_body", "sprtg_shock_R"]}],
         ["r3ll",0.496,1.42,0.677, {"group":["sprtg_body", "sprtg_shock_R"]}],
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          //rear dampers
          {"beamPrecompression":1, "beamType":"|BOUNDED","beamLongBound":1.0,"beamShortBound":1.0},
          {"beamDeform":15000,"beamStrength":175000},
          {"beamLimitSpring":0,"beamLimitDamp":0},
          {"beamSpring":0,"beamDamp":"$damp_bump_R_race"},
          ["rh1l","r3ll", {"name":"shock_RR","beamDampRebound":"$damp_rebound_R_race","beamDampVelocitySplit":0.3,"beamDampFast":"$=$damp_bump_R_race / 3","beamDampReboundFast":"$=$damp_rebound_R_race / 3","dampCutoffHz":500}],
          ["rh1r","r3rr", {"name":"shock_RL","beamDampRebound":"$damp_rebound_R_race","beamDampVelocitySplit":0.3,"beamDampFast":"$=$damp_bump_R_race / 3","beamDampReboundFast":"$=$damp_rebound_R_race / 3","dampCutoffHz":500}],
          //harder bump stop
          {"beamType":"|BOUNDED"},
          {"beamSpring":0,"beamDamp":0},
          {"beamLimitSpring":201000,"beamLimitDamp":10000},
          ["rh1r","r3rr", {"longBoundRange":0.02,"shortBoundRange":0.09,"boundZone":0.035,"beamLimitDampRebound":0,"dampCutoffHz":500}],
          ["rh1l","r3ll", {"longBoundRange":0.02,"shortBoundRange":0.09,"boundZone":0.035,"beamLimitDampRebound":0,"dampCutoffHz":500}],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
    ],
},
"sprtg_shock_R_rally": {
    "information":{
        "authors":"BeamNG",
        "name":"Rally Rear Shocks",
        "value":1150,
    },
    "slotType" : "sprtg_shock_R",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["sprtg_shock_R_torsionbeam", ["sprtg_shock_R","sprtg_lowerarm_R"]],
    ],
    "variables": [
        ["name", "type", "unit", "category", "default", "min", "max", "title", "description"],
        ["$damp_bump_R_rally", "range", "N/m/s", "Suspension", 3000, 500, 10000, "Bump Damping", "Damper rate in slow compression", {"stepDis":100, "subCategory":"Rear"}]
        ["$damp_bump_R_fast_rally", "range", "N/m/s", "Suspension", 2000, 500, 10000, "Fast Bump Damping", "Damper rate in fast compression", {"stepDis":100, "subCategory":"Rear"}]
        ["$damp_rebound_R_rally", "range", "N/m/s", "Suspension", 3900, 500, 10000, "Rebound Damping", "Damper rate in extension", {"stepDis":100,"subCategory":"Rear"}]
        ["$damp_rebound_R_fast_rally", "range", "N/m/s", "Suspension", 1900, 500, 10000, "Fast Rebound Damping", "Damper rate in fast extension", {"stepDis":100,"subCategory":"Rear"}]
    ],
    "nodes":[
         ["id", "posX", "posY", "posZ"],
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_METAL"},
         {"selfCollision":true},
         {"collision":true},
         {"nodeWeight":6.0},
         ["r3rr",-0.496,1.42,0.677, {"group":["sprtg_body", "sprtg_shock_R"]}],
         ["r3ll",0.496,1.42,0.677, {"group":["sprtg_body", "sprtg_shock_R"]}],
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          //dampers
          {"beamPrecompression":1, "beamType":"|BOUNDED", "beamLongBound":1, "beamShortBound":1},
          {"beamSpring":0,"beamDamp":"$damp_bump_R_rally"},
          {"beamLimitSpring":0,"beamLimitDamp":0},
          //bump
          ["rh1r","r3rr", {"name":"shock_RR", "beamDampRebound":0,"beamDampVelocitySplit":0.35,"beamDampFast":"$damp_bump_R_fast_rally","beamDampReboundFast":0,"dampCutoffHz":500}],
          ["rh1l","r3ll", {"name":"shock_RL", "beamDampRebound":0,"beamDampVelocitySplit":0.35,"beamDampFast":"$damp_bump_R_fast_rally","beamDampReboundFast":0,"dampCutoffHz":500}],
          //rebound
          {"beamSpring":0,"beamDamp":0},
          ["rh1r","r3rr", {"beamDampRebound":"$damp_rebound_R_rally","beamDampVelocitySplit":0.25,"beamDampFast":0,"beamDampReboundFast":"$damp_rebound_R_fast_rally","dampCutoffHz":500}],
          ["rh1l","r3ll", {"beamDampRebound":"$damp_rebound_R_rally","beamDampVelocitySplit":0.25,"beamDampFast":0,"beamDampReboundFast":"$damp_rebound_R_fast_rally","dampCutoffHz":500}],
          //hydraulic bump stop
          {"beamSpring":0,"beamDamp":0},
          {"beamLimitSpring":8000,"beamLimitDamp":9000},
          ["rh1r","r3rr", {"longBoundRange":2,"shortBoundRange":0.044,"boundZone":0.01,"beamLimitDampRebound":1000,"dampCutoffHz":250}],
          ["rh1l","r3ll", {"longBoundRange":2,"shortBoundRange":0.044,"boundZone":0.01,"beamLimitDampRebound":1000,"dampCutoffHz":250}],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
    ],
},
}