PART
{
	// --- general parameters ---
	name = 609prop
	module = Part
	author = blackheart612

	// --- asset parameters ---
	mesh = model.mu
	rescaleFactor = 1.0
	mirrorRefAxis = 0, 0, 1

	// --- node definitions ---
	//node_stack_top = 0.0, 0.0, 0.0, 0.0, -1.0, 0.0
	node_attach = 0.00, 0.00, 0.00, 1.0, 90.0, 0.0, 1

	// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
	attachRules = 0,1,0,1,1

	// --- FX definitions ---
	//fx_exhaustLight_yellow = 0.0, -0.1, 0.0, 0.0, 0.0, 1.0, power
	//fx_smokeTrail_light  = 0.0, 1.0, 0.0, 0.0, 1.0, 0.0, power
	//fx_exhaustSparks_flameout = 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, flameout

	// --- Sound FX definition ---
	//sound_fspropstart.wav = engage
	//sound_fspropidle.wav = power
	//sound_jet_deep = running
	//sound_vent_soft = disengage
	//sound_explosion_low = flameout

	// --- editor parameters ---
	TechRequired = highAltitudeFlight
	cost = 7500
	entryCost = 2200
	category = Engine
	subcategory = 0
	title = #loc_APP_part_609prop_title
	manufacturer = #loc_APP_part_manufacturer
	description = #loc_APP_part_609prop_description
	bulkheadProfiles = srf
	tags = turbo prop

	// --- standard part parameters ---
	mass = 0.2
	dragModelType = default
	maximum_drag = 0.2
	minimum_drag = 0.2
	angularDrag = 2
	breakingForce = 200
	breakingTorque = 200
	crashTolerance = 15
	maxTemp = 3600
	fuelCrossFeed = True

	MODULE
	{
		name = FSengineSounds
		engage = AirplanePlus/Sounds/bell_startup
		//running =
		power = AirplanePlus/Sounds/blackhawk_idle
		disengage = AirplanePlus/Sounds/bell_stop
		flameout = AirplanePlus/Sounds/bell_stop
		//warning =
		powerPitchBase = 1.0
		thrustAddedToPitch = 0.4
		powerFadeInSpeed = 0.004
		powerFadeInDelay = 1.5
		powerLowerThreshold = 0.0
		powerVolume = 1.0
		engageVolume = 1.0
		warningSoundThreshold = 0.8
		warningCooldownTime = 2.0
		randomStartDelay = 1.0 //for playing engines slightly out of sync
	}
	MODULE
	{
		name = ModuleEnginesFX
		thrustVectorTransformName = thrustTransform
		exhaustDamage = False
		ignitionThreshold = 0.1
		minThrust = 0
		maxThrust = 65
		heatProduction = 100
		useEngineResponseTime = True
			engineAccelerationSpeed = 0.25
			engineDecelerationSpeed = 0.6
		engageEffectName = engage
		disengageEffectName = disengage
		spoolEffectName = idle
		useVelocityCurve = True
		PROPELLANT
		{
			name = LiquidFuel
			ratio = 1
			DrawGauge = True
		}
		PROPELLANT
		{
			name = IntakeAir
			resourceFlowMode = STAGE_PRIORITY_FLOW
			ignoreForIsp = True
			ratio = 15
		}
		atmosphereCurve
		{
			key = 0 10000 0 0
		}
		atmChangeFlow = True
		useVelCurveIsp = False
		useVelCurve = True
		useAtmCurveIsp = False
		useAtmCurve = True
		flameoutBar = 0.01
		machLimit = 1.0
		velCurve
		{
			key = 0 0.8 1.89316 3.418098
			key = 0.05875192 0.8775314 0.4564748 0.2891575
			key = 0.1583306 1 3.352347 5.258858
			key = 0.3687735 2 -0.02574462 -2.343426
			key = 0.412213 0.5 -113.7387 -16.24328
			key = 0.453742 0.1 -1.268374 0
			key = 0.8 0.1 0 -1
			key = 0.9 0
		}
		atmCurve
		{
			key = 0 0
			key = 0.03681628 0.04795167 2.854039 0.8369334
			key = 0.08672491 0.5301446 6.640914 6.782105
			key = 0.2237096 0.87207 0.8609211 0.5233155
			key = 1 1 0.0005412238 0
		}
	}
	MODULE
	{
		name = FSpropellerAtmosphericNerf
		thrustModifier = 1.5
	}
	MODULE
	{
		name = ModuleAlternator
		RESOURCE
		{
			name = ElectricCharge
			rate = 1.0
		}
	}

	//---- Integrated air intake (based on Kethane engine)

	MODULE
	{
		name = ModuleResourceIntake
		resourceName = IntakeAir
		checkForOxygen = false
		area = 0.03
		intakeSpeed = 50
		intakeTransformName = thrustTransform //Intake
	}
	RESOURCE
	{
		name = IntakeAir
		amount = 0
		maxAmount = 15.0
	}

	//---- Deployable air scoop responding to the throttle

	MODULE
	{
		name = FSplanePropellerSpinner
		propellerName = nosecone
		rotationSpeed = 200
		windmillRPM = 0.1
		spinUpTime = 0.6
		useRotorDiscSwap = 1
		rotorDiscFadeInStart = 0.95
		rotorDiscFadeInEnd = 0.95
		rotorDiscSpeed = 100
		rotorDiscName = disc
		blade1 = blade1
		blade2 = blade2
		blade3 = blade3
	}
	MODULE
	{
		name = FSswitchEngineThrustTransform
		defaultTTName = thrustTransform
	}
	MODULE
	{
		name = FSengineHandCrank
	}
	MODULE
	{
		name = ModuleAeroSurface
		useInternalDragModel = True
		dragCoeff = 0
		deflectionLiftCoeff = 0
		ctrlSurfaceRange = 90
		ctrlRangeFactor = 0.2
		ctrlSurfaceArea = 0
		actuatorSpeed = 60
		transformName = hinge
		//defaultActionGroup = Brakes
		//liftingSurfaceCurve = SpeedBrake
		ignorePitch = true
		ignoreYaw = true
		uncasedTemp = 1200
		casedTemp = 2400
	}
	MODULE
	{
		name = ModuleReactionWheel
		PitchTorque = 5
		YawTorque = 5
		RollTorque = 5
		RESOURCE
		{
			name = ElectricCharge
			rate = 0.4
		}
	}
}
