PART
{

// --- general parameters ---
name = SWSerenitySM
module = Part
author = TheShadow1138

// --- asset parameters ---
mesh = SerenitySM.mu
rescaleFactor = 0.615


// --- node definitions ---
node_stack_top = 0.0, 2.41, 0.0, 0.0, 1.0, 0.0, 2
node_stack_bottom = 0.0, -3.087, 0.0, 0.0, -1.0, 0.0, 2

// --- FX definitions ---

fx_exhaustFlame_blue_small = 0.0, -1.2, 0.0, 0.0, 1.0, 0.0, running
fx_exhaustLight_blue = 0.0, -3.087, 0.0, 0.0, 0.0, 1.0, running
fx_exhaustSparks_flameout = 0.0, -3.087, 0.0, 0.0, 0.0, 1.0, flameout
fx_smokeTrail_light = 0.0, -2.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 = 13200
cost = 2200
category = Pods
subcategory = 0
title = Serenity Service Module SW-SSM-05
manufacturer = ShadowWorks
description = An autonomous service module perfect for providing propulsion to space stations, serving as a space-tug, or spacecraft purpose module.  It has 4 built-in engines.

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

// --- standard part parameters ---
mass = 5
dragModelType = default
maximum_drag = 0.2
minimum_drag = 0.2
angularDrag = 2
crashTolerance = 8
maxTemp = 3400
breakingForce = 50000
breakingTorque = 50000
bulkheadProfiles = size2
vesselType = Station

stagingIcon = LIQUID_ENGINE
tags = space station module command service module serenity iss shadowworks
 

MODULE
{
	name = ModuleCommand
	minimumCrew = 0
	
	RESOURCE
	{
		name = ElectricCharge
		rate = 0.05
	}
}

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

	MODULE
	{
		name = ModuleReactionWheel
		PitchTorque = 1.5
		YawTorque = 1.5
		RollTorque = 1.5
		RESOURCE
		{
			name = ElectricCharge
			rate = 0.15
		}
	}
	MODULE
	{
		name = ModuleSAS
		SASServiceLevel = 3
	}
	MODULE
	{
		name = ModuleProbeControlPoint
		minimumCrew = 1
		multiHop = True
	}
	MODULE
	{
		name = ModuleKerbNetAccess
		MinimumFoV = 5
		MaximumFoV = 90
		AnomalyDetection = 0.3
		DISPLAY_MODES
		{
			Mode = Biome,#autoLOC_438890 //#autoLOC_438890 = Biome
			Mode = Terrain,#autoLOC_438839 //#autoLOC_438839 = Terrain
		}
	}
	MODULE
	{
		name = ModuleDataTransmitter
		antennaType = INTERNAL
		packetInterval = 0.75
		packetSize = 2
		packetResourceCost = 12.0
		requiredResource = ElectricCharge
		antennaPower = 5000
		antennaRange = 2500
		packetFloor = 0.1
		packetCeiling = 5
	}

MODULE
{
	name = ModuleEngines
	engineID = SWSerenityEng
	thrustVectorTransformName = thrustTransform
	exhaustDamage = True
	ignitionThreshold = 0.1
	minThrust = 0
	maxThrust = 196
	heatProduction = 425
	fxOffset = 0, 0.0, 1.0
	PROPELLANT
	{
		name = LiquidFuel
       	        ratio = 0.9
		DrawGauge = True
	}
	PROPELLANT
	{
		name = Oxidizer
		ratio = 1.1
	}
	atmosphereCurve
 	{
   	 key = 0 430
  	 key = 1 306
 	}
	
}


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


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

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

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

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

MODULE
{
       name = ModuleJettison
       jettisonName = SerenitySMFairing
       bottomNodeName = bottom
       isFairing = True
       jettisonedObjectMass = 0.1
       jettisonForce = 5
       jettisonDirection = 0 0 1
	
}

}
