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

// --- asset parameters ---
MODEL
{
  model = ShadowWorks/Parts/Altair/AltairDescent
}
rescaleFactor = 0.85

// --- node definitions ---
node_stack_top = 0.0, 1.247, 0.0, 0.0, 1.0, 0.0, 2
node_stack_bottom = 0.0, -1.769, 0.0, 0.0, -1.0, 0.0, 3
node_attach = 0.0, 0.0, -2.5, 0.0, 0.0, -1.0, 2


// --- 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 = Horus Descent Stage SW-SM-02
manufacturer = ShadowWorks
description = The descent module of the Horus Munar Lander.  The descent stage has integrated engines, and enough delta-v for Munar Orbit Insertion, and descent/landing.

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

// --- standard part parameters ---
mass = 2.3
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 = size5
tags = lander altair horus shadowworks

MODULE
{
	name = ModuleInventoryPart		
	InventorySlots = 9
}

MODULE
{
	name = ModuleEngines
	engineID =  SWAltairDE
	thrustVectorTransformName = thrustTransform
	exhaustDamage = True
	ignitionThreshold = 0.1
	minThrust = 0
	maxThrust = 165
	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 = 300
 maxAmount = 300
}

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

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
			}
		}		
	}

	
}





