module Base
{
	model ACPT09Base
	{
		mesh = vehicles/Vehicle_ACPT09_Body,
		shader = vehicle,
		invertX = FALSE,
		scale = 1,
	}
	model ACPT09frontwheelleft
	{
		mesh = vehicles/Vehicle_ACPT09_Wheel_L,
		texture = vehicles/Vehicle_ZIL_wheel,
	}
	model ACPT09frontwheelright
	{
		mesh = vehicles/Vehicle_ACPT09_Wheel_R,
		texture = vehicles/Vehicle_ZIL_wheel,
	}
	vehicle ACPT09Trailer
	{
		mechanicType = 2,
		offRoadEfficiency = 5,
		engineRepairLevel = 2,
		playerDamageProtection = 0.8,

		model
		{
			file = ACPT09Base,
			scale = 1.3600,
			offset = 0.0000 0.1544 0.0000,
		}

		skin
		{
			texture = Vehicles/Vehicle_ACPT09_PIVO,
		}

                skin
		{
			texture = Vehicles/Vehicle_ACPT09_KVAS,
		}

                skin
		{
			texture = Vehicles/Vehicle_ACPT09_RED,
		}

                skin
		{
			texture = Vehicles/Vehicle_ACPT09_GRE,
		}

                skin
		{
			texture = Vehicles/Vehicle_ACPT09_BORCH,
		}

                skin
		{
			texture = Vehicles/Vehicle_ACPT09_VODA,
		}

                skin
		{
			texture = Vehicles/Vehicle_ACPT09_VINO,
		}

		textureShadow = Shadows/Vehicle_ACPT09Trailer_shadow,
		textureMask = Vehicles/Vehicle_ACPT09_Mask,
		textureDamage1Overlay = Vehicles/Vehicle_ACPT09_Damage1,
		textureDamage2Overlay = Vehicles/Vehicle_ACPT09_Damage2,
		textureDamage1Shell = Vehicles/Vehicle_ACPT09_Damage1,
		textureDamage2Shell = Vehicles/Vehicle_ACPT09_Damage2,
		textureRust = Vehicles/Vehicle_ACPT09_Rust,
		extents = 1.2059 0.3971 1.4706,
		mass = 250,
		physicsChassisShape = 1.1176 0.6471 1.3824,
		centerOfMassOffset = 0.0000 0.0221 -0.0956,
		shadowExtents = 1.2644 2.0837,
		shadowOffset = 0.0000 0.1512,
		maxSpeed = 90f,
		brakingForce = 1,
		stoppingMovementForce = 2.0f,
		rollInfluence = 1.0f,
		steeringIncrement = 0.03,
		steeringClamp = 0.3,
		suspensionStiffness = 40,
		suspensionCompression = 1.83,
		suspensionDamping = 1.0,
		maxSuspensionTravelCm = 10,
		suspensionRestLength = 0.2,
		wheelFriction = 3.0f,
		frontEndHealth = 100,
		rearEndHealth = 100,
		seats = 2,

		physics box
		{
			offset = 0.1912 -0.1176 0.8235,
			extents = 0.0735 0.0735 0.8529,
			rotate = 0.0000 -22.0000 0.0000,
		}

		physics box
		{
			offset = -0.1618 -0.1176 0.8235,
			extents = 0.0735 0.0735 0.8529,
			rotate = 0.0000 22.0000 0.0000,
		}

		physics box
		{
			offset = 0.0000 0.0000 -0.6176,
			extents = 0.6471 0.3897 0.5294,
			rotate = 0.0000 0.0000 0.0000,
		}

		wheel FrontLeft
		{
			front = true,
			offset = 0.4779 -0.3897 -0.0515,
			radius = 0.3f,
			width = 0.2f,
		}

		wheel FrontRight
		{
			front = true,
			offset = -0.4706 -0.3971 -0.0515,
			radius = 0.3f,
			width = 0.2f,
		}

		template = Trunk/part/TruckBed,
		template = TrunkDoor,
		template = TruckTank/part/1000FuelTank,

		area GasTank
		{
			xywh = 0.0000 -0.9779 0.2941 0.2941,
		}

		part TruckBed
		{
			mechanicRequireKey = false,

			container
			{
				capacity = 5,
			}
		}

		area TruckBed
		{
			xywh = 0.0000 -1.0074 0.6029 0.3529,
		}

		area TireFrontLeft
		{
			xywh = 0.8235 -0.0515 0.4559 0.4853,
		}

		area TireFrontRight
		{
			xywh = -0.8235 -0.0515 0.4559 0.4853,
		}

		template = Tire/part/TireFrontLeft,
		template = Tire/part/TireFrontRight,

		part TireFrontLeft
		{
			model InflatedTirePlusWheel
			{
				file = ACPT09frontwheelleft,
			}

			table install
			{
				requireInstalled = SuspensionFrontLeft,
			}
		}

		part TireFrontRight
		{
			model InflatedTirePlusWheel
			{
				file = ACPT09frontwheelright,
			}

			table install
			{
				requireInstalled = SuspensionFrontRight,
			}
		}

		template = Suspension/part/SuspensionFrontLeft,
		template = Suspension/part/SuspensionFrontRight,

		attachment trailer
		{
			offset = 0.0000 -0.1176 1.1985,
			rotate = 0.0000 0.0000 0.0000,
			canAttach = trailer,
			updateconstraint = false,
		}
	}
}
