module Base
{
	model 69chargerInterior440
	{
		mesh = vehicles/Vehicles_69charger_Body|charger_interior_pro,
		texture = Vehicles/Vehicles_69charger_Interior,
		shader = vehiclewheel,
		scale = 0.1,
	}
	vehicle 69charger440
	{
		mechanicType = 3,
		offRoadEfficiency = 1.0,
		engineRepairLevel = 4,
		playerDamageProtection = 1.2,
		engineRPMType = firebird,

		model
		{
			file = 69chargerBase,
			scale = 0.9000,
			offset = 0.0000 0.4444 -0.3000,
		}

		spawnOffsetY = 0,

		skin
        {
            texture = Vehicles/Vehicles_69chargerPro_Shell_hemiOrange,
        }

		textureRust = Vehicles/Vehicles_69charger_Rust,
		textureMask = Vehicles/Vehicles_69charger_Mask,
		textureLights = Vehicles/Vehicles_69charger_Lights,
		textureDamage1Shell = Vehicles/Vehicles_69charger_Damage1,
		textureDamage2Shell = Vehicles/Vehicles_69charger_Damage2,
		textureDamage1Overlay = Vehicles/Vehicles_69charger_Blood,
		textureDamage2Overlay = Vehicles/Vehicles_69charger_Blood,
		textureShadow = Vehicles/Vehicles_69chargerRT_Shadow,

		sound
		{
			engine = VehicleEngineSportsCar,
			engineStart = VehicleEngineSportsCar,
			engineTurnOff = VehicleEngineSportsCar,
			horn = VehicleHornSportsCar,
			ignitionFail = VehicleIgnitionFailSportsCar,
		}

		extents = 1.8889 1.1333 5.2222,
		mass = 760,
		physicsChassisShape = 1.8222 1.1333 5.2222,
		centerOfMassOffset = 0.0000 0.5889 -0.2333,
		shadowExtents = 2.0465 5.1236,
		shadowOffset = 0.0000 -0.2232,
		engineForce = 5700,
		maxSpeed = 120f,
		gearRatioCount = 4,
		gearRatioR = 14.1,
		gearRatio1 = 13.2,
		gearRatio2 = 9.7,
		gearRatio3 = 5.8,
		gearRatio4 = 3.5,
		engineLoudness = 84,
		engineQuality = 82,
		brakingForce = 60,
		stoppingMovementForce = 4.0f,
		rollInfluence = 0.98f,
		steeringIncrement = 0.04,
		steeringClamp = 0.3,
		suspensionStiffness = 36,
		suspensionCompression = 3.83,
		suspensionDamping = 2.88,
		maxSuspensionTravelCm = 13,
		suspensionRestLength = 0.3,
		wheelFriction = 1.65f,
		frontEndHealth = 250,
		rearEndHealth = 150,
		seats = 4,

		wheel FrontLeft
		{
			front = true,
			offset = 0.7778 -0.4111 1.6889,
			radius = 0.32f,
			width = 0.19f,
		}

		wheel FrontRight
		{
			front = true,
			offset = -0.7778 -0.4111 1.6889,
			radius = 0.32f,
			width = 0.19f,
		}

		wheel RearLeft
		{
			front = false,
			offset = 0.7778 -0.4111 -1.2444,
			radius = 0.32f,
			width = 0.19f,
		}

		wheel RearRight
		{
			front = false,
			offset = -0.7778 -0.4111 -1.2444,
			radius = 0.32f,
			width = 0.19f,
		}

		template = PassengerSeat4,

		passenger FrontLeft
		{
			showPassenger = true,
			hasRoof = true,

			position inside
			{
				offset = 0.3889 -0.1556 0.2000,
				rotate = 0.0000 0.0000 0.0000,
			}

			position outside
			{
				offset = 1.1778 -0.7333 -0.1222,
				rotate = 0.0000 0.0000 0.0000,
				area = SeatFrontLeft,
			}
		}

		passenger FrontRight
		{
			showPassenger = true,
			hasRoof = true,

			position inside
			{
				offset = -0.3889 -0.1556 0.2000,
				rotate = 0.0000 0.0000 0.0000,
			}

			position outside
			{
				offset = -1.1667 -0.7333 -0.1111,
				rotate = 0.0000 0.0000 0.0000,
				area = SeatFrontRight,
			}
		}

		passenger RearLeft
		{
			showPassenger = true,
			hasRoof = true,
			door = DoorFrontLeft,

			position inside
			{
				offset = 0.2889 -0.1556 -0.6333,
				rotate = 0.0000 0.0000 0.0000,
			}

			position outside
			{
				offset = 1.2000 -0.7222 -1.1333,
				rotate = 0.0000 0.0000 0.0000,
				area = SeatRearLeft,
			}
		}

		passenger RearRight
		{
			showPassenger = true,
			hasRoof = true,
			door = DoorFrontRight,

			position inside
			{
				offset = -0.2889 -0.1556 -0.6222,
				rotate = 0.0000 0.0000 0.0000,
			}

			position outside
			{
				offset = -1.1889 -0.6667 -1.1000,
				rotate = 0.0000 0.0000 0.0000,
				area = SeatRearRight,
			}
		}

		area Engine
		{
			xywh = 0.0000 2.7667 1.5778 0.7778,
		}

		area TruckBed
		{
			xywh = 0.0000 -3.2333 1.5333 0.7778,
		}

		area Roofrack
		{
			xywh = 0.0000 -0.1000 3.0889 1.6222,
		}

		area SeatFrontLeft
		{
			xywh = 1.3000 0.0667 0.7778 1.3778,
		}

		area SeatFrontRight
		{
			xywh = -1.3000 0.0667 0.7778 1.3778,
		}

		area SeatRearRight
		{
			xywh = -1.3000 -1.0889 0.7778 0.9333,
		}

		area SeatRearLeft
		{
			xywh = 1.3000 -1.0889 0.7778 0.9333,
		}

		area GasTank
		{
			xywh = 1.4556 -2.2111 0.7778 0.7778,
		}

		area TireFrontLeft
		{
			xywh = 1.4778 1.3889 0.4222 0.4222,
		}

		area TireFrontRight
		{
			xywh = -1.4778 1.3889 0.4222 0.4222,
		}

		area TireRearLeft
		{
			xywh = 1.4778 -1.5444 0.4222 0.4222,
		}

		area TireRearRight
		{
			xywh = -1.4778 -1.5444 0.4222 0.4222,
		}

		template = CHR69Tires440,
		template = CHR69Seats,
		template = CHR69Bumpers,
		template = CHR69EngineDoor,
		template = CHR69TrunkDoor,
		template = CHR69TrunkCompartment,
		template = CHR69Doors,
		template = CHR69Windows,
		template = CHR69Windshields,
		template = CHR69Armor,
		template = CHR69SpareTire,
		template = CHR69Roofracks,
		template = CHR69LightCovers,

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

			model CHR69bodyRTf
			{
				file = 69chargerRTfront,
			}

			model CHR69bodyRTr
			{
				file = 69chargerRTrear,
			}

			model CHR69int
			{
				file = 69chargerInterior,
			}

			model CHR69intRTf
			{
				file = 69chargerInteriorRTfront,
			}

			model CHR69intRTr
			{
				file = 69chargerInteriorRTrear,
			}

            model CHR69intRTmag
			{
				file = 69chargerInterior440,
			}

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

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

		template = GasTank,

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

			table uninstall
			{
				recipes = Intermediate Mechanics,
			}
		}

		template = Battery,

		part Battery
		{
			model tisbat
			{
				file = 69chargerTISBattery,
			}
		}

		template = Engine,
		template = Muffler,

		part Muffler
		{
			model muffythemufferS
			{
				file = 69chargerExhaust,
			}

			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 = 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,

		part Radio
		{
			model chargerRadio
			{
				file = 69chargerRadio,
			}
		}

		template = Headlight,

		attachment trailer
		{
			offset = 0.0000 -0.2000 -2.5889,
			rotate = 0.0000 0.0000 0.0000,
			zoffset = -1.0000,
		}

		attachment trailerfront
		{
			offset = 0.0000 -0.2000 2.7556,
			rotate = 0.0000 0.0000 0.0000,
			zoffset = 1.0000,
		}
	}
}
