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/strutConnector.cfg to Parts/CompoundParts/strutConnector/strutConnector.cfg without leaving a redirect: Renamed part configuration file after update.)
m (*update to 0.90.0;)
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
 
// 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 ---
 
// --- general parameters ---
 
name = strutConnector
 
name = strutConnector
module = StrutConnector
+
module = CompoundPart
 
author = HarvesteR
 
author = HarvesteR
  
Line 32: Line 21:
 
subcategory = 0
 
subcategory = 0
 
title = EAS-4 Strut Connector
 
title = EAS-4 Strut Connector
manufacturer = Kerlington Model Rockets and Paper Products Inc.
+
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.   
 
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.   
  
Line 53: Line 42:
 
explosionPotential = 0
 
explosionPotential = 0
 
fuelCrossFeed = False
 
fuelCrossFeed = False
 +
PhysicsSignificance = 1
  
// --- Strut Connector parameters ---
+
// --- CompoundPart parameters ---
  
linearStrength = 150
 
angularStrength = 150
 
 
maxLength = 10
 
maxLength = 10
  
 +
MODULE
 +
{
 +
name = CModuleLinkedMesh
 +
 +
lineObjName = obj_strut
 +
    targetAnchorName = obj_targetAnchor
 +
}
 +
MODULE
 +
{
 +
name = CModuleStrut
 +
 +
linearStrength = 150
 +
angularStrength = 150
 +
}
  
// --- tweakables (coming soon...) ---
 
 
 
 
 
 
// ----- DO NOT EDIT BELOW THIS POINT ------
 
  
 
}
 
}
  
 
}}
 
}}

Revision as of 01:59, 16 December 2014

This is the configuration file for EAS-4 Strut Connector.
PART
{
// --- general parameters ---
name = strutConnector
module = CompoundPart
author = HarvesteR

// --- asset parameters ---
mesh = strutConnector.DAE
scale = 0.1
specPower = 0.1
rimFalloff = 3
alphaCutoff = 0.0
iconCenter = -4.69147, 2.64656, 0.0

// --- editor parameters ---
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.  

// 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
fuelCrossFeed = False
PhysicsSignificance = 1

// --- CompoundPart parameters ---

maxLength = 10

MODULE
{
	name = CModuleLinkedMesh
	
	lineObjName = obj_strut
    targetAnchorName = obj_targetAnchor
}
MODULE
{
	name = CModuleStrut
	
	linearStrength = 150
	angularStrength = 150
}


}