{
"Zil130_differential_F": {
    "information":{
        "authors":"Bagusik",
        "name":"Open Front Differential",
        "value":900,
    },
    "slotType" : "Zil130_differential_F",
    "slots": [
        ["type", "default", "description"],
        ["Zil130_finaldrive_F","Zil130_finaldrive_F_293", "Front Final Drive", {"coreSlot":true}],
        ["Zil130_driveshaft_F","Zil130_driveshaft_F", "Front Final Drive"],
    ],
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["Zil130_differential_F", ["Zil130_axle_F","Zil130_hub_a_F"]],
    ],
    "powertrain" : [
        ["type", "name", "inputName", "inputIndex"],
        //front diff
        ["differential", "differential_F", "driveshaft_F", 1, {"diffType":"open", "uiName":"Front Differential"}],
    ],
    "differential_F": {
        "friction": 18.4,
        "dynamicFriction": 0.0088,
        "torqueLossCoef": 0.23,
    },
	"nodes": [
         ["id", "posX", "posY", "posZ"],
         {"selfCollision":true, "collision":true},
         {"nodeWeight":10},
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_METAL"},
         ["diff", 0.2945, -3.02, 0.4475,{"group":["Zil130_axle_F","Zil130_leaf_F"]}],
    ],
	"beams": [
          ["id1:", "id2:"],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          {"beamSpring":20000000,"beamDamp":250},
          {"beamDeform":275000,"beamStrength":725000},
		  ["diff","fa1l"],
          ["diff","fa2l"],
          ["diff","fa7l"],
          ["diff","fa8l"],
          ["diff","fa7r"],
          ["diff","fa8r"],
          ["diff","fa1r"],
          ["diff","fa2r"],
    ],
},
"Zil130_differential_F_locking": {
    "information":{
        "authors":"Bagusik",
        "name":"Locking Front Differential",
        "value":1800,
    },
    "slotType" : "Zil130_differential_F",
    "slots": [
        ["type", "default", "description"],
        ["Zil130_finaldrive_F","Zil130_finaldrive_F_293", "Front Final Drive", {"coreSlot":true}],
        ["Zil130_driveshaft_F","Zil130_driveshaft_F", "Front Final Drive"],
    ],
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["Zil130_differential_F", ["Zil130_axle_F","Zil130_hub_a_F"]],
    ],
    "powertrain" : [
        ["type", "name", "inputName", "inputIndex"],
        //front diff
        ["differential", "differential_F", "driveshaft_F", 1, {"diffType":["open","locked"], "lockTorque":5000000, "uiName":"Front Differential"}],
    ],
    "differential_F": {
        "friction": 18.4,
        "dynamicFriction": 0.0088,
        "torqueLossCoef": 0.27,
    },
	"nodes": [
         ["id", "posX", "posY", "posZ"],
         {"selfCollision":true, "collision":true},
         {"nodeWeight":10},
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_METAL"},
         ["diff", 0.2945, -3.02, 0.4475,{"group":["Zil130_axle_F","Zil130_leaf_F"]}],
    ],
	"beams": [
          ["id1:", "id2:"],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          {"beamSpring":20000000,"beamDamp":250},
          {"beamDeform":275000,"beamStrength":725000},
		  ["diff","fa1l"],
          ["diff","fa2l"],
          ["diff","fa7l"],
          ["diff","fa8l"],
          ["diff","fa7r"],
          ["diff","fa8r"],
          ["diff","fa1r"],
          ["diff","fa2r"],
    ],
},
"Zil130_finaldrive_F_293": {
    "information":{
        "authors":"Bagusik",
        "name":"2.93:1 Front Final Drive",
        "value":150,
    },
    "slotType" : "Zil130_finaldrive_F",
    "differential_F" : {
        "gearRatio":2.93,
    },
},
"Zil130_finaldrive_F_355": {
    "information":{
        "authors":"BeamNG",
        "name":"3.55:1 Front Final Drive",
        "value":150,
    },
    "slotType" : "Zil130_finaldrive_F",
    "differential_F" : {
        "gearRatio":3.55,
    },
},
"Zil130_driveshaft_F": {
    "information":{
        "authors":"Bagusik",
        "name":"Front Driveshaft",
        "value":200,
    },
    "slotType" : "Zil130_driveshaft_F",
    "powertrain" : [
        ["type", "name", "inputName", "inputIndex"]
        //front driveshaft
        ["shaft", "driveshaft_F", "transfercase_F", 2, {"canDisconnect":true, "breakTriggerBeam":"driveshaft_F", "uiName":"Front Driveshaft", "electricsName":"driveshaft_F", "friction":1}]
    ],
    "props": [
        ["func",       "mesh",               "idRef:","idX:","idY:", "baseRotation",         "rotation",            "translation",         "min", "max", "offset", "multiplier",],
        ["driveshaft_F", "Zil130_driveshaft_F", "fa8l","diff","fsd1" {"x":119.5, "y":0, "z":95}, {"x":0, "y":1, "z":0}, {"x":0, "y":0, "z":0}, -360, 360, 0, 1, {"breakGroup":"driveshaft_F","deformGroup":"driveshaft_F"}],
    ],
    "beams": [
          ["id1:", "id2:"],
          //driveshaft
          {"beamPrecompression":1.0, "beamType":"|BOUNDED", "beamLongBound":0.05, "beamShortBound":0.05},
          {"beamSpring":0,"beamDamp":0,"beamDeform":5050,"beamStrength":6570},
          {"beamLimitSpring":10001000,"beamLimitDamp":1000},
          ["fsd1","diff", {"name":"driveshaft_F","optional":true,"breakGroup":"driveshaft_F","deformGroup":"driveshaft_F"}],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
    ],
},
"Zil130_driveshaft_awd": {
    "information":{
        "authors":"Bagusik",
        "name":"AWD Rear Driveshaft",
        "value":600,
    },
    "slotType" : "Zil130_driveshaft",
    "powertrain" : [
        ["type", "name", "inputName", "inputIndex"],
        //driveshaft
        ["shaft", "driveshaft", "transfercase_F", 1, {"breakTriggerBeam":"driveshaft", "uiName":"Rear Driveshaft", "electricsName":"driveshaft", "friction":1.74, "dynamicFriction": 0.00378}],
    ],
     "props": [
        ["func"      , "mesh"           , "idRef:", "idX:", "idY:", "baseRotation"        , "rotation"            , "translation"        , "min", "max", "offset", "multiplier",],
        ["driveshaft", "Zil130_driveshaft", "ra1","tra1","ra1ref",    {"x":0, "y":0, "z":90}, {"x":0, "y":1, "z":0} , {"x":0, "y":0, "z":0}, -360, 360, 0, 1,{"breakGroup":"driveshaft","deformGroup":"driveshaft","optional":true}],
    ],
    "beams": [
          ["id1:", "id2:"],
          //driveshaft
          {"beamPrecompression":1.0, "beamType":"|BOUNDED", "beamLongBound":0.015, "beamShortBound":0.015},
          {"beamSpring":0,"beamDamp":0,"beamDeform":3000,"beamStrength":8000},
          {"beamLimitSpring":5001000,"beamLimitDamp":250},
          ["tra1","ra1", {"name":"driveshaft","optional":true,"breakGroup":"driveshaft","deformGroup":"driveshaft"}],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
        ],
},
"Zil130_driveshaft_long_awd": {
    "information":{
        "authors":"Bagusik",
        "name":"AWD Long Driveshaft",
        "value":750,
    },
    "slotType" : "Zil130_driveshaft_long",
    "powertrain" : [
        ["type", "name", "inputName", "inputIndex"],
        //driveshaft
        ["shaft", "intershaft", "transfercase_F", 1, {"breakTriggerBeam":"driveshaft", "uiName":"Rear Driveshaft", "electricsName":"driveshaft", "friction":1.74, "dynamicFriction": 0.00378}],
    ],
    "props": [
        ["func", "mesh"                , "idRef:", "idX:", "idY:", "baseRotation"        , "rotation"               , "translation"        , "min", "max", "offset", "multiplier"],
        ["driveshaft", "Zil130_driveshaft_long", "tra1","ra11","ra11ref",  {"x":0.5, "y":180, "z":90}, {"x":0, "y":1, "z":0}    , {"x":0, "y":0, "z":0}, -360, 360, 0, 1,{"breakGroup":"driveshaft","deformGroup":"driveshaft","optional":true}],
    ],
    "beams": [
          ["id1:", "id2:"],
          //long driveshaft
          {"beamPrecompression":1.0, "beamType":"|BOUNDED", "beamLongBound":0.01, "beamShortBound":0.01},
          {"beamSpring":0,"beamDamp":0,"beamDeform":3000,"beamStrength":8000},
          {"beamLimitSpring":5001000,"beamLimitDamp":250},
          ["ra11","tra1", {"name":"driveshaft","optional":true,"breakGroup":"driveshaft","deformGroup":"driveshaft"}],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
    ],
},
}