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

From Kerbal Space Program Wiki
Jump to: navigation, search
(+added in 0.25;)
 
m (Update config)
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{Part config|Shock Cone Intake|2=PART
 
{{Part config|Shock Cone Intake|2=PART
 
{
 
{
// this is a sample config file, for determining a good file format for defining part parameters
+
name = shockConeIntake
// comment line - ignored by cfg parser
+
module = Part
// empty lines, or lines without a '=' sign are also ignored
+
author = Porkjet
// all other lines are split at the '=' sign, and the left operand is used to know what parameter we are setting
+
rescaleFactor = 1
// diferent parameters require data in different formats (see docs), and each module has it's own parameters (again, see docs)
+
node_stack_bottom = 0.0, -0.625, 0.0, 0.0, -1.0, 0.0
// each assignment must be in a single line. Lines without assignments will be ignored. (You CAN turn on word wrap, though)
+
buoyancy = 0.5
// each keyword here relates to an existing variable in the assigned module. If the keyword isn't found, it is ignored.
+
TechRequired = hypersonicFlight
// conversely, if a keyword is left unassigned (as in not in the file), it will be initialized with it's default value
+
entryCost = 21000
// 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 = 3050
 +
category = Aero
 +
subcategory = 0
 +
title = #autoLOC_500145 //#autoLOC_500145 = Shock Cone Intake
 +
manufacturer = #autoLOC_501624 //#autoLOC_501624 = C7 Aerospace Division
 +
description = #autoLOC_500146 //#autoLOC_500146 = A shocking new intake from the C7 Aerospace Division that brought you much adored parts such as the Delta Wing and the Standard Nosecone! Offers exceptional performance at all speeds and has some heat shielding of its own.
 +
attachRules = 1,0,1,0,0
 +
mass = 0.12
 +
thermalMassModifier = 8
 +
// heatConductivity = 0.06 // half default
 +
heatConvectiveConstant = 0.75 // air goes into jet, not bashes on intake.
 +
emissiveConstant = 0.95
 +
dragModelType = default
 +
maximum_drag = 0.3
 +
minimum_drag = 0.3
 +
angularDrag = 1.2
 +
crashTolerance = 7
 +
maxTemp = 2400
 +
fuelCrossFeed = True
 +
bulkheadProfiles = size1
 +
tags = #autoLOC_500147 //#autoLOC_500147 = aero (air breathe fligh inlet jet oxygen plane suck supersonic
 +
MODEL
 +
{
 +
model = Squad/Parts/Aero/circularIntake/ConeIntake
 +
}
 +
DRAG_CUBE
 +
{
 +
cube = Default, 0.7486105,0.6887614,0.7221569, 0.7486105,0.6887677,0.7221569, 1.213026,0.3,1.183155, 1.213026,1,0.100694, 0.7486105,0.6903304,0.7221569, 0.7486105,0.6871722,0.7221569, 0,-0.08307549,0, 1.25,1.083849,1.25
 +
}
  
 
+
MODULE
// --- general parameters ---
+
{
name = shockConeIntake
+
name = ModuleResourceIntake
module = Part
+
resourceName = IntakeAir
author = Porkjet
+
checkForOxygen = true
 
+
area = 0.0075
// --- asset parameters ---
+
intakeSpeed = 5
mesh = model.mu
+
intakeTransformName = Intake
rescaleFactor = 1
+
 
+
// Isentropic, so left at default efficiency (1.0) at all Mach
// --- node definitions ---
+
}
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
+
RESOURCE
 
+
{
node_stack_bottom = 0.0, -0.625, 0.0, 0.0, 1.0, 0.0
+
name = IntakeAir
 
+
amount = 2
 
+
maxAmount = 2
// --- FX definitions ---
+
}
 
+
MODULE
 
+
{
// --- editor parameters ---
+
name = ModuleAnimateHeat
TechRequired = hypersonicFlight
+
ThermalAnim = IntakeConeHeat
entryCost = 21000
+
}
cost = 3050
+
MODULE
category = Aero
+
{
subcategory = 0
+
name = ModuleCargoPart
title = Shock Cone Intake
+
packedVolume = 2200
manufacturer = C7 Aerospace Division
+
}
description = A shocking new intake from the C7 Aerospace Division that brought you much adored parts such as the Delta Wing and the Standard Nosecone!
 
 
 
 
 
 
 
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
 
attachRules = 1,0,1,0,0
 
 
 
 
 
// --- standard part parameters ---
 
mass = 0.025
 
dragModelType = default
 
maximum_drag = 0.3
 
minimum_drag = 0.3
 
angularDrag = 1.2
 
crashTolerance = 10
 
maxTemp = 3400
 
fuelCrossFeed = True
 
 
 
 
 
// ----- DO NOT EDIT BELOW THIS POINT ------
 
 
 
MODULE
 
{
 
  name = ModuleResourceIntake
 
  resourceName = IntakeAir
 
  checkForOxygen = true
 
  area = 0.012
 
  intakeSpeed = 12
 
  intakeTransformName = Intake 
 
 
}
 
}
 
RESOURCE
 
{
 
name = IntakeAir
 
amount = 0.4
 
maxAmount = 0.8
 
}
 
}
 
 
 
}}
 
}}

