PART
{
// --- general parameters ---
name = SWOrionSM
module = Part
author = TheShadow1138

// --- asset parameters ---
MODEL
{
  model = ShadowWorks/Parts/Orion/OrionSM
}
rescaleFactor = 1.0

// --- node definitions ---
node_stack_top = 0.0, 0.774, 0.0, 0.0, 1.0, 0.0, 1
node_stack_bottom = 0.0, -0.60, 0.0, 0.0, -1.0, 0.0, 1

NODE
{
	name = panelNode1
	transform = panelNode1
	size = 1
	method = FIXED_JOINT
}
NODE
{
	name = panelNode2
	transform = panelNode2
	size = 1
	method = FIXED_JOINT
}
NODE
{
	name = panelNode3
	transform = panelNode3
	size = 1
	method = FIXED_JOINT
}
NODE
{
	name = panelNode4
	transform = panelNode4
	size = 1
	method = FIXED_JOINT
}


// --- FX definitions ---

fx_exhaustFlame_blue_small = 0.0, -5.8, 0.0, 0.0, 1.0, 0.0, running
fx_exhaustLight_blue = 0.0, -5.96, 0.0, 0.0, 0.0, 1.0, running
fx_exhaustSparks_flameout = 0.0, -5.9, 0.0, 0.0, 0.0, 1.0, flameout
fx_smokeTrail_light = 0.0, -5.9, 0.0, 0.0, 1.0, 0.0, running


// --- Sound FX definition ---

sound_vent_medium = engage
sound_rocket_hard = running
sound_vent_soft = deactivate
sound_explosion_low = flameout

// --- editor parameters ---
TechRequired = heavierRocketry
entryCost = 4800
cost = 2000
category = Propulsion
subcategory = 0
title = Osiris Service Module SW-SM-01
manufacturer = ShadowWorks
description = The service module of the Osiris Spacecraft.  The service module possesses integrated RCS thrusters, and an integrated service propulsion system.  Just need to attach the Osiris solar panels.

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

// --- standard part parameters ---
mass = 0.53
dragModelType = default
maximum_drag = 0.2
minimum_drag = 0.2
angularDrag = 2
crashTolerance = 12
breakingForce = 60
breakingTorque = 60
maxTemp = 3200
stagingIcon = LIQUID_ENGINE
stageOffset = 1
childStageOffset = 1
bulkheadProfiles = size1
stackSymmetry = 1
CoMOffset = 0.0, -3.0, 0.0
tags = service module engine rcs orion osiris shadowworks


MODULE
{
	name = ModuleEngines
	engineID = SWOrionSMEng
	thrustVectorTransformName = thrustTransform
	exhaustDamage = True
	ignitionThreshold = 0.1
	minThrust = 0
	maxThrust = 40.75
	heatProduction = 230
	fxOffset = 0, 0, 0.5
	PROPELLANT
	{
		name = LiquidFuel
       	        ratio = 0.9
		DrawGauge = True
	}
	PROPELLANT
	{
		name = Oxidizer
		ratio = 1.1
	}
	atmosphereCurve
 	{
   	 key = 0 550
  	 key = 1 550
 	}
	
}

MODULE
{
	name = ModuleGimbal
	gimbalTransformName = thrustTransform
	gimbalRange = 3
}



MODULE
{
	name = FXModuleAnimateThrottle
	animationName = emissiveAnim
	responseSpeed = 0.0025
	dependOnEngineState = True
	dependOnThrottle = True
}

RESOURCE
{
 name = LiquidFuel
 amount = 150
 maxAmount = 150
}

RESOURCE
{
 name = Oxidizer
 amount = 184
 maxAmount = 184
}

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

MODULE
{
	name = ModuleAlternator	
	RESOURCE
	{
		name = ElectricCharge
		rate = 1
	}
}

	EFFECTS
	{
		running
		{
			AUDIO_MULTI_POOL
			{
				channel = Ship
				transformName = RCSThruster
				clip = sound_rocket_mini
				volume = 0.0 0.0
				volume = 0.1 0.0
				volume = 0.5 0.025
				volume = 1.0 0.1
				pitch = 0.0 0.75
				pitch = 1.0 1.5
				loop = true
			}
			MODEL_MULTI_PARTICLE
			{
				modelName = Squad/FX/Monoprop_small
				transformName = RCSThruster
				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
	thrusterTransformName = RCSThruster 
	thrusterPower = 1.25
	resourceName = MonoPropellant
	resourceFlowMode = STAGE_PRIORITY_FLOW
	runningEffectName = running
	atmosphereCurve
 	{
   	 key = 0 260
  	 key = 1 100
 	}
}
	
}





