module Base
{
	model BRDM2Base
	{
		mesh = vehicles/Vehicle_BRDM2_Body,
		shader = vehicle_norandom_multiuv_noreflect,
		invertX = FALSE,
		scale = 1,
	}
	model BRDM2frontwheelleft
	{
		mesh = vehicles/Vehicle_BRDM2_Tire,
		texture = vehicles/Vehicle_BRDM2Tire,
		shader = vehiclewheel,
	}
	model BRDM2frontwheelright
	{
		mesh = vehicles/Vehicle_BRDM2_Tire,
		texture = vehicles/Vehicle_BRDM2Tire,
		shader = vehiclewheel,
	}
	model BRDM2backwheelleft
	{
		mesh = vehicles/Vehicle_BRDM2_Tire,
		texture = vehicles/Vehicle_BRDM2Tire,
		shader = vehiclewheel,
	}
	model BRDM2backwheelright
	{
		mesh = vehicles/Vehicle_BRDM2_Tire,
		texture = vehicles/Vehicle_BRDM2Tire,
		shader = vehiclewheel,
	}
	vehicle BRDM2
	{
		mechanicType = 2,
		offRoadEfficiency = 1.1,
		engineRepairLevel = 4,
		playerDamageProtection = 1.3,

		model
		{
			file = BRDM2Base,
			scale = 0.6300,
			offset = 0.0000 -0.0159 0.0000,
		}

		skin
		{
			texture = Vehicles/Vehicle_BRDM2_USMC,
		}

		skin
		{
			texture = Vehicles/Vehicle_BRDM2_USSR,
		}

		textureRust = Vehicles/Vehicle_BRDM2_rust,
		textureMask = Vehicles/Vehicle_BRDM2_mask,
		textureLights = Vehicles/Vehicle_BRDM2_lights,
		textureDamage1Shell = Vehicles/Vehicle_BRDM2_damage,
		textureDamage2Shell= Vehicles/Vehicle_BRDM2_damage2,
		textureDamage1Overlay = Vehicles/Vehicle_BRDM2_blood,
		textureDamage2Overlay = Vehicles/Vehicle_BRDM2_blood,

		sound =
		{
			engine = VehicleEngineSUV,
			engineStart = VehicleEngineSUV,
			engineTurnOff = VehicleEngineSUV,
			horn = VehicleHornStandard,
			ignitionFail = VehicleIgnitionFailSUV,
		}

		extents = 3.1746 3.2698 7.2063,
		mass = 1500,
		physicsChassisShape = 3.1746 2.5714 7.2063,
		centerOfMassOffset = 0.0000 1.2698 -0.2381,
		shadowExtents = 3.1823 7.5323,
		shadowOffset = 0.0476 -0.2317,
		engineForce = 8500,
		maxSpeed = 50f,
		engineLoudness = 130,
		engineQuality = 85,
		gearRatioCount = 3,
		gearRatioR = 3,
		gearRatio1 = 11,
		gearRatio2 = 8,
		gearRatio3 = 4,
		gearRatio4 = 2,
		brakingForce = 60,
		stoppingMovementForce = 4.0f,
		rollInfluence = 0.50f,
		steeringIncrement = 0.04,
		steeringClamp = 0.3,
		suspensionStiffness = 45,
		suspensionCompression = 3.83,
		suspensionDamping = 2.88,
		maxSuspensionTravelCm = 12,
		suspensionRestLength = 0.5,
		wheelFriction = 1.6f,
		frontEndHealth = 4500,
		rearEndHealth = 3500,
		seats = 4,

		wheel FrontLeft
		{
			front = true,
			offset = -1.2698 0.0794 1.5238,
			radius = 0.60f,
			width = 0.30f,
		}

		wheel FrontRight
		{
			front = true,
			offset = 1.2222 0.0794 1.5238,
			radius = 0.60f,
			width = 0.30f,
		}

		wheel RearLeft
		{
			front = false,
			offset = -1.2540 0.0794 -2.2063,
			radius = 0.60f,
			width = 2.22f,
		}

		wheel RearRight
		{
			front = false,
			offset = 1.2222 0.0794 -2.2063,
			radius = 0.60f,
			width = 2.22f,
		}

		template = PassengerSeat4,

		passenger FrontLeft
		{
			position inside
			{
				offset = 0.3810 0.7460 1.1270,
				rotate = 0.0000 0.0000 0.0000,
			}

			position outside
			{
				offset = 2.0794 -0.6984 0.0159,
				rotate = 0.0000 0.0000 0.0000,
				area = SeatFrontLeft,
			}
		}

		passenger FrontRight
		{
			position inside
			{
				offset = -0.3492 0.7460 1.1270,
				rotate = 0.0000 0.0000 0.0000,
			}

			position outside
			{
				offset = -2.0476 -1.0000 0.1429,
				rotate = 0.0000 0.0000 0.0000,
				area = SeatFrontRight,
			}
		}

		passenger MiddleLeft
		{
			showPassenger = true,

			position inside
			{
				offset = 0.6984 2.0952 -2.5397,
				rotate = 0.0000 0.0000 0.0000,
			}

			position outside
			{
				offset = 2.0794 -0.6984 0.0159,
				rotate = 0.0000 0.0000 0.0000,
				area = SeatMiddleLeft,
			}
		}

		passenger MiddleRight
		{
			showPassenger = true,

			position inside
			{
				offset = -0.6984 2.0952 -2.5397,
				rotate = 0.0000 0.0000 0.0000,
			}

			position outside
			{
				offset = -2.0476 -1.0000 -2.1270,
				rotate = 0.0000 0.0000 0.0000,
				area = SeatMiddleRight,
			}
		}

		passenger RearRight
		{
			position inside
			{
				offset = -0.7460 0.7143 -1.1429,
				rotate = 0.0000 0.0000 0.0000,
			}

			position outside
			{
				offset = -2.0476 -1.0000 -1.1746,
				rotate = 0.0000 0.0000 0.0000,
				area = SeatFrontRight,
			}
		}

		passenger RearLeft
		{
			position inside
			{
				offset = 0.6825 0.7143 -1.1429,
				rotate = 0.0000 0.0000 0.0000,
			}

			position outside
			{
				offset = 1.9841 -1.0000 -1.1587,
				rotate = 0.0000 0.0000 0.0000,
				area = SeatRearLeft,
			}
		}

		area Engine
		{
			xywh = 0.0000 -4.6032 4.0000 2.0000,
		}

		area TruckBed
		{
			xywh = 0.0000 0.0000 0.7302 -0.7460,
		}

		area SeatFrontLeft
		{
			xywh = 2.5873 0.0000 2.0000 2.0000,
		}

		area SeatFrontRight
		{
			xywh = -2.5873 0.0000 2.0000 2.0000,
		}

		area SeatMiddleLeft
		{
			xywh = 2.5873 0.0000 2.0000 2.0000,
		}

		area SeatMiddleRight
		{
			xywh = -2.5873 0.0000 2.0000 2.0000,
		}

		area SeatRearRight
		{
			xywh = -2.5873 -2.0000 2.0000 2.0000,
		}

		area SeatRearLeft
		{
			xywh = 2.5873 -2.0000 2.0000 2.0000,
		}

		area GasTank
		{
			xywh = -2.0635 1.5397 0.9524 0.9524,
		}

		area TireFrontLeft
		{
			xywh = 1.5873 1.5079 0.0000 0.0000,
		}

		area TireFrontRight
		{
			xywh = -1.5873 1.5079 0.0000 0.0000,
		}

		area TireRearLeft
		{
			xywh = 1.5873 -2.2063 0.0000 0.0000,
		}

		area TireRearRight
		{
			xywh = -1.5873 -2.2063 0.0000 0.0000,
		}

		template = Seat/part/SeatFrontLeft,
		template = Seat/part/SeatFrontRight,
		template = Seat/part/SeatMiddleLeft,
		template = Seat/part/SeatMiddleRight,
		template = Seat/part/SeatRearRight,
		template = Seat/part/SeatRearLeft,
		template = GasTank,
		template = Battery,
		template = Engine,
		template = Muffler,

		part Muffler
		{
			table install
			{
				recipes = Intermediate Mechanics,
			}

			table uninstall
			{
				recipes = Intermediate Mechanics,
			}
		}

		template = EngineDoor,

		part EngineDoor
		{
			table install
			{
				recipes = Intermediate Mechanics,
			}

			table uninstall
			{
				recipes = Intermediate Mechanics,
			}
		}

		part Heater
		{
			category = engine,

			lua
			{
				update = Vehicles.Update.Heater,
			}
		}

		template = Windshield/part/Windshield,

		part Windshield*
		{
			table install
			{
				recipes = Intermediate Mechanics,
			}

			table uninstall
			{
				recipes = Intermediate Mechanics,
			}
		}

		template = Door/part/DoorFrontLeft,
		template = Door/part/DoorFrontRight,
		template = Window/part/WindowFrontLeft,
		template = Window/part/WindowFrontRight,

		part BRDM2VehicleInterior
		{
			area = SeatFrontRight,
			itemType = Base.BRDM2VehicleInterior,
			specificItem = false,

			container
			{
				test = Vehicles.ContainerAccess.BRDM2VehicleInterior,
			}

			lua
			{
				create = Vehicles.Create.Default,
			}
		}

		template = Tire,
		template = Axle,

		part TireFrontLeft
		{
			model InflatedTirePlusWheel
			{
				file = BRDM2frontwheelleft,
			}
		}

		part TireFrontRight
		{
			model InflatedTirePlusWheel
			{
				file = BRDM2frontwheelright,
			}
		}

		part TireRearLeft
		{
			model InflatedTirePlusWheel
			{
				file = BRDM2backwheelleft,
			}
		}

		part TireRearRight
		{
			model InflatedTirePlusWheel
			{
				file = BRDM2backwheelright,
			}
		}

		template = Brake,

		part Brake*
		{
			table install
			{
				skills = Mechanics:4,
				recipes = Intermediate Mechanics,
			}

			table uninstall
			{
				skills = Mechanics:4,
				recipes = Intermediate Mechanics,
			}
		}

		template = Suspension,

		part Suspension*
		{
			table install
			{
				skills = Mechanics:4,
				recipes = Intermediate Mechanics,
			}

			table uninstall
			{
				skills = Mechanics:4,
				recipes = Intermediate Mechanics,
			}
		}

		template = Radio,

		part Radio*
		{
			itemType = Radio.HamRadio1,
		}

		template = Headlight,

		part PassengerCompartment
		{
			category = nodisplay,

			lua
			{
				update = Vehicles.Update.PassengerCompartment,
			}
		}

		physics box
		{
			offset = 0.0000 1.1587 -0.2063,
			extents = 3.1111 2.3016 7.0952,
			rotate = 0.0000 0.0000 0.0000,
		}

		attachment trailerfront
		{
			offset = 0.0000 0.0000 4.5256,
			rotate = 0.0000 0.0000 0.0000,
			zoffset = 1.0000,
		}
	}
}
