module Base
{
	vehicle fr_fo_crownvic_92_police
	{
		mechanicType = 1,
		offRoadEfficiency = 0.8,
		engineRepairLevel = 6,
		playerDamageProtection = 0.8,

		model
		{
			file = Vehicles_fo_crownvic_92,
			scale = 1.8500,
			offset = 0.0000 0.2595 0.0000,
		}

		skin
		{
			texture = Vehicles/vehicle_fo_crownvic_92_police_shell,
		}

		skin
		{
			texture = Vehicles/vehicle_fo_crownvic_92_trooper_shell,
		}

		skin
		{
			texture = Vehicles/vehicle_fo_crownvic_92_police_wp_shell,
		}

		textureMask = Vehicles/vehicle_fo_crownvic_92_mask,
		textureLights = Vehicles/vehicle_fo_crownvic_92_lights,
		textureDamage1Overlay = Vehicles/fr_Veh_Blood_Mask,
		textureDamage2Overlay = Vehicles/fr_Veh_Blood_Hvy,
		textureDamage1Shell = Vehicles/fr_Veh_Damage1,
		textureDamage2Shell = Vehicles/fr_Veh_Damage2,
		textureRust = Vehicles/fr_Veh_Rust,
		
		template = FR_CarSpawnInfo,

		sound
		{
			engine = VehicleEngineCarLuxury,
			engineStart = VehicleEngineCarLuxury,
			engineTurnOff = VehicleEngineCarLuxury,
			horn = VehicleHornStandard,
			ignitionFail = VehicleIgnitionFailCarLuxury,
		}

		extents = 0.8649 0.5405 2.3351,
		mass = 950,
		physicsChassisShape = 0.8649 0.5405 2.3351,
		centerOfMassOffset = 0.0000 0.2703 0.0054,
		shadowExtents = 0.8649 2.3352,
		shadowOffset = 0.0000 0.0054,
		engineForce = 4950,
		maxSpeed = 110f,
		engineLoudness = 90,
		engineQuality = 90,
		brakingForce = 90,
		gearRatioCount = 4,
		gearRatioR = 4.7,
		gearRatio1 = 3.6,
		gearRatio2 = 2.2,
		gearRatio3 = 1.3,
		gearRatio4 = 1.0,
		extentsOffset = 0.5 0.5,
		stoppingMovementForce = 4.0f,
		rollInfluence = 0.9f,
		steeringIncrement = 0.04,
		steeringClamp = 0.3,
		suspensionStiffness = 30,
		suspensionCompression = 3.83,
		suspensionDamping = 2.88,
		maxSuspensionTravelCm = 20,
		suspensionRestLength = 0.3f,
		wheelFriction = 1.4f,
		frontEndHealth = 150,
		rearEndHealth = 150,
		seats = 4,

		wheel FrontLeft
		{
			front = true,
			offset = 0.3514 -0.2432 0.7297,
			radius = 0.155f,
			width = 0.2f,
		}

		wheel FrontRight
		{
			front = true,
			offset = -0.3514 -0.2432 0.7297,
			radius = 0.155f,
			width = 0.2f,
		}

		wheel RearLeft
		{
			front = false,
			offset = 0.3514 -0.2432 -0.5892,
			radius = 0.155f,
			width = 0.2f,
		}

		wheel RearRight
		{
			front = false,
			offset = -0.3514 -0.2432 -0.5892,
			radius = 0.155f,
			width = 0.2f,
		}

		template = PassengerSeat4,

		passenger FrontLeft
		{
			showPassenger = true,

			position inside
			{
				offset = 0.1730 -0.0973 0.0108,
				rotate = 0.0000 0.0000 0.0000,
			}

			position outside
			{
				offset = 0.5459 -0.4162 0.0270,
				rotate = 0.0000 0.0000 0.0000,
				area = SeatFrontLeft,
			}
		}

		passenger FrontRight
		{
			showPassenger = true,

			position inside
			{
				offset = -0.1730 -0.0973 0.0108,
				rotate = 0.0000 0.0000 0.0000,
			}

			position outside
			{
				offset = -0.5459 -0.4162 0.0270,
				rotate = 0.0000 0.0000 0.0000,
				area = SeatFrontRight,
			}
		}

		passenger RearLeft
		{
			showPassenger = true,

			position inside
			{
				offset = 0.1730 -0.1027 -0.3622,
				rotate = 0.0000 0.0000 0.0000,
			}

			position outside
			{
				offset = 0.5459 -0.4162 -0.3351,
				rotate = 0.0000 0.0000 0.0000,
				area = SeatRearLeft,
			}
		}

		passenger RearRight
		{
			showPassenger = true,

			position inside
			{
				offset = -0.1730 -0.1027 -0.3622,
				rotate = 0.0000 0.0000 0.0000,
			}

			position outside
			{
				offset = -0.5459 -0.4162 -0.3351,
				rotate = 0.0000 0.0000 0.0000,
				area = SeatRearRight,
			}
		}

		area Engine
		{
			xywh = 0.0000 1.4216 0.8324 0.4757,
		}

		area TruckBed
		{
			xywh = 0.0000 -1.4216 0.8324 0.4757,
		}

		area SeatFrontLeft
		{
			xywh = 0.6703 0.1946 0.4757 0.4757,
		}

		area SeatFrontRight
		{
			xywh = -0.6703 0.1946 0.4757 0.4757,
		}

		area SeatRearLeft
		{
			xywh = 0.6703 -0.2703 0.4757 0.4216,
		}

		area SeatRearRight
		{
			xywh = -0.6703 -0.2703 0.4757 0.4216,
		}

		area GasTank
		{
			xywh = 0.6703 -0.7297 0.4757 0.4757,
		}

		area TireFrontLeft
		{
			xywh = 0.6703 0.7297 0.4757 0.4757,
		}

		area TireFrontRight
		{
			xywh = -0.6703 0.7297 0.4757 0.4757,
		}

		area TireRearLeft
		{
			xywh = 0.6703 -0.5838 0.4757 0.4757,
		}

		area TireRearRight
		{
			xywh = -0.6703 -0.5838 0.4757 0.4757,
		}

		template = FRTrunk,

		part TruckBed
		{
			itemType = Base.FRNormalTrunk,

			model TrunkFillerEmpty
			{
				file = FRTrunkfiller_Empty,
				offset = 0.04 -0.185 -0.925,
				rotate = 0.0000 -15.0000 0.0000,
			}

			model TrunkFiller1
			{
				file = FRTrunkfiller_CardBoxSmall_1,
				offset = 0.22 -0.185 -0.92,
				rotate = 0.0000 -10.0000 0.0000,
			}

			model TrunkFiller2
			{
				file = FRTrunkfiller_TarpBig_1,
				offset = -0.1 -0.185 -0.93,
				rotate = 0.0000 2.0000 0.0000,
			}
		}

		template = FRTrunkDoor,

		part TrunkDoor
		{
			model TrunkDoor
			{
				file = Trunk_fo_crownvic_92,
			}
		}

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

		part SeatFrontLeft
		{
			model SeatFL
			{
				file = SeatFL_fo_crownvic_92,
			}
		}

		part SeatFrontRight
		{
			model SeatFR
			{
				file = SeatFR_fo_crownvic_92,
			}
		}

		part SeatRearLeft
		{
			model SeatRL
			{
				file = SeatRL_fo_crownvic_92,
			}
		}

		part SeatRearRight
		{
			model SeatRR
			{
				file = SeatRR_fo_crownvic_92,
			}
		}

		template = GloveBox,

		part GloveBox
		{
			container
			{
				capacity = 5,
			}
			
			model Searchlight
			{
				file = Searchlight_fo_crownvic_92,
			}
		}

		template = FRGasTank,
		template = Battery,

		part Battery
		{
			model Battery
			{
				file = FR_CarBatteryNormal,
				offset = -0.2400 -0.0300 0.93,
				rotate = 0.0000 0.0000 0.0000,
			}
		}

		template = FRHardRoof,

		part FRRoof
		{
			model FRRoofHard
			{
				file = RoofHard_fo_crownvic_92,
			}

			model WindowSideLeft
			{
				file = Window_fo_crownvic_92_SL,
			}

			model WindowSideRight
			{
				file = Window_fo_crownvic_92_SR,
			}
		}

		template = FRBumper/part/FRBumperFront,

		part FRBumperFront
		{
			table FRPartInfo
			{
				oneModel = TRUE,
			}

			model FRStockFrontBumper
			{
				file = BumperFront_fo_crownvic_92,
			}
		}

		template = FRBumper/part/FRBumperRear,

		part FRBumperRear
		{
			table FRPartInfo
			{
				oneModel = TRUE,
			}

			model FRStockRearBumper
			{
				file = BumperRear_fo_crownvic_92,
			}
		}

		template = FRBumperBar,

		part FRBumperBar
		{
			table FRPartInfo
			{
				partChance = 80,
				selectItemType = FRPoliceBumperBar,
				selectChance = 100,
			}
			
			model FROffroadBumperBar
			{
				file = FR_Bullbar3,
				offset = 0.0 -0.080 01.19,
				rotate = 0.0000 0.0000 0.0000,
			}

			model FRPoliceBumperBar
			{
				file = FR_Pushbar1,
				offset = 0.0 -0.080 01.19,
				rotate = 0.0000 0.0000 0.0000,
			}
		}

		template = FRAttachmentRoof,

		part FRAttachmentRoof
		{
			itemType = Base.FRTopLightBar;Base.FRTopLightBarModern;Base.FRTopLightsFog,

			table FRPartInfo
			{
				partChance = 100,
				selectItemType = FRTopLightBarModern,
				selectChance = 60,
				excludeItemType = FRTopLightsFog,
			}
			
			model FRTopLightBar
			{
				file = Lightbar_fo_crownvic_92,
			}

			model FRTopLightBarModern
			{
				file = LightbarModern_fo_crownvic_92,
			}
			
			model FRTopLightsFog
			{
				file = FRTopLightsFog1,
				offset = 0.0 0.3400 0.05,
				rotate = 0.0000 0.0000 0.0000,
			}
		}

		lightbar
		{
			soundSiren = VehicleSiren,
			leftCol = 1;0;0,
			rightCol = 0;0;1,
		}

		template = Engine,
		template = FRFuelSystem/part/FRFuelInjection,
		template = FRMuffler,

		part Muffler
		{
			table FRPartInfo
			{
				excludeItemType = OldCarMuffler,
				excludeChance = 100,
			}
			
			model OldCarMuffler
			{
				file = FR_OldMuffler_short1,
				offset = -0.4 -0.27 -0.85,
				rotate = -30.0000 -80.0000 0.0000,
			}

			model NormalCarMuffler
			{
				file = MufflerNormal_fo_crownvic_92,
			}

			model ModernCarMuffler
			{
				file = MufflerPerformance_fo_crownvic_92,
			}
		}

		template = FREngineDoor,

		part EngineDoor
		{
			table FRPartInfo
			{
				oneModel = TRUE,
			}

			model EngineDoor
			{
				file = Hood_fo_crownvic_92,
				rotate = 0 0 0,
			}
		}

		template = Heater,
		template = FRPassengerCompartmentCramped/part/PassengerCompartment,
		template = FRWindshield/part/Windshield,
		template = FRWindshield/part/WindshieldRear,

		part Windshield
		{
			model Default
			{
				file = Windshield_fo_crownvic_92,
			}
		}

		part WindshieldRear
		{
			model Default
			{
				file = RearWindshield_fo_crownvic_92,
			}
		}

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

		part WindowFrontLeft
		{
			model Default
			{
				file = Window_fo_crownvic_92_FL,
			}
		}

		part WindowFrontRight
		{
			model Default
			{
				file = Window_fo_crownvic_92_FR,
			}
		}

		part WindowRearLeft
		{
			itemType = Base.RearWindow,
			area = SeatRearLeft,

			model Default
			{
				file = Window_fo_crownvic_92_RL,
			}
		}

		part WindowRearRight
		{
			itemType = Base.RearWindow,
			area = SeatRearRight,

			model Default
			{
				file = Window_fo_crownvic_92_RR,
			}
		}

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

		part DoorFrontLeft
		{
			model FrontCarDoor
			{
				file = Door_fo_crownvic_92_FL,
			}
		}

		part DoorFrontRight
		{
			model FrontCarDoor
			{
				file = Door_fo_crownvic_92_FR,
			}
		}

		part DoorRearLeft
		{
			model RearCarDoor
			{
				file = Door_fo_crownvic_92_RL,
			}
		}

		part DoorRearRight
		{
			model RearCarDoor
			{
				file = Door_fo_crownvic_92_RR,
			}
		}

		template = FRSedanTire,

		part TireFrontLeft
		{
			table FRPartInfo
			{
				selectItemType = OldTire,
			}
		}
		
		part FRHubcap*
		{
			table FRPartInfo
			{
				parentPart = FRHubcapFrontLeft,
				selectItemType = FR_Hubcap_Police_A,
				partChanceYearMulti =,
				selectMakeType = TRUE,
				selectMakeChance = 100,
				selectGenericType = FALSE,
				excludeItemType = Special,
			}
		}

		template = FRSpareTireTrunk,

		part FRSpareTire
		{
			model ClassicTire
			{
				file = FR_ClassicTireSedan_1,
				offset = 0.0000 -0.030 -0.6200,
				rotate = 0.0000 0.0000 90.0000,
			}
			
			model OldTire
			{
				file = FR_OldTireSedan_1,
				offset = 0.0000 -0.030 -0.6200,
				rotate = 0.0000 0.0000 90.0000,
			}
			
			model NormalTire
			{
				file = FR_NormalTireSedan_1,
				offset = 0.0000 -0.030 -0.6200,
				rotate = 0.0000 0.0000 90.0000,
			}
			
			model ModernTire
			{
				file = FR_PerformanceTireSedan_1,
				offset = 0.0000 -0.030 -0.6200,
				rotate = 0.0000 0.0000 90.0000,
			}
		}

		template = Brake,

		part BrakeFrontLeft
		{
			model BrakeFrontLeft
			{
				file = BrakeFL_fo_crownvic_92,
			}
		}

		part BrakeFrontRight
		{
			model BrakeFrontRight
			{
				file = BrakeFR_fo_crownvic_92,
			}
		}

		part BrakeRearLeft
		{
			model BrakeRearLeft
			{
				file = BrakeRL_fo_crownvic_92,
			}
		}

		part BrakeRearRight
		{
			model BrakeRearRight
			{
				file = BrakeRR_fo_crownvic_92,
			}
		}

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

			table uninstall
			{
				skills = Mechanics:6,
			}
		}

