PART
{


// --- general parameters ---
	name = CJTARDISEngine
	module = Part
	author = ColdJ

// --- asset parameters ---

	MODEL
	{
		model = TAKDIS/Engine/TDrive
	}
	scale = 1
	rescaleFactor = 1

// --- node definitions ---
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision

	attachRules = 1,0,1,0,1
	node_stack_top = 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 3  //Engines
	node_stack_Bottom = 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 3  //Engines
// --- editor parameters ---
	TechRequired = aerospaceTech
	entryCost = 20000
	cost = 10000
	category = Engine
	subcategory = 0
	title = T.A.R.D.I.S Engine
	manufacturer = Gallifrey
	description = Hovering on planets or getting to other planets you will need this.

// --- standard part parameters ---
	mass = 0.010
	dragModelType = default
	maximum_drag = 0.2
	minimum_drag = 0.15
	angularDrag = 1
	crashTolerance = 2000
	breakingForce = 20000
	breakingTorque = 20000
	maxTemp = 3400
	stagingIcon = LIQUID_ENGINE
	tags = tardis engine

// --- internal setup ---

	RESOURCE
	{
		name = ElectricCharge
		amount = 100
		maxAmount = 100
	}

	MODULE
	{
		name = ModuleGimbal
		gimbalTransformName = MainThrust
		gimbalRange = 2
	}


	

	MODULE
	{
		name = ModuleEnginesFX
		engineID = Ion
		thrustVectorTransformName = MainThrust
		exhaustDamage = False
		ignitionThreshold = 0.1
		minThrust = 0
		maxThrust = 50
		heatProduction = 0
		powerEffectName = IonPlume
		EngineType = Electric
		PROPELLANT
		{
			name = ElectricCharge
			ratio = 0.1
			DrawGauge = True
			minResToLeave = 1.0
		}

		atmosphereCurve
		{
			key = 0 290000
			key = 1 270000
			key = 5 250000
		}
	}
	MODULE
	{
		name = FXModuleAnimateThrottle
		animationName = colorAnimation
		dependOnEngineState = True
		responseSpeed = 0.5
		engineName = Ion
		dependOnThrottle = True
	}

	EFFECTS
	{		
		IonPlume
		{
			AUDIO
			{
				channel = Ship
				clip = TAKDIS/Sounds/TARDIS
				volume = 0.0 0.0
				volume = 0.05 0.20
				volume = 1.0 0.25
				pitch = 0.0 0.2
				pitch = 1.0 0.8
				loop = true
			}
			//MODEL_MULTI_PARTICLE
			{
				modelName = Squad/FX/IonPlume
				transformName = MainThrust
				emission = 0.0 0.0
				emission = 0.25 0.5			
				emission = 1.0 1.0
				//speed = 0.0 0.0
				//speed = 1.0 1.0
				localPosition = 0, 0, 0.12
			}
		}

	}

}



}