Difference between revisions of "Parts/CompoundParts/strutConnector/strutConnector.cfg"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (BobBot moved page Parts/Structural/strutConnector/part.cfg to Parts/Structural/strutConnector/strutConnector.cfg without leaving a redirect: Renamed part configuration file after update.)
m (Update config)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{Part config|EAS-4 Strut Connector|2=PART
 
{{Part config|EAS-4 Strut Connector|2=PART
 
{
 
{
// this is a sample config file, for determining a good file format for defining part parameters
+
name = strutConnector
// comment line - ignored by cfg parser
+
module = CompoundPart
// empty lines, or lines without a '=' sign are also ignored
+
author = HarvesteR
// all other lines are split at the '=' sign, and the left operand is used to know what parameter we are setting
+
mesh = strutConnector.DAE
// diferent parameters require data in different formats (see docs), and each module has it's own parameters (again, see docs)
+
scale = 0.1
// each assignment must be in a single line. Lines without assignments will be ignored. (You CAN turn on word wrap, though)
+
specPower = 0.1
// each keyword here relates to an existing variable in the assigned module. If the keyword isn't found, it is ignored.
+
rimFalloff = 3
// conversely, if a keyword is left unassigned (as in not in the file), it will be initialized with it's default value
+
alphaCutoff = 0.0
// This is done automatically, so any public variable defined in the loaded module can be accessed this way (provided it's value can be parsed)--
+
iconCenter = -4.69147, 2.64656, 0.0
 
+
TechRequired = generalConstruction
 
+
entryCost = 2800
// --- general parameters ---
+
cost = 42
name = strutConnector
+
category = Structural
module = StrutConnector
+
subcategory = 0
author = HarvesteR
+
title = #autoLOC_500364 //#autoLOC_500364 = EAS-4 Strut Connector
 
+
manufacturer = #autoLOC_501630 //#autoLOC_501630 = Kerlington Model Rockets and Paper Products Inc
// --- asset parameters ---
+
description = #autoLOC_500365 //#autoLOC_500365 = The Strut Connector is highly regarded by many spacecraft engineers as they help in constructing more stable spacecraft. Once both sides are connected, a structural beam is created to link both ends, allowing for sturdier (and heavier) construction.
mesh = strutConnector.DAE
+
attachRules = 0,1,0,0,1
scale = 0.1
+
node_attach = 0.0, 0.0, 0.0, 1.0, 0.0, 0.0
specPower = 0.1
+
mass = 0.05
rimFalloff = 3
+
dragModelType = none
alphaCutoff = 0.0
+
maximum_drag = 0.02
iconCenter = -4.69147, 2.64656, 0.0
+
minimum_drag = 0.02
 
+
angularDrag = 1
// --- editor parameters ---
+
crashTolerance = 12
TechRequired = generalConstruction
+
maxTemp = 2000 // = 3600
entryCost = 2800
+
heatConductivity = 20
cost = 42
+
skinMassPerArea = 20
category = Structural
+
explosionPotential = 0
subcategory = 0
+
fuelCrossFeed = False
title = EAS-4 Strut Connector
+
PhysicsSignificance = 1
manufacturer = Kerlington Model Rockets and Paper Products Inc.
+
maxLength = 10
description = The Strut Connector is highly regarded by many spacecraft engineers as they help in constructing more stable spacecraft. Once both sides are connected, a structural beam is created to link both ends, allowing for sturdier (and heavier) construction.
+
bulkheadProfiles = srf
 
+
disconnectAction = true
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
+
tags = #autoLOC_500366 //#autoLOC_500366 = bind connect join line moar (more pin rigid shake strength strong stru support tie wobble
attachRules = 0,1,0,0,1
+
MODULE
 
+
{
// --- node definitions ---
+
name = CModuleLinkedMesh
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
+
lineObjName = obj_strut
node_attach = 0.0, 0.0, 0.0, 1.0, 0.0, 0.0
+
mainAnchorName = obj_mainAnchor
 
+
targetAnchorName = obj_targetAnchor
 
+
anchorCapName = obj_anchorCap
// --- standard part parameters ---
+
targetCapName = obj_targetCap
mass = 0.05
+
targetColliderName = obj_targetCollider
dragModelType = default
+
}
maximum_drag = 0.02
+
MODULE
minimum_drag = 0.02
+
{
angularDrag = 1
+
name = CModuleStrut
crashTolerance = 12
+
linearStrength = 150
maxTemp = 3600
+
angularStrength = 150
explosionPotential = 0
+
}
fuelCrossFeed = False
+
DRAG_CUBE
 
+
{
// --- Strut Connector parameters ---
+
none = True
 
+
}
linearStrength = 150
+
MODULE
angularStrength = 150
+
{
maxLength = 10
+
name = ModulePartVariants
 
+
baseVariant = Gray
 
+
useMultipleDragCubes = false
// --- tweakables (coming soon...) ---
+
VARIANT
 
+
{
 
+
name = Gray
 
+
displayName = #autoLOC_8007101
 
+
description = #autoLOC_8003044
 
+
primaryColor = #999999
// ----- DO NOT EDIT BELOW THIS POINT ------
+
secondaryColor = #999999
 
+
TEXTURE
 +
{
 +
shader = KSP/Specular
 +
mainTextureURL = Squad/Parts/CompoundParts/strutConnector/EAS-4 Strut Connector
 +
}
 +
}
 +
VARIANT
 +
{
 +
name = White
 +
displayName = #autoLOC_8007119
 +
description = #autoLOC_8003040
 +
primaryColor = #ffffff
 +
secondaryColor = #ffffff
 +
 +
TEXTURE
 +
{
 +
shader = KSP/Specular
 +
mainTextureURL = Squad/Parts/CompoundParts/strutConnector/EAS-4 Strut Connector_white
 +
}
 +
}
 +
 +
}
 +
MODULE
 +
{
 +
name = ModuleCargoPart
 +
stackableQuantity = 4
 +
packedVolume = 10
 +
}
 +
EFFECTS
 +
{
 +
Disconnect
 +
{
 +
AUDIO
 +
{
 +
channel = Ship
 +
clip = Squad/Sounds/ksp1_strunts_disconnect_v3_pitched2.wav
 +
maxVolumeDistance = 150
 +
}
 +
}
 +
}
 
}
 
}
 
 
}}
 
}}

