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

From Kerbal Space Program Wiki
Jump to: navigation, search
(Page created)
 
m (*update to 1.0.4;)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<pre>
+
{{Part config|Circular Intake|2=PART
// this is a sample config file, for determining a good file format for defining part parameters
+
{
// comment line - ignored by cfg parser
+
name = CircularIntake
// empty lines, or lines without a '=' sign are also ignored
+
module = Part
// all other lines are split at the '=' sign, and the left operand is used to know what parameter we are setting
+
author = C. Jenkins, Porkjet
// diferent parameters require data in different formats (see docs), and each module has it's own parameters (again, see docs)
+
rescaleFactor = 1
// each assignment must be in a single line. Lines without assignments will be ignored. (You CAN turn on word wrap, though)
+
node_stack_bottom01 = 0.0, 0.0, 0.0, 0.0, -1.0, 0.0
// each keyword here relates to an existing variable in the assigned module. If the keyword isn't found, it is ignored.
+
TechRequired = aerodynamicSystems
// conversely, if a keyword is left unassigned (as in not in the file), it will be initialized with it's default value
+
entryCost = 8800
// 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)
+
cost = 680
 
+
category = Aero
 
+
subcategory = 0
// --- general parameters ---
+
title = Circular Intake
name = CircularIntake
+
manufacturer = C7 Aerospace Division
module = Part
+
description = A proper turbofan intake, not only provides oxygen to air breathing engines, it pulls in twice as much air than those puny air scoops from Vac-Co.
author = C. Jenkins
+
attachRules = 1,0,1,0,0
 
+
stackSymmetry = 2
// --- asset parameters ---
+
mass = 0.01
mesh = model.mu
+
thermalMassModifier = 8.0
scale = 0.1
+
// heatConductivity = 0.06 // half default
 
+
emissiveConstant = 0.55
 
+
dragModelType = default
// --- node definitions ---
+
maximum_drag = 0.3
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
+
minimum_drag = 0.3
 
+
angularDrag = 1
node_stack_bottom01 = 0.0, 0.0, 0.0, 0.0, 1.0, 0.0
+
crashTolerance = 7
 
+
maxTemp = 1900 // = 3400
 
+
fuelCrossFeed = True
 
+
bulkheadProfiles = size1
// --- FX definitions ---
 
  
 
+
MODEL
// --- editor parameters ---
+
{
cost = 680
+
model = Squad/Parts/Aero/circularIntake/CircularIntake
category = Aero
+
}
subcategory = 0
+
DRAG_CUBE
title = Circular Intake
+
{
manufacturer = C7 Aerospace Division.
+
cube = Default, 0.7536889,0.6974452,0.7221569, 0.7536889,0.6974494,0.7221569, 1.213026,0.45,0.7008534, 1.213026,0.9357337,0.1625167, 0.7536888,0.6983959,0.7221569, 0.7536888,0.6964872,0.7221569, 0,0.269185,3.208935E-08, 1.25,0.6633701,1.25
description = A basic turbofan intake, aids in providing oxygen to air breathing engines.
+
}
 
+
MODULE
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
+
{
attachRules = 1,0,1,0,0
+
name = ModuleResourceIntake
stackSymmetry = 2
+
resourceName = IntakeAir
 
+
checkForOxygen = true
// --- standard part parameters ---
+
area = 0.0085
mass = 0.01
+
intakeSpeed = 10
dragModelType = default
+
intakeTransformName = Intake
maximum_drag = 0.3
+
}
minimum_drag = 0.3
+
RESOURCE
angularDrag = 1
+
{
crashTolerance = 20
+
name = IntakeAir
maxTemp = 3400
+
amount = 0.85
fuelCrossFeed = True
+
maxAmount = 0.85
 
+
}
 
+
MODULE
MODULE
+
{
{
+
name = ModuleAnimateHeat
  name = ModuleResourceIntake
+
ThermalAnim = IntakeCircularHeat
  resourceName = IntakeAir
+
}
  checkForOxygen = true
 
  area = 0.008
 
  intakeSpeed = 10
 
  intakeTransformName = Intake
 
 
}
 
}
  
RESOURCE
+
}}
{
 
name = IntakeAir
 
amount = 0.2
 
maxAmount = 0.2
 
}
 
</pre>
 

Latest revision as of 12:13, 27 June 2015

This is the configuration file for Circular Intake.
PART
{
	name = CircularIntake
	module = Part
	author = C. Jenkins, Porkjet
	rescaleFactor = 1
	node_stack_bottom01 = 0.0, 0.0, 0.0, 0.0, -1.0, 0.0
	TechRequired = aerodynamicSystems
	entryCost = 8800
	cost = 680
	category = Aero
	subcategory = 0
	title = Circular Intake
	manufacturer = C7 Aerospace Division
	description = A proper turbofan intake, not only provides oxygen to air breathing engines, it pulls in twice as much air than those puny air scoops from Vac-Co.
	attachRules = 1,0,1,0,0
	stackSymmetry = 2
	mass = 0.01
	thermalMassModifier = 8.0
	// heatConductivity = 0.06 // half default
	emissiveConstant = 0.55
	dragModelType = default
	maximum_drag = 0.3
	minimum_drag = 0.3
	angularDrag = 1
	crashTolerance = 7
	maxTemp = 1900 // = 3400
	fuelCrossFeed = True
	bulkheadProfiles = size1

	MODEL
	{
		model = Squad/Parts/Aero/circularIntake/CircularIntake
	}
	DRAG_CUBE
	{
		cube = Default, 0.7536889,0.6974452,0.7221569, 0.7536889,0.6974494,0.7221569, 1.213026,0.45,0.7008534, 1.213026,0.9357337,0.1625167, 0.7536888,0.6983959,0.7221569, 0.7536888,0.6964872,0.7221569, 0,0.269185,3.208935E-08, 1.25,0.6633701,1.25
	}
	MODULE
	{
		name = ModuleResourceIntake
		resourceName = IntakeAir
		checkForOxygen = true
		area = 0.0085
		intakeSpeed = 10
		intakeTransformName = Intake
	}
	RESOURCE
	{
		name = IntakeAir
		amount = 0.85
		maxAmount = 0.85
	}
	MODULE
	{
		name = ModuleAnimateHeat
		ThermalAnim = IntakeCircularHeat
	}
}