module Base
{
	model 76chevyK30duallyFenderL
	{
		mesh = vehicles/Vehicles_76chevyKseries_Body|76chevyK_dually_fender,
		shader = damn_vehicle_shader,
		invertX = FALSE,
		scale = 0.1,
	}
	model 76chevyK30duallyFenderR
	{
		mesh = vehicles/Vehicles_76chevyKseries_Body|76chevyK_dually_fender,
		shader = damn_vehicle_shader,
		invertX = TRUE,
		scale = 0.1,
	}
	vehicle 76chevyK30CCdually
	{
		mechanicType = 2,
		offRoadEfficiency = 1.2,
		engineRepairLevel = 4,
		playerDamageProtection = 1.3,

		model
		{
			file = 76chevyKBase,
			scale = 0.9000,
			offset = 0.0000 0.5333 0.3111,
		}

		skin
		{
			texture = Vehicles/Vehicles_76chevyKseries_Shell_wheatlandYellow,
		}

		skin
		{
			texture = Vehicles/Vehicles_76chevyKseries_Shell_Crimson Red,
		}

		skin
		{
			texture = Vehicles/Vehicles_76chevyKseries_Shell_darkBlue,
		}

		skin
		{
			texture = Vehicles/Vehicles_76chevyKseries_Shell_glenwoodGreen,
		}

		skin
		{
			texture = Vehicles/Vehicles_76chevyKseries_Shell_grecianBronze,
		}

		skin
		{
			texture = Vehicles/Vehicles_76chevyKseries_Shell_havaiianBlue,
		}

		skin
		{
			texture = Vehicles/Vehicles_76chevyKseries_Shell_lightSaddle,
		}

		skin
		{
			texture = Vehicles/Vehicles_76chevyKseries_Shell_mediumGraystone,
		}

		skin
		{
			texture = Vehicles/Vehicles_76chevyKseries_Shell_midnightBlack,
		}

		skin
		{
			texture = Vehicles/Vehicles_76chevyKseries_Shell_polarWhite,
		}

		skin
		{
			texture = Vehicles/Vehicles_76chevyKseries_Shell_rosedaleRed,
		}

		skin
		{
			texture = Vehicles/Vehicles_76chevyKseries_Shell_shannonGreen,
		}

		textureRust = Vehicles/Vehicles_76chevyKseries_Rust,
		textureMask = Vehicles/Vehicles_76chevyKseries_Mask,
		textureLights = Vehicles/Vehicles_76chevyKseries_Lights,
		textureDamage1Shell = Vehicles/Vehicles_76chevyKseries_Damage1,
		textureDamage2Shell = Vehicles/Vehicles_76chevyKseries_Damage2,
		textureDamage1Overlay = Vehicles/Vehicles_76chevyKseries_Blood1,
		textureDamage2Overlay = Vehicles/Vehicles_76chevyKseries_Blood1,
		textureShadow = Vehicles/Vehicles_76chevyKseries_Shadow2,

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

		extents = 1.9778 1.3333 6.0444,
		mass = 805,
		physicsChassisShape = 1.9778 1.3333 6.0444,
		centerOfMassOffset = 0.0000 0.8222 -0.1667,
		shadowExtents = 2.4543 5.9928,
		shadowOffset = 0.0000 -0.1366,
		engineForce = 4000,
		maxSpeed = 75f,
		engineLoudness = 85,
		engineQuality = 74,
		brakingForce = 65,
		stoppingMovementForce = 4.0f,
		rollInfluence = 0.96f,
		steeringIncrement = 0.04,
		steeringClamp = 0.3,
		suspensionStiffness = 35,
		suspensionCompression = 3.84,
		suspensionDamping = 2.84,
		maxSuspensionTravelCm = 14,
		suspensionRestLength = 0.20f,
		wheelFriction = 1.7f,
		frontEndHealth = 450,
		rearEndHealth = 250,
		seats = 4,

		wheel FrontLeft
		{
			front = true,
			offset = 0.8333 -0.6000 1.7333,
			radius = 0.38f,
			width = 0.25f,
		}

		wheel FrontRight
		{
			front = true,
			offset = -0.8333 -0.6000 1.7333,
			radius = 0.38f,
			width = 0.25f,
		}

		wheel RearLeft
		{
			front = false,
			offset = 0.8556 -0.6000 -2.3333,
			radius = 0.38f,
			width = 0.25f,
		}

		wheel RearRight
		{
			front = false,
			offset = -0.8556 -0.6000 -2.3333,
			radius = 0.38f,
			width = 0.25f,
		}

		template = PassengerSeat4,

		passenger FrontLeft
		{
			showPassenger = true,
			hasRoof = true,

			position inside
			{
				offset = 0.4778 0.0444 0.3889,
				rotate = 0.0000 0.0000 0.0000,
			}

			position outside
			{
				offset = 1.3000 -0.9556 0.0556,
				rotate = 0.0000 0.0000 0.0000,
				area = SeatFrontLeft,
			}
		}

		passenger FrontRight
		{
			showPassenger = true,
			hasRoof = true,

			position inside
			{
				offset = -0.4778 0.0444 0.3889,
				rotate = 0.0000 0.0000 0.0000,
			}

			position outside
			{
				offset = -1.3111 -0.9556 0.1111,
				rotate = 0.0000 0.0000 0.0000,
				area = SeatFrontRight,
			}
		}

		passenger RearLeft
		{
			showPassenger = true,
			hasRoof = true,

			position inside
			{
				offset = 0.4778 0.0444 -0.4222,
				rotate = 0.0000 0.0000 0.0000,
			}

			position outside
			{
				offset = 1.3000 -0.9556 -0.7778,
				rotate = 0.0000 0.0000 0.0000,
				area = SeatRearLeft,
			}
		}

		passenger RearRight
		{
			showPassenger = true,
			hasRoof = true,

			position inside
			{
				offset = -0.4778 0.0444 -0.4222,
				rotate = 0.0000 0.0000 0.0000,
			}

			position outside
			{
				offset = -1.3111 -0.9556 -0.7222,
				rotate = 0.0000 0.0000 0.0000,
				area = SeatRearRight,
			}
		}

		area Engine
		{
			xywh = 0.0000 3.2444 1.7556 0.7778,
		}

		area TruckBed
		{
			xywh = 0.0000 -3.5778 1.7556 0.7778,
		}

		area Roofrack
		{
			xywh = 0.0000 -2.2222 3.2000 3.4889,
		}

		area Toolbox
		{
			xywh = 0.0000 -0.5222 3.2000 0.8444,
		}

		area SeatFrontLeft
		{
			xywh = 1.3778 0.9000 0.7778 1.0000,
		}

		area SeatFrontRight
		{
			xywh = -1.3778 0.9000 0.7778 1.0000,
		}

		area SeatRearLeft
		{
			xywh = 1.3778 -0.0111 0.7778 0.8222,
		}

		area SeatRearRight
		{
			xywh = -1.3778 -0.0111 0.7778 0.8222,
		}

		area GasTank
		{
			xywh = 1.3889 -0.5556 0.4222 0.4222,
		}

		area TireFrontLeft
		{
			xywh = 1.5444 2.0444 0.4222 0.4222,
		}

		area TireFrontRight
		{
			xywh = -1.5444 2.0444 0.4222 0.4222,
		}

		area TireRearLeft
		{
			xywh = 1.5444 -2.0222 0.4222 0.4222,
		}

		area TireRearRight
		{
			xywh = -1.5444 -2.0222 0.4222 0.4222,
		}

		template = CH76SeatsK30,
		template = CH76TrunkCompartmentK30,
		template = CH76TrunkDoorK30Dually,
		template = CH76EngineDoor,
		template = CH76WindshieldsK30,
		template = CH76WindowsK30,
		template = CH76DoorsK30,
		template = CH76ArmorK30,
		template = CH76BumpersK30,
		template = CH76RoofrackK30,
		template = CH76TiresDually,
		template = CH76SpareTireBedDually,
		template = CH76SpareTireRoofCCDually,
		template = CH76BedExtrasK30,
		template = CH76BedCoverK30,
		template = CH76RoofLightsON,
        template = CH76SideStepsLong,

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

			model 76chevyCab30
			{
				file = 76chevyK30Cab,
			}

			model 76chevyBedBod20
			{
				file = 76chevyK20Bed,
				offset = 0.0000 0.0000 -0.7995,
			}

			model 75chevyFenderL
			{
				file = 76chevyK30duallyFenderL,
				offset = 0.0000 0.0000 -1.1123,
			}

			model 75chevyFenderR
			{
				file = 76chevyK30duallyFenderR,
				offset = 0.0000 0.0000 -1.1123,
			}

			model 76chevyIntCom
			{
				file = 76chevyKseriesInterior,
			}

			model 76chevyIntCC
			{
				file = 76chevyKseriesCCInterior,
			}

			model 76chevyBed20
			{
				file = 76chevyK20InteriorBed,
				offset = 0.0000 0.0000 -0.7995,
			}

			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,

		part Battery
		{
			model 76chevyBat
			{
				file = 76chevyKseriesTISbattery,
			}
		}

		template = Engine,
		template = Muffler,

		part Muffler
		{
			model 76chevyMuff2
			{
				file = 76chevyK10Muff,
				offset = 0.0000 0.0000 -1.1123,
			}

			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 = 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 trailer
		{
			offset = 0.0000 -0.3222 -3.5995,
			rotate = 0.0000 0.0000 0.0000,
			zoffset = -1.0000,
		}

		attachment trailerfront
		{
			offset = 0.0000 -0.3222 2.6333,
			rotate = 0.0000 0.0000 0.0000,
			zoffset = 1.0000,
		}
	}
}
