{// Trin base JSON - car
  "motorized": {
    "isFrontWheelDrive": false,
    "isRearWheelDrive": true,
	"hasOpenTop": false,
    "hasAutopilot": true, //cruise control.
	"hasRunningLights":true,
	"hasHeadlights":true,
	"hasTurnSignals":true,
    "emptyMass": 2000,
    "fuelCapacity": 50000,
	"defaultFuelQty": 0,
	"downForce": 0.25,
	"overSteer": -1,
	"axleRatio": 3.5,
	"brakingFactor": 2.2,
	"maxTiltAngle": -2.3,
	"dragCoefficient": 0.7
  },
  "general": {
    "stackSize": 1,
	"materials": ["minecraft:iron_ingot:0:16", "minecraft:iron_block:0:X","minecraft:glowstone_dust:0:16","minecraft:glass_pane:0:X","mts:iv_tpp.metal_pile_X:0:","mts:iv_tpp.chassis_X:0:1"]
  },
  "definitions": [
    {
      "subName": "_color_interior",
	  "modelName":"model_name",
	  "textureName":"texture_name",
      "name" : "Trin *model* *root/comfort/substantial/TQ1/TQ2/TQ3* Trim - *color* paint, *interior* interior",
	  "description": "car description\n\nRecommended parts:\n? Wheels (x4)\n? Engine\nModel ? Seats",
      "extraMaterials": ["mts:iv_tpp.paint_double_bucket_redandblack:0:1","minecraft:wool:7:2","minecraft:wool:8:3"]
    }
  ],
  "parts": [
		{//wheel RL (rear left)
			"pos" : [,,],
			"rot" : [0, 0, 0],
			"turnsWithSteer" : false,
			"inverseMirroring": false,
			"types": ["ground_wheel"],
			"minValue" : 0,
			"maxValue" : 0.875
		},
		{//wheel RR (rear right)
			"pos" : [,,],
			"rot" : [0, 0, 0],
			"turnsWithSteer" : false,
			"inverseMirroring": false,
			"types": ["ground_wheel"],
			"minValue" : 0,
			"maxValue" : 0.875
		},
		{//wheel FL (front left)
			"pos" : [,,],
			"rot" : [0, 0, 0],
			"turnsWithSteer" : true,
			"inverseMirroring": false,
			"types": ["ground_wheel"],
			"minValue" : 0,
			"maxValue" : 0.875
		},
		{//wheel FR (front right)
			"pos" : [,,],
			"rot" : [0, 0, 0],
			"turnsWithSteer" : true,
			"inverseMirroring": false,
			"types": ["ground_wheel"],
			"minValue" : 0,
			"maxValue" : 0.875
		},
		{//driver seat
			"pos" : [,,],
			"rot" : [0, 0, 0],
			"types" : ["seat"],
            "dismountPos": [,,],
			"isController" : true,
            "linkedDoor": "door_fl"
		},
		{//passenger seat
			"pos" : [,,],
			"rot" : [0, 0, 0],
			"types" : ["seat"],
            "dismountPos": [,,],
            "linkedDoor": "door_fr",
			"additionalPart" :
				{//luggage on seat
					"pos" : [,,],
					"types" : ["interactable_luggage"],
					"rot" : [0, 90, 0],
					"minValue" : 0.0,
					"maxValue" : 2.0
				}
		},
		{//engine (V12: 2, V10: 0.7, V8: 0.6, V6: 0.4, i5/i4: 0.3, i3: 0.2, HV8: 0.9, HV10: 1)
			"pos" : [,,],
			"rot" : [0, 0, 0],
			"types" : ["engine_car"],
            "linkedDoor": "door_hood",
			"minValue" : 0,
			"maxValue" : 0.34,
			"intakeOffset" : 0
		},
		{//license plate (front)
			"pos" : [,,],
			"rot" : [0, 0, 0],
			"types" : ["generic_licenseplate_us","generic_licenseplate_euro"],
			"minValue" : 0.0,
			"maxValue" : 3.0,
			"defaultPart" : "iv_tpp:plate_gramados"
		},
		{//license plate (rear)
			"pos" : [,,],
			"types" : ["generic_licenseplate_us","generic_licenseplate_euro"],
			"minValue" : 0.0,
			"maxValue" : 3.0,
			"rot" : [0, 180, 0],
			"defaultPart" : "iv_tpp:plate_gramados"
		},
		{//invisiseat (UNU)
			"pos" : [,,],
			//"defaultPart" : "unuparts:unuparts_part_unu_seat_invisible",
			"types" : ["seat_invisible"],
			"rot" : [0, 0, 0]
		},
		{//spare wheel
			"pos" : [,,],
			"types" : ["ground_wheel"],
			"isSpare":true,
			"minValue" : 0.70,
			"maxValue" : 0.875,
			"turnsWithSteer" : true,
			"inverseMirroring": false
		},
		{//lightbar/roof device
			"pos" : [,,],
			"types" : ["generic_lightbar","generic_roofdevice"],
			"minValue" : 0.0,
			"maxValue" : 3.0
		},
		{//bull bar
			"pos" : [,,],
			"types" :["generic_bullbar"],
			"minValue" : 0.0,
			"maxValue" : 2.0,
			"overrideMirror" : true
		},
		{//luggage
			"pos" : [,,],
			"rot" : [0, 0, 0],
			"types" : ["interactable_luggage"],
			"minValue" : 0.0,
			"maxValue" : 2.0,
            "linkedDoor": "door_boot"
		},
		{//bumpersticker
			"pos" : [,,],
			"types" : ["generic_bumpersticker"],
			"rot" : [0, 0, 0],
			"minValue" : 0.0,
			"maxValue" : 1.0,
			"overrideMirror" : true
		},
		{//roof_crate
			"pos" : [,,],
			"types" : ["interactable_crate_roof"],
			"minValue" : 0.0,
			"maxValue" : 3.0,
			"overrideMirror" : true
		},
		{//classic crates
			"pos" : [,,],
			"types" : ["interactable_crate"],
			"rot" : [0, 0, 0],
			"minValue" : 0.0,
			"maxValue" : 3.0,
			"overrideMirror" : true,
            "linkedDoor": "door_boot"
		},
		{//gyrophare
			"pos" : [,,],
			"types" : ["generic_gyrophare"],
			"minValue" : 0.0,
			"maxValue" : 3.0
		},
		{//small flag
			"pos" : [,,],
			"types" : ["generic_flag_small"],
			"minValue" : 0.0,
			"maxValue" : 3.0
		},
		{//leds
			"pos" : [,,],
			"types" : ["generic_ledlight"],
			"minValue" : 0.0,
			"maxValue" : 3.0
		},
		{//furniture
			"pos" : [,,],
			"types" : ["custom","interactable_crate"],
			"customTypes" : ["seat_furniture","interactable_furniture","generic_furniture"],
			"minValue" : 0.0,
			"maxValue" : 3.0
		}
	],  
  "collision": [
    {//front
      "pos": [,,],
      "width": 2.0,
      "height": 0.125,
	  "isInterior": false
    },
    {//roof
      "pos": [,,],
      "width": 2.0,
      "height": 0.125,
	  "isInterior": false
    },
    {//floor
      "pos": [,,],
      "width": 2.0,
      "height": 0.125,
	  "isInterior": true
    },
    {//back
      "pos": [,,],
      "width": 2.0,
      "height": 0.125,
	  "isInterior": false
    }
  ],
  "doors": [
    {//door hitbox front left positions
            "name": "door_fl",
			"closedByDefault" : false,
			"closeOnMovement":true,
			"activateOnSeated":true, 
            "closedPos": [,,],
            "openPos": [,,],
            "width": 0.3125,
            "height": 0.125
        },
		{//door hitbox front right positions
            "name": "door_fr",
			"closedByDefault" : false,
			"closeOnMovement":true,
			"activateOnSeated":true, 
            "closedPos": [,,],
            "openPos": [,,],
            "width": 0.3125,
            "height": 0.125
        },
		{//door hitbox rear left positions
            "name": "door_rl",
			"closedByDefault" : false,
			"closeOnMovement":true,
			"activateOnSeated":true, 
            "closedPos": [,,],
            "openPos": [,,],
            "width": 0.3125,
            "height": 0.125
        },
		{//door hitbox rear right positions
            "name": "door_rr",
			"closedByDefault" : false,
			"closeOnMovement":true,
			"activateOnSeated":true, 
            "closedPos": [,,],
            "openPos": [,,],
            "width": 0.3125,
            "height": 0.125
        },
		{//hood hitbox positions
            "name": "door_hood",
			"closedByDefault" : false,
			"closeOnMovement":false,
			"activateOnSeated":false, 
            "closedPos": [,,],
            "openPos": [,,],
            "width": 1,
            "height": 0.5
        },
		{//boot hitbox positions
            "name": "door_boot",
			"closedByDefault" : true,
			"closeOnMovement":false,
			"activateOnSeated":true, 
            "closedPos": [,,],
            "openPos": [,,],
            "width": 0.3125,
            "height": 0.125
        }
  ],
  "connectionGroups": [
    {
		"groupName": "HOOKUP",
		"hookup": true,
		"connections": [
			{//towed from bumper (front)
				"type": "tow_bumper",
				"pos": [,,],
				"distance": 0.0
			},
			{//towed from bumper (rear)
				"type": "tow_bumper",
				"pos": [,,],
				"distance": 0.0
			},
			{//towed from wheels (front)
				"type": "tow_wheel",
				"pos": [,,],
				"distance": 0.0
			}
		]
	},
	{
		"groupName": "TRAILER",
		"canIntiateConnections": true,
		"connections": [
			{
				"type": "trailer_standard",
				"pos": [0.0,0.25,-1.201],
				"distance": 0.0
			}
		]
	}
  ],
  "instruments": [
    {//1
		"pos": [,,],
		"rot": [0,0,0],
		"scale": 0.015625,
		"hudX": 80,
		"hudY": 36,
		"hudScale": 0.25,
		"optionalPartNumber": 0
	},
	{//2
		"pos": [,,],
		"rot": [0,0,0],
		"scale": 0.015625,
		"hudX": 160,
		"hudY": 36,
		"hudScale": 0.5,
		"optionalPartNumber": 0
	},
	{//3
		"pos": [,,],
		"rot": [0,0,0],
		"scale": 0.015625,
		"hudX": 240,
		"hudY": 36,
		"hudScale": 0.5,
		"optionalPartNumber": 0
	},
	{//4
		"pos": [,,],
		"rot": [0,0,0],
		"scale": 0.015625,
		"hudX": 320,
		"hudY": 36,
		"hudScale": 0.25,
		"optionalPartNumber": 0
	}
  ],
  "rendering": {
    "animatedObjects": [
      {//steer
			"objectName": "steer",
			"animations" : [
				{
					"animationType": "rotation",
					"centerPoint": [,,],
					"axis": [0, 0, 1],
					"variable": "rudder",
					"clampMin": 0.0,
					"clampMax": 0.0
				}
			]
		},
		{//gas
			"objectName": "gas",
			"animations" : [
				{
					"animationType": "rotation",
					"centerPoint": [,,],
					"axis": [-20, 0, 0],
					"variable": "throttle",
					"clampMin": 0.0,
					"clampMax": 0.0
				}
			]
		},
		{//brake
			"objectName": "brake",
			"animations" : [
				{
					"animationType": "rotation",
					"centerPoint": [,,],
					"axis": [-20, 0, 0],
					"variable": "brake",
					"clampMin": 0.0,
					"clampMax": 0.0
				}
			]
		},
		{//clutch
			"objectName": "clutch",
			"animations" : [
				{
					"animationType": "visibility",
					"variable": "engine_isautomatic_1",
					"clampMin": 0.0,
					"clampMax": 0.0
				},
				{
					"animationType": "rotation",
					"centerPoint": [,,],
					"axis": [-30, 0, 0],
					"variable": "clutch",
					"clampMin": 0.0,
					"clampMax": 0.0
				}
			]
		},
		{//p_brake
			"objectName": "p_brake",
			"animations" : [
				{
					"animationType": "rotation",
					"centerPoint": [,,],
					"axis": [-30, 0, 0],
					"variable": "p_brake",
					"clampMin": 0.0,
					"clampMax": 0.0
				}
			]
		},
		{//shift
			"objectName": "shift",
			"animations" : [
				{
					"animationType": "rotation",
					"centerPoint": [,,],
					"axis": [1, 0, 0],
					"variable": "engine_gearshift_1",
					"clampMin": 0.0,
					"clampMax": 0.0
				}
			]
		},
		{//classic doors right
			"objectName": "doorFR",
			"animations" : [
				{
					"animationType": "rotation",
					"centerPoint": [,,],
					"axis": [0, 60, 0],
					"variable": "door_fr",
					"clampMin": 0.0,
					"clampMax": 0.0,
					"duration": 20,
					"forwardsStartSound": "iv_tpp:dooropen",
					"reverseEndSound": "iv_tpp:doorclose"
				}
			]
		},
		{//classic doors right window
			"objectName": "doorwindowFR",
			"applyAfter": "doorFR",
			"animations" : []
		},
		{//classic doors left
			"objectName": "doorFL",
			"animations" : [
				{
					"animationType": "rotation",
					"centerPoint": [,,],
					"axis": [0, -60, 0],
					"variable": "door_fl",
					"clampMin": 0.0,
					"clampMax": 0.0,
					"duration": 20,
					"forwardsStartSound": "iv_tpp:dooropen",
					"reverseEndSound": "iv_tpp:doorclose"
				}
			]
		},
		{//classic doors left window
			"objectName": "doorwindowFL",
			"applyAfter": "doorFL",
			"animations" : []
		},
		{//gullwing doors right
			"objectName": "doorFR",
			"animations" : [
				{
					"animationType": "rotation",
					"centerPoint": [,,],
					"axis": [0, 0, 60],
					"variable": "door_fr",
					"clampMin": 0.0,
					"clampMax": 0.0,
					"duration": 20,
					"forwardsStartSound": "iv_tpp:dooropen",
					"reverseEndSound": "iv_tpp:doorclose"
				}
			]
		},
		{//lambo doors right
			"objectName": "doorFR",
			"animations" : [
				{
					"animationType": "rotation",
					"centerPoint": [,,],
					"axis": [60, 0, 0],
					"variable": "door_fr",
					"clampMin": 0.0,
					"clampMax": 0.0,
					"duration": 20,
					"forwardsStartSound": "iv_tpp:dooropen",
					"reverseEndSound": "iv_tpp:doorclose"
				}
			]
		},
		{//hood
			"objectName": "hood",
			"animations" : [
				{
					"animationType": "rotation",
					"centerPoint": [,,],
					"axis": [-60, 0, 0],
					"variable": "door_hood",
					"clampMin": 0.0,
					"clampMax": 0.0,
					"duration": 20,
					"forwardsStartSound": "iv_tpp:hoodopen",
					"reverseStartSound": "iv_tpp:hoodclose"
				}
			]
		},
		{//boot
			"objectName": "boot",
			"animations" : [
				{
					"animationType": "rotation",
					"centerPoint": [,,],
					"axis": [60, 0, 0],
					"variable": "door_boot",
					"clampMin": 0.0,
					"clampMax": 0.0,
					"duration": 20,
					"forwardsStartSound": "iv_tpp:bootopen",
					"reverseEndSound": "iv_tpp:bootclose"
				}
			]
		},
		{//translation example
			"objectName": "example",
			"animations" : [
				{
					"animationType": "translation",
					"axis": [60, 0, 0],
					"variable": "example",
					"clampMin": 0.0,
					"clampMax": 0.0
				}
			]
		}
    ],
    "lightObjects":[],
	"textObjects": [
            {//front
                "pos": [,,],
                "rot": [0,0,0],
                "scale": 0.125,
                "color": "#000000",
                "fieldName": "License Plate",
                "defaultText": "model r/c/s/tq1/tq2/tq3",
                "maxLength": 8,
                "lightsUp": false,
                "renderPosition": 0
                
            },
            {//rear
                "pos": [,,],
                "rot": [0,180,0],
                "scale": 0.15,
                "color": "#000000",
                "fieldName": "License Plate",
                "defaultText": "model r/c/s/tq1/tq2/tq3",
                "maxLength": 8,
                "lightsUp": false,
                "renderPosition": 0
            }
        ],
	"cameraObjects": [],
    "sounds": [
      {//horn
        "name": "iv_tcp:horn_1",
        "activeAnimations": [
          {
            "animationType": "visibility",
            "variable": "horn",
            "clampMin": 1.0,
            "clampMax": 1.0
          }
        ],
        "looping": true
      }/*,  FOR BIG VEHICLES
      {
        "name": "mts:air_brake_activating",
        "activeAnimations": [
          {
            "animationType": "visibility",
            "variable": "p_brake",
            "clampMin": 1.0,
            "clampMax": 1.0
          }
        ]
      },
      {
        "name": "mts:backup_beeper",
        "activeAnimations": [
          {
            "animationType": "visibility",
            "variable": "engine_gear_1",
            "clampMin": -10.0,
            "clampMax": -1.0
          }
        ],
        "looping": true
      }*/
    ],
	"particles": [
      {//engine exhaust smoke
        "type": "smoke",
		"pos": [,,],
        "activeAnimations": [
          {
            "animationType": "visibility",
            "variable": "engine_piston_1_2_cam_1",
            "clampMin": 1.0,
            "clampMax": 1.0
          }
        ],
        "color": "#D9D9D9",
        "transparency": 0.25,
        "toTransparency": 0.25,
        "scale": 1.0,
        "initialVelocity": [0.0,-1.0,0.0]
      },
	  {//engine exhaust smoke
        "type": "smoke",
		"pos": [,,],
        "activeAnimations": [
          {
            "animationType": "visibility",
            "variable": "engine_piston_2_2_cam_1",
            "clampMin": 1.0,
            "clampMax": 1.0
          }
        ],
        "color": "#D9D9D9",
        "transparency": 0.25,
        "toTransparency": 0.25,
        "scale": 1.0,
        "initialVelocity": [0.0,-1.0,0.0]
      },
      {//engine backfire smoke
        "type": "smoke",
        "activeAnimations": [
          {
            "animationType": "visibility",
            "variable": "engine_backfired_1",
            "clampMin": 1.0,
            "clampMax": 1.0
          }
        ],
        "color": "#000000",
        "scale": 2.5,
        "initialVelocity": [0.0,-1.0,0.0],
        "quantity": 5
      }
    ],
	"customVariables": ["map_light","emergency_light"]
  }
}