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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (corrected mass from 0.01 to 0.011)
m (Update config)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Part config|Ram Air Intake|2=PART
+
{{Part config|Adjustable Ramp Intake|2=PART
 
{
 
{
// this is a sample config file, for determining a good file format for defining part parameters
+
name = ramAirIntake
// comment line - ignored by cfg parser
+
module = Part
// empty lines, or lines without a '=' sign are also ignored
+
author = C. Jenkins, Porkjet
// all other lines are split at the '=' sign, and the left operand is used to know what parameter we are setting
+
mesh = RampIntake.mu
// 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.
+
buoyancy = 0.1
// conversely, if a keyword is left unassigned (as in not in the file), it will be initialized with it's default value
+
TechRequired = highAltitudeFlight
// 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)
+
entryCost = 14000
 
+
cost = 2680
 
+
category = Aero
// --- general parameters ---
+
subcategory = 0
name = ramAirIntake
+
title = #autoLOC_500202 //#autoLOC_500202 = Adjustable Ramp Intake
module = Part
+
manufacturer = #autoLOC_501624 //#autoLOC_501624 = C7 Aerospace Division
author = C. Jenkins
+
description = #autoLOC_500203 //#autoLOC_500203 = At supersonic speeds, -PATENT PENDING, CLASSIFIED INFO- inside the intake duct deflect the incoming air stream, causing -PATENT PENDING, CLASSIFIED INFO-, which creates a -PATENT PENDING, CLASSIFIED INFO-, thereby greatly increasing the efficiency of this unit at supersonic speeds. Patents Pending.
 
+
attachRules = 1,0,1,1,0
// --- asset parameters ---
+
stackSymmetry = 2
mesh = model.mu
+
mass = 0.06
scale = 0.1
+
thermalMassModifier = 12.0
 
+
// heatConductivity = 0.06 // half default
// --- node definitions ---
+
emissiveConstant = 0.7
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
+
dragModelType = default
 
+
maximum_drag = 0.3
node_stack_bottom01 = 0.0, 0.0, 0.0, 0.0, 1.0, 0.0
+
minimum_drag = 0.3
 
+
angularDrag = 1
 
+
crashTolerance = 7
 
+
maxTemp = 2400 // = 3400
// --- FX definitions ---
+
fuelCrossFeed = True
 
+
bulkheadProfiles = size1
 
+
tags = #autoLOC_500204 //#autoLOC_500204 = aero (air aircraft breathe cone fligh inlet jet oxygen plane suck supersonic
// --- editor parameters ---
+
DRAG_CUBE
TechRequired = highAltitudeFlight
+
{
entryCost = 14000
+
cube = Default, 1.455778,0.8035793,0.7221571, 1.455778,0.8028867,0.7221571, 1.218224,0.375,1.891716, 1.218224,0.9445066,1.006232, 1.975862,0.8134198,1.148628, 1.975862,0.8425881,0.7164711, -3.725912E-08,0.8638564,3.089391E-07, 1.25,1.852713,1.250001
cost = 2680
+
}
category = Aero
+
MODULE
subcategory = 0
+
{
title = Ram Air Intake
+
name = ModuleResourceIntake
manufacturer = C7 Aerospace Division
+
resourceName = IntakeAir
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.
+
checkForOxygen = true
 
+
area = 0.0074
 
+
intakeSpeed = 10
 
+
intakeTransformName = Intake
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
+
machCurve
attachRules = 1,0,1,0,0
+
{
stackSymmetry = 2
+
key = 0 0.85 0 0
 
+
key = 1 1 0 0
// --- standard part parameters ---
+
key = 2 0.95 -0.08751557 -0.08751557
mass = 0.011
+
key = 4 0.5 -0.4034287 -0.4034287
dragModelType = default
+
key = 8 0.01 0 0
maximum_drag = 0.3
+
}
minimum_drag = 0.3
+
}
angularDrag = 1
+
RESOURCE
crashTolerance = 10
+
{
maxTemp = 3400
+
name = IntakeAir
fuelCrossFeed = True
+
amount = 2
 
+
maxAmount = 2
 
+
}
// ----- DO NOT EDIT BELOW THIS POINT ------
+
MODULE
 
+
{
MODULE
+
name = ModuleAnimateHeat
{
+
ThermalAnim = IntakeRampHeat
  name = ModuleResourceIntake
+
}
  resourceName = IntakeAir
+
MODULE
  checkForOxygen = true
+
{
  area = 0.01
+
name = ModuleCargoPart
  intakeSpeed = 10
+
stackableQuantity = 1
  intakeTransformName = Intake
+
packedVolume = -1
}
+
}
 
 
RESOURCE
 
{
 
name = IntakeAir
 
amount = 0.2
 
maxAmount = 0.2
 
}
 
 
}
 
}
 
 
}}
 
}}

