MakingHistory/Parts/Payload/fairingSize4.cfg

From Kerbal Space Program Wiki
Jump to: navigation, search
This is the configuration file for AE-FF5 Airstream Protective Shell (5m).
PART
{
	name = fairingSize4
	module = Part
	author = HarvesteR
	
	MODEL
	{
		model = Squad/Parts/Aero/fairings/fairingSize3
		scale = 1.333, 1.0, 1.333
		rotation = 0.0,180,0.0
		TextureNormalURL = Squad/Parts/Aero/fairings/FairingBaseNormals
	}
	MODEL 
	{
		model = Squad/Parts/Aero/fairings/AutoTruss
		scale = 4,4,4
		position = 0.0,0.22,0.0
	}
	rescaleFactor = 1
	
	node_stack_interstage01a = 0.0, 2.17, 0.0, 0.0, -1.0, 0.0, 2
	node_stack_interstage01b = 0.0, 2.27, 0.0, 0.0, 1.0, 0.0, 2

	node_stack_interstage02a = 0.0, 4.17, 0.0, 0.0, -1.0, 0.0, 2 
	node_stack_interstage02b = 0.0, 4.27, 0.0, 0.0, 1.0, 0.0, 2

	node_stack_interstage03a = 0.0, 6.17, 0.0, 0.0, -1.0, 0.0, 2 
	node_stack_interstage03b = 0.0, 6.27, 0.0, 0.0, 1.0, 0.0, 2

	node_stack_interstage04a = 0.0, 8.17, 0.0, 0.0, -1.0, 0.0, 2 
	node_stack_interstage04b = 0.0, 8.27, 0.0, 0.0, 1.0, 0.0, 2

	node_stack_interstage05a = 0.0, 10.17, 0.0, 0.0, -1.0, 0.0, 2 
	node_stack_interstage05b = 0.0, 10.27, 0.0, 0.0, 1.0, 0.0, 2

	node_stack_interstage06a = 0.0, 12.17, 0.0, 0.0, -1.0, 0.0, 2 
	node_stack_interstage06b = 0.0, 12.27, 0.0, 0.0, 1.0, 0.0, 2

	node_stack_top = 0.0, 0.22, 0.0, 0.0, 1.0, 0.0, 2
	node_stack_bottom = 0.0, -0.2, 0.0, 0.0, -1.0, 0.0, 3
	
	fx_gasBurst_white = 0.0, 0.3, 0.0, 0.0, 1.0, 0.0, deploy
	sound_vent_large = deploy
	
	TechRequired = metaMaterials
	entryCost = 12500 //Balance pass 1
	cost = 1200 //Balance pass 1
	category = Payload
	subcategory = 0
	title = #autoLOC_8310134 //#autoLOC_8310134 = AE-FF5 Airstream Protective Shell (5m) //Needs autoloc with new size
	manufacturer = #autoLOC_501634 //#autoLOC_501634 = FLOOYD Dynamics Research Labs
	description = #autoLOC_8310135   //#autoLOC_8310135 = 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-FF5 is the largest size available from FLOOYD. //Needs autoloc with new size. Also, the size3 will still claim to be the largest
	attachRules = 1,0,1,1,0
	mass = 0.8
	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 = size4 //Size4 bulkhead?
	tags = #autoLOC_500177 //#autoLOC_500177 = aero )cap cargo cone contain drag fairing hollow inter nose payload protect rocket shroud stage (stor transport
	MODULE
	{
		name = ModuleProceduralFairing
		
		nSides = 30
		nArcs = 6
		nCollidersPerXSection = 12
		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

		panelGrouping = 3
		pivot = 0,0.17,0
		axis = 0,1,0
		
		baseRadius = 2.5
		maxRadius = 9
		capRadius = 0.375
		snapThreshold = 0.25
		snapThresholdFineAdjust = 0.025
		xSectionHeightMin = 0.3
		xSectionHeightMax = 4
		xSectionHeightMinFineAdjust = 0.12
		xSectionHeightMaxFineAdjust = 10
		aberrantNormalLimit = 12
		
		edgeSlide = 0.15
		edgeWarp = 0.02
		noseTip = 0.5
		
		UnitAreaMass = 0.03
		UnitAreaCost = 18
		
		stagingToggleEnabledEditor = True
		stagingToggleEnabledFlight = False
		stagingEnableText = #autoLOC_502000 //#autoLOC_502000 = Fairing Not Staged
		stagingDisableText = #autoLOC_502001 //#autoLOC_502001 = Fairing Staged
		BaseModelTransformName = Mesh
	}
	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
		}
	}
	
	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
			}		
		}
	}
}