{
"inf21tahoe_transmission_6A": {
    "information":{
        "authors":"BeamNG",
        "name":"6-Speed 6L80E Automatic Transmission",
        "value":1350,
    },
    "slotType" : "inf21tahoe_transmission",
    "slots": [
        ["type", "default", "description"],
        ["inf21tahoe_converter","inf21tahoe_converter","Torque Converter", {"coreSlot":true}],
        ["inf21tahoe_transfer_case","inf21tahoe_transfer_case_4WD","Transfer Case", {"coreSlot":true}],
    ],
    "powertrain" : [
        ["type", "name", "inputName", "inputIndex"],
        ["torqueConverter", "torqueConverter", "mainEngine", 1],
        ["automaticGearbox", "gearbox", "torqueConverter", 1],
    ],
    "gearbox": {
        "uiName":"Gearbox",
        "gearRatios":[-2.00, 0, 2.4, 1.47, 1.0, 0.68],
        "parkLockTorque":2500,
        "oneWayViscousCoef":60,
        "friction": 1.66,
        "dynamicFriction": 0.00168,
        "torqueLossCoef": 0.017,
        "gearboxNode:":"tra1",
    },
    "vehicleController": {
        "automaticModes":"PRNDM",
        "shiftDownRPMOffsetCoef":1.15,
        "calculateOptimalLoadShiftPoints": true,
        "transmissionGearChangeDelay":0.5,
        "aggressionHoldOffThrottleDelay":2.5,
        "aggressionSmoothingUp":2,
        "aggressionSmoothingDown":0.2,
        "gearboxDecisionSmoothingUp":2,
        "gearboxDecisionSmoothingDown":2,
        "lowShiftDownRPM":1300,
        "lowShiftUpRPM":2100,
        "maxGearChangeTime": 0.6,
        "minGearChangeTime": 0.4,
        "sportGearChangeTime": 0.3,
        "throttleCoefWhileShifting": 0.5,
        "torqueConverterHasPartialLockup": true,
    },
    "flexbodies": [
        ["mesh", "[group]:", "nonFlexMaterials"],
        ["inf21tahoe_v8_transmission", ["inf21tahoe_engine","inf21tahoe_transmission"]],
    ],
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         {"selfCollision":false},
         {"collision":true},
         //--6 Speed Auto-
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_METAL"},
         {"nodeWeight":32.9},
         {"group":"inf21tahoe_transmission"},
         ["tra1", 0.0, -0.41, 0.46],
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          //--TRANSMISSION CONE--
          {"beamSpring":18800940,"beamDamp":470},
          {"beamDeform":175000,"beamStrength":"FLT_MAX"},
          ["tra1","e1r"],
          ["tra1","e3r"],
          ["tra1","e1l"],
          ["tra1","e3l"],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
    ],
},
"inf21tahoe_transmission_8A": {
    "information":{
        "authors":"BeamNG",
        "name":"8-Speed 8L90E Automatic Transmission",
        "value":2600,
    },
    "slotType" : "inf21tahoe_transmission",
    "slots": [
        ["type", "default", "description"],
        ["inf21tahoe_converter","inf21tahoe_converter_heavy","Torque Converter", {"coreSlot":true}],
        ["inf21tahoe_transfer_case","inf21tahoe_transfer_case_4WD","Transfer Case", {"coreSlot":true}],
    ],
    "powertrain" : [
        ["type", "name", "inputName", "inputIndex"],
        ["torqueConverter", "torqueConverter", "mainEngine", 1],
        ["automaticGearbox", "gearbox", "torqueConverter", 1],
    ],
    "gearbox": {
        "uiName":"Gearbox",
        //premultiplied to account for 3.55 differential ratio instead of 3.15
        //source ratios: [-3.4, 0, 4.17, 2.34, 1.52, 1.14, 0.87, 0.69]
        "gearRatios":[-3.82, 0, 4.56, 2.97, 2.08, 1.69, 1.27, 1.00, 0.85, 0.65],
        "parkLockTorque":2500,
        "oneWayViscousCoef":60,
        "friction": 1.68,
        "dynamicFriction": 0.0017,
        "torqueLossCoef": 0.017,
        "gearboxNode:":"tra1",
    },
    "vehicleController": {
        "automaticModes":"PRNDM",
        "shiftDownRPMOffsetCoef":1.15,
        "calculateOptimalLoadShiftPoints": true,
        "transmissionGearChangeDelay":0.5,
        "aggressionHoldOffThrottleDelay":2.5,
        "aggressionSmoothingUp":2,
        "aggressionSmoothingDown":0.2,
        "gearboxDecisionSmoothingUp":2,
        "gearboxDecisionSmoothingDown":2,
        "lowShiftDownRPM":1300,
        "lowShiftUpRPM":2100,
        "maxGearChangeTime": 0.6,
        "minGearChangeTime": 0.4,
        "sportGearChangeTime": 0.3,
        "throttleCoefWhileShifting": 0.5,
        "torqueConverterHasPartialLockup": true,
    },
    "flexbodies": [
        ["mesh", "[group]:", "nonFlexMaterials"],
        ["inf21tahoe_v8_transmission", ["inf21tahoe_engine","inf21tahoe_transmission"]],
    ],
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         {"selfCollision":false},
         {"collision":true},
         //--8 Speed Auto-
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_METAL"},
         {"nodeWeight":37.6},
         {"group":"inf21tahoe_transmission"},
         ["tra1", 0.0, -0.41, 0.46],
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          //--TRANSMISSION CONE--
          {"beamSpring":18800940,"beamDamp":470},
          {"beamDeform":175000,"beamStrength":"FLT_MAX"},
          ["tra1","e1r"],
          ["tra1","e3r"],
          ["tra1","e1l"],
          ["tra1","e3l"],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
    ],
},
"inf21tahoe_transmission_10A": {
    "information":{
        "authors":"BeamNG",
        "name":"10-Speed Hydra-Matic 10L80 Automatic Transmission",
        "value":2600,
    },
    "slotType" : "inf21tahoe_transmission",
    "slots": [
        ["type", "default", "description"],
        ["inf21tahoe_converter","inf21tahoe_converter_heavy","Torque Converter", {"coreSlot":true}],
        ["inf21tahoe_transfer_case","inf21tahoe_transfer_case_4WD","Transfer Case", {"coreSlot":true}],
    ],
    "powertrain" : [
        ["type", "name", "inputName", "inputIndex"],
        ["torqueConverter", "torqueConverter", "mainEngine", 1],
        ["automaticGearbox", "gearbox", "torqueConverter", 1],
    ],
    "gearbox": {
        "uiName":"Gearbox",
        //premultiplied to account for 3.55 differential ratio instead of 3.15
        //source ratios: [-3.4, 0, 4.17, 2.34, 1.52, 1.14, 0.87, 0.69]
        "gearRatios":[-4.87, 0, 4.70, 2.99, 2.15, 1.80, 1.52, 1.28, 1.00, 0.85, 0.69, 0.64],
        "parkLockTorque":2500,
        "oneWayViscousCoef":60,
        "friction": 1.68,
        "dynamicFriction": 0.0017,
        "torqueLossCoef": 0.017,
        "gearboxNode:":"tra1",
    },
    "vehicleController": {
        "automaticModes":"PRNDM",
        "shiftDownRPMOffsetCoef":1.15,
        "calculateOptimalLoadShiftPoints": true,
        "transmissionGearChangeDelay":0.5,
        "aggressionHoldOffThrottleDelay":2.5,
        "aggressionSmoothingUp":2,
        "aggressionSmoothingDown":0.2,
        "gearboxDecisionSmoothingUp":2,
        "gearboxDecisionSmoothingDown":2,
        "lowShiftDownRPM":1300,
        "lowShiftUpRPM":2100,
        "maxGearChangeTime": 0.6,
        "minGearChangeTime": 0.4,
        "sportGearChangeTime": 0.3,
        "throttleCoefWhileShifting": 0.5,
        "torqueConverterHasPartialLockup": true,
    },
    "flexbodies": [
        ["mesh", "[group]:", "nonFlexMaterials"],
        ["inf21tahoe_v8_transmission", ["inf21tahoe_engine","inf21tahoe_transmission"]],
    ],
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         {"selfCollision":false},
         {"collision":true},
         //--10 Speed Auto-
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_METAL"},
         {"nodeWeight":37.6},
         {"group":"inf21tahoe_transmission"},
         ["tra1", 0.0, -0.41, 0.46],
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          //--TRANSMISSION CONE--
          {"beamSpring":18800940,"beamDamp":470},
          {"beamDeform":175000,"beamStrength":"FLT_MAX"},
          ["tra1","e1r"],
          ["tra1","e3r"],
          ["tra1","e1l"],
          ["tra1","e3l"],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
    ],
},
"inf21tahoe_converter": {
    "information":{
        "authors":"BeamNG",
        "name":"Locking Torque Converter",
        "value":150,
    },
    "slotType" : "inf21tahoe_converter",
    "torqueConverter": {
        "uiName":"Torque Converter",
        "converterDiameter":0.285,
        "converterStiffness":7,
        "couplingAVRatio":0.85,
        "stallTorqueRatio":2.2,
        "lockupClutchTorque":350,
        "additionalEngineInertia":0.18,
    },
    "vehicleController": {
        "torqueConverterLockupRPM":1000,
        "torqueConverterLockupMinGear":3,
    },
},
"inf21tahoe_converter_heavy": {
    "information":{
        "authors":"BeamNG",
        "name":"Heavy Duty Locking Torque Converter",
        "value":250,
    },
    "slotType" : "inf21tahoe_converter",
    "torqueConverter": {
        "uiName":"Torque Converter",
        "converterDiameter":0.3,
        "converterStiffness":8,
        "couplingAVRatio":0.85,
        "stallTorqueRatio":2.2,
        "lockupClutchTorque":450,
        "additionalEngineInertia":0.20,
    },
    "vehicleController": {
        "torqueConverterLockupRPM":1000,
        "torqueConverterLockupMinGear":3,
    },
},
"inf21tahoe_converter_hi": {
    "information":{
        "authors":"BeamNG",
        "name":"High Stall Torque Converter",
        "value":300,
    },
    "slotType" : "inf21tahoe_converter",
    "torqueConverter": {
        "uiName":"Torque Converter",
        "converterDiameter":0.27,
        "converterStiffness":8,
        "couplingAVRatio":0.85,
        "stallTorqueRatio":2.2,
        "additionalEngineInertia":0.16,
    },
},
"inf21tahoe_converter_drag_lo": {
    "information":{
        "authors":"BeamNG",
        "name":"Low Stall Converter",
        "value":300,
    },
    "slotType" : "inf21tahoe_converter_drag",
    "torqueConverter": {
        "uiName":"Torque Converter",
        "converterDiameter":0.322,
        "converterStiffness":12,
        "couplingAVRatio":0.9,
        "stallTorqueRatio":1.8,
        "additionalEngineInertia":0.24,
    },
},
"inf21tahoe_converter_drag_med": {
    "information":{
        "authors":"BeamNG",
        "name":"Medium Stall Converter",
        "value":600,
    },
    "slotType" : "inf21tahoe_converter_drag",
    "torqueConverter": {
        "uiName":"Torque Converter",
        "converterDiameter":0.315,
        "converterStiffness":12,
        "couplingAVRatio":0.9,
        "stallTorqueRatio":1.8,
        "additionalEngineInertia":0.22,
    },
},
"inf21tahoe_converter_drag_hi": {
    "information":{
        "authors":"BeamNG",
        "name":"High Stall Converter",
        "value":600,
    },
    "slotType" : "inf21tahoe_converter_drag",
    "torqueConverter": {
        "uiName":"Torque Converter",
        "converterDiameter":0.305,
        "converterStiffness":12,
        "couplingAVRatio":0.9,
        "stallTorqueRatio":1.8,
        "additionalEngineInertia":0.20,
    },
},
"inf21tahoe_converter_alt_med": {
    "information":{
        "authors":"BeamNG",
        "name":"Medium Stall Torque Converter",
        "value":150,
    },
    "slotType" : "inf21tahoe_converter_alt",
    "torqueConverter": {
        "uiName":"Torque Converter",
        "converterDiameter":0.286,
        "converterStiffness":6,
        "couplingAVRatio":0.86,
        "stallTorqueRatio":2.1,
        "additionalEngineInertia":0.18,
    },
},
"inf21tahoe_converter_alt_low": {
    "information":{
        "authors":"BeamNG",
        "name":"Low Stall Torque Converter",
        "value":150,
    },
    "slotType" : "inf21tahoe_converter_alt",
    "torqueConverter": {
        "uiName":"Torque Converter",
        "converterDiameter":0.294,
        "converterStiffness":6,
        "couplingAVRatio":0.85,
        "stallTorqueRatio":2.2,
        "additionalEngineInertia":0.21,
    },
},
"inf21tahoe_converter_alt_heavy": {
    "information":{
        "authors":"BeamNG",
        "name":"Heavy Duty Locking Torque Converter",
        "value":250,
    },
    "slotType" : "inf21tahoe_converter_alt",
    "torqueConverter": {
        "uiName":"Torque Converter",
        "converterDiameter":0.3,
        "converterStiffness":8,
        "couplingAVRatio":0.85,
        "stallTorqueRatio":2.2,
        "lockupClutchTorque":450,
        "additionalEngineInertia":0.20,
    },
    "vehicleController": {
        "torqueConverterLockupRPM":1000,
        "torqueConverterLockupMinGear":3,
    },
},
"inf21tahoe_converter_alt_hi": {
    "information":{
        "authors":"BeamNG",
        "name":"High Stall Torque Converter",
        "value":150,
    },
    "slotType" : "inf21tahoe_converter_alt",
    "torqueConverter": {
        "uiName":"Torque Converter",
        "converterDiameter":0.272,
        "converterStiffness":6,
        "couplingAVRatio":0.89,
        "stallTorqueRatio":1.95,
        "additionalEngineInertia":0.15,
    },
},
"inf21tahoe_converter_diesel": {
    "information":{
        "authors":"BeamNG",
        "name":"Diesel Torque Converter",
        "value":300,
    },
    "slotType" : "inf21tahoe_converter_diesel",
    "torqueConverter": {
        "uiName":"Torque Converter",
        "converterDiameter":0.335,
        "converterStiffness":6,
        "couplingAVRatio":0.85,
        "stallTorqueRatio":2.4,
        "additionalEngineInertia":1.2,
        "lockupClutchTorque":3000,
    },
    "vehicleController": {
        "torqueConverterLockupRPM":1000,
        "torqueConverterLockupMinGear":2,
    },
},
"inf21tahoe_transfer_case_4WD": {
    "information":{
        "authors":"BeamNG",
        "name":"4WD Transfer Case",
        "value":1650,
    },
    "slotType" : "inf21tahoe_transfer_case",
    "controller": [
        ["fileName"],
        ["driveModes", {"name":"transfercaseControl"}]
        ["4wd", {"driveModesTransfercaseNames":["transfercaseControl"], "driveModesRangeNames":["transfercaseControl"]}]
    ],

    "transfercaseControl":{
        "uiName": "Transfercase"
        "quickAccessTitle":"Transfercase"
        "quickAccessIcon":"radial_highrangebox"
        "quickAccessLevel":"/powertrain/"
        "enabledModes":["2hi", "4hi", "4lo"]
        "defaultMode": "2hi"
        "modes": {
            "2hi": {
                "name": "2WD High Gear",
                "order": 10,
                "settings": [
                    ["type"]
                    ["powertrainDeviceMode", {"deviceName":"rangebox", "mode":"high"}]
                    ["powertrainDeviceMode", {"deviceName":"transfercase_F", "mode":"disconnected"}]
                    ["powertrainDeviceMode", {"deviceName":"wheelaxleFR", "mode":"disconnected"}]
                    ["powertrainDeviceMode", {"deviceName":"wheelaxleFL", "mode":"disconnected"}]
                    ["electricsValue", {"electricsName":"transfercase_state", "value":1}]
                    ["simpleControlButton", {"buttonId":"transfercase", "icon":"powertrain_transfercase_high-2", "uiName":"Transfercase"}]
                    ["quickAccess", {"icon":"powertrain_transfercase_high-2"}]
                ],
            },
            "4hi": {
                "name": "4WD High Gear",
                "order": 20,
                "settings": [
                    ["type"]
                    ["powertrainDeviceMode", {"deviceName":"rangebox", "mode":"high"}]
                    ["powertrainDeviceMode", {"deviceName":"transfercase_F", "mode":"connected"}]
                    ["powertrainDeviceMode", {"deviceName":"wheelaxleFR", "mode":"connected"}]
                    ["powertrainDeviceMode", {"deviceName":"wheelaxleFL", "mode":"connected"}]
                    ["electricsValue", {"electricsName":"transfercase_state", "value":0.33}]
                    ["simpleControlButton", {"buttonId":"transfercase", "icon":"powertrain_transfercase_high-4", "uiName":"Transfercase"}]
                    ["quickAccess", {"icon":"powertrain_transfercase_high-4"}]
                ],
            },
            "4lo": {
                "name": "4WD Low Gear",
                "order": 30,
                "settings": [
                    ["type"]
                    ["powertrainDeviceMode", {"deviceName":"rangebox", "mode":"low"}]
                    ["powertrainDeviceMode", {"deviceName":"transfercase_F", "mode":"connected"}]
                    ["powertrainDeviceMode", {"deviceName":"wheelaxleFR", "mode":"connected"}]
                    ["powertrainDeviceMode", {"deviceName":"wheelaxleFL", "mode":"connected"}]
                    ["electricsValue", {"electricsName":"transfercase_state", "value":-1}]
                    ["simpleControlButton", {"buttonId":"transfercase", "icon":"powertrain_transfercase_low-4", "uiName":"Transfercase"}]
                    ["quickAccess", {"icon":"powertrain_transfercase_low-4"}]
                ],
            },
        }
    }
    "powertrain" : [
        ["type", "name", "inputName", "inputIndex"],
        ["rangeBox", "rangebox", "gearbox", 1, {"uiSimpleModeControl":false, "gearRatios":[1,2.2], "uiName":"Rangebox"}],
        //locked center diff
        ["differential", "transfercase", "rangebox", 1, {"diffType":"locked", "lockTorque":8000, "friction":0.44, "dynamicFriction":0.00048, "torqueLossCoef":0.012, "uiName":"Transfer Case", "defaultVirtualInertia":0.1}],
        //disconnecting front shaft
        ["shaft", "transfercase_F", "transfercase", 2, {"uiSimpleModeControl":false, "canDisconnect":true, "friction":0.44, "dynamicFriction":0.00048, "uiName":"Front Output Shaft"}],
    ],
    "flexbodies": [
        ["mesh", "[group]:", "nonFlexMaterials"],
        ["inf21tahoe_transfer_case", ["inf21tahoe_transmission","inf21tahoe_engine"]],
    ],
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         {"selfCollision":false},
         {"collision":true},
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_METAL"},
         {"nodeWeight":18},
         {"group":"inf21tahoe_transmission"},
         ["tra2", -0.12, -0.78, 0.425],
         ["tra3", 0.18, -0.78, 0.425],
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          {"beamSpring":12600840,"beamDamp":390},
          {"beamDeform":99750,"beamStrength":"FLT_MAX"},
          ["tra2","tra1"],

          ["tra2","e1r"],
          ["tra2","e1l"],
          ["tra2","e3r"],
          ["tra2","e3l"],

          ["tra3","e1r"],
          ["tra3","e1l"],
          ["tra3","e3r"],
          ["tra3","e3l"],

          ["tra3","tra2"],
          ["tra3","tra1"],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
    ],
},
"inf21tahoe_transfer_case_4WD_race": {
    "information":{
        "authors":"BeamNG",
        "name":"4WD Race Transfer Case",
        "value":1850,
    },
    "slotType" : "inf21tahoe_transfer_case",
    "controller": [
        ["fileName"],
        ["driveModes", {"name":"transfercaseControl"}]
        ["4wd", {"driveModesTransfercaseNames":["transfercaseControl"], "driveModesRangeNames":["transfercaseControl"]}]
    ],

    "transfercaseControl":{
        "uiName": "Transfercase"
        "quickAccessTitle":"Transfercase"
        "quickAccessIcon":"radial_highrangebox"
        "quickAccessLevel":"/powertrain/"
        "enabledModes":["2hi", "4hi", "4lo"]
        "defaultMode": "4hi"
        "modes": {
            "2hi": {
                "name": "2WD High Gear",
                "order": 10,
                "settings": [
                    ["type"]
                    ["powertrainDeviceMode", {"deviceName":"rangebox", "mode":"high"}]
                    ["powertrainDeviceMode", {"deviceName":"transfercase_F", "mode":"disconnected"}]
                    ["powertrainDeviceMode", {"deviceName":"wheelaxleFR", "mode":"disconnected"}]
                    ["powertrainDeviceMode", {"deviceName":"wheelaxleFL", "mode":"disconnected"}]
                    ["electricsValue", {"electricsName":"transfercase_state", "value":1}]
                    ["simpleControlButton", {"buttonId":"transfercase", "icon":"powertrain_transfercase_high-2", "uiName":"Transfercase"}]
                    ["quickAccess", {"icon":"powertrain_transfercase_high-2"}]
                ],
            },
            "4hi": {
                "name": "4WD High Gear",
                "order": 20,
                "settings": [
                    ["type"]
                    ["powertrainDeviceMode", {"deviceName":"rangebox", "mode":"high"}]
                    ["powertrainDeviceMode", {"deviceName":"transfercase_F", "mode":"connected"}]
                    ["powertrainDeviceMode", {"deviceName":"wheelaxleFR", "mode":"connected"}]
                    ["powertrainDeviceMode", {"deviceName":"wheelaxleFL", "mode":"connected"}]
                    ["electricsValue", {"electricsName":"transfercase_state", "value":0.33}]
                    ["simpleControlButton", {"buttonId":"transfercase", "icon":"powertrain_transfercase_high-4", "uiName":"Transfercase"}]
                    ["quickAccess", {"icon":"powertrain_transfercase_high-4"}]
                ],
            },
            "4lo": {
                "name": "4WD Low Gear",
                "order": 30,
                "settings": [
                    ["type"]
                    ["powertrainDeviceMode", {"deviceName":"rangebox", "mode":"low"}]
                    ["powertrainDeviceMode", {"deviceName":"transfercase_F", "mode":"connected"}]
                    ["powertrainDeviceMode", {"deviceName":"wheelaxleFR", "mode":"connected"}]
                    ["powertrainDeviceMode", {"deviceName":"wheelaxleFL", "mode":"connected"}]
                    ["electricsValue", {"electricsName":"transfercase_state", "value":-1}]
                    ["simpleControlButton", {"buttonId":"transfercase", "icon":"powertrain_transfercase_low-4", "uiName":"Transfercase"}]
                    ["quickAccess", {"icon":"powertrain_transfercase_low-4"}]
                ],
            },
        }
    }
    "powertrain" : [
        ["type", "name", "inputName", "inputIndex"],
        ["rangeBox", "rangebox", "gearbox", 1, {"uiSimpleModeControl":false, "gearRatios":[1,2.2], "uiName":"Rangebox"}],
        //locked center diff
        ["differential", "transfercase", "rangebox", 1, {"diffType":"locked", "lockTorque":8000, "friction":0.44, "dynamicFriction":0.00048, "torqueLossCoef":0.012, "uiName":"Transfer Case", "defaultVirtualInertia":0.1}],
        //disconnecting front shaft
        ["shaft", "transfercase_F", "transfercase", 2, {"uiSimpleModeControl":false, "canDisconnect":true, "friction":0.44, "dynamicFriction":0.00048, "uiName":"Front Output Shaft"}],
    ],
    "flexbodies": [
        ["mesh", "[group]:", "nonFlexMaterials"],
        ["inf21tahoe_transfer_case", ["inf21tahoe_transmission","inf21tahoe_engine"]],
    ],
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         {"selfCollision":false},
         {"collision":true},
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_METAL"},
         {"nodeWeight":18},
         {"group":"inf21tahoe_transmission"},
         ["tra2", -0.12, -0.78, 0.425],
         ["tra3", 0.18, -0.78, 0.425],
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          {"beamSpring":12600840,"beamDamp":390},
          {"beamDeform":99750,"beamStrength":"FLT_MAX"},
          ["tra2","tra1"],

          ["tra2","e1r"],
          ["tra2","e1l"],
          ["tra2","e3r"],
          ["tra2","e3l"],

          ["tra3","e1r"],
          ["tra3","e1l"],
          ["tra3","e3r"],
          ["tra3","e3l"],

          ["tra3","tra2"],
          ["tra3","tra1"],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
    ],
},
"inf21tahoe_transfer_case_4WD_offroad": {
    "information":{
        "authors":"BeamNG",
        "name":"4WD Crawler Transfer Case",
        "value":2950,
    },
    "slotType" : "inf21tahoe_transfer_case",
    "controller": [
        ["fileName"],
        ["driveModes", {"name":"transfercaseControl"}]
        ["4wd", {"driveModesTransfercaseNames":["transfercaseControl"], "driveModesRangeNames":["transfercaseControl"]}]
    ],

    "transfercaseControl":{
        "uiName": "Transfercase"
        "quickAccessTitle":"Transfercase"
        "quickAccessIcon":"radial_highrangebox"
        "quickAccessLevel":"/powertrain/"
        "enabledModes":["2hi", "4hi", "4lo"]
        "defaultMode": "4hi"
        "modes": {
            "2hi": {
                "name": "2WD High Gear",
                "order": 10,
                "settings": [
                    ["type"]
                    ["powertrainDeviceMode", {"deviceName":"rangebox", "mode":"high"}]
                    ["powertrainDeviceMode", {"deviceName":"transfercase_F", "mode":"disconnected"}]
                    ["powertrainDeviceMode", {"deviceName":"wheelaxleFR", "mode":"disconnected"}]
                    ["powertrainDeviceMode", {"deviceName":"wheelaxleFL", "mode":"disconnected"}]
                    ["electricsValue", {"electricsName":"transfercase_state", "value":1}]
                    ["simpleControlButton", {"buttonId":"transfercase", "icon":"powertrain_transfercase_high-2", "uiName":"Transfercase"}]
                    ["quickAccess", {"icon":"powertrain_transfercase_high-2"}]
                ],
            },
            "4hi": {
                "name": "4WD High Gear",
                "order": 20,
                "settings": [
                    ["type"]
                    ["powertrainDeviceMode", {"deviceName":"rangebox", "mode":"high"}]
                    ["powertrainDeviceMode", {"deviceName":"transfercase_F", "mode":"connected"}]
                    ["powertrainDeviceMode", {"deviceName":"wheelaxleFR", "mode":"connected"}]
                    ["powertrainDeviceMode", {"deviceName":"wheelaxleFL", "mode":"connected"}]
                    ["electricsValue", {"electricsName":"transfercase_state", "value":0.33}]
                    ["simpleControlButton", {"buttonId":"transfercase", "icon":"powertrain_transfercase_high-4", "uiName":"Transfercase"}]
                    ["quickAccess", {"icon":"powertrain_transfercase_high-4"}]
                ],
            },
            "4lo": {
                "name": "4WD Low Gear",
                "order": 30,
                "settings": [
                    ["type"]
                    ["powertrainDeviceMode", {"deviceName":"rangebox", "mode":"low"}]
                    ["powertrainDeviceMode", {"deviceName":"transfercase_F", "mode":"connected"}]
                    ["powertrainDeviceMode", {"deviceName":"wheelaxleFR", "mode":"connected"}]
                    ["powertrainDeviceMode", {"deviceName":"wheelaxleFL", "mode":"connected"}]
                    ["electricsValue", {"electricsName":"transfercase_state", "value":-1}]
                    ["simpleControlButton", {"buttonId":"transfercase", "icon":"powertrain_transfercase_low-4", "uiName":"Transfercase"}]
                    ["quickAccess", {"icon":"powertrain_transfercase_low-4"}]
                ],
            },
        }
    }
    "powertrain" : [
        ["type", "name", "inputName", "inputIndex"],
        ["rangeBox", "rangebox", "gearbox", 1, {"uiSimpleModeControl":false, "gearRatios":[1,4], "uiName":"Rangebox"}],
        //locked center diff
        ["differential", "transfercase", "rangebox", 1, {"diffType":"locked", "lockTorque":8000, "friction":0.55, "dynamicFriction":0.00059, "torqueLossCoef":0.012, "uiName":"Transfer Case", "defaultVirtualInertia":0.1}],
        //disconnecting front shaft
        ["shaft", "transfercase_F", "transfercase", 2, {"uiSimpleModeControl":false, "canDisconnect":true, "friction":0.55, "dynamicFriction":0.00059, "uiName":"Front Output Shaft"}],
    ],
    "gearbox": {
        "uiName":"Gearbox",
        //added stabilization for one way clutch with ultra low range
        "oneWayViscousCoef":20,
        "oneWayViscousSmoothing":100,
    },
    "torqueConverter": {
        "uiName":"Torque Converter",
        //added stabilization for torque converter with ultra low range
        "kFactorSmoothing":250,
    },
    "flexbodies": [
        ["mesh", "[group]:", "nonFlexMaterials"],
        ["inf21tahoe_transfer_case", ["inf21tahoe_transmission","inf21tahoe_engine"]],
    ],
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         {"selfCollision":false},
         {"collision":true},
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_METAL"},
         {"nodeWeight":18},
         {"group":"inf21tahoe_transmission"},
         ["tra2", -0.12, -0.78, 0.425],
         ["tra3", 0.18, -0.78, 0.425],
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          {"beamSpring":12600840,"beamDamp":390},
          {"beamDeform":99750,"beamStrength":"FLT_MAX"},
          ["tra2","tra1"],

          ["tra2","e1r"],
          ["tra2","e1l"],
          ["tra2","e3r"],
          ["tra2","e3l"],

          ["tra3","e1r"],
          ["tra3","e1l"],
          ["tra3","e3r"],
          ["tra3","e3l"],

          ["tra3","tra2"],
          ["tra3","tra1"],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
    ],
},
"inf21tahoe_transfer_case_AWD": {
    "information":{
        "authors":"BeamNG",
        "name":"AWD Transfer Case",
        "value":2650,
    },
    "slotType" : "inf21tahoe_transfer_case",
    "powertrain" : [
        ["type", "name", "inputName", "inputIndex"],
        //lsd center diff
        ["differential", "transfercase", "gearbox", 1, {"diffType":"lsd", "lsdPreload":50, "lsdLockCoef":0.15, "lsdRevLockCoef":0.15, "diffTorqueSplit":0.6, "friction":0.44, "dynamicFriction":0.00048, "torqueLossCoef":0.012, "uiName":"Center Differential", "defaultVirtualInertia":0.1, "speedLimitCoef":0.1}],
        //non disconnecting front shaft
        ["shaft", "transfercase_F", "transfercase", 2, {"friction":0.44, "dynamicFriction":0.00048, "uiName":"Front Output Shaft"}],
    ],
    "flexbodies": [
        ["mesh", "[group]:", "nonFlexMaterials"],
        ["inf21tahoe_transfer_case", ["inf21tahoe_transmission","inf21tahoe_engine"]],
    ],
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         {"selfCollision":false},
         {"collision":true},
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_METAL"},
         {"nodeWeight":18},
         {"group":"inf21tahoe_transmission"},
         ["tra2", -0.12, -0.78, 0.425],
         ["tra3", 0.18, -0.78, 0.425],
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          {"beamSpring":12600840,"beamDamp":390},
          {"beamDeform":99750,"beamStrength":"FLT_MAX"},
          ["tra2","tra1"],

          ["tra2","e1r"],
          ["tra2","e1l"],
          ["tra2","e3r"],
          ["tra2","e3l"],

          ["tra3","e1r"],
          ["tra3","e1l"],
          ["tra3","e3r"],
          ["tra3","e3l"],

          ["tra3","tra2"],
          ["tra3","tra1"],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
    ],
},
"inf21tahoe_transfer_case_RWD": {
    "information":{
        "authors":"BeamNG",
        "name":"RWD Transfer Case",
        "value":200,
    },
    "slotType" : "inf21tahoe_transfer_case",
    "powertrain" : [
        ["type", "name", "inputName", "inputIndex"],
        //straight through shaft
        ["shaft", "transfercase", "gearbox", 1, {"friction":0.32, "dynamicFriction":0.000354, "uiName":"Rear Output Shaft"}],
    ],
    "flexbodies": [
        ["mesh", "[group]:", "nonFlexMaterials"],
        ["inf21tahoe_transfercase_rwd", ["inf21tahoe_transmission","inf21tahoe_engine"]],
    ],
},
}