Difference between revisions of "Parts/Utility/mk2CargoBay/BayL.cfg"

From Kerbal Space Program Wiki
< Parts‎ | Utility
Jump to: navigation, search
m (BobBot moved page Parts/SPP/Mk2CargoBay/BayL.cfg to Parts/Utility/mk2CargoBay/BayL.cfg without leaving a redirect: Renamed part configuration file after update.)
m (Update config)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{Part config|Mk2 Cargo Bay CRG-08|2=PART
 
{{Part config|Mk2 Cargo Bay CRG-08|2=PART
 
{
 
{
 +
name = mk2CargoBayL
 +
module = Part
 +
author = Porkjet
 +
rescaleFactor = 1
 +
node_stack_top2 = 0.0, 1.855, 0.0, 0.0, -1.0, 0.0, 1
 +
node_stack_bottom2 = 0.0, -1.855, 0.0, 0.0, 1.0, 0.0, 1
 +
node_stack_top = 0.0, 1.875, 0.0, 0.0, 1.0, 0.0, 1
 +
node_stack_bottom = 0.0, -1.875, 0.0, 0.0, -1.0, 0.0, 1
 +
TechRequired = highAltitudeFlight
 +
entryCost = 17200
 +
cost = 500
 +
category = Payload
 +
subcategory = 0
 +
title = #autoLOC_500897 //#autoLOC_500897 = Mk2 Cargo Bay CRG-08
 +
manufacturer = #autoLOC_501624 //#autoLOC_501624 = C7 Aerospace Division
 +
description = #autoLOC_500898 //#autoLOC_500898 = The longer version of the shorter cargo bay. Some ask us just how long is it? It's exactly double the length of the other one.
 +
attachRules = 1,0,1,1,1
 +
mass = 0.5
 +
dragModelType = default
 +
maximum_drag = 0.2
 +
minimum_drag = 0.3
 +
angularDrag = 1
 +
crashTolerance = 50
 +
breakingForce = 50
 +
breakingTorque = 50
 +
maxTemp = 2500
 +
emissiveConstant = 0.8
 +
fuelCrossFeed = True
 +
bulkheadProfiles = mk2
 +
tags = #autoLOC_500899 //#autoLOC_500899 = contain convey equipment freight hold hollow payload (stor transport utility
 +
DRAG_CUBE
 +
{
 +
cube = A, 5.658236,0.420993,1.323529, 5.658236,0.4213952,1.323529, 2.494907,0.962501,0.154902, 2.494907,0.9625011,0.154902, 9.393588,0.9362289,0.7000003, 9.393588,0.9330578,0.7000003, 0,0.0002499819,0, 2.5,3.7505,1.500001
 +
cube = B, 7.086244,0.5649103,2.071565, 7.086244,0.5715333,2.071565, 2.494907,0.962501,0.154902, 2.494907,0.9625011,0.154902, 14.94524,0.8164638,1.929913, 14.94524,0.8081035,2.098116, 8.34465E-07,0.0002498627,-0.2787333, 3.992453,3.750501,2.057467
 +
}
  
name = mk2CargoBayL
+
MODEL
module = Part
+
{
author = Porkjet
+
model = Squad/Parts/Utility/mk2CargoBay/BayLarge
 
+
}
MODEL
+
MODULE
{
+
{
model = Squad/SPP/Mk2CargoBay/BayLarge
+
name = ModuleLiftingSurface
}
+
useInternalDragModel = False
 
+
deflectionLiftCoeff = 0.7
rescaleFactor = 1
+
dragAtMaxAoA = 0.4
 
+
dragAtMinAoA = 0.1
node_stack_top = 0.0, 1.875, 0.0, 0.0, 1.0, 0.0, 1
+
}
node_stack_top2 = 0.0, 1.875, 0.0, 0.0, 1.0, 0.0, 1
+
MODULE
node_stack_bottom = 0.0, -1.875, 0.0, 0.0, 1.0, 0.0, 1
+
{
node_stack_bottom2 = 0.0, -1.875, 0.0, 0.0, 1.0, 0.0, 1
+
name = ModuleAnimateGeneric
 
+
animationName = Mk2BayL
// 2nd nodes are for the inside
+
startEventGUIName = #autoLOC_502051 //#autoLOC_502051 = Close
 
+
endEventGUIName = #autoLOC_502069 //#autoLOC_502069 = Open
TechRequired = supersonicFlight
+
actionGUIName = #autoLOC_502077 //#autoLOC_502077 = Toggle Bay Doors
entryCost = 17200
+
allowDeployLimit = true
cost = 500
+
revClampDirection = false
category = Utility
+
revClampSpeed = true
subcategory = 0
+
revClampPercent = true
title = Mk2 Cargo Bay CRG-08
+
}
manufacturer = C7 Aerospace Division
+
MODULE
description = The longer version of the shorter cargo bay. Some ask us just how long is it? It's exactly double the length of the other one.
+
{
 
+
name = ModuleCargoBay
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
+
DeployModuleIndex = 1
attachRules = 1,0,1,1,1
+
closedPosition = 1
 
+
lookupRadius = 2.05
// --- standard part parameters ---
+
partTypeName = Cargo bay
mass = 0.5
+
dragModelType = override
+
nodeOuterForeID = top
maximum_drag = 0.2
+
nodeOuterAftID = bottom
minimum_drag = 0.3
+
nodeInnerForeID = top2
angularDrag = 1
+
nodeInnerAftID = bottom2
crashTolerance = 50
+
}
breakingForce = 50
+
MODULE
breakingTorque = 50
+
{
maxTemp = 3000
+
name = ModuleCargoPart
fuelCrossFeed = True
+
stackableQuantity = 1
 
+
packedVolume = -1
MODULE
+
}
{
 
name = ModuleLiftingSurface
 
 
deflectionLiftCoeff = 0.6
 
dragAtMaxAoA = 0.4
 
dragAtMinAoA = 0.1
 
}
 
 
 
MODULE
 
{
 
  name = ModuleAnimateGeneric
 
  animationName = Mk2BayL
 
  startEventGUIName = Close
 
  endEventGUIName = Open
 
  actionGUIName = Toggle Bay Doors
 
 
}
 
}
 
}
 
 
 
}}
 
}}

