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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (*update to 0.90.0;)
m (*update to 1.0;)
Line 1: Line 1:
{{Part config|R.A.P.I.E.R. Engine|2=PART
+
{{Part config|CR-7 R.A.P.I.E.R. Engine|2=PART
 
{
 
{
// this is a sample config file, for determining a good file format for defining part parameters
+
name = RAPIER
// comment line - ignored by cfg parser
+
module = Part
// empty lines, or lines without a '=' sign are also ignored
+
author = C. Jenkins
// all other lines are split at the '=' sign, and the left operand is used to know what parameter we are setting
+
mesh = rapier.mu
// diferent parameters require data in different formats (see docs), and each module has it's own parameters (again, see docs)
+
scale = 1.0
// 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.741545,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.2048244, 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
+
CoMOffset = 0.0, 2.6, 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)
+
mass = 2.0
 
+
// heatConductivity = 0.06 // half default
 
+
emissiveConstant = 0.8 // engine nozzles are good at radiating.
// --- general parameters ---
+
dragModelType = default
name = RAPIER
+
maximum_drag = 0.2
module = Part
+
minimum_drag = 0.2
author = C. Jenkins
+
angularDrag = 2
 
+
crashTolerance = 20
// --- asset parameters ---
+
maxTemp = 2000 // = 3600
mesh = rapier.mu
+
TechRequired = aerospaceTech
scale = 1.0
+
entryCost = 35000
 
+
cost = 6000
// --- node definitions ---
+
category = Engine
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
+
subcategory = 0
 
+
title = CR-7 R.A.P.I.E.R. Engine
node_stack_top = 0.0,0.741545,0.0 , 0.0, 1.0, 0.0
+
manufacturer = C7 Aerospace Division and Rockomax Conglomerate
node_stack_bottom = 0.0,-0.2048244, 0.0, 0.0, 1.0, 0.0
+
description = The R.A.P.I.E.R. (Reactive Alternate-Propellant Intelligent Engine for Rockets) is a joint venture between C7 Aerospace and the Rockomax Conglomerate. Designed to fill a gap in the design requirements for sustainable single stage to orbit aircraft, this engine combines the best of rocket and air-breathing thrust technology.
 
+
attachRules = 1,0,1,1,0
 
+
bulkheadProfiles = size1
// --- editor parameters ---
+
EFFECTS
mass = 1.2
+
{
dragModelType = default  
+
running_closed
maximum_drag = 0.2  
+
{
minimum_drag = 0.2  
+
AUDIO
angularDrag = 2  
+
{
crashTolerance = 20  
+
channel = Ship
maxTemp = 3600
+
clip = sound_rocket_spurts
 
+
volume = 0.0 0.0
 
+
volume = 1.0 1.0
TechRequired = hypersonicFlight
+
pitch = 0.0 0.2
entryCost = 35000
+
pitch = 1.0 1.0
cost = 3600
+
loop = true
category = Engine
+
}
subcategory = 0
+
PREFAB_PARTICLE
title = R.A.P.I.E.R. Engine
+
{
manufacturer = C7 Aerospace Division and Rockomax Conglomerate
+
prefabName = fx_smokeTrail_aeroSpike
description = The R.A.P.I.E.R. (Reactive Alternate-Propellant Intelligent Engine for Rockets) is a joint venture between C7 Aerospace and the Rockomax Conglomerate. Designed to fill a gap in the design requirements for sustainable single stage to orbit aircraft, this engine combines the best of rocket and air-breathing thrust technology.  
+
transformName = smokePoint
 
+
emission = 0.0 0.0
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
+
emission = 0.05 0.0
attachRules = 1,0,1,1,0
+
emission = 0.075 0.25
 
+
emission = 1.0 1.25
 
+
speed = 0.0 0.25
EFFECTS
+
speed = 1.0 1.0
{
+
localOffset = 0, 0, 1
  running_closed
+
}
  {
+
MODEL_MULTI_PARTICLE
    AUDIO
+
{
    {
+
modelName = Squad/FX/shockExhaust_blue_small
      channel = Ship
+
transformName = thrustTransform
      clip = sound_rocket_spurts
+
emission = 0.0 0.0
      volume = 0.0 0.0
+
emission = 0.05 0.0
      volume = 1.0 1.0
+
emission = 0.075 0.25
      pitch = 0.0 0.2
+
emission = 1.0 1.25
      pitch = 1.0 1.0
+
speed = 0.0 0.5
      loop = true
+
speed = 1.0 1.2
    }
+
}
    PREFAB_PARTICLE
+
}
    {
+
power_open
      prefabName = fx_smokeTrail_aeroSpike
+
{
      transformName = smokePoint
+
AUDIO
      emission = 0.0 0.0
+
{
      emission = 0.05 0.0
+
channel = Ship
      emission = 0.075 0.25
+
clip = sound_rocket_spurts
      emission = 1.0 1.25
+
volume = 0.0 0.0
      speed = 0.0 0.25
+
volume = 0.05 0.0
      speed = 1.0 1.0
+
volume = 1.0 1.0
      localOffset = 0, 0, 1
+
pitch = 0.0 0.2
    }
+
pitch = 1.0 1.0
    MODEL_MULTI_PARTICLE
+
loop = true
    {
+
}
      modelName = Squad/FX/shockExhaust_blue_small
+
MODEL_MULTI_PARTICLE
      transformName = thrustTransform
+
{
      emission = 0.0 0.0
+
modelName = Squad/FX/shockExhaust_red_small
      emission = 0.05 0.0
+
transformName = thrustTransform
      emission = 0.075 0.25
+
emission = 0.0 0.0
      emission = 1.0 1.25
+
emission = 0.05 0.0
      speed = 0.0 0.5
+
emission = 0.075 0.25
      speed = 1.0 1.2
+
emission = 1.0 1.25
    }
+
speed = 0.0 0.5
  }
+
speed = 1.0 1.2
  power_open
+
}
  {
+
}
    AUDIO
+
running_open
    {
+
{
      channel = Ship
+
AUDIO
      clip = sound_rocket_spurts
+
{
      volume = 0.0 0.0
+
channel = Ship
      volume = 1.0 1.0
+
clip = sound_jet_deep
      pitch = 0.0 0.2
+
volume = 0.0 0.0
      pitch = 1.0 1.0
+
volume = 0.05 0.6
      loop = true
+
volume = 1.0 1.0
    }
+
pitch = 0.0 0.7
    MODEL_MULTI_PARTICLE
+
pitch = 1.0 1.4
    {
+
loop = true
      modelName = Squad/FX/shockExhaust_red_small
+
}
      transformName = thrustTransform
+
PREFAB_PARTICLE
      emission = 0.0 0.0
+
{
      emission = 0.05 0.0
+
prefabName = fx_smokeTrail_aeroSpike
      emission = 0.075 0.25
+
transformName = smokePoint
      emission = 1.0 1.25
+
emission = 0.0 0.0
      speed = 0.0 0.5
+
emission = 0.05 0.0
      speed = 1.0 1.2
+
emission = 0.075 0.25
    }
+
emission = 1.0 1.25
  }
+
speed = 0.0 0.25
  running_open
+
speed = 1.0 1.0
  {
+
localOffset = 0, 0, 1
    AUDIO
+
}
    {
+
}
      channel = Ship
+
engage
      clip = sound_jet_deep
+
{
      volume = 0.0 0.0
+
AUDIO
      volume = 1.0 1.0
+
{
      pitch = 0.0 0.2
+
channel = Ship
      pitch = 1.0 1.0
+
clip = sound_vent_soft
      loop = true
+
volume = 1.0
    }
+
pitch = 2.0
    PREFAB_PARTICLE
+
loop = false
    {
+
}
      prefabName = fx_smokeTrail_aeroSpike
+
}
      transformName = smokePoint
+
flameout
      emission = 0.0 0.0
+
{
      emission = 0.05 0.0
+
PREFAB_PARTICLE
      emission = 0.075 0.25
+
{
      emission = 1.0 1.25
+
prefabName = fx_exhaustSparks_flameout_2
      speed = 0.0 0.25
+
transformName = smokePoint
      speed = 1.0 1.0
+
oneShot = true
      localOffset = 0, 0, 1
+
}
  }
+
AUDIO
  }
+
{
  engage
+
channel = Ship
  {
+
clip = sound_explosion_low
    AUDIO
+
volume = 1.0
    {
+
pitch = 2.0
      channel = Ship
+
loop = false
      clip = sound_vent_soft
+
}
      volume = 1.0
+
}
      pitch = 2.0
+
}
      loop = false
+
MODULE
    }
+
{
  }
+
name = MultiModeEngine
  flameout
+
primaryEngineID = AirBreathing
  {
+
secondaryEngineID = ClosedCycle
    PREFAB_PARTICLE
+
}
    {
+
MODULE
      prefabName = fx_exhaustSparks_flameout_2
+
{
      transformName = smokePoint
+
name = ModuleEnginesFX
      oneShot = true
+
engineID = AirBreathing
    }
+
powerEffectName = power_open
    AUDIO
+
//runningEffectName = running_open
    {
+
thrustVectorTransformName = thrustTransform
      channel = Ship
+
exhaustDamage = True
      clip = sound_explosion_low
+
ignitionThreshold = 0.33
      volume = 1.0
+
minThrust = 0
      pitch = 2.0
+
maxThrust = 140
      loop = false
+
heatProduction = 60
    }
+
useEngineResponseTime = True
  }
+
engineAccelerationSpeed = 0.2
}
+
engineDecelerationSpeed = 0.35
 
+
useVelocityCurve = False
MODULE
+
spoolEffectName = running_open
{
+
engineSpoolIdle = 0.05
name = MultiModeEngine
+
engineSpoolTime = 2.0
primaryEngineID = AirBreathing
+
EngineType = Turbine
secondaryEngineID = ClosedCycle
+
PROPELLANT
}
+
{
MODULE
+
name = LiquidFuel
{
+
resourceFlowMode = STAGE_PRIORITY_FLOW
name = ModuleEnginesFX
+
ratio = 1
engineID = AirBreathing
+
DrawGauge = True
directThrottleEffectName = power_open
+
}
runningEffectName = running_open
+
PROPELLANT
thrustVectorTransformName = thrustTransform
+
{
exhaustDamage = True
+
name = IntakeAir
ignitionThreshold = 0.33
+
ignoreForIsp = True
minThrust = 0
+
ratio = 12
maxThrust = 190
+
}
heatProduction = 400
+
atmosphereCurve
useEngineResponseTime = True
+
{
engineAccelerationSpeed = 0.2
+
key = 0 6400 0 0
engineDecelerationSpeed = 0.35
+
}
useVelocityCurve = True
+
// Jet params
PROPELLANT
+
atmChangeFlow = True
 +
useVelCurve = True
 +
useAtmCurve = True
 +
// no mach limit
 +
velCurve
 +
{
 +
key = 0 1 0 0.08333334
 +
key = 0.2 0.98 0.42074 0.42074
 +
key = 0.7 1.8 2.290406 2.290406
 +
key = 1.4 4.00 3.887193 3.887193
 +
key = 3.75 8.5 0 0
 +
key = 4.5 7.3 -2.831749 -2.831749
 +
key = 5.5 3 -5.260566 -5.260566
 +
key = 6 0 -0.02420209 0
 +
}
 +
atmCurve
 +
{
 +
// higher thrust at altitude than even TRJ
 +
key = 0 0 0 0
 +
key = 0.018 0.09 7.914787 7.914787
 +
key = 0.08 0.3 1.051923 1.051923
 +
key = 0.35 0.5 0.3927226 0.3927226
 +
key = 1 1 1.055097 0
 +
}
 +
}
 +
MODULE
 +
{
 +
name = ModuleEnginesFX
 +
engineID = ClosedCycle
 +
runningEffectName = running_closed
 +
thrustVectorTransformName = thrustTransform
 +
exhaustDamage = True
 +
ignitionThreshold = 0.1
 +
minThrust = 0
 +
maxThrust = 162.3
 +
heatProduction = 120
 +
fxOffset = 0, 0, 0.25
 +
EngineType = LiquidFuel
 +
PROPELLANT
 +
{
 +
name = LiquidFuel
 +
resourceFlowMode = STAGE_PRIORITY_FLOW
 +
ratio = 0.9
 +
DrawGauge = True
 +
}
 +
PROPELLANT
 +
{
 +
name = Oxidizer
 +
resourceFlowMode = STAGE_PRIORITY_FLOW
 +
ratio = 1.1
 +
}
 +
atmosphereCurve
 +
{
 +
key = 0 305
 +
key = 1 275
 +
key = 9 0.001
 +
}
 +
}
 +
MODULE
 
{
 
{
name = LiquidFuel
+
name = ModuleAnimateHeat
ratio = 1
+
ThermalAnim = HeatAnimationEmissiveRapier
DrawGauge = True
 
 
}
 
}
PROPELLANT
+
MODULE
 
{
 
{
name = IntakeAir
+
name = ModuleGimbal
ratio = 15
+
gimbalTransformName = obj_gimbal
 +
gimbalRange = 3
 
}
 
}
atmosphereCurve
+
MODULE
{
 
key = 0 1200
 
key = 0.3 2500
 
key = 1 800
 
}
 
velocityCurve
 
 
{
 
{
key = 0 0.5 0 0
+
name = ModuleTestSubject
key = 1000 1 0 0
+
environments = 15
key = 2000 0.5 0 0
+
useStaging = True
key = 2200 0 0 0
+
useEvent = True
 
}
 
}
+
MODULE
}
 
MODULE
 
{
 
name = ModuleEnginesFX
 
engineID = ClosedCycle
 
runningEffectName = running_closed
 
thrustVectorTransformName = thrustTransform
 
exhaustDamage = True
 
ignitionThreshold = 0.1
 
minThrust = 0
 
maxThrust = 175
 
heatProduction = 650
 
fxOffset = 0, 0, 0.25
 
PROPELLANT
 
 
{
 
{
name = LiquidFuel
+
name = ModuleSurfaceFX
        ratio = 0.9
+
thrustProviderModuleIndex = 1
DrawGauge = True
+
fxMax = 0.5
 +
maxDistance = 20
 +
falloff = 2
 +
thrustTransformName = thrustTransform
 
}
 
}
PROPELLANT
+
MODULE
 
{
 
{
name = Oxidizer
+
name = ModuleSurfaceFX
ratio = 1.1
+
thrustProviderModuleIndex = 2
 +
fxMax = 0.6
 +
maxDistance = 30
 +
falloff = 1.6
 +
thrustTransformName = thrustTransform
 
}
 
}
atmosphereCurve
 
{
 
  key = 0 360
 
  key = 1 320
 
}
 
 
}
 
MODULE
 
{
 
      name = ModuleAnimateHeat
 
      ThermalAnim = HeatAnimationEmissiveRapier
 
 
}
 
}
  
MODULE
 
{
 
name = ModuleGimbal
 
gimbalTransformName = obj_gimbal
 
gimbalRange = 3
 
}
 
 
MODULE
 
{
 
name = ModuleTestSubject
 
 
// nowhere: 0, srf: 1, ocean: 2, atmo: 4, space: 8
 
environments = 15
 
 
useStaging = True
 
useEvent = True
 
}
 
 
}
 
 
}}
 
}}

