{
"ARaz1_exhaust_midengine8": {
    "information":{
        "authors":"BeamNG",
        "name":"JWorks Dual Exit Exhaust",
        "value":1750,
    },

    "slotType" : "ARaz1_exhaust_midengine",
    "mainEngine":{
        "instantAfterFireVolumeCoef": 1.0,
        "sustainedAfterFireVolumeCoef": 0.7,
        "shiftAfterFireVolumeCoef": 1.0,
        "torqueModExhaust":[
            ["rpm", "torque"],
            [0, 0],
            [1000, -0],
            [2000, -0],
            [3000, -0.4],
            [4000, -1.0],
            [5000, -2.1],
            [6000, -3.2],
            [7000, -4.3],
            [8000, -5.5],
            [9000, -6.6],
        ],
    },

    "soundConfigExhaust": {
        "$+lowShelfGain":7,
        "$+highShelfGain":-4,
    },

    "flexbodies": [
        ["mesh", "[group]:", "nonFlexMaterials"],
        ["ARaz1_exhuast_jworks", ["ARaz1_exhaust"]],
        ["ARaz1_muffler_midengine", ["ARaz1_exhaust"]],
    ],
    "nodes": [
        ["id", "posX", "posY", "posZ"],
        {"selfCollision":true},
        {"collision":true},
        //--I4 Exhaust-
        {"frictionCoef":0.5},
        {"nodeMaterial":"|NM_METAL"},
        {"nodeWeight":1.4},
        {"group":"ARaz1_exhaust"},
        {"collision":true},
        {"selfCollision":false},
        ["ex1", 0.01248, 0.99815, 0.23516, {"chemEnergy":5,"burnRate":0.39,"flashPoint":600,"specHeat": 1,"selfIgnitionCoef":false,"smokePoint":550,"baseTemp":"thermals","conductionRadius":0.15}],
        ["ex2", 0.11220, 1.28558, 0.42007],
            ["ex9", -0.04839, 1.29067, 0.24306],
            ["ex8", -0.04839, 1.43079, 0.29280],

        {"selfCollision":true},
        ["ex3", 0.05051, 1.29293, 0.24306],
        ["ex4", 0.00258, 1.26751, 0.31277],
        ["ex5", 0.05064, 1.43226, 0.29280, {"selfCollision":false, "afterFireAudioCoef":0.4, "afterFireVisualCoef":0.4, "afterFireVolumeCoef":0.6, "afterFireMufflingCoef":0.65, "exhaustAudioMufflingCoef":0.2, "exhaustAudioGainChange":-3}],
        //rigidifier
        {"selfCollision":false},
        {"collision":false},
        {"nodeWeight":0.4},
        ["ex6", -0.10990, 1.26558, 0.42007],
        {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          //--EXHAUST--
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
          {"beamSpring":901000,"beamDamp":50},
          {"beamDeform":10000,"beamStrength":"FLT_MAX"},
          {"deformLimitExpansion":""},
          ["ex1","ex2", {"isExhaust":"mainEngine", "deformLimitExpansion":1.1}],
          ["ex3","ex2", {"isExhaust":"mainEngine", "deformLimitExpansion":1.1}],
          ["ex3","ex4", {"isExhaust":"mainEngine", "deformLimitExpansion":1.1}],
          ["ex4","ex5"],
            ["ex8", "ex4"],

            ["ex4", "ex9", {"isExhaust":"mainEngine", "deformLimitExpansion":1.1}],
            ["ex9", "ex8", {"isExhaust":"mainEngine", "deformLimitExpansion":1.1}],

          {"beamDeform":2500,"beamStrength":"FLT_MAX"},
          //rigifier
          ["ex6","ex1"],
          ["ex6","ex2"],
          ["ex6","ex3"],
          ["ex6","ex4"],
          ["ex6","ex5"],
            ["ex8", "ex6"],
            ["ex8", "ex1"],
            ["ex9", "ex6"],
            ["ex9", "ex1"],
            ["ex8", "ex5"],
            ["ex3", "ex9"],
            ["ex9", "ex5"],
            ["ex3", "ex8"],

          //rigifier beams
          ["ex1","ex4"],
          ["ex3","ex5", {"isExhaust":"mainEngine", "deformLimitExpansion":1.1}],
          ["ex1","ex5"],
          {"beamSpring":201000,"beamDamp":100},
          {"beamDeform":10000,"beamStrength":25000},
          {"breakGroup":"exhaust_1"},
          //attach
          ["ex1","trb2r", {"isExhaust":"mainEngine", "deformLimitExpansion":1.1}],
          ["ex1", "trb1r"],
          ["ex1","e2r"],
          ["ex1","e4r"],
          ["ex1","e2l"],
          ["ex1","e4l"],
          {"beamSpring":51000,"beamDamp":150},
          {"beamDeform":2500,"beamStrength":10000},
          ["ex2", "trb2r"],
          ["ex2", "trb1r"],
          {"breakGroup":"exhaust_b"},
          ["ex2","r3l"],
          ["ex3","r3l"],
          ["ex4","r3l"],
          ["ex3","q10l"],
          ["ex6","rx2l"]

            ["ex9", "r2r"],
            ["r2r", "ex8"],
            ["ex8", "rx2r"],
            ["rx2r", "ex9"],
            ["ex9", "r4rr"],
            ["r4rr", "ex8"],
            ["ex8", "r4r"],
            ["r4r", "ex9"],
            ["ex9", "r2"],
            ["r2", "ex8"],


          ["ex4","r2l"],
          ["ex3","r2l"],
          ["ex4","r4ll"],
          ["ex3","r4ll"],
          {"optional":false},
          {"breakGroup":""},
          //support beams
          {"beamPrecompression":1, "beamType":"|SUPPORT", "beamLongBound":4, "beamShortBound":0},
          {"beamDeform":15600,"beamStrength":61200},
          {"beamSpring":251000,"beamDamp":50},
          {"beamPrecompression":0.95},
          ["ex4","rx1l"],
          ["ex4","f3l"],
          ["ex3","rx1r"],
          {"optional":true},
          ["ex4","rx2l"],
          ["ex3","rx2l"],
          {"optional":false},
          {"beamPrecompression":1},
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
          {"deformLimitExpansion":1.1},
    ],
    "triangles": [
          ["id1:","id2:","id3:"],
          {"triangleType":"NONCOLLIDABLE"},
          ["ex7", "ex6", "ex5"],
          {"triangleType":"NORMALTYPE"},
    ],
},
}