PART
{


// 

// --- general parameters ---
name = PT17Engine
module = Part
author = Skunk_Works

// --- asset parameters ---
mesh = Engine.mu
rescaleFactor = 1


// --- node definitions ---
node_stack_top = 0.0, 0.0, 0.0, 1.0, 0.0, 0.0


// --- editor parameters ---
TechRequired = aerodynamicSystems
cost = 950
entryCost = 2200
category = Engine
subcategory = 0
title = PT 17 Engine
manufacturer = RollsRoyce
description = Engine
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
attachRules = 1,0,1,0,0

// --- standard part parameters ---
mass = .5
dragModelType = default
maximum_drag = 0.2
minimum_drag = 0.2
angularDrag = 2
crashTolerance = 7
maxTemp = 3600
buoyancy = 1

MODULE
{
	name = FSengineSounds
	engage = ASkunkWorks/PT17/Sounds/sound_PT17Startup
	running = ASkunkWorks/PT17/Sounds/sound_PT17Idle
	power = ASkunkWorks/PT17/Sounds/sound_PT17Run
	disengage = ASkunkWorks/PT17/Sounds/sound_PT17Shutdown
	//flameout =
	//warning = Firespitter/Sounds/sound_fsheatDing
	powerPitchBase = 1.0
	thrustAddedToPitch = 0.5
	powerFadeInSpeed = 0.005
	powerFadeInDelay = 0.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 = FSengine
	thrustTransformName = thrustTransform
	maxThrust = 160
	powerProduction = 40
	engineBrake = 15
	powerDrain = 10
	velocityLimit = 0,1;200,0.8;300,0
	fuelConsumption = 0,0.0001;1,0.01
	atmosphericThrust = 0,0;0.9,1;1,1
	resources = LiquidFuel,0.066;IntakeAir,1
}

MODULE
{
  name = ModuleResourceIntake
  resourceName = IntakeAir
  checkForOxygen = false
  area = 0.03
  intakeSpeed = 50
  intakeTransformName = thrustTransform //Intake  
}

RESOURCE
{
    name = IntakeAir
    amount = 0
    maxAmount = 15.0
}



MODULE
{
	name = FSplanePropellerSpinner
	duplicatedBlades = True
	propellerName = Propeller
	rotationSpeed = -2000
	windmillRPM = 0.1
	spinUpTime = 12.0
	useRotorDiscSwap = 1
	rotorDiscFadeInStart = 0.5
	rotorDiscFadeInEnd = 0.5
	rotorDiscSpeed = 30
	rotorDiscName = disc
	blade1 = blade1
}


MODULE
{
	name = FSswitchEngineThrustTransform
	defaultTTName = thrustTransform
	alternateTTName = Reverse
	useNamedAlternate = 0
}

MODULE
{
	name = FSalternator
	resourceName = ElectricCharge
	chargeRate = 0.01
}

// PART END
}
