Parts/Aero/fairings/fairingSize2.cfg

From Kerbal Space Program Wiki
< Parts
Revision as of 00:25, 28 September 2024 by DedMazday (talk | contribs) (updated)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
This is the configuration file for AE-FF2 Airstream Protective Shell (2.5m).
PART
{
	name = fairingSize2
	module = Part
	author = HarvesteR
	
	MODEL
	{
		model = Squad/Parts/Aero/fairings/fairingSize2
		rotation = 0.0,180,0.0
		TextureNormalURL = Squad/Parts/Aero/fairings/FairingBaseNormals
	}
	MODEL
	{
		model = Squad/Parts/Aero/fairings/AutoTruss
		scale = 2,2,2
		position = 0.0,0.22,0.0
	}	
	rescaleFactor = 1

	node_stack_interstage01a = 0.0, 1.19, 0.0, 0.0, -1.0, 0.0, 1
	node_stack_interstage01b = 0.0, 1.25, 0.0, 0.0, 1.0, 0.0, 1
	
	node_stack_interstage02a = 0.0, 2.19, 0.0, 0.0, -1.0, 0.0, 1
	node_stack_interstage02b = 0.0, 2.25, 0.0, 0.0, 1.0, 0.0, 1

	node_stack_interstage03a = 0.0, 3.19, 0.0, 0.0, -1.0, 0.0, 1
	node_stack_interstage03b = 0.0, 3.25, 0.0, 0.0, 1.0, 0.0, 1
	
	node_stack_interstage04a = 0.0, 4.19, 0.0, 0.0, -1.0, 0.0, 1
	node_stack_interstage04b = 0.0, 4.25, 0.0, 0.0, 1.0, 0.0, 1

	node_stack_interstage05a = 0.0, 5.19, 0.0, 0.0, -1.0, 0.0, 1
	node_stack_interstage05b = 0.0, 5.25, 0.0, 0.0, 1.0, 0.0, 1

	node_stack_interstage06a = 0.0, 6.19, 0.0, 0.0, -1.0, 0.0, 1
	node_stack_interstage06b = 0.0, 6.25, 0.0, 0.0, 1.0, 0.0, 1
	
	node_stack_top = 0.0, 0.22, 0.0, 0.0, 1.0, 0.0, 1
	node_stack_bottom = 0.0, -0.2, 0.0, 0.0, -1.0, 0.0, 2
	
	fx_gasBurst_white = 0.0, 0.3, 0.0, 0.0, 1.0, 0.0, deploy
	sound_vent_large = deploy
	
	TechRequired = specializedConstruction
	entryCost = 6100
	cost = 600
	category = Payload
	subcategory = 0
	title = #autoLOC_500172 //#autoLOC_500172 = AE-FF2 Airstream Protective Shell (2.5m)
	manufacturer = #autoLOC_501634 //#autoLOC_501634 = FLOOYD Dynamics Research Labs
	description = #autoLOC_500173 //#autoLOC_500173 = While the Kerbals at Mission Control were still figuring out how to get their rockets back down to Kerbin safely, the research engineers at FLOOYD were quickly realising that protecting parts on ascent was just as important. Heavy research into two-dimensional-input driven procedural construction was then funded with the hopes of making protective shells for important payloads and interstage areas of the crafts. The protective shells also have the benefit of making the craft more aerodynamic, hopefully saving on precious rocket fuel! The AE-FF2 is the mid-range size available from FLOOYD.
	attachRules = 1,0,1,1,0
	mass = 0.175
	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
	maxTemp = 2600 // = 3400
	fuelCrossFeed = True
	stageOffset = 1
	childStageOffset = 1
	inverseStageCarryover = false
	bulkheadProfiles = size2
	tags = #autoLOC_500174 //#autoLOC_500174 = aero )cap cargo cone contain drag fairing hollow inter nose payload protect rocket shroud stage (stor transport
	MODULE
	{
		name = ModuleProceduralFairing
		
		nSides = 30
		nArcs = 3
		nCollidersPerXSection = 9
		TextureURL = Squad/Parts/Aero/fairings/fairings_diff
		CapTextureURL = Squad/Parts/Aero/fairings/fairingsCap
		TextureNormalURL = Squad/Parts/Aero/fairings/fairings_normals
		DefaultBaseTextureURL = Squad/Parts/Aero/fairings/FairingBase
		DefaultBaseNormalsURL = Squad/Parts/Aero/fairings/FairingBaseNormals
		BaseModelTransformName = Mesh


		panelGrouping = 3
		pivot = 0,0.17,0
		axis = 0,1,0
		
		baseRadius = 1.25
		maxRadius = 3
		capRadius = 0.375
		snapThreshold = 0.25
		snapThresholdFineAdjust = 0.015
		xSectionHeightMin = 0.3
		xSectionHeightMax = 3
		xSectionHeightMinFineAdjust = 0.06
		xSectionHeightMaxFineAdjust = 6
		aberrantNormalLimit = 21
		minHeightRadiusRatio = 0.1
		
		edgeSlide = 0.15
		edgeWarp = 0.02
		noseTip = 0.5
		
		UnitAreaMass = 0.012
		UnitAreaCost = 12
		
		stagingToggleEnabledEditor = True
		stagingToggleEnabledFlight = False
		stagingEnableText = #autoLOC_502000 //#autoLOC_502000 = Fairing Not Staged
		stagingDisableText = #autoLOC_502001 //#autoLOC_502001 = Fairing Staged
	}
	MODULE
	{
		name = ModuleCargoBay
		DeployModuleIndex = 0
		closedPosition = 0
		lookupRadius = 1.25
		partTypeName = Fairing
		
		// 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
		}
	}
	
	MODULE
	{
		name = ModuleStructuralNode
		rootObject = Cap1
		attachNodeNames = interstage01a,interstage01b
	}	
	MODULE
	{
		name = ModuleStructuralNode
		rootObject = Cap2
		attachNodeNames = interstage02a,interstage02b
	}
	MODULE
	{
		name = ModuleStructuralNode
		rootObject = Cap3
		attachNodeNames = interstage03a,interstage03b
	}
	MODULE
	{
		name = ModuleStructuralNode
		rootObject = Cap4
		attachNodeNames = interstage04a,interstage04b
	}
	MODULE
	{
		name = ModuleStructuralNode
		rootObject = Cap5
		attachNodeNames = interstage05a,interstage05b
	}
	MODULE
	{
		name = ModuleStructuralNode
		rootObject = Cap6
		attachNodeNames = interstage06a,interstage06b
	}	

	MODULE
	{
		name = ModuleStructuralNode
		rootObject = Truss1
		attachNodeNames = interstage01a,interstage01b,interstage02a,interstage02b,interstage03a,interstage03b,interstage04a,interstage04b,interstage05a,interstage05b,interstage06a,interstage06b
	}	
	MODULE
	{
		name = ModuleStructuralNode
		rootObject = Truss2
		attachNodeNames = interstage02a,interstage02b,interstage03a,interstage03b,interstage04a,interstage04b,interstage05a,interstage05b,interstage06a,interstage06b
	}
	MODULE
	{
		name = ModuleStructuralNode
		rootObject = Truss3
		attachNodeNames = interstage03a,interstage03b,interstage04a,interstage04b,interstage05a,interstage05b,interstage06a,interstage06b
	}
	MODULE
	{
		name = ModuleStructuralNode
		rootObject = Truss4
		attachNodeNames = interstage04a,interstage04b,interstage05a,interstage05b,interstage06a,interstage06b
	}
	MODULE
	{
		name = ModuleStructuralNode
		rootObject = Truss5
		attachNodeNames = interstage05a,interstage05b,interstage06a,interstage06b
	}
	MODULE
	{
		name = ModuleStructuralNode
		rootObject = Truss6
		attachNodeNames = interstage06a,interstage06b
	}		
	MODULE 
	{
		name = ModuleStructuralNodeToggle
		MeshMenuName = #autoLOC_502002 //#autoLOC_502002 = Truss Structure
		NodeMenuName = #autoLOC_502003 //#autoLOC_502003 = Interstage Nodes
		showNodes = false
	}
	MODULE
	{
		name = ModulePartVariants
		useMultipleDragCubes = false		
		baseVariant = White
		VARIANT
		{
			name = White
			displayName = #autoLOC_8007119
			themeName = White
			description = #autoLOC_8003040
			primaryColor = #ffffff
			secondaryColor = #ffffff
			TEXTURE
			{
				materialName=FairingsMat
				mainTextureURL = Squad/Parts/Aero/fairings/fairings_diff
			}
			EXTRA_INFO
			{
				FairingsTextureURL=Squad/Parts/Aero/fairings/fairings_diff
				FairingsNormalURL=Squad/Parts/Aero/fairings/fairings_normals
				BaseMaterialName=FairingBase
				BaseTextureName=Squad/Parts/Aero/fairings/FairingBase
				BaseNormalsName=Squad/Parts/Aero/fairings/FairingBaseNormals
			}
		}
		VARIANT
		{
			name = BlackAndWhite
			displayName = #autoLOC_8007120
			themeName = BlackAndWhite
			description = #autoLOC_8003041
			primaryColor = #000000
			secondaryColor = #ffffff
			TEXTURE
			{
				materialName=FairingsMat
				mainTextureURL = Squad/Parts/Aero/fairings/fairings_diff_grey
			}
			EXTRA_INFO
			{
				FairingsTextureURL=Squad/Parts/Aero/fairings/fairings_diff_grey
				FairingsNormalURL=Squad/Parts/Aero/fairings/fairings_grey_normals
				BaseMaterialName=FairingBase
				BaseTextureName=Squad/Parts/Aero/fairings/FairingBase_bw
				BaseNormalsName=Squad/Parts/Aero/fairings/FairingBaseNormals_bw
			}
		}
		VARIANT
		{
			name = Orange
			displayName = #autoLOC_8007100
			themeName = Orange
			description = #autoLOC_8003045
			primaryColor = #f49841
			secondaryColor = #f49841
			TEXTURE
			{
				materialName=FairingsMat
				mainTextureURL = Squad/Parts/Aero/fairings/fairings_diff_orange
			}
			EXTRA_INFO
			{
				FairingsTextureURL=Squad/Parts/Aero/fairings/fairings_diff_orange
				FairingsNormalURL=Squad/Parts/Aero/fairings/fairings_orange_normals
				BaseMaterialName=FairingBase
				BaseTextureName=Squad/Parts/Aero/fairings/FairingBase_orange
				BaseNormalsName=Squad/Parts/Aero/fairings/FairingBaseNormals_orange
			}
		}
		VARIANT
		{
			name = Gold
			displayName = #autoLOC_8007118
			themeName = Gold
			description = #autoLOC_8003046
			primaryColor = #fccb0a
			TEXTURE
			{
				materialName=FairingsMat
				mainTextureURL = Squad/Parts/Aero/fairings/fairings_diff
			}
			EXTRA_INFO
			{
				FairingsTextureURL=Squad/Parts/Aero/fairings/fairings_diff
				FairingsNormalURL=Squad/Parts/Aero/fairings/fairings_normals
				BaseMaterialName=FairingBase
				shaderName=KSP/Bumped Specular (Mapped)
				BaseTextureName=Squad/Parts/Aero/fairings/FairingBase_goldDiffuse
				BaseNormalsName=Squad/Parts/Aero/fairings/FairingBaseNormals_goldSilver
				_SpecMap=Squad/Parts/Aero/fairings/FairingBase_goldSpecular
				_Shininess= 0.82
				_Opacity= 1.0
				_RimFalloff= 2.0
				_AmbientMultiplier= 0.3
				
			}
		}
		VARIANT
		{
			name = Silver
			displayName = #autoLOC_6005005
			themeName = Silver
			description = #autoLOC_6005006
			primaryColor = #cecece
			TEXTURE
			{
				materialName=FairingsMat
				mainTextureURL = Squad/Parts/Aero/fairings/fairings_diff
			}
			EXTRA_INFO
			{
				FairingsTextureURL=Squad/Parts/Aero/fairings/fairings_silverDiffuse
				FairingsNormalURL=Squad/Parts/Aero/fairings/fairings_normals
				FairingsSpecularURL=Squad/Parts/Aero/fairings/fairings_silverSpecular
				BaseMaterialName=FairingBase
				shaderName=KSP/Bumped Specular (Mapped)
				BaseTextureName=Squad/Parts/Aero/fairings/FairingBase_silverDiffuse
				BaseNormalsName=Squad/Parts/Aero/fairings/FairingBaseNormals_goldSilver
				_SpecMap=Squad/Parts/Aero/fairings/FairingBase_silverSpecular
				_SpecMap=Squad/Parts/Aero/fairings/FairingsMat_silverSpecular
				_Shininess= 0.41
				_Opacity= 1.0
				_RimFalloff= 2.0
				_AmbientMultiplier= 0.3
			}		
		}
	}
	MODULE
	{
		name = ModuleCargoPart	
		stackableQuantity = 1
		packedVolume = -1
	}
}