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

From Kerbal Space Program Wiki
< Parts‎ | Utility
Jump to: navigation, search
(Updated for 0.23)
m (Update config)
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{Part config|Inline Clamp-O-Tron|2=PART
 
{{Part config|Inline Clamp-O-Tron|2=PART
 
{
 
{
name = dockingPortLateral
+
name = dockingPortLateral
module = Part
+
module = Part
author = NovaSilisko
+
author = AlexanderM
 
+
mesh = dockingPortInline.mu
mesh = model.mu
+
rescaleFactor = 1
 
+
node_stack_top = 0.0, 0.5753132, 0.0, 0.0, 1.0, 0.0, 1
rescaleFactor = 1
+
node_stack_bottom = 0.0, -0.5753132, 0.0, 0.0, -1.0, 0.0, 1
 
+
TechRequired = composites
node_stack_top = 0.0, 0.5753132, 0.0, 0.0, 1.0, 0.0, 1
+
entryCost = 9800
node_stack_bottom = 0.0, -0.5753132, 0.0, 0.0, 1.0, 0.0, 1
+
cost = 700
 
+
category = Coupling
TechRequired = metaMaterials
+
subcategory = 0
entryCost = 9800
+
title = #autoLOC_500849 //#autoLOC_500849 = Inline Clamp-O-Tron
cost = 700
+
description = #autoLOC_500850 //#autoLOC_500850 = The Inline Clamp-O-Tron was an accidental invention, created after an engineer (who really should have been wearing his glasses) incorrectly interpreted the Shielded Clamp-O-Tron's blueprints. Still, the rest of the team very much liked the idea of a sideways-pointing docking port with its own aerodynamic shell, so he patented the design. He still refuses to admit it wasn't intentional.
category = Utility
+
attachRules = 1,1,1,1,0
subcategory = 0
+
mass = 0.3
title = Inline Clamp-O-Tron
+
dragModelType = default
 
+
maximum_drag = 0.08
description = The Inline Clamp-O-Tron was an accidental invention, created after an engineer (who really should have been wearing his glasses) incorrectly interpreted the Shielded Clamp-O-Tron's blueprints. Still, the rest of the team very much liked the idea of a sideways-pointing docking port with its own aerodynamic shell, so he patented the design. He still refuses to admit it wasn't intentional.
+
minimum_drag = 0.08
attachRules = 1,1,1,1,0
+
angularDrag = 0.2
 
+
crashTolerance = 10
mass = 0.125
+
maxTemp = 2000 // = 3400
dragModelType = default
+
bulkheadProfiles = size1
maximum_drag = 0.25
+
tags = #autoLOC_500851 //#autoLOC_500851 = berth capture connect couple dock fasten join moor port socket
minimum_drag = 0.25
+
stagingIcon = DECOUPLER_HOR
angularDrag = 0.5
+
MODULE
crashTolerance = 10
+
{
maxTemp = 3400
+
name = ModuleDockingNode
 
+
deployAnimationController = 1
MODULE
+
nodeType = size1
{
+
controlTransformName = controlNode
name = ModuleDockingNode
+
staged = False
deployAnimationController = 1
+
stagingEnabled = False
nodeType = size1
+
canRotate = True
controlTransformName = controlNode
+
rotationTransformName = port
}
+
maxMotorOutput = 200
MODULE
+
RESOURCE
{
+
{
name = ModuleAnimateGeneric
+
name = ElectricCharge
animationName = dockingporthull
+
rate = 1
}
+
}
 +
rotationAxis = -Z
 +
}
 +
MODULE
 +
{
 +
name = ModuleAnimateGeneric
 +
animationName = dockingporthull
 +
actionGUIName = #autoLOC_502068 //#autoLOC_502068 = Toggle
 +
startEventGUIName = #autoLOC_502069 //#autoLOC_502069 = Open
 +
endEventGUIName = #autoLOC_502051 //#autoLOC_502051 = Close
 +
}
 +
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 Inline Clamp-O-Tron.
PART
{
	name = dockingPortLateral
	module = Part
	author = AlexanderM
	mesh = dockingPortInline.mu
	rescaleFactor = 1
	node_stack_top = 0.0, 0.5753132, 0.0, 0.0, 1.0, 0.0, 1
	node_stack_bottom = 0.0, -0.5753132, 0.0, 0.0, -1.0, 0.0, 1
	TechRequired = composites
	entryCost = 9800
	cost = 700
	category = Coupling
	subcategory = 0
	title = #autoLOC_500849 //#autoLOC_500849 = Inline Clamp-O-Tron
	description = #autoLOC_500850 //#autoLOC_500850 = The Inline Clamp-O-Tron was an accidental invention, created after an engineer (who really should have been wearing his glasses) incorrectly interpreted the Shielded Clamp-O-Tron's blueprints. Still, the rest of the team very much liked the idea of a sideways-pointing docking port with its own aerodynamic shell, so he patented the design. He still refuses to admit it wasn't intentional.
	attachRules = 1,1,1,1,0
	mass = 0.3
	dragModelType = default
	maximum_drag = 0.08
	minimum_drag = 0.08
	angularDrag = 0.2
	crashTolerance = 10
	maxTemp = 2000 // = 3400
	bulkheadProfiles = size1
	tags = #autoLOC_500851 //#autoLOC_500851 = berth capture connect couple dock fasten join moor port socket
	stagingIcon = DECOUPLER_HOR
	MODULE
	{
		name = ModuleDockingNode
		deployAnimationController = 1
		nodeType = size1
		controlTransformName = controlNode
		staged = False
		stagingEnabled = False
		canRotate = True
		rotationTransformName = port
		maxMotorOutput = 200
		RESOURCE
		{
			name = ElectricCharge
			rate = 1
		}
		rotationAxis = -Z
	}
	MODULE
	{
		name = ModuleAnimateGeneric
		animationName = dockingporthull
		actionGUIName = #autoLOC_502068 //#autoLOC_502068 = Toggle
		startEventGUIName = #autoLOC_502069 //#autoLOC_502069 = Open
		endEventGUIName = #autoLOC_502051 //#autoLOC_502051 = Close
	}	
	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
		}
	}
}