﻿{
	"definitions": [//Dyes: Black=0 Red =1 Green=2 Brown=3 Blue=4 Purple=5 UNU=6 Silver=7 Grey=8 Pink=9 Lime=10 Yellow=11 Light Blue=12 Magenta=13 Orange=14 White=15
		{
			"name": "§3UNU Solenodon (Apple) §7[MT-210-LCC]",
			"subName": "_apple",
			"extraMaterials": ["mts:unuparts.unuparts_decor_unu_paint_apple:0:1"]
		},
		{
			"name": "§3UNU Solenodon (Ford) §7[MT-210-LCC]",
			"subName": "_ford",
			"extraMaterials": ["mts:unuparts.unuparts_decor_unu_paint_ford:0:1"]
		},
		{
			"name": "§3UNU Solenodon (Manilla) §7[MT-210-LCC]",
			"subName": "_manilla",
			"extraMaterials": ["mts:unuparts.unuparts_decor_unu_paint_manilla:0:1"]
		},
		{
			"name": "§3UNU Solenodon (Olive) §7[MT-210-LCC]",
			"subName": "_olive",
			"extraMaterials": ["mts:unuparts.unuparts_decor_unu_paint_olive:0:1"]
		}
	],
	
	"general": {
		"numberWindows": 4,
		"type": "car",
		"openTop": false,
		"emptyMass": 3800,
		"materials": ["mts:unuparts.unuparts_vehicle_unu_frame_c:0:1", "mts:unuparts.unuparts_crafting_unu_sheetmetal_fender_steel:0:4", "mts:unuparts.unuparts_crafting_unu_sheetmetal_door:0:2", "mts:unuparts.unuparts_crafting_unu_sheetmetal_panel_steel:0:6", "minecraft:glass_pane:0:8"]
	},

	"motorized": {
		"fuelCapacity": 2000,
		"hornSound": "unuparts:unuparts_horn_car_2",
		"instruments": [
			{ //Main Right
				"pos": [0.40625, 1.09375, 2.30938],
				"rot": [0, 0, 0],
				"hudpos": [60.42635, 62.5],
				"scale": 0.015625,
				//"hudScale": 0.85,
				"hudScale": 0.46875,
				"hudX": 243,
				"hudY": 35
			},
			{ //Main Left
				"pos": [0.59375, 1.09375, 2.30938],
				"rot": [0, 0, 0],
				"hudpos": [39.57365, 62.5],
				"scale": 0.015625,
				//"hudScale": 0.85,
				"hudScale": 0.46875,
				"hudX": 157,
				"hudY": 35
			}
		],
		"controls": [],
		"hookupPos": [0, 0.03125, 4.4375],
		"hookupType": "Tow"
	},

	"car": {
		"openTop": true,
		"isBigTruck": false,
		"isFrontWheelDrive": true,
		"isRearWheelDrive": true,
		"dragCoefficient": 0.5,
		"axleRatio": 3.75
	},
	
	"parts": [
		{
			"pos": [-1.0, 0, 0],
			"types": ["wheel"],
			"minValue": 0.75,
			"maxValue": 0.875
		},
		{
			"pos": [1.0, 0, 0],
			"types": ["wheel"],
			"minValue": 0.75,
			"maxValue": 0.875
		},
		{
			"pos": [-1.0, 0, 3.8125],
			"turnsWithSteer": true,
			"types": ["wheel"],
			"minValue": 0.75,
			"maxValue": 0.875
		},
		{
			"pos": [1.0, 0, 3.8125],
			"turnsWithSteer": true,
			"types": ["wheel"],
			"minValue": 0.75,
			"maxValue": 0.875
		},
		{
			"pos": [0.5, 0.5625, 1.375],
			"isController": true,
			"types": ["seat"],
			"dismountPos": [1.625, 0.6875, 2.125]
		},
		{
			"pos": [-0.5, 0.5625, 1.375],
			"types": ["seat"],
			"dismountPos": [-1.625, 0.6875, 2.125],
			"additionalPart":  {
				"pos": [-0.5, 0.5625, 1.4375],// +Z 0.0625
				"rot": [0, 90, 0],
				"types": ["crate"],
				"customTypes": ["luggage"],
				"minValue": 0.0,
				"maxValue": 2.0
			}
		},
		{
			"pos": [0, 0.375, 3],
			"types": ["engine_car"],
			"exhaustPos": [0.3125, 0.0625, -1.25],
			"exhaustVelocity": [0, 0, -1],
			"minValue": 0.2,
			"maxValue": 0.5
		},
		{
			"pos": [0, 1.125, -0.25],
			"types": ["generic"],
			"customTypes": ["unu_stakeside_solenodon"],
			"minValue": 0.0,
			"maxValue": 3.0
		},
		{
			"pos": [0.40625, 0.75, 0.25],
			"rot": [0, 0.3125, 0],
			"types": ["crate"],
			"minValue": 0.0,
			"maxValue": 3.0
		},
		{
			"pos": [0.40625, 0.75, -0.6875],
			"rot": [0, -0.25, 0],
			"types": ["crate"],
			"minValue": 0.0,
			"maxValue": 3.0
		},
		{
			"pos": [-0.40625, 0.75, 0.1875],
			"rot": [0, 0.125, 0],
			"types": ["crate"],
			"minValue": 0.0,
			"maxValue": 3.0
		},
		{
			"pos": [-0.40625, 0.75, -0.75],
			"rot": [0, 0.1875, 0],
			"types": ["crate"],
			"minValue": 0.0,
			"maxValue": 3.0
		}
	],
	
	"collision": [
		{
			"pos": [0, 2, 0.375],
			"width": 1.875,
			"height": 0.125
		},
		{
			"pos": [0.375, 2, 1.875],
			"width": 1.125,
			"height": 0.125
		},
		{
			"pos": [0, 1.125, 2.9375],
			"width": 1.125,
			"height": 0.125
		},
		{
			"pos": [-0.15625, 1.125, 3.78125],
			"width": 0.5625,
			"height": 0.125
		},
		{
			"pos": [0.15625, 1.125, 3.78125],
			"width": 0.5625,
			"height": 0.125
		},
		{ //Wheel 1
			"pos": [-1.0, 0.75, 0.0],
			"width": 0.125,
			"height": 0.125
		},
		{ //Wheel 2
			"pos": [1.0, 0.75, 0.0],
			"width": 0.125,
			"height": 0.125
		},
		{ //Wheel 3
			"pos": [-1.0, 0.75, 3.8125],
			"width": 0.125,
			"height": 0.125
		},
		{ //Wheel 4
			"pos": [1.0, 0.75, 3.8125],
			"width": 0.125,
			"height": 0.125
		}
	],

	"rendering": {
  		"hudBackplaneTexturePercentages": [0.0488, 0.0489, 0.1152, 0.1153],
		"hudMouldingTexturePercentages": [0.1796, 0.1797, 0.4023, 0.4024],
		"hudTexture": "unuparts:textures/guis/unuparts_hud_unu_budget.png",
		"panelTexture": "unuparts:textures/guis/unuparts_panel_unu_budget.png",
		//"panelTextColor": "#cccccc",
		//"panelLitColor": "#cccccc",
		"defaultDisplayText": "BT-000000",
		"displayTextMaxLength": 9,
		"textMarkings": [],
		"rotatableModelObjects": [
			{
				"partName": "$Gas",
				"rotationPoint": [0.21875, 0.3125, 2.125],
				//"rotationAxis": [1, 0, 0],
				"rotationAxis": [25, 0, 0],
				"rotationVariable": "throttle"
			},
			{
				"partName": "$Brake",
				"rotationPoint": [0.4375, 0.3125, 2.1875],
				//"rotationAxis": [0.5, 0, 0],
				"rotationAxis": [25, 0, 0],
				"rotationVariable": "brake"
			},
			{
				"partName": "$Brake",
				"rotationPoint": [0.4375, 0.3125, 2.1875],
				//"rotationAxis": [-0.5, 0, 0],
				"rotationAxis": [-25, 0, 0],
				"rotationVariable": "p_brake"
			},
			{
				"partName": "$Gearshift",
				"rotationPoint": [0.5, 1.0625, 2],
				"rotationAxis": [0, -0.51504, 0.85717],
				//"rotationVariable": "gearshift"
				"rotationVariable": "enigne_gearshift"
			},
			{
				"partName": "$SteeringWheel",
				"rotationPoint": [0.5, 1.0625, 2],
				"rotationAxis": [0, 0.51504, -0.85717],
				//"rotationVariable": "steeringwheel"
				"rotationVariable": "steering_wheel"
			},
			{
				"partName": "$RearAxle",
				"rotationPoint": [0, 0, 0],
				"rotationAxis": [1, 0, 0],
				//"rotationVariable": "driveshaft"
				"rotationVariable": "engine_driveshaft_rotation_1"
			},
			{
				"partName": "$DriveShaft",
				"rotationPoint": [0, 0.34375, 2.375],
				"rotationAxis": [0, -0.5553265, -3.506264],
				//"rotationVariable": "driveshaft"
				"rotationVariable": "engine_driveshaft_rotation_1"
			},
			{
				"partName": "$RightFront",
				"rotationPoint": [-1.0, 0, 3.8125],
				"rotationAxis": [0, 1, 0],
				//"rotationVariable": "steeringwheel"
				"rotationVariable": "steering_wheel"
			},
			{
				"partName": "$RightFrontWheel",
				"rotationPoint": [-1.0, 0, 3.8125],
				"rotationAxis": [0, 1, 0],
				//"rotationVariable": "steeringwheel"
				"rotationVariable": "steering_wheel"
			},
			{
				"partName": "$RightFrontWheel",
				"rotationPoint": [-1.001, 0, 3.8125],
				"rotationAxis": [1, 0, 0],
				//"rotationVariable": "driveshaft"
				"rotationVariable": "engine_driveshaft_rotation_1"
			},
			{
				"partName": "$LeftFront",
				"rotationPoint": [1.0, 0, 3.8125],
				"rotationAxis": [0, 1, 0],
				//"rotationVariable": "steeringwheel"
				"rotationVariable": "steering_wheel"
			},
			{
				"partName": "$LeftFrontWheel",
				"rotationPoint": [1.0, 0, 3.8125],
				"rotationAxis": [0, 1, 0],
				//"rotationVariable": "steeringwheel"
				"rotationVariable": "steering_wheel"
			},
			{
				"partName": "$LeftFrontWheel",
				"rotationPoint": [1.001, 0, 3.8125],
				"rotationAxis": [1, 0, 0],
				//"rotationVariable": "driveshaft"
				"rotationVariable": "engine_driveshaft_rotation_1"
			},
			{
				"partName": "$Hood1",
				"rotationPoint": [0, 1.1875, 2.6875],
				//"rotationAxis": [0, -0.05234, 0.99863],
				"rotationAxis": [0, -3.1404, 59.9178],
				"rotationVariable": "hood"
			},
			{
				"partName": "$Hood2",
				"rotationPoint": [0, 1.1875, 2.6875],
				//"rotationAxis": [0, -0.05234, 0.99863],
				"rotationAxis": [0, -3.1404, 59.9178],
				"rotationVariable": "hood"
			},
			{
				"partName": "$Hood2",
				"rotationPoint": [0.8125, 1.0625, 2.6875],
				//"rotationAxis": [0.1822722, 0.033198, -0.6334614],
				"rotationAxis": [10.936332, 1.99188, -38.007684],
				"rotationVariable": "hood"
			},
			{
				"partName": "$DoorL",
				"rotationPoint": [0.8125, 1.1875, 2.3125],
				//"rotationAxis": [0, -1, 0],
				"rotationAxis": [0, -60, 0],
				"rotationVariable": "door"
			},
			{
				"partName": "$DoorR",
				"rotationPoint": [-0.8125, 1.1875, 2.3125],
				//"rotationAxis": [0, 1, 0],
				"rotationAxis": [0, 60, 0],
				"rotationVariable": "door"
			},
			{
				"partName": "$Tailgate",
				"rotationPoint": [0, 0.375, -1.21875],
				//"rotationAxis": [-1.5, 0, 0],
				"rotationAxis": [-90, 0, 0],
				"rotationVariable": "door"
			}
		]
	}
}
