module Base
{
	model IZH2715Base
	{
		mesh = vehicles/Vehicle_IZH2715_Body,
		shader = vehicle,
		invertX = false,
		scale = 1,
	}
	model IZHfrontwheelleft
	{
		mesh = vehicles/Vehicle_IZH_Wheel,
		texture = vehicles/Vehicle_IZH_wheel,
	}
	model IZHfrontwheelright
	{
		mesh = vehicles/Vehicle_IZH_Wheel,
		texture = vehicles/Vehicle_IZH_wheel,
	}
	model IZHbackwheelleft
	{
		mesh = vehicles/Vehicle_IZH_Wheel,
		texture = vehicles/Vehicle_IZH_wheel,
	}
	model IZHbackwheelright
	{
		mesh = vehicles/Vehicle_IZH_Wheel,
		texture = vehicles/Vehicle_IZH_wheel,
	}
	vehicle IZH2715
	{
		mechanicType = 1,
		offRoadEfficiency = 0.6,
		engineRepairLevel = 2,
		playerDamageProtection = 1.5,

		model
		{
			file = IZH2715Base,
			scale = 1.6500,
			offset = 0.0000 0.1200 0.0400,
		}

		skin
		{
			texture = Vehicles/Vehicle_IZH2715_YEL,
		}

		skin
		{
			texture = Vehicles/Vehicle_IZH2715_ORN,
		}

		skin
		{
			texture = Vehicles/Vehicle_IZH2715_RED,
		}

		skin
		{
			texture = Vehicles/Vehicle_IZH2715_GRE,
		}

		skin
		{
			texture = Vehicles/Vehicle_IZH2715_BEZ,
		}

		skin
		{
			texture = Vehicles/Vehicle_IZH2715_BLU,
		}

		skin
		{
			texture = Vehicles/Vehicle_IZH2715_GRA,
		}

		skin
		{
			texture = Vehicles/Vehicle_IZH2715_WHY,
		}

		skin
		{
			texture = Vehicles/Vehicle_IZH2715_GRE2,
		}

		textureRust = Vehicles/Vehicle_IZH2715_Rust,
		textureMask = Vehicles/Vehicle_IZH2715_Mask,
		textureLights = Vehicles/Vehicle_IZH2715_Lights,
		textureDamage1Overlay = Vehicles/Vehicle_IZH2715_DAMAGED1,
		textureDamage1Shell = Vehicles/Vehicle_IZH2715_DAMAGED1,
		textureDamage2Overlay = Vehicles/Vehicle_IZH2715_DAMAGED2,
		textureDamage2Shell = Vehicles/Vehicle_IZH2715_DAMAGED2,

		sound
		{
			engine = VehicleEngineCarNormal,
			engineStart = VehicleEngineCarNormal,
			engineTurnOff = VehicleEngineCarNormal,
			horn = VehicleHornStandard,
			ignitionFail = VehicleIgnitionFailCarNormal,
		}

		extents = 0.8114 0.4114 2.2057,
		mass = 1100,
		physicsChassisShape = 0.7886 0.6057 2.1829,
		centerOfMassOffset = 0.0000 0.3143 -0.0057,
		shadowExtents = 0.7089 2.0010,
		shadowOffset = 0.0000 -0.0189,
		engineForce = 3500,
		engineQuality = 25,
		engineLoudness = 70,
		maxSpeed = 70f,
		gearRatioCount = 4,
		gearRatioR = 7.09,
		gearRatio1 = 7.44,
		gearRatio2 = 2.29,
		gearRatio3 = 1,
		brakingForce = 40,
		rollInfluence = 0.8f,
		steeringIncrement = 0.03,
		steeringClamp = 0.28,
		suspensionStiffness = 40,
		suspensionCompression = 1.9,
		suspensionDamping = 0.88,
		maxSuspensionTravelCm = 10,
		suspensionRestLength = 0.2,
		wheelFriction = 1.4f,
		frontEndHealth = 70,
		rearEndHealth = 70,
		seats = 2,

		wheel FrontLeft
		{
			front = true,
			offset = 0.3029 -0.1257 0.6743,
			radius = 0.15f,
			width = 0.2f,
		}

		wheel FrontRight
		{
			front = true,
			offset = -0.3029 -0.1257 0.6743,
			radius = 0.15f,
			width = 0.2f,
		}

		wheel RearLeft
		{
			front = false,
			offset = 0.3029 -0.1257 -0.5829,
			radius = 0.15f,
			width = 0.2f,
		}

		wheel RearRight
		{
			front = false,
			offset = -0.3029 -0.1257 -0.5829,
			radius = 0.15f,
			width = 0.2f,
		}

		template = PassengerSeat2,

		passenger FrontLeft
		{
			position inside
			{
				offset = 0.1771 0.0857 0.0171,
				rotate = 0.0000 0.0000 0.0000,
			}

			position outside
			{
				offset = 0.5943 -0.4114 0.0686,
				rotate = 0.0000 0.0000 0.0000,
				area = SeatFrontLeft,
			}
		}

		passenger FrontRight
		{
			position inside
			{
				offset = -0.1771 0.0857 0.0057,
				rotate = 0.0000 0.0000 0.0000,
			}

			position outside
			{
				offset = -0.5943 -0.4114 0.0514,
				rotate = 0.0000 0.0000 0.0000,
				area = SeatFrontRight,
			}
		}

		area Engine
		{
			xywh = 0.0000 1.2971 0.5829 0.4114,
		}

		area TruckBed
		{
			xywh = 0.0000 -1.3314 0.6971 0.4114,
		}

		area SeatFrontLeft
		{
			xywh = 0.6114 0.1543 0.4114 0.5371,
		}

		area SeatFrontRight
		{
			xywh = -0.6114 0.1600 0.4114 0.5371,
		}

		area SeatRearRight
		{
			xywh = -0.6114 -0.2914 0.4114 0.4571,
		}

		area SeatRearLeft
		{
			xywh = 0.6114 -0.2971 0.4114 0.4343,
		}

		area GasTank
		{
			xywh = 0.0000 -1.3314 0.4114 0.4114,
		}

		area TireFrontLeft
		{
			xywh = 0.6000 0.7143 0.4114 0.4114,
		}

		area TireFrontRight
		{
			xywh = -0.6000 0.7086 0.4114 0.4114,
		}

		area TireRearLeft
		{
			xywh = 0.6000 -0.5371 0.4114 0.4114,
		}

		area TireRearRight
		{
			xywh = -0.6000 -0.5371 0.4114 0.4114,
		}

		template = Trunk/part/TruckBed,

		part TruckBed
		{
			itemType = Base.BigTrunk,

			container
			{
				capacity = 100,
			}
		}

		template = TrunkDoor,
		template = Seat/part/SeatFrontLeft,
		template = Seat/part/SeatFrontRight,

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

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

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

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

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

		template = GasTank,

		part GasTank
		{
			install
			{
				skills = Mechanics:3,
				recipes = Basic Mechanics,
			}

			uninstall
			{
				skills = Mechanics:3,
				recipes = Basic Mechanics,
			}
		}

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

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

			table uninstall
			{
				recipes = Basic Mechanics,
			}
		}

