PART
{
	name = nesdKeR7-rk111
	module = Part
	author = NESD
	rescaleFactor = 1
	node_stack_top = 0.0, 1, 0.0, 0.0, 1.0, 0.0, 2
	node_stack_bottom = 0.0, -1.0, 0.0, 0.0, -1.0, 0.0, 2
	CoMOffset = -0, 0, 0
	CoLOffset = -0, 0.5, 0
	CoPOffset = -0, 0.3, 0
	TechRequired = heavyRocketry
	entryCost = 11500
	cost = 3500
	category = Engine
	subcategory = 0
	title = RK-111 Liquid Fuel Engine
	manufacturer = #autoLOC_501639
	description = Powerful first stage engine for ICBMs
	attachRules = 1,0,1,1,0
	mass = 2.1 
	heatConductivity = 0.06
	skinInternalConductionMult = 4.0
	emissiveConstant = 0.8
	dragModelType = default
	maximum_drag = 0.1
	minimum_drag = 0.1
	angularDrag = 1
	crashTolerance = 7
	breakingForce = 200
	breakingTorque = 200
	maxTemp = 2000
	bulkheadProfiles = size1p5
	tags = engine rocket orbit propulsion
	
	MODEL
	{
		model = KeR-7/Parts/Eng111/RK-111
	}
	EFFECTS
	{
		running
		{
			AUDIO
			{
				channel = Ship
				clip = sound_rocket_hard
				volume = 0.0 0.0
				volume = 1.0 1.3
				pitch = 0.0 0.5
				pitch = 1.0 1.0
				loop = true
			}
			PREFAB_PARTICLE
			{
				name = N1
				prefabName = fx_exhaustFlame_blue
				transformName = FX1
				emission = 0.0 0.0
				emission = 0.2 0.8
				emission = 0.5 2.0
				emission = 1.0 3.0
				speed = 0.0 0.5
				speed = 1.0 1.2
				localOffset = 0, -0.7, 0
				localRotation = 0, 90, 0
				localScale = 1.2, 1.2, 1.2
			}
			PREFAB_PARTICLE
			{
				name = N2
				prefabName = fx_exhaustFlame_blue
				transformName = FX2
				emission = 0.0 0.0
				emission = 0.2 0.8
				emission = 0.5 2.0
				emission = 1.0 3.0
				speed = 0.0 0.5
				speed = 1.0 1.2
				localOffset = 0, -0.7, 0
				localRotation = 0, 90, 0
				localScale = 1.2, 1.2, 1.2
			}
			PREFAB_PARTICLE
			{
				name = N3
				prefabName = fx_exhaustFlame_blue
				transformName = FX3
				emission = 0.0 0.0
				emission = 0.2 0.8
				emission = 0.5 2.0
				emission = 1.0 3.0
				speed = 0.0 0.5
				speed = 1.0 1.2
				localOffset = 0, -0.7, 0
				localRotation = 0, 90, 0
				localScale = 1.2, 1.2, 1.2
			}
			PREFAB_PARTICLE
			{
				name = N4
				prefabName = fx_exhaustFlame_blue
				transformName = FX4
				emission = 0.0 0.0
				emission = 0.2 0.8
				emission = 0.5 2.0
				emission = 1.0 3.0
				speed = 0.0 0.5
				speed = 1.0 1.2
				localOffset = 0, -0.7, 0
				localRotation = 0, 90, 0
				localScale = 1.2, 1.2, 1.2
			}
			MODEL_MULTI_PARTICLE
			{
				modelName = Squad/FX/Monoprop_medium
				transformName = FXpump
				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
			}
			PREFAB_PARTICLE
			{
				name = smoke
				prefabName = fx_smokeTrail_light
				transformName = FXpump
				emission = 0.0 0.0
				emission = 0.2 0.8
				emission = 0.5 1.5
				emission = 1.0 2.0
				speed = 0.0 0.8
				speed = 1.0 1.5
				localOffset = 0, 0, 0
				localRotation = 0, 0, 0
				localScale = 1.2, 1.2, 1.2
			}
		}
		engage
		{
			AUDIO
			{
				channel = Ship
				clip = sound_vent_soft
				volume = 1.0
				pitch = 2.0
				loop = false
			}
		}
		flameout
		{
			PREFAB_PARTICLE
			{
				prefabName = fx_exhaustSparks_flameout
				transformName = FX_Smoke
				oneShot = true
			}
			AUDIO
			{
				channel = Ship
				clip = sound_explosion_low
				volume = 1.0
				pitch = 2.0
				loop = false
			}
		}
	}
	
	MODULE
	{
		name = ModulePartVariants
		primaryColor = #ffffff
		secondaryColor = #ffffff
		baseDisplayName = #autoLOC_8007119
		baseThemeName = White
		VARIANT
		{
			name = Gray
			displayName = Gray
			themeName = GrayAndOrange
			primaryColor = #4c4f47
			secondaryColor = #4c4f47
			TEXTURE
			{
				mainTextureURL = KeR-7/Parts/Eng111/RK111texG
			}
		}
		VARIANT
		{
			name = GrayOrange
			displayName = Gray and Orange
			themeName = GrayAndOrange
			primaryColor = #4c4f47
			secondaryColor = #f49841
			TEXTURE
			{
				mainTextureURL = KeR-7/Parts/Eng111/RK111texGO
			}
		}
		VARIANT
		{
			name = Dark
			displayName = Dark
			themeName = Dark
			primaryColor = #1a1a1a
			secondaryColor = #ffffff
			TEXTURE
			{
				mainTextureURL = KeR-7/Parts/Eng111/RK111texD
			}
		}
		VARIANT
		{
			name = BlackWhite
			displayName = Black and White
			themeName = BlackAndWhite
			primaryColor = #1a1a1a
			secondaryColor = #1a1a1a
			TEXTURE
			{
				mainTextureURL = KeR-7/Parts/Eng111/RK111texBW
			}
		}
	}
	
	MODULE
	{
		name = ModuleEnginesFX
		thrustVectorTransformName = thrustTransform
		exhaustDamage = True
		ignitionThreshold = 0.1
		minThrust = 0
		maxThrust = 520
		heatProduction = 150
		fxOffset = 0, 0, 0.6
		EngineType = LiquidFuel
		exhaustDamageDistanceOffset = 0.5
		runningEffectName = running
		PROPELLANT
		{
			name = LiquidFuel
			ratio = 0.9
			DrawGauge = True
		}
		PROPELLANT
		{
			name = Oxidizer
			ratio = 1.1
		}
		atmosphereCurve
		{
			key = 0 311
			key = 1 270
			key = 7 0.001
		}
	}
	
	MODULE
	{
		name = ModuleGimbal
		gimbalTransformName = Gimbal
		gimbalRange = 5
		xMult = 0
		useGimbalResponseSpeed = true
		gimbalResponseSpeed = 30
	}
	
	MODULE
	{
		name = ModuleAlternator
		RESOURCE
		{
			name = ElectricCharge
			rate = 3.0
		}
	}
	
	MODULE
	{
		name = FXModuleAnimateThrottle
		animationName = Eng111
		responseSpeed = 0.001
		dependOnEngineState = True
		dependOnThrottle = True
	}
	
	MODULE
	{
		name = FXModuleConstrainPosition
		matchRotation = true
		matchPosition = false
		CONSTRAINFX
		{
			targetName = Target1
			moversName = RK111n1
		}
		CONSTRAINFX
		{
			targetName = Target2
			moversName = RK111n2
		}
		CONSTRAINFX
		{
			targetName = Target3
			moversName = RK111n3
		}
		CONSTRAINFX
		{
			targetName = Target4
			moversName = RK111n4
		}
	}
	
	MODULE
	{
		name = ModuleJettison
		jettisonName = Shroud
		bottomNodeName = bottom
		isFairing = True
		jettisonedObjectMass = 0.1
		jettisonForce = 1
		jettisonDirection = 0 0 1
		useMultipleDragCubes = false
	}
	
	MODULE
	{
		name = ModuleSurfaceFX
		thrustProviderModuleIndex = 1
		fxMax = 0.6
		maxDistance = 30
		falloff = 1.5
		thrustTransformName = thrustTransform
	}
	
	MODULE
	{
		name = ModuleLiftingSurface
		useInternalDragModel = False
		deflectionLiftCoeff = 0.5
		transformDir = Z
		transformSign = 1
		dragAtMaxAoA = 0.0
		dragAtMinAoA = 0.0
	}
	MODULE
	{
		name = ModuleLiftingSurface
		useInternalDragModel = False
		deflectionLiftCoeff = 0.5
		transformDir = X
		transformSign = 1
		dragAtMaxAoA = 0.0
		dragAtMinAoA = 0.0
	}
}
