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

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