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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (XZise moved page Parts/strutConnector/parts.cfg to Parts/strutConnector/part.cfg without leaving a redirect: fixed name)
m (*update to 1.0;)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Delete|wrong name, right one already exists}}
+
{{Part config|EAS-4 Strut Connector|2=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
 +
}
 +
}
  
<pre>
+
}}
// this is a sample config file, for determining a good file format for defining part parameters
 
// comment line - ignored by cfg parser
 
// empty lines, or lines without a '=' sign are also ignored
 
// all other lines are split at the '=' sign, and the left operand is used to know what parameter we are setting
 
// diferent parameters require data in different formats (see docs), and each module has it's own parameters (again, see docs)
 
// each assignment must be in a single line. Lines without assignments will be ignored. (You CAN turn on word wrap, though)
 
// each keyword here relates to an existing variable in the assigned module. If the keyword isn't found, it is ignored.
 
// conversely, if a keyword is left unassigned (as in not in the file), it will be initialized with it's default value
 
// 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)--
 
 
 
 
 
// --- general parameters ---
 
name = strutConnector
 
module = StrutConnector
 
author = HarvesteR
 
 
 
// --- asset parameters ---
 
mesh = strutConnector.DAE
 
scale = 0.1
 
texture = StrutConnectorTexMap.png
 
specPower = 0.1
 
rimFalloff = 3
 
alphaCutoff = 0.0
 
iconCenter = -4.69147, 2.64656, 0.0
 
 
 
// --- editor parameters ---
 
cost = 250
 
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. 
 
 
 
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
 
attachRules = 0,1,0,0,1
 
 
 
// --- node definitions ---
 
// 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
 
 
 
 
 
// --- standard part parameters ---
 
mass = 0.05
 
dragModelType = default
 
maximum_drag = 0.02
 
minimum_drag = 0.02
 
angularDrag = 1
 
crashTolerance = 12
 
maxTemp = 3600
 
explosionPotential = 0
 
 
 
// --- Strut Connector parameters ---
 
 
 
linearStrength = 150
 
angularStrength = 150
 
maxLength = 10
 
 
 
 
 
// --- tweakables (coming soon...) ---
 
 
 
 
 
 
 
 
 
 
 
// ----- DO NOT EDIT BELOW THIS POINT ------
 
</pre>
 

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