﻿{
	"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 Rabbit Sedan (Ford) §7[CP-497-LTC]",
			"subName": "_ford", //000000
			"extraMaterials": ["mts:unuparts.unuparts_decor_unu_paint_ford:0:1"]
		},
		{
			"name": "§3UNU Rabbit Sedan (Ivory) §7[CP-497-LTC]",
			"subName": "_ivory", //FFFFF0
			"extraMaterials": ["mts:unuparts.unuparts_decor_unu_paint_ivory:0:1"]
		},
		{
			"name": "§3UNU Rabbit Sedan (Mint) §7[CP-497-LTC]",
			"subName": "_mint", //e3efe2
			"extraMaterials": ["mts:unuparts.unuparts_decor_unu_paint_mint:0:1"]
		},
		{
			"name": "§3UNU Rabbit Sedan (Tungsten) §7[CP-497-LTC]",
			"subName": "_tungsten", //767980
			"extraMaterials": ["mts:unuparts.unuparts_decor_unu_paint_tungsten:0:1"]
		}
	],
	
	"general": {
		"description": "Recommended parts:\nCompact Wheel\nH6 Engine\nBudget Seat\n\nAdditional Parts\nLuggage",
		"numberWindows": 7,
		//"name": "UNU CP-497-LTC",
		"type": "car",
		//"description": "The UNU CP-497-LTC is provided to UNU Colonies. Cheaply mass-produced by UNU, the CP-497-LTC is a car, nothing more, nothing less. Wheels and seats available at extra cost.",
		"openTop": false,
		"emptyMass": 1500,
		"materials": ["mts:unuparts.unuparts_vehicle_unu_frame_a:0:1", "mts:unuparts.unuparts_crafting_unu_sheetmetal_fender_fiberglass:0:4", "mts:unuparts.unuparts_crafting_unu_sheetmetal_door:0:4", "mts:unuparts.unuparts_crafting_unu_sheetmetal_panel_fiberglass:0:6", "minecraft:glass_pane:0:3"]
	},

	"motorized": {
		"fuelCapacity": 15000,
		"hornSound": "unuparts:unuparts_horn_car_1",
		"instruments": [
			{ //Main Right
				"pos": [0.375, 0.75, 2.871875],
				"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.625, 0.75, 2.871875],
				"rot": [0, 0, 0],
				"hudpos": [39.57365, 62.5],
				"scale": 0.015625,
				//"hudScale": 0.85,
				"hudScale": 0.46875,
				"hudX": 157,
				"hudY": 35
			}
		],
		"controls":[],
		"hitchPos": [0, 0.0625, -1.625],
		"hitchTypes": ["Standard"],
		"hookupPos": [0, 0, 4.96875],
		"hookupType": "Tow"
	},

	"car": {
		"isBigTruck": false,
		"isFrontWheelDrive": false,
		"isRearWheelDrive": true,
		"dragCoefficient": 0.45,
		"axleRatio": 3.55
	},
	
	"parts": [
		{
			"pos": [-0.9375, 0.0, 0.0],
			"turnsWithSteer": false,
			"isController": false,
			"types": ["wheel"],
			"minValue": 0.6,
			"maxValue": 0.8125
		},
		{
			"pos": [0.9375, 0.0, 0.0],
			"turnsWithSteer": false,
			"isController": false,
			"types": ["wheel"],
			"minValue": 0.6,
			"maxValue": 0.8125
		},
		{
			"pos": [-0.9375, 0.0, 3.75],
			"turnsWithSteer": true,
			"isController": false,
			"types": ["wheel"],
			"minValue": 0.6,
			"maxValue": 0.8125
		},
		{
			"pos": [0.9375, 0.0, 3.75],
			"turnsWithSteer": true,
			"isController": false,
			"types": ["wheel"],
			"minValue": 0.6,
			"maxValue": 0.8125
		},
		{
			"pos": [0.5, 0.375, 2.0],
			"turnsWithSteer": false,
			"isController": true,
			"types": ["seat"],
			"dismountPos": [1.5, 0.375, 2.0]
		},
		{
			"pos": [-0.5, 0.375, 2.0],
			"turnsWithSteer": false,
			"isController": false,
			"types": ["seat"],
			"dismountPos": [-1.5, 0.375, 2.0],
			"additionalPart":  {
				"pos": [-0.5, 0.34375, 2.0625],//[0, -0.03125, 0.0625]
				"rot": [0, 90, 0],
				"types": ["crate"],
				"customTypes": ["luggage"],
				"minValue": 0.0,
				"maxValue": 2.0
			}
		},
		{
			"pos": [0.5, 0.375, 0.9375],
			"turnsWithSteer": false,
			"isController": false,
			"types": ["seat"],
			"dismountPos": [1.5, 0.375, 0.9375],
			"additionalPart":  {
				"pos": [0.5, 0.34375, 1],//[0, -0.03125, 0.0625]
				"rot": [0, 90, 0],
				"types": ["crate"],
				"customTypes": ["luggage"],
				"minValue": 0.0,
				"maxValue": 2.0
			}
		},
		{
			"pos": [-0.5, 0.375, 0.9375],
			"turnsWithSteer": false,
			"isController": false,
			"types": ["seat"],
			"dismountPos": [-1.5, 0.375, 0.9375],
			"additionalPart":  {
				"pos": [-0.5, 0.34375, 1],//[0, -0.03125, 0.0625]
				"rot": [0, 90, 0],
				"types": ["crate"],
				"customTypes": ["luggage"],
				"minValue": 0.0,
				"maxValue": 2.0
			}
		},
		{
			"pos": [0, 0.18725, -0.313],
			"rot": [0, 180, 0],
			"types": ["engine_car"],
			"customTypes": ["h6"],
			"exhaustPos": [0.28125, -0.04375, -1.5, -0.28125, -0.04375, -1.5],
			"exhaustVelocity": [0, 0, -1, 0, 0, -1],
			"minValue": 0.0,
			"maxValue": 0.5
		},
		{
			"pos": [0.5, 0.34375, -0.6875],
			"types": ["crate"],
			"customTypes": ["luggage"],
			"minValue": 0.0,
			"maxValue": 2.0
		},
		{
			"pos": [0.0, 0.34375, -0.6875],
			"types": ["crate"],
			"customTypes": ["luggage"],
			"minValue": 0.0,
			"maxValue": 2.0
		},
		{
			"pos": [-0.5, 0.34375, -0.6875],
			"types": ["crate"],
			"customTypes": ["luggage"],
			"minValue": 0.0,
			"maxValue": 2.0
		},
		{
			"pos": [-0.25, 0.3125, 3.8125],
			"types": ["crate"],
			"customTypes": ["luggage"],
			"minValue": 0.0,
			"maxValue": 2.0
		},
		{
			"pos": [0.25, 0.3125, 3.8125],
			"types": ["crate"],
			"customTypes": ["luggage"],
			"minValue": 0.0,
			"maxValue": 2.0
		},
		{
			"pos": [0.5, 0.1875, 4.5625],
			"types": ["crate"],
			"customTypes": ["luggage"],
			"rot": [0, 90, 0],
			"minValue": 0.0,
			"maxValue": 2.0
		},
		{
			"pos": [-0.5, 0.1875, 4.5625],
			"types": ["crate"],
			"customTypes": ["luggage"],
			"rot": [0, 90, 0],
			"minValue": 0.0,
			"maxValue": 2.0
		},
		{
			"pos": [0.63, 0.19, -1.44],
			"types": ["generic"],
			"customTypes": ["bumpersticker"],
			"minValue": 0.0,
			"maxValue": 1.0
		},
		{
			"pos": [0.63, 0.06, -1.44],
			"types": ["generic"],
			"customTypes": ["bumpersticker"],
			"minValue": 0.0,
			"maxValue": 1.0
		},
		{
			"pos": [0.0, 0.19, -1.44],
			"types": ["generic"],
			"customTypes": ["bumpersticker"],
			"minValue": 0.0,
			"maxValue": 1.0
		},
		{
			"pos": [0.0, 0.06, -1.44],
			"types": ["generic"],
			"customTypes": ["bumpersticker"],
			"minValue": 0.0,
			"maxValue": 1.0
		}
	],
	
	"collision": [
		{ //Roof
			"pos": [0, 1.625, 1.625],
			"width": 2.0,
			"height": 0.125
		},
		{ //Hood
			"pos": [0, 0.75, 3.9375],
			"width": 2.125,
			"height": 0.125
		},
		{ //Trunk 1
			"pos": [0.25, 0.75, -0.5625],
			"width": 1.625,
			"height": 0.125
		},
		{ //Trunk 2
			"pos": [-0.25, 0.75, -0.5625],
			"width": 1.625,
			"height": 0.125
		},
		{ //Wheel 1
			"pos": [-0.9375, 0.75, -0.001],
			"width": 0.125,
			"height": 0.125
		},
		{ //Wheel 2
			"pos": [0.9375, 0.75, -0.001],
			"width": 0.125,
			"height": 0.125
		},
		{ //Wheel 3
			"pos": [-0.9375, 0.75, 3.75],
			"width": 0.125,
			"height": 0.125
		},
		{ //Wheel 4
			"pos": [0.9375, 0.75, 3.75],
			"width": 0.125,
			"height": 0.125
		}
	],

	"rendering": {
  		"hudBackplaneTexturePercentages": [0.214, 0.215, 0.060, 0.061],
		"hudMouldingTexturePercentages": [0.240, 0.241, 0.082, 0.083],
		"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": [
			{
				"pos": [0.53125, 0.21875, 5.03125],
				"rot": [0, 2.0454, 0],
				"scale": 0.1428,
				"color": "#000000"
			},
			{
				"pos": [-0.53125, 0.21875, -1.45313],
				"rot": [0, 180, 0],
				"scale": 0.1428,
				"color": "#000000"
			}
		],
		"rotatableModelObjects": [
			{
				"partName": "$Gas",
				"rotationPoint": [0.125, 0.21875, 3.125],
				//"rotationAxis": [1, 0, 0],
				"rotationAxis": [25, 0, 0],
				"rotationVariable": "throttle"
			},
			{
				"partName": "$Brake",
				"rotationPoint": [0.3125, 0.6875, 3.125],
				//"rotationAxis": [-0.5, 0, 0],
				"rotationAxis": [-25, 0, 0],
				"rotationVariable": "brake"
			},
			{
				"partName": "$Brake",
				"rotationPoint": [0.3125, 0.6875, 3.125],
				//"rotationAxis": [0.50, 0, 0],
				"rotationAxis": [25, 0, 0],
				"rotationVariable": "p_brake"
			},
			{
				"partName": "$Gearshift",
				"rotationPoint": [0.5, 0.8125, 2.75],
				"rotationAxis": [0, -0.57358, 0.81915],
				//"rotationVariable": "gearshift"
				"rotationVariable": "engine_gearshift_1"
			},
			{
				"partName": "$TurnSignalSwitch",
				"rotationPoint": [0.5, 0.8125, 2.75],
				"rotationAxis": [0, 5.7358, -8.1915],
				"rotationVariable": "LeftTurnLight"
			},
			{
				"partName": "$TurnSignalSwitch",
				"rotationPoint": [0.5, 0.8125, 2.75],
				"rotationAxis": [0, -5.7358, 8.1915],
				"rotationVariable": "RightTurnLight"
			},
			{
				"partName": "$SteeringWheel",
				"rotationPoint": [0.5, 0.8125, 2.75],
				"rotationAxis": [0, 0.57358, -0.81915],
				//"rotationVariable": "steeringwheel"
				"rotationVariable": "steering_wheel"
			},
			{
				"partName": "$RearAxle",
				"rotationPoint": [0, 0, 0],
				"rotationAxis": [1, 0, 0],
				//"rotationVariable": "driveshaft"
				"rotationVariable": "engine_driveshaft_rotation_1"
			},
			{
				"partName": "$RightFront",
				"rotationPoint": [-0.9375, 0.0, 3.75],
				"rotationAxis": [0, 1, 0],
				//"rotationVariable": "steeringwheel"
				"rotationVariable": "steering_wheel"
			},
			{
				"partName": "$RightFrontWheel",
				"rotationPoint": [-0.9375, 0.0, 3.75],
				"rotationAxis": [0, 1, 0],
				//"rotationVariable": "steeringwheel"
				"rotationVariable": "steering_wheel"
			},
			{
				"partName": "$RightFrontWheel",
				"rotationPoint": [-0.937501, 0.0, 3.75],
				"rotationAxis": [1, 0, 0],
				//"rotationVariable": "driveshaft"
				"rotationVariable": "engine_driveshaft_rotation_1"
			},
			{
				"partName": "$LeftFront",
				"rotationPoint": [0.9375, 0.0, 3.75],
				"rotationAxis": [0, 1, 0],
				//"rotationVariable": "steeringwheel"
				"rotationVariable": "steering_wheel"
			},
			{
				"partName": "$LeftFrontWheel",
				"rotationPoint": [0.9375, 0.0, 3.75],
				"rotationAxis": [0, 1, 0],
				//"rotationVariable": "steeringwheel"
				"rotationVariable": "steering_wheel"
			},
			{
				"partName": "$LeftFrontWheel",
				"rotationPoint": [0.937501, 0.0, 3.75],
				"rotationAxis": [1, 0, 0],
				//"rotationVariable": "driveshaft"
				"rotationVariable": "engine_driveshaft_rotation_1"
			},
			{
				"partName": "$Hood",
				"rotationPoint": [0, 0.75, 3.3125],
				//"rotationAxis": [-1, 0, 0],
				"rotationAxis": [-60, 0, 0],
				"rotationVariable": "door"
			},
			{
				"partName": "$DoorFL",
				"rotationPoint": [1.0625, 0.75, 3],
				//"rotationAxis": [0, -1, 0],
				"rotationAxis": [0, -60, 0],
				"rotationVariable": "door"
			},
			{
				"partName": "$DoorFR",
				"rotationPoint": [-1.0625, 0.75, 3],
				//"rotationAxis": [0, 1, 0],
				"rotationAxis": [0, 60, 0],
				"rotationVariable": "door"
			},
			{
				"partName": "$DoorBL",
				"rotationPoint": [1.0625, 0.75, 0.3125],
				//"rotationAxis": [0, 1, 0],
				"rotationAxis": [0, 60, 0],
				"rotationVariable": "door"
			},
			{
				"partName": "$DoorBR",
				"rotationPoint": [-1.0625, 0.75, 0.3125],
				//"rotationAxis": [0, -1, 0],
				"rotationAxis": [0, -60, 0],
				"rotationVariable": "door"
			},
			{
				"partName": "$Trunk",
				"rotationPoint": [0, 0.75, -0.0625],
				//"rotationAxis": [1, 0, 0],
				"rotationAxis": [60, 0, 0],
				"rotationVariable": "door"
			}
		]
	}
}
