PART
{
	name = S2APU
	module = Part
	author = blackheart612
	MODEL
	{
		model = AirplanePlus/Parts/Utility/APU/models2
	}
	rescaleFactor = 1
	node_stack_top = 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 2
	node_attach = 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 1
	CoMOffset = 0.0, -1.9, -0.25
	TechRequired = supersonicFlight
	entryCost = 15000
	cost = 2000
	category = Engine
	subcategory = 0
	title = Size 2 131-9K Auxiliary Power Engine
	manufacturer = Kerbal Standard
	description = The 131-9K is vastly different compared to the other designed APEs. It is an experimental purpose-built APE which is not a repurposed failed engine. This APE is designated to be an Auxiliary Power Generator, and made to be one. Technically. The parts used are still from the smaller failures which could be reused on bigger parts. Thus, resulting in the 131 project. The 131-9K is one of the most efficient APEs ever built, mostly because it is designed to be one.
	attachRules = 1,0,1,1,0
	mass = 2.5
	// heatConductivity = 0.06 // half default
	skinInternalConductionMult = 4.0
	emissiveConstant = 0.8 // engine nozzles are good at radiating.
	dragModelType = default
	maximum_drag = 0.2
	minimum_drag = 0.2
	angularDrag = 2
	crashTolerance = 7
	maxTemp = 2000 // = 3600
	bulkheadProfiles = size2
	tags = apu aircraft (jet plane propuls
	

	MODULE
	{
		name = ModuleEnginesFX
		engineID = Cruise
		thrustVectorTransformName = thrustTransform
		exhaustDamage = False
		ignitionThreshold = 0.1
		minThrust = 0
		maxThrust = 5
		heatProduction = 100
		useEngineResponseTime = True
		engineAccelerationSpeed = 0.06
		engineDecelerationSpeed = 0.25
		//fxOffset = 0, 0, 0.74
		flameoutEffectName = flameout
		powerEffectName = running_thrust
		engageEffectName = engage
		disengageEffectName = disengage
		spoolEffectName = running_turbine
		engineSpoolIdle = 0.05
		engineSpoolTime = 2.0
		EngineType = Turbine
		exhaustDamageMultiplier = 2
		clampPropReceived = True
		PROPELLANT
		{
			name = IntakeAir
			ignoreForIsp = True
			ratio = 227
		}
		PROPELLANT
		{
			name = LiquidFuel
			resourceFlowMode = STAGE_STACK_FLOW_BALANCE
			ratio = 1
			DrawGauge = True
		}
		atmosphereCurve
		{
			key = 0 16000 0 0
		}
		// Jet params
		atmChangeFlow = True
		useVelCurve = True
		useAtmCurve = True
		flameoutBar = 0.02
		machLimit = 0.75
		machHeatMult = 40
		velCurve
		{
			key = 0 1 -0.1543096 -0.1543096

			key = 0.1818513 0.8586813 0 0

			key = 0.4 0.964 0 0

			key = 0.6525106 0.6439561 -3.278422 -2.582144

			key = 0.72 0 -17.68372 -8.84913

		}
		atmCurve
		{
			key = 0 0 0 0
			key = 0.072 0.085 1.172947 1.172947
			key = 0.337 0.37 0.98425 0.98425
			key = 1 1 1.179067 1.179067
		}
	}
	RESOURCE
	{
		name = IntakeAir
		amount = 3.4
		maxAmount = 3.4
	}
	MODULE
	{
		name = ModuleAnimateGeneric
		animationName = S2APUOpen
		startEventGUIName = Open Compartment
		endEventGUIName = Close Compartment
		actionGUIName = Toggle Compartment
		layer = 1
	}
	MODULE
	{
		name = ModuleAlternator
		RESOURCE
		{
			name = ElectricCharge
			rate = 16
		}
	}
	EFFECTS
	{		
		running_thrust
		{			
			AUDIO
			{
				channel = Ship
				clip = AirplanePlus/Sounds/apu_idle
				volume = 0.0 0.0
				volume = 0.05 0.5
				volume = 1.0 1.0
				pitch = 0.0 0.8
				pitch = 1.0 1.0
				loop = true
			}					
		}
		running_turbine
		{
			AUDIO
			{
				channel = Ship
				clip = AirplanePlus/Sounds/apu_spool
				volume = 0.0 0.0
				volume = 0.05 0.1
				volume = 1.0 0.3
				pitch = 0.0 0.4
				pitch = 0.05 0.5
				pitch = 1.0 1.0
				loop = true
			}
		}
		engage
		{
			AUDIO
			{
				channel = Ship
				clip = AirplanePlus/Sounds/apu_start
				volume = 1.0
				pitch = 1.0
				loop = false
			}
		}
		disengage
		{
			AUDIO
			{
				channel = Ship
				clip = AirplanePlus/Sounds/apu_stop
				volume = 1.0
				pitch = 1.0
				loop = false
			}
		}
		flameout
		{
			AUDIO
			{
				channel = Ship
				clip = AirplanePlus/Sounds/apu_stop
				volume = 1.0
				pitch = 1.0
				loop = false
			}
		}
	}
MODULE
{
	name = FStextureSwitch2
	moduleID = 1
	//showListButton = True
	nextButtonText = Next Paint
	prevButtonText = Previous Paint
	statusText = Current Paint
	textureRootFolder = AirplanePlus\Parts\Utility\
	textureNames = APU\S2APUtex1;APU\S2APUtex2
	objectNames = mesh;doorl;doorr
	textureDisplayNames = Standard;Striped
	switchableInFlight = false
	repaintableEVA = false
	debugMode = false
	showInfo = false
}
}
