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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (*update to 0.24.2;)
m (*update to 1.0;)
 
(3 intermediate revisions by the same 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 = EAS-4 Strut Connector
 
+
manufacturer = Kerlington Model Rockets and Paper Products Inc
// --- asset parameters ---
+
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.
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 = SPHERICAL
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
+
explosionPotential = 0
cost = 42
+
fuelCrossFeed = False
category = Structural
+
PhysicsSignificance = 1
subcategory = 0
+
maxLength = 10
title = EAS-4 Strut Connector
+
bulkheadProfiles = srf
manufacturer = Kerlington Model Rockets and Paper Products Inc.
+
MODULE
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.
+
{
 
+
name = CModuleLinkedMesh
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
+
lineObjName = obj_strut
attachRules = 0,1,0,0,1
+
targetAnchorName = obj_targetAnchor
 
+
}
// --- node definitions ---
+
MODULE
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
+
{
node_attach = 0.0, 0.0, 0.0, 1.0, 0.0, 0.0
+
name = CModuleStrut
 
+
linearStrength = 150
 
+
angularStrength = 150
// --- standard part parameters ---
+
}
mass = 0.05
+
DRAG_CUBE
dragModelType = default
+
{
maximum_drag = 0.02
+
none = True
minimum_drag = 0.02
+
}
angularDrag = 1
 
crashTolerance = 12
 
maxTemp = 3600
 
explosionPotential = 0
 
fuelCrossFeed = False
 
 
 
// --- Strut Connector parameters ---
 
 
 
linearStrength = 150
 
angularStrength = 150
 
maxLength = 10
 
 
 
 
 
// --- tweakables (coming soon...) ---
 
 
 
 
 
 
 
 
 
 
 
// ----- DO NOT EDIT BELOW THIS POINT ------
 
 
 
 
}
 
}
  
 
}}
 
}}

Latest revision as of 18:48, 29 April 2015

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 = EAS-4 Strut Connector
	manufacturer = Kerlington Model Rockets and Paper Products Inc
	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.
	attachRules = 0,1,0,0,1
	node_attach = 0.0, 0.0, 0.0, 1.0, 0.0, 0.0
	mass = 0.05
	dragModelType = SPHERICAL
	maximum_drag = 0.02
	minimum_drag = 0.02
	angularDrag = 1
	crashTolerance = 12
	maxTemp = 2000 // = 3600
	explosionPotential = 0
	fuelCrossFeed = False
	PhysicsSignificance = 1
	maxLength = 10
	bulkheadProfiles = srf
	MODULE
	{
		name = CModuleLinkedMesh
		lineObjName = obj_strut
		targetAnchorName = obj_targetAnchor
	}
	MODULE
	{
		name = CModuleStrut
		linearStrength = 150
		angularStrength = 150
	}
	DRAG_CUBE
	{
		none = True
	}
}