module Base
{
	model 206type5Base
	{
		mesh = vehicles/Vehicles_206_Body,
		invertX = false,
		shader = vehicle,
		scale = 1,
	}
	model 206type5wheel
	{
		mesh = vehicles/Vehicles_206_Wheel,
		texture = vehicles/206_wheel_tex_type5,
		scale = 1.15,
	}
	vehicle 206type5
	{
		mechanicType = 1,
		offRoadEfficiency = 2.5,
		engineRepairLevel = 4,
		playerDamageProtection = 1.1,

		model
		{
			file = 206type5Base,
			scale = 0.9000,
			offset = 0.0000 0.4889 -0.0222,
		}

		skin
		{
			texture = Vehicles/Vehicles_206_Shell_aloy,
		}

		skin
		{
			texture = Vehicles/Vehicles_206_Shell_black,
		}

		skin
		{
			texture = Vehicles/Vehicles_206_Shell_dark_ink_blue,
		}

		skin
		{
			texture = Vehicles/Vehicles_206_Shell_merlot,
		}

		skin
		{
			texture = Vehicles/Vehicles_206_Shell_oxford_white,
		}

		textureRust = Vehicles/Vehicles_206_Rust,
		textureMask = Vehicles/Vehicles_206_Mask,
		textureLights = Vehicles/Vehicles_206_Lights,
		textureDamage1Shell = Vehicles/Vehicles_206_Shell_Damage1,
		textureDamage2Shell = Vehicles/Vehicles_206_Shell_Damage2,
		textureDamage1Overlay = Vehicles/Vehicles_206_Shell_Damage1,
		textureDamage2Overlay = Vehicles/Vehicles_206_Shell_Damage2,

		sound
		{
			engine = VehicleEngineModernCar,
			engineStart = VehicleEngineModernCar,
			engineTurnOff = VehicleEngineModernCar,
			horn = VehicleHornStandard,
			ignitionFail = VehicleIgnitionFailModernCar,
		}

		extents = 1.6444 1.3111 3.8222,
		mass = 800,
		physicsChassisShape = 1.6667 0.3111 1.4444,
		centerOfMassOffset = 0.0000 0.7111 0.1000,
		shadowExtents = 1.7874 3.9149,
		shadowOffset = -0.0032 0.0969,
		engineForce = 4500,
		maxSpeed = 220f,
		engineLoudness = 82,
		engineQuality = 100,
		gearRatioCount = 5,
		gearRatioR = 3.5,
		gearRatio1 = 4.11,
		gearRatio2 = 2.50,
		gearRatio3 = 1.65,
		gearRatio4 = 1.25,
		gearRatio5 = 0.80,
		brakingForce = 90,
		stoppingMovementForce = 4.0f,
		rollInfluence = 0.98f,
		steeringIncrement = 0.04,
		steeringClamp = 0.3,
		suspensionStiffness = 45,
		suspensionCompression = 3.83,
		suspensionDamping = 2.88,
		maxSuspensionTravelCm = 10,
		suspensionRestLength = 0.20f,
		wheelFriction = 1.4f,
		frontEndHealth = 165,
		rearEndHealth = 150,
		seats = 4,

		wheel FrontLeft
		{
			front = true,
			offset = 0.6889 -0.3889 1.2556,
			radius = 0.33f,
			width = 0.2f,
		}

		wheel FrontRight
		{
			front = true,
			offset = -0.6889 -0.3889 1.2556,
			radius = 0.33f,
			width = 0.2f,
		}

		wheel RearLeft
		{
			front = false,
			offset = 0.6889 -0.3889 -1.1556,
			radius = 0.33f,
			width = 0.2f,
		}

		wheel RearRight
		{
			front = false,
			offset = -0.6889 -0.3889 -1.1556,
			radius = 0.33f,
			width = 0.2f,
		}

		template = PassengerSeat4,

		passenger FrontLeft
		{
			position inside
			{
				offset = 0.3111 -0.0556 0.2222,
				rotate = 0.0000 0.0000 0.0000,
			}

			position outside
			{
				offset = 1.2444 -0.5556 -0.0667,
				rotate = 0.0000 0.0000 0.0000,
				area = SeatFrontLeft,
			}
		}

		passenger FrontRight
		{
			position inside
			{
				offset = -0.3111 -0.0556 0.2222,
				rotate = 0.0000 0.0000 0.0000,
			}

			position outside
			{
				offset = -1.2333 -0.5556 -0.0556,
				rotate = 0.0000 0.0000 0.0000,
				area = SeatFrontRight,
			}
		}

		passenger RearLeft
		{
			position inside
			{
				offset = 0.3111 -0.0556 -0.6667,
				rotate = 0.0000 0.0000 0.0000,
			}

			position outside
			{
				offset = 1.2333 -0.4778 -0.9333,
				rotate = 0.0000 0.0000 0.0000,
				area = SeatRearLeft,
			}
		}

		passenger RearRight
		{
			position inside
			{
				offset = -0.3111 -0.0556 -0.6667,
				rotate = 0.0000 0.0000 0.0000,
			}

			position outside
			{
				offset = -1.2333 -0.4778 -0.9111,
				rotate = 0.0000 0.0000 0.0000,
				area = SeatRearRight,
			}
		}

		area Engine
		{
			xywh = 0.0000 2.4000 1.6000 0.7778,
		}

		area TruckBed
		{
			xywh = 0.0000 -2.2000 1.4889 0.7778,
		}

		area SeatFrontLeft
		{
			xywh = 1.2111 0.4222 0.7778 1.0444,
		}

		area SeatFrontRight
		{
			xywh = -1.2111 0.4222 0.7778 1.0444,
		}

		area SeatRearRight
		{
			xywh = -1.2111 -0.5000 0.7778 0.7556,
		}

		area SeatRearLeft
		{
			xywh = 1.2111 -0.5000 0.7778 0.7556,
		}

		area GasTank
		{
			xywh = -1.0333 -1.1444 0.4222 0.4222,
		}

		area TireFrontLeft
		{
			xywh = 1.0333 1.3556 0.4222 0.4222,
		}

		area TireFrontRight
		{
			xywh = -1.0333 1.3556 0.4222 0.4222,
		}

		area TireRearLeft
		{
			xywh = 1.0333 -1.1889 0.4222 0.4222,
		}

		area TireRearRight
		{
			xywh = -1.0333 -1.1889 0.4222 0.4222,
		}

		template = Trunk/part/TruckBed,

		part TruckBed
		{
			container
			{
				capacity = 65,
			}
		}

		part sableSpare
		{
			category = Other,
			area = TruckBed,
			itemType = Base.SmallTrunk,
			mechanicRequireKey = true,
			repairMechanic = true,

			container
			{
				capacity = 16,
				test = Vehicles.ContainerAccess.TruckBed,
			}

			lua
			{
				create = Vehicles.Create.Default,
			}
		}

		template = TrunkDoor,

		part TrunkDoor
		{
			table install
			{
				recipes = Intermediate Mechanics,
			}

			table uninstall
			{
				recipes = Intermediate Mechanics,
			}
		}

		template = Seat/part/SeatFrontLeft,
		template = Seat/part/SeatFrontRight,
		template = Seat/part/SeatRearLeft,
		template = Seat/part/SeatRearRight,

		part Seat*
		{
			table install
			{
				skills = Mechanics:2,
				recipes = Intermediate Mechanics,
			}

			table uninstall
			{
				skills = Mechanics:2,
				recipes = Intermediate Mechanics,
			}
		}

		part GloveBox
		{
			area = SeatFrontRight,
			itemType = Base.GloveBox,
			mechanicRequireKey = true,

			container
			{
				capacity = 7,
				test = Vehicles.ContainerAccess.GloveBox,
			}

			lua
			{
				create = Vehicles.Create.Default,
			}
		}

		part CenterConsole
		{
			area = SeatFrontRight,
			itemType = Base.GloveBox,
			mechanicRequireKey = true,

			container
			{
				capacity = 5,
				test = Vehicles.ContainerAccess.GloveBox,
			}

			lua
			{
				create = Vehicles.Create.Default,
			}
		}

		template = GasTank,

		part GasTank
		{
			install
			{
				skills = Mechanics:7,
				recipes = Intermediate Mechanics,
			}

			uninstall
			{
				skills = Mechanics:7,
				recipes = Intermediate Mechanics,
			}
		}

		template = Battery,
		template = Engine,
		template = Muffler,

		part Muffler
		{
			table install
			{
				recipes = Intermediate Mechanics,
			}

			table uninstall
			{
				recipes = Intermediate Mechanics,
			}
		}

		template = EngineDoor,

		part EngineDoor
		{
			table install
			{
				recipes = Intermediate Mechanics,
			}

			table uninstall
			{
				recipes = Intermediate Mechanics,
			}
		}

		part Heater
		{
			category = engine,

			lua
			{
				update = Vehicles.Update.Heater,
			}
		}

		part PassengerCompartment
		{
			category = nodisplay,

			lua
			{
				update = Vehicles.Update.PassengerCompartment,
			}
		}

		template = Windshield/part/Windshield,
		template = Windshield/part/WindshieldRear,

		part Windshield*
		{
			table install
			{
				recipes = Intermediate Mechanics,
			}

			table uninstall
			{
				recipes = Intermediate Mechanics,
			}
		}

		template = Window/part/WindowFrontLeft,
		template = Window/part/WindowFrontRight,
		template = Window/part/WindowRearRight,
		template = Window/part/WindowRearLeft,

		part Window*
		{
			table install
			{
				recipes = Intermediate Mechanics,
			}

			table uninstall
			{
				recipes = Intermediate Mechanics,
			}
		}

		template = Door/part/DoorFrontLeft,
		template = Door/part/DoorFrontRight,
		template = Door/part/DoorRearLeft,
		template = Door/part/DoorRearRight,

		part Door*
		{
			table install
			{
				recipes = Intermediate Mechanics,
			}

			table uninstall
			{
				recipes = Intermediate Mechanics,
			}
		}

		template = Tire,

		part TireFrontLeft
		{
			model InflatedTirePlusWheel
			{
				file = 206type5wheel,
				offset = 0.0000 0.0000 0.0000,
				rotate = 0.0000 0.0000 0.0000,
			}
		}

		part TireFrontRight
		{
			model InflatedTirePlusWheel
			{
				file = 206type5wheel,
				offset = 0.0000 0.0000 0.0000,
				rotate = 0.0000 0.0000 0.0000,
			}
		}

		part TireRearLeft
		{
			model InflatedTirePlusWheel
			{
				file = 206type5wheel,
				offset = 0.0000 0.0000 0.0000,
				rotate = 0.0000 0.0000 0.0000,
			}
		}

		part TireRearRight
		{
			model InflatedTirePlusWheel
			{
				file = 206type5wheel,
				offset = 0.0000 0.0000 0.0000,
				rotate = 0.0000 0.0000 0.0000,
			}
		}

		template = Brake,

		part Brake*
		{
			table install
			{
				skills = Mechanics:6,
				recipes = Intermediate Mechanics,
			}

			table uninstall
			{
				skills = Mechanics:6,
				recipes = Intermediate Mechanics,
			}
		}

		template = Suspension,

		part Suspension*
		{
			table install
			{
				skills = Mechanics:6,
				recipes = Intermediate Mechanics,
			}

			table uninstall
			{
				skills = Mechanics:6,
				recipes = Intermediate Mechanics,
			}
		}

		template = Radio,
		template = Headlight,

		physics box
		{
			offset = 0.0000 0.3010 0.1111,
			extents = 1.6667 0.4222 3.8444,
			rotate = 1.0000 0.0000 0.0000,
		}

		physics box
		{
			offset = 0.0000 0.6837 -0.4222,
			extents = 1.6667 1.1111 1.1111,
			rotate = 0.0000 0.0000 0.0000,
		}

		physics box
		{
			offset = 0.0000 0.5778 1.4626,
			extents = 1.6667 0.1778 1.1111,
			rotate = 16.0000 0.0000 0.0000,
		}

		physics box
		{
			offset = 0.0000 0.9091 0.6000,
			extents = 1.6667 0.1778 1.1111,
			rotate = 27.0000 0.0000 0.0000,
		}

		physics box
		{
			offset = 0.0000 1.0164 -1.2409,
			extents = 1.6667 0.1333 0.6667,
			rotate = -31.0000 0.0000 0.0000,
		}

		physics box
		{
			offset = 0.0000 0.5797 -1.6487,
			extents = 1.6667 0.5111 0.1778,
			rotate = 10.0000 0.0000 0.0000,
		}

		attachment trailer
		{
			offset = 0.0000 -0.2556 -1.7889,
			rotate = 0.0000 0.0000 0.0000,
			zoffset = -1.0000,
		}

		attachment trailerfront
		{
			offset = 0.0000 -0.2444 2.0444,
			rotate = 0.0000 0.0000 0.0000,
			zoffset = 1.0000,
		}
	}
}