		template = Suspension,

		part SuspensionFrontLeft
		{
			model SuspensionFrontLeft
			{
				file = SuspensionFL_fo_crownvic_92,
			}
		}

		part SuspensionFrontRight
		{
			model SuspensionFrontRight
			{
				file = SuspensionFR_fo_crownvic_92,
			}
		}

		part SuspensionRearLeft
		{
			model SuspensionRearLeft
			{
				file = SuspensionRL_fo_crownvic_92,
			}
		}

		part SuspensionRearRight
		{
			model SuspensionRearRight
			{
				file = SuspensionRR_fo_crownvic_92,
			}
		}

		part Suspension*
		{
			table install
			{
				skills = Mechanics:7,
			}

			table uninstall
			{
				skills = Mechanics:7,
			}
		}

		template = FRRadio_HAM,

		part Radio
		{
			model RadioBlack
			{
				file = FR_RadioCiv_blk,
				offset = 0.0 -0.005 0.355,
				rotate = 0.0000 0.0000 0.0000,
			}

			model RadioRed
			{
				file = FR_RadioCiv_red,
				offset = 0.0 -0.005 0.355,
				rotate = 0.0000 0.0000 0.0000,
			}

			model RadioMakeShift
			{
				file = FR_RadioCiv_makeshift,
				offset = 0.0 -0.005 0.355,
				rotate = 0.0000 0.0000 0.0000,
			}

			model HamRadio1
			{
				file = FR_RadioHam_civ,
				offset = 0.0 -0.005 0.355,
				rotate = 0.0000 0.0000 0.0000,
			}

			model HamRadio2
			{
				file = FR_RadioHam_mil,
				offset = 0.0 -0.005 0.355,
				rotate = 0.0000 0.0000 0.0000,
			}

			model HamRadioMakeShift
			{
				file = FR_RadioHam_makeshift,
				offset = 0.0 -0.005 0.355,
				rotate = 0.0000 0.0000 0.0000,
			}

			model Antenna
			{
				file = FR_AntennaCiv_1,
				offset = -0.37 0.07 0.49,
				rotate = 0.0000 0.0000 0.0000,
			}

			model AntennaMake
			{
				file = FR_AntennaCivMakeshift_1,
				offset = -0.37 0.07 0.49,
				rotate = 0.0000 0.0000 0.0000,
			}

			model HamAntenna1
			{
				file = FR_AntennaHam_1,
				offset = 0.0 0.29 -0.375,
				rotate = 0.0000 0.0000 0.0000,
			}

			model HamAntenna2
			{
				file = FR_AntennaHamMil_1,
				offset = -0.3 -0.065 -1.16,
				rotate = 0.0000 -5.0000 0.0000,
			}

			model HamAntennaMake
			{
				file = FR_AntennaHamMakeshift_1,
				offset = -0.23 0.28 -0.375,
				rotate = 0.0000 -90.0000 0.0000,
			}
		}

		template = Headlight,

		attachment trailer
		{
			offset = 0.0000 -0.1838 -1.1946,
			rotate = 0.0000 0.0000 0.0000,
			zoffset = -1.0000,
		}

		attachment trailerfront
		{
			offset = 0.0000 -0.1838 1.1676,
			rotate = 0.0000 0.0000 0.0000,
			zoffset = 1.0000,
		}
	}
}
