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

From Kerbal Space Program Wiki
Jump to: navigation, search
(Updated for 0.23)
m (Update config)
 
(8 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Part config|Toroidal Aerospike Rocket|2=PART
+
{{Part config|T-1 Toroidal Aerospike "Dart" Liquid Fuel Engine|2=PART
 
{
 
{
// this is a sample config file, for determining a good file format for defining part parameters
+
name = toroidalAerospike
// 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
+
mesh = AeroSpike.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_top = 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.
+
node_stack_bottom = 0.0, -0.9, 0.0, 0.0, -1.0, 0.0
// conversely, if a keyword is left unassigned (as in not in the file), it will be initialized with it's default value
+
node_attach = 0.0, 0.0, 0.00, 0.0, 1.0, 0.0, 0
// 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)
+
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
// --- general parameters ---
+
fx_exhaustSparks_flameout = 0.0, -0.0, 0.0, 0.0, 1.0, 0.0, flameout
name = toroidalAerospike
+
sound_vent_medium = engage
module = Part
+
sound_rocket_hard = running
author = C. Jenkins
+
sound_vent_soft = disengage
 
+
sound_explosion_low = flameout
// --- asset parameters ---
+
mass = 1.0
mesh = model.mu
+
//heatConductivity = 0.03
scale = 1.0
+
skinInternalConductionMult = 4.0
 
+
emissiveConstant = 0.8 // engine nozzles are good at radiating.
// --- node definitions ---
+
dragModelType = default
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
+
maximum_drag = 0.2
 
+
minimum_drag = 0.2
node_stack_top = 0.0, 0.0, 0.0, 0.0, 1.0, 0.0
+
angularDrag = 2
 
+
crashTolerance = 20
 
+
maxTemp = 2000 // = 3600
 
+
TechRequired = hypersonicFlight
// --- FX definitions ---
+
entryCost = 24500
 
+
cost = 3850
fx_exhaustFlame_blue = 0.0, -0.0, 0.0, 0.0, 1.0, 0.0, running
+
category = Engine
fx_exhaustLight_blue = 0.0, -0.0, 0.0, 0.0, 0.0, 1.0, running
+
subcategory = 0
fx_smokeTrail_light = 0.0, -0.0, 0.0, 0.0, 1.0, 0.0, running
+
title = #autoLOC_500424 //#autoLOC_500424 = T-1 Toroidal Aerospike "Dart" Liquid Fuel Engine
fx_exhaustSparks_flameout = 0.0, -0.0, 0.0, 0.0, 1.0, 0.0, flameout
+
manufacturer = #autoLOC_501624 //#autoLOC_501624 = C7 Aerospace Division
 
+
description = #autoLOC_500425 //#autoLOC_500425 = 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.
// --- Sound FX definition ---
+
attachRules = 1,1,1,0,0
 
+
bulkheadProfiles = srf, size1
sound_vent_medium = engage
+
tags = #autoLOC_500426 //#autoLOC_500426 = (dart orbit propuls rocket sustain
sound_rocket_hard = running
+
MODULE
sound_vent_soft = disengage
+
{
sound_explosion_low = flameout
+
name = ModuleEngines
 
+
thrustVectorTransformName = thrustTransform
// --- editor parameters ---
+
exhaustDamage = True
mass = 1.5
+
ignitionThreshold = 0.1
dragModelType = default  
+
minThrust = 0
maximum_drag = 0.2  
+
maxThrust = 180
minimum_drag = 0.2  
+
heatProduction = 110
angularDrag = 2  
+
fxOffset = 0, 0, 0
crashTolerance = 20  
+
EngineType = LiquidFuel
maxTemp = 3600
+
exhaustDamageDistanceOffset = 0.25
 
+
PROPELLANT
 
+
{
TechRequired = hypersonicFlight
+
name = LiquidFuel
entryCost = 42000
+
ratio = 0.9
cost = 3850
+
DrawGauge = True
category = Propulsion
+
}
subcategory = 0
+
PROPELLANT
title = Toroidal Aerospike Rocket
+
{
manufacturer = C7 Aerospace Division.
+
name = Oxidizer
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.
+
ratio = 1.1
 
+
}
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
+
atmosphereCurve
attachRules = 1,0,1,0,0
+
{
 
+
key = 0 340 -50 -73.71224
MODULE
+
key = 1 290 -21.23404 -21.23404
{
+
key = 5 230 -10.54119 -10.54119
name = ModuleEngines
+
key = 10 170 -13.59091 -13.59091
thrustVectorTransformName = thrustTransform
+
key = 20 0.001
exhaustDamage = True
+
}
ignitionThreshold = 0.1
+
}
minThrust = 0
+
//MODULE
maxThrust = 175
+
//{
heatProduction = 550
+
// name = ModuleAnimateHeat
fxOffset = 0, 0, 0.25
+
// ThermalAnim = Aerospike_Heat
PROPELLANT
+
// useTemp = true // Do we use the original temperature-based lerp, or do we let another module set us?
 +
// useSkinTemp = false // If useTemp is true, do we use Skin or Internal temp?
 +
//}
 +
MODULE
 +
{
 +
name = FXModuleAnimateThrottle
 +
animationName = Aerospike_Heat
 +
responseSpeed = 0.001
 +
dependOnEngineState = True
 +
dependOnThrottle = True
 +
}
 +
MODULE
 +
{
 +
name = ModuleAlternator
 +
RESOURCE
 +
{
 +
name = ElectricCharge
 +
rate = 5.0
 +
}
 +
}
 +
MODULE
 +
{
 +
name = ModuleJettison
 +
jettisonName = Fairing
 +
bottomNodeName = bottom
 +
isFairing = True
 +
jettisonedObjectMass = 0.1
 +
jettisonForce = 5
 +
jettisonDirection = 0 0 1
 +
}
 +
MODULE
 
{
 
{
name = LiquidFuel
+
name = ModuleTestSubject
        ratio = 0.9
+
useStaging = True
DrawGauge = True
+
useEvent = True
 +
situationMask = 127
 +
CONSTRAINT
 +
{
 +
type = REPEATABILITY
 +
value = ALWAYS
 +
prestige = Trivial
 +
}
 +
CONSTRAINT
 +
{
 +
type = REPEATABILITY
 +
value = BODYANDSITUATION
 +
prestige = Significant
 +
}
 +
CONSTRAINT
 +
{
 +
type = REPEATABILITY
 +
value = ONCEPERPART
 +
prestige = Exceptional
 +
}
 +
CONSTRAINT
 +
{
 +
type = ALTITUDEENV
 +
test = GT
 +
value = 4000
 +
prestige = Trivial
 +
}
 +
CONSTRAINT
 +
{
 +
type = ALTITUDEENV
 +
test = LT
 +
value = 8000
 +
prestige = Trivial
 +
}
 +
CONSTRAINT
 +
{
 +
type = ALTITUDEENV
 +
test = GT
 +
value = 2000
 +
prestige = Significant
 +
}
 +
CONSTRAINT
 +
{
 +
type = ALTITUDEENV
 +
test = LT
 +
value = 4000
 +
prestige = Significant
 +
}
 +
CONSTRAINT
 +
{
 +
type = ALTITUDEENV
 +
test = GT
 +
value = 1000
 +
prestige = Exceptional
 +
}
 +
CONSTRAINT
 +
{
 +
type = ALTITUDEENV
 +
test = LT
 +
value = 2000
 +
prestige = Exceptional
 +
}
 +
CONSTRAINT
 +
{
 +
type = ALTITUDE
 +
test = GT
 +
value = 0 // this just registers altitude as something to care about
 +
situationMask = 8
 +
}
 +
CONSTRAINT
 +
{
 +
type = ALTITUDE
 +
test = LT
 +
value = 300000
 +
situationMask = 16
 +
body = _NotSun
 +
}
 +
CONSTRAINT
 +
{
 +
type = ALTITUDE
 +
test = LT
 +
value = 600000
 +
situationMask = 32
 +
body = _NotSun
 +
}
 +
CONSTRAINT
 +
{
 +
type = SPEED
 +
test = GT
 +
value = 0
 +
situationMask = 8
 +
prestige = Trivial
 +
}
 +
CONSTRAINT
 +
{
 +
type = SPEED
 +
test = LT
 +
value = 600
 +
situationMask = 8
 +
prestige = Trivial
 +
}
 +
CONSTRAINT
 +
{
 +
type = SPEED
 +
test = GT
 +
value = 300
 +
situationMask = 8
 +
prestige = Significant
 +
}
 +
CONSTRAINT
 +
{
 +
type = SPEED
 +
test = LT
 +
value = 1200
 +
situationMask = 8
 +
prestige = Significant
 +
}
 +
CONSTRAINT
 +
{
 +
type = SPEED
 +
test = GT
 +
value = 600
 +
situationMask = 8
 +
prestige = Exceptional
 +
}
 +
CONSTRAINT
 +
{
 +
type = SPEED
 +
test = LT
 +
value = 2500
 +
situationMask = 8
 +
prestige = Exceptional
 +
}
 +
CONSTRAINT
 +
{
 +
type = SPEEDENV
 +
test = LT
 +
value = 200
 +
prestige = Trivial
 +
}
 +
CONSTRAINT
 +
{
 +
type = SPEEDENV
 +
test = GT
 +
value = 100
 +
prestige = Trivial
 +
}
 +
CONSTRAINT
 +
{
 +
type = SPEEDENV
 +
test = LT
 +
value = 100
 +
prestige = Significant
 +
}
 +
CONSTRAINT
 +
{
 +
type = SPEEDENV
 +
test = GT
 +
value = 50
 +
prestige = Significant
 +
}
 +
CONSTRAINT
 +
{
 +
type = SPEEDENV
 +
test = LT
 +
value = 50
 +
prestige = Exceptional
 +
}
 +
CONSTRAINT
 +
{
 +
type = SPEEDENV
 +
test = GT
 +
value = 20
 +
prestige = Exceptional
 +
}
 
}
 
}
PROPELLANT
+
MODULE
 
{
 
{
name = Oxidizer
+
name = ModuleSurfaceFX
ratio = 1.1
+
thrustProviderModuleIndex = 0
 +
fxMax = 0.6
 +
maxDistance = 40
 +
falloff = 1.7
 +
thrustTransformName = thrustTransform
 
}
 
}
atmosphereCurve
+
MODULE
{
 
  key = 0 390
 
  key = 1 388
 
}
 
 
}
 
 
 
MODULE
 
{
 
      name = ModuleAnimateHeat
 
}
 
MODULE
 
{
 
name = ModuleAlternator
 
RESOURCE
 
 
{
 
{
name = ElectricCharge
+
name = ModuleCargoPart
rate = 5.0
+
packedVolume = 1600
 
}
 
}
}
 
 
}
 
}
 
}}
 
}}

