{
	"r6_rsuspension":{
		"information":{
			"name":"Swing Arm",
			"authors":"CRGZ"
			"value":1000,
		},
		"slotType":"r6_rsuspension",
		
		"slots": [
			["type", "default", "description"]
			["brake_R","brake_R_abs", "Rear Brake"],
			["rear_wheel","rear_wheel", "Rear Wheel"],
			["rear_spring","rear_spring", "Rear Spring"],
			["r6_rear_diff","", "Rear Motor"],
		//	["Reardamp","Reardamp", "Rear Damper"],
		],
		
		"flexbodies": [
			["mesh", "[group]:", "nonFlexMaterials"],
			["r6_rear_swingarm", ["swingarm_jbeam"]],
	
			
		],
		
		"nodes":[
			["id", "posX", "posY", "posZ"],
			{"selfCollision":false}
			{"collision":true}
			{"frictionCoef":0.7},
			{"nodeMaterial":"|NM_METAL"},
			{"nodeWeight":2.5},
			{"group":"swingarm_jbeam"},
			["sal0",0.145,1.303,0.462],
			["sar1",-0.145,1.303,0.462],
			["sal2",0.048,1.467,0.386{"group":["shock","swingarm_jbeam"]}],
			["sac3",0.0,1.467,0.386],
			["sar4",-0.048,1.467,0.386{"group":["shock","swingarm_jbeam"]}],
			["sal5",0.068,1.55,0.618406],
			["sac6",0.0,1.55,0.618406],
			["sar7",-0.068,1.55,0.618406],
			["sal8",0.131995,1.89496,0.325425{"couplerTag":"tow_hitch_L","couplerStrength":"700000","couplerRadius":1}],
			
			["sar9",-0.131995,1.89496,0.325425{"couplerTag":"tow_hitch_R","couplerStrength":"700000","couplerRadius":1}],
		],

		"beams":[
			["id1:", "id2:"],
			{"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
			{"beamSpring":1300000,"beamDamp":100},
			{"beamDeform":45000,"beamStrength":"FLT_MAX"},
			
			["sal0","sal8"],
			["sal8","sal5"],
			["sal0","sal5"],
			["sal5","sac6"],
			["sar1","sar9"],
			["sar9","sar7"],
			["sar1","sar7"],
			["sar7","sac6"],
			["sal8","sar9"],
			["sal8","sal2"],
			["sar9","sal2"],
			["sal0","sal2"],
			["sar1","sal2"],
			["sac6","sal2"],
			["sal8","sac6"],
			["sar9","sac6"],
			["sal8","sar1"],
			["sal0","sar9"],
			["sal5","sar9"],
			["sal8","sar7"],
			["sal0","sar1"],
			["sar7","sal2"],
			["sal5","sal2"],
			["sal2","sar4"],
			["sar1","sar4"],
			["sar7","sar4"],
			["sac6","sar4"],
			["sal5","sar4"],
			["sar9","sar4"],
			["sal8","sar4"],
			["sal0","sar4"],
			["sar4","sac3"],
			["sal2","sac3"],
			["sar1","sac3"],
			["sal0","sac3"],
			["sal8","sac3"],
			["sar9","sac3"],
			
			//wheel break off
			
			{"beamSpring":1300000,"beamDamp":100},
			{"beamDeform":15000,"beamStrength":32000},
			
			
			
			{"breakGroup":"wheelR"},
			{"disableMeshBreaking":true}
			{"breakGroup":""},
			
		//Swingarm to chassis
			
			{"beamSpring":4000000,"beamDamp":100},
			{"beamDeform":250000,"beamStrength":"FLT_MAX"},
			
			["sal0","fcl39"],
		//	["sal0","fcr41"],
			["sal0","tc7"],
			["sal0","fcr32"],
			["sal0","fcl31"],
			["sal0","tcr9"],
			["sal0","tcl8"],
			["sal0","fcl36"],
			["sal0","fcr38"],
			["sal0","fcc36"],
			
			["sar1","fcl39"],
		//	["sar1","fcr41"],
			["sar1","tc7"],
			["sar1","fcr32"],
			["sar1","fcl31"],
			["sar1","tcr9"],
			["sar1","tcl8"],
			["sar1","fcl36"],
			["sar1","fcr38"],
			["sar1","fcc36"],
			
			
			{"beamSpring":"$6rdamp","beamDamp":1000},
			{"beamDeform":1000000,"beamStrength":"FLT_MAX"},
			
		//	["sac6","fcl39"],
		//	["sac6","fcr41"],
			
			
			{"breakGroup":""},

		],
		
		"pressureWheels":[
			["name","hubGroup","group","node1:","node2:","nodeS","nodeArm:","wheelDir"],
			{"propulsed":1},
		],
		
		"triangles":[
			["id1:", "id2:", "id3:"],
			["sal0", "sal8", "sal5"],	
			["sar7", "sar9", "sar1"],
		],
	}
	
	"rear_wheel": {
		"information":{
			"authors":"CRGZ",
			"name":"Rear Wheel",
			"value":380,
		},
		"slotType" : "rear_wheel",
		
		"flexbodies": [
			["mesh", "[group]:", "nonFlexMaterials"],
			["r6_rear_tire", ["wheel_RR","tire_RR"], [], {"pos":{"x":0.0, "y":-0.00, "z":-0.0}, "rot":{"x":0, "y":0, "z":0}, "scale":{"x":1.0, "y":1.0, "z":1.0}}],
			
			
			//rear wheels
			
			["r6_rear_rim", ["wheel_RR","wheelhub_RR"], [], {"pos":{"x":0.0, "y":-0.00, "z":-0.0}, "rot":{"x":0, "y":0, "z":0}, "scale":{"x":1.0, "y":1.0, "z":1.0}}],
			["r6_rear_brake_rotor",  ["wheel_RR","wheelhub_RR"], [], {"pos":{"x":0.0, "y":-0.00, "z":-0.0}, "rot":{"x":0, "y":0, "z":0}, "scale":{"x":1.0, "y":1.0, "z":1.0}}],
		],
		
		"variables": [
			["name", "type", "unit", "category", "default", "min", "max", "title", "description"]
			["$tire_R", "range", "psi", "Tires", 35, 28, 40, "Rear Tire Pressure", "Rear tire pressure"]
			["$tire_RT", "range", "grip", "Tires", 2.5, 1.4, 4.0, "Rear Tire Compound", "Represents tire type, higher is softer/more grip"{"stepDis":0.1}]
		],
		
		"pressureWheels":[
			["name","hubGroup","group","node1:","node2:","nodeS","nodeArm:","wheelDir"],
			{"enableTireReinfBeams":true},{"disableMeshBreaking":false,"disableHubMeshBreaking":false},
            {"enableTireSideReinfBeams":true},
			
			//general settings
			{"hubRadius":0.225},
			{"wheelOffset":0},
			{"hubWidth":0.10},
			{"numRays":20},
			{"radius":0.305},
			{"tireWidth":0.10},

			{"hubTreadBeamSpring":751000, "hubTreadBeamDamp":4},
            {"hubPeripheryBeamSpring":751000, "hubPeripheryBeamDamp":4},
            {"hubSideBeamSpring":751000, "hubSideBeamDamp":4},
			{"hubBeamDeform":116000}
            {"hubNodeWeight":0.3},
            {"hubNodeMaterial":"|NM_METAL"},
            {"hubFrictionCoef":0.5},

            //tire options
            {"wheelSideBeamSpring":2300,"wheelSideBeamDamp":10},
            {"wheelSideBeamSpringExpansion":260000,"wheelSideBeamDampExpansion":20},
            {"wheelSideTransitionZone":0.1,"wheelSideBeamPrecompression":0.98},

            {"wheelReinfBeamSpring":27000,"wheelReinfBeamDamp":20},
            {"wheelReinfBeamSpringExpansion":27000,"wheelReinfBeamDampExpansion":20},
            {"wheelReinfTransitionZone":0.0,"wheelReinfBeamPrecompression":0.96},

            {"wheelTreadBeamSpring":201000,"wheelTreadBeamDamp":25},
            {"wheelTreadBeamPrecompression":0.97},

            {"wheelPeripheryBeamSpring":30100,"wheelPeripheryBeamDamp":15},
            {"wheelPeripheryBeamPrecompression":0.98},

            //general tire values
            {"nodeWeight":0.15},
            {"nodeMaterial":"|NM_RUBBER"},
            {"triangleCollision":true},
            {"pressurePSI":"$tire_R"},
            {"maxPressurePSI":4200},
            {"dragCoef":10},
			
			//groundmodel friction multipliers
			{"frictionCoef":"$tire_RT"},
			{"slidingFrictionCoef":1.4},
			{"treadCoef":0},

			//advanced friction values
			{"noLoadCoef":1.46},
			{"loadSensitivitySlope":0.00021}
			{"fullLoadCoef":0.6},
			{"softnessCoef":1},
			
            //deform values
            {"wheelSideBeamDeform":9600,"wheelSideBeamStrength":14000},
            {"wheelReinfBeamDeform":9600,"wheelReinfBeamStrength":14000},
            {"wheelTreadBeamDeform":9500,"wheelTreadBeamStrength":14000},
            {"wheelPeripheryBeamDeform":9500,"wheelPeripheryBeamStrength":14000},
            {"wheelSideReinfBeamDeform":9600,"wheelSideReinfBeamStrength":14000},
            {"hubBeamDeform":114040, "hubBeamStrength":288740},

			//front
			{"selfCollision":false},
			{"collision":true},
			{"hubcapBreakGroup":"hubcap_RR"},
			{"hubcapGroup":"hubcap_RR"},
			{"axleBeams":["wheelhub_RR"]},
			["RR", "wheel_RR", "tire_RR", "sar9", "sal8", 9999,  "sac3", 1,{"speedo":true, "nodeCoupling:":"brakecen"}],
			{"selfCollision":false},
			{"axleBeams":[]},{"disableMeshBreaking":false,"disableTriangleBreaking":false},
			{"hubcapBreakGroup":""},
			{"hubcapGroup":""},
			{"enableHubcaps":false},
			{"propulsed":1},
		],
	},
	"brake_R": {
		"information":{
			"authors":"BeamNG",
			"name":"Rear Brakes",
			"value":140,
		},
		"slotType" : "brake_R",
		
		"slots": [
			["type", "default", "description"]
			["brakepad_R","brakepad_R_race", "Rear Brake Pads"{"coreSlot":true}],
		],
		
		"flexbodies": [
			["mesh", "[group]:", "nonFlexMaterials"],
			["r6_rear_brake", ["swingarm_jbeam"]],
			
		],
		
		"variables": [
			["name", "type", "unit", "category", "default", "min", "max", "title", "description"]
			["$braketorque_R", "range", "Nm", "Brakes", 800, 0, 5000, "Rear Brake Torque", "Strength of the rear brakes"{"stepDis":100}]
		],
		
		"pressureWheels":[
			["name","hubGroup","group","node1:","node2:","nodeS","nodeArm:","wheelDir"],
			//brakes
			//{"ABSthreshold":0.8}
			{"brakeTorque":"$braketorque_R"},
			{"enableABS":false},
			{"brakeInputSplit":0.5},
			{"brakeSplitCoef":0.5},
			{"parkingTorque":1000},
			{"brakeSpring":30},
			
			//brake thermals
			{"enableBrakeThermals":true},
			{"brakeDiameter":0.225},
			{"brakeMass":6.5},
			{"brakeType":"vented-disc"},
			{"rotorMaterial":"steel"},
			{"brakeVentingCoef":0.9},
		],
	},
	"brake_R_abs": {
		"information":{
			"authors":"BeamNG",
			"name":"Rear Brakes (Standard ABS)",
			"value":140,
		},
		"slotType" : "brake_R",
		
		"slots": [
			["type", "default", "description"]
			["brakepad_R","brakepad_R_race", "Rear Brake Pads"{"coreSlot":true}],
		],
		
		"flexbodies": [
			["mesh", "[group]:", "nonFlexMaterials"],
			["r6_rear_brake", ["swingarm_jbeam"]],
			
		],
		
		"variables": [
			["name", "type", "unit", "category", "default", "min", "max", "title", "description"]
			["$braketorque_R", "range", "Nm", "Brakes", 800, 0, 5000, "Rear Brake Torque", "Strength of the rear brakes"{"stepDis":100}]
		],
		
		"pressureWheels":[
			["name","hubGroup","group","node1:","node2:","nodeS","nodeArm:","wheelDir"],
			//brakes
			//{"ABSthreshold":0.8}
			{"brakeTorque":"$braketorque_R"},
			{"enableABS":true},
			{"brakeInputSplit":0.5},
			{"brakeSplitCoef":0.5},
			{"parkingTorque":1000},
			{"brakeSpring":30},
			
			//brake thermals
			{"enableBrakeThermals":true},
			{"brakeDiameter":0.225},
			{"brakeMass":6.5},
			{"brakeType":"vented-disc"},
			{"rotorMaterial":"steel"},
			{"brakeVentingCoef":0.9},
		],
	},
	"brake_R_cornering_abs": {
		"information":{
			"authors":"BeamNG",
			"name":"Rear Brakes (Cornering ABS)",
			"value":140,
		},
		"slotType" : "brake_R",
		
		"slots": [
			["type", "default", "description"]
			["brakepad_R","brakepad_R_race", "Rear Brake Pads"{"coreSlot":true}],
		],
		
		"flexbodies": [
			["mesh", "[group]:", "nonFlexMaterials"],
			["r6_rear_brake", ["swingarm_jbeam"]],
			
		],
		
		"variables": [
			["name", "type", "unit", "category", "default", "min", "max", "title", "description"]
			["$braketorque_R", "range", "Nm", "Brakes", 800, 0, 5000, "Rear Brake Torque", "Strength of the rear brakes"{"stepDis":100}]
		],
		
		"pressureWheels":[
			["name","hubGroup","group","node1:","node2:","nodeS","nodeArm:","wheelDir"],
			//brakes
			{"ABSthreshold":0.65}
			{"brakeTorque":"$braketorque_R"},
			{"enableABS":true},
			{"brakeInputSplit":0.5},
			{"brakeSplitCoef":0.5},
			{"parkingTorque":1000},
			{"brakeSpring":30},
			
			//brake thermals
			{"enableBrakeThermals":true},
			{"brakeDiameter":0.225},
			{"brakeMass":6.5},
			{"brakeType":"vented-disc"},
			{"rotorMaterial":"steel"},
			{"brakeVentingCoef":0.9},
		],
	},
	"rear_spring":{
		"information":{
			"name":"Rear Spring",
			"authors":"CRGZ"
			"value":200,
		},
		"slotType":"rear_spring",
		
		"variables": [
			["name", "type", "unit", "category", "default", "min", "max", "title", "description"]
			["$damp_bump_R6", "range", "N/m/s", "Rear Suspension", 1600, 500, 10000, "Rear Bump Damping", "Damper rate in slow compression"{"stepDis":100}]
			["$damp_bump_R6_fast", "range", "N/m/s", "Rear Suspension", 2100, 500, 15000, "Rear Fast Bump Damping", "Damper rate in fast compression"{"stepDis":100}]
			["$damp_rebound_R6", "range", "N/m/s", "Rear Suspension", 2500, 500, 10000, "Rear Rebound Damping", "Damper rate in extension"{"stepDis":100}]
			["$6rdamp", "range", "N/m/s", "Rear Suspension", 113000, 5000, 940000, "Rear Spring Stiffness", "Spring Stiffness"{"stepDis":1000}]
		//	["$springheight_R", "range", "+m", "Rear Suspension", 0.09, -0.04, 0.14, "Spring Height", "Raise or lower the suspension height"{"stepDis":0.005}],
		],
		
		"flexbodies": [
			["mesh", "[group]:", "nonFlexMaterials"],
			["r6_rear_shock", ["shock"]],
	
		],
		
		"beams":[
			["id1:", "id2:"],
			{"breakGroupType":0},
			//{"optional":true},
			
			
			//springs
			{"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
			{"beamDeform":"FLT_MAX","beamStrength":"FLT_MAX"},
			{"beamSpring":"$6rdamp","beamDamp":"50"},
			{"beamPrecompression":"1.11"},
		
			["sal2","fcl39",{"beamDampRebound":"$damp_rebound_R6","beamDampFast":"$damp_bump_R6_fast","beamDampReboundFast":"$damp_rebound_R6","volumeFactor":0.4,"decayMode":0,"decayFactor":1.5,"pitchFactor":1,"maxStress":4000, }],
			["sar4","fcr41",{"beamDampRebound":"$damp_rebound_R6","beamDampFast":"$damp_bump_R6_fast","beamDampReboundFast":"$damp_rebound_R6","volumeFactor":0.6,"decayMode":0,"decayFactor":1.5,"pitchFactor":0.5,"maxStress":4000,}],
			["sac6","tc7",{"beamDampRebound":"$damp_rebound_R6","beamDampFast":"$damp_bump_R6_fast","beamDampReboundFast":"$damp_rebound_R6","volumeFactor":0.6,"decayMode":0,"decayFactor":1.5,"pitchFactor":0.5,"maxStress":4000,}],
			
			{"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
			{"deformGroup":""}
		],
		
	}
	
	"rear_goldspring":{
		"information":{
			"name":"Rear Spring(Gold)",
			"authors":"CRGZ"
			"value":200,
		},
		"slotType":"rear_spring",
		
		"variables": [
			["name", "type", "unit", "category", "default", "min", "max", "title", "description"]
			["$damp_bump_R6", "range", "N/m/s", "Rear Suspension", 1600, 500, 10000, "Rear Bump Damping", "Damper rate in slow compression"{"stepDis":100}]
			["$damp_bump_R6_fast", "range", "N/m/s", "Rear Suspension", 2100, 500, 15000, "Rear Fast Bump Damping", "Damper rate in fast compression"{"stepDis":100}]
			["$damp_rebound_R6", "range", "N/m/s", "Rear Suspension", 2500, 500, 10000, "Rear Rebound Damping", "Damper rate in extension"{"stepDis":100}]
			["$6rdamp", "range", "N/m/s", "Rear Suspension", 100000, 5000, 940000, "Rear Spring Stiffness", "Spring Stiffness"{"stepDis":1000}]
		//	["$springheight_R", "range", "+m", "Rear Suspension", 0.09, -0.04, 0.14, "Spring Height", "Raise or lower the suspension height"{"stepDis":0.005}],
		],
		
		"flexbodies": [
			["mesh", "[group]:", "nonFlexMaterials"],
			["r6_rear_shockgold", ["shock"]],
	
		],
		
		"beams":[
			["id1:", "id2:"],
			{"breakGroupType":0},
			//{"optional":true},
			
			
			//springs
			{"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
			{"beamDeform":"FLT_MAX","beamStrength":"FLT_MAX"},
			{"beamSpring":"$6rdamp","beamDamp":"50"},
			{"beamPrecompression":"1.11"},
		
			["sal2","fcl39",{"beamDampRebound":"$damp_rebound_R6","beamDampFast":"$damp_bump_R6_fast","beamDampReboundFast":"$damp_rebound_R6","volumeFactor":0.4,"decayMode":0,"decayFactor":1.5,"pitchFactor":1,"maxStress":4000, }],
			["sar4","fcr41",{"beamDampRebound":"$damp_rebound_R6","beamDampFast":"$damp_bump_R6_fast","beamDampReboundFast":"$damp_rebound_R6","volumeFactor":0.6,"decayMode":0,"decayFactor":1.5,"pitchFactor":0.5,"maxStress":4000,}],
			["sac6","tc7",{"beamDampRebound":"$damp_rebound_R6","beamDampFast":"$damp_bump_R6_fast","beamDampReboundFast":"$damp_rebound_R6","volumeFactor":0.6,"decayMode":0,"decayFactor":1.5,"pitchFactor":0.5,"maxStress":4000,}],
			
			{"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
			{"deformGroup":""}
		],
		
	}
	
}