module Base
{

	vehicle CarSmall02WreckedRear
	{
		template! = SmallCar02,

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

		skin
		{
			texture = Vehicles/vehicle_SmallCar2shell,
		}

		extents = 0.8791 0.6484 2.2088,
		physicsChassisShape = 0.8791 0.6484 2.2088,
		centerOfMassOffset = 0.0000 0.3077 0.0000,
		shadowExtents = 0.8791 2.2088,
		shadowOffset = 0.0000 0.0000,
		
		part Headlight*
		{
			lua
			{
				create = CrashedCars.CreatVehicle,
			}
		}

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

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

	vehicle CarSmall02WreckedFront
	{
		template! = SmallCar02,

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

		skin
		{
			texture = Vehicles/vehicle_SmallCar2shell,
		}

		extents = 0.8791 0.6484 2.2088,
		physicsChassisShape = 0.8791 0.6484 2.2088,
		centerOfMassOffset = 0.0000 0.3077 0.0000,
		shadowExtents = 0.8791 2.2088,
		shadowOffset = 0.0000 0.0000,
		
		part Headlight*
		{
			lua
			{
				create = CrashedCars.CreatVehicle,
			}
		}

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

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