﻿{
	"definitions": [
		{
			"name": "§3UNU Weevil MkII School Bus §7[SB-423-MTC]",
			"subName": "_sunflower",
			"extraMaterials": ["mts:unuparts.unuparts_decor_unu_paint_sunflower:0:1"]
		}
	],
	
	"general": {
		"description": "Recommended parts:\nStandard Truck Wheel\nV8H Engine\nStandard Truck Seat\nBus Seat",
		"numberWindows": 36,
		"type": "car",
		"openTop": false,
		"emptyMass": 9000,
		"materials": ["mts:unuparts.unuparts_vehicle_unu_frame_t:0:1", "mts:unuparts.unuparts_crafting_unu_sheetmetal_fender_steel:0:4", "mts:unuparts.unuparts_crafting_unu_sheetmetal_door:0:4", "mts:unuparts.unuparts_crafting_unu_sheetmetal_panel_steel:0:20", "minecraft:glass_pane:0:36"]
	},

	"motorized": {
		"fuelCapacity": 15000,
		"hornSound": "unuparts:unuparts_horn_truck_1",
		"instruments": [
			{ //Main Right
				"pos": [0.71875, 1.128125, 9.375],
				"rot": [45, 0, 0],
				"hudpos": [70, 60],
				"scale": 0.015625,
				//"hudScale": 0.85,
				"hudScale": 0.46875,
				"hudX": 268,
				"hudY": 35
			},
			{ //Main Center
				"pos": [0.875, 1.128125, 9.375],
				"rot": [45, 0, 0],
				"hudpos": [50, 60],
				"scale": 0.015625,
				//"hudScale": 0.85,
				"hudScale": 0.46875,
				"hudX": 200,
				"hudY": 35
			},
			{ //Main Left
				"pos": [1.03125, 1.128125, 9.375],
				"rot": [45, 0, 0],
				"hudpos": [30, 60],
				"scale": 0.015625,
				//"hudScale": 0.85,
				"hudScale": 0.46875,
				"hudX": 132,
				"hudY": 35
			}
		],
		"controls":[],
		"hookupPos": [0, -0.21875, 9.65625],
		"hookupType": "Tow"
	},

	"car": {
		"isBigTruck": false,
		"isFrontWheelDrive": false,
		"isRearWheelDrive": true,
		"dragCoefficient": 0.8,
		"axleRatio": 4.0
	},
	
	"parts": [
		{
			"pos": [-1.40625, 0, 7.5],
			"turnsWithSteer": true,
			"isController": false,
			"types": ["wheel"],
			"customTypes": ["budd"],
			"minValue": 0.625,
			"maxValue": 1.25
		},
		{
			"pos": [1.40625, 0, 7.5],
			"turnsWithSteer": true,
			"isController": false,
			"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": [0.875, 0.875, 8.125],
			"turnsWithSteer": false,
			"isController": true,
			"types": ["seat"],
			"dismountPos": [-2.0625, 0, 8.8125]
		},
		{
			"pos": [0.0, -0.15625, -0.625],
			"rot": [0.0, 180.0, 0.0],
			"types": ["engine_car"],
			//"customTypes": ["v8h"],
			"exhaustPos": [0.5625, -0.28125, -2.34375, -0.5625, -0.28125, -2.34375],
			"exhaustVelocity": [0, 0, 1, 0, 0, 1],
			"minValue": 0.75,
			"maxValue": 1.0
		},
		{
			"pos": [-1, 0.875, -0.125],
			"types": ["seat"],
			"customTypes": ["bus"],
			"dismountPos": [-2.0625, 0, 8.8125]
		},
		{
			"pos": [-1, 0.875, 0.875],
			"types": ["seat"],
			"customTypes": ["bus"],
			"dismountPos": [-2.0625, 0, 8.8125]
		},
		{
			"pos": [-1, 0.875, 1.875],
			"types": ["seat"],
			"customTypes": ["bus"],
			"dismountPos": [-2.0625, 0, 8.8125]
		},
		{
			"pos": [-1, 0.875, 2.875],
			"types": ["seat"],
			"customTypes": ["bus"],
			"dismountPos": [-2.0625, 0, 8.8125]
		},
		{
			"pos": [-1, 0.875, 3.875],
			"types": ["seat"],
			"customTypes": ["bus"],
			"dismountPos": [-2.0625, 0, 8.8125]
		},
		{
			"pos": [-1, 0.875, 4.875],
			"types": ["seat"],
			"customTypes": ["bus"],
			"dismountPos": [-2.0625, 0, 8.8125]
		},
		{
			"pos": [-1, 0.875, 5.875],
			"types": ["seat"],
			"customTypes": ["bus"],
			"dismountPos": [-2.0625, 0, 8.8125]
		},
		{
			"pos": [-1, 0.875, 6.875],
			"types": ["seat"],
			"customTypes": ["bus"],
			"dismountPos": [-2.0625, 0, 8.8125]
		},
		{
			"pos": [1, 0.875, -0.125],
			"types": ["seat"],
			"customTypes": ["bus"],
			"dismountPos": [-2.0625, 0, 8.8125]
		},
		{
			"pos": [1, 0.875, 0.875],
			"types": ["seat"],
			"customTypes": ["bus"],
			"dismountPos": [-2.0625, 0, 8.8125]
		},
		{
			"pos": [1, 0.875, 1.875],
			"types": ["seat"],
			"customTypes": ["bus"],
			"dismountPos": [-2.0625, 0, 8.8125]
		},
		{
			"pos": [1, 0.875, 2.875],
			"types": ["seat"],
			"customTypes": ["bus"],
			"dismountPos": [-2.0625, 0, 8.8125]
		},
		{
			"pos": [1, 0.875, 3.875],
			"types": ["seat"],
			"customTypes": ["bus"],
			"dismountPos": [-2.0625, 0, 8.8125]
		},
		{
			"pos": [1, 0.875, 4.875],
			"types": ["seat"],
			"customTypes": ["bus"],
			"dismountPos": [-2.0625, 0, 8.8125]
		},
		{
			"pos": [1, 0.875, 5.875],
			"types": ["seat"],
			"customTypes": ["bus"],
			"dismountPos": [-2.0625, 0, 8.8125]
		},
		{
			"pos": [1, 0.875, 6.875],
			"types": ["seat"],
			"customTypes": ["bus"],
			"dismountPos": [-2.0625, 0, 8.8125]
		},
		{
			"pos": [1.15625, 0.015625, -2.315625],
			"types": ["generic"],
			"customTypes": ["bumpersticker"],
			"minValue": 0.0,
			"maxValue": 1.0
		},
		{
			"pos": [0.53125, 0.015625, -2.315625],
			"types": ["generic"],
			"customTypes": ["bumpersticker"],
			"minValue": 0.0,
			"maxValue": 1.0
		},
		{
			"pos": [-0.09375, 0.015625, -2.315625],
			"overrideMirror": true,
			"inverseMirroring": true,
			"types": ["generic"],
			"customTypes": ["bumpersticker"],
			"minValue": 0.0,
			"maxValue": 1.0
		},
		{
			"pos": [-0.71875, 0.015625, -2.315625],
			"overrideMirror": true,
			"inverseMirroring": true,
			"types": ["generic"],
			"customTypes": ["bumpersticker"],
			"minValue": 0.0,
			"maxValue": 1.0
		},
		{
			"pos": [1.15625, -0.140625, -2.315625],
			"types": ["generic"],
			"customTypes": ["bumpersticker"],
				"minValue": 0.0,
				"maxValue": 1.0
		},
		{
			"pos": [0.53125, -0.140625, -2.315625],
			"types": ["generic"],
			"customTypes": ["bumpersticker"],
			"minValue": 0.0,
			"maxValue": 1.0
		},
		{
			"pos": [-0.09375, -0.140625, -2.315625],
			"overrideMirror": true,
			"inverseMirroring": true,
			"types": ["generic"],
			"customTypes": ["bumpersticker"],
			"minValue": 0.0,
			"maxValue": 1.0
		},
		{
			"pos": [-0.71875, -0.140625, -2.315625],
			"overrideMirror": true,
			"inverseMirroring": true,
			"types": ["generic"],
			"customTypes": ["bumpersticker"],
			"minValue": 0.0,
			"maxValue": 1.0
		}
	],
	
  "collision": [ //needs to be done
		{ //Roof 1
			"pos": [-0.375, 2.625, 8.625],
			"width": 2.25,
			"height": 0.125
		},
		{ //Roof 2
			"pos": [0.375, 2.625, 8.625],
			"width": 2.25,
			"height": 0.125
		},
		{ //Roof 3
			"pos": [0.0, 2.625, 6.0],
			"width": 3.0,
			"height": 0.125
		},
		{ //Roof 4
			"pos": [0.0, 2.625, 3.0],
			"width": 3.0,
			"height": 0.125
		},
		{ //Roof 5
			"pos": [0.0, 2.625, 0.0],
			"width": 3.0,
			"height": 0.125
		},
		{ //Wheel 1
			"pos": [-1.375, 0.75, 7.5],
			"width": 0.125,
			"height": 0.125
		},
		{ //Wheel 2
			"pos": [1.375, 0.75, 7.5],
			"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.189, 0.190, 0.042, 0.043],
		"hudMouldingTexturePercentages": [0.076, 0.077, 0.029, 0.030],
		"hudTexture": "unuparts:textures/guis/unuparts_hud_unu_truck.png",
		"panelTexture": "unuparts:textures/guis/unuparts_panel_unu_truck.png",
		//"panelTextColor": "#cccccc",
		//"panelLitColor": "#cccccc",
		"defaultDisplayText": "DownTown",
		"displayTextMaxLength": 9,
		"textMarkings": [/*
			{
				"pos": [1.21875, -0.0625, 9.696875],
				"rot": [0, 0.0, 0],
				"scale": 0.13,
				"color": "#000000"
			},
			{
				"pos": [-1.21875, -0.0625, -2.321875],
				"rot": [0, 180, 0],
				"scale": 0.13,
				"color": "#000000"
			}*/
			{
				"pos": [0, 2.53125, 9.32813],
				"rot": [0, 0, 0],
				"scale": 0.57,
				"color": "#000000"
			}
		],
		"rotatableModelObjects": [
			{
				"partName": "$GasPedal",
				"rotationPoint": [0.53125, 0.3125, 9.125],
				//"rotationAxis": [1, 0, 0],
				"rotationAxis": [25, 0, 0],
				"rotationVariable": "throttle"
			},
			{
				"partName": "$BrakePedal",
				"rotationPoint": [0.71875, 0.3125, 9.1875],
				//"rotationAxis": [0.5, 0, 0],
				"rotationAxis": [25, 0, 0],
				"rotationVariable": "brake"
			},
			{
				"partName": "$BrakePedal",
				"rotationPoint": [0.71875, 0.3125, 9.1875],
				//"rotationAxis": [-0.5, 0, 0],
				"rotationAxis": [-25, 0, 0],
				"rotationVariable": "p_brake"
			},
			{
				"partName": "$Shifter",
				"rotationPoint": [0.875, 1.25, 8.875],
				"rotationAxis": [0, 0.93969, -0.34202],
				//"rotationVariable": "gearshift"
				"rotationVariable": "engine_gearshift_1"
			},
			{
				"partName": "$TurnSignalSwitch",
				"rotationPoint": [0.875, 1.25, 8.875],
				"rotationAxis": [0, -9.3969, 3.4202],
				"rotationVariable": "LeftTurnLight"
			},
			{
				"partName": "$TurnSignalSwitch",
				"rotationPoint": [0.875, 1.25, 8.875],
				"rotationAxis": [0, 9.3969, -3.4202],
				"rotationVariable": "RightTurnLight"
			},
			{
				"partName": "$SteeringWheel",
				"rotationPoint": [0.875, 1.25, 8.875],
				"rotationAxis": [0, 0.93969, -0.34202],
				//"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, 7.5],
				"rotationAxis": [0.0, 1.0, 0.0],
				//"rotationVariable": "steeringwheel"
				"rotationVariable": "steering_wheel"
			},
			{
				"partName": "$PassengerFrontBearing",
				"rotationPoint": [-1.40625, 0.0, 7.5],
				"rotationAxis": [0.0, 1.0, 0.0],
				//"rotationVariable": "steeringwheel"
				"rotationVariable": "steering_wheel"
			},
			{
				"partName": "$DriverFrontHub",
				"rotationPoint": [1.40625, 0.0, 7.5],
				"rotationAxis": [0.0, 1.0, 0.0],
				//"rotationVariable": "steeringwheel"
				"rotationVariable": "steering_wheel"
			},
			{
				"partName": "$PassengerFrontHub",
				"rotationPoint": [-1.40625, 0.0, 7.5],
				"rotationAxis": [0.0, 1.0, 0.0],
				//"rotationVariable": "steeringwheel"
				"rotationVariable": "steering_wheel"
			},
			{
				"partName": "$DriverFrontHub",
				"rotationPoint": [1.4062501, 0.0, 7.5],
				"rotationAxis": [1.0, 0.0, 0.0],
				//"rotationVariable": "driveshaft"
				"rotationVariable": "engine_driveshaft_rotation_1"
			},
			{
				"partName": "$PassengerFrontHub",
				"rotationPoint": [-1.4062501, 0.0, 7.5],
				"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"
			}, //Door
			{
				"partName": "$DoorRod",
				"rotationPoint": [-0.5625, 1.0, 15.4375],
				//"rotationAxis": [0.0, 0.0083333, 0.0],
				"rotationAxis": [0.0, 0.5, 0.0],
				"rotationVariable": "door"
			},
			{
				"partName": "$DoorLever",
				"rotationPoint": [0.21875, 1.0625, 9.125],
				//"rotationAxis": [0.0, -0.26666, 0.0],
				"rotationAxis": [0.0, -16, 0.0],
				"rotationVariable": "door"
			},
			{
				"partName": "$DoorL",
				"rotationPoint": [-1.5, -1.8125, 8.375],
				//"rotationAxis": [0.0, -1.5, 0.0],
				"rotationAxis": [0.0, -90, 0.0],
				"rotationVariable": "door"
			},
			{
				"partName": "$DoorR",
				"rotationPoint": [-1.5, -1.8125, 9.25],
				//"rotationAxis": [0.0, 1.5, 0.0],
				"rotationAxis": [0.0, 90, 0.0],
				"rotationVariable": "door"
			}, //Steering Linkage
			{
				"partName": "$PitmanArm",
				"rotationPoint": [0.9375, 0.0, 9.3125],
				"rotationAxis": [0.5, 0.0, 0.0],
				//"rotationVariable": "steeringwheel"
				"rotationVariable": "steering_wheel"
			},
			{
				"partName": "$SteeringConnectingRod",
				"rotationPoint": [7.3125, -0.125, 7.375],
				"rotationAxis": [0.0, -0.0083333, 0.0],
				//"rotationVariable": "steeringwheel"
				"rotationVariable": "steering_wheel"
			},
			{
				"partName": "$PitmanArm2",
				"rotationPoint": [0.9375, -0.15625, 7.375],
				"rotationAxis": [0.0, 0.5, 0.0],
				//"rotationVariable": "steeringwheel"
				"rotationVariable": "steering_wheel"
			},
			{
				"partName": "$FrontAmber",
				"rotationPoint": [0, 2.28125, 9.15625],
				//"rotationAxis": [1.5, 0.0, 0.0],
				"rotationAxis": [90, 0.0, 0.0],
				"rotationVariable": "door"
			},
			{
				"partName": "&$EmergencyLight_FF0000_003FF_110",
				"rotationPoint": [0, 2.28125, 9.15625],
				//"rotationAxis": [1.5, 0.0, 0.0],
				"rotationAxis": [90, 0.0, 0.0],
				"rotationVariable": "door"
			},
			{
				"partName": "&$EmergencyLight_FF0000_FFC00_110",
				"rotationPoint": [0, 2.28125, 9.15625],
				//"rotationAxis": [1.5, 0.0, 0.0],
				"rotationAxis": [90, 0.0, 0.0],
				"rotationVariable": "door"
			},
			{
				"partName": "$FrontRed",
				"rotationPoint": [0, 2.28125, 9.15625],
				//"rotationAxis": [-1.5, 0.0, 0.0],
				"rotationAxis": [-90, 0.0, 0.0],
				"rotationVariable": "door"
			},
			{
				"partName": "&$EmergencyLight_FF8000_003FF_110",
				"rotationPoint": [0, 2.28125, 9.15625],
				//"rotationAxis": [-1.5, 0.0, 0.0],
				"rotationAxis": [-90, 0.0, 0.0],
				"rotationVariable": "door"
			},
			{
				"partName": "&$EmergencyLight_FF8000_FFC00_110",
				"rotationPoint": [0, 2.28125, 9.15625],
				//"rotationAxis": [-1.5, 0.0, 0.0],
				"rotationAxis": [-90, 0.0, 0.0],
				"rotationVariable": "door"
			},
			{
				"partName": "$RearAmber",
				"rotationPoint": [0, 2.28125, -1.96875],
				//"rotationAxis": [-1.5, 0.0, 0.0],
				"rotationAxis": [-90, 0.0, 0.0],
				"rotationVariable": "door"
			},
			{
				"partName": "$&EmergencyLight_FF0000_003FF_110",
				"rotationPoint": [0, 2.28125, -1.96875],
				//"rotationAxis": [-1.5, 0.0, 0.0],
				"rotationAxis": [-90, 0.0, 0.0],
				"rotationVariable": "door"
			},
			{
				"partName": "$&EmergencyLight_FF0000_FFC00_110",
				"rotationPoint": [0, 2.28125, -1.96875],
				//"rotationAxis": [-1.5, 0.0, 0.0],
				"rotationAxis": [-90, 0.0, 0.0],
				"rotationVariable": "door"
			},
			{
				"partName": "$RearRed",
				"rotationPoint": [0, 2.28125, -1.96875],
				//"rotationAxis": [1.5, 0.0, 0.0],
				"rotationAxis": [90, 0.0, 0.0],
				"rotationVariable": "door"
			},
			{
				"partName": "$&EmergencyLight_FF8000_003FF_110",
				"rotationPoint": [0, 2.28125, -1.96875],
				//"rotationAxis": [1.5, 0.0, 0.0],
				"rotationAxis": [90, 0.0, 0.0],
				"rotationVariable": "door"
			},
			{
				"partName": "$&EmergencyLight_FF8000_FFC00_110",
				"rotationPoint": [0, 2.28125, -1.96875],
				//"rotationAxis": [1.5, 0.0, 0.0],
				"rotationAxis": [90, 0.0, 0.0],
				"rotationVariable": "door"
			},
			{
				"partName": "$Hood",
				"rotationPoint": [1.5, 0.625, -2.125],
				//"rotationAxis": [0.0, 0.0, 2.0],
				"rotationAxis": [0.0, 0.0, 120.0],
				"rotationVariable": "hood"
			},
			{
				"partName": "$StopFront",
				"rotationPoint": [1.59375, 1.25, 8.125],
				//"rotationAxis": [0.0, -1.5, 0.0],
				"rotationAxis": [0.0, -90, 0.0],
				"rotationVariable": "door"
			},
			{
				"partName": "$StopFrontLight",
				"rotationPoint": [1.59375, 1.25, 8.125],
				//"rotationAxis": [0.0, 0.33333, 0.0],
				"rotationAxis": [0.0, 20, 0.0],
				"rotationVariable": "door"
			},
			{
				"partName": "&$EmergencyLight_FF0000_003FF_010",
				"rotationPoint": [1.59375, 1.25, 8.125],
				//"rotationAxis": [0.0, -1.83333, 0.0],
				"rotationAxis": [0.0, -110, 0.0],
				"rotationVariable": "door"
			},
			{
				"partName": "&$EmergencyLight_FF0000_FFC00_010",
				"rotationPoint": [1.59375, 1.25, 8.125],
				//"rotationAxis": [0.0, -1.83333, 0.0],
				"rotationAxis": [0.0, -110, 0.0],
				"rotationVariable": "door"
			},
			{
				"partName": "$StopBack",
				"rotationPoint": [1.59375, 1.25, -0.625],
				//"rotationAxis": [0.0, -1.5, 0.0],
				"rotationAxis": [0.0, -90, 0.0],
				"rotationVariable": "door"
			},
			{
				"partName": "$StopBackLight",
				"rotationPoint": [1.59375, 1.25, -0.625],
				//"rotationAxis": [0.0, 0.33333, 0.0],
				"rotationAxis": [0.0, 20, 0.0],
				"rotationVariable": "door"
			},
			{
				"partName": "$&EmergencyLight_FF0000_003FF_010",
				"rotationPoint": [1.59375, 1.25, -0.625],
				//"rotationAxis": [0.0, -1.83333, 0.0],
				"rotationAxis": [0.0, -110, 0.0],
				"rotationVariable": "door"
			},
			{
				"partName": "$&EmergencyLight_FF0000_FFC00_010",
				"rotationPoint": [1.59375, 1.25, -0.625],
				//"rotationAxis": [0.0, -1.83333, 0.0],
				"rotationAxis": [0.0, -110, 0.0],
				"rotationVariable": "door"
			}
		]
	}
}
