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

From Kerbal Space Program Wiki
< Parts‎ | Utility
Jump to: navigation, search
(Created page with "<pre> name = dockingPortLateral module = Part author = NovaSilisko mesh = model.mu rescaleFactor = 1 node_stack_top = 0.0, 0.5753132, 0.0, 0.0, 1.0, 0.0, 1 node_stack_botto...")
 
m (Update config)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<pre>
+
{{Part config|Inline Clamp-O-Tron|2=PART
name = dockingPortLateral
 
module = Part
 
author = NovaSilisko
 
 
 
mesh = model.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
 
 
 
 
 
cost = 700
 
category = Utility
 
subcategory = 0
 
title = Hull-mounted Clamp-O-Tron
 
 
 
description = The hull-mounted Clamp-O-Tron is a variant of the classic C-O-T that's contained within a protective housing, which itself stacks vertically like normal rocket parts.
 
attachRules = 1,1,1,1,0
 
 
 
mass = 0.125
 
dragModelType = default
 
maximum_drag = 0.25
 
minimum_drag = 0.25
 
angularDrag = 0.5
 
crashTolerance = 10
 
maxTemp = 3400
 
 
 
MODULE
 
 
{
 
{
name = ModuleDockingNode
+
name = dockingPortLateral
deployAnimationController = 1
+
module = Part
nodeType = size1
+
author = AlexanderM
controlTransformName = controlNode
+
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
 +
}
 +
}
 
}
 
}
MODULE
+
}}
{
 
name = ModuleAnimateGeneric
 
animationName = dockingporthull
 
}
 
</pre>
 

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
		}
	}
}