PART
{
	// --- general parameters ---
	name = OctoSat_Pr_LfOx
	module = Part
	author = Nookos
	
	// --- Model ---
	
	MODEL
	{
		model = NSS/Parts/OctoSat_Pr_LfOx
	}
	// --- asset parameters ---
	scale = 1
	rescaleFactor = 1

	// --- node definitions ---
	node_stack_bottom = 0, 0, 0, 0, -1, 0, 0
	node_stack_top = 0, 0.5161, 0, 0, 1, 0, 0
	NODE
	{
		name = side1
		transform = Node1
		size = 0
		method = FIXED_JOINT
	}
	NODE
	{
		name = side2
		transform = Node2
		size = 0
		method = FIXED_JOINT
	}
	NODE
	{
		name = side3
		transform = Node3
		size = 0
		method = FIXED_JOINT
	}	
	NODE
	{
		name = side4
		transform = Node4
		size = 0
		method = FIXED_JOINT
	}
	NODE
	{
		name = side5
		transform = Node5
		size = 0
		method = FIXED_JOINT
	}
	NODE
	{
		name = side6
		transform = Node6
		size = 0
		method = FIXED_JOINT
	}
	NODE
	{
		name = side7
		transform = Node7
		size = 0
		method = FIXED_JOINT
	}
	NODE
	{
		name = side8
		transform = Node8
		size = 0
		method = FIXED_JOINT
	}

	// --- editor parameters ---
	TechRequired = advUnmanned
	entryCost = 6500
	cost = 1250
	category = Engine
	subcategory = 0
	title = OSLO 11-7G "Magnus" Liquid Fuel Engine
	manufacturer = NSS
	description = Magnus is sturdy and powerful. Magnus loves liquid fuel and oxidizer. Vacuum is his territory. Magnus is norwegian! Why? Because!

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

	// --- standard part parameters ---
	mass = 0.12
	dragModelType = default
	maximum_drag = 0.2
	minimum_drag = 0.2
	angularDrag = 2
	crashTolerance = 9
	heatConductivity = 0.01
	emissiveConstant = 0.9
	maxTemp = 2000

	bulkheadProfiles = srf
	tags = octosat (magnus probe propuls rocket vacuum

	// --- resources ---

	// --- Modules ---
	MODULE
	{
		name = AnimatedEngine
		EngineAnimationName = Deploy //name of animation
		WaitForAnimation = 0.85   //normalizedTime index of when to activate engine on deploy (default is 0 = instant.  1 = wait till animation plays fully)
	}
	EFFECTS
	{
		running
		{
			AUDIO
			{
				channel = Ship
				clip = sound_rocket_mini
				volume = 0.0 0.0
				volume = 1.0 1.0
				pitch = 0.0 0.75
				pitch = 1.0 0.95
				loop = true
			}
			PREFAB_PARTICLE
			{
				prefabName = fx_exhaustFlame_yellow_tiny_Z
				transformName = thrustTransform
				emission = 0.0 0.0
				emission = 1.0 1.0
				speed = 0.0 0.8
				speed = 1.0 1.0
			}
		}
		engage
		{
			AUDIO
			{
				channel = Ship
				clip = sound_vent_medium
				loop = false
			}
		}
		disengage
		{
			AUDIO
			{
				channel = Ship
				clip = sound_vent_soft
				loop = false
			}
		}
	}
	MODULE
	{
		name = ModuleEnginesFX
		thrustVectorTransformName = thrustTransform
		exhaustDamage = True
		ignitionThreshold = 0.1
		minThrust = 0
		maxThrust = 11
		heatProduction = 150
		fxOffset = 0, 0, 0.125
		EngineType = LiquidFuel
		PROPELLANT
		{
			name = LiquidFuel
			ratio = 0.9
			DrawGauge = True
		}
		PROPELLANT
		{
			name = Oxidizer
			ratio = 1.1
		}
		atmosphereCurve
		{
			key = 0 350
			key = 1 50
			key = 7 0.001
		}
	}
	MODULE
	{
		name = ModuleAlternator
		RESOURCE
		{
			name = ElectricCharge
			rate = 3.0
		}
	}
	RESOURCE
	{
		name = ElectricCharge
		amount = 0
		maxAmount = 0
		isTweakable = false
		hideFlow = true
	}
	MODULE
	{
		name = ModuleGimbal
		gimbalTransformName = OP_C_LfOxEngine_Nozzle
		gimbalRange = 2
	}
	MODULE
	{
		name = FXModuleAnimateThrottle
		animationName = LfOxEmissive
		responseSpeed = 0.001
		dependOnEngineState = True
		dependOnThrottle = True
	}
}
