PART
{
	name = kruegerflap
	module = Part
	author = blackheart612

	MODEL
	{
		model = AirplanePlus/Parts/Aero/flaps/modelkrueger
		texture = aerocommontex , AirplanePlus/Parts/Aero/bigwing/aerocommontex
	}
	rescaleFactor = 1
	node_attach = 0.0, 0.0, -0.025, 0.0, 0.0, 1.0, 1
	attachRules = 0,1,0,0,1
	CoMOffset = 0, -0.18, 0
	CoLOffset = 0, -0.18, 0
	CoPOffset = 0, -0.18, 0

	TechRequired = advAerodynamics
	entryCost = 350
	cost = 1000
	category = Aero
	subcategory = 0
	title = #loc_APP_part_kruegerflap_title
	manufacturer = #loc_APP_part_manufacturer
	description = #loc_APP_part_kruegerflap_description
	bulkheadProfiles = srf
	tags = (air airbrake aircraft brake dive drag fligh landing plane slow speed spoil

	mass = 0.05
	thermalMassModifier = 5.0
	emissiveConstant = 0.4
	dragModelType = none
	maximum_drag = 0.02
	minimum_drag = 0.02
	angularDrag = 2
	crashTolerance = 8
	maxTemp = 2400
	explosionPotential = 0.1
	fuelCrossFeed = True

	MODULE
	{
		name = ModuleAeroSurface
		useInternalDragModel = True
		dragCoeff = 0.25
		deflectionLiftCoeff = 0.25
		ctrlSurfaceRange = 135
		ctrlRangeFactor = 0.2
		ctrlSurfaceArea = 1
		actuatorSpeed = 60
		transformName = flap
		defaultActionGroup = Brakes
		//liftingSurfaceCurve = SpeedBrake
		ignorePitch = true
		ignoreYaw = true
		uncasedTemp = 1200
		casedTemp = 2400
	}
	MODULE
	{
		name = FXModuleLookAtConstraint //a pain in the butt
		CONSTRAINLOOKFX
		{
			targetName = DC
			rotatorsName = C
		}
		CONSTRAINLOOKFX
		{
			targetName = CD
			rotatorsName = D
		}
		CONSTRAINLOOKFX
		{
			targetName = BA
			rotatorsName = A
		}
		CONSTRAINLOOKFX
		{
			targetName = AB
			rotatorsName = B
		}
	}
}
