{
"fullsize_engine": {
	"information":{
		"authors":"gabester",
		"name":"Gavril Grand Marshal 4.5L V8 Engine",
	}
    "slotType" : "fullsize_engine",
	"scalenodeWeight":0.95,
	"scalebeamSpring":0.75,
	"scalebeamDamp":0.73,
	"scalebeamDeform":0.36,
	"scalebeamStrength":0.65,
	"slots": [
		["type", "default", "description"]
		["fullsize_exhaust","fullsize_exhaust", "Gavril Grand Marshal Exhaust"],
		["fullsize_transmission","fullsize_transmission_4A", "Gavril Grand Marshal Transmission"],
		["fullsize_enginetuning","", "Gavril Grand Marshal Engine Tuning"],
	],
	"flexbodies": [
		 ["mesh", "[group]:", "nonFlexMaterials"],
		 ["fullsize_engine", ["fullsize_engine"]],
	],
		"enginetorque":[
		["rpm", "torque"]
		[0, 0],
		[500, 760],
		[1000, 1080],
		[2000, 1600],
		[3000, 1840],
		[4000, 1720],
		[5000, 1480],
		[6000, 1040],
	],
	"engine":{
		"idleRPM":1000,
		"shiftDownRPM":2800,
		"shiftUpRPM":5000,
		"maxRPM":6000,
		"inertia":0.16,
		"friction":24,
		"brakingCoefRPS":0.15
		"burnEfficiency":0.45
		"throttleSensitivity":1.2
	},
	"nodes": [
		 ["id", "posX", "posY", "posZ"],
		 //4.5L V8 Engine
		 {"frictionCoef":0.7},
		 {"nodeMaterial":"|NM_METAL"},
		 {"selfCollision":false},
		 {"collision":true}
		 {"group":"fullsize_engine"},
		 {"nodeWeight":27},
		 ["e1r", -0.13, -1.15, 0.32],
		 ["e1l", 0.13, -1.15, 0.32],
		 ["e2r", -0.13, -1.69, 0.32],
		 ["e2l", 0.13, -1.69, 0.32],
		 {"engineGroup":"fullsize_engine_intake"}
		 ["e3r", -0.32, -1.15, 0.70],
		 ["e3l", 0.32, -1.15, 0.70],
		 ["e4r", -0.32, -1.69, 0.70],
		 ["e4l", 0.32, -1.69, 0.70],
		 {"engineGroup":""}
		 {"group":""},
	],
	
	"beams": [
		  ["id1:", "id2:"],
		  {"beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
		  {"beamSpring":14001000,"beamDamp":250},
		  {"beamDeform":2200000,"beamStrength":"FLT_MAX"},
		  //engine
		  ["e1r","e1l"],
		  ["e2r","e2l"],
		  ["e3r","e3l"],
		  ["e4r","e4l"],
		  
		  ["e1r","e2r"],
		  ["e1l","e2l"],
		  ["e3r","e4r"],
		  ["e3l","e4l"],
		  
		  ["e1r","e3r"],
		  ["e1l","e3l"],
		  ["e2r","e4r"],
		  ["e2l","e4l"],
		  
		  ["e2r","e3r"],
		  ["e2l","e3l"],
		  ["e2r","e3l"],
		  ["e2l","e3r"],
		  
		  ["e1r","e4r"],
		  ["e1l","e4l"],
		  ["e1r","e4l"],
		  ["e1l","e4r"],
		  
		  ["e1r","e2l"],
		  ["e1l","e2r"],
		  ["e3r","e4l"],
		  ["e3l","e4r"],
		  
		  ["e1r","e3l"],
		  ["e1l","e3r"],
		  ["e2r","e4l"],
		  ["e2l","e4r"],
		  
		  {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
	],
	"triangles": [
			["id1:","id2:","id3:"],
			
			
	],
}
"fullsize_enginetuning_stage1": {
	"information":{
		"authors":"gabester",
		"name":"Gavril Grand Marshal Stage 1 Engine Tuning",
	}
    "slotType" : "fullsize_enginetuning",
	"enginetorque":[
		["rpm", "torque"]
		[0, 0],
		[500, 165],
		[1000, 285],
		[2000, 385],
		[3000, 420],
		[4000, 425],
		[5000, 387],
		[6000, 325],
	],
	"engine":{
		"idleRPM":850,
		"shiftDownRPM":2800,
		"shiftUpRPM":5000,
		"maxRPM":6000,
		"inertia":0.17,
		"friction":22,
		"brakingCoefRPS":0.15
		"burnEfficiency":0.44
		"throttleSensitivity":1.22
	},
}
"fullsize_enginetuning_stage2": {
	"information":{
		"authors":"gabester",
		"name":"Gavril Grand Marshal Stage 2 Engine Tuning",
	}
    "slotType" : "fullsize_enginetuning",
	"enginetorque":[
		["rpm", "torque"]
		[0, 0],
		[500, 300],
		[1000, 445],
		[2000, 565],
		[3000, 645],
		[4000, 675],
		[4500, 670],
		[5000, 635],
		[5400, 565],
		[6000, 425],
	],
	"engine":{
		"idleRPM":900,
		"shiftDownRPM":2700,
		"shiftUpRPM":5500,
		"maxRPM":6000,
		"inertia":0.26,
		"friction":20,
		"brakingCoefRPS":0.15
		"burnEfficiency":0.40
		"throttleSensitivity":1.25
		//revised shift points
		"lowShiftDownRPM":1500,
		"lowShiftUpRPM":2700,
		"highShiftDownRPM":2250,
		"highShiftUpRPM":5500,
	},
}
"fullsize_exhaust": {
	"information":{
		"authors":"gabester",
		"name":"Gavril Grand Marshal Exhaust",
	}
    "slotType" : "fullsize_exhaust",
	 "scalenodeWeight":0.95,
	 "scalebeamSpring":0.75,
	 "scalebeamDamp":0.73,
	 "scalebeamDeform":0.36,
	 "scalebeamStrength":0.65,
	"flexbodies": [
		 ["mesh", "[group]:", "nonFlexMaterials"],
		 ["fullsize_exhaust_R", ["fullsize_exhaust_R"]],
		 ["fullsize_exhaust_L", ["fullsize_exhaust_L"]],
		 
	],
	"nodes": [
		 ["id", "posX", "posY", "posZ"],
		 {"selfCollision":true}
		 {"collision":true}
		 //--V8 Right Exhaust-
		 {"frictionCoef":0.7},
		 {"nodeMaterial":"|NM_METAL"},
		 {"nodeWeight":2.5},
		 {"group":"fullsize_exhaust_R"},
		 ["ex1r",-0.19, -0.99, 0.17],
		 ["ex1rr",-0.44, -0.99, 0.17],
		 ["ex2r",-0.12, 0.13, 0.17],
		 ["ex2rr",-0.36, -0.21, 0.17],
		 ["ex3r",-0.38, 0.76, 0.20],
		 {"selfCollision":false}
		 ["ex4r",-0.23, 1.52, 0.56],
		 {"selfCollision":true}
		 ["ex5r",-0.25, 1.71, 0.33],
		 ["ex5rr",-0.65, 1.81, 0.30],
		 ["ex6r",-0.66, 2.81, 0.27],
		 //rigidifier
		 {"selfCollision":false}
		 {"collision":false}
		 ["ex7r",-0.28, 0.2, 0.4],
		 {"selfCollision":true}
		 {"collision":true}
		 ["ex8r",-0.09, 0.76, 0.20],
		 //extra flexbody node
		 {"selfCollision":false}
		 {"collision":false}
		 ["ex9r",-0.26, 1.41, 0.86,{"nodeWeight":1.5}],
		 
		 {"selfCollision":true}
		 {"collision":true}
		 //--V8 Left Exhaust-
		 {"frictionCoef":0.7},
		 {"nodeMaterial":"|NM_METAL"},
		 {"nodeWeight":2.5},
		 {"group":"fullsize_exhaust_L"},
		 ["ex1l", 0.19, -0.99, 0.17],
		 ["ex1ll", 0.44, -0.99, 0.17],
		 ["ex2l", 0.12, 0.13, 0.17],
		 ["ex2ll", 0.36, -0.21, 0.17],
		 ["ex3l", 0.38, 0.76, 0.20],
		 {"selfCollision":false}
		 ["ex4l", 0.23, 1.52, 0.56],
		 {"selfCollision":true}
		 ["ex5l", 0.25, 1.71, 0.33],
		 ["ex5ll", 0.65, 1.81, 0.30],
		 ["ex6l", 0.66, 2.81, 0.27],
		 //rigidifier
		 {"selfCollision":false}
		 {"collision":false}
		 ["ex7l", 0.28, 0.2, 0.4],
		 {"selfCollision":true}
		 {"collision":true}
		 ["ex8l", 0.09, 0.76, 0.20],
		 //extra flexbody node
		 {"selfCollision":false}
		 {"collision":false}
		 ["ex9l", 0.26, 1.41, 0.86,{"nodeWeight":1.5}],
		 {"group":""},
	],
	
	"beams": [
		  ["id1:", "id2:"],		  {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
		  //--EXHAUST--
		  {"beamSpring":1401000,"beamDamp":50},
		  {"beamDeform":96000,"beamStrength":"FLT_MAX"},
		  //r
		  ["ex1r","ex2r"],
		  ["ex1r","ex2rr"],
		  ["ex1rr","ex2r"],
		  ["ex1rr","ex2rr"],
		  ["ex2rr","ex3r"],
		  ["ex2r","ex3r"],
		  ["ex3r","ex4r"],
		  ["ex4r","ex5rr"],
		  ["ex4r","ex5r"],
		  ["ex5rr","ex6r"],
		  ["ex5r","ex6r"],
		  
		  ["ex2r","ex2rr"],
		  ["ex1r","ex1rr"],
		  
		  ["ex5r","ex5rr"],
		  
		  //l
		  ["ex1l","ex2l"],
		  ["ex1l","ex2ll"],
		  ["ex1ll","ex2l"],
		  ["ex1ll","ex2ll"],
		  ["ex2ll","ex3l"],
		  ["ex2l","ex3l"],
		  ["ex3l","ex4l"],
		  ["ex4l","ex5ll"],
		  ["ex5ll","ex6l"],
		  ["ex4l","ex5l"],
		  ["ex5l","ex6l"],
		  
		  ["ex2l","ex2ll"],
		  ["ex1l","ex1ll"],
		  
		  ["ex5l","ex5ll"],
		  
		  {"beamDeform":28000,"beamStrength":"FLT_MAX"},
		  //r
		  ["ex1r","ex3r"],
		  ["ex1rr","ex3r"],
		  ["ex2r","ex4r"],
		  ["ex2rr","ex4r"],
		  ["ex3r","ex5rr"],
		  ["ex3r","ex5r"],
		  ["ex4r","ex6r"],
		  ["ex3r","ex6r"],
		  ["ex2r","ex5rr"],
		  ["ex2r","ex5r"],
		  
		  ["ex1r","ex7r"],
		  ["ex1rr","ex7r"],
		  ["ex2r","ex7r"],
		  ["ex2rr","ex7r"],
		  ["ex3r","ex7r"],
		  ["ex4r","ex7r"],
		  ["ex5rr","ex7r"],
		  ["ex5r","ex7r"],
		  
		  ["ex8r","ex7r"],
		  
		  ["ex2r","ex8r"],
		  ["ex2rr","ex8r"],
		  ["ex3r","ex8r"],
		  ["ex4r","ex8r"],
		  ["ex5r","ex8r"],
		  ["ex5rr","ex8r"],
		  ["ex6r","ex8r"],
		  
		  //l
		  ["ex1l","ex3l"],
		  ["ex1ll","ex3l"],
		  ["ex2l","ex4l"],
		  ["ex2ll","ex4l"],
		  ["ex3l","ex5ll"],
		  ["ex3l","ex5l"],
		  ["ex4l","ex6l"],
		  ["ex3l","ex6l"],
		  ["ex2l","ex5ll"],
		  ["ex2l","ex5l"],
		  
		  ["ex1l","ex7l"],
		  ["ex1ll","ex7l"],
		  ["ex2l","ex7l"],
		  ["ex2ll","ex7l"],
		  ["ex3l","ex7l"],
		  ["ex4l","ex7l"],
		  ["ex5ll","ex7l"],
		  ["ex5l","ex7l"],
		  
		  ["ex8l","ex7l"],
		  
		  ["ex2ll","ex8l"],
		  ["ex2l","ex8l"],
		  ["ex3l","ex8l"],
		  ["ex4l","ex8l"],
		  ["ex5l","ex8l"],
		  ["ex5ll","ex8l"],
		  ["ex6l","ex8l"],
		  
		  //flexbody node
		  {"beamSpring":601000,"beamDamp":50},
		  {"beamDeform":12000,"beamStrength":"FLT_MAX"},
		  //["ex1rr","ex9r"],
		  //["ex1r","ex9r"],
		  ["ex2rr","ex9r"],
		  ["ex2r","ex9r"],
		  ["ex3r","ex9r"],
		  ["ex7r","ex9r"],
		  ["ex6r","ex9r"],
		  ["ex4r","ex9r"],
		  ["ex5r","ex9r"],
		  
		  //["ex1ll","ex9l"],
		  //["ex1l","ex9l"],
		  ["ex2ll","ex9l"],
		  ["ex2l","ex9l"],
		  ["ex3l","ex9l"],
		  ["ex7l","ex9l"],
		  ["ex6l","ex9l"],
		  ["ex4l","ex9l"],
		  ["ex5l","ex9l"],
		  
		  {"beamSpring":601000,"beamDamp":50},
		  {"beamDeform":16000,"beamStrength":24000},
		  //attach
		  //r
		  ["ex1r","e1r"],
		  ["ex1r","e2r"],
		  ["ex1r","e3r"],
		  ["ex1r","e4r"],
		  ["ex1rr","e1r"],
		  ["ex1rr","e2r"],
		  ["ex1rr","e3r"],
		  ["ex1rr","e4r"],
		  
		  ["ex1r","f1r"],
		  ["ex1rr","f1r"],
		  
		  ["ex2r","f2r"],
		  ["ex2r","f3r"],
		  ["ex2rr","f2r"],
		  
		  ["ex7r","f2r"],
		  ["ex7r","f3r"],
		  
		  {"beamDeform":12000,"beamStrength":16000},
		  {"breakGroup":"fullsize_exhaust_a_R"},
		  ["ex3r","f4r"],
		  ["ex8r","f4r"],
		  
		  ["ex4r","r1"],
		  ["ex4r","r1rr"],
		  
		  ["ex5rr","r2rr"],
		  ["ex5r","r2rr"],
		  
		  {"breakGroup":""},
		  ["ex6r","r4rr",{"beamSpring":201000,"beamDamp":100}],
		  
		  //l
		  {"beamDeform":16000,"beamStrength":24000},
		  ["ex1l","e1l"],
		  ["ex1l","e2l"],
		  ["ex1l","e3l"],
		  ["ex1l","e4l"],
		  ["ex1ll","e1l"],
		  ["ex1ll","e2l"],
		  ["ex1ll","e3l"],
		  ["ex1ll","e4l"],
		  
		  ["ex1l","f1l"],
		  ["ex1ll","f1l"],
		  
		  ["ex2l","f2l"],
		  ["ex2l","f3l"],
		  ["ex2ll","f2l"],
		  
		  ["ex7l","f2l"],
		  ["ex7l","f3l"],
		  
		  {"beamDeform":12000,"beamStrength":16000},
		  {"breakGroup":"fullsize_exhaust_a_L"},
		  ["ex3l","f4l"],
		  ["ex8l","f4l"],
		  
		  ["ex4l","r1"],
		  ["ex4l","r1ll"],
		  
		  ["ex5ll","r2ll"],
		  ["ex5l","r2ll"],
		  
		  ["ex6l","r4ll",{"beamSpring":201000,"beamDamp":100}],
		  
		  {"breakGroup":""},
		  
		  //support beams
		  {"beamPrecompression":1, "beamType":"|SUPPORT", "beamLongBound":4, "beamShortBound":0},
		  {"beamDeform":36000,"beamStrength":102000},
		  {"beamSpring":601000,"beamDamp":50},
		  {"beamLimitSpring":601000,"beamLimitDamp":50},
		  ["ex5rr","r5"],
		  ["ex5ll","r5"],
		  
		  {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
	],
	"triangles": [
			["id1:","id2:","id3:"],
			
			
	],
}
"fullsize_transmission_4A": {
	"information":{
		"authors":"gabester",
		"name":"Gavril Grand Marshal 4-Speed Automatic Transmission",
	}
	"engine":{
		"transmissionType":"automatic",
		"lowShiftDownRPM":1500,
		"lowShiftUpRPM":2700,
		"highShiftDownRPM":1950,
		"highShiftUpRPM":4800,
		// -1, 0 (neutral), 1, etc
		"gears":[-3.4, 0, 3.32, 2.12, 1.24, 0.7]
		"clutchDuration":0.3
		"viscousCoupling":6
		"lockingTorqueLimit":500
		"enableLocking":true
	},
    "slotType" : "fullsize_transmission",
	 "scalenodeWeight":0.95,
	 "scalebeamSpring":0.75,
	 "scalebeamDamp":0.73,
	 "scalebeamDeform":0.36,
	 "scalebeamStrength":0.65,
	"flexbodies": [
		 ["mesh", "[group]:", "nonFlexMaterials"],
		 ["fullsize_transmission", ["fullsize_engine","fullsize_transmission"]],
		 
	],
	"nodes": [
		 ["id", "posX", "posY", "posZ"],
		 //--4 Speed Auto--
		 {"frictionCoef":0.7},
		 {"nodeMaterial":"|NM_METAL"},
		 {"selfCollision":false},
		 {"collision":true}
		 {"group":"fullsize_transmission"},
		 {"nodeWeight":35},
		 ["tra1", 0.0, -0.60, 0.43],
		 {"group":""},
	],
	"props": [
		["func"      , "mesh"              , "idRef:", "idX:", "idY:"            , "baseRotation"        , "rotation"                 , "translation"        , "min", "max", "offset", "multiplier"]	
		["gear_A"      , "fullsize_needle_gear"  , "f7r", "f7l", "f8r", {"x":5, "y":0, "z":0} , {"x":0, "y":0, "z":0}      , {"x":-0.07, "y":0, "z":0}, 0, 1, 0, 1],
		//automatic transmission
		["gear_A"      , "fullsize_shifter_A"    , "f7r", "f7l", "f8r", {"x":17.5, "y":0, "z":0} , {"x":0, "y":0, "z":-25}    , {"x":0, "y":0, "z":0}, 0, 1, 0, 1],
	 ],
	"beams": [
		  ["id1:", "id2:"],
		  {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
		  //--TRANSMISSION CONE--
		  {"beamSpring":14001000,"beamDamp":250},
		  {"beamDeform":2200000,"beamStrength":"FLT_MAX"},
		  ["tra1","e1r"],
		  ["tra1","e3r"],
		  ["tra1","e1l"],
		  ["tra1","e3l"],
		  {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
	],
	"triangles": [
			["id1:","id2:","id3:"],
			
			
	],
}
"fullsize_transmission_5M": {
	"information":{
		"authors":"gabester",
		"name":"Gavril D15 5-Speed Manual Transmission",
	}
	"engine":{
		"transmissionType":"manual",
		// -1, 0 (neutral), 1, etc
		"gears":[-3.25, 0, 3.25, 2.37, 1.56, 1.0, 0.75]
		"clutchDuration":0.35
		"clutchTorque":1000
		//temporary until manual is coded
		"viscousCoupling":12
		"lockingTorqueLimit":500
		},
    "slotType" : "fullsize_transmission",
	"flexbodies": [
		 ["mesh", "[group]:", "nonFlexMaterials"],
		 ["fullsize_transmission", ["fullsize_engine","fullsize_transmission"]],
	],
	"nodes": [
		 ["id", "posX", "posY", "posZ"],
		 //--5 Speed Manual from D15--
		 {"frictionCoef":0.7},
		 {"nodeMaterial":"|NM_METAL"},
		 {"selfCollision":false},
		 {"collision":true}
		 {"group":"fullsize_transmission"},
		 {"nodeWeight":35},
		 ["tra1", 0.0, -0.60, 0.43],
		 {"group":""},
	],	 	
	"props": [
		["func"        , "mesh"                , "idRef:", "idX:", "idY:", "baseRotation"      , "rotation"                 , "translation"        , "min", "max", "offset", "multiplier"]
		//shifter
		["gear_M"      , "fullsize_shifter_M"    , "f7r", "f7l", "f8r", {"x":85, "y":0, "z":0} , {"x":0, "y":0, "z":0}    , {"x":0, "y":0, "z":0}, 0, 1, 0, 1],
		//pedal
		["clutch"     ,"fullsize_clutchpedal", "f7r","f7l","f8r",  {"x":90, "y":0, "z":0} , {"x":-25, "y":0, "z":0}    , {"x":0.0, "y":0, "z":0}, 0, 1, 0, 1],
	],
	"beams": [
		  ["id1:", "id2:"],
		  {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
		  //--TRANSMISSION CONE--
		  {"beamSpring":14001000,"beamDamp":250},
		  {"beamDeform":2200000,"beamStrength":"FLT_MAX"},
		  ["tra1","e1r"],
		  ["tra1","e3r"],
		  ["tra1","e1l"],
		  ["tra1","e3l"],
		  {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
	],
	"triangles": [
			["id1:","id2:","id3:"],
			
			
	],
}
}