Difference between revisions of "Parts/Aero/wings/connector1.cfg"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Created page with "// 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 '='...")
 
m (Update config)
 
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:
// this is a sample config file, for determining a good file format for defining part parameters
+
{{Part config|Wing Connector Type A|2=PART
// comment line - ignored by cfg parser
+
{
// empty lines, or lines without a '=' sign are also ignored
+
name = wingConnector
// all other lines are split at the '=' sign, and the left operand is used to know what parameter we are setting
+
module = Part
// diferent parameters require data in different formats (see docs), and each module has it's own parameters (again, see docs)
+
author = Porkjet
// each assignment must be in a single line. Lines without assignments will be ignored. (You CAN turn on word wrap, though)
+
rescaleFactor = 1
// each keyword here relates to an existing variable in the assigned module. If the keyword isn't found, it is ignored.
+
node_attach = 0.008, 0.0, 0.0, 1.0, 0.0, 0.0, 1
// conversely, if a keyword is left unassigned (as in not in the file), it will be initialized with it's default value
+
CoMOffset = -0.9309626, 0.07127571, 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)
+
CoLOffset = -0.9309626, 0.07127571, 0
 
+
CoPOffset = -0.9309626, 0.07127571, 0
 
+
TechRequired = aerodynamicSystems
// --- general parameters ---
+
entryCost = 6400
name = wingConnector
+
cost = 500
module = Winglet
+
category = Aero
author = C. Jenkins
+
subcategory = 0
 
+
title = #autoLOC_500229 //#autoLOC_500229 = Wing Connector Type A
// --- asset parameters ---
+
manufacturer = #autoLOC_501624 //#autoLOC_501624 = C7 Aerospace Division
mesh = model.mu
+
description = #autoLOC_500230 //#autoLOC_500230 = A vaguely wing shaped board. Use at your own risk.
scale = 0.1
+
attachRules = 0,1,0,1,1
 
+
mass = 0.2
// --- editor parameters ---
+
thermalMassModifier = 8.0
cost = 500
+
// heatConductivity = 0.06 // half default
category = Aero
+
emissiveConstant = 0.95
subcategory = 0
+
dragModelType = none
title = Wing Connector
+
maximum_drag = 0.02
manufacturer = C7 Aerospace division
+
minimum_drag = 0.02
description = A vaguely wing shaped board. Use at your own risk.
+
angularDrag = 2
 
+
crashTolerance = 15
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
+
maxTemp = 2400
attachRules = 0,1,0,1,1
+
explosionPotential = 0.1
 
+
fuelCrossFeed = True
// --- node definitions ---
+
bulkheadProfiles = srf
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
+
tags = #autoLOC_500231 //#autoLOC_500231 = aero aircraft fligh foil lift plane
node_attach = 0.0, 0.0, 0.0, 1.0, 0.0, 0.0
+
MODEL
 
+
{
 
+
model = Squad/Parts/Aero/wings/connector1
// --- standard part parameters ---
+
}
mass = 0.05
+
MODULE
dragModelType = override
+
{
maximum_drag = 0.02
+
name = ModuleLiftingSurface
minimum_drag = 0.02
+
useInternalDragModel = True
angularDrag = 2
+
deflectionLiftCoeff = 2.0
crashTolerance = 15
+
dragAtMaxAoA = 0.5
maxTemp = 3400
+
dragAtMinAoA = 0.0
explosionPotential = 0.1
+
}
fuelCrossFeed = True
+
MODULE
breakingTorque = 100
+
{
// --- winglet parameters ---
+
name = ModuleCargoPart
// dragCoeff will override the maximum_drag value
+
stackableQuantity = 1
dragCoeff = 0.4
+
packedVolume = -1
deflectionLiftCoeff = 1.0
+
}
 
+
}
 
+
}}
 
 
// --- tweakables (coming soon...) ---
 
 
 
 
 
 
 
 
 
// ----- DO NOT EDIT BELOW THIS POINT ------
 

Latest revision as of 11:02, 13 October 2024

This is the configuration file for Wing Connector Type A.
PART
{
	name = wingConnector
	module = Part
	author = Porkjet
	rescaleFactor = 1
	node_attach = 0.008, 0.0, 0.0, 1.0, 0.0, 0.0, 1
	CoMOffset = -0.9309626, 0.07127571, 0
	CoLOffset = -0.9309626, 0.07127571, 0
	CoPOffset = -0.9309626, 0.07127571, 0
	TechRequired = aerodynamicSystems
	entryCost = 6400
	cost = 500
	category = Aero
	subcategory = 0
	title = #autoLOC_500229 //#autoLOC_500229 = Wing Connector Type A
	manufacturer = #autoLOC_501624 //#autoLOC_501624 = C7 Aerospace Division
	description = #autoLOC_500230 //#autoLOC_500230 = A vaguely wing shaped board. Use at your own risk.
	attachRules = 0,1,0,1,1
	mass = 0.2
	thermalMassModifier = 8.0
	// heatConductivity = 0.06 // half default
	emissiveConstant = 0.95
	dragModelType = none
	maximum_drag = 0.02
	minimum_drag = 0.02
	angularDrag = 2
	crashTolerance = 15
	maxTemp = 2400
	explosionPotential = 0.1
	fuelCrossFeed = True
	bulkheadProfiles = srf
	tags = #autoLOC_500231 //#autoLOC_500231 = aero aircraft fligh foil lift plane
	MODEL
	{
		model = Squad/Parts/Aero/wings/connector1
	}
	MODULE
	{
		name = ModuleLiftingSurface
		useInternalDragModel = True
		deflectionLiftCoeff = 2.0
		dragAtMaxAoA = 0.5
		dragAtMinAoA = 0.0
	}	
	MODULE
	{
		name = ModuleCargoPart	
		stackableQuantity = 1
		packedVolume = -1
	}
}