module Base
{
	model 69chargerDfront
	{
		mesh = vehicles/Vehicles_69charger_Body|daytona_front,
		shader = damn_vehicle_shader,
		scale = 0.1,
	}
	model 69chargerDrear
	{
		mesh = vehicles/Vehicles_69charger_Body|daytona_rear,
		shader = damn_vehicle_shader,
		scale = 0.1,
	}
	model 69chargerInteriorDfront
	{
		mesh = vehicles/Vehicles_69charger_Body|daytona_interior_front,
		texture = Vehicles/Vehicles_69charger_Interior,
		shader = vehiclewheel,
		scale = 0.1,
	}
	model 69chargerInteriorDrear
	{
		mesh = vehicles/Vehicles_69charger_Body|daytona_interior_rear,
		texture = Vehicles/Vehicles_69charger_Interior,
		shader = vehiclewheel,
		scale = 0.1,
	}
	vehicle 69chargerDaytona
	{
		mechanicType = 3,
		offRoadEfficiency = 1.0,
		engineRepairLevel = 4,
		playerDamageProtection = 1.2,
		engineRPMType = firebird,

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

		spawnOffsetY = 0,

		skin
		{
			texture = Vehicles/Vehicles_69chargerDaytona_Shell_alpineWhite,
		}

		skin
		{
			texture = Vehicles/Vehicles_69chargerDaytona_Shell_brightBlue,
		}

		skin
		{
			texture = Vehicles/Vehicles_69chargerDaytona_Shell_brightRed,
		}

		skin
		{
			texture = Vehicles/Vehicles_69chargerDaytona_Shell_copper,
		}

		skin
		{
			texture = Vehicles/Vehicles_69chargerDaytona_Shell_formalBlack,
		}

		skin
		{
			texture = Vehicles/Vehicles_69chargerDaytona_Shell_hemiOrange,
		}

		skin
		{
			texture = Vehicles/Vehicles_69chargerDaytona_Shell_yellow,
		}

        skin
		{
			texture = Vehicles/Vehicles_69chargerDaytona_Shell_burgundy,
		}

        skin
		{
			texture = Vehicles/Vehicles_69chargerDaytona_Shell_theking,
		}

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

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

		extents = 1.8889 1.1333 5.6000,
		mass = 740,
		physicsChassisShape = 1.8222 1.1333 5.6000,
		centerOfMassOffset = 0.0000 0.5889 0.0444,
		shadowExtents = 2.0243 5.4014,
		shadowOffset = 0.0000 0.0102,
		engineForce = 6100,
		maxSpeed = 201f,
		gearRatioCount = 5,
		gearRatioR = 4.54,
		gearRatio1 = 4.12,
		gearRatio2 = 2.42,
		gearRatio3 = 1.58,
		gearRatio4 = 1.31,
		gearRatio5 = 0.78,
		engineLoudness = 87,
		engineQuality = 81,
		brakingForce = 70,
		stoppingMovementForce = 3.5f,
		rollInfluence = 0.90f,
		steeringIncrement = 0.04,
		steeringClamp = 0.3,
		suspensionStiffness = 40,
		suspensionCompression = 3.83,
		suspensionDamping = 2.88,
		maxSuspensionTravelCm = 13,
		suspensionRestLength = 0.3,
		wheelFriction = 1.70f,
		frontEndHealth = 250,
		rearEndHealth = 150,
		seats = 4,

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

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

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

		wheel RearRight
		{
			front = false,
			offset = -0.7667 -0.3889 -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,

			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,

			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 3.2333 1.5778 0.7778,
		}

		area TruckBed
		{
			xywh = 0.0000 -3.1444 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 = CHR69Tires,
		template = CHR69Seats,
		template = CHR69BumpersD,
		template = CHR69EngineDoor,

		part EngineDoor
		{
			model hood8478961721
			{
				file = 69chargerhoodD,
			}
		}

		template = CHR69TrunkDoorD,
		template = CHR69TrunkCompartment,
		template = CHR69Doors,
		template = CHR69Windows,
		template = CHR69SpoilerD,
		template = CHR69Windshields,

		part WindshieldRear
		{
			model windshieldRear
			{
				file = 69chargerwindshieldRearD,
			}
		}

		template = CHR69Armor,

		part DAMNWindshieldRearArmor
		{
			model windra
			{
				file = 69chargerwindshieldrearaD,
			}
		}

		template = CHR69SpareTire,
		template = CHR69Roofracks,
		template = CHR69PopupLights,

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

			model CHR69bodyDf
			{
				file = 69chargerDfront,
			}

			model CHR69bodyDr
			{
				file = 69chargerDrear,
			}

			model CHR69int
			{
				file = 69chargerInterior,
			}

			model CHR69intDf
			{
				file = 69chargerInteriorDfront,
			}

			model CHR69intDr
			{
				file = 69chargerInteriorDrear,
			}

			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,

        part HeadlightLeft
        {
            table install
            {
                requireInstalled = CHR69PopupLights,
            }
        }
        part HeadlightRight
        {
            table install
            {
                requireInstalled = CHR69PopupLights,
            }
        }

		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 3.1444,
			rotate = 0.0000 0.0000 0.0000,
			zoffset = 1.0000,
		}
	}
}