Latest revision as of 10:54, 13 October 2024

This is the configuration file for Shock Cone Intake.
PART
{
	name = shockConeIntake
	module = Part
	author = Porkjet
	rescaleFactor = 1
	node_stack_bottom = 0.0, -0.625, 0.0, 0.0, -1.0, 0.0
	buoyancy = 0.5
	TechRequired = hypersonicFlight
	entryCost = 21000
	cost = 3050
	category = Aero
	subcategory = 0
	title = #autoLOC_500145 //#autoLOC_500145 = Shock Cone Intake
	manufacturer = #autoLOC_501624 //#autoLOC_501624 = C7 Aerospace Division
	description = #autoLOC_500146 //#autoLOC_500146 = A shocking new intake from the C7 Aerospace Division that brought you much adored parts such as the Delta Wing and the Standard Nosecone! Offers exceptional performance at all speeds and has some heat shielding of its own.
	attachRules = 1,0,1,0,0
	mass = 0.12
	thermalMassModifier = 8
	// heatConductivity = 0.06 // half default
	heatConvectiveConstant = 0.75 // air goes into jet, not bashes on intake.
	emissiveConstant = 0.95
	dragModelType = default
	maximum_drag = 0.3
	minimum_drag = 0.3
	angularDrag = 1.2
	crashTolerance = 7
	maxTemp = 2400
	fuelCrossFeed = True
	bulkheadProfiles = size1
	tags = #autoLOC_500147 //#autoLOC_500147 = aero (air breathe fligh inlet jet oxygen plane suck supersonic
	MODEL
	{
		model = Squad/Parts/Aero/circularIntake/ConeIntake
	}
	DRAG_CUBE
	{
		cube = Default, 0.7486105,0.6887614,0.7221569, 0.7486105,0.6887677,0.7221569, 1.213026,0.3,1.183155, 1.213026,1,0.100694, 0.7486105,0.6903304,0.7221569, 0.7486105,0.6871722,0.7221569, 0,-0.08307549,0, 1.25,1.083849,1.25
	}

	MODULE
	{
		name = ModuleResourceIntake
		resourceName = IntakeAir
		checkForOxygen = true
		area = 0.0075
		intakeSpeed = 5
		intakeTransformName = Intake
		
		// Isentropic, so left at default efficiency (1.0) at all Mach
	}
	RESOURCE
	{
		name = IntakeAir
		amount = 2
		maxAmount = 2
	}
	MODULE
	{
		name = ModuleAnimateHeat
		ThermalAnim = IntakeConeHeat
	}
	MODULE
	{
		name = ModuleCargoPart
		packedVolume = 2200
	}
}