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

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

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
	}
}