Difference between revisions of "Parts/Aero/wings/elevon1.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...")
 
(Updated for 0.23)
Line 1: Line 1:
<pre>
+
{{Part config|Standard Control Surface|2=PART
 +
{
 
// this is a sample config file, for determining a good file format for defining part parameters
 
// this is a sample config file, for determining a good file format for defining part parameters
 
// comment line - ignored by cfg parser
 
// comment line - ignored by cfg parser
Line 13: Line 14:
 
// --- general parameters ---
 
// --- general parameters ---
 
name = StandardCtrlSrf
 
name = StandardCtrlSrf
module = ControlSurface
+
module = Part
 
author = C. Jenkins
 
author = C. Jenkins
  
Line 21: Line 22:
  
 
// --- editor parameters ---
 
// --- editor parameters ---
cost = 500
+
TechRequired = aerodynamicSystems
 +
entryCost = 4000
 +
cost = 700
 
category = Aero
 
category = Aero
 
subcategory = 1
 
subcategory = 1
Line 45: Line 48:
 
explosionPotential = 0.1
 
explosionPotential = 0.1
  
// --- winglet parameters ---
+
MODULE
// dragCoeff will override the maximum_drag value
+
{
dragCoeff = 0.5
+
name = ModuleControlSurface
deflectionLiftCoeff = 0.7
+
dragCoeff = 0.5
ctrlSurfaceRange = 20
+
deflectionLiftCoeff = 0.7
ctrlSurfaceArea = 0.95
+
ctrlSurfaceRange = 20
 +
ctrlSurfaceArea = 0.95
 +
}
  
// mirrorRefAxis = 0, 0, -1
 
 
 
// --- tweakables (coming soon...) ---
 
  
  
  
 +
// ----- DO NOT EDIT BELOW THIS POINT ------
  
// ----- DO NOT EDIT BELOW THIS POINT ------
+
}
</pre>
+
}}

Revision as of 12:38, 24 January 2014

This is the configuration file for Standard Control Surface.
PART
{
// 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 '=' sign are also ignored
// all other lines are split at the '=' sign, and the left operand is used to know what parameter we are setting
// diferent parameters require data in different formats (see docs), and each module has it's own parameters (again, see docs)
// each assignment must be in a single line. Lines without assignments will be ignored. (You CAN turn on word wrap, though)
// each keyword here relates to an existing variable in the assigned module. If the keyword isn't found, it is ignored.
// conversely, if a keyword is left unassigned (as in not in the file), it will be initialized with it's default value
// 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)


// --- general parameters ---
name = StandardCtrlSrf
module = Part
author = C. Jenkins

// --- asset parameters ---
mesh = model.mu
scale = 0.1

// --- editor parameters ---
TechRequired = aerodynamicSystems
entryCost = 4000
cost = 700
category = Aero
subcategory = 1
title = Standard Control Surface
manufacturer = C7 Aerospace Division
description = Made of the finest materials at hand, these flight surfaces are guaranteed to operate while attached to the craft. However studies have shown that a lack of atmosphere *may* slightly impede function. No refunds.
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision, allowDock, allowRotate
attachRules = 0,1,0,1,0,0,1

// --- node definitions ---
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
node_attach = 0.0, 0.0, 0.0, 0.0, 1.0, 0.0


// --- standard part parameters ---
mass = 0.04
dragModelType = override
maximum_drag = 0.02
minimum_drag = 0.02
angularDrag = 3
crashTolerance = 12
maxTemp = 3400
explosionPotential = 0.1

MODULE
{
	name = ModuleControlSurface
	dragCoeff = 0.5
	deflectionLiftCoeff = 0.7
	ctrlSurfaceRange = 20
	ctrlSurfaceArea = 0.95
}




// ----- DO NOT EDIT BELOW THIS POINT ------

}