Difference between revisions of "Parts/Utility/mk2DockingPort/mk2DockingPort.cfg"

From Kerbal Space Program Wiki
< Parts‎ | Utility
Jump to: navigation, search
m (*update to 1.0.4;)
m (Update config)
 
Line 3: Line 3:
 
name = mk2DockingPort
 
name = mk2DockingPort
 
module = Part
 
module = Part
author = Porkjet
+
author = AlexanderM
mesh = model.mu
+
mesh = mk2Dockingport.mu
 
rescaleFactor = 1
 
rescaleFactor = 1
 
node_stack_top = 0.0, 0.625, 0.0, 0.0, 1.0, 0.0, 1
 
node_stack_top = 0.0, 0.625, 0.0, 0.0, 1.0, 0.0, 1
 
node_stack_bottom = 0.0, -0.625, 0.0, 0.0, -1.0, 0.0, 1
 
node_stack_bottom = 0.0, -0.625, 0.0, 0.0, -1.0, 0.0, 1
TechRequired = advAerodynamics
+
TechRequired = highAltitudeFlight
 
entryCost = 11000
 
entryCost = 11000
 
cost = 850
 
cost = 850
category = Utility
+
category = Coupling
 
subcategory = 0
 
subcategory = 0
title = Mk2 Clamp-O-Tron
+
title = #autoLOC_500906 //#autoLOC_500906 = Mk2 Clamp-O-Tron
manufacturer = C7 Aerospace Division
+
manufacturer = #autoLOC_501624 //#autoLOC_501624 = C7 Aerospace Division
description = The new Clamp-O-Tron brand docking port comes complete with integrated monopropellant tanks for all your docking needs.
+
description = #autoLOC_500907 //#autoLOC_500907 = The new Clamp-O-Tron brand docking port comes complete with integrated monopropellant tanks for all your docking needs.
 
attachRules = 1,0,1,1,1
 
attachRules = 1,0,1,1,1
 
mass = 0.30
 
mass = 0.30
Line 29: Line 29:
 
fuelCrossFeed = True
 
fuelCrossFeed = True
 
bulkheadProfiles = size1, mk2
 
bulkheadProfiles = size1, mk2
+
tags = #autoLOC_500908 //#autoLOC_500908 = berth capture connect couple dock fasten join moor port socket utility
 
DRAG_CUBE
 
DRAG_CUBE
 
{
 
{
Line 49: Line 49:
 
nodeTransformName = dockingNode
 
nodeTransformName = dockingNode
 
controlTransformName = controlNode
 
controlTransformName = controlNode
 +
rotationAxis = Y
 +
staged = False
 +
stagingEnabled = False
 +
canRotate = True
 +
rotationTransformName = Port.001
 +
maxMotorOutput = 200
 +
RESOURCE
 +
{
 +
name = ElectricCharge
 +
rate = 1
 +
}
 +
rotationAxis = Z
 
}
 
}
 
MODULE
 
MODULE
Line 54: Line 66:
 
name = ModuleAnimateGeneric
 
name = ModuleAnimateGeneric
 
animationName = dockingPortDeploy
 
animationName = dockingPortDeploy
 +
        actionGUIName = #autoLOC_502068 //#autoLOC_502068 = Toggle
 +
        startEventGUIName = #autoLOC_502069 //#autoLOC_502069 = Open
 +
        endEventGUIName = #autoLOC_502051 //#autoLOC_502051 = Close
 
}
 
}
 
MODULE
 
MODULE
Line 62: Line 77:
 
dragAtMaxAoA = 0.3
 
dragAtMaxAoA = 0.3
 
dragAtMinAoA = 0.1
 
dragAtMinAoA = 0.1
 +
}
 +
MODULE
 +
{
 +
name = ModuleCargoPart
 +
stackableQuantity = 1
 +
packedVolume = -1
 +
}
 +
MODULE
 +
{
 +
name = ModuleColorChanger
 +
shaderProperty = _EmissiveColor
 +
animRate = 0.8
 +
animState = false
 +
useRate = true
 +
toggleInEditor = true
 +
toggleInFlight = true
 +
toggleInFlight = true
 +
unfocusedRange = 5
 +
toggleName = #autoLOC_502011 //#autoLOC_502011 = Toggle Lights
 +
eventOnName = #autoLOC_6001409 //#autoLOC_6001409 = Lights On
 +
eventOffName = #autoLOC_6001408 //#autoLOC_6001408 = Lights Off
 +
toggleAction = True
 +
defaultActionGroup = Light
 +
redCurve
 +
{
 +
key = 0 0 0 3
 +
key = 1 1 0 0
 +
}
 +
greenCurve
 +
{
 +
key = 0 0 0 1
 +
key = 1 1 1 0
 +
}
 +
blueCurve
 +
{
 +
key = 0 0 0 0
 +
key = 1 0.7 1.5 0
 +
}
 +
alphaCurve
 +
{
 +
key = 0 1
 +
}
 
}
 
}
 
}
 
}
 
 
}}
 
}}

