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

From Kerbal Space Program Wiki
< Parts‎ | Utility
Jump to: navigation, search
m (Undo revision 10664 by Rawcaret (talk))
m (Update config)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<pre>
+
{{Part config|Clamp-O-Tron Shielded Docking Port|2=PART
 
 
name = dockingPort1
 
module = Part
 
author = NovaSilisko
 
 
mesh = model.mu
 
 
rescaleFactor = 1
 
 
node_stack_bottom = 0.0, -0.005308203, 0.0, 0.0, 1.0, 0.0, 1
 
 
cost = 400
 
category = Utility
 
subcategory = 0
 
title = Clamp-O-Tron Shielded Docking Port
 
 
description = The Clamp-O-Tron Shielded Docking Port allowsfor the firm attachment of two separate vessels. After docking, vessels can bejust as easily undocked. The Shielded version has deployable fins to protectthe port during ascent.
 
 
 
attachRules = 1,0,0,0,0
 
 
mass = 0.1
 
dragModelType = default
 
maximum_drag = 0.25
 
minimum_drag = 0.25
 
angularDrag = 0.5
 
crashTolerance = 10
 
maxTemp = 3400
 
 
//docking module will go here
 
MODULE
 
 
{
 
{
                name =ModuleDockingNode
+
name = dockingPort1
                deployAnimationController= 1
+
module = Part
                nodeType= size1
+
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
 +
}
 +
}
 
}
 
}
MODULE
+
}}
{
 
                name =ModuleAnimateGeneric
 
                animationName= dockingring
 
                startEventGUIName= Open Shield
 
                endEventGUIName= Close Shield
 
}
 
</pre>
 

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