MakingHistory/Parts/Payload/fairingSize1p5.cfg

From Kerbal Space Program Wiki
Revision as of 20:14, 19 October 2024 by ArnePeirs (talk | contribs) (Add config)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
This is the configuration file for AE-FF1.5 Airstream Protective Shell (1.875m).
PART
{
	name = fairingSize1p5
	module = Part
	author = HarvesteR
		
	MODEL
	{
		model = Squad/Parts/Aero/fairings/fairingSize1
		scale = 1.5, 1.0, 1.5
		rotation = 0.0,180,0.0
		TextureNormalURL = Squad/Parts/Aero/fairings/FairingBaseNormals
	}
	MODEL
	{
		model = Squad/Parts/Aero/fairings/AutoTruss
		scale = 1.5,1.5,1.5
		position = 0.0,0.22,0.0
	}
	rescaleFactor = 1
	
	node_stack_interstage01a = 0.0, 0.94, 0.0, 0.0, -1.0, 0.0, 1
	node_stack_interstage01b = 0.0, 1.0, 0.0, 0.0, 1.0, 0.0, 1
	
	node_stack_interstage02a = 0.0, 1.69, 0.0, 0.0, -1.0, 0.0, 1
	node_stack_interstage02b = 0.0, 1.75, 0.0, 0.0, 1.0, 0.0, 1

	node_stack_interstage03a = 0.0, 2.44, 0.0, 0.0, -1.0, 0.0, 1
	node_stack_interstage03b = 0.0, 2.50, 0.0, 0.0, 1.0, 0.0, 1
	
	node_stack_interstage04a = 0.0, 3.19, 0.0, 0.0, -1.0, 0.0, 1
	node_stack_interstage04b = 0.0, 3.25, 0.0, 0.0, 1.0, 0.0, 1

	node_stack_interstage05a = 0.0, 3.94, 0.0, 0.0, -1.0, 0.0, 1
	node_stack_interstage05b = 0.0, 4.00, 0.0, 0.0, 1.0, 0.0, 1

	node_stack_interstage06a = 0.0, 4.69, 0.0, 0.0, -1.0, 0.0, 1
	node_stack_interstage06b = 0.0, 4.75, 0.0, 0.0, 1.0, 0.0, 1

	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, 2
	
	fx_gasBurst_white = 0.0, 0.3, 0.0, 0.0, 1.0, 0.0, deploy
	sound_vent_large = deploy
	
	TechRequired = advConstruction
	entryCost = 4500
	cost = 450
	category = Payload
	subcategory = 0
	title = #autoLOC_8310132 //#autoLOC_8310132 = AE-FF1.5 Airstream Protective Shell (1.875m) //Needs new autoloc for size
	manufacturer = #autoLOC_501634 //#autoLOC_501634 = FLOOYD Dynamics Research Labs
	description = #autoLOC_8310133 //#autoLOC_8310133 = 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-FF1.5 is the second size available from FLOOYD. //Needs new autoloc for size. Last sentence also changed.
	attachRules = 1,0,1,1,0
	mass = 0.15
	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 = size1p5

	tags = #autoLOC_500171 //#autoLOC_500171 = aero )cap cargo cone contain drag fairing hollow inter nose payload protect rocket shroud stage (stor transport
	MODULE
	{
		name = ModuleProceduralFairing
		
		nSides = 30
		nArcs = 2
		nCollidersPerXSection = 6
		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 = 0.9375
		maxRadius = 2.25
		capRadius = 0.2
		snapThreshold = 0.1
		
		xSectionHeightMin = 0.2
		xSectionHeightMax = 2
		xSectionHeightMinFineAdjust = 0.045
		aberrantNormalLimit = 46
		
		edgeSlide = 0.15
		edgeWarp = 0
		noseTip = 0.7
		
		UnitAreaMass = 0.015
		UnitAreaCost = 6 //Needs balance
		
		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 = 0.75
		
		// 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
	}
}