Latest revision as of 10:51, 13 October 2024

This is the configuration file for Adjustable Ramp Intake.
PART
{
	name = ramAirIntake
	module = Part
	author = C. Jenkins, Porkjet
	mesh = RampIntake.mu
	rescaleFactor = 1
	node_stack_bottom01 = 0.0, 0.0, 0.0, 0.0, -1.0, 0.0
	buoyancy = 0.1
	TechRequired = highAltitudeFlight
	entryCost = 14000
	cost = 2680
	category = Aero
	subcategory = 0
	title = #autoLOC_500202 //#autoLOC_500202 = Adjustable Ramp Intake
	manufacturer = #autoLOC_501624 //#autoLOC_501624 = C7 Aerospace Division
	description = #autoLOC_500203 //#autoLOC_500203 = At supersonic speeds, -PATENT PENDING, CLASSIFIED INFO- inside the intake duct deflect the incoming air stream, causing -PATENT PENDING, CLASSIFIED INFO-, which creates a -PATENT PENDING, CLASSIFIED INFO-, thereby greatly increasing the efficiency of this unit at supersonic speeds. Patents Pending.
	attachRules = 1,0,1,1,0
	stackSymmetry = 2
	mass = 0.06
	thermalMassModifier = 12.0
	// heatConductivity = 0.06 // half default
	emissiveConstant = 0.7
	dragModelType = default
	maximum_drag = 0.3
	minimum_drag = 0.3
	angularDrag = 1
	crashTolerance = 7
	maxTemp = 2400 // = 3400
	fuelCrossFeed = True
	bulkheadProfiles = size1
	tags = #autoLOC_500204 //#autoLOC_500204 = aero (air aircraft breathe cone fligh inlet jet oxygen plane suck supersonic
	DRAG_CUBE
	{
		cube = Default, 1.455778,0.8035793,0.7221571, 1.455778,0.8028867,0.7221571, 1.218224,0.375,1.891716, 1.218224,0.9445066,1.006232, 1.975862,0.8134198,1.148628, 1.975862,0.8425881,0.7164711, -3.725912E-08,0.8638564,3.089391E-07, 1.25,1.852713,1.250001
	}
	MODULE
	{
		name = ModuleResourceIntake
		resourceName = IntakeAir
		checkForOxygen = true
		area = 0.0074
		intakeSpeed = 10
		intakeTransformName = Intake
		machCurve
		{
			key = 0 0.85 0 0
			key = 1 1 0 0
			key = 2 0.95 -0.08751557 -0.08751557
			key = 4 0.5 -0.4034287 -0.4034287
			key = 8 0.01 0 0
		}
	}
	RESOURCE
	{
		name = IntakeAir
		amount = 2
		maxAmount = 2
	}
	MODULE
	{
		name = ModuleAnimateHeat
		ThermalAnim = IntakeRampHeat
	}	
	MODULE
	{
		name = ModuleCargoPart	
		stackableQuantity = 1
		packedVolume = -1
	}
}