module Base
{

	vehicle CarStationWagonWreckedRear
	{
		template! = CarStationWagon,

		model
		{
			file = Vehicles_CarStationWagonSmashedRear,
			scale = 1.8200,
			offset = 0.0000 0.2692 0.0000,
		}

		skin
		{
			texture = Vehicles/vehicle_statwagonshell,
		}

		skin
		{
			texture = Vehicles/vehicle_statwagon2shell,
		}

		extents = 0.9011 0.6264 2.6593,
		physicsChassisShape = 0.9011 0.6264 2.6593,
		centerOfMassOffset = 0.0000 0.3022 -0.0385,
		shadowExtents = 0.9011 2.6593,
		shadowOffset = 0.0000 -0.0385,
		
		part Headlight*
		{
			lua
			{
				create = CrashedCars.CreatVehicle,
			}
		}

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

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

	vehicle CarStationWagonWreckedFront
	{
		template! = CarStationWagon,

		model
		{
			file = Vehicles_CarStationWagonSmashedFront,
			scale = 1.8200,
			offset = 0.0000 0.2692 0.0000,
		}

		skin
		{
			texture = Vehicles/vehicle_statwagonshell,
		}

		skin
		{
			texture = Vehicles/vehicle_statwagon2shell,
		}

		extents = 0.9011 0.6264 2.6593,
		physicsChassisShape = 0.9011 0.6264 2.6593,
		centerOfMassOffset = 0.0000 0.3022 -0.0385,
		shadowExtents = 0.9011 2.6593,
		shadowOffset = 0.0000 -0.0385,
		
		part Headlight*
		{
			lua
			{
				create = CrashedCars.CreatVehicle,
			}
		}

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

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