{
"midsize_dashboard_lights": {
    "information":{
        "authors":"BeamNG",
        "name":"Dashboard With Lighting",
        "value":500,
    },
    "slotType" : "midsize_dashboard",
    "slots": [
        ["type", "default", "description"],
        ["midsize_steer","midsize_steer", "Steering Wheel"],
        ["midsize_gauges","midsize_gauges_imperial", "Gauges", {"coreSlot":true}],
        ["midsize_shifter","midsize_shifter_A", "Shifter", {"coreSlot":true}],
        ["midsize_shiftlight","", "Shift Light"],
        ["midsize_interrior_accessory","", "Dashboard Accessories"],
    ],
    "flexbodies": [
        ["mesh", "[group]:", "nonFlexMaterials"],
        ["midsize_dashboard", ["midsize_dash"]],
        ["midsize_footrest", ["midsize_body"]],
        ["midsize_mirror_int", ["midsize_body"]],
    ],
    "mirrors": [
        ["mesh", "idRef:", "id1:", "id2:"],
        ["midsize_mirror_int","rf1","rf1r","rf2",{"refBaseTranslation":{"x":0.00,"y":-0.08,"z":-0.09},"baseRotationGlobal":{"x":6,"y":0,"z":19}}],
    ],
    "glowMap":{
        "midsize_interior":{"simpleFunction":{"lowhighbeam":0.49}, "off":"midsize_interior", "on":"midsize_interior_on"},
    },
    "props": [
        ["func"      , "mesh"              , "idRef:", "idX:", "idY:"            , "baseRotation"        , "rotation"                 , "translation"        , "min", "max", "offset", "multiplier"],
        //pedals
        ["brake",        "midsize_pedal_brake",    "f1l","f1r","f6l",        {"x":-2 "y":0, "z":180},   {"x":-20, "y":0, "z":0},   {"x":0.0, "y":0, "z":0}, 0, 1, 0, 1],
        ["throttle",     "midsize_pedal_gas",      "f1l","f1r","f6l",        {"x":-2, "y":0, "z":180},   {"x":-14, "y":0, "z":0},   {"x":0.0, "y":0, "z":0}, 0, 1, 0, 1],
        //turn signal stalk
        ["turnsignal",   "midsize_signalstalk",   "dshl","dsh","int_strw",        {"x":0, "y":0, "z":180}, {"x":0, "y":0, "z":-15},   {"x":0, "y":0, "z":0}, -1, 1, 0.0, 1],
        //wiper stalk
        ["wipers",       "midsize_wiperstalk",   "dshl","dsh","int_strw",        {"x":-20, "y":-15, "z":160}, {"x":0, "y":0, "z":15},    {"x":0, "y":0, "z":0}, -1, 1, 0.0, 1],
        //parkingbrake
        ["parkingbrake", "midsize_handbrake",  "f7r","f7l","f8r",        {"x":90, "y":0, "z":0} ,   {"x":-22, "y":0, "z":0},   {"x":0.0, "y":0, "z":0}, 0, 1, 0, 1],
    ],
    "camerasInternal":[
        ["type", "x", "y", "z", "fov", "id1:", "id2:", "id3:", "id4:", "id5:", "id6:"],
        {"nodeWeight":1.0},
        {"beamSpring":280,"beamDamp":50},
        {"selfCollision":true},
        {"collision":true},
        //dash cam
        ["dash", 0.368, 0.20, 1.18, 55, "f1ll","f2r","f3ll","f4ll","f4r",[], {"beamDeform":5001000,"beamStrength":"FLT_MAX"}],
    ],
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_CLOTH"},
         {"selfCollision":true},
         {"collision":true},

         //interior flexbody
         {"group":"midsize_dash"},
         {"nodeWeight":5.0},
         ["dshr", -0.365, -0.54, 0.82],
         ["dsh",   0.00, -0.54, 0.82],
         ["dshl",  0.365, -0.54, 0.82],
         ["int_strw",  0.365, -0.49, 0.84],
         {"group":""},
         {"nodeWeight":0.2},
         ["int_pbrk", 0.04, -0.08, 0.55],
         ["int_shft", -0.02, -0.34, 0.52],
    ],
    "torsionbars":[
       ["id1:", "id2:", "id3:", "id4:"],
        //rigify the column
        {"spring":20000, "damp":1, "deform":18000, "strength":28000},
        ["int_strw", "dshl", "dsh", "f5l"],

    ],
    "beams": [
          ["id1:", "id2:"],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},

          //dash board
          {"beamSpring":869146.6,"beamDamp":142.73},
          {"beamDeform":12400,"beamStrength":"FLT_MAX"},
          {"deformLimitExpansion":""},
          ["dshr","f5r"],
          ["dshl","f5l"],
          ["dshr","f6r"],
          ["dshl","f6l"],
          ["dshr","f1r"],
          ["dshl","f1l"],
          ["dshr","f5rr"],
          ["dshl","f5ll"],
          ["dshr","f6rr"],
          ["dshl","f6ll"],
          ["dshl","dshr"],
          ["dsh","f5r"],
          ["dsh","f5l"],
          ["dsh","f6r"],
          ["dsh","f6l"],
          ["dsh","f1r"],
          ["dsh","f1l"],
          ["dshl","dsh"],
          ["dshr","dsh"],
          ["dsh","int_strw"],
          ["dshl","int_strw"],
          {"beamSpring":160100,"beamDamp":142.73},
          {"beamDeform":70300,"beamStrength":"FLT_MAX"},
          ["int_pbrk","f5l"],
          ["int_pbrk","f5r"],
          ["int_pbrk","f2r"],
          ["int_pbrk","f2l"],
          ["int_shft","f5l"],
          ["int_shft","f5r"],
          ["int_shft","f2r"],
          ["int_shft","f2l"],
    ],
    "triangles":[
        ["id1:", "id2:", "id3:"],
        {"groundModel":"plastic"},
        //Dashboard
        {"dragCoef":0},
        ["dshl", "f6ll", "f5ll"],
        ["f6ll", "dshl", "f6l"],
        ["f6l", "dshl", "dsh"],
        ["dsh", "f6r", "f6l"],
        ["dsh", "dshr", "f6r"],
        ["f6r", "dshr", "f6rr"],
        ["dshr", "f5rr", "f6rr"],
        ["dshl", "f5ll", "f5l"],
        ["f5l", "dsh", "dshl"],
        ["f5l", "f5r", "dsh"],
        ["dsh", "f5r", "dshr"],
        ["dshr", "f5r", "f5rr"],
    ],
},
"midsize_dashboard_lightweight_lights": {
    "information":{
        "authors":"BeamNG",
        "name":"Race Dashboard With Lighting",
        "value":5500,
    },
    "slotType" : "midsize_dashboard",
    "slots": [
        ["type", "default", "description"],
        ["midsize_steer","midsize_steer", "Steering Wheel"],
        ["midsize_gauges","midsize_gauges_imperial", "Gauges", {"coreSlot":true}],
        ["midsize_shifter","midsize_shifter_A", "Shifter", {"coreSlot":true}],
        ["midsize_shiftlight","", "Shift Light"],
    ],
    "flexbodies": [
        ["mesh", "[group]:", "nonFlexMaterials"],
        ["midsize_dashboard_racing", ["midsize_dash"]],
        ["midsize_mirror_int", ["midsize_body"]],
    ],
    "mirrors": [
        ["mesh", "idRef:", "id1:", "id2:"],
        ["midsize_mirror_int","rf1","rf1r","rf2",{"refBaseTranslation":{"x":0.00,"y":-0.08,"z":-0.09},"baseRotationGlobal":{"x":6,"y":0,"z":19}}],
    ],
    "glowMap":{
        "midsize_interior":{"simpleFunction":{"lowhighbeam":0.49}, "off":"midsize_interior", "on":"midsize_interior_on"},
    },
    "camerasInternal":[
        ["type", "x", "y", "z", "fov", "id1:", "id2:", "id3:", "id4:", "id5:", "id6:"],
        {"nodeWeight":1.0},
        {"beamSpring":280,"beamDamp":50},
        {"selfCollision":true},
        {"collision":true},
        //dash cam
        ["dash", 0.368, 0.20, 1.14, 55, "f1ll","f2r","f3ll","f4ll","f4r",[], {"beamDeform":5001000,"beamStrength":"FLT_MAX"}],
    ],
    "props": [
        ["func"      , "mesh"              , "idRef:", "idX:", "idY:"            , "baseRotation"        , "rotation"                 , "translation"        , "min", "max", "offset", "multiplier"],
        //pedals
        ["brake",        "midsize_pedal_brake",    "f1l","f1r","f6l",        {"x":-2 "y":0, "z":180},   {"x":-20, "y":0, "z":0},   {"x":0.0, "y":0, "z":0}, 0, 1, 0, 1],
        ["throttle",     "midsize_pedal_gas",      "f1l","f1r","f6l",        {"x":-2, "y":0, "z":180},   {"x":-14, "y":0, "z":0},   {"x":0.0, "y":0, "z":0}, 0, 1, 0, 1],
        //turn signal stalk
        ["turnsignal",   "midsize_signalstalk",   "f1l","f1r","f6l",        {"x":-70, "y":0, "z":180}, {"x":0, "y":0, "z":-15},   {"x":0, "y":0, "z":0}, -1, 1, 0.0, 1],
        //wiper stalk
        ["wipers",       "midsize_wiperstalk",    "f1l","f1r","f6l",        {"x":-70, "y":-15, "z":180}, {"x":0, "y":0, "z":15},    {"x":0, "y":0, "z":0}, -1, 1, 0.0, 1],
        //parkingbrake
        ["parkingbrake", "midsize_handbrake",  "f7r","f7l","f8r",        {"x":90, "y":0, "z":0} ,   {"x":-22, "y":0, "z":0},   {"x":0.0, "y":0, "z":0}, 0, 1, 0, 1],
    ],
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_CLOTH"},
         {"selfCollision":true},
         {"collision":true},

         //interior flexbody
         {"group":"midsize_dash"},
         {"nodeWeight":1.8},
         ["dshr", -0.365, -0.54, 0.82],
         ["dsh",   0.00, -0.54, 0.82],
         ["dshl",  0.365, -0.54, 0.82],
         ["int_strw",  0.365, -0.49, 0.84],
         {"group":""},
    ],
    "torsionbars":[
       ["id1:", "id2:", "id3:", "id4:"],
        //rigify the column
        {"spring":20000, "damp":1, "deform":18000, "strength":28000},
        ["int_strw", "dshl", "dsh", "f5l"],

    ],
    "beams": [
          ["id1:", "id2:"],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},

          //dash board
          {"beamSpring":869146.6,"beamDamp":142.73},
          {"beamDeform":12400,"beamStrength":"FLT_MAX"},
          {"deformLimitExpansion":""},
          ["dshr","f5r"],
          ["dshl","f5l"],
          ["dshr","f6r"],
          ["dshl","f6l"],
          ["dshr","f1r"],
          ["dshl","f1l"],
          ["dshr","f5rr"],
          ["dshl","f5ll"],
          ["dshr","f6rr"],
          ["dshl","f6ll"],
          ["dshl","dshr"],
          ["dsh","f5r"],
          ["dsh","f5l"],
          ["dsh","f6r"],
          ["dsh","f6l"],
          ["dsh","f1r"],
          ["dsh","f1l"],
          ["dshl","dsh"],
          ["dshr","dsh"],
          ["dsh","int_strw"],
          ["dshl","int_strw"],
    ],
    "triangles":[
        ["id1:", "id2:", "id3:"],
        {"groundModel":"plastic"},
        //Dashboard
        {"dragCoef":0},
        ["dshl", "f6ll", "f5ll"],
        ["f6ll", "dshl", "f6l"],
        ["f6l", "dshl", "dsh"],
        ["dsh", "f6r", "f6l"],
        ["dsh", "dshr", "f6r"],
        ["f6r", "dshr", "f6rr"],
        ["dshr", "f5rr", "f6rr"],
        ["dshl", "f5ll", "f5l"],
        ["f5l", "dsh", "dshl"],
        ["f5l", "f5r", "dsh"],
        ["dsh", "f5r", "dshr"],
        ["dshr", "f5r", "f5rr"],
    ],
},
}