{
"t4runner_engine_v6": {
    "information":{
        "authors":"BeamNG",
        "name":"4.0L V6 Engine (1GR-FE)",
        "value":5800,
    },
    "slotType" : "t4runner_engine",
    "slots": [
        ["type", "default", "description"],
        ["t4runner_enginemounts","t4runner_enginemounts", "Engine Mounts", {"coreSlot":true}],
        ["t4runner_v6_exhmanifold","t4runner_v6_exhmanifold", "Exhaust Manifolds", {"coreSlot":true}],
        ["t4runner_v6_intake","t4runner_v6_intake", "Intake", {"coreSlot":true}],
        ["t4runner_v6_ecu","t4runner_v6_ecu", "Engine Management", {"coreSlot":true}],
        ["n2o_system","", "Nitrous Oxide System"],
        ["t4runner_v6_internals","t4runner_v6_internals", "Engine Long Block", {"coreSlot":true}],
        ["t4runner_transmission","t4runner_transmission_8A", "Transmission"],
    ],
    "powertrain" : [
        ["type", "name", "inputName", "inputIndex"],
        ["combustionEngine", "mainEngine", "dummy", 0],
    ],
    "mainEngine": {
        "torque":[
            ["rpm", "torque"],
            [0, 0],
            [500, 200],
            [2000, 360],
            [3000, 390],
            [4000, 393],
			[4500, 394],
            [5000, 390],
			[5500, 374],
            [6000, 344],
            [7000, 290],
            [8000, 265],
        ],
        //engine performance
        "idleRPM":700,
        //max physically capable
        "maxRPM":8500,
        "inertia":0.20,
        "friction":19,
        "dynamicFriction":0.035,
        "engineBrakeTorque":52,
        //"burnEfficiency":0.32,
        "burnEfficiency":[
            [0, 0.1],
            [0.05, 0.21],
            [0.4, 0.33],
            [0.7, 0.36],
            [1, 0.24],
        ],
        //fuel system
        "energyStorage": ["mainTank","auxTank"],
        "requiredEnergyType":"gasoline",

        //exhaust
        "particulates":0.08,
        "instantAfterFireCoef": 0.5,
        "sustainedAfterFireCoef": 0.5,

        //cooling and oil system
        "thermalsEnabled":true,
        "engineBlockMaterial":"aluminum",
        "oilVolume":8,

        //engine durability
        "cylinderWallTemperatureDamageThreshold":150,
        "headGasketDamageThreshold":1500000,
        "pistonRingDamageThreshold":1500000,
        "connectingRodDamageThreshold":2000000,
        "maxTorqueRating": 800,
        "maxOverTorqueDamage": 900,

        //node beam interface
        "waterDamage": {"[engineGroup]:":["engine_intake"]},
        "radiator": {"[engineGroup]:":["radiator"]},
        "engineBlock": {"[engineGroup]:":["engine_block"]},
        "breakTriggerBeam":"engine",
        "uiName":"Engine",
        "soundConfig": "soundConfig",
        "soundConfigExhaust": "soundConfigExhaust",

        //starter motor
        "starterSample":"event:>Engine>Starter>v8_20xy_eng",
        "starterSampleExhaust":"event:>Engine>Starter>v8_20xy_exh",
        "shutOffSampleEngine":"event:>Engine>Shutoff>v8_20xy_eng",
        "shutOffSampleExhaust":"event:>Engine>Shutoff>v8_20xy_exh",
        "starterVolume":0.8,
        "starterVolumeExhaust":0.65,
        "shutOffVolumeEngine":0.5,
        "shutOffVolumeExhaust":0.5,
        "starterThrottleKillTime":0.84,
        "idleRPMStartRate":1.25,
        "idleRPMStartCoef":1,
    },
    "soundConfig": {
        "sampleName": "V6_2_engine",
        "intakeMuffling": 0.25,

        "mainGain": -10.5,
        "onLoadGain":1,
        "offLoadGain":0.55,

        "maxLoadMix": 0.8,
        "minLoadMix": 0,

        "eqLowGain": 0,
        "eqLowFreq": 150,
        "eqLowWidth": 0.2,

        "eqHighGain": -4,
        "eqHighFreq": 2200,
        "eqHighWidth": 0.15,

        "lowShelfGain":15,
        "lowShelfFreq":120,

        "highShelfGain":40,
        "highShelfFreq":6000,

        "fundamentalFrequencyCylinderCount":6,
        "eqFundamentalGain": -2,
    },
    "soundConfigExhaust": {
        "sampleName": "I6_2_engine",

        "mainGain": 6.5,
        "onLoadGain":3,
        "offLoadGain":0.88,

        "maxLoadMix": 1,
        "minLoadMix": 0,

        "eqLowGain": 2,
        "eqLowFreq": 150,
        "eqLowWidth": 0.2,

        "eqHighGain": 0,
        "eqHighFreq": 2500,
        "eqHighWidth": 0.2,

        "lowShelfGain":-2,
        "lowShelfFreq":90,

        "highShelfGain":4,
        "highShelfFreq":4400,

        "fundamentalFrequencyCylinderCount":6,
        "eqFundamentalGain": -2,
    },
    "vehicleController": {
        "clutchLaunchStartRPM":1200,
        "clutchLaunchTargetRPM":1600,
        //**highShiftDown can be overwritten by automatic transmissions**
        "highShiftDownRPM":[0,0,0,2600,2950,3150,3400,3400],
        //**highShiftUp can be overwritten by intake modifications**
        "highShiftUpRPM":5600,
    },
    "flexbodies": [
        ["mesh", "[group]:", "nonFlexMaterials"],
        ["t4runner_v6_block", ["t4runner_engine"]],
        ["t4runner_v6_accessories", ["t4runner_engine"]],
        ["t4runner_v6_ac_belt", ["t4runner_engine"]],
        ["t4runner_engine_starter", ["t4runner_engine"]],
        ["t4runner_enginecover", ["t4runner_engine"]],
        {"deformGroup":"", "deformMaterialBase":"", "deformMaterialDamaged":""},
    ],
    "props": [
        ["func",            "mesh",                   "idRef:", "idX:", "idY:", "baseRotation",          "rotation",            "translation",         "min", "max", "offset", "multiplier"],
        ["rpmspin",             "t4runner_v6_crankshaft_pulley",                   "e3l","e3r","e4l",     {"x":-90, "y":0, "z":0}, {"x":0, "y":1, "z":0}, {"x":0, "y":0, "z":0}, -360,   360,   0,         1],
        ["rpmspin",             "t4runner_v6_ac_belt_tensioner_pulley",            "e3l","e3r","e4l",     {"x":-90, "y":0, "z":0}, {"x":0, "y":1, "z":0}, {"x":0, "y":0, "z":0}, -1080,  1080,  0,        -3],
        ["rpmspin",             "t4runner_v6_ac_pump_pulley",                      "e3l","e3r","e4l",     {"x":-90, "y":0, "z":0}, {"x":0, "y":1, "z":0}, {"x":0, "y":0, "z":0}, -720,   720,   0,         2],
        ["rpmspin",             "t4runner_v6_alternator_pulley",                   "e3l","e3r","e4l",     {"x":-90, "y":0, "z":0}, {"x":0, "y":1, "z":0}, {"x":0, "y":0, "z":0}, -1080,  1080,  0,         3],
        ["rpmspin",             "t4runner_v6_accessory_belt_tensioner_pulley",     "e3l","e3r","e4l",     {"x":-90, "y":0, "z":0}, {"x":0, "y":1, "z":0}, {"x":0, "y":0, "z":0}, -1080,  1080,  0,         3],
        ["rpmspin",             "t4runner_v6_water_pump_pulley",                   "e3l","e3r","e4l",     {"x":-90, "y":0, "z":0}, {"x":0, "y":1, "z":0}, {"x":0, "y":0, "z":0}, -720,   720,   0,        -2],
        ["rpmspin",             "t4runner_v6_steering_pump_pulley",                "e3l","e3r","e4l",     {"x":-90, "y":0, "z":0}, {"x":0, "y":1, "z":0}, {"x":0, "y":0, "z":0}, -720,   720,   0,         2],
        ["rpmspin",             "t4runner_v6_belt_tensioner_pulley",               "e3l","e3r","e4l",     {"x":-90, "y":0, "z":0}, {"x":0, "y":1, "z":0}, {"x":0, "y":0, "z":0}, -1080,  1080,  0,        -3],
        ["rpmspin",             "t4runner_v6_pulley",       				       "e3l","e3r","e4l",     {"x":-90, "y":0, "z":0}, {"x":0, "y":1, "z":0}, {"x":0, "y":0, "z":0}, -1080,  1080,  0,        -3],
        ["rpmspin",             "t4runner_v6_pulley_2",       				       "e3l","e3r","e4l",     {"x":-90, "y":0, "z":0}, {"x":0, "y":1, "z":0}, {"x":0, "y":0, "z":0}, -1080,  1080,  0,        -3],
        ["rpmspin",             "t4runner_v6_pulley_3",       				       "e3l","e3r","e4l",     {"x":-90, "y":0, "z":0}, {"x":0, "y":1, "z":0}, {"x":0, "y":0, "z":0}, -1080,  1080,  0,        -3],
    ],
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         //3.5L V6 Engine
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_METAL"},
         {"selfCollision":false},
         {"collision":true},
         {"group":"t4runner_engine"},
         {"nodeWeight":13},
         {"engineGroup":"engine_block"},
         {"group":""},
         ["e1", 0.00000, -1.34962, 0.74924, {"isExhaust":"mainEngine","chemEnergy":1000,"burnRate":0.39,"flashPoint":800,"specHeat": 0.1,"selfIgnitionCoef":false,"smokePoint":650,"baseTemp":"thermals","conductionRadius":0.2}],
         ["e1r", -0.18000, -1.06962, 0.51924, {"group":["t4runner_engine","t4runner_header_R"], "chemEnergy":1000,"burnRate":0.39,"flashPoint":800,"specHeat": 0.1,"selfIgnitionCoef":false,"smokePoint":650,"baseTemp":"thermals","conductionRadius":0.2}],
         ["e1l", 0.18000, -1.06962, 0.51924, {"group":["t4runner_engine","t4runner_header_L"], "chemEnergy":1000,"burnRate":0.39,"flashPoint":800,"specHeat": 0.1,"selfIgnitionCoef":false,"smokePoint":650,"baseTemp":"thermals","conductionRadius":0.2}],
         ["e2r", -0.18000, -1.63962, 0.51924, {"group":["t4runner_engine","t4runner_header_R"]}],
         ["e2l", 0.18000, -1.63962, 0.51924, {"group":["t4runner_engine","t4runner_header_L"]}],
         {"engineGroup":["engine_block","engine_intake"]},
         {"nodeWeight":12},
         ["e3r", -0.32000, -1.06962, 1.06924, {"group":["t4runner_engine","t4runner_header_R","t4runner_engine_intake"]}],
         ["e3l", 0.32000, -1.06962, 1.06924, {"group":["t4runner_engine","t4runner_header_L","t4runner_engine_intake"]}],
         {"group":"t4runner_engine"},
         ["e4r", -0.32000, -1.63962, 1.06924, {"group":["t4runner_engine","t4runner_header_R","t4runner_engine_intake"]}],
         ["e4l", 0.32000, -1.63962, 1.06924, {"group":["t4runner_engine","t4runner_header_L","t4runner_engine_intake"]}],
         {"chemEnergy":false,"burnRate":false,"flashPoint":false,"specHeat":false,"smokePoint":false,"selfIgnitionCoef":false,"baseTemp":false,"conductionRadius":false},
         {"engineGroup":""},
         {"group":""},
         //engine mount nodes
         ["em1r", -0.31000, -1.41962, 0.74924, {"nodeWeight":1.7}],
         ["em1l", 0.31000, -1.41962, 0.74924, {"nodeWeight":1.7}],
         //oil pan damage
         {"nodeWeight":2},
         ["oilpan", 0.00000, -1.56962, 0.45924],
    ],
    "beams": [
          ["id1:", "id2:"],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          //--ENGINE CUBE--
          {"beamSpring":14001000,"beamDamp":500},
          {"beamDeform":150000,"beamStrength":"FLT_MAX"},
          {"deformGroup":"mainEngine", "deformationTriggerRatio":0.001}
          ["e1r","e1l"],
          ["e1r","e2r"],
          ["e1r","e2l"],
          ["e1r","e3r"],
          ["e1r","e3l"],
          ["e1r","e4r"],
          ["e1r","e4l"],
          ["e1l","e2r"],
          ["e1l","e2l"],
          ["e1l","e3r"],
          ["e1l","e3l"],
          ["e1l","e4r"],
          ["e1l","e4l"],
          ["e2r","e2l"],
          ["e2r","e3r"],
          ["e2r","e3l"],
          ["e2r","e4r"],
          ["e2r","e4l"],
          ["e2l","e3r"],
          ["e2l","e3l"],
          ["e2l","e4r"],
          ["e2l","e4l"],
          ["e3r","e3l"],
          ["e3r","e4r"],
          ["e3r","e4l"],
          ["e3l","e4r"],
          ["e3l","e4l"],
          ["e4r","e4l"],

          {"beamSpring":10001000,"beamDamp":500},
          ["e1", "e1l"],
          ["e1", "e1r"],
          ["e1", "e2l"],
          ["e1", "e2r"],
          ["e1", "e4l"],
          ["e1", "e4r"],
          ["e1", "e3r"],
          ["e1", "e3l"],

          //engine mount nodes
          {"beamSpring":3001000,"beamDamp":250},
          {"beamDeform":60000,"beamStrength":"FLT_MAX"},
          ["em1r","e3l"],
          ["em1r","e3r"],
          ["em1r","e4l"],
          ["em1r","e4r"],
          ["em1r", "e1r"],
          ["em1r", "e1l"],
          ["em1r", "e2l"],
          ["em1r", "e2r"],

          ["em1l","e3l"],
          ["em1l","e3r"],
          ["em1l","e4l"],
          ["em1l","e4r"],
          ["em1l", "e1r"],
          ["em1l", "e1l"],
          ["em1l", "e2l"],
          ["em1l", "e2r"],

          //oilpan node
          {"beamSpring":1501000,"beamDamp":250},
          {"beamDeform":8000,"beamStrength":"FLT_MAX"},
          {"deformGroup":"oilpan_damage","deformationTriggerRatio":0.005},
          ["oilpan", "e1r"],
          ["oilpan", "e1l"],
          ["oilpan", "e2r"],
          ["oilpan", "e2l"],
          ["oilpan", "e3r"],
          ["oilpan", "e3l"],
          ["oilpan", "e4r"],
          ["oilpan", "e4l"],
          {"deformGroup":""},

          //mesh break beams
          {"beamPrecompression":0.8, "beamType":"|SUPPORT","beamLongBound":0.8},
          {"beamSpring":9400,"beamDamp":0},
          {"beamDeform":350,"beamStrength":700},
          {"deformGroup":"engbay_break","deformationTriggerRatio":0.01},
          {"optional":true},
          ["e2r","rad2"],
          ["e2l","rad2"],
          ["e4r","rad2"],
          ["e4l","rad2"],
          ["rad1","e4r"],
          ["rad1","e4l"],
          ["rad1","e4r"],
          ["rad1","e4l"],
          {"optional":false},
          {"deformGroup":""},
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
    ],
},
"t4runner_v6_exhmanifold": {
    "information":{
        "authors":"BeamNG",
        "name":"Exhaust Manifolds",
        "value":350,
    },
    "slotType" : "t4runner_v6_exhmanifold",
    "slots": [
        ["type", "default", "description"],
        ["t4runner_exhaust","t4runner_exhaust", "Exhaust Pipes"],
    ],
    "flexbodies": [
        ["mesh", "[group]:", "nonFlexMaterials"],
        ["t4runner_v6_exhaust_header", ["t4runner_header_L", "t4runner_header_R"]],
    ],
    "nodes":[
         ["id", "posX", "posY", "posZ"],
         {"selfCollision":false},
         {"collision":true},
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_METAL"},
         {"nodeWeight":3.0},
         {"group":"t4runner_header_R"},
         ["exm1r", -0.33500, -1.06962, 0.71924, {"afterFireAudioCoef":1,"afterFireVisualCoef":1, "exhaustAudioMufflingCoef":1, "exhaustAudioGainChange":0}],
         {"group":"t4runner_header_L"},
         ["exm1l", 0.33500, -1.06962, 0.71924, {"afterFireAudioCoef":1,"afterFireVisualCoef":1, "exhaustAudioMufflingCoef":1, "exhaustAudioGainChange":0}],
         {"group":"none"},
    ],
    "beams": [
          ["id1:", "id2:"],
          {"deformLimitExpansion":1.2},
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          {"beamSpring":8001000,"beamDamp":250},
          {"beamDeform":40000,"beamStrength":"FLT_MAX"},

          //exhaust manifold
          ["exm1r","e3l"],
          ["exm1r","e3r"],
          ["exm1r","e4l"],
          ["exm1r","e4r", {"isExhaust":"mainEngine"}],
          ["exm1r", "e1r"],
          ["exm1r", "e1l"],
          ["exm1r", "e2l"],
          ["exm1r", "e2r"],

          ["exm1l","e3l"],
          ["exm1l","e3r"],
          ["exm1l","e4l", {"isExhaust":"mainEngine"}],
          ["exm1l","e4r"],
          ["exm1l", "e1r"],
          ["exm1l", "e1l"],
          ["exm1l", "e2l"],
          ["exm1l", "e2r"],

          //intentional dupe to redirect exhaust
          {"optional":true}
          {"beamSpring":0,"beamDamp":0},
          {"beamDeform":1,"beamStrength":1},
          ["e1", "e4l", {"isExhaust":"mainEngine"}],
          ["e1", "e4r", {"isExhaust":"mainEngine"}],
          {"optional":false}
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
    ],
},
"t4runner_v6_ecu": {
    "information":{
        "authors":"BeamNG",
        "name":"Stock ECU",
        "value":450,
    },
    "slotType" : "t4runner_v6_ecu",
    "slots": [
        ["type", "default", "description"],
        ["t4runner_ecu_speedlimit","t4runner_ecu_speedlimit_125", "Speed Limiter", {"coreSlot":true}],
    ],
    "mainEngine":{
        "revLimiterRPM":6000,
        "revLimiterType":"rpmDrop",
        "revLimiterRPMDrop":150,
    },
},
"t4runner_v6_ecu_sport": {
    "information":{
        "authors":"BeamNG",
        "name":"Sport ECU",
        "value":950,
    },
    "slotType" : "t4runner_v6_ecu",
    "slots": [
        ["type", "default", "description"],
        ["t4runner_ecu_speedlimit","t4runner_ecu_speedlimit_140", "Speed Limiter", {"coreSlot":true}],
    ],
    "mainEngine":{
        "$+idleRPM":100,
        "revLimiterRPM":"6500",
        "revLimiterType":"timeBased",
        "revLimiterCutTime":"0.05",
    },
    "soundConfig": {
        "$+eqFundamentalGain": 1.0,
    },
    "soundConfigExhaust": {
        "$+eqFundamentalGain": 1.0,
    },
},
"t4runner_v6_ecu_race": {
    "information":{
        "authors":"BeamNG",
        "name":"Adjustable Race ECU",
        "value":3600,
    },
    "slotType" : "t4runner_v6_ecu",
    "slots": [
        ["type", "default", "description"],
        ["t4runner_ecu_speedlimit","t4runner_ecu_speedlimit_off", "Speed Limiter", {"coreSlot":true}],
    ],
    "variables": [
        ["name", "type", "unit", "category", "default", "min", "max", "title", "description"],
        ["$revLimiterRPM", "range", "rpm", "Engine", 6700, 3500, 7500, "RPM Limit", "RPM where the rev limiter prevents further revving", {"stepDis":50}],
        ["$revLimiterCutTime", "range", "s", "Engine", 0.15, 0.01, 0.5, "RPM Limit Cut Time", "How fast the rev limiter cycles", {"stepDis":0.01}],
    ],
    "controller": [
        ["fileName"],
        ["twoStepLaunch", {"rpmLimit":4000}],
    ],
    "mainEngine":{
        "$+idleRPM":100,
        "revLimiterRPM":"$revLimiterRPM",
        "revLimiterType":"timeBased",
        "revLimiterCutTime":"$revLimiterCutTime",
    },
    "soundConfig": {
        "$+eqFundamentalGain": 2.0,
    },
    "soundConfigExhaust": {
        "$+eqFundamentalGain": 2.0,
    },
    "vehicleController": {
        "highShiftUpRPM":"$=$revLimiterRPM - 200",
    },
},
"t4runner_ecu_speedlimit_125": {
    "information":{
        "authors":"BeamNG",
        "name":"Stock Speed Limiter",
        "value":150,
    },
    "slotType" : "t4runner_ecu_speedlimit",

    "vehicleController": {
        "topSpeedLimit":55.433,
    },
},
"t4runner_ecu_speedlimit_140": {
    "information":{
        "authors":"BeamNG",
        "name":"Sport Speed Limiter",
        "value":150,
    },
    "slotType" : "t4runner_ecu_speedlimit",

    "vehicleController": {
        "topSpeedLimit":62.5856,
    },
},
"t4runner_ecu_speedlimit_off": {
    "information":{
        "authors":"BeamNG",
        "name":"Speed Limiter Delete",
        "value":150,
    },
    "slotType" : "t4runner_ecu_speedlimit",

    "vehicleController": {
        "topSpeedLimit":-1,
    },
},
"t4runner_v6_internals": {
    "information":{
        "authors":"BeamNG",
        "name":"Stock Long Block",
        "value":1200,
    },
    "slotType" : "t4runner_v6_internals",
    "mainEngine":{
    },
},
"t4runner_v6_internals_heavy": {
    "information":{
        "authors":"BeamNG",
        "name":"Heavy Duty Long Block",
        "value":2700,
    },
    "slotType" : "t4runner_v6_internals",
    "mainEngine":{
        //max rpm physically capable of
        "$+maxRPM":250,
        "$*friction":1.12,
        "$*dynamicFriction":1.12,
        "$*inertia":1.22,
        "$*engineBrakeTorque":1.22,
        //engine durability
        "cylinderWallTemperatureDamageThreshold":175,
        "headGasketDamageThreshold":1700000,
        "pistonRingDamageThreshold":1700000,
        "connectingRodDamageThreshold":2200000,
        "$*maxTorqueRating": 1.5,
        "$*maxOverTorqueDamage": 1.75,
    },
},
"t4runner_engine_v6_ultra": {
    "information":{
        "authors":"BeamNG",
        "name":"Ultra Heavy Duty Long Block",
        "value":5400,
    },
    "slotType" : "t4runner_v6_internals",
    "mainEngine":{
        //max rpm physically capable of
        "$+maxRPM":500,
        "$*friction":1.19,
        "$*dynamicFriction":1.16,
        "$*inertia":1.30,
        "$*engineBrakeTorque":1.14,
        //engine durability
        "cylinderWallTemperatureDamageThreshold":185,
        "headGasketDamageThreshold":1700000,
        "pistonRingDamageThreshold":1700000,
        "connectingRodDamageThreshold":2200000,
        //"maxTorqueRating": 2720,
        //"maxOverTorqueDamage": 600,
        "$*maxTorqueRating": 2.7,
        "$*maxOverTorqueDamage": 3.0,
    },
    "soundConfig": {
        "$+eqFundamentalGain": 0.5,
    },
    "soundConfigExhaust": {
        "$+eqFundamentalGain": 0.5,
    },
},
"t4runner_v6_internals_stage1": {
    "information":{
        "authors":"BeamNG",
        "name":"Stage 1 Performance Long Block",
        "value":5400,
    },
    "slotType" : "t4runner_v6_internals",
    "mainEngine":{
        "torqueModMult":[
            ["rpm", "torque"],
            [0,       1],
            [500,  0.90],
            [1000, 0.95],
            [2000, 1.00],
            [3000, 1.05],
            [4000, 1.10],
            [5000, 1.10],
            [6000, 1.15],
            [7000, 1.08],
            [8000, 1.00],
        ],
        //max rpm physically capable of
        "$+maxRPM":650,
        "$*friction":0.95,
        "$*dynamicFriction":0.95,
        "$*inertia":0.9,
        "$*engineBrakeTorque":1.3,
        //engine durability
        "cylinderWallTemperatureDamageThreshold":190,
        //"maxTorqueRating": 930,
        //"maxOverTorqueDamage": 800,
        "$*maxTorqueRating": 1.25,
        "$*maxOverTorqueDamage": 1.45,
    },
    "soundConfig": {
        "$+eqFundamentalGain": 1.0,
    },
    "soundConfigExhaust": {
        "$+eqFundamentalGain": 1.0,
    },
},
"t4runner_v6_internals_stage2": {
    "information":{
        "authors":"BeamNG",
        "name":"Stage 2 Performance Long Block",
        "value":8600,
    },
    "slotType" : "t4runner_v6_internals",
    "mainEngine":{
        "torqueModMult":[
            ["rpm", "torque"],
            [0,       1],
            [500,  0.85],
            [1000, 0.88],
            [2000, 0.95],
            [3000, 1.05],
            [4000, 1.20],
            [5000, 1.25],
            [6000, 1.35],
            [7000, 1.50],
            [8000, 1.30],
        ],
        //max rpm physically capable of
        "$+maxRPM":1200,
        "$*friction":0.92,
        "$*dynamicFriction":0.94,
        "$*inertia":0.93,
        "$*engineBrakeTorque":1.46,
        //engine durability
        "cylinderWallTemperatureDamageThreshold":220,
        //"maxTorqueRating": 1150,
        //"maxOverTorqueDamage": 1000,
        "$*maxTorqueRating": 1.45,
        "$*maxOverTorqueDamage": 1.85,
    },
    "soundConfig": {
        "$+eqFundamentalGain": 2.0,
    },
    "soundConfigExhaust": {
        "$+eqFundamentalGain": 2.0,
    },
},
"t4runner_v6_intake": {
    "information":{
        "authors":"BeamNG",
        "name":"Stock Intake",
        "value":450,
    },
    "slotType" : "t4runner_v6_intake",
    "flexbodies": [
        ["mesh", "[group]:", "nonFlexMaterials"],
        ["t4runner_v6_accessory_belt", ["t4runner_engine"]],
    ],
    "mainEngine":{
        "torqueModIntake":[
            ["rpm", "torque"],
            [0,    0 ],
            [1000, 8],
            [2000, 14],
            [3000, 20],
            [4000, 31],
            [5000, 40],
            [6000, 35],
            [7000, 20],
            [8000, 10],
        ],
        "$+particulates":0.01,
    },
    "soundConfig": {
        "$+intakeMuffling": -0.3,
        "$+mainGain": 2,
    },
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         {"selfCollision":false},
         {"collision":true},
         //--Stock Intake
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_METAL"},
         {"nodeWeight":1.4},
         {"group":["t4runner_engine_intake"]},
         ["itk1", -0.05000, -1.61962, 1.03924],
         {"group":["t4runner_airbox"]},
         {"nodeWeight":1.4},
         {"selfCollision":true},
         {"engineGroup":"engine_intake"},
         ["itk2", 0.35000, -1.86962, 1.04924],
         {"engineGroup":""},
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          //--Stock Intake
          {"beamSpring":1001000,"beamDamp":150},
          {"beamDeform":50000,"beamStrength":"FLT_MAX"},
          //{"deformGroup":"mainEngine_intake", "deformationTriggerRatio":0.01}
          ["itk1", "e3r"],
          ["itk1", "e3l"],
          ["itk1", "e4r"],
          ["itk1", "e4l"],
          ["itk1", "e2l"],
          ["itk1", "e2r"],

          {"beamSpring":1000,"beamDamp":150},
          {"beamDeform":2500,"beamStrength":"FLT_MAX"},
          //["itk2", "e4l"],
          //["itk2", "e3l"],
          //["itk2", "e2l"],
          //["itk2", "e1l"],
          //["itk2", "e4r"],
          {"optional":true},
          {"beamSpring":51000,"beamDamp":250},
          {"beamDeform":2500,"beamStrength":6000},
          {"deformGroup":""}
          {"optional":false},

          //mesh break beams
          {"beamSpring":10000, "beamDamp":50},
          {"beamDeform":300,"beamStrength":2000},
          ["itk1", "itk2"],
          {"beamSpring":100000, "beamDamp":50},
          {"beamDeform":1500,"beamStrength":"FLT_MAX"},
          ["itk2", "f15l"],
          ["itk2", "f15ll"],
          ["itk2", "f13ll"],
          ["itk2", "f12ll"],
          {"deformGroup":""},
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
    ],
},
"t4runner_intake_sport": {
    "information":{
        "authors":"BeamNG",
        "name":"Sport Intake",
        "value":650,
    },
    "slotType" : "t4runner_v6_intake",
    "flexbodies": [
        ["mesh", "[group]:", "nonFlexMaterials"],
        ["t4runner_v6_accessory_belt", ["t4runner_engine"]],
    ],
    "mainEngine":{
        "torqueModIntake":[
            ["rpm", "torque"],
            [0,     16],
            [1000,  34],
            [2000,  52],
            [3000,  68],
            [4000,  85],
            [5000, 115],
            [6000, 130],
            [7000, 110],
            [8000, 90],
        ],
        "$+particulates":0.03,
    },
    "soundConfig": {
        "$+intakeMuffling":-0.2,
        "$+maxLoadMix": 0.00,
        "$+minLoadMix": 0.00,
        "$+mainGain":2.0,
        "$+offLoadGain": 0.00,
        "$+eqHighGain": 0.00,
        "$+eqLowGain": 0.00,
        "$+eqFundamentalGain": 0.00,
    },
    "soundConfigExhaust": {
        "$+maxLoadMix": 0.00,
        "$+minLoadMix": 0.00,
        "$+mainGain": 2.5,
        "$+offLoadGain": 0.00,
        "$+eqHighGain": 0.00,
        "$+eqLowGain": 0.0,
        "$+eqFundamentalGain": 0.00,
    },
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         {"selfCollision":false},
         {"collision":true},
         //--Stock Intake
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_METAL"},
         {"nodeWeight":1.4},
         {"group":["t4runner_engine_intake"]},
         ["itk1", -0.05, -1.90, 0.84],
         {"group":["t4runner_airbox"]},
         {"nodeWeight":1.4},
         {"selfCollision":true},
         {"engineGroup":"engine_intake"},
         ["itk2", 0.35, -2.00, 0.85],
         {"engineGroup":""},
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          //--Stock Intake
          {"beamSpring":2001000,"beamDamp":250},
          {"beamDeform":150000,"beamStrength":"FLT_MAX"},
          {"deformGroup":"mainEngine_intake", "deformationTriggerRatio":0.01}
          ["itk1", "e3r"],
          ["itk1", "e3l"],
          ["itk1", "e4r"],
          ["itk1", "e4l"],
          ["itk1", "e2l"],
          ["itk1", "e2r"],

          {"beamSpring":501000,"beamDamp":150},
          {"beamDeform":4500,"beamStrength":"FLT_MAX"},
          ["itk2", "e4l"],
          ["itk2", "e3l"],
          ["itk2", "e2l"],
          ["itk2", "e1l"],
          ["itk2", "e4r"],

          //mesh break beams
          {"beamPrecompression":0.8, "beamType":"|SUPPORT","beamLongBound":0.8},
          {"beamSpring":10000,"beamDamp":0},
          {"beamDeform":500,"beamStrength":1000},
          ["itk1", "itk2"],
          ["itk2", "e3l"],
          ["itk2", "e4l"],
          {"deformGroup":""},
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
    ],
},
"t4runner_intake_sctrd": {
    "information":{
        "authors":"BeamNG",
        "name":"TRD Supercharger",
        "value":3500,
    },
    "slotType" : "t4runner_v6_intake",
	    "flexbodies": [
        ["mesh", "[group]:", "nonFlexMaterials"],
        ["t4runner_v6_accessory_belt", ["t4runner_engine"]],
	],	
    "supercharger": {
        "whineLoopEvent": "event:>Vehicle>Forced_Induction>Supercharger_03>supercharger",
        "whineVolumePerPSI": 0.050,
        "whinePitchPer10kRPM": 0.30,
        "gearRatio":1.80,
        "clutchEngageRPM":0,
        "pressureRatePSI":250,
        "pressurePSIPer1kRPM":2.0,
        "crankLossPer1kRPM":0.035,
        "type":"roots",
        "lobes":2,
        "twistedLobes":false,
        "boostController":[
            //throttle in %, factor
            [0,     0.2],
            [100,     1],
        ],
    },
    "mainEngine": {
        //supercharger name
        "supercharger":"supercharger",
        //"$*instantAfterFireCoef": 1.5,
        //"$*sustainedAfterFireCoef": 1.5,
    },
    "soundConfig": {
        //"$+maxLoadMix": 0.2,
        //"$+intakeMuffling":-1,
        //"$+mainGain":2,
    },
	"vehiclecontroller": {
	},
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         {"selfCollision":false},
         {"collision":true},
         //--Stock Intake
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_METAL"},
         {"nodeWeight":1.4},
         {"group":["t4runner_engine_intake"]},
         ["itk1", -0.05, -1.90, 0.84],
         {"group":["t4runner_airbox"]},
         {"nodeWeight":1.4},
         {"selfCollision":true},
         {"engineGroup":"engine_intake"},
         ["itk2", 0.35, -2.00, 0.85],
         {"engineGroup":""},
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          //--Stock Intake
          {"beamSpring":2001000,"beamDamp":250},
          {"beamDeform":150000,"beamStrength":"FLT_MAX"},
          {"deformGroup":"mainEngine_intake", "deformationTriggerRatio":0.01}
          ["itk1", "e3r"],
          ["itk1", "e3l"],
          ["itk1", "e4r"],
          ["itk1", "e4l"],
          ["itk1", "e2l"],
          ["itk1", "e2r"],

          {"beamSpring":501000,"beamDamp":150},
          {"beamDeform":4500,"beamStrength":"FLT_MAX"},
          ["itk2", "e4l"],
          ["itk2", "e3l"],
          ["itk2", "e2l"],
          ["itk2", "e1l"],
          ["itk2", "e4r"],

          //mesh break beams
          {"beamPrecompression":0.8, "beamType":"|SUPPORT","beamLongBound":0.8},
          {"beamSpring":10000,"beamDamp":0},
          {"beamDeform":500,"beamStrength":1000},
          ["itk1", "itk2"],
          ["itk2", "e3l"],
          ["itk2", "e4l"],
          {"deformGroup":""},
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
    ],
},
"t4runner_intake_TTS1": {
    "information":{
        "authors":"BeamNG",
        "name":"Stage 1 Twin-Turbochargers",
        "value":650,
    },
    "slotType" : "t4runner_v6_intake",
    "flexbodies": [
        ["mesh", "[group]:", "nonFlexMaterials"],
        ["t4runner_v6_accessory_belt", ["t4runner_engine"]],
    ],
    "turbocharger": {
        "bovSoundFileName":"event:>Vehicle>Forced_Induction>Turbo_01>turbo_bov",
        "hissLoopEvent":"event:>Vehicle>Forced_Induction>Turbo_01>turbo_hiss",
        "whineLoopEvent":"event:>Vehicle>Forced_Induction>Turbo_01>turbo_spin",
		"bovEnabled":true,
        //"flutterSoundPressureCoef": 1.0,
        //"flutterSoundVolumeCoef":0.57,
		"bovSoundPressureCoef": 2.0,
        "bovSoundVolumeCoef": 0.8,
        "hissVolumePerPSI": 0.050,
        "whineVolumePer10kRPM": 1.80,
        "whinePitchPer10kRPM": 0.07,
        "wastegateStart":8,
        "wastegateLimit":8,
        "maxExhaustPower": 1200,
        "backPressureCoef": 0.0000005,
        "pressureRatePSI": 40,
        "frictionCoef": 22,
        "inertia":0.20,
        "damageThresholdTemperature": 800,
        "pressurePSI":[
            //turbineRPM, pressure(PSI)
            [0,         -3.3],
            [30000,     0],
            [60000,     22],
            [90000,     26],
            [150000,    29],
            [200000,    34],
            [250000,    41],
        ],
        "engineDef":[
            //engineRPM, efficiency, exhaustFactor
            [0,     0.0,    0.0],
            [650,   0.0,    0.0],
            [1000,  0.1,    0.1],
            [1500,  0.70,   1.2],
            [2000,  0.90,   1.0],
            [2500,  0.80,   1.0],
            [3000,  0.80,   1.0],
            [4000,  0.82,   1.0],
            [5000,  0.80,   1.0],
            [5500,  0.72,   0.9],
            [6000,  0.50,   0.7],
            [7000,  0.40,   0.5],
            [8000,  0.20,   0.3],
        ],
    },
	    "mainEngine":{
        "turbocharger":"turbocharger",
    },
	"soundConfig": {
        //"$+maxLoadMix": 0.5,
        //"$+minLoadMix": 0.1,
        //"$+intakeMuffling":1,
        //"$+mainGain":3,
        //"$+eqHighGain": 7,
    },
}
}