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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (BobBot moved page Parts/Utility/fuelLine/part.cfg to Parts/Utility/fuelLine/fuelLine.cfg without leaving a redirect: Renamed part configuration file after update.)
m (*update to 1.0;)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Part config|FTX-2 External Fuel Duct|2=PART
 
{{Part config|FTX-2 External Fuel Duct|2=PART
 
{
 
{
// this is a sample config file, for determining a good file format for defining part parameters
+
name = fuelLine
// 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 = fuelLine.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 = fuelSystems
 
+
entryCost = 6200
// --- general parameters ---
+
cost = 150
name = fuelLine
+
category = FuelTank
module = FuelLine
+
subcategory = 0
author = HarvesteR
+
title = FTX-2 External Fuel Duct
 
+
manufacturer = FLOOYD Dynamics Research Labs
// --- asset parameters ---
+
description = New breakthroughs at FLOOYD Dynamics have made the FTX Fuel Duct a reality. Altough criticized by some as being no more than 'a sewage pipe painted yellow', most agree that the yellow is a relatively nice color, and that fuel lines are indeed able to pump fuel from side-mounted fuel tanks. After the recall of the FTX-1 series, All FTX-2 lines have arrows painted on to indicate the fuel flow direction, so engineers can tell which way around they are supposed to go.
mesh = fuelLine.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
 
+
crashTolerance = 12
// --- editor parameters ---
+
maxTemp = 2000 // = 3600
TechRequired = fuelSystems
+
explosionPotential = 0
entryCost = 6200
+
PhysicsSignificance = 1
cost = 150
+
maxLength = 10
category = Propulsion
+
bulkheadProfiles = srf
subcategory = 0
+
MODULE
title = FTX-2 External Fuel Duct
+
{
manufacturer = FLOOYD Dynamics Research Labs.
+
name = CModuleLinkedMesh
description = New breakthroughs at FLOOYD Dynamics have made the FTX Fuel Duct a reality. Altough criticized by some as being no more than 'a sewage pipe painted yellow', most agree that the yellow is a relatively nice color, and that fuel lines are indeed able to pump fuel from side-mounted fuel tanks. After the recall of the FTX-1 series, All FTX-2 lines have arrows painted on to indicate the fuel flow direction, so engineers can tell which way around they are supposed to go.
+
lineObjName = obj_line
 
+
targetAnchorName = obj_targetAnchor
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
+
anchorCapName = obj_anchorCap
attachRules = 0,1,0,0,1
+
targetCapName = obj_targetCap
 
+
}
// --- 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 = CModuleFuelLine
 
+
}
 
+
DRAG_CUBE
// --- standard part parameters ---
+
{
mass = 0.05
+
none = True
dragModelType = default
+
}
maximum_drag = 0.02
 
minimum_drag = 0.02
 
angularDrag = 1
 
crashTolerance = 12
 
maxTemp = 3600
 
explosionPotential = 0
 
 
 
// --- Strut Connector parameters ---
 
 
 
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 FTX-2 External Fuel Duct.
PART
{
	name = fuelLine
	module = CompoundPart
	author = HarvesteR
	mesh = fuelLine.DAE
	scale = 0.1
	specPower = 0.1
	rimFalloff = 3
	alphaCutoff = 0.0
	iconCenter = -4.69147, 2.64656, 0.0
	TechRequired = fuelSystems
	entryCost = 6200
	cost = 150
	category = FuelTank
	subcategory = 0
	title = FTX-2 External Fuel Duct
	manufacturer = FLOOYD Dynamics Research Labs
	description = New breakthroughs at FLOOYD Dynamics have made the FTX Fuel Duct a reality. Altough criticized by some as being no more than 'a sewage pipe painted yellow', most agree that the yellow is a relatively nice color, and that fuel lines are indeed able to pump fuel from side-mounted fuel tanks. After the recall of the FTX-1 series, All FTX-2 lines have arrows painted on to indicate the fuel flow direction, so engineers can tell which way around they are supposed to go.
	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
	PhysicsSignificance = 1
	maxLength = 10
	bulkheadProfiles = srf
	MODULE
	{
		name = CModuleLinkedMesh
		lineObjName = obj_line
		targetAnchorName = obj_targetAnchor
		anchorCapName = obj_anchorCap
		targetCapName = obj_targetCap
	}
	MODULE
	{
		name = CModuleFuelLine
	}
	DRAG_CUBE
	{
		none = True
	}
}