{
"revuelto_brake_F": {
    "information":{
        "authors":"©yborella",
        "name":"Carbon-Ceramic Front Disc Brakes",
        "value":1250,
    },
    "slotType" : "revuelto_brake_F",
    "slots": [
        ["type", "default", "description"],
        ["brakepad_F_carbon","brakepad_F_carbon", "Front Brake Pads", {"coreSlot":true}],
        //["revuelto_calipers_F","revuelto_calipers_F_red", "Front Brake Calipers", {"coreSlot":true}],
    ],
    "flexbodies": [
        ["mesh", "[group]:", "nonFlexMaterials"],
        //brake discs
        ["revuelto_brakedisc_FR", ["wheel_FR","wheelhub_FR"]],
        ["innocent_mod_brakeglow_revuelto_FR", ["wheel_FR","wheelhub_FR"]],
        ["revuelto_brakedisc_FL", ["wheel_FL","wheelhub_FL"]],
        ["innocent_mod_brakeglow_revuelto_FL", ["wheel_FL","wheelhub_FL"]],
        ["revuelto_caliper_FR", ["revuelto_hub_F","wheelhub_FR"]],
        ["revuelto_caliper_FL", ["revuelto_hub_F","wheelhub_FL"]],

    ],
    "controller": [
        ["fileName"],
        ["brakeGlow_fr", {"materialName": "@innocent_brakeglow_mod_revuelto_fr", "textureWidth":512, "textureHeight":512, "htmlPath": "local://local/vehicles/revuelto/brakeGlow/brakeglow_revuelto_fr.html"}],
        ["brakeGlow_fl", {"materialName": "@innocent_brakeglow_mod_revuelto_fl", "textureWidth":512, "textureHeight":512, "htmlPath": "local://local/vehicles/revuelto/brakeGlow/brakeglow_revuelto_fl.html"}],
    ],
    "variables": [
        ["name", "type", "unit", "category", "default", "min", "max", "title", "description"],
        ["$brakebias", "range", "", "Brakes", 0.6, 0, 1, "Front/Rear Bias", "Percent of brake torque to the front wheels", {"minDis":0, "maxDis":100}],
    ],
    "pressureWheels": [
        ["name","hubGroup","group","node1:","node2:","nodeS","nodeArm:","wheelDir"],
		{"brakeTorque":"$=$brakestrength*6150*$brakebias"},
		{"parkingTorque":0},
		{"brakeSpring":60},
		{"enableBrakeThermals":true},
		{"brakeDiameter":0.410},
		{"brakeMass":1.9},
		{"brakeType":"carbon-ceramic-vented-disc"},
		{"rotorMaterial":"carbon-ceramic"},
		{"brakeVentingCoef":1.6},
		//{"padMaterial":"carbon-ceramic"},
		{"brakeInputSplit":1},
		{"brakeSplitCoef":1},

        //hub
        //general settings
        {"hubRadius":0.18},
        {"wheelOffset":0.0},
        {"hubWidth":0.05},
        {"numRays":5},

        //hub options
        {"hubTreadBeamSpring":1128940, "hubTreadBeamDamp":5.64},
        {"hubPeripheryBeamSpring":1128940, "hubPeripheryBeamDamp":5.64},
        {"hubSideBeamSpring":2256940, "hubSideBeamDamp":5.64},
        {"hubNodeWeight":0.6},
        {"hubNodeMaterial":"|NM_METAL"},
        {"hubFrictionCoef":0.2},
        {"hubBeamDeform":45500, "hubBeamStrength":87500},
    ],
	},
"revuelto_brake_R": {
    "information":{
        "authors":"©yborella",
        "name":"Carbon-Ceramic Rear Disc Brakes",
        "value":1100,
    },
    "slotType" : "revuelto_brake_R",
    "slots": [
        ["type", "default", "description"],
        ["brakepad_R_carbon","brakepad_R_carbon", "Rear Brake Pads", {"coreSlot":true}],
        //["revuelto_calipers_R","revuelto_calipers_R_red", "Rear Brake Calipers", {"coreSlot":true}],
    ],
    "controller": [
        ["fileName"],
        ["brakeGlow_rr", {"materialName": "@innocent_brakeglow_mod_revuelto_rr", "textureWidth":512, "textureHeight":512, "htmlPath": "local://local/vehicles/revuelto/brakeGlow/brakeglow_revuelto_rr.html"}],
        ["brakeGlow_rl", {"materialName": "@innocent_brakeglow_mod_revuelto_rl", "textureWidth":512, "textureHeight":512, "htmlPath": "local://local/vehicles/revuelto/brakeGlow/brakeglow_revuelto_rl.html"}],
    ],
    "flexbodies": [
        ["mesh", "[group]:", "nonFlexMaterials"],
        //brake discs
        ["revuelto_brakedisc_RR", ["wheel_RR","wheelhub_RR"]],
        ["innocent_mod_brakeglow_revuelto_RR", ["wheel_RR","wheelhub_RR"]],
        ["revuelto_brakedisc_RL", ["wheel_RL","wheelhub_RL"]],
        ["innocent_mod_brakeglow_revuelto_RL", ["wheel_RL","wheelhub_RL"]],
        ["revuelto_caliper_RR", ["revuelto_hub_R","wheelhub_RR"]],
        ["revuelto_caliper_RL", ["revuelto_hub_R","wheelhub_RL"]],
    ],
    "pressureWheels": [
        ["name","hubGroup","group","node1:","node2:","nodeS","nodeArm:","wheelDir"],
		{"brakeTorque":"$=$brakebias == nil and $brakestrength*5850 or $brakestrength*5850*(1-$brakebias)"},
		{"parkingTorque":5850},
		{"brakeSpring":60},
		{"enableBrakeThermals":true},
		{"brakeDiameter":0.390},
		{"brakeMass":1.9},
		{"brakeType":"carbon-ceramic-vented-disc"},
		{"rotorMaterial":"carbon-ceramic"},
		{"brakeVentingCoef":1.5},
		//{"padMaterial":"carbon-ceramic"},
		{"brakeInputSplit":1},
		{"brakeSplitCoef":1},
        //hub
        //general settings
        {"hubRadius":0.18},
        {"wheelOffset":0.0},
        {"hubWidth":0.05},
        {"numRays":5},

        //hub options
        {"hubTreadBeamSpring":1128940, "hubTreadBeamDamp":5.64},
        {"hubPeripheryBeamSpring":1128940, "hubPeripheryBeamDamp":5.64},
        {"hubSideBeamSpring":2256940, "hubSideBeamDamp":5.64},
        {"hubNodeWeight":0.6},
        {"hubNodeMaterial":"|NM_METAL"},
        {"hubFrictionCoef":0.2},
        {"hubBeamDeform":45500, "hubBeamStrength":87500},
    ],
	},
}