{
"survolt_suspension_F": {
    "information":{
        "authors":"BeamNG",
        "name":"Independent Front Suspension",
        "value":2000,
    },
    "slotType" : "survolt_suspension_F",
    "slots": [
        ["type", "default", "description"],
        ["survolt_brake_F","survolt_brake_F", "Front Brakes"],
        //To change the base track width, edit the trackoffset_F offset in the expression.
        ["wheel_F_centerlug","wheel_civetta_01c_17x10_F", "Front Wheels", {"nodeOffset":{"x":"$=$trackoffset_F+0.35", "y":-1.13522, "z":0.325845}}],
        ["survolt_wheeldata_F","survolt_wheeldata_F", "Front Spindles", {"coreSlot":true}],
        ["survolt_coilover_F", "survolt_coilover_F", "Front Coilovers"],
        ["survolt_swaybar_F", "survolt_swaybar_F", "Front Sway Bar"],
        ["survolt_steering", "survolt_steering", "Steering"],
        ["survolt_motor_electric_F","survolt_motor_electric_F", "Front Electric Motor"],
    ],
    "flexbodies": [
        ["mesh", "[group]:", "nonFlexMaterials"],
        ["survolt_lowerarm_F", ["survolt_lowerarm_F"]],
        ["survolt_lowerarm_mount_F", ["survolt_chassis"]],
        ["survolt_upperarm_F", ["survolt_upperarm_F"]],
        ["survolt_upperarm_mount_F", ["survolt_chassis"]],
        ["survolt_hub_FR", ["survolt_hub_F","wheelhub_FR"]],
        ["survolt_hub_FL", ["survolt_hub_F","wheelhub_FL"]],
    ],
    "variables": [
        ["name", "type", "unit", "category", "default", "min", "max", "title", "description"],
        ["$camber_F", "range", "", "Wheel Alignment", 0.9767, 0.95, 1.05, "Camber Adjust", "Adjusts the wheel camber angle", {"subCategory":"Front"}]
        ["$caster_F", "range", "", "Wheel Alignment", 1, 0.985, 1.015, "Caster Adjust", "Adjusts forward rake of the steering axis", {"subCategory":"Front"}],
        ["$trackoffset_F", "range", "+m", "Wheels", 0.0, -0.01, 0.05, "Wheel Offset", "Spacing of the wheel from the hub", {"stepDis":0.001, "subCategory":"Front"}],
    ],
    "nodes": [
        ["id", "posX", "posY", "posZ"],
        {"collision":true},
        {"selfCollision":false},
        {"nodeMaterial":"|NM_METAL"},
        {"frictionCoef":0.5},

        //front hub
        {"nodeWeight":9.5},
        {"group":["survolt_hub_F", "survolt_lowerarm_F"]},
        ["fh1r", -0.78000, -1.17353, 0.20000],
        ["fh1l", 0.78000, -1.17353, 0.20000],
        {"nodeWeight":5.5},
        {"group":["survolt_hub_F", "survolt_upperarm_F"]},
        ["fh2r", -0.72000, -1.14353, 0.53000],
        ["fh2l", 0.72000, -1.14353, 0.53000],
        //tie rod
        {"nodeWeight":5},
        {"group":["survolt_hub_F", "survolt_tierod_F"]},
        ["fh3r", -0.76500, -1.28553, 0.39550],
        ["fh3l", 0.76500, -1.28553, 0.39550],
        //brake caliper
        {"nodeWeight":4.0},
        {"group":"survolt_hub_F"},
        ["fh4r", -0.80600, -0.96553, 0.34750],
        ["fh4l", 0.80600, -0.96553, 0.34750],
        //shock mount
        {"nodeWeight":2.0},
        {"group":["survolt_lowerarm_F", "survolt_shock_F"]},
        ["fs2r", -0.68000, -1.16353, 0.24700],
        ["fs2l", 0.68000, -1.16353, 0.24700],
        //sway bar mount
        {"nodeWeight":1.5},
        {"group":["survolt_swaybar_link_F"]},
        ["arf1r", -0.58000, -1.09553, 0.20000],
        ["arf1l", 0.58000, -1.09553, 0.20000],
        //mr test
        {"selfCollision":false},
        //["mr_F",-0.528,-1.337,0],
        //["test123",  0.75, -1.3347, 0.3475]
        {"group":""},
    ],
    "torsionbars": [
        ["id1:", "id2:", "id3:", "id4:"],
        //rigidify steering arm
        {"spring":250000, "damp":2, "deform":25000, "strength":100000},
        ["fw1rr", "fh2r", "fh1r", "fh3r"],
        ["fw1ll", "fh2l", "fh1l", "fh3l"],
        //["fw1ll", "fw1l", "fh1l", "fh3l"],
        //["fw1rr", "fw1r", "fh2r", "fh4r"],
        //["fw1ll", "fw1l", "fh2l", "fh4l"],
        //rigidify lower shock mount
        {"spring":600000, "damp":0.5, "deform":25000, "strength":100000},
        ["fs2r", "fx1r", "fx2r", "fh1r"],
        ["fs2l", "fx1l", "fx2l", "fh1l"],
        //rigidify sway bar mount
        {"spring":200000, "damp":0.5, "deform":45000, "strength":100000},
        ["arf1r", "fx1r", "fx2r", "fh1r"],
        ["arf1l", "fx1l", "fx2l", "fh1l"],
    ],
    "beams": [
        ["id1:", "id2:"],
        {"beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
        //test beam
        {"beamSpring":0,"beamDamp":1},
        //["fs1r", "mr_F", {"name":"mr_F"}],
        {"beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},

        //front hub
        {"beamSpring":8001000,"beamDamp":150}
        {"beamDeform":115000,"beamStrength":"FLT_MAX"},
        ["fh1r", "fh2r"],
        ["fh1l", "fh2l"],

        //tierod
        {"beamSpring":9001000,"beamDamp":150},
        ["fh1r", "fh3r"],
        ["fh1l", "fh3l"],
        ["fh2r", "fh3r"],
        ["fh2l", "fh3l"],

        //brake caliper
        {"beamSpring":6001000,"beamDamp":100},
        ["fh1r", "fh4r"],
        ["fh1l", "fh4l"],
        ["fh2r", "fh4r"],
        ["fh2l", "fh4l"],
        ["fh3r", "fh4r"],
        ["fh3l", "fh4l"],
        {"optional":true},

        //attach to wheel
        {"beamSpring":9001000,"beamDamp":150}
        {"beamDeform":65000,"beamStrength":435000},
        {"breakGroup":"wheel_FR"},
        ["fh1r", "fw1r", {"name":"axle_FR"}],
        ["fh2r", "fw1r"],
        ["fh3r", "fw1r"],
        ["fh4r", "fw1r"],
        ["fh1r", "fw1rr"],
        ["fh2r", "fw1rr"],
        ["fh3r", "fw1rr"],
        ["fh4r", "fw1rr"],
        {"breakGroup":"wheel_FL"},
        ["fh1l", "fw1l", {"name":"axle_FL"}],
        ["fh2l", "fw1l"],
        ["fh3l", "fw1l"],
        ["fh4l", "fw1l"],
        ["fh1l", "fw1ll"],
        ["fh2l", "fw1ll"],
        ["fh3l", "fw1ll"],
        ["fh4l", "fw1ll"],
        {"breakGroup":""},
        {"optional":false},

        //upper arm
        {"beamSpring":16001000, "beamDamp":1000},
        {"beamDeform":85000,"beamStrength":535000},
        ["fh2r", "fx3r", {"beamPrecompression":"$camber_F", "beamPrecompressionTime":0.5, "dampCutoffHz":500}],
        ["fh2r", "fx4r", {"beamPrecompression":"$camber_F", "beamPrecompressionTime":0.5, "dampCutoffHz":500}],
        ["fh2l", "fx3l", {"beamPrecompression":"$camber_F", "beamPrecompressionTime":0.5, "dampCutoffHz":500}],
        ["fh2l", "fx4l", {"beamPrecompression":"$camber_F", "beamPrecompressionTime":0.5, "dampCutoffHz":500}],

        //lower arm
        {"beamSpring":18001000, "beamDamp":1000},
        ["fx2r","fh1r", {"beamPrecompression":"$caster_F","beamPrecompressionTime":0.5,"dampCutoffHz":500}],
        ["fx2l","fh1l", {"beamPrecompression":"$caster_F","beamPrecompressionTime":0.5,"dampCutoffHz":500}],
        ["fx1r","fh1r", {"beamPrecompression":"$=2-$caster_F","beamPrecompressionTime":0.5,"dampCutoffHz":500}],
        ["fx1l","fh1l", {"beamPrecompression":"$=2-$caster_F","beamPrecompressionTime":0.5,"dampCutoffHz":500}],

        //shock mount attach
        {"beamSpring":2501000,"beamDamp":150}
        {"beamDeform":45000,"beamStrength":395000},
        ["fx2r", "fs2r"],
        ["fx1r", "fs2r"],
        ["fx2l", "fs2l"],
        ["fx1l", "fs2l"],
        ["fh1l", "fs2l"],
        ["fh1r", "fs2r"],

        //sway bar mount attach
        {"beamSpring":1501000, "beamDamp":100},
        ["fx2r", "arf1r"],
        ["fx1r", "arf1r"],
        ["fx2l", "arf1l"],
        ["fx1l", "arf1l"],
        ["fh1l", "arf1l"],
        ["fh1r", "arf1r"],

        //front limiters
        {"deformLimitExpansion":""},
        //steering anti-invert
        {"beamPrecompression":1.0, "beamType":"|SUPPORT", "beamLongBound":3},
        {"beamSpring":2001000,"beamDamp":250,"beamDeform":500100,"beamStrength":"FLT_MAX"},
        {"beamPrecompression":0.75},
        ["fh3r","fx1r"],
        ["fh3l","fx1l"],
        ["fh3r","fx3r"],
        ["fh3l","fx3l"],
        {"beamPrecompression":0.55},
        ["fh4r","fx2r"],
        ["fh4l","fx2l"],
        ["fh4r","fx4r"],
        ["fh4l","fx4l"],
        {"beamPrecompression":1.0},

        //wishbone anti-invert
        {"beamPrecompression":1.0, "beamType":"|BOUNDED", "beamLongBound":0.05, "beamShortBound":0.05},
        {"beamSpring":0,"beamDamp":0},
        {"beamDeform":500,"beamStrength":500000},
        {"beamLimitSpring":1001000,"beamLimitDamp":250},
        //upper
        ["fh2r","fx4l",{"boundZone":0.1}],
        ["fh2r","fx3l",{"boundZone":0.1}],
        ["fh2l","fx4r",{"boundZone":0.1}],
        ["fh2l","fx3r",{"boundZone":0.1}],

        //lower
        ["fh1r","fx1l",{"boundZone":0.1}],
        ["fh1r","fx2l",{"boundZone":0.1}],
        ["fh1l","fx1r",{"boundZone":0.1}],
        ["fh1l","fx2r",{"boundZone":0.1}],

        //front end collide
        {"beamPrecompression":1.0, "beamType":"|SUPPORT", "beamLongBound":3},
        {"beamSpring":1001000,"beamDamp":150},
        {"beamDeform":35000,"beamStrength":8500000},

        //firewall to suspension
        {"beamPrecompression":0.4},
        ["fh1r", "f1rr"],
        ["fh1r", "f5rr"],
        ["fh2r", "f5rr"],
        ["fh2r", "f1rr"],

        ["fh1l", "f1ll"],
        ["fh1l", "f5ll"],
        ["fh2l", "f5ll"],
        ["fh2l", "f1ll"],

        //firewall to wheel
        {"beamPrecompression":0.8},
        {"optional":true},
        ["fw1r", "f5rr"],
        ["fw1r", "f1rr"],
        ["fw1r", "fx2r"],
        ["fw1r", "fx4r"],
        ["fw1rr", "f6rrr"],
        ["fw1rr", "f5rr", {"beamPrecompression":0.7}],
        ["fw1rr", "f1rr", {"beamPrecompression":0.7}],
        ["fw1rr", "fx2r"],
        ["fw1rr", "fx4r"],
        ["fw1rr", "f6rrr"],
        ["fw1r", "f13rr"],
        ["fw1rr", "f13rr", {"beamPrecompression":0.7}],
        ["fw1r", "f6rr"],
        ["fw1rr", "f6rr"],
        ["fw1r", "f6r"],
        ["fw1rr", "f6r"],

        ["fw1l", "f5ll"],
        ["fw1l", "f1ll"],
        ["fw1l", "fx2l"],
        ["fw1l", "fx4l"],
        ["fw1ll", "f6lll"],
        ["fw1ll", "f5ll", {"beamPrecompression":0.7}],
        ["fw1ll", "f1ll", {"beamPrecompression":0.7}],
        ["fw1ll", "fx2l"],
        ["fw1ll", "fx4l"],
        ["fw1ll", "f6lll"],
        ["fw1l", "f13ll"],
        ["fw1ll", "f13ll", {"beamPrecompression":0.7}],
        ["fw1l", "f6ll"],
        ["fw1ll", "f6ll"],
        ["fw1l", "f6l"],
        ["fw1ll", "f6l"],

        //extra
        {"beamDeform":120000,"beamStrength":8500000},
        ["fw1r", "f2rr"],
        ["fw1r", "f7rr"],
        ["fw1rr", "f2rr"],
        ["fw1rr", "f7rr"],
        ["fw1l", "f2ll"],
        ["fw1l", "f7ll"],
        ["fw1ll", "f2ll"],
        ["fw1ll", "f7ll"],

        //suspension axis to wheel
        {"beamDeform":80000,"beamStrength":8500000},
        {"beamPrecompression":0.6},
        ["fw1r", "fx1r"],
        ["fw1r", "fx2r"],
        ["fw1r", "fx3r"],
        ["fw1r", "fx4r"],
        ["fw1rr", "fx1r"],
        ["fw1rr", "fx2r"],
        ["fw1rr", "fx3r"],
        ["fw1rr", "fx4r"],

        ["fw1l", "fx1l"],
        ["fw1l", "fx2l"],
        ["fw1l", "fx3l"],
        ["fw1l", "fx4l"],
        ["fw1ll", "fx1l"],
        ["fw1ll", "fx2l"],
        ["fw1ll", "fx3l"],
        ["fw1ll", "fx4l"],

        //front bumper support to wheel
        {"beamSpring":401000,"beamDamp":30},
        {"beamDeform":30000,"beamStrength":8500000},
        ["fw1r", "fbs2rrr"],
        ["fw1r", "fbs4rrr"],
        ["fw1r", "fbs2rr"],
        ["fw1rr", "fbs2rrr"],
        ["fw1rr", "fbs4rrr"],
        ["fw1rr", "fbs2rr"],

        ["fw1l", "fbs2lll"],
        ["fw1l", "fbs4lll"],
        ["fw1l", "fbs2ll"],
        ["fw1ll", "fbs2lll"],
        ["fw1ll", "fbs4lll"],
        ["fw1ll", "fbs2ll"],

        {"beamSpring":101000,"beamDamp":5},
        ["fw1l", "fb3lll"],
        ["fw1l", "fb1lll"],
        ["fw1l", "fb3ll"],
        ["fw1l", "fb1ll"],
        ["fw1ll", "fb3lll"],
        ["fw1ll", "fb1lll"],
        ["fw1ll", "fb3ll"],
        ["fw1ll", "fb1ll"],

        ["fw1r", "fb3rrr"],
        ["fw1r", "fb1rrr"],
        ["fw1r", "fb3rr"],
        ["fw1r", "fb1rr"],
        ["fw1rr", "fb3rrr"],
        ["fw1rr", "fb1rrr"],
        ["fw1rr", "fb3rr"],
        ["fw1rr", "fb1rr"],

        //front bumper support to suspension
        {"beamPrecompression":0.4},
        {"beamSpring":401000,"beamDamp":30},
        ["fbs2rrr", "fh1r"],
        ["fbs4rrr", "fh2r"],
        ["fh2r", "fbs2rrr"],
        ["fbs4rrr", "fs2r"],
        ["fbs2rr", "fh1r"],
        ["fbs2rr", "fh2r"],

        ["fbs2lll", "fh1l"],
        ["fbs4lll", "fh2l"],
        ["fh2l", "fbs2lll"],
        ["fbs4lll", "fs2l"],
        ["fbs2ll", "fh1l"],
        ["fbs2ll", "fh2l"],

        {"beamSpring":101000,"beamDamp":5},
        ["fh1l", "fb3lll"],
        ["fh1l", "fb1lll"],
        ["fh1l", "fb3ll"],
        ["fh1l", "fb1ll"],
        ["fh2l", "fb3lll"],
        ["fh2l", "fb1lll"],
        ["fh2l", "fb3ll"],
        ["fh2l", "fb1ll"],

        ["fh1r", "fb3rrr"],
        ["fh1r", "fb1rrr"],
        ["fh1r", "fb3rr"],
        ["fh1r", "fb1rr"],
        ["fh2r", "fb3rrr"],
        ["fh2r", "fb1rrr"],
        ["fh2r", "fb3rr"],
        ["fh2r", "fb1rr"],

        //door to suspension
        {"beamSpring":401000,"beamDamp":30},
        {"beamPrecompression":0.9},
        ["fh1r", "d4r"],
        ["fh2r", "d4r"],
        ["fh2r", "d1r"],
        ["fh1r", "d1r"],

        ["fh1l", "d4l"],
        ["fh2l", "d4l"],
        ["fh2l", "d1l"],
        ["fh1l", "d1l"],

        //door to wheel
        {"beamDeform":120000,"beamStrength":500000},
        {"beamPrecompression":0.7},
        ["fw1r", "d1r"],
        ["fw1r", "d4r"],
        ["fw1rr", "d1r"],
        ["fw1rr", "d4r"],
        ["fw1l", "d1l"],
        ["fw1l", "d4l"],
        ["fw1ll", "d1l"],
        ["fw1ll", "d4l"],

        //fender and inner fender to wheel
        {"beamDeform":40000,"beamStrength":500000},
        {"beamPrecompression":0.7}
        ["fw1r", "fif1r"],
        ["fw1r", "fif1rr"],
        ["fw1r", "fif2rr"],
        ["fw1r", "fif2r"],
        ["fw1r", "fif3r"],
        ["fw1r", "fe3rrr"],
        ["fw1r", "fif4r"],
        ["fw1r", "fe5rrr"],
        ["fw1r", "fe4rrr"],
        ["fw1rr", "fif1r"],
        ["fw1rr", "fif1rr"],
        ["fw1rr", "fif2rr"],
        ["fw1rr", "fif2r"],
        ["fw1rr", "fif3r"],
        ["fw1rr", "fe3rrr"],
        ["fw1rr", "fif4r"],
        ["fw1rr", "fe5rrr"],
        ["fw1rr", "fe4rrr"],

        ["fw1l", "fif1l"],
        ["fw1l", "fif1ll"],
        ["fw1l", "fif2ll"],
        ["fw1l", "fif2l"],
        ["fw1l", "fif3l"],
        ["fw1l", "fe3lll"],
        ["fw1l", "fif4l"],
        ["fw1l", "fe5lll"],
        ["fw1l", "fe4lll"],
        ["fw1ll", "fif1l"],
        ["fw1ll", "fif1ll"],
        ["fw1ll", "fif2ll"],
        ["fw1ll", "fif2l"],
        ["fw1ll", "fif3l"],
        ["fw1ll", "fe3lll"],
        ["fw1ll", "fif4l"],
        ["fw1ll", "fe5lll"],
        ["fw1ll", "fe4lll"],
        {"optional":false},

        //suspension travel hard limit
        {"beamPrecompression":1, "beamType":"|BOUNDED", "beamLongBound":1, "beamShortBound":1},
        {"beamSpring":0,"beamDamp":100,"beamDeform":15000,"beamStrength":150000},
        {"beamLimitSpring":1001000,"beamLimitDamp":500},
        ["fh1r","fx4r", {"longBoundRange":0.08,"shortBoundRange":0.05,"boundZone":0.01,"beamLimitDampRebound":0,"dampCutoffHz":500}],
        ["fh1r","fx4r", {"longBoundRange":0.08,"shortBoundRange":0.05,"boundZone":0.01,"beamLimitDampRebound":0,"dampCutoffHz":500}],
        ["fh1l","fx3l", {"longBoundRange":0.08,"shortBoundRange":0.05,"boundZone":0.01,"beamLimitDampRebound":0,"dampCutoffHz":500}],
        ["fh1l","fx3l", {"longBoundRange":0.08,"shortBoundRange":0.05,"boundZone":0.01,"beamLimitDampRebound":0,"dampCutoffHz":500}],
        {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
        {"deformLimitExpansion":1.2},
    ],
    "triangles": [
            ["id1:", "id2:", "id3:"],
            //suspension shape
            {"triangleType":"NONCOLLIDABLE"},
            {"dragCoef":0},
            ["fx1r", "fh1r", "fs2r"],
            ["fx2r", "fs2r", "fh1r"],
            ["fx1r", "fs2r", "fx2r"],
            ["fh2r", "fx3r", "fx4r"],
            ["fh3r", "fh2r", "fh1r"],
            ["fh4r", "fh1r", "fh2r"],

            ["fh1l", "fx1l", "fs2l"],
            ["fs2l", "fx2l", "fh1l"],
            ["fs2l", "fx1l", "fx2l"],
            ["fx3l", "fh2l", "fx4l"],
            ["fh2l", "fh3l", "fh1l"],
            ["fh1l", "fh4l", "fh2l"],
            {"triangleType":"NORMALTYPE"},
    ],
    "pressureWheels": [
            ["name", "hubGroup", "group", "node1:", "node2:", "nodeS", "nodeArm:", "wheelDir"],
            //cancel out brake properties
            {"brakeTorque":0},
            {"parkingTorque":0},
            {"enableBrakeThermals":false},
            {"brakeDiameter":false},
            {"brakeMass":false},
            {"brakeType":false},
            {"rotorMaterial":false},
            {"brakeVentingCoef":false},
    ],
},
"survolt_wheeldata_F": {
    "information":{
        "authors":"BeamNG",
        "name":"Front Spindles",
        "value":0,
    },
    "slotType" : "survolt_wheeldata_F",
    "pressureWheels": [
        ["name","hubGroup","group","node1:","node2:","nodeS","nodeArm:","wheelDir"],
        //front
        {"selfCollision":false},
        {"collision":true},
        {"hubcapBreakGroup":"hubcap_FR"},
        {"hubcapGroup":"hubcap_FR"},
        {"axleBeams":["axle_FR"]},
        ["FR", "wheel_FR", "tire_FR", "fw1rr", "fw1r", 9999, "fh4r", 1,{"torqueCoupling:":"fh1r", "torqueArm:":"fh2r", "torqueArm2:":"fw1rr", "steerAxisUp:":"fh2r","steerAxisDown:":"fh1r"}],
        {"hubcapBreakGroup":"hubcap_FL"},
        {"hubcapGroup":"hubcap_FL"},
        {"axleBeams":["axle_FL"]},
        ["FL", "wheel_FL", "tire_FL", "fw1ll", "fw1l", 9999, "fh4l", -1,{"torqueCoupling:":"fh1l", "torqueArm:":"fh2l", "torqueArm2:":"fw1ll", "steerAxisUp:":"fh2l","steerAxisDown:":"fh1l"}],
        {"selfCollision":true},
        {"axleBeams":[]},{"disableMeshBreaking":false,"disableTriangleBreaking":false},
        {"hubcapBreakGroup":""},
        {"hubcapGroup":""},
        {"enableHubcaps":false},
        {"enableTireLbeams":false},
        {"enableTreadReinfBeams":false},
        {"enableTireReinfBeams":false},
        {"enableTreadReinfBeams":false},
        {"enableTirePeripheryReinfBeams":false},
        {"loadSensitivitySlope":""},
        {"noLoadCoef":""},
        {"fullLoadCoef":""},
        {"frictionCoef":""},
        {"slidingFrictionCoef":""},
        {"softnessCoef":0.5},
        {"treadCoef":1.0},
    ],
    "powertrain" : [
        ["type", "name", "inputName", "inputIndex"],
        ["shaft", "spindleFL", "wheelaxleFL", 1, {"connectedWheel":"FL", "breakTriggerBeam":"axle_FL", "uiName":"Front Left Axle", "friction":1.05, "dynamicFriction":0.00328}],
        ["shaft", "spindleFR", "wheelaxleFR", 1, {"connectedWheel":"FR", "breakTriggerBeam":"axle_FR", "uiName":"Front Right Axle", "friction":1.05, "dynamicFriction":0.00328}],
    ],
},
"survolt_coilover_F": {
    "information":{
        "authors":"BeamNG",
        "name":"Front Coilovers",
        "value":2200,
    },
    "slotType" : "survolt_coilover_F",
    "flexbodies": [
        ["mesh", "[group]:", "nonFlexMaterials"],
        ["survolt_coilover_F", ["survolt_shock_F"]],
    ],
    "variables": [
        ["name", "type", "unit", "category", "default", "min", "max", "title", "description"],
        ["$springheight_F_race", "range", "+m", "Suspension", 0, -0.06, 0.04, "Spring Height", "Raise or lower the suspension height", {"stepDis":0.005, "subCategory":"Front"}],
        ["$spring_F_race", "range", "N/m", "Suspension", 185000, 125000, 200000, "Spring Rate", "Spring stiffness", {"stepDis":500, "subCategory":"Front"}]
        ["$damp_bump_F_race", "range", "N/m/s", "Suspension", 5800, 2500, 12500, "Bump Damping", "Damper rate in compression", {"stepDis":100, "subCategory":"Front"}]
        ["$damp_rebound_F_race", "range", "N/m/s", "Suspension", 10500, 5000, 25000, "Rebound Damping", "Damper rate in extension", {"stepDis":100, "subCategory":"Front"}]
    ],
    "beams": [
        ["id1:", "id2:"],
        //front springs
        {"beamType":"|NORMAL"},
        {"beamDeform":150000,"beamStrength":150000},
        {"beamSpring":"$spring_F_race","beamDamp":0},
        //MR 0.6
        ["fs1r","fs2r",
            {
            "name":"spring_FR",
            "precompressionRange":"$=($springheight_F_race + 0.052) * 0.6",
            "soundFile":"event:>Vehicle>Suspension>car_sports_01>spring_compress_01",
            "colorFactor":0.4,
            "attackFactor":20,
            "volumeFactor":8,
            "decayFactor":75,
            "pitchFactor":1.6,
            "noiseFactor":0.01,
            "maxStress":3600,
            },
        ],
        ["fs1l","fs2l",
            {
            "name":"spring_FL",
            "precompressionRange":"$=($springheight_F_race + 0.052) * 0.6",
            "soundFile":"event:>Vehicle>Suspension>car_sports_01>spring_compress_01",
            "colorFactor":0.4,
            "attackFactor":10,
            "volumeFactor":2.4,
            "decayFactor":10,
            "pitchFactor":1.6,
            "noiseFactor":0.01,
            "maxStress":3600,
            },
        ],
        //front dampers
        //MR 0.81
        {"beamPrecompression":1, "beamType":"|BOUNDED", "beamLongBound":1, "beamShortBound":1},
        {"beamLimitSpring":0,"beamLimitDamp":0},
        {"beamSpring":0},
        ["fh1r","fs1r",
            {
            "name":"damper_FR",
            "beamDamp":"$damp_bump_F_race",
            "beamDampRebound":"$damp_rebound_F_race",
            "beamDampVelocitySplit":0.04,
            "beamDampVelocitySplitRebound":0.08,
            "beamDampFast":"$=$damp_bump_F_race * 0.5",
            "beamDampReboundFast":"$=$damp_rebound_F_race * 0.5",
            "dampCutoffHz":400,
            },
        ],
        ["fh1l","fs1l"
            {
            "name":"damper_FL",
            "beamDamp":"$damp_bump_F_race",
            "beamDampRebound":"$damp_rebound_F_race",
            "beamDampVelocitySplit":0.04,
            "beamDampVelocitySplitRebound":0.08,
            "beamDampFast":"$=$damp_bump_F_race * 0.5",
            "beamDampReboundFast":"$=$damp_rebound_F_race * 0.5",
            "dampCutoffHz":400,
            },
        ],
        //bump stop
        {"beamSpring":0,"beamDamp":0},
        {"beamLimitSpring":141000,"beamLimitDamp":12000},
        ["fh1r","fs1r", {"longBoundRange":0.02,"shortBoundRange":0.05,"boundZone":0.02,"beamLimitDampRebound":0,"dampCutoffHz":500}],
        ["fh1l","fs1l", {"longBoundRange":0.02,"shortBoundRange":0.05,"boundZone":0.02,"beamLimitDampRebound":0,"dampCutoffHz":500}],
        {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
    ],
},
"survolt_swaybar_F": {
    "information":{
        "authors":"BeamNG",
        "name":"Front Sway Bar",
        "value":250,
    },
    "slotType" : "survolt_swaybar_F",
    "flexbodies": [
        ["mesh", "[group]:", "nonFlexMaterials"],
        ["survolt_swaybar_F", ["survolt_swaybar_F"]],
        ["survolt_swaybar_mount_F", ["survolt_swaybar_mount_F", "survolt_chassis"]],
        ["survolt_swaybar_link_F", ["survolt_swaybar_F", "survolt_swaybar_link_F"]],
    ],
    "nodes": [
        ["id", "posX", "posY", "posZ"],
        {"nodeMaterial":"|NM_METAL"},
        {"frictionCoef":0.5},
        {"selfCollision":false},
        {"collision":true},

        //swaybar
        {"nodeWeight":2.0},
        {"group":"survolt_swaybar_F"},
        ["arf2r", -0.58000, -0.93143, 0.26300],
        ["arf2l", 0.58000, -0.93143, 0.26300],
        {"group":""},
    ],
    "variables": [
        ["name", "type", "unit", "category", "default", "min", "max", "title", "description"],
        ["$arb_spring_F", "range", "N/m", "Suspension", 80000, 25000, 150000, "Anti-Roll Spring Rate", "Stiffness of the anti-roll bar, defined at the wheel", {"stepDis":10000,"subCategory":"Front"}]
    ],
    "torsionbars": [
        ["id1:", "id2:", "id3:", "id4:"],
        {"spring":"$=$arb_spring_F*0.16*0.16/0.36/0.36", "damp":1, "deform":12000, "strength":19000},
        ["arf2r", "arf3r", "arf3l", "arf2l"],
        //mount rigidity
        {"spring":1000000, "damp":1, "deform":10000, "strength":20000},
        ["arf3r", "fx2r", "fx2l", "fx1r"],
        ["arf3l", "fx2l", "fx2r", "fx1l"],
    ],
    "beams": [
        ["id1:", "id2:"],
        {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
        {"deformLimitExpansion":""},
        //end links
        {"beamSpring":3001000, "beamDamp":100},
        {"beamDeform":15000,"beamStrength":45000},
        ["arf1l", "arf2l"],
        ["arf1r", "arf2r"],

        //rigids
        {"beamSpring":2501000, "beamDamp":100},
        {"beamDeform":20000,"beamStrength":"FLT_MAX"},
        ["arf2r", "arf3r"],
        ["arf3r", "arf3l"],
        ["arf3l", "arf2l"],
        ["arf2l", "arf3r"],
        ["arf2r", "arf3l"],

        //end stop
        {"beamPrecompression":1.0, "beamType":"|BOUNDED", "beamLongBound":0.2, "beamShortBound":0.2},
        {"beamLimitSpring":2501000,"beamLimitDamp":50},
        {"beamSpring":0, "beamDamp":0},
        {"beamDeform":20000,"beamStrength":"FLT_MAX"},
        ["arf2r", "fs1r"],
        ["arf2l", "fs1l"],
        {"beamPrecompression":1.0, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
        {"deformLimitExpansion":1.2},
    ],
    "triangles": [
        ["id1:", "id2:", "id3:"],
        //suspension shape
        {"triangleType":"NONCOLLIDABLE"},
        {"dragCoef":0},
        ["arf2r", "arf3r", "arf3l"],
        ["arf3l", "arf2l", "arf2r"],
        ["arf2r", "arf1r", "arf3r"],
        ["arf3l", "arf1l", "arf2l"],
        {"triangleType":"NORMALTYPE"},
    ],
},
"survolt_steering": {
    "information":{
        "authors":"BeamNG",
        "name":"Steering",
        "value":110,
    },
    "slotType" : "survolt_steering",
    "slots": [
        ["type", "default", "description"],
        ["survolt_power_steering","", "Power Steering"],
    ],
    "flexbodies": [
        ["mesh", "[group]:", "nonFlexMaterials"],
        ["survolt_tierod_F", ["survolt_tierod_F", "survolt_flexbody_anchor_F"]],
        ["survolt_steeringrack_boot", ["survolt_steeringrack_boot_F", "survolt_flexbody_anchor_F"]],
        ["survolt_steeringrack", ["survolt_chassis", "survolt_steeringrack_F"]],
    ],
    "rails": {
        "steeringrack":{"links:":["st2r", "st2l"], "broken:":[], "looped":false, "capped":true},
    },
    "slidenodes": [
        ["id:", "railName", "attached", "fixToRail", "tolerance", "spring", "strength", "capStrength"],
        ["st1r", "steeringrack", true, true, 0.0, 15001000, "FLT_MAX", "FLT_MAX"],
        ["st1l", "steeringrack", true, true, 0.0, 15001000, "FLT_MAX", "FLT_MAX"],
        ["st3r", "steeringrack", true, true, 0.0, 501000, "FLT_MAX", "FLT_MAX"],
        ["st3l", "steeringrack", true, true, 0.0, 501000, "FLT_MAX", "FLT_MAX"],
    ],
    "variables": [
        ["name", "type", "unit", "category", "default", "min", "max", "title", "description"],
        ["$toe_F", "range", "", "Wheel Alignment", 0.9812, 1.03, 0.97, "Toe Adjust", "Adjusts the wheel toe-in angle", {"subCategory":"Front"}],
        ["$steer_center_F", "range", "", "Wheel Alignment", 0, -0.002, 0.002, "Toe Left/Right Trim", "Fine tunes the centerpoint of the steering", {"subCategory":"Front"}]
    ],
    "nodes": [
        ["id", "posX", "posY", "posZ"],
        //steering rack
        {"selfCollision":false},
        {"collision":true},
        {"nodeMaterial":"|NM_METAL"},
        {"frictionCoef":0.5},

        //tie rod
        {"nodeWeight":6.0},
        {"group":["survolt_tierod_F", "survolt_steeringrack_boot_F"]},
        ["st2r", -0.45000, -1.26553, 0.36000],
        ["st2l", 0.45000, -1.26553, 0.36000],

        //steering rack
        {"nodeWeight":8.0},
        {"group":"survolt_steeringrack_F"},
        ["st1r", -0.38000, -1.26553, 0.36000],
        ["st1l", 0.38000, -1.26553, 0.36000],

        //tierod boot flexbody
        {"nodeWeight":0.5},
        {"selfCollision":false},
        {"collision":false},
        {"group":"survolt_steeringrack_boot_F"},
        ["st3r", -0.21700, -1.26553, 0.36000],
        ["st3l", 0.21700, -1.26553, 0.36000],
        {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          {"beamPrecompression":1.0, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
          {"deformLimitExpansion":""},
          //steering rack
          {"beamDeform":39500, "beamStrength":"FLT_MAX"},
          {"beamSpring":4501000, "beamDamp":100},
          ["st1l", "st1r"],
          ["fx1l", "st1l"],
          ["fx2l", "st1l"],
          ["fx1r", "st1r"],
          ["fx2r", "st1r"],
          ["st1l", "fx2r"],
          ["st1r", "fx2l"],
          ["fx1l", "st1r"],
          ["fx1r", "st1l"],
          ["fx4l", "st1l"],
          ["fx4r", "st1r"],
          ["fx4r", "st1l"],
          ["fx4l", "st1r"],
          ["st1l", "fx3l"],
          ["st1r", "fx3r"],
          ["st1r", "fx3l"],
          ["st1l", "fx3r"],
          {"beamSpring":501000, "beamDamp":150},
          ["st1r", "st3l"],
          ["st1l", "st3r"],

          {"beamSpring":0, "beamDamp":50},
          ["fx3r", "st3r"],
          ["fx4r", "st3r"],
          ["fx3l", "st3l"],
          ["fx4l", "st3l"],

          {"beamSpring":0, "beamDamp":100},
          ["fx3r", "st2r"],
          ["fx4r", "st2r"],
          ["fx3l", "st2l"],
          ["fx4l", "st2l"],

          ["fx1r", "st2r"],
          ["fx2r", "st2r"],
          ["fx1l", "st2l"],
          ["fx2l", "st2l"],

          //center link
          {"beamSpring":2501000,"beamDamp":500,"beamDeform":85000,"beamStrength":"FLT_MAX"},
          ["st2r", "st2l", {"beamPrecompressionTime":0.5, "dampCutoffHz":500}],

          //tie rods
          {"beamSpring":9001000,"beamDamp":500, ,"beamDeform":85000,"beamStrength":275000},
          ["fh3r", "st2r", {"beamPrecompression": "$=$toe_F-$steer_center_F", "beamPrecompressionTime":0.5, "dampCutoffHz":500}],
          ["fh3l", "st2l", {"beamPrecompression": "$=$toe_F+$steer_center_F", "beamPrecompressionTime":0.5, "dampCutoffHz":500}],
          {"beamPrecompression":1.0, "beamType":"|BOUNDED", "beamLongBound":1.0, "beamShortBound":1.0},

          //steering damper
          {"beamPrecompression":1.0, "beamType":"|BOUNDED", "beamLongBound":1.0, "beamShortBound":1.0},
          {"beamLimitSpring":0,"beamLimitDamp":0},
          {"beamSpring":0, "beamDamp":25},
          ["fh3r", "fx2l", {"beamDampVelocitySplit":0.2,"beamDampFast":500,"dampCutoffHz":500}],
          ["fh3l", "fx2r", {"beamDampVelocitySplit":0.2,"beamDampFast":500,"dampCutoffHz":500}],
          ["fh3r", "fx4l", {"beamDampVelocitySplit":0.2,"beamDampFast":500,"dampCutoffHz":500}],
          ["fh3l", "fx4r", {"beamDampVelocitySplit":0.2,"beamDampFast":500,"dampCutoffHz":500}],

          ["fh4r", "fx1l", {"beamDampVelocitySplit":0.2,"beamDampFast":500,"dampCutoffHz":500}],
          ["fh4l", "fx1r", {"beamDampVelocitySplit":0.2,"beamDampFast":500,"dampCutoffHz":500}],
          ["fh4r", "fx3l", {"beamDampVelocitySplit":0.2,"beamDampFast":500,"dampCutoffHz":500}],
          ["fh4l", "fx3r", {"beamDampVelocitySplit":0.2,"beamDampFast":500,"dampCutoffHz":500}],
          {"beamPrecompression":1.0, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
          {"deformLimitExpansion":1.2},
    ],
    "triangles": [
        ["id1:", "id2:", "id3:"],
        //suspension shape
        {"triangleType":"NONCOLLIDABLE"},
        {"dragCoef":0},
        ["st2r", "st1r", "fx4r"],
        ["st1l", "st2l", "fx4l"],
        {"triangleType":"NORMALTYPE"},
    ],
    "hydros": [
        ["id1:", "id2:"],
        {"beamPrecompression":1.0, "beamType":"| BOUNDED", "beamLongBound":1, "beamShortBound":1},
        {"beamSpring":15001000,"beamDamp":25,"beamDeform":"FLT_MAX","beamStrength":275000},
        ["st2l", "st1r", {"factor":-0.087, "steeringWheelLock":414, "inRate":1.5, "outRate":1.5}],
        ["st2r", "st1l", {"factor": 0.087, "steeringWheelLock":414, "inRate":1.5, "outRate":1.5}],
        {"beamPrecompression":1.0, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
    ],
    "input": {
        "FFBcoef":"$=$ffbstrength*10.5",
    },
},
"survolt_power_steering": {
    "information":{
        "authors":"BeamNG",
        "name":"Power Steering",
        "value":250,
    },
    "slotType" : "survolt_power_steering",
    "controller": [
        ["fileName"],
        ["powerSteering", {"strengthFast":1, "strengthSlow": 0.10, "speedSlow": 2, "speedFast": 20, "constantOffset":-0.05}],
    ],
},
}