Latest revision as of 13:19, 11 October 2024

This is the configuration file for Mk2 Clamp-O-Tron.
PART
{
	name = mk2DockingPort
	module = Part
	author = AlexanderM
	mesh = mk2Dockingport.mu
	rescaleFactor = 1
	node_stack_top = 0.0, 0.625, 0.0, 0.0, 1.0, 0.0, 1
	node_stack_bottom = 0.0, -0.625, 0.0, 0.0, -1.0, 0.0, 1
	TechRequired = highAltitudeFlight
	entryCost = 11000
	cost = 850
	category = Coupling
	subcategory = 0
	title = #autoLOC_500906 //#autoLOC_500906 = Mk2 Clamp-O-Tron
	manufacturer = #autoLOC_501624 //#autoLOC_501624 = C7 Aerospace Division
	description = #autoLOC_500907 //#autoLOC_500907 = The new Clamp-O-Tron brand docking port comes complete with integrated monopropellant tanks for all your docking needs.
	attachRules = 1,0,1,1,1
	mass = 0.30
	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 = size1, mk2
	tags = #autoLOC_500908 //#autoLOC_500908 = berth capture connect couple dock fasten join moor port socket utility
	DRAG_CUBE
	{
		cube = A, 1.918621,0.4513012,2.017967, 1.927046,0.4519399,1.858654, 2.494907,0.962501,0.154902, 2.494907,0.9625011,0.154902, 3.986614,0.9374123,1.526986, 3.986614,0.8837488,1.579901, -1.192093E-07,0.0002481341,-0.1138154, 3.185405,1.250499,1.727631
		cube = B, 1.87207,0.423032,1.344706, 1.87207,0.4207015,1.344706, 2.494907,0.962501,0.154902, 2.494907,0.9625011,0.154902, 3.132725,0.9338691,1.4, 3.132725,0.9295117,0.7000001, 0,0.0002481341,-5.960464E-08, 2.5,1.250499,1.5
	}
	
	RESOURCE
	{
		name = MonoPropellant
		amount = 75
		maxAmount = 75
	}
	MODULE
	{
		name = ModuleDockingNode
		deployAnimationController = 1
		nodeType = size1
		nodeTransformName = dockingNode
		controlTransformName = controlNode
		rotationAxis = Y
		staged = False
		stagingEnabled = False
		canRotate = True
		rotationTransformName = Port.001
		maxMotorOutput = 200
		RESOURCE
		{
			name = ElectricCharge
			rate = 1
		}
		rotationAxis = Z
	}
	MODULE
	{
		name = ModuleAnimateGeneric
		animationName = dockingPortDeploy
        	actionGUIName = #autoLOC_502068 //#autoLOC_502068 = Toggle
        	startEventGUIName = #autoLOC_502069 //#autoLOC_502069 = Open
        	endEventGUIName = #autoLOC_502051 //#autoLOC_502051 = Close
	}
	MODULE
	{
		name = ModuleLiftingSurface
		useInternalDragModel = False
		deflectionLiftCoeff = 0.24
		dragAtMaxAoA = 0.3
		dragAtMinAoA = 0.1
	}	
	MODULE
	{
		name = ModuleCargoPart	
		stackableQuantity = 1
		packedVolume = -1
	}
	MODULE
	{
		name = ModuleColorChanger
		shaderProperty = _EmissiveColor
		animRate = 0.8
		animState = false
		useRate = true
		toggleInEditor = true
		toggleInFlight = true
		toggleInFlight = true
		unfocusedRange = 5
		toggleName = #autoLOC_502011 //#autoLOC_502011 = Toggle Lights
		eventOnName = #autoLOC_6001409 	//#autoLOC_6001409 = Lights On
		eventOffName = #autoLOC_6001408 	//#autoLOC_6001408 = Lights Off
		toggleAction = True
		defaultActionGroup = Light
		redCurve
		{
			key = 0 0 0 3
			key = 1 1 0 0
		}
		greenCurve
		{
			key = 0 0 0 1
			key = 1 1 1 0
		}
		blueCurve
		{
			key = 0 0 0 0
			key = 1 0.7 1.5 0
		}
		alphaCurve
		{
			key = 0 1
		}
	}
}