STORAGE_TEMPLATE
{
	name = Gyro
	author = Angel-125
	shortName = Lead
	logoPanel = WildBlueIndustries/000WildBlueTools/Decals/Ore
	glowPanel = WildBlueIndustries/000WildBlueTools/Decals/OreGlow
	description = This kit has a gyro.
	templateTags = stowage

	MODULE
	{
		name = ModuleReactionWheel
		PitchTorque = 350
		YawTorque = 50
		RollTorque = 500
		RESOURCE
		{
			name = ElectricCharge
			rate = 5.0
		}
	}

}

//Y is Front
//-Y is Back
//Z is Bottom
//-Z is Top
//X is Right
//-X is Left
PART
{
	// --- general parameters ---
	name = hl10Inflatable
	module = Part
	author = Angel-125

	// --- asset parameters ---

	rescaleFactor = 1
	
	MODEL
	{
	    model = WildBlueIndustries/Heisenberg/Parts/HL10/HL10Inflatable
	}

	// --- node definitions ---
	node_attach = 0.0, 0.0, 0.0, 0, 0, 1, 3
	node_stack_bottom = 0.0, 0.0, 0.0, 0, 0, 1, 3
	node_stack_top = 0.0, 0.0, 0.0, 0, 0, -1, 3

	// --- editor parameters ---
	TechRequired = experimentalAerodynamics
	entryCost = 46600
	cost = 52800
	category = Aero
	subcategory = 0
	title = HL-10 Inflatable Envelope
	manufacturer = Heisenberg Airships
	description = Part of the Heisenberg line of airships, we're not 100% certain that this component will meet your aerostatic lift needs, but we're pretty sure. Building on the success of the rigid airship designs, this non-rigid envelope can be deflated for compact storage. It comes equipped with steerable rudders and ultra-flex solar arrays.

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

	//USS Macon displacement: 209580.3 m^3; dead weight: 97975 kg
	//209580.3 / 97975 = 2.139 kg per m^3 = 0.002139 mt/m^3 ~ 0.002 mt/m^3
	mass = 4.25
	dragModelType = default
	maximum_drag = 0.2
	minimum_drag = 0.2
	angularDrag = 2
	crashTolerance = 10
	breakingForce = 50000
	breakingTorque = 50000
	maxTemp = 1900
	fuelCrossFeed = True
//	CoMOffset = 0,0,4.5
	emissiveConstant = 0.6

	MODULE
	{
		name = ModuleDeployableSolarPanel
		sunTracking = false
		raycastTransformName = suncatcher
		pivotName = suncatcher
		isBreakable = false
		resourceName = ElectricCharge
		impactResistance = 20
		chargeRate = 150
	}

	MODULE:NEEDS[HLAirships]
	{
		name = HLEnvelopePartModule

		// the (effective) volume of the blimp - affects the lifting capacity, ~200/10 of Ludo blimp
		envelopeVolume = 12500

		// This multiplies the lifting volume of the envelope,
		// allowing for visually smaller envelopes to act as though they were larger.
		// For realistic lift, set to 1.
		envelopeVolumeScale = 42

		// this will clamp the maximum force due to buoyancy if non-zero
		//limitBuoyantForce = 200

		// The initial fraction that the gas is of maximum possible volume, from 0.0 to 1.0
		specificVolumeFractionEnvelope = 0.0

		// rate (per second) that gas can be compressed
		compressRate = .03

		// rate (per second) that gas can be expanded
		expandRate = .03

		// When pressure drops below this value the blimp will undeploy
		minAtmPressure = -0.01

		// Deployed drag, not used for unanimated envelopes
		// dragDeployed = 0

		// Maximum speed you can be traveling to "Make Stationary"
		makeStationarySpeedMax = 10

		// Once made stationary, this is how fast the airship can travel
		// You can set higher than 0.2 but it may affect saves
		// And EVA walking ability on the vessel
		makeStationarySpeedClamp = 0.05

		// Is it animated?
		envelopeHasAnimation = true

		animationName = Deploy
	}

//	MODULE:NEEDS[!HLAirships]
//	{
		name = WBIModuleStaticLift

		//776.46 * 0.9 * 1000, rounded up, in liters
//		envelopeVolume = 350000

		//Helium
//		liftGasDensity = 0.0000001786

		//Fudge factor to increase lifting power.
//		liftMultiplier = 50
//	}

	MODULE
	{
		name = WBINameTag
		nameTagTransforms = nameTag1
	}

	MODULE
	{
		name = WBINameTag
		nameTagTransforms = nameTag2
	}

	MODULE
	{
		name = FlagDecal
		textureQuadName = flag
		flagDisplayed = false
	}

	MODULE
	{
		name = WBINodeStripper
		stripUnusedNodes = true
	}
}
