Difference between revisions of "Parts/Aero/wings/elevon4.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|Small 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 = smallCtrlSrf
 
name = smallCtrlSrf
module = ControlSurface
+
module = Part
 
author = Chad Jenkins
 
author = Chad Jenkins
  
Line 21: Line 22:
  
 
// --- editor parameters ---
 
// --- editor parameters ---
cost = 500
+
TechRequired = aerodynamicSystems
 +
entryCost = 3200
 +
cost = 550
 
category = Aero
 
category = Aero
 
subcategory = 0
 
subcategory = 0
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.5
+
dragCoeff = 0.5
ctrlSurfaceRange = 20
+
deflectionLiftCoeff = 0.5
ctrlSurfaceArea = 0.95
+
ctrlSurfaceRange = 20
 +
ctrlSurfaceArea = 0.95
 +
}
  
 
 
// --- tweakables (coming soon...) ---
 
  
  
  
 +
// ----- DO NOT EDIT BELOW THIS POINT ------
  
// ----- DO NOT EDIT BELOW THIS POINT ------
+
}
</pre>
+
}}

Revision as of 12:49, 24 January 2014

This is the configuration file for Small 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 = smallCtrlSrf
module = Part
author = Chad Jenkins

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

// --- editor parameters ---
TechRequired = aerodynamicSystems
entryCost = 3200
cost = 550
category = Aero
subcategory = 0
title = Small Control Surface
manufacturer = C7 Aerospace
description = Feel the need to attach an elevator, rudder or elivon to just about any darn surface you can get your mitts on? Well this part is for you. Made of mostly new factory parts. Warranty void if exposed to vacuum.
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
attachRules = 0,1,0,1,0

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


// --- standard part parameters ---
mass = 0.01
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.5
	ctrlSurfaceRange = 20
	ctrlSurfaceArea = 0.95
}




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

}