module Base
{
	model GAZ2410
	{
		mesh = vehicles/Vehicle_GAZ2410_Body,
		shader = vehicle,
		invertX = false,
		scale = 1,
	}

	model GAZ21Wfrontwheelleft
	{
		mesh = vehicles/Vehicle_GAZ21_Wheel,
		texture = vehicles/Vehicle_GAZ21W_wheel,
	}
	model GAZ21Wfrontwheelleft
	{
		mesh = vehicles/Vehicle_GAZ21_Wheel,
		texture = vehicles/Vehicle_GAZ21W_wheel,
	}
	model GAZ21Wfrontwheelleft
	{
		mesh = vehicles/Vehicle_GAZ21_Wheel,
		texture = vehicles/Vehicle_GAZ21W_wheel,
	}
	model GAZ21Wfrontwheelleft
	{
		mesh = vehicles/Vehicle_GAZ21_Wheel,
		texture = vehicles/Vehicle_GAZ21W_wheel,
	}

	vehicle GAZ2410
	{
		mechanicType = 3,
		offRoadEfficiency = 0.8,
		engineRepairLevel = 5,
		playerDamageProtection = 1,

		model
		{
			file = GAZ2410,
			scale = 1.8000,
			offset = 0.0000 0.1462 0.0409,
		}

		skin
		{
			texture = Vehicles/Vehicle_GAZ2410_RED,
		}

		skin
		{
			texture = Vehicles/Vehicle_GAZ2410_SLON,
		}

		skin
		{
			texture = Vehicles/Vehicle_GAZ2410_GREEN,
		}

		skin
		{
			texture = Vehicles/Vehicle_GAZ2410_WHITE,
		}

		skin
		{
			texture = Vehicles/Vehicle_GAZ2410_GRAYandBLUE,
		}

		skin
		{
			texture = Vehicles/Vehicle_GAZ2410_GRAY,
		}

		skin
		{
			texture = Vehicles/Vehicle_GAZ2410_BEZH,
		}

		skin
		{
			texture = Vehicles/Vehicle_GAZ2410_BEZH2,
		}

		skin
		{
			texture = Vehicles/Vehicle_GAZ2410_ANTRACYT,
		}

		skin
		{
			texture = Vehicles/Vehicle_GAZ2410_TAXI,
		}

		skin
		{
			texture = Vehicles/Vehicle_GAZ2410_CHERRY,
		}

		textureMask = Vehicles/Vehicle_GAZ2410_Mask,
		textureLights = Vehicles/Vehicle_GAZ2410_lights,
		textureDamage1Overlay = Vehicles/Vehicle_GAZ2410_Shell_Damaged01,
		textureDamage2Overlay = Vehicles/Vehicle_GAZ2410_Shell_Damaged02,
		textureDamage1Shell = Vehicles/Vehicle_GAZ2410_Shell_Damaged01,
		textureDamage2Shell = Vehicles/Vehicle_GAZ2410_Shell_Damaged02,
		textureRust = Vehicles/Vehicle_GAZ2410_Rust,

		sound
		{
			engine = VehicleEngineOffRoad,
			engineStart = VehicleEngineOffRoad,
			engineTurnOff = VehicleEngineOffRoad,
			horn = VehicleHornJeep,
			ignitionFail = VehicleIgnitionFailOffRoad,
		}

		extents = 0.8070 0.6316 2.1287,
		mass = 1200,
		physicsChassisShape = 0.8070 0.5497 2.1287,
		centerOfMassOffset = 0.0000 0.2749 -0.0351,
		shadowExtents = 0.7059 1.9481,
		shadowOffset = 0.0000 -0.0189,
		engineForce = 5300,
		engineQuality = 68,
		engineLoudness = 80,
		maxSpeed = 95f,
		gearRatioCount = 4,
		gearRatioR = 7.09,
		gearRatio1 = 7.44,
		gearRatio2 = 2.29,
		gearRatio3 = 1,
		gearRatio4 = 1,
		brakingForce = 55,
		rollInfluence = 0.9f,
		steeringIncrement = 0.03,
		steeringClamp = 0.28,
		suspensionStiffness = 40,
		suspensionCompression = 1.83,
		suspensionDamping = 0.88,
		maxSuspensionTravelCm = 10,
		suspensionRestLength = 0.2,
		wheelFriction = 1.4f,
		frontEndHealth = 80,
		rearEndHealth = 100,
		seats = 4,

		wheel FrontLeft
		{
			front = true,
			offset = 0.3216 -0.1696 0.6550,
			radius = 0.15f,
			width = 0.2f,
		}

		wheel FrontRight
		{
			front = true,
			offset = -0.3216 -0.1696 0.6550,
			radius = 0.15f,
			width = 0.2f,
		}

		wheel RearLeft
		{
			front = false,
			offset = 0.3216 -0.1696 -0.6140,
			radius = 0.15f,
			width = 0.2f,
		}

		wheel RearRight
		{
			front = false,
			offset = -0.3216 -0.1696 -0.6140,
			radius = 0.15f,
			width = 0.2f,
		}

		template = PassengerSeat4,

		passenger FrontLeft
		{
			position inside
			{
				offset = 0.1930 0.0643 -0.0409,
				rotate = 0.0000 0.0000 0.0000,
			}

			position outside
			{
				offset = 0.6550 -0.4152 0.0526,
				rotate = 0.0000 0.0000 0.0000,
				area = SeatFrontLeft,
			}
		}

		passenger FrontRight
		{
			position inside
			{
				offset = -0.1930 0.0643 -0.0409,
				rotate = 0.0000 0.0000 0.0000,
			}

			position outside
			{
				offset = -0.6550 -0.5673 0.0468,
				rotate = 0.0000 0.0000 0.0000,
				area = SeatFrontRight,
			}
		}

		passenger RearLeft
		{
			position inside
			{
				offset = 0.1930 0.0643 -0.4503,
				rotate = 0.0000 0.0000 0.0000,
			}

			position outside
			{
				offset = 0.6608 -0.4094 -0.4094,
				rotate = 0.0000 0.0000 0.0000,
				area = SeatRearLeft,
			}
		}

		passenger RearRight
		{
			position inside
			{
				offset = -0.1930 0.0643 -0.4386,
				rotate = 0.0000 0.0000 0.0000,
			}

			position outside
			{
				offset = -0.6550 -0.4094 -0.3743,
				rotate = 0.0000 0.0000 0.0000,
				area = SeatRearRight,
			}
		}

		area Engine
		{
			xywh = 0.0000 1.2398 0.5965 0.4211,
		}

		area TruckBed
		{
			xywh = 0.0000 -1.3509 0.6199 0.5029,
		}

		area SeatFrontLeft
		{
			xywh = 0.6140 0.1696 0.4211 0.5263,
		}

		area SeatFrontRight
		{
			xywh = -0.6140 0.1696 0.4211 0.5263,
		}

		area SeatRearRight
		{
			xywh = -0.6140 -0.2690 0.4211 0.4795,
		}

		area SeatRearLeft
		{
			xywh = 0.6140 -0.2690 0.4211 0.4795,
		}

		area GasTank
		{
			xywh = 0.6140 -0.9474 0.4211 0.4211,
		}

		area TireFrontLeft
		{
			xywh = 0.6140 0.7895 0.4211 0.4211,
		}

		area TireFrontRight
		{
			xywh = -0.6140 0.7895 0.4211 0.4211,
		}

		area TireRearLeft
		{
			xywh = 0.6140 -0.6667 0.4211 0.4211,
		}

		area TireRearRight
		{
			xywh = -0.6140 -0.6667 0.4211 0.4211,
		}

		template = Trunk/part/TruckBed,

		part TruckBed
		{
			itemType = Base.BigTrunk,

			container
			{
				capacity = 75,
			}
		}

		template = TrunkDoor,
		template = Seat/part/SeatFrontLeft,
		template = Seat/part/SeatFrontRight,
		template = Seat/part/SeatRearLeft,
		template = Seat/part/SeatRearRight,

		part Seat*
		{
			table install
			{
				skills = Mechanics:2,
				recipes = Intermediate Mechanics,
			}

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

		part GloveBox
		{
			area = SeatFrontRight,
			itemType = Base.GloveBox,
			mechanicRequireKey = true,

			container
			{
				capacity = 7,
				test = Vehicles.ContainerAccess.GloveBox,
			}

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

		template = GasTank,

		part GasTank
		{
			install
			{
				skills = Mechanics:7,
				recipes = Intermediate Mechanics,
			}

			uninstall
			{
				skills = Mechanics:7,
				recipes = Intermediate Mechanics,
			}
		}

		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 EngineDoor
		{
			table install
			{
				recipes = Intermediate Mechanics,
			}

			table uninstall
			{
				recipes = Intermediate Mechanics,
			}
		}

		part Heater
		{
			category = engine,

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

		part PassengerCompartment
		{
			category = nodisplay,

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

		template = Windshield/part/Windshield,
		template = Windshield/part/WindshieldRear,

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

			table uninstall
			{
				recipes = Intermediate Mechanics,
			}
		}

		template = Window/part/WindowFrontLeft,
		template = Window/part/WindowFrontRight,
		template = Window/part/WindowRearRight,
		template = Window/part/WindowRearLeft,

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

			table uninstall
			{
				recipes = Intermediate Mechanics,
			}
		}

		template = Door/part/DoorFrontLeft,
		template = Door/part/DoorFrontRight,
		template = Door/part/DoorRearLeft,
		template = Door/part/DoorRearRight,

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

			table uninstall
			{
				recipes = Intermediate Mechanics,
			}
		}

		template = Tire,

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

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

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

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

		template = Brake,

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

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

		template = Suspension,

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

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

		template = Radio,
		template = Headlight,

		attachment trailerfront
		{
			offset = 0.0000 -0.0957 1.1809,
			rotate = 0.0000 0.0000 0.0000,
		}

		attachment trailer
		{
			offset = 0.0000 -0.0904 -1.3670,
			rotate = 0.0000 0.0000 0.0000,
		}
	}
}
