Difference between revisions of "Parts/Aero/airplaneFins/sweptWing.cfg"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Update config)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<pre>// this is a sample config file, for determining a good file format for defining part parameters
+
{{Part config|Swept Wings|2=PART
// comment line - ignored by cfg parser
+
{
// empty lines, or lines without a '=' sign are also ignored
+
name = sweptWing
// 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 = C. Jenkins, 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.0, 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 = 1.75,-1.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)
+
CoLOffset = 1.75,-1.0, 0
 
+
CoPOffset = 1.75,-1.0, 0
 
+
TechRequired = aviation
// --- general parameters ---
+
entryCost = 3600
name = sweptWing
+
cost = 620
module = Winglet
+
category = Aero
author = C. Jenkins
+
subcategory = 0
 
+
title = #autoLOC_500133 //#autoLOC_500133 = Swept Wings
// --- asset parameters ---
+
manufacturer = #autoLOC_501626 //#autoLOC_501626 = WinterOwl Aircraft Emporium
mesh = model.mu
+
description = #autoLOC_500134 //#autoLOC_500134 = A prototype swept back wing, part of our "Let's Fly", line. Made of light weight composite materials. Guaranteed to generate lift, not guaranteed to ensure crew safety.
scale = 0.1
+
attachRules = 0,1,0,1,1
 
+
mass = 0.275
 
+
thermalMassModifier = 8.0
// --- editor parameters ---
+
// heatConductivity = 0.06 // half default
cost = 500
+
emissiveConstant = 0.95
category = Aero
+
dragModelType = none
subcategory = 0
+
maximum_drag = 0.02
title = Swept Wings
+
minimum_drag = 0.02
manufacturer = C7 Aerospace division
+
angularDrag = 2
description = A prototype swept back wing. Made of light weight composite materials. Guaranteed to generate lift, not guaranteed to ensure crew safety.
+
crashTolerance = 15
 
+
maxTemp = 2400
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
+
explosionPotential = 0.1
attachRules = 0,1,0,1,1
+
fuelCrossFeed = True
 
+
bulkheadProfiles = srf
// --- node definitions ---
+
tags = #autoLOC_500135 //#autoLOC_500135 = aero (air fligh lift plane
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
+
MODEL
node_attach = 0.0, 0.0, 0.0, -1.0, 0.0, 0.0
+
{
 
+
model = Squad/Parts/Aero/airplaneFins/Swept
 
+
}
// --- standard part parameters ---
+
MODULE
mass = 0.05
+
{
dragModelType = override
+
name = ModuleLiftingSurface
maximum_drag = 0.02
+
useInternalDragModel = True
minimum_drag = 0.02
+
deflectionLiftCoeff = 1.37 // 4.83m^2
angularDrag = 2
+
dragAtMaxAoA = 0.6
crashTolerance = 15
+
dragAtMinAoA = 0.1
maxTemp = 3400
+
}
explosionPotential = 0.1
+
MODULE
fuelCrossFeed = True
+
{
// --- winglet parameters ---
+
name = ModuleCargoPart
// dragCoeff will override the maximum_drag value
+
stackableQuantity = 1
dragCoeff = 0.6
+
packedVolume = -1
deflectionLiftCoeff = 1.6
+
}
 
+
}
 
+
}}
 
 
// --- tweakables (coming soon...) ---
 
 
 
 
 
 
 
 
 
// ----- DO NOT EDIT BELOW THIS POINT ------
 
</pre>
 

Latest revision as of 11:09, 13 October 2024

This is the configuration file for Swept Wings.
PART
{
	name = sweptWing
	module = Part
	author = C. Jenkins, Porkjet
	rescaleFactor = 1
	node_attach = 0.0, 0.0, 0.0, -1.0, 0.0, 0.0, 1
	CoMOffset = 1.75,-1.0, 0
	CoLOffset = 1.75,-1.0, 0
	CoPOffset = 1.75,-1.0, 0
	TechRequired = aviation
	entryCost = 3600
	cost = 620
	category = Aero
	subcategory = 0
	title = #autoLOC_500133 //#autoLOC_500133 = Swept Wings
	manufacturer = #autoLOC_501626 //#autoLOC_501626 = WinterOwl Aircraft Emporium
	description = #autoLOC_500134 //#autoLOC_500134 = A prototype swept back wing, part of our "Let's Fly", line. Made of light weight composite materials. Guaranteed to generate lift, not guaranteed to ensure crew safety.
	attachRules = 0,1,0,1,1
	mass = 0.275
	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_500135 //#autoLOC_500135 = aero (air fligh lift plane
	MODEL
	{
		model = Squad/Parts/Aero/airplaneFins/Swept
	}
	MODULE
	{
		name = ModuleLiftingSurface
		useInternalDragModel = True
		deflectionLiftCoeff = 1.37		// 4.83m^2
		dragAtMaxAoA = 0.6
		dragAtMinAoA = 0.1
	}	
	MODULE
	{
		name = ModuleCargoPart	
		stackableQuantity = 1
		packedVolume = -1
	}
}