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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (BobBot moved page Parts/fuelLine/part.cfg to Parts/Utility/fuelLine/part.cfg without leaving a redirect: Update to new directory system)
m (Update config)
 
(6 intermediate revisions by 2 users 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 = #autoLOC_500361 //#autoLOC_500361 = FTX-2 External Fuel Duct
 
+
manufacturer = #autoLOC_501634 //#autoLOC_501634 = FLOOYD Dynamics Research Labs
// --- asset parameters ---
+
description = #autoLOC_500362 //#autoLOC_500362 = 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 = none
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
+
heatConductivity = 20
entryCost = 6200
+
skinMassPerArea = 20
cost = 650
+
explosionPotential = 0
category = Propulsion
+
PhysicsSignificance = 1
subcategory = 0
+
maxLength = 10
title = FTX-2 External Fuel Duct
+
bulkheadProfiles = srf
manufacturer = FLOOYD Dynamics Research Labs.
+
disconnectAction = true
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.
+
tags = #autoLOC_500363 //#autoLOC_500363 = asparagus channel hose (lf line ox oxidizer pipe propellant pump tube
 
+
MODULE
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
+
{
attachRules = 0,1,0,0,1
+
name = CModuleLinkedMesh
 
+
lineObjName = obj_line
// --- node definitions ---
+
mainAnchorName = obj_mainAnchor
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
+
targetAnchorName = obj_targetAnchor
node_attach = 0.0, 0.0, 0.0, 1.0, 0.0, 0.0
+
anchorCapName = obj_anchorCap
 
+
targetCapName = obj_targetCap
 
+
targetColliderName = obj_targetCollider
// --- standard part parameters ---
+
}
mass = 0.05
+
MODULE
dragModelType = default
+
{
maximum_drag = 0.02
+
name = CModuleFuelLine
minimum_drag = 0.02
+
}
angularDrag = 1
+
DRAG_CUBE
crashTolerance = 12
+
{
maxTemp = 3600
+
none = True
explosionPotential = 0
+
}
 
+
MODULE
// --- Strut Connector parameters ---
+
{
 
+
name = ModulePartVariants
maxLength = 10
+
baseVariant = YellowAndWhite
 
+
useMultipleDragCubes = false
 
+
VARIANT
// --- tweakables (coming soon...) ---
+
{
 
+
name = YellowAndWhite
 
+
displayName = #autoLOC_8003114
// ----- DO NOT EDIT BELOW THIS POINT ------
+
description = #autoLOC_8003115
 
+
primaryColor = #ffffff
 +
secondaryColor = #999999
 +
}
 +
VARIANT
 +
{
 +
name = White
 +
displayName = #autoLOC_8007119
 +
description = #autoLOC_8003040
 +
primaryColor = #ffffff
 +
secondaryColor = #ffffff
 +
 +
TEXTURE
 +
{
 +
mainTextureURL = Squad/Parts/CompoundParts/FuelLine/FTX-2 External Fuel Duct_ESA
 +
}
 +
}
 +
 +
}
 +
MODULE
 +
{
 +
name = ModuleCargoPart
 +
stackableQuantity = 4
 +
packedVolume = 10
 +
}
 +
EFFECTS
 +
{
 +
Disconnect
 +
{
 +
AUDIO
 +
{
 +
channel = Ship
 +
clip = Squad/Sounds/ksp1_strunts_disconnect_v3_pitched2.wav
 +
maxVolumeDistance = 150
 +
}
 +
}
 +
}
 
}
 
}
 
}}
 
}}

Latest revision as of 15:29, 10 October 2024

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 = #autoLOC_500361 //#autoLOC_500361 = FTX-2 External Fuel Duct
	manufacturer = #autoLOC_501634 //#autoLOC_501634 = FLOOYD Dynamics Research Labs
	description = #autoLOC_500362 //#autoLOC_500362 = 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 = none
	maximum_drag = 0.02
	minimum_drag = 0.02
	angularDrag = 1
	crashTolerance = 12
	maxTemp = 2000 // = 3600
	heatConductivity = 20
	skinMassPerArea = 20
	explosionPotential = 0
	PhysicsSignificance = 1
	maxLength = 10
	bulkheadProfiles = srf
	disconnectAction = true
	tags = #autoLOC_500363 //#autoLOC_500363 = asparagus channel hose (lf line ox oxidizer pipe propellant pump tube
	MODULE
	{
		name = CModuleLinkedMesh
		lineObjName = obj_line
		mainAnchorName = obj_mainAnchor
		targetAnchorName = obj_targetAnchor
		anchorCapName = obj_anchorCap
		targetCapName = obj_targetCap
		targetColliderName = obj_targetCollider
	}
	MODULE
	{
		name = CModuleFuelLine
	}
	DRAG_CUBE
	{
		none = True
	}
	MODULE
	{
		name = ModulePartVariants
		baseVariant = YellowAndWhite
		useMultipleDragCubes = false
		VARIANT
		{
			name = YellowAndWhite
			displayName = #autoLOC_8003114
			description = #autoLOC_8003115
			primaryColor = #ffffff
			secondaryColor = #999999
		}
		VARIANT
		{
			name = White
			displayName = #autoLOC_8007119
			description = #autoLOC_8003040
			primaryColor = #ffffff
			secondaryColor = #ffffff
			
			TEXTURE
			{
				mainTextureURL = Squad/Parts/CompoundParts/FuelLine/FTX-2 External Fuel Duct_ESA
			}
		}
		
	}
	MODULE
	{
		name = ModuleCargoPart
		stackableQuantity = 4
		packedVolume = 10
	}
	EFFECTS
	{
		Disconnect
		{
			AUDIO
			{
				channel = Ship
				clip = Squad/Sounds/ksp1_strunts_disconnect_v3_pitched2.wav
				maxVolumeDistance = 150				
			}
		}
	}
}