{
"ARaz1_differential_R": {
    "information":{
        "authors":"BeamNG",
        "name":"Open Rear Differential",
        "value":1250,
    },
    "slotType" : "ARaz1_differential_R",
    "slots": [
        ["type", "default", "description"],
        ["ARaz1_finaldrive_R","ARaz1_finaldrive_R_4705", "Rear Final Drive", {"coreSlot":true}],
        ["ARaz1_halfshafts_R","ARaz1_halfshafts_R", "Rear Halfshafts", {"coreSlot":true}],
    ],
    "powertrain" : [
        ["type", "name", "inputName", "inputIndex"],
        ["differential", "differential_R", "gearbox", 1, {"diffType":"open", "uiName":"Rear Differential","defaultVirtualInertia":0.25}],
    ],
    "differential_R": {
        "friction": 4.13,
        "dynamicFriction": 0.00195,
        "torqueLossCoef": 0.030,
    },
    "beams": [
          ["id1:", "id2:"],
    ],
},
"ARaz1_differential_R_LSD": {
    "information":{
        "authors":"BeamNG",
        "name":"Limited Slip Rear Differential",
        "value":1250,
    },
    "slotType" : "ARaz1_differential_R",
    "slots": [
        ["type", "default", "description"],
        ["ARaz1_finaldrive_R","ARaz1_finaldrive_R_4705", "Rear Final Drive", {"coreSlot":true}],
        ["ARaz1_halfshafts_R","ARaz1_halfshafts_R", "Rear Halfshafts", {"coreSlot":true}],
    ],
    "powertrain" : [
        ["type", "name", "inputName", "inputIndex"],
        ["differential", "differential_R", "gearbox", 1, {"diffType":"lsd", "lsdPreload":40, "lsdLockCoef":0.15, "lsdRevLockCoef":0.01, "uiName":"Rear Differential","defaultVirtualInertia":0.25}],
    ],
    "differential_R": {
        "friction": 4.13,
        "dynamicFriction": 0.00195,
        "torqueLossCoef": 0.030,
    },
    "beams": [
          ["id1:", "id2:"],
    ],
},
"ARaz1_differential_R_race": {
    "information":{
        "authors":"BeamNG",
        "name":"Race Limited Slip Rear Differential",
        "value":1850,
    },
    "slotType" : "ARaz1_differential_R",
    "slots": [
        ["type", "default", "description"],
        ["ARaz1_finaldrive_R","ARaz1_finaldrive_R_race", "Rear Final Drive", {"coreSlot":true}],
        ["ARaz1_halfshafts_R","ARaz1_halfshafts_R", "Rear Halfshafts", {"coreSlot":true}],
    ],
    "variables": [
        ["name", "type", "unit", "category", "default", "min", "max", "title", "description"],
        ["$lsdpreload_R", "range", "N/m", "Differentials", 50, 0, 500, "Pre-load Torque", "Initial locking torque between left and right wheels"]
        ["$lsdlockcoef_R", "range", "", "Differentials", 0.15, 0, 0.5, "Power Lock Rate", "Additional locking torque proportional to engine torque", {"minDis":0, "maxDis":100}],
        ["$lsdlockcoefrev_R", "range", "", "Differentials", 0, 0, 0.5, "Coast Lock Rate", "Additional locking torque proportional to engine braking", {"minDis":0, "maxDis":100}],
    ],
    "powertrain" : [
        ["type", "name", "inputName", "inputIndex"],
        ["differential", "differential_R", "gearbox", 1, {"diffType":"lsd", "lsdPreload":"$lsdpreload_R", "lsdLockCoef":"$lsdlockcoef_R", "lsdRevLockCoef":"$lsdlockcoefrev_R", "uiName":"Rear Differential","defaultVirtualInertia":0.25}],
    ],
    "differential_R": {
        "friction": 4.13,
        "dynamicFriction": 0.00195,
        "torqueLossCoef": 0.030,
    },
    "beams": [
          ["id1:", "id2:"],
    ],
},
"ARaz1_finaldrive_R_4705": {
    "information":{
        "authors":"BeamNG",
        "name":"4.705:1 Rear Final Drive",
        "value":250,
    },

    "slotType" : "ARaz1_finaldrive_R",

    "differential_R" : {
        "gearRatio":4.705,
    },
},
"ARaz1_finaldrive_R_389": {
    "information":{
        "authors":"BeamNG",
        "name":"3.89:1 Rear Final Drive",
        "value":250,
    },

    "slotType" : "ARaz1_finaldrive_R",

    "differential_R" : {
        "gearRatio":3.89,
    },
},
"ARaz1_finaldrive_R_410": {
    "information":{
        "authors":"BeamNG",
        "name":"4.10:1 Rear Final Drive",
        "value":250,
    },

    "slotType" : "ARaz1_finaldrive_R",

    "differential_R" : {
        "gearRatio":4.10,
    },
},
"ARaz1_finaldrive_R_race": {
    "information":{
        "authors":"BeamNG",
        "name":"Race Adjustable Rear Final Drive",
        "value":750,
    },

    "slotType" : "ARaz1_finaldrive_R",

    "variables": [
        ["name", "type", "unit", "category", "default", "min", "max", "title", "description"],
        ["$finaldrive_R", "range", ":1", "Differentials", 3.45, 2.0, 6.0, "Final Drive Gear Ratio", "Torque multiplication ratio", {"subCategory":"Rear", "stepDis":0.01}],
    ],

    "differential_R" : {
        "gearRatio":"$finaldrive_R",
    },
},
"ARaz1_halfshafts_R": {
    "information":{
        "authors":"BeamNG",
        "name":"Rear Halfshafts",
        "value":200,
    },
    "slotType" : "ARaz1_halfshafts_R",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         {"deformGroup":"wheelaxleRL", "deformMaterialBase":"ARaz1_mechanical", "deformMaterialDamaged":"invis"},
         ["ARaz1_halfshaft_midengine_L", ["ARaz1_transaxle","ARaz1_upperarm_R","ARaz1_lowerarm_R"]],
         {"deformGroup":"wheelaxleRR", "deformMaterialBase":"ARaz1_mechanical", "deformMaterialDamaged":"invis"},
         ["ARaz1_halfshaft_midengine_R", ["ARaz1_transaxle","ARaz1_upperarm_R","ARaz1_lowerarm_R"]],
         {"deformGroup":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          //halfshafts
          {"beamType":"|BOUNDED", "beamLongBound":0.05, "beamShortBound":0.05,"boundZone":0.1},
          {"beamSpring":0,"beamDamp":0,"beamDeform":3500,"beamStrength":7000},
          {"beamLimitSpring":5001000,"beamLimitDamp":250},
          ["rw1r","tra1", {"name":"halfshaft_RR", "breakGroup":"wheel_RR", "breakGroupType":1, "deformGroup":"wheelaxleRR", "deformationTriggerRatio":0.2, "optional":true}],
          ["rw1l","tra1", {"name":"halfshaft_RL", "breakGroup":"wheel_RL", "breakGroupType":1, "deformGroup":"wheelaxleRL", "deformationTriggerRatio":0.2, "optional":true}],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0,"boundZone":""},
    ],
    "powertrain" : [
        ["type", "name", "inputName", "inputIndex"],
        ["shaft", "wheelaxleRL", "differential_R", 1, {"deformGroups":["wheelaxleRL"], "breakTriggerBeam":"halfshaft_RL", "uiName":"Rear Left Halfshaft", "friction":1.65, "dynamicFriction":0.00407}],
        ["shaft", "wheelaxleRR", "differential_R", 2, {"deformGroups":["wheelaxleRR"], "breakTriggerBeam":"halfshaft_RR", "uiName":"Rear Right Halfshaft", "friction":1.65, "dynamicFriction":0.00407}],
    ],
},
}