Revision as of 17:03, 29 April 2015

This is the configuration file for CR-7 R.A.P.I.E.R. Engine.
PART
{
	name = RAPIER
	module = Part
	author = C. Jenkins
	mesh = rapier.mu
	scale = 1.0
	node_stack_top = 0.0,0.741545,0.0 , 0.0, 1.0, 0.0
	node_stack_bottom = 0.0,-0.2048244, 0.0, 0.0, -1.0, 0.0
	CoMOffset = 0.0, 2.6, 0.0
	mass = 2.0
	// heatConductivity = 0.06 // half default
	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 = aerospaceTech
	entryCost = 35000
	cost = 6000
	category = Engine
	subcategory = 0
	title = CR-7 R.A.P.I.E.R. Engine
	manufacturer = C7 Aerospace Division and Rockomax Conglomerate
	description = The R.A.P.I.E.R. (Reactive Alternate-Propellant Intelligent Engine for Rockets) is a joint venture between C7 Aerospace and the Rockomax Conglomerate. Designed to fill a gap in the design requirements for sustainable single stage to orbit aircraft, this engine combines the best of rocket and air-breathing thrust technology.
	attachRules = 1,0,1,1,0
	bulkheadProfiles = size1
	EFFECTS
	{
		running_closed
		{
			AUDIO
			{
				channel = Ship
				clip = sound_rocket_spurts
				volume = 0.0 0.0
				volume = 1.0 1.0
				pitch = 0.0 0.2
				pitch = 1.0 1.0
				loop = true
			}
			PREFAB_PARTICLE
			{
				prefabName = fx_smokeTrail_aeroSpike
				transformName = smokePoint
				emission = 0.0 0.0
				emission = 0.05 0.0
				emission = 0.075 0.25
				emission = 1.0 1.25
				speed = 0.0 0.25
				speed = 1.0 1.0
				localOffset = 0, 0, 1
			}
			MODEL_MULTI_PARTICLE
			{
				modelName = Squad/FX/shockExhaust_blue_small
				transformName = thrustTransform
				emission = 0.0 0.0
				emission = 0.05 0.0
				emission = 0.075 0.25
				emission = 1.0 1.25
				speed = 0.0 0.5
				speed = 1.0 1.2
			}
		}
		power_open
		{
			AUDIO
			{
				channel = Ship
				clip = sound_rocket_spurts
				volume = 0.0 0.0
				volume = 0.05 0.0
				volume = 1.0 1.0
				pitch = 0.0 0.2
				pitch = 1.0 1.0
				loop = true
			}
			MODEL_MULTI_PARTICLE
			{
				modelName = Squad/FX/shockExhaust_red_small
				transformName = thrustTransform
				emission = 0.0 0.0
				emission = 0.05 0.0
				emission = 0.075 0.25
				emission = 1.0 1.25
				speed = 0.0 0.5
				speed = 1.0 1.2
			}
		}
		running_open
		{
			AUDIO
			{
				channel = Ship
				clip = sound_jet_deep
				volume = 0.0 0.0
				volume = 0.05 0.6
				volume = 1.0 1.0
				pitch = 0.0 0.7
				pitch = 1.0 1.4
				loop = true
			}
			PREFAB_PARTICLE
			{
				prefabName = fx_smokeTrail_aeroSpike
				transformName = smokePoint
				emission = 0.0 0.0
				emission = 0.05 0.0
				emission = 0.075 0.25
				emission = 1.0 1.25
				speed = 0.0 0.25
				speed = 1.0 1.0
				localOffset = 0, 0, 1
			}
		}
		engage
		{
			AUDIO
			{
				channel = Ship
				clip = sound_vent_soft
				volume = 1.0
				pitch = 2.0
				loop = false
			}
		}
		flameout
		{
			PREFAB_PARTICLE
			{
				prefabName = fx_exhaustSparks_flameout_2
				transformName = smokePoint
				oneShot = true
			}
			AUDIO
			{
				channel = Ship
				clip = sound_explosion_low
				volume = 1.0
				pitch = 2.0
				loop = false
			}
		}
	}
	MODULE
	{
		name = MultiModeEngine
		primaryEngineID = AirBreathing
		secondaryEngineID = ClosedCycle
	}
	MODULE
	{
		name = ModuleEnginesFX
		engineID = AirBreathing
		powerEffectName = power_open
		//runningEffectName = running_open
		thrustVectorTransformName = thrustTransform
		exhaustDamage = True
		ignitionThreshold = 0.33
		minThrust = 0
		maxThrust = 140
		heatProduction = 60
		useEngineResponseTime = True
		engineAccelerationSpeed = 0.2
		engineDecelerationSpeed = 0.35
		useVelocityCurve = False		
		spoolEffectName = running_open
		engineSpoolIdle = 0.05
		engineSpoolTime = 2.0
		EngineType = Turbine
		PROPELLANT
		{
			name = LiquidFuel
			resourceFlowMode = STAGE_PRIORITY_FLOW
			ratio = 1
			DrawGauge = True
		}
		PROPELLANT
		{
			name = IntakeAir
			ignoreForIsp = True
			ratio = 12
		}
		atmosphereCurve
		{
			key = 0 6400 0 0
		}
		// Jet params
		atmChangeFlow = True
		useVelCurve = True
		useAtmCurve = True
		// no mach limit
		velCurve
		{
			key = 0 1 0 0.08333334
			key = 0.2 0.98 0.42074 0.42074
			key = 0.7 1.8 2.290406 2.290406
			key = 1.4 4.00 3.887193 3.887193
			key = 3.75 8.5 0 0
			key = 4.5 7.3 -2.831749 -2.831749
			key = 5.5 3 -5.260566 -5.260566
			key = 6 0 -0.02420209 0
		}
		atmCurve
		{
			// higher thrust at altitude than even TRJ
			key = 0 0 0 0
			key = 0.018 0.09 7.914787 7.914787
			key = 0.08 0.3 1.051923 1.051923
			key = 0.35 0.5 0.3927226 0.3927226
			key = 1 1 1.055097 0
		}
	}
	MODULE
	{
		name = ModuleEnginesFX
		engineID = ClosedCycle
		runningEffectName = running_closed
		thrustVectorTransformName = thrustTransform
		exhaustDamage = True
		ignitionThreshold = 0.1
		minThrust = 0
		maxThrust = 162.3
		heatProduction = 120
		fxOffset = 0, 0, 0.25
		EngineType = LiquidFuel
		PROPELLANT
		{
			name = LiquidFuel
			resourceFlowMode = STAGE_PRIORITY_FLOW
			ratio = 0.9
			DrawGauge = True
		}
		PROPELLANT
		{
			name = Oxidizer
			resourceFlowMode = STAGE_PRIORITY_FLOW
			ratio = 1.1
		}
		atmosphereCurve
		{
			key = 0 305
			key = 1 275
			key = 9 0.001
		}
	}
	MODULE
	{
		name = ModuleAnimateHeat
		ThermalAnim = HeatAnimationEmissiveRapier
	}
	MODULE
	{
		name = ModuleGimbal
		gimbalTransformName = obj_gimbal
		gimbalRange = 3
	}
	MODULE
	{
		name = ModuleTestSubject
		environments = 15
		useStaging = True
		useEvent = True
	}
	MODULE
	{
		name = ModuleSurfaceFX
		thrustProviderModuleIndex = 1
		fxMax = 0.5
		maxDistance = 20
		falloff = 2
		thrustTransformName = thrustTransform
	}
	MODULE
	{
		name = ModuleSurfaceFX
		thrustProviderModuleIndex = 2
		fxMax = 0.6
		maxDistance = 30
		falloff = 1.6
		thrustTransformName = thrustTransform
	}
}