Parts/Utility/dockingPortInline/dockingPortInline.cfg

From Kerbal Space Program Wiki
< Parts‎ | Utility
Revision as of 13:19, 11 October 2024 by ArnePeirs (talk | contribs) (Update config)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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
		}
	}
}