{
"Zil130_transmission_5M_awd": {
    "information":{
        "authors":"Bagusik",
        "name":"AWD 5-Speed Manual Transmission",
        "value":4500,
    },
    "slotType" : "Zil130_transmission",
    "slots": [
        ["type", "default", "description"],
        ["Zil130_flywheel","Zil130_flywheel","Flywheel", {"coreSlot":true}],
        ["Zil130_transfercase_F","Zil130_transfercase_F","Transfer Case", {"coreSlot":true}],
		["Zil130_differential_F","Zil130_differential_F","Front Differential"],
    ],
    "powertrain" : [
        ["type", "name", "inputName", "inputIndex"],
        ["frictionClutch", "clutch", "mainEngine", 1],
        ["manualGearbox", "gearbox", "clutch", 1],
    ],
    "gearbox": {
        "uiName":"Gearbox",
        "gearRatios":[-4.66, 0, 5.08, 3.60, 2.13, 1.8, 1.17],
        "friction": 1.42,
        "dynamicFriction": 0.00144,
        "torqueLossCoef": 0.0155,
        "gearboxNode:":"tra1",

        "gearWhineCoefsInput":  [0.64, 0.00, 0.30, 0.27, 0.24, 0.20, 0.24],
        "gearWhineCoefsOutput": [0.00, 0.00, 0.32 0.32, 0.32, 0.27, 0.32],
        "gearWhineInputEvent": "event:>Vehicle>Transmission>Zil130_01>twine_in",
        "gearWhineOutputEvent": "event:>Vehicle>Transmission>Zil130_01>twine_out",

        "forwardInputPitchCoef":1.7
        "forwardOutputPitchCoef":1.7
        //"reverseInputPitchCoef":0.7
        //"reverseOutputPitchCoef":0.7

        "gearWhineInputPitchCoefSmoothing":75
        "gearWhineOutputPitchCoefSmoothing":75
        "gearWhineInputVolumeCoefSmoothing":20
        "gearWhineOutputVolumeCoefSmoothing":20

        //"gearWhineFixedCoefOutput": 0.7
        //"gearWhineFixedCoefInput": 0.4
    },
    "clutch": {
        //"clutchStiffness":0.5,
        "clutchFreePlay":0.25,
    },
    "vehicleController": {
        "clutchInRate":10,
        "clutchOutRate":10,
        "transmissionGearChangeDelay":0.25,
        "transmissionShiftDelay":0.3,
        //"shiftDownRPMOffsetCoef":0.6,
        "calculateOptimalLoadShiftPoints": false,
        "lowShiftDownRPM":[500,0,0,0,500,700,700,700,700,700,700,700,700],
        "lowShiftUpRPM":1400,
        "highShiftUpRPM":1800,
        "highShiftDownRPM":[500,0,0,0,500,1000,1000,1000,1000,1000,1000,1000,1000],
        //"wheelSlipUpThreshold":5,
    },
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["Zil130_transmission", ["Zil130_transmission"]],
         ["Zil130_razdatka", ["Zil130_transmission"]],
         ["Zil130_korobas", ["Zil130_transmission"]],
    ],
    "props": [
        ["func"      , "mesh"              , "idRef:", "idX:", "idY:"            , "baseRotation"        , "rotation"                 , "translation"        , "min", "max", "offset", "multiplier"],
        ["clutch"     ,"Zil130_clutchpedal", "dc3","dc3l","dc12",  {"x":90, "y":0, "z":0} , {"x":25, "y":0, "z":0}    , {"x":0.0, "y":0, "z":0}, 0, 1, 0, 1],
        ["gear_M"      , "Zil130_kpp"    , "dc3","dc3l","dc12",  {"x":90, "y":0, "z":0} , {"x":10, "y":0, "z":0}    , {"x":0, "y":0, "z":0}, -1, 1, 0, 1],
        ["gear_M"      , "Zil130_shifter_B"    , "dc3","dc3l","dc12",  {"x":90, "y":0, "z":0} , {"x":0, "y":0, "z":0}    , {"x":0, "y":0, "z":0}, 0, 1, 0, 1],
    ],
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         {"selfCollision":true},
         {"collision":true},
         //--TRANSMISSION CONE--
         {"nodeWeight":56.1},
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_METAL"},
         {"group":"Zil130_transmission"},
         ["tra1", 0.00000, -1.79347, 0.73863],
         ["tra2r", -0.16099, -2.49878, 0.66464],
         ["tra2l", 0.16099, -2.49878, 0.66464],
         ["tra3r", -0.16099, -2.49878, 0.93483],
         ["tra3l", 0.16099, -2.49878, 0.93483],
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          //--TRANSMISSION CONE--
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
          {"beamSpring":32000800,"beamDamp":1600},
          {"beamDeform":1500000,"beamStrength":"FLT_MAX"},
          ["tra1","tra2r"],
          ["tra1","tra2l"],
          ["tra1","tra3r"],
          ["tra1","tra3l"],
          ["tra2r","tra2l"],
          ["tra3r","tra3l"],
          ["tra2r","tra3r"],
          ["tra2l","tra3l"],
          ["tra2r","tra3l"],
          ["tra2l","tra3r"],
          //attach to engine
          ["tra1","en2r"],
          ["tra1","en2l"],
          ["tra3l","en1l"],
          ["tra3r","en1r"],
          ["tra2r","en2r"],
          ["tra2r","en2l"],
          ["tra2r","en4r"],
          ["tra2r","en4l"],
          ["tra2l","en2r"],
          ["tra2l","en2l"],
          ["tra2l","en4r"],
          ["tra2l","en4l"],
          ["tra3r","en2r"],
          ["tra3r","en2l"],
          ["tra3r","en4r"],
          ["tra3r","en4l"],
          ["tra3l","en2r"],
          ["tra3l","en2l"],
          ["tra3l","en4r"],
          ["tra3l","en4l"],
          //transmission mounts
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
          {"beamSpring":4000800,"beamDamp":1600},
          {"beamDeform":100000,"beamStrength":295000},
          ["tra2r","f4r"],
          ["tra2l","f4l"],
          ["tra2r","f4l"],
          ["tra2l","f4r"],
          ["tra2r","f14r"],
          ["tra2l","f14l"],
          //support beams for anti clipping
          {"beamType":"|SUPPORT", "beamLongBound":5},
          {"beamSpring":8000800,"beamDamp":800},
          {"beamDeform":250000,"beamStrength":850000},
          {"beamPrecompression":0.8},
          ["tra1","f6l"],
          ["tra1","f6r"],
          ["tra1","f16l"],
          ["tra1","f16r"],
          ["tra2r","fsd1r"],
          ["tra2l","fsd1l"],
          ["tra2r","fsd1"],
          ["tra2l","fsd1"],
          ["tra3r","f4rr"],
          ["tra3l","f4ll"],
          {"beamSpring":1600800,"beamDamp":160},
          {"optional":true},
          ["tra1","dc9"],
          ["tra1","dc11"],
          ["tra1","dc10rr"],
          ["tra1","dc10ll"],
          ["tra2l","dc9"],
          ["tra2r","dc9"],
          {"optional":false},
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
    ],
    "triangles": [
            ["id1:","id2:","id3:"],
            {"group":"Zil130_engine"},
            {"groundModel":"metal"},
            {"dragCoef":3},
            ["tra2l", "tra2r", "tra1"],
            ["tra2l", "tra1", "tra3l"],
            ["tra3l", "tra1", "tra3r"],
            ["tra3r", "tra1", "tra2r"],
            ["tra3r", "tra2r", "tra2l"],
            ["tra3r", "tra2l", "tra3l"],
            {"group":""},
    ],
},
"Zil130_transfercase_F_awd": {
    "information":{
        "authors":"Bagusik",
        "name":"AWD Transfer Case",
        "value":800,
    },
    "slotType" : "Zil130_transfercase_F",
    "powertrain" : [
        ["type", "name", "inputName", "inputIndex"]
        ["differential", "transfercase_F", "gearbox", 1, {"diffType":"locked", "lockTorque":3500, "friction":5, "uiName":"Front Transfercase"}],
    ],
},
"Zil130_transfercase_F_rwd": {
    "information":{
        "authors":"Bagusik",
        "name":"RWD Transfer Case",
        "value":400,
    },
    "slotType" : "Zil130_transfercase_F",
    "powertrain" : [
        ["type", "name", "inputName", "inputIndex"]
        ["shaft", "transfercase_F", "gearbox", 1, {"friction":5, "uiName":"Rear Output Shaft"}],
    ],
},
}