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

From Kerbal Space Program Wiki
< Parts‎ | Utility
Jump to: navigation, search
(Updated for 0.23)
m (Update config)
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{Part config|Clamp-O-Tron Shielded Docking Port|2=PART
 
{{Part config|Clamp-O-Tron Shielded Docking Port|2=PART
 
{
 
{
name = dockingPort1
+
name = dockingPort1
module = Part
+
module = Part
author = NovaSilisko
+
author = AlexanderM
 
+
mesh = dockingPortShielded.mu
mesh = model.mu
+
rescaleFactor = 1
 
+
node_stack_bottom = 0.0, -0.005308203, 0.0, 0.0, -1.0, 0.0, 1
rescaleFactor = 1
+
node_attach = 0.0, -0.005308203, 0.0, 0.0, -1.0, 0.0, 1
 
+
TechRequired = advMetalworks
node_stack_bottom = 0.0, -0.005308203, 0.0, 0.0, 1.0, 0.0, 1
+
entryCost = 8400
 
+
cost = 400
TechRequired = specializedConstruction
+
category = Coupling
entryCost = 8400
+
subcategory = 0
cost = 400
+
title = #autoLOC_500855 //#autoLOC_500855 = Clamp-O-Tron Shielded Docking Port
category = Utility
+
description = #autoLOC_500856 //#autoLOC_500856 = Invented after a peaceful protest against the lack of spacecraft attachment systems turned violent, the Clamp-O-Tron Docking Port allows for the firm attachment of two separate vessels. After docking, vessels can be just as easily undocked. The Shielded version has deployable fins to protect the port during ascent.
subcategory = 0
+
attachRules = 1,1,0,0,0
title = Clamp-O-Tron Shielded Docking Port
+
mass = 0.1
 
+
dragModelType = default
description = Invented after a peaceful protest against the lack of spacecraft attachment systems turned violent, the Clamp-O-Tron Docking Port allows for the firm attachment of two separate vessels. After docking, vessels can be just as easily undocked. The Shielded version has deployable fins to protect the port during ascent.
+
maximum_drag = 0.25
 
+
minimum_drag = 0.25
 
+
angularDrag = 0.5
attachRules = 1,0,0,0,0
+
crashTolerance = 10
 
+
maxTemp = 2600 // = 3400
mass = 0.1
+
thermalMassModifier = 6.0 // like a nose cone
dragModelType = default
+
emissiveConstant = 0.8
maximum_drag = 0.25
+
bulkheadProfiles = size1
minimum_drag = 0.25
+
tags = #autoLOC_500857 //#autoLOC_500857 = berth capture connect couple dock fasten join moor shield socket
angularDrag = 0.5
+
stagingIcon = DECOUPLER_VERT
crashTolerance = 10
+
MODULE
maxTemp = 3400
+
{
 
+
name = ModuleDockingNode
//docking module will go here
+
deployAnimationController = 1
MODULE
+
nodeType = size1
{
+
staged = False
name = ModuleDockingNode
+
stagingEnabled = False
deployAnimationController = 1
+
canRotate = True
nodeType = size1
+
rotationTransformName = Clampotron.003
}
+
maxMotorOutput = 200
MODULE
+
RESOURCE
{
+
{
name = ModuleAnimateGeneric
+
name = ElectricCharge
animationName = dockingring
+
rate = 1
startEventGUIName = Open Shield
+
}
endEventGUIName = Close Shield
+
rotationAxis = Y
}
+
}
 +
MODULE
 +
{
 +
name = ModuleAnimateGeneric
 +
animationName = dockingring
 +
actionGUIName = #autoLOC_502070 //#autoLOC_502070 = Toggle Shield
 +
startEventGUIName = #autoLOC_502071 //#autoLOC_502071 = Open Shield
 +
endEventGUIName = #autoLOC_502072 //#autoLOC_502072 = Close Shield
 +
allowAnimationWhileShielded = False
 +
}
 +
MODULE
 +
{
 +
name = ModuleCargoPart
 +
packedVolume = 850
 +
}
 +
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:18, 11 October 2024

This is the configuration file for Clamp-O-Tron Shielded Docking Port.
PART
{
	name = dockingPort1
	module = Part
	author = AlexanderM
	mesh = dockingPortShielded.mu
	rescaleFactor = 1
	node_stack_bottom = 0.0, -0.005308203, 0.0, 0.0, -1.0, 0.0, 1
	node_attach = 0.0, -0.005308203, 0.0, 0.0, -1.0, 0.0, 1
	TechRequired = advMetalworks
	entryCost = 8400
	cost = 400
	category = Coupling
	subcategory = 0
	title = #autoLOC_500855 //#autoLOC_500855 = Clamp-O-Tron Shielded Docking Port
	description = #autoLOC_500856 //#autoLOC_500856 = Invented after a peaceful protest against the lack of spacecraft attachment systems turned violent, the Clamp-O-Tron Docking Port allows for the firm attachment of two separate vessels. After docking, vessels can be just as easily undocked. The Shielded version has deployable fins to protect the port during ascent.
	attachRules = 1,1,0,0,0
	mass = 0.1
	dragModelType = default
	maximum_drag = 0.25
	minimum_drag = 0.25
	angularDrag = 0.5
	crashTolerance = 10
	maxTemp = 2600 // = 3400
	thermalMassModifier = 6.0 // like a nose cone
	emissiveConstant = 0.8
	bulkheadProfiles = size1
	tags = #autoLOC_500857 //#autoLOC_500857 = berth capture connect couple dock fasten join moor shield socket
	stagingIcon = DECOUPLER_VERT
	MODULE
	{
		name = ModuleDockingNode
		deployAnimationController = 1
		nodeType = size1
		staged = False
		stagingEnabled = False
		canRotate = True
		rotationTransformName = Clampotron.003
		maxMotorOutput = 200
		RESOURCE
		{
			name = ElectricCharge
			rate = 1
		}
		rotationAxis = Y
	}
	MODULE
	{
		name = ModuleAnimateGeneric
		animationName = dockingring
		actionGUIName = #autoLOC_502070 //#autoLOC_502070 = Toggle Shield
		startEventGUIName = #autoLOC_502071 //#autoLOC_502071 = Open Shield
		endEventGUIName = #autoLOC_502072 //#autoLOC_502072 = Close Shield
		allowAnimationWhileShielded = False
	}
	MODULE
	{
		name = ModuleCargoPart
		packedVolume = 850
	}
	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
		}
	}
}