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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (*update to 0.24.2;)
(+added in 0.25;)
Line 1: Line 1:
{{Part config|Structural Wing|2=PART
+
{{Part config|Structural Wing Type A|2=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)
 
  
 +
name = structuralWing
 +
module = Part
 +
author = Porkjet
 +
 +
MODEL
 +
{
 +
model = Squad/SPP/Wings/structural1
 +
}
 +
 +
 +
rescaleFactor = 1
  
// --- general parameters ---
 
name = structuralWing
 
module = Winglet
 
author = C. Jenkins
 
  
// --- asset parameters ---
+
node_attach = 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 1
mesh = model.mu
 
scale = 0.1
 
  
 
// --- editor parameters ---
 
// --- editor parameters ---
TechRequired = advAerodynamics
+
TechRequired = aerodynamicSystems
entryCost = 6600
+
entryCost = 6400
cost = 540
+
cost = 500
 
category = Aero
 
category = Aero
 
subcategory = 0
 
subcategory = 0
title = Structural Wing
+
title = Structural Wing Type A
 
manufacturer = C7 Aerospace Division
 
manufacturer = C7 Aerospace Division
description = This wing has been constructed of surplus wing components. Comes complete with "like new" finish. Intended uses include, very large canards, and leading edges of larger delta wings.
+
description = This wing has been constructed out of surplus wing components. Comes complete with "like new" finish. Intended uses include very large canards, and leading edges of larger delta wings.
  
 
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
 
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
 
attachRules = 0,1,0,1,1
 
attachRules = 0,1,0,1,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, 1.0, 0.0, 0.0
 
  
  
Line 49: Line 41:
 
explosionPotential = 0.1
 
explosionPotential = 0.1
 
fuelCrossFeed = True
 
fuelCrossFeed = True
breakingTorque = 100
 
// --- winglet parameters ---
 
// dragCoeff will override the maximum_drag value
 
dragCoeff = 0.4
 
deflectionLiftCoeff = 1.0
 
  
 
+
MODULE
 
+
{
// --- tweakables (coming soon...) ---
+
name = ModuleLiftingSurface
 
+
 
+
deflectionLiftCoeff = 1
 
+
dragAtMaxAoA = 0.3
 
+
dragAtMinAoA = 0.0
// ----- DO NOT EDIT BELOW THIS POINT ------
+
}
  
 
}
 
}
  
 
}}
 
}}

Revision as of 01:16, 9 October 2014

This is the configuration file for Structural Wing Type A.
PART
{

name = structuralWing
module = Part
author = Porkjet

MODEL
{
	model = Squad/SPP/Wings/structural1
}


rescaleFactor = 1


node_attach = 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 1

// --- editor parameters ---
TechRequired = aerodynamicSystems
entryCost = 6400
cost = 500
category = Aero
subcategory = 0
title = Structural Wing Type A
manufacturer = C7 Aerospace Division
description = This wing has been constructed out of surplus wing components. Comes complete with "like new" finish. Intended uses include very large canards, and leading edges of larger delta wings.

// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
attachRules = 0,1,0,1,1


// --- standard part parameters ---
mass = 0.05
dragModelType = override
maximum_drag = 0.02
minimum_drag = 0.02
angularDrag = 2
crashTolerance = 15
maxTemp = 3400
explosionPotential = 0.1
fuelCrossFeed = True

MODULE
{
	name = ModuleLiftingSurface
	
	deflectionLiftCoeff = 1
	dragAtMaxAoA = 0.3
	dragAtMinAoA = 0.0
}

}