PART
{ 

// --- general parameters ---
name = bellprop
module = Part
author = blackheart612

// --- asset parameters ---
mesh = model.mu
rescaleFactor = 1.0

// --- node definitions ---

node_stack_top = 0.0, 0.0, 0.0, 0.0, -1.0, 0.0

// --- 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 = 5000
entryCost = 2200
category = Engine
subcategory = 0
title = RR K250 "Maverick" Turboshaft Engine
manufacturer = Kerbal Standard
description = Your first choice when you would like to stop and go absolutely anywhere in kerbin.

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

// --- standard part parameters ---
mass = 0.5
dragModelType = default
maximum_drag = 0.2
minimum_drag = 0.2
angularDrag = 2
breakingForce = 200
breakingTorque = 200
crashTolerance = 15
maxTemp = 3600
fuelCrossFeed = True
tags = bell helicopter rotor vtol

MODULE

{
	
	name = FSengineBladed
	
	rotorHubName = shaft
	bladeHubName = blade	
	baseTransformName = baseReference
	tailRotor = false
	wingArea = 1.25
	maxRPM = 1000
	span = 2.5
	maxThrust = 50 // doesn't mean anything in a bladed engine, except as a coefficient for fuel consumption
	
	
resources = LiquidFuel,1;IntakeAir,15
	
	fuelConsumption = 0,0.0001;1,0.001

	powerProduction = 50
}

MODULE
{
	name = FSengineSounds
	engage = AirplanePlus/Sounds/helicopter_startup
	//running = AirplanePlus/Sounds/turbine_idle
	power = AirplanePlus/Sounds/bell_idle
	disengage = AirplanePlus/Sounds/helicopter_stop
	flameout = AirplanePlus/Sounds/helicopter_flameout
	//warning = 
	powerPitchBase = 0.75
	thrustAddedToPitch = 0.15
	powerFadeInSpeed = 0.0025
	powerFadeInDelay = 20.0
	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 = ModuleSurfaceFX //I don't even know how this works
            thrustProviderModuleIndex = 0
            fxMax = 0.1
            maxDistance = 20
            falloff = 1
            thrustTransformName = thrustTransform
        }
	

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

MODULE
{
	name = FSplanePropellerSpinner
	propellerName = shaft
	//duplicatedBlades = true
	rotationSpeed = -400
	windmillRPM = 0.1
	spinUpTime = 1.0
	useRotorDiscSwap = 1
	rotorDiscFadeInStart = 0.55
	rotorDiscFadeInEnd = 0.95
	rotorDiscSpeed = -400
	rotorDiscName = disc
	blade1 = blade1
	blade2 = blade2
	blade3 = rods
}

//MODULE
{
	name = FSswitchEngineThrustTransform
	defaultTTName = thrustTransform
	alternateTTName = alternateThrustTransform
	useNamedAlternate = 0
}

//MODULE
{
	name = FSengineHandCrank
}
	
MODULE
{
 name = FSmeshSwitch
 moduleID = 0
 buttonName = Next
 previousButtonName = Previous
 objectDisplayNames = Engine'd;Engineless
 objects = base, engine, blade1, blade2, shaft, rods;base, blade1, blade2, shaft, rods
 updateSymmetry = true
}
// PART END
}
