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/fuelLine.cfg to Parts/CompoundParts/fuelLine/fuelLine.cfg without leaving a redirect: Renamed part configuration file after update.)
m (*update to 0.90.0;)
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
 
// 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 = fuelLine
 
name = fuelLine
module = FuelLine
+
module = CompoundPart
 
author = HarvesteR
 
author = HarvesteR
  
Line 30: Line 19:
 
entryCost = 6200
 
entryCost = 6200
 
cost = 150
 
cost = 150
category = Propulsion
+
category = FuelTank
 
subcategory = 0
 
subcategory = 0
 
title = FTX-2 External Fuel Duct
 
title = FTX-2 External Fuel Duct
manufacturer = FLOOYD Dynamics Research Labs.
+
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.
 
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.
  
Line 53: Line 42:
 
maxTemp = 3600
 
maxTemp = 3600
 
explosionPotential = 0
 
explosionPotential = 0
 +
PhysicsSignificance = 1
  
// --- Strut Connector parameters ---
+
// --- CompoundPart parameters ---
 
 
 
maxLength = 10
 
maxLength = 10
  
 +
MODULE
 +
{
 +
name = CModuleLinkedMesh
 +
 +
lineObjName = obj_line
 +
    targetAnchorName = obj_targetAnchor
 +
    anchorCapName = obj_anchorCap
 +
    targetCapName = obj_targetCap
 +
}
 +
MODULE
 +
{
 +
name = CModuleFuelLine
 +
}
  
// --- tweakables (coming soon...) ---
 
 
 
// ----- DO NOT EDIT BELOW THIS POINT ------
 
  
 
}
 
}
  
 
}}
 
}}

Revision as of 01:57, 16 December 2014

This is the configuration file for FTX-2 External Fuel Duct.
PART
{
// --- general parameters ---
name = fuelLine
module = CompoundPart
author = HarvesteR

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


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

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

// --- CompoundPart parameters ---
maxLength = 10

MODULE
{
	name = CModuleLinkedMesh
	
	lineObjName = obj_line
    targetAnchorName = obj_targetAnchor
    anchorCapName = obj_anchorCap
    targetCapName = obj_targetCap	
}
MODULE
{
	name = CModuleFuelLine
}


}