Difference between revisions of "Parts/Engine/liquidEngineAerospike/liquidEngineAerospike.cfg"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Created page with "<pre> // --- general parameters --- name = toroidalAerospike module = LiquidFuelEngine author = C. Jenkins // --- asset parameters --- mesh = model.mu scale = 1.0 // --- no...")
 
(Updated for 0.23)
Line 1: Line 1:
<pre>
+
{{Part config|Toroidal Aerospike Rocket|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)
 +
 
  
 
// --- general parameters ---
 
// --- general parameters ---
 
name = toroidalAerospike
 
name = toroidalAerospike
module = LiquidFuelEngine
+
module = Part
 
author = C. Jenkins
 
author = C. Jenkins
  
Line 14: Line 25:
  
 
node_stack_top = 0.0, 0.0, 0.0, 0.0, 1.0, 0.0
 
node_stack_top = 0.0, 0.0, 0.0, 0.0, 1.0, 0.0
 +
 +
  
 
// --- FX definitions ---
 
// --- FX definitions ---
  
fx_exhaustFlame_yellow = 0.0, -5.0, 0.0, 0.0, 1.0, 0.0, active
+
fx_exhaustFlame_blue = 0.0, -0.0, 0.0, 0.0, 1.0, 0.0, running
fx_exhaustLight_blue = 0.0, -7.0, 0.0, 0.0, 0.0, 1.0, active
+
fx_exhaustLight_blue = 0.0, -0.0, 0.0, 0.0, 0.0, 1.0, running
fx_smokeTrail_light = 0.0, -8.0, 0.0, 0.0, 1.0, 0.0, active
+
fx_smokeTrail_light = 0.0, -0.0, 0.0, 0.0, 1.0, 0.0, running
 +
fx_exhaustSparks_flameout = 0.0, -0.0, 0.0, 0.0, 1.0, 0.0, flameout
  
 
// --- Sound FX definition ---
 
// --- Sound FX definition ---
  
sound_vent_medium = activate
+
sound_vent_medium = engage
sound_rocket_hard = active
+
sound_rocket_hard = running
sound_vent_soft = deactivate
+
sound_vent_soft = disengage
 +
sound_explosion_low = flameout
  
 
// --- editor parameters ---
 
// --- editor parameters ---
cost = 850
+
mass = 1.5
category = 0
+
dragModelType = default
 +
maximum_drag = 0.2
 +
minimum_drag = 0.2
 +
angularDrag = 2
 +
crashTolerance = 20
 +
maxTemp = 3600
 +
 
 +
 
 +
TechRequired = hypersonicFlight
 +
entryCost = 42000
 +
cost = 3850
 +
category = Propulsion
 
subcategory = 0
 
subcategory = 0
 
title = Toroidal Aerospike Rocket
 
title = Toroidal Aerospike Rocket
 
manufacturer = C7 Aerospace Division.
 
manufacturer = C7 Aerospace Division.
description = Toroidal Aerospike engines feature a heavy spiked nozzle. The engine makes up for this with an efficient burning of fuel at all altitudes.
+
description = The Toroidal Aerospike is a huge breakthrough from C7 Aerospace. While heavier than previous models, with its heavy-duty exhaust nozzle, the Aerospike makes up for it with an efficient burning of fuel at all altitudes.
  
 
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
 
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
attachRules = 1,0,1,1,0
+
attachRules = 1,0,1,0,0
 
 
// --- standard part parameters ---
 
mass = 1
 
dragModelType = default
 
maximum_drag = 0.2
 
minimum_drag = 0.2
 
angularDrag = 2
 
crashTolerance = 20
 
maxTemp = 3600
 
 
 
// --- liquid engine parameters ---
 
 
 
maxThrust = 250
 
minThrust = 0
 
heatProduction = 550
 
Isp = 390
 
vacIsp = 390
 
 
 
thrustVectoringCapable = false
 
  
 +
MODULE
 +
{
 +
name = ModuleEngines
 +
thrustVectorTransformName = thrustTransform
 +
exhaustDamage = True
 +
ignitionThreshold = 0.1
 +
minThrust = 0
 +
maxThrust = 175
 +
heatProduction = 550
 +
fxOffset = 0, 0, 0.25
 +
PROPELLANT
 +
{
 +
name = LiquidFuel
 +
        ratio = 0.9
 +
DrawGauge = True
 +
}
 +
PROPELLANT
 +
{
 +
name = Oxidizer
 +
ratio = 1.1
 +
}
 +
atmosphereCurve
 +
{
 +
  key = 0 390
 +
  key = 1 388
 +
}
 +
 +
}
  
</pre>
+
MODULE
 +
{
 +
      name = ModuleAnimateHeat
 +
}
 +
MODULE
 +
{
 +
name = ModuleAlternator
 +
RESOURCE
 +
{
 +
name = ElectricCharge
 +
rate = 5.0
 +
}
 +
}
 +
}
 +
}}

Revision as of 13:28, 24 January 2014

This is the configuration file for Toroidal Aerospike Rocket.
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 = toroidalAerospike
module = Part
author = C. Jenkins

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

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

node_stack_top = 0.0, 0.0, 0.0, 0.0, 1.0, 0.0



// --- FX definitions ---

fx_exhaustFlame_blue = 0.0, -0.0, 0.0, 0.0, 1.0, 0.0, running
fx_exhaustLight_blue = 0.0, -0.0, 0.0, 0.0, 0.0, 1.0, running
fx_smokeTrail_light = 0.0, -0.0, 0.0, 0.0, 1.0, 0.0, running
fx_exhaustSparks_flameout = 0.0, -0.0, 0.0, 0.0, 1.0, 0.0, flameout

// --- Sound FX definition ---

sound_vent_medium = engage
sound_rocket_hard = running
sound_vent_soft = disengage
sound_explosion_low = flameout

// --- editor parameters ---
mass = 1.5
dragModelType = default 
maximum_drag = 0.2 
minimum_drag = 0.2 
angularDrag = 2 
crashTolerance = 20 
maxTemp = 3600


TechRequired = hypersonicFlight
entryCost = 42000
cost = 3850
category = Propulsion
subcategory = 0
title = Toroidal Aerospike Rocket
manufacturer = C7 Aerospace Division.
description = The Toroidal Aerospike is a huge breakthrough from C7 Aerospace. While heavier than previous models, with its heavy-duty exhaust nozzle, the Aerospike makes up for it with an efficient burning of fuel at all altitudes.

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

MODULE
{
	name = ModuleEngines
	thrustVectorTransformName = thrustTransform
	exhaustDamage = True
	ignitionThreshold = 0.1
	minThrust = 0
	maxThrust = 175
	heatProduction = 550
	fxOffset = 0, 0, 0.25
	PROPELLANT
	{
	 	name = LiquidFuel
        ratio = 0.9
		DrawGauge = True
	}
	PROPELLANT
	{
	 name = Oxidizer
	 ratio = 1.1
	}
	atmosphereCurve
 	{
   	 key = 0 390
  	 key = 1 388
 	}
	
}

MODULE
{
      name = ModuleAnimateHeat
}
MODULE
{
	name = ModuleAlternator	
	RESOURCE
	{
		name = ElectricCharge
		rate = 5.0
	}
}
}