Latest revision as of 18:34, 10 October 2024

This is the configuration file for EAS-4 Strut Connector.
PART
{
	name = strutConnector
	module = CompoundPart
	author = HarvesteR
	mesh = strutConnector.DAE
	scale = 0.1
	specPower = 0.1
	rimFalloff = 3
	alphaCutoff = 0.0
	iconCenter = -4.69147, 2.64656, 0.0
	TechRequired = generalConstruction
	entryCost = 2800
	cost = 42
	category = Structural
	subcategory = 0
	title = #autoLOC_500364 //#autoLOC_500364 = EAS-4 Strut Connector
	manufacturer = #autoLOC_501630 //#autoLOC_501630 = Kerlington Model Rockets and Paper Products Inc
	description = #autoLOC_500365 //#autoLOC_500365 = The Strut Connector is highly regarded by many spacecraft engineers as they help in constructing more stable spacecraft. Once both sides are connected, a structural beam is created to link both ends, allowing for sturdier (and heavier) construction.
	attachRules = 0,1,0,0,1
	node_attach = 0.0, 0.0, 0.0, 1.0, 0.0, 0.0
	mass = 0.05
	dragModelType = none
	maximum_drag = 0.02
	minimum_drag = 0.02
	angularDrag = 1
	crashTolerance = 12
	maxTemp = 2000 // = 3600
	heatConductivity = 20
	skinMassPerArea = 20
	explosionPotential = 0
	fuelCrossFeed = False
	PhysicsSignificance = 1
	maxLength = 10
	bulkheadProfiles = srf
	disconnectAction = true
	tags = #autoLOC_500366 //#autoLOC_500366 = bind connect join line moar (more pin rigid shake strength strong stru support tie wobble
	MODULE
	{
		name = CModuleLinkedMesh
		lineObjName = obj_strut
		mainAnchorName = obj_mainAnchor
		targetAnchorName = obj_targetAnchor
		anchorCapName = obj_anchorCap
		targetCapName = obj_targetCap
		targetColliderName = obj_targetCollider
	}
	MODULE
	{
		name = CModuleStrut
		linearStrength = 150
		angularStrength = 150
	}
	DRAG_CUBE
	{
		none = True
	}
	MODULE
	{
		name = ModulePartVariants
		baseVariant = Gray
		useMultipleDragCubes = false
		VARIANT
		{
			name = Gray
			displayName = #autoLOC_8007101
			description = #autoLOC_8003044
			primaryColor = #999999
			secondaryColor = #999999
			TEXTURE
			{
				shader = KSP/Specular
				mainTextureURL = Squad/Parts/CompoundParts/strutConnector/EAS-4 Strut Connector
			}
		}
		VARIANT
		{
			name = White
			displayName = #autoLOC_8007119
			description = #autoLOC_8003040
			primaryColor = #ffffff
			secondaryColor = #ffffff
			
			TEXTURE
			{
				shader = KSP/Specular
				mainTextureURL = Squad/Parts/CompoundParts/strutConnector/EAS-4 Strut Connector_white
			}
		}
		
	}
	MODULE
	{
		name = ModuleCargoPart
		stackableQuantity = 4
		packedVolume = 10
	}
	EFFECTS
	{
		Disconnect
		{
			AUDIO
			{
				channel = Ship
				clip = Squad/Sounds/ksp1_strunts_disconnect_v3_pitched2.wav
				maxVolumeDistance = 150				
			}
		}
	}
}