module Base
{
	vehicle CarSmallWreckedRear
	{
		template! = SmallCar,

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

		skin
		{
			texture = Vehicles/vehicle_smallcarshell,
		}
		
		part Headlight*
		{
			lua
			{
				create = CrashedCars.CreatVehicle,
			}
		}

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

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

		extents = 0.7582 0.5934 1.8462,
		physicsChassisShape = 0.7582 0.5934 1.8462,
		centerOfMassOffset = 0.0000 0.3077 0.0000,
		shadowExtents = 0.7582 1.8462,
		shadowOffset = 0.0000 0.0000,
	}
	vehicle CarSmallWreckedFront
	{
		template! = SmallCar,

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

		skin
		{
			texture = Vehicles/vehicle_smallcarshell,
		}

		extents = 0.7582 0.5934 1.8462,
		physicsChassisShape = 0.7582 0.5934 1.8462,
		centerOfMassOffset = 0.0000 0.3077 0.0000,
		shadowExtents = 0.7582 1.8462,
		shadowOffset = 0.0000 0.0000,
		
		part Headlight*
		{
			lua
			{
				create = CrashedCars.CreatVehicle,
			}
		}

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

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