Latest revision as of 08:23, 13 October 2024

This is the configuration file for Mk2 Cargo Bay CRG-08.
PART
{
	name = mk2CargoBayL
	module = Part
	author = Porkjet
	rescaleFactor = 1	
	node_stack_top2 = 0.0, 1.855, 0.0, 0.0, -1.0, 0.0, 1
	node_stack_bottom2 = 0.0, -1.855, 0.0, 0.0, 1.0, 0.0, 1
	node_stack_top = 0.0, 1.875, 0.0, 0.0, 1.0, 0.0, 1
	node_stack_bottom = 0.0, -1.875, 0.0, 0.0, -1.0, 0.0, 1
	TechRequired = highAltitudeFlight
	entryCost = 17200
	cost = 500
	category = Payload
	subcategory = 0
	title = #autoLOC_500897 //#autoLOC_500897 = Mk2 Cargo Bay CRG-08
	manufacturer = #autoLOC_501624 //#autoLOC_501624 = C7 Aerospace Division
	description = #autoLOC_500898 //#autoLOC_500898 = The longer version of the shorter cargo bay. Some ask us just how long is it? It's exactly double the length of the other one.
	attachRules = 1,0,1,1,1
	mass = 0.5
	dragModelType = default
	maximum_drag = 0.2
	minimum_drag = 0.3
	angularDrag = 1
	crashTolerance = 50
	breakingForce = 50
	breakingTorque = 50
	maxTemp = 2500
	emissiveConstant = 0.8
	fuelCrossFeed = True
	bulkheadProfiles = mk2
	tags = #autoLOC_500899 //#autoLOC_500899 = contain convey equipment freight hold hollow payload (stor transport utility
	DRAG_CUBE
	{
		cube = A, 5.658236,0.420993,1.323529, 5.658236,0.4213952,1.323529, 2.494907,0.962501,0.154902, 2.494907,0.9625011,0.154902, 9.393588,0.9362289,0.7000003, 9.393588,0.9330578,0.7000003, 0,0.0002499819,0, 2.5,3.7505,1.500001
		cube = B, 7.086244,0.5649103,2.071565, 7.086244,0.5715333,2.071565, 2.494907,0.962501,0.154902, 2.494907,0.9625011,0.154902, 14.94524,0.8164638,1.929913, 14.94524,0.8081035,2.098116, 8.34465E-07,0.0002498627,-0.2787333, 3.992453,3.750501,2.057467
	}

	MODEL
	{
		model = Squad/Parts/Utility/mk2CargoBay/BayLarge
	}
	MODULE
	{
		name = ModuleLiftingSurface
		useInternalDragModel = False
		deflectionLiftCoeff = 0.7
		dragAtMaxAoA = 0.4
		dragAtMinAoA = 0.1
	}
	MODULE
	{
		name = ModuleAnimateGeneric
		animationName = Mk2BayL
		startEventGUIName = #autoLOC_502051 //#autoLOC_502051 = Close
		endEventGUIName = #autoLOC_502069 //#autoLOC_502069 = Open
		actionGUIName = #autoLOC_502077 //#autoLOC_502077 = Toggle Bay Doors
		allowDeployLimit = true
		revClampDirection = false
		revClampSpeed = true
		revClampPercent = true			
	}
	MODULE
	{
		name = ModuleCargoBay
		DeployModuleIndex = 1
		closedPosition = 1
		lookupRadius = 2.05
		partTypeName = Cargo bay
		
		nodeOuterForeID = top
		nodeOuterAftID = bottom
		nodeInnerForeID = top2
		nodeInnerAftID = bottom2
	}	
	MODULE
	{
		name = ModuleCargoPart	
		stackableQuantity = 1
		packedVolume = -1
	}
}