		template = EngineDoor,

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

			table uninstall
			{
				recipes = Basic 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 = Basic Mechanics,
			}

			table uninstall
			{
				recipes = Basic Mechanics,
			}
		}

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

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

			table uninstall
			{
				recipes = Basic Mechanics,
			}
		}

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

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

			table uninstall
			{
				recipes = Basic Mechanics,
			}
		}

		template = Tire,

		part TireFrontLeft
		{
			model InflatedTirePlusWheel
			{
				file = IZHfrontwheelleft,
			}
		}

		part TireFrontRight
		{
			model InflatedTirePlusWheel
			{
				file = IZHfrontwheelright,
			}
		}

		part TireRearLeft
		{
			model InflatedTirePlusWheel
			{
				file = IZHbackwheelleft,
			}
		}

		part TireRearRight
		{
			model InflatedTirePlusWheel
			{
				file = IZHbackwheelright,
			}
		}

		template = Brake,

		part Brake*
		{
			table install
			{
				skills = Mechanics:2,
				recipes = Basic Mechanics,
			}

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

		template = Suspension,

		part Suspension*
		{
			table install
			{
				skills = Mechanics:2,
				recipes = Basic Mechanics,
			}

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

		template = Radio,
		template = Headlight,

		attachment trailerfront
		{
			offset = 0.0000 -0.0686 1.2743,
			rotate = 0.0000 0.0000 0.0000,
		}

		attachment trailer
		{
			offset = 0.0000 -0.0629 -1.1829,
			rotate = 0.0000 0.0000 0.0000,
		}
	}
}
