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

From Kerbal Space Program Wiki
Jump to: navigation, search
(Created page with "<pre> // 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...")
 
m (Update config)
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<pre>
+
{{Part config|Delta Wing|2=PART
// this is a sample config file, for determining a good file format for defining part parameters
+
{
// comment line - ignored by cfg parser
+
name = deltaWing
// empty lines, or lines without a '=' sign are also ignored
+
module = Part
// all other lines are split at the '=' sign, and the left operand is used to know what parameter we are setting
+
author = Porkjet
// diferent parameters require data in different formats (see docs), and each module has it's own parameters (again, see docs)
+
rescaleFactor = 1
// each assignment must be in a single line. Lines without assignments will be ignored. (You CAN turn on word wrap, though)
+
node_attach = 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 1
// each keyword here relates to an existing variable in the assigned module. If the keyword isn't found, it is ignored.
+
CoMOffset = -1.2, 0.4, 0
// conversely, if a keyword is left unassigned (as in not in the file), it will be initialized with it's default value
+
CoLOffset = -1.2, 0.4, 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)
+
CoPOffset = -1.2, 0.4, 0
 
+
TechRequired = advAerodynamics
 
+
entryCost = 6400
// --- general parameters ---
+
cost = 600
name = deltaWing
+
category = Aero
module = Winglet
+
subcategory = 0
author = C. Jenkins
+
title = #autoLOC_500244 //#autoLOC_500244 = Delta Wing
 
+
manufacturer = #autoLOC_501624 //#autoLOC_501624 = C7 Aerospace Division
// --- asset parameters ---
+
description = #autoLOC_500245 //#autoLOC_500245 = Standard Delta configuration wings. These wings provide high lift and a stable center of gravity for your everyday lifting needs.
mesh = c7deltawing.DAE
+
attachRules = 0,1,0,1,1
scale = 0.1
+
mass = 0.2
 
+
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 = Delta Wing
+
minimum_drag = 0.02
manufacturer = C7 Aerospace division
+
angularDrag = 2
description = Standard Delta configuration wings. These wings provide high lift and a stable center of gravity for your everyday lifting needs.
+
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_500246 //#autoLOC_500246 = aero aircraft fligh foil lift plane swept
// 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/wings/delta
 
+
}
// --- standard part parameters ---
+
MODULE
mass = 0.07
+
{
dragModelType = override
+
name = ModuleLiftingSurface
maximum_drag = 0.02
+
useInternalDragModel = True
minimum_drag = 0.02
+
deflectionLiftCoeff = 2.0
angularDrag = 2
+
dragAtMaxAoA = 0.6
crashTolerance = 15
+
dragAtMinAoA = 0.0
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.9
+
}
 
+
}
 
+
}}
 
 
// --- tweakables (coming soon...) ---
 
 
 
 
 
 
 
 
 
// ----- DO NOT EDIT BELOW THIS POINT ------
 
</pre>
 

Latest revision as of 11:00, 13 October 2024

This is the configuration file for Delta Wing.
PART
{
	name = deltaWing
	module = Part
	author = Porkjet
	rescaleFactor = 1
	node_attach = 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 1
	CoMOffset = -1.2, 0.4, 0
	CoLOffset = -1.2, 0.4, 0
	CoPOffset = -1.2, 0.4, 0
	TechRequired = advAerodynamics
	entryCost = 6400
	cost = 600
	category = Aero
	subcategory = 0
	title = #autoLOC_500244 //#autoLOC_500244 = Delta Wing
	manufacturer = #autoLOC_501624 //#autoLOC_501624 = C7 Aerospace Division
	description = #autoLOC_500245 //#autoLOC_500245 = Standard Delta configuration wings. These wings provide high lift and a stable center of gravity for your everyday lifting needs.
	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_500246 //#autoLOC_500246 = aero aircraft fligh foil lift plane swept
	MODEL
	{
		model = Squad/Parts/Aero/wings/delta
	}
	MODULE
	{
		name = ModuleLiftingSurface
		useInternalDragModel = True
		deflectionLiftCoeff = 2.0
		dragAtMaxAoA = 0.6
		dragAtMinAoA = 0.0
	}	
	MODULE
	{
		name = ModuleCargoPart	
		stackableQuantity = 1
		packedVolume = -1
	}
}