PART
{
	name = size6Fairing
	module = Part
	author = Bonus Eventus
	
	MODEL
	{
		model = kerbodynePlus/Parts/Aero/size6Fairing
		scale = 1.25, 1.25, 1.25
	}
	scale = 1.25
	rescaleFactor = 1	
	
	node_stack_top = 0.0, 0.5, 0.0, 0.0, 1.0, 0.0, 6
	node_stack_bottom = 0.0, -0.5, 0.0, 0.0, -1.0, 0.0, 6
	
	fx_gasBurst_white = 0.0, 0.3, 0.0, 0.0, 1.0, 0.0, deploy
	sound_vent_large = deploy
	
	TechRequired = metaMaterials
	entryCost = 18000
	cost = 2400
	category = Aero
	subcategory = 0
	title = Kerbodyne S6 7.5M Fairing
	manufacturer = Kerbodyne
	description = Tired of the little cones FLOOYD puts out, the Behemoth System required better. Introducing the new S6 7.5M Fairing! Fairing shell can expand up to 15M in diameter. Beat that FLOOYD!
	attachRules = 1,0,1,1,0,0,0,0
	mass = 1.25
	thermalMassModifier = 2.0
	skinMassPerArea = 4.0
	skinInternalConductionMult = 0.25
	// heatConductivity = 0.06 // half default
	emissiveConstant = 0.8
	dragModelType = default
	maximum_drag = 0.2
	minimum_drag = 0.2
	angularDrag = 2
	crashTolerance = 9
	breakingForce = 400
    	breakingTorque = 400
	maxTemp = 2600 // = 3400
	fuelCrossFeed = True
	stageOffset = 1
	childStageOffset = 1
	bulkheadProfiles = size3
	tags = kerbodynePlus kp behe behemoth kerbodyne aero )cap cargo cone contain drag fairing hollow inter nose payload protect rocket shroud stage (stor transport
	MODULE
	{
		name = ModuleProceduralFairing
		
		nSides = 64
		nArcs = 6
		nCollidersPerArc = 2
		TextureURL = kerbodynePlus/Parts/Aero/fairings_shell
		
		panelGrouping = 3
		pivot = 0,0.5,0
		axis = 0,1,0
		
		baseRadius = 3.75
		maxRadius = 15
		capRadius = 0.375
		snapThreshold = 0.25
		
		xSectionHeightMin = 0.3
		xSectionHeightMax = 8
		
		edgeSlide = 0.15
		edgeWarp = 0.02
		noseTip = 0.5
		
		UnitAreaMass = 0.03
		UnitAreaCost = 18
	}
	MODULE
	{
		name = ModuleCargoBay
		DeployModuleIndex = 0
		closedPosition = 0
		lookupRadius = 2.5
		
		// nodeOuterAftID = bottom
		// nodeInnerAftID = top
	}
	MODULE
	{
		name = ModuleTestSubject
		useStaging = True
		useEvent = False
		situationMask = 127
		CONSTRAINT
		{
			type = ATMOSPHERE
			value = True
		}
		CONSTRAINT
		{
			type = REPEATABILITY
			value = ALWAYS
			prestige = Trivial
		}
		CONSTRAINT
		{
			type = REPEATABILITY
			value = BODYANDSITUATION
			prestige = Significant
		}
		CONSTRAINT
		{
			type = REPEATABILITY
			value = ONCEPERPART
			prestige = Exceptional
		}
		CONSTRAINT
		{
			type = ALTITUDE
			test = GT
			value = 0 // this just registers altitude as something to care about
			situationMask = 8
		}
		CONSTRAINT
		{
			type = ALTITUDEENV
			test = GT
			value = 4000
			prestige = Trivial
		}
		CONSTRAINT
		{
			type = ALTITUDEENV
			test = LT
			value = 8000
			prestige = Trivial
		}
		CONSTRAINT
		{
			type = ALTITUDEENV
			test = GT
			value = 2000
			prestige = Significant
		}
		CONSTRAINT
		{
			type = ALTITUDEENV
			test = LT
			value = 4000
			prestige = Significant
		}
		CONSTRAINT
		{
			type = ALTITUDEENV
			test = GT
			value = 1000
			prestige = Exceptional
		}
		CONSTRAINT
		{
			type = ALTITUDEENV
			test = LT
			value = 2000
			prestige = Exceptional
		}
		CONSTRAINT
		{
			type = SPEED
			test = LT
			value = 2000
			situationMask = 8
		}
		CONSTRAINT
		{
			type = ALTITUDE
			test = LT
			value = 300000
			situationMask = 16
			body = _NotSun
		}
		CONSTRAINT
		{
			type = ALTITUDE
			test = LT
			value = 600000
			situationMask = 32
			body = _NotSun
		}
	}
}
