PART
{


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

// --- asset parameters ---

	MODEL
	{
		model = XwinKTransport/Parts/UwingRcs2
	}
	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,1,1
	node_stack_top1 = 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 3  //Engines
// --- editor parameters ---
	TechRequired = aerospaceTech
	entryCost = 0
	cost = 6000
	category = Engine
	subcategory = 0
	title = U-wing and Lambda RCS
	manufacturer = CJ Aeronatics
	description = RCS control.

// --- standard part parameters ---
	mass = 0.05
	dragModelType = default
	maximum_drag = 0.2
	minimum_drag = 0.15
	angularDrag = 1
	crashTolerance = 1000
	breakingForce = 20000
	breakingTorque = 20000
	maxTemp = 3400
	bulkheadProfiles = srf, size3
	tags = rcs xwing uwing lambda

// --- internal setup ---

	EFFECTS
	{
		running
		{
			AUDIO
			{
				channel = Ship
				clip = sound_rocket_mini
				volume = 0.0 0.0
				volume = 0.02 0.2
				volume = 0.5 0.2
				volume = 1.0 0.2
				pitch = 0.0 0.75
				pitch = 1.0 1.5
				loop = true
			}
			MODEL_MULTI_PARTICLE
			{
				modelName = Squad/FX/Monoprop_small
				transformName = RCSjet
				emission = 0.0 0.0
				emission = 0.1 0.0
				emission = 1.0 1.0
				speed = 0.0 0.8
				speed = 1.0 1.0
				localRotation = -90, 0, 0
			}
		}		
	}
	MODULE
	{
		name = ModuleRCSFX
		stagingEnabled = False
		thrusterTransformName = RCSjet
		thrusterPower = 20
		resourceName = MonoPropellant
		resourceFlowMode = STAGE_PRIORITY_FLOW
		runningEffectName = running
		atmosphereCurve
		{
			key = 0 240
			key = 1 240
			key = 4 240
		}
	}

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






}