module Base
{
	vehicle PickUpTruckWreckedFront
	{
		template! = PickUpTruck,

		model
		{
			file = Vehicles_PickUpTruckSmashedFront,
			scale = 1.8200,
			offset = 0.0000 0.3022 0.0000,
		}

		skin
		{
			texture = Vehicles/vehicle_pickupshell,
		}

		skin
		{
			texture = Vehicles/vehicle_pickupmccoyshell,
		}

		extents = 0.8681 0.6593 2.1868,
		physicsChassisShape = 0.8681 0.6593 2.1868,
		centerOfMassOffset = 0.0000 0.3022 0.0000,
		shadowExtents = 0.8681 2.1868,
		shadowOffset = 0.0000 0.0000,
		
		part Headlight*
		{
			lua
			{
				create = CrashedCars.CreatVehicle,
			}
		}

		attachment trailer
		{
			offset = 0.0000 -0.2747 -1.1813,
			rotate = 0.0000 0.0000 0.0000,
			zoffset = -1.0000,
		}

		attachment trailerfront
		{
			offset = 0.0000 -0.2747 1.1374,
			rotate = 0.0000 0.0000 0.0000,
			zoffset = 1.0000,
		}
	}
	
	vehicle PickUpTruckWreckedRear
	{
		template! = PickUpTruck,

		model
		{
			file = Vehicles_PickUpTruckSmashedRear,
			scale = 1.8200,
			offset = 0.0000 0.3022 0.0000,
		}

		skin
		{
			texture = Vehicles/vehicle_pickupshell,
		}

		skin
		{
			texture = Vehicles/vehicle_pickupmccoyshell,
		}

		extents = 0.8681 0.6593 2.1868,
		physicsChassisShape = 0.8681 0.6593 2.1868,
		centerOfMassOffset = 0.0000 0.3022 0.0000,
		shadowExtents = 0.8681 2.1868,
		shadowOffset = 0.0000 0.0000,
		
		part Headlight*
		{
			lua
			{
				create = CrashedCars.CreatVehicle,
			}
		}

		attachment trailer
		{
			offset = 0.0000 -0.2747 -1.1813,
			rotate = 0.0000 0.0000 0.0000,
			zoffset = -1.0000,
		}

		attachment trailerfront
		{
			offset = 0.0000 -0.2747 1.1374,
			rotate = 0.0000 0.0000 0.0000,
			zoffset = 1.0000,
		}
	}
}
