﻿{
	"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 Squirrel §7[LT-123-HCC]",
			"subName": "_apple",
			"extraMaterials": ["mts:unuparts.unuparts_decor_unu_paint_apple:0:1"]
		},
		{
			"name": "§3UNU Squirrel §7[LT-123-HCC]",
			"subName": "_sunflower",
			"extraMaterials": ["mts:unuparts.unuparts_decor_unu_paint_sunflower:0:1"]
		}
	],
	
	"general": {
		"description": "Recommended parts:\nStandard Truck Wheel\nV8H Engine\nStandard Truck Seat",
		"numberWindows": 6,
		"type": "car",
		"openTop": false,
		"emptyMass": 10000,
		"materials": ["mts:unuparts.unuparts_vehicle_unu_frame_t:0:1", "mts:unuparts.unuparts_crafting_unu_sheetmetal_fender_steel:0:2", "mts:unuparts.unuparts_crafting_unu_sheetmetal_door:0:4", "mts:unuparts.unuparts_crafting_unu_sheetmetal_panel_steel:0:10", "minecraft:glass_pane:0:4"]
	},

	"motorized": {
		"fuelCapacity": 15000,
		"hornSound": "unuparts:unuparts_horn_truck_1",
    	"sirenSound": "unuparts:unuparts_siren_1",
		"instruments": [
			{ //Main Right
				"pos": [0.8125, 1.38125, 5.34375],
				"rot": [60, 0, 0],
				"hudpos": [70, 60],
				"scale": 0.015625,
				"hudScale": 0.85
			},
			{ //Main center
				"pos": [1, 1.38125, 5.34375],
				"rot": [60, 0, 0],
				"hudpos": [50, 60],
				"scale": 0.015625,
				"hudScale": 0.85
			},
			{ //Main Left
				"pos": [1.1875, 1.38125, 5.34375],
				"rot": [60, 0, 0],
				"hudpos": [30, 60],
				"scale": 0.015625,
				"hudScale": 0.85
			}
		],
		"controls":[],
		"hitchPos": [0, 0.71875, 0],
		"hitchTypes": ["FifthWheel"],
		"hookupPos": [0, -0.09375, 5.6875],
		"hookupType": "Tow"
	},

	"car": {
		"isBigTruck": false,
		"isFrontWheelDrive": false,
		"isRearWheelDrive": true,
		"dragCoefficient": 0.8,
		"axleRatio": 4.0
	},
	
	"parts": [
		{
			"pos": [1.40625, 0, 3.96875],
			"turnsWithSteer": true,
			"types": ["wheel"],
			"customTypes": ["budd"],
			"minValue": 0.625,
			"maxValue": 1.25
		},
		{
			"pos": [-1.40625, 0, 3.96875],
			"turnsWithSteer": true,
			"types": ["wheel"],
			"customTypes": ["budd"],
			"minValue": 0.625,
			"maxValue": 1.25
		},
		{
			"pos": [1.03125, 0, 0],
			"types": ["wheel"],
			"customTypes": ["budd"],
			"minValue": 0.0,
			"maxValue": 2.0,
			"additionalPart":  {
				"pos": [1.28125, 0, 0],
				"types": ["wheel"],
				"customTypes": ["budd"],
				"overrideMirror": true,
			"inverseMirroring": true,
				"minValue": 0.5,
				"maxValue": 1.25
			}
		},
		{
			"pos": [-1.03125, 0, 0],
			"types": ["wheel"],
			"customTypes": ["budd"],
			"minValue": 0.0,
			"maxValue": 2.0,
			"additionalPart":  {
				"pos": [-1.28125, 0, 0],
				"types": ["wheel"],
				"customTypes": ["budd"],
				"overrideMirror": true,
			"inverseMirroring": true,
				"minValue": 0.5,
				"maxValue": 1.25
			}
		},
		{
			"pos": [1, 1.125, 4.21875],
			"isController": true,
			"types": ["seat"],
			"dismountPos": [2, 1.125, 4.21875]
		},
		{
			"pos": [-1, 1.125, 4.21875],
			"types": ["seat"],
			"dismountPos": [-2, 1.125, 4.21875]
		},
		{
			"pos": [1, 1.125, 3.46875],
			"rot": [0, 180, 0],
			"types": ["seat"],
			"dismountPos": [2, 1.125, 3.46875]
		},
		{
			"pos": [-1, 1.125, 3.46875],
			"rot": [0, 180, 0],
			"types": ["seat"],
			"dismountPos": [-2, 1.125, 3.46875]
		},
		{
			"pos": [0, 0.125, 3.96875],
			"types": ["engine_car"],
			"exhaustPos": [1.53125, 2.8125, 2.35938],
			"exhaustVelocity": [0, 0.5, -0.86602],
			"minValue": 0.75,
			"maxValue": 1.0
		},
		{
			"pos": [1.125, 2.6875, 5.03125],
			"types": ["generic"],
			"customTypes": ["siren"],
			"minValue": 0.0,
			"maxValue": 2.0
		},
		{
			"pos": [-1.125, 2.6875, 5.03125],
			"types": ["generic"],
			"customTypes": ["siren"],
			"minValue": 0.0,
			"maxValue": 2.0
		}
	],
	
	"collision": [
		{ //Roof 1
			"pos": [-0.375, 2.625, 3.625],
			"width": 2.375,
			"height": 0.125
		},
		{ //Roof 2
			"pos": [0.375, 2.625, 3.625],
			"width": 2.375,
			"height": 0.125
		}, //Wheel 1
		{
			"pos": [-1.375, 0.75, 3.3125],
			"width": 0.125,
			"height": 0.125
		}, //Wheel 2
		{
			"pos": [1.375, 0.75, 3.3125],
			"width": 0.125,
			"height": 0.125
		}, //Wheel 3
		{
			"pos": [-1.375, 0.75, 0.0],
			"width": 0.125,
			"height": 0.125
		}, //Wheel 4
		{
			"pos": [1.375, 0.75, 0.0],
			"width": 0.125,
			"height": 0.125
		}
	],

	"rendering": {
  		"hudBackplaneTexturePercentages": [0.4335, 0.4336, 0.216, 0.217],
		"hudMouldingTexturePercentages": [0.1562, 0.1563, 0.3320, 0.3321],
		"hudTexture": "unuparts:textures/guis/unuparts_hud_unu_budget.png",
		"panelTexture": "unuparts:textures/guis/unuparts_panel_unu_budget.png",
		//"panelTextColor": "#cccccc",
		//"panelLitColor": "#cccccc",
		"defaultDisplayText": "BT-0000",
		"displayTextMaxLength": 7,
		"textMarkings": [],
		"rotatableModelObjects": [
			/*{//--------------------Tilt-cab--------------------
				"partName": "$Cab",
				"rotationPoint": [0, 0.0625, 4.9375],
				//"rotationAxis": [1, 0, 0],
				"rotationAxis": [60, 0, 0],
				"rotationVariable": "hood"
			},
			{
				"partName": "$&HeadLight_FFFFFF_FFFFF_110",
				"rotationPoint": [0, 0.0625, 4.9375],
				//"rotationAxis": [1, 0, 0],
				"rotationAxis": [60, 0, 0],
				"rotationVariable": "hood"
			},
			{
				"partName": "$&LeftTurnLight_FF8000_07C1F_110",
				"rotationPoint": [0, 0.0625, 4.9375],
				//"rotationAxis": [1, 0, 0],
				"rotationAxis": [60, 0, 0],
				"rotationVariable": "hood"
			},
			{
				"partName": "$&RightTurnLight_FF8000_07C1F_110",
				"rotationPoint": [0, 0.0625, 4.9375],
				//"rotationAxis": [1, 0, 0],
				"rotationAxis": [60, 0, 0],
				"rotationVariable": "hood"
			},
			{
				"partName": "$&RunningLight_FF8000_FFFFF_110",
				"rotationPoint": [0, 0.0625, 4.9375],
				//"rotationAxis": [1, 0, 0],
				"rotationAxis": [60, 0, 0],
				"rotationVariable": "hood"
			},
			{
				"partName": "$BrakePedal",
				"rotationPoint": [0, 0.0625, 4.9375],
				//"rotationAxis": [1, 0, 0],
				"rotationAxis": [60, 0, 0],
				"rotationVariable": "hood"
			},
			{
				"partName": "$DoorL",
				"rotationPoint": [0, 0.0625, 4.9375],
				//"rotationAxis": [1, 0, 0],
				"rotationAxis": [60, 0, 0],
				"rotationVariable": "hood"
			},
			{
				"partName": "$DoorL_Window",
				"rotationPoint": [0, 0.0625, 4.9375],
				//"rotationAxis": [1, 0, 0],
				"rotationAxis": [60, 0, 0],
				"rotationVariable": "hood"
			},
			{
				"partName": "$DoorR",
				"rotationPoint": [0, 0.0625, 4.9375],
				//"rotationAxis": [1, 0, 0],
				"rotationAxis": [60, 0, 0],
				"rotationVariable": "hood"
			},
			{
				"partName": "$DoorR_Window",
				"rotationPoint": [0, 0.0625, 4.9375],
				//"rotationAxis": [1, 0, 0],
				"rotationAxis": [60, 0, 0],
				"rotationVariable": "hood"
			},
			{
				"partName": "$GasPedal",
				"rotationPoint": [0, 0.0625, 4.9375],
				//"rotationAxis": [1, 0, 0],
				"rotationAxis": [60, 0, 0],
				"rotationVariable": "hood"
			},
			{
				"partName": "$Shifter",
				"rotationPoint": [0, 0.0625, 4.9375],
				//"rotationAxis": [1, 0, 0],
				"rotationAxis": [60, 0, 0],
				"rotationVariable": "hood"
			},
			{
				"partName": "$SteeringWheel",
				"rotationPoint": [0, 0.0625, 4.9375],
				//"rotationAxis": [1, 0, 0],
				"rotationAxis": [60, 0, 0],
				"rotationVariable": "hood"
			},
			{
				"partName": "$TurnSignalSwitch",
				"rotationPoint": [0, 0.0625, 4.9375],
				"rotationAxis": [60, 0, 0],
				"rotationVariable": "hood"
			},*/
			{
				"partName": "$GasPedal",
				"rotationPoint": [0.65625, 0.5625, 4.84375],
				//"rotationAxis": [1, 0, 0],
				"rotationAxis": [25, 0, 0],
				"rotationVariable": "throttle"
			},
			{
				"partName": "$BrakePedal",
				"rotationPoint": [0.84375, 0.5625, 4.90625],
				//"rotationAxis": [0.5, 0, 0],
				"rotationAxis": [25, 0, 0],
				"rotationVariable": "brake"
			},
			{
				"partName": "$BrakePedal",
				"rotationPoint": [0.84375, 0.5625, 4.90625],
				//"rotationAxis": [-0.5, 0, 0],
				"rotationAxis": [-25, 0, 0],
				"rotationVariable": "p_brake"
			},
			{
				"partName": "$Shifter",
				"rotationPoint": [1, 1.5, 4.96875],
				"rotationAxis": [0, -0.96592, 0.25882],
				//"rotationVariable": "gearshift"
				"rotationVariable": "engine_gearshift_1"
			},
			{
				"partName": "$TurnSignalSwitch",
				"rotationPoint": [1, 1.5, 4.96875],
				"rotationAxis": [0, 9.6592, -2.5882],
				"rotationVariable": "LeftTurnLight"
			},
			{
				"partName": "$TurnSignalSwitch",
				"rotationPoint": [1, 1.5, 4.96875],
				"rotationAxis": [0, -9.6592, 2.5882],
				"rotationVariable": "RightTurnLight"
			},
			{
				"partName": "$SteeringWheel",
				"rotationPoint": [1, 1.5, 4.96875],
				"rotationAxis": [0, 0.96592, -0.25882],
				//"rotationVariable": "steeringwheel"
				"rotationVariable": "steering_wheel"
			},
			{
				"partName": "$SteeringBar",
				"rotationPoint": [0.0, 0.0, 100],
				"rotationAxis": [0, 0.002, 0.0],
				//"rotationVariable": "steeringwheel"
				"rotationVariable": "steering_wheel"
			},
			{
				"partName": "$DriverFrontBearing",
				"rotationPoint": [1.40625, 0, 3.96875],
				"rotationAxis": [0.0, 1.0, 0.0],
				//"rotationVariable": "steeringwheel"
				"rotationVariable": "steering_wheel"
			},
			{
				"partName": "$PassengerFrontBearing",
				"rotationPoint": [-1.40625, 0, 3.96875],
				"rotationAxis": [0.0, 1.0, 0.0],
				//"rotationVariable": "steeringwheel"
				"rotationVariable": "steering_wheel"
			},
			{
				"partName": "$DriverFrontHub",
				"rotationPoint": [1.40625, 0, 3.96875],
				"rotationAxis": [0.0, 1.0, 0.0],
				//"rotationVariable": "steeringwheel"
				"rotationVariable": "steering_wheel"
			},
			{
				"partName": "$PassengerFrontHub",
				"rotationPoint": [-1.40625, 0, 3.96875],
				"rotationAxis": [0.0, 1.0, 0.0],
				//"rotationVariable": "steeringwheel"
				"rotationVariable": "steering_wheel"
			},
			{
				"partName": "$DriverFrontHub",
				"rotationPoint": [1.4062501, 0, 3.96875],
				"rotationAxis": [1.0, 0.0, 0.0],
				//"rotationVariable": "driveshaft"
				"rotationVariable": "engine_driveshaft_rotation_1"
			},
			{
				"partName": "$PassengerFrontHub",
				"rotationPoint": [-1.4062501, 0, 3.96875],
				"rotationAxis": [1.0, 0.0, 0.0],
				//"rotationVariable": "driveshaft"
				"rotationVariable": "engine_driveshaft_rotation_1"
			},
			{
				"partName": "$RearAxle",
				"rotationPoint": [0.0, 0.0, 0],
				"rotationAxis": [1.0, 0.0, 0.0],
				//"rotationVariable": "driveshaft"
				"rotationVariable": "engine_driveshaft_rotation_1"
			},
			{
				"partName": "$DriveShaft",
				"rotationPoint": [0, 0.09375, 3.09375],
				"rotationAxis": [0, -0.10472, -3.9986],
				//"rotationVariable": "driveshaft"
				"rotationVariable": "engine_driveshaft_rotation_1"
			}, //Steering Linkage
			{
				"partName": "$PitmanArm",
				"rotationPoint": [1.0625, 0, 5.375],
				"rotationAxis": [0.5, 0.0, 0.0],
				//"rotationVariable": "steeringwheel"
				"rotationVariable": "steering_wheel"
			},
			{
				"partName": "$SteeringConnectingRod",
				"rotationPoint": [7.3125, -0.125, 5.71875],
				"rotationAxis": [0.0, -0.0083333, 0.0],
				//"rotationVariable": "steeringwheel"
				"rotationVariable": "steering_wheel"
			},
			{
				"partName": "$PitmanArm2",
				"rotationPoint": [0.9375, -0.15625, 3.84375],
				"rotationAxis": [0.0, 0.5, 0.0],
				//"rotationVariable": "steeringwheel"
				"rotationVariable": "steering_wheel"
			},
			{
				"partName": "$DoorFL",
				"rotationPoint": [1.5, 1.375, 5.34375],
				//"rotationAxis": [0, -1, 0],
				"rotationAxis": [0, -60, 0],
				"rotationVariable": "door"
			},
			{
				"partName": "$DoorFR",
				"rotationPoint": [-1.5, 1.375, 5.34375],
				//"rotationAxis": [0, 1, 0],
				"rotationAxis": [0, 60, 0],
				"rotationVariable": "door"
			},
			{
				"partName": "$DoorBL",
				"rotationPoint": [1.5, 1.375, 2.59375],
				//"rotationAxis": [0, 1, 0],
				"rotationAxis": [0, 60, 0],
				"rotationVariable": "door"
			},
			{
				"partName": "$DoorBR",
				"rotationPoint": [-1.5, 1.375, 2.59375],
				//"rotationAxis": [0, -1, 0],
				"rotationAxis": [0, -60, 0],
				"rotationVariable": "door"
			}
		]
	}
}
