PART
{
// --- general parameters ---
name = HG10B2
module = Part
author = blackheart612

// --- asset parameters ---
mesh = model.mu
rescaleFactor = 1

// --- node definitions ---
node_stack_top = 0.0, 0.25, 0, 0.0, 1.0, 0.0, 1
node_stack_top1 = -0.02, 0.74, 0, 0.0, 1.0, 0.0, 1
node_stack_bottom = 0.0, -1.6, 0.0, 0.0, 1.0, 0.0, 1


// --- FX definitions ---

fx_exhaustFlame_blue_small = 0.0, -9, 0.0, 0.0, 1.0, 0.0, running
fx_exhaustLight_blue = 0.0, -9, 0.0, 0.0, 0.0, 1.0, running
fx_smokeTrail_light  = 0.0, -9, 0.0, 0.0, 1.0, 0.0, running
fx_exhaustSparks_flameout  = 0.0, -9, 0.0, 0.0, 1.0, 0.0, flameout

// --- Sound FX definition ---

sound_engage = engage
sound_loop = running
sound_off = disengage
sound_out = flameout

// --- editor parameters ---
TechRequired = generalRocketry
cost = 1500
category = 0
subcategory = 0
title = HG-10B-2
manufacturer = Kerbodyne
description = Derived from the quite-powerful-enough-engine-for-upperstage HG10-B, the HG-10B-2 is an even more powerful, bigger and less efficient engine for bigger rockets. Because we all know bigger is better.

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

// --- standard part parameters ---
mass = 2.3
dragModelType = default
maximum_drag = 0.2
minimum_drag = 0.2
angularDrag = 2
crashTolerance = 8
maxTemp = 2800
breakingForce = 1200
breakingTorque = 1200


stagingIcon = LIQUID_ENGINE
 
MODULE
{
       name = ModuleJettison
       jettisonName = Fuelline
       bottomNodeName = top1
       isFairing = True
       jettisonedObjectMass = 0.1
       jettisonForce = 5
       jettisonDirection = 0 0 1
	
}


MODULE
{
      name = ModuleAnimateHeat
      ThermalAnim = 10B2Heat
}

EFFECTS
    {
        powerflame
        {
            MODEL_MULTI_PARTICLE_PERSIST
            {
                name = flamethrust
                modelName = AerojetKerbodyne/FX/10B-2
                transformName = thrustTransform
                emission = 0.0 0.0
                emission = 0.05 0.0
                emission = 0.075 0.25
                emission = 1.0 1.25
                speed = 0.0 1.0
                speed = 1.0 1.0
		energy = 0.0 0.33 // Same for energy
		energy = 1.0 0.99 // Same for energy
		fixedEmissions = false

//--oh boy here we go, expanding fx

logGrow
{
density = 1.0 -0.9
density = 0.4 1.0
density = 0.05 5.0
density = 0.005 40.0
}
linGrow
{
density = 1.0 0.0
density = 0.05 0.0
density = 0.005 3.0
density = 0.0 30.0
}
offset
{
density = 1.0 0.0
density = 0.05 0.05
density = 0.0 0.15
}
emission
{
density = 1.0 1.0
density = 0.05 1.0
density = 0.005 0.35
density = 0.0 0.13
}
energy
{
density = 1.0 1.0
density = 0.005 0.8
density = 0.0 0.6
}
size
{
density = 1.0 0.75
density = 0.05 0.75
density = 0.005 0.6
density = 0.0 0.45
}
}

//--expand code end

	AUDIO
            {
                channel = Ship
                clip = AerojetKerbodyne/Sounds/upperloop
                volume = 0.0 0.0
                volume = 1.0 1.0
                pitch = 0.0 0.2
                pitch = 1.0 1.0
                loop = true
            }
        }
        powersmoke
        {

        }
        engage
        {
            AUDIO
            {
                channel = Ship
                clip = AerojetKerbodyne/Sounds/upperstart
                volume = 1.0
                pitch = 2.0
                loop = false
            }
        }
        disengage
        {
            AUDIO
            {
                channel = Ship
                clip = AerojetKerbodyne/Sounds/upperout
                volume = 1.0
                pitch = 2.0
                loop = false
            }
        }
        flameout
        {
            AUDIO
            {
                channel = Ship
                clip = AerojetKerbodyne/Sounds/upperout
                volume = 1.0
                pitch = 2.0
                loop = false
            }
        }
    }
MODULE
    {
        name = ModuleEnginesFX
        runningEffectName = powersmoke
	directThrottleEffectName = powerflame
	thrustVectorTransformName = thrustTransform
	exhaustDamage = True
	ignitionThreshold = 0.1
	minThrust = 0
	maxThrust = 175
	heatProduction = 300
	fxOffset = 0, 0, 0.21
	PROPELLANT
	{
		name = LiquidFuel
        	ratio = 0.9
		DrawGauge = True
	}
	PROPELLANT
	{
		name = Oxidizer
		ratio = 1.1
	}
	atmosphereCurve
 	{
   	 key = 0 375
  	 key = 1 270
 	}
	
}

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

}