module Base
{
	model AGheliblade1
	{
		mesh = vehicles/AGblade_1,
		texture = Vehicles/Vehicle_Blades,
		scale = 0.05,
		shader = vehiclewheel,
	}
	model AGheliblade2
	{
		mesh = vehicles/AGblade_2,
		texture = Vehicles/Vehicle_Blades,
		scale = 0.05,
		shader = vehiclewheel,
	}
	model AGheliblade3
	{
		mesh = vehicles/AGblade_3,
		texture = Vehicles/Vehicle_Blades,
		scale = 0.05,
		shader = vehiclewheel,
	}
	model AGheliblade4
	{
		mesh = vehicles/AGblade_4,
		texture = Vehicles/Vehicle_Blades,
		scale = 0.05,
		shader = vehiclewheel,
	}
	model AGheliblade5
	{
		mesh = vehicles/AGblade_5,
		texture = Vehicles/Vehicle_Blades,
		scale = 0.05,
		shader = vehiclewheel,
	}
	model AGheliblade6
	{
		mesh = vehicles/AGblade_6,
		texture = Vehicles/Vehicle_Blades,
		scale = 0.05,
		shader = vehiclewheel,
	}
	model AGheliblade7
	{
		mesh = vehicles/AGblade_7,
		texture = Vehicles/Vehicle_Blades,
		scale = 0.05,
		shader = vehiclewheel,
	}
	model AGheliblade8
	{
		mesh = vehicles/AGblade_8,
		texture = Vehicles/Vehicle_Blades,
		scale = 0.05,
		shader = vehiclewheel,
	}
	model AGheliblade1Small
	{
		mesh = vehicles/AGblade_1_small,
		texture = Vehicles/Vehicle_Blades,
		scale = 0.045,
		shader = vehiclewheel,
	}
	model AGheliblade2Small
	{
		mesh = vehicles/AGblade_2_small,
		texture = Vehicles/Vehicle_Blades,
		scale = 0.045,
		shader = vehiclewheel,
	}
	model AGheliblade3Small
	{
		mesh = vehicles/AGblade_3_small,
		texture = Vehicles/Vehicle_Blades,
		scale = 0.045,
		shader = vehiclewheel,
	}
	model AGheliblade4Small
	{
		mesh = vehicles/AGblade_4_small,
		texture = Vehicles/Vehicle_Blades,
		scale = 0.045,
		shader = vehiclewheel,
	}
	model AG_helicopter
	{
		mesh = vehicles/Vehicle_Autogyro,
		shader = vehicle,
		static = TRUE,
		scale = 0.05,
	}
	vehicle AGHelicopter
	{
		mechanicType = 1,
		offRoadEfficiency = 10.2,
		engineRepairLevel = 8,
		playerDamageProtection = 0.2,

		model
		{
			file = AG_helicopter,
			scale = 0.7700,
			offset = 0.0000 0.0000 0.0000,
		}

		skin
		{
			texture = Vehicles/Vehicle_AGCoot,
		}

		skin
		{
			texture = Vehicles/Vehicle_AGBlue,
		}

		skin
		{
			texture = Vehicles/Vehicle_AGCamo,
		}

		skin
		{
			texture = Vehicles/Vehicle_AGPwny,
		}

		skin
		{
			texture = Vehicles/Vehicle_AGBlack,
		}

		skin
		{
			texture = Vehicles/Vehicle_AGPinknWhite,
		}

		skin
		{
			texture = Vehicles/Vehicle_AGRed,
		}

		skin
		{
			texture = Vehicles/Vehicle_AGGray,
		}

		skin
		{
			texture = Vehicles/Vehicle_AGRWB,
		}

		textureRust = Vehicles/Vehicle_UH1Interior_rust,
		textureShadow = Shadows/vehicleShadowAG,
		textureMask = Vehicles/Vehicle_UH60RS_mask,
		spawnOffsetY = 0.24999994,

		sound
		{
			horn = Autogyrohorn,
			engine = AutogyroSilence,
			engineStart = AutogyroSilence,
		}

		extents = 2.6234 1.7922 3.6364,
		mass = 150,
		centerOfMassOffset = 0.0000 1.1169 0.0000,
		shadowExtents = 2.3649 4.1580,
		shadowOffset = -0.0112 0.0130,
		physicsChassisShape = 2.3377 2.1558 4.1558,
		engineForce = 600,
		maxSpeed = 20f,
		engineLoudness = 80,
		engineQuality = 70,
		brakingForce = 50,
		stoppingMovementForce = 4.0f,
		rollInfluence = 1.0f,
		steeringIncrement = 0.04,
		steeringClamp = 0.3,
		suspensionStiffness = 20,
		suspensionCompression = 4.83,
		suspensionDamping = 3.88,
		maxSuspensionTravelCm = 14,
		suspensionRestLength = 0.20f,
		wheelFriction = 1.4f,
		frontEndHealth = 65,
		rearEndHealth = 80,
		seats = 1,
		template = PassengerSeat1,

		passenger FrontLeft
		{
			door = DoorFrontLeft,
			door2 = DoorFrontRight,
			area = SeatFrontLeft,
			showPassenger = true,
			hasRoof = false,

			position inside
			{
				offset = 0.0000 0.9351 0.7662,
				rotate = 16.8662 0.0000 0.0000,
			}

			position outside
			{
				offset = 0.9351 0.0000 0.9740,
				rotate = 0.0000 0.0000 0.0000,
				area = SeatFrontLeft,
			}

			switchSeat FrontRight
			{
				sound =,
			}
		}

		area Engine
		{
			xywh = 0.0000 -0.2597 3.2468 1.0130,
		}

		area TruckBed
		{
			xywh = 0.0000 0.7013 1.2468 1.2727,
		}

		area SeatFrontLeft
		{
			xywh = 0.0000 1.5844 4.3896 2.7792,
		}

		area GasTank
		{
			xywh = 0.0000 -0.2727 3.0390 1.4286,
		}

		template = Autogyro_TrunkTemplate/part/Autogyro_TruckBedPart,
		template = Seat/part/SeatFrontLeft,

		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
		{
			container
			{
				conditionAffectsCapacity = false,
				capacity = 10,
			}

			install
			{
				skills = Mechanics:3,
				recipes = Intermediate Mechanics,
			}

			uninstall
			{
				skills = Mechanics:3,
				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 Heater
		{
			category = engine,

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


		part PassengerCompartment
		{
			category = nodisplay,

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

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

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

			table uninstall
			{
				recipes = Intermediate Mechanics,
			}
		}

		part AGheliblade
		{
			model AGblade1
			{
				file = AGheliblade1,
				offset = 0.0000 9.0000 1.5000,
			}

			model AGblade2
			{
				file = AGheliblade2,
				offset = 0.0000 9.0000 1.5000,
			}

			model AGblade3
			{
				file = AGheliblade3,
				offset = 0.0000 9.0000 1.5000,
			}

			model AGblade4
			{
				file = AGheliblade4,
				offset = 0.0000 9.0000 1.5000,
			}

			model AGblade5
			{
				file = AGheliblade5,
				offset = 0.0000 9.0000 1.5000,
			}

			model AGblade6
			{
				file = AGheliblade6,
				offset = 0.0000 9.0000 1.5000,
			}

			model AGblade7
			{
				file = AGheliblade7,
				offset = 0.0000 9.0000 1.5000,
			}

			model AGblade8
			{
				file = AGheliblade8,
				offset = 0.0000 9.0000 1.5000,
			}

			area = Engine,
			category = blade,
			specificItem = false,
			mechanicRequireKey = false,
			repairMechanic = true,

			lua
			{
				create = AGblade.Create.bladerBig,
				init = AGblade.Init.bladerBig,
			}
		}

		part AGhelibladeSmall
		{
			model AGblade1Small
			{
				file = AGheliblade1Small,
				offset = 0.0000 9.0000 1.5000,
			}

			model AGblade2Small
			{
				file = AGheliblade2Small,
				offset = 0.0000 9.0000 1.5000,
			}

			model AGblade3Small
			{
				file = AGheliblade3Small,
				offset = 0.0000 9.0000 1.5000,
			}

			model AGblade4Small
			{
				file = AGheliblade4Small,
				offset = 0.0000 9.0000 1.5000,
			}

			area = Engine,
			category = blade,
			mechanicRequireKey = false,
			repairMechanic = true,

			lua
			{
				create = AGblade.Create.bladerSmall,
				init = AGblade.Init.bladerSmall,
			}
		}

		template = Radio,
		template = Headlight/part/HeadlightLeft,
        part HeadlightLeft
		{
			area = SeatFrontLeft,
		}
  
	}
}
