Difference between revisions of "Parts/Aero/ramAirIntake/ramAirIntake.cfg"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Page created)
 
(Updated for 0.23)
Line 1: Line 1:
<pre>
+
{{Part config|Ram Air Intake|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 31: Line 32:
  
 
// --- editor parameters ---
 
// --- editor parameters ---
cost = 680
+
TechRequired = highAltitudeFlight
 +
entryCost = 14000
 +
cost = 2680
 
category = Aero
 
category = Aero
 
subcategory = 0
 
subcategory = 0
 
title = Ram Air Intake
 
title = Ram Air Intake
 
manufacturer = C7 Aerospace Division.
 
manufacturer = C7 Aerospace Division.
description = Ram air intakes, used to superheat and compress engines at excessive speeds and altitudes.
+
description = Not your average air intake. These High Performance air intakes have their own pre-compressors, to supercharge air-breathing engines at very high altitudes.
 +
 
 +
 
  
 
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
 
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
Line 71: Line 76:
 
  maxAmount = 0.2
 
  maxAmount = 0.2
 
}
 
}
</pre>
+
}
 +
}}

Revision as of 15:15, 24 January 2014

This is the configuration file for Ram Air Intake.
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 = ramAirIntake
module = Part
author = C. Jenkins

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

// --- node definitions ---
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z

node_stack_bottom01 = 0.0, 0.0, 0.0, 0.0, 1.0, 0.0



// --- FX definitions ---


// --- editor parameters ---
TechRequired = highAltitudeFlight
entryCost = 14000
cost = 2680
category = Aero
subcategory = 0
title = Ram Air Intake
manufacturer = C7 Aerospace Division.
description = Not your average air intake. These High Performance air intakes have their own pre-compressors, to supercharge air-breathing engines at very high altitudes.



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

// --- standard part parameters ---
mass = 0.01
dragModelType = default
maximum_drag = 0.3
minimum_drag = 0.3
angularDrag = 1
crashTolerance = 10
maxTemp = 3400
fuelCrossFeed = True


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

MODULE
{
  name = ModuleResourceIntake
  resourceName = IntakeAir
  checkForOxygen = true
  area = 0.01
  intakeSpeed = 10
  intakeTransformName = Intake  
}

RESOURCE
{
 name = IntakeAir
 amount = 0.2
 maxAmount = 0.2
}
}