Latest revision as of 16:44, 10 October 2024

This is the configuration file for T-1 Toroidal Aerospike "Dart" Liquid Fuel Engine.
PART
{
	name = toroidalAerospike
	module = Part
	author = Porkjet
	mesh = AeroSpike.mu
	rescaleFactor = 1
	node_stack_top = 0.0, 0.0, 0.0, 0.0, 1.0, 0.0
	node_stack_bottom = 0.0, -0.9, 0.0, 0.0, -1.0, 0.0
	node_attach = 0.0, 0.0, 0.00, 0.0, 1.0, 0.0, 0
	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_vent_medium = engage
	sound_rocket_hard = running
	sound_vent_soft = disengage
	sound_explosion_low = flameout
	mass = 1.0
	//heatConductivity = 0.03
	skinInternalConductionMult = 4.0
	emissiveConstant = 0.8 // engine nozzles are good at radiating.
	dragModelType = default
	maximum_drag = 0.2
	minimum_drag = 0.2
	angularDrag = 2
	crashTolerance = 20
	maxTemp = 2000 // = 3600
	TechRequired = hypersonicFlight
	entryCost = 24500
	cost = 3850
	category = Engine
	subcategory = 0
	title = #autoLOC_500424 //#autoLOC_500424 = T-1 Toroidal Aerospike "Dart" Liquid Fuel Engine
	manufacturer = #autoLOC_501624 //#autoLOC_501624 = C7 Aerospace Division
	description = #autoLOC_500425 //#autoLOC_500425 = 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.
	attachRules = 1,1,1,0,0
	bulkheadProfiles = srf, size1
	tags = #autoLOC_500426 //#autoLOC_500426 = (dart orbit propuls rocket sustain
	MODULE
	{
		name = ModuleEngines
		thrustVectorTransformName = thrustTransform
		exhaustDamage = True
		ignitionThreshold = 0.1
		minThrust = 0
		maxThrust = 180
		heatProduction = 110
		fxOffset = 0, 0, 0
		EngineType = LiquidFuel
		exhaustDamageDistanceOffset = 0.25
		PROPELLANT
		{
			name = LiquidFuel
			ratio = 0.9
			DrawGauge = True
		}
		PROPELLANT
		{
			name = Oxidizer
			ratio = 1.1
		}
		atmosphereCurve
		{
			key = 0 340 -50 -73.71224
			key = 1 290 -21.23404 -21.23404
			key = 5 230 -10.54119 -10.54119
			key = 10 170 -13.59091 -13.59091
			key = 20 0.001
		}
	}
	//MODULE
	//{
	//	name = ModuleAnimateHeat
	//	ThermalAnim = Aerospike_Heat
	//	useTemp = true		// Do we use the original temperature-based lerp, or do we let another module set us?
	//	useSkinTemp = false	// If useTemp is true, do we use Skin or Internal temp?
	//}
	MODULE
	{
		name = FXModuleAnimateThrottle
		animationName = Aerospike_Heat
		responseSpeed = 0.001
		dependOnEngineState = True
		dependOnThrottle = True
	}
	MODULE
	{
		name = ModuleAlternator
		RESOURCE
		{
			name = ElectricCharge
			rate = 5.0
		}
	}
	MODULE
	{
		name = ModuleJettison
		jettisonName = Fairing
		bottomNodeName = bottom
		isFairing = True
		jettisonedObjectMass = 0.1
		jettisonForce = 5
		jettisonDirection = 0 0 1
	}
	MODULE
	{
		name = ModuleTestSubject
		useStaging = True
		useEvent = True
		situationMask = 127
		CONSTRAINT
		{
			type = REPEATABILITY
			value = ALWAYS
			prestige = Trivial
		}
		CONSTRAINT
		{
			type = REPEATABILITY
			value = BODYANDSITUATION
			prestige = Significant
		}
		CONSTRAINT
		{
			type = REPEATABILITY
			value = ONCEPERPART
			prestige = Exceptional
		}
		CONSTRAINT
		{
			type = ALTITUDEENV
			test = GT
			value = 4000
			prestige = Trivial
		}
		CONSTRAINT
		{
			type = ALTITUDEENV
			test = LT
			value = 8000
			prestige = Trivial
		}
		CONSTRAINT
		{
			type = ALTITUDEENV
			test = GT
			value = 2000
			prestige = Significant
		}
		CONSTRAINT
		{
			type = ALTITUDEENV
			test = LT
			value = 4000
			prestige = Significant
		}
		CONSTRAINT
		{
			type = ALTITUDEENV
			test = GT
			value = 1000
			prestige = Exceptional
		}
		CONSTRAINT
		{
			type = ALTITUDEENV
			test = LT
			value = 2000
			prestige = Exceptional
		}
		CONSTRAINT
		{
			type = ALTITUDE
			test = GT
			value = 0 // this just registers altitude as something to care about
			situationMask = 8
		}
		CONSTRAINT
		{
			type = ALTITUDE
			test = LT
			value = 300000
			situationMask = 16
			body = _NotSun
		}
		CONSTRAINT
		{
			type = ALTITUDE
			test = LT
			value = 600000
			situationMask = 32
			body = _NotSun
		}
		CONSTRAINT
		{
			type = SPEED
			test = GT
			value = 0
			situationMask = 8
			prestige = Trivial
		}
		CONSTRAINT
		{
			type = SPEED
			test = LT
			value = 600
			situationMask = 8
			prestige = Trivial
		}
		CONSTRAINT
		{
			type = SPEED
			test = GT
			value = 300
			situationMask = 8
			prestige = Significant
		}
		CONSTRAINT
		{
			type = SPEED
			test = LT
			value = 1200
			situationMask = 8
			prestige = Significant
		}
		CONSTRAINT
		{
			type = SPEED
			test = GT
			value = 600
			situationMask = 8
			prestige = Exceptional
		}
		CONSTRAINT
		{
			type = SPEED
			test = LT
			value = 2500
			situationMask = 8
			prestige = Exceptional
		}
		CONSTRAINT
		{
			type = SPEEDENV
			test = LT
			value = 200
			prestige = Trivial
		}
		CONSTRAINT
		{
			type = SPEEDENV
			test = GT
			value = 100
			prestige = Trivial
		}
		CONSTRAINT
		{
			type = SPEEDENV
			test = LT
			value = 100
			prestige = Significant
		}
		CONSTRAINT
		{
			type = SPEEDENV
			test = GT
			value = 50
			prestige = Significant
		}
		CONSTRAINT
		{
			type = SPEEDENV
			test = LT
			value = 50
			prestige = Exceptional
		}
		CONSTRAINT
		{
			type = SPEEDENV
			test = GT
			value = 20
			prestige = Exceptional
		}
	}
	MODULE
	{
		name = ModuleSurfaceFX
		thrustProviderModuleIndex = 0
		fxMax = 0.6
		maxDistance = 40
		falloff = 1.7
		thrustTransformName = thrustTransform
	}
	MODULE
	{
		name = ModuleCargoPart
		packedVolume = 1600
	}
}