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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (BobBot moved page Parts/Engine/rapierEngine/part.cfg to Parts/Engine/rapierEngine/rapierEngine.cfg without leaving a redirect: Renamed part configuration file after update.)
m (*update to 1.0.4;)
 
(3 intermediate revisions by the same user not shown)
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
 
+
skinInternalConductionMult = 4.0
// --- general parameters ---
+
emissiveConstant = 0.8 // engine nozzles are good at radiating.
name = RAPIER
+
dragModelType = default
module = Part
+
maximum_drag = 0.2
author = C. Jenkins
+
minimum_drag = 0.2
 
+
angularDrag = 2
// --- asset parameters ---
+
crashTolerance = 20
mesh = rapier.mu
+
maxTemp = 2000 // = 3600
scale = 1.0
+
TechRequired = aerospaceTech
 
+
entryCost = 35000
// --- node definitions ---
+
cost = 6000
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
+
category = Engine
 
+
subcategory = 0
node_stack_top = 0.0,0.741545,0.0 , 0.0, 1.0, 0.0
+
title = CR-7 R.A.P.I.E.R. Engine
node_stack_bottom = 0.0,-0.2048244, 0.0, 0.0, 1.0, 0.0
+
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
// --- editor parameters ---
+
bulkheadProfiles = size1
mass = 1.2
+
EFFECTS
dragModelType = default  
+
{
maximum_drag = 0.2  
+
running_closed
minimum_drag = 0.2  
+
{
angularDrag = 2  
+
AUDIO
crashTolerance = 20  
+
{
maxTemp = 3600
+
channel = Ship
 
+
clip = sound_rocket_spurts
 
+
volume = 0.0 0.0
TechRequired = hypersonicFlight
+
volume = 1.0 1.0
entryCost = 35000
+
pitch = 0.0 0.2
cost = 3600
+
pitch = 1.0 1.0
category = Propulsion
+
loop = true
subcategory = 0
+
}
title = R.A.P.I.E.R. Engine
+
PREFAB_PARTICLE
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.  
+
prefabName = fx_smokeTrail_aeroSpike
 
+
transformName = smokePoint
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
+
emission = 0.0 0.0
attachRules = 1,0,1,1,0
+
emission = 0.05 0.0
 
+
emission = 0.075 0.25
 
+
emission = 1.0 1.25
EFFECTS
+
speed = 0.0 0.25
{
+
speed = 1.0 1.0
  running_closed
+
localOffset = 0, 0, 1
  {
+
}
    AUDIO
+
MODEL_MULTI_PARTICLE
    {
+
{
      channel = Ship
+
modelName = Squad/FX/shockExhaust_blue_small
      clip = sound_rocket_spurts
+
transformName = thrustTransform
      volume = 0.0 0.0
+
emission = 0.0 0.0
      volume = 1.0 1.0
+
emission = 0.05 0.0
      pitch = 0.0 0.2
+
emission = 0.075 0.25
      pitch = 1.0 1.0
+
emission = 1.0 1.25
      loop = true
+
speed = 0.0 0.5
    }
+
speed = 1.0 1.2
    PREFAB_PARTICLE
+
}
    {
+
}
      prefabName = fx_smokeTrail_aeroSpike
+
power_open
      transformName = smokePoint
+
{
      emission = 0.0 0.0
+
AUDIO
      emission = 0.05 0.0
+
{
      emission = 0.075 0.25
+
channel = Ship
      emission = 1.0 1.25
+
clip = sound_rocket_spurts
      speed = 0.0 0.25
+
volume = 0.0 0.0
      speed = 1.0 1.0
+
volume = 0.05 0.0
      localOffset = 0, 0, 1
+
volume = 1.0 1.0
    }
+
pitch = 0.0 0.2
    MODEL_MULTI_PARTICLE
+
pitch = 1.0 1.0
    {
+
loop = true
      modelName = Squad/FX/shockExhaust_blue_small
+
}
      transformName = thrustTransform
+
MODEL_MULTI_PARTICLE
      emission = 0.0 0.0
+
{
      emission = 0.05 0.0
+
modelName = Squad/FX/shockExhaust_red_small
      emission = 0.075 0.25
+
transformName = thrustTransform
      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.5
  power_open
+
speed = 1.0 1.2
  {
+
}
    AUDIO
+
}
    {
+
running_open
      channel = Ship
+
{
      clip = sound_rocket_spurts
+
AUDIO
      volume = 0.0 0.0
+
{
      volume = 1.0 1.0
+
channel = Ship
      pitch = 0.0 0.2
+
clip = sound_jet_deep
      pitch = 1.0 1.0
+
volume = 0.0 0.0
      loop = true
+
volume = 0.05 0.6
    }
+
volume = 1.0 1.0
    MODEL_MULTI_PARTICLE
+
pitch = 0.0 0.7
    {
+
pitch = 1.0 1.4
      modelName = Squad/FX/shockExhaust_red_small
+
loop = true
      transformName = thrustTransform
+
}
      emission = 0.0 0.0
+
PREFAB_PARTICLE
      emission = 0.05 0.0
+
{
      emission = 0.075 0.25
+
prefabName = fx_smokeTrail_aeroSpike
      emission = 1.0 1.25
+
transformName = smokePoint
      speed = 0.0 0.5
+
emission = 0.0 0.0
      speed = 1.0 1.2
+
emission = 0.05 0.0
    }
+
emission = 0.075 0.25
  }
+
emission = 1.0 1.25
  running_open
+
speed = 0.0 0.25
  {
+
speed = 1.0 1.0
    AUDIO
+
localOffset = 0, 0, 1
    {
+
}
      channel = Ship
+
}
      clip = sound_jet_deep
+
engage
      volume = 0.0 0.0
+
{
      volume = 1.0 1.0
+
AUDIO
      pitch = 0.0 0.2
+
{
      pitch = 1.0 1.0
+
channel = Ship
      loop = true
+
clip = sound_vent_soft
    }
+
volume = 1.0
    PREFAB_PARTICLE
+
pitch = 2.0
    {
+
loop = false
      prefabName = fx_smokeTrail_aeroSpike
+
}
      transformName = smokePoint
+
}
      emission = 0.0 0.0
+
flameout
      emission = 0.05 0.0
+
{
      emission = 0.075 0.25
+
PREFAB_PARTICLE
      emission = 1.0 1.25
+
{
      speed = 0.0 0.25
+
prefabName = fx_exhaustSparks_flameout_2
      speed = 1.0 1.0
+
transformName = smokePoint
      localOffset = 0, 0, 1
+
oneShot = true
  }
+
}
  }
+
AUDIO
  engage
+
{
  {
+
channel = Ship
    AUDIO
+
clip = sound_explosion_low
    {
+
volume = 1.0
      channel = Ship
+
pitch = 2.0
      clip = sound_vent_soft
+
loop = false
      volume = 1.0
+
}
      pitch = 2.0
+
}
      loop = false
+
}
    }
+
MODULE
  }
+
{
  flameout
+
name = MultiModeEngine
  {
+
primaryEngineID = AirBreathing
    PREFAB_PARTICLE
+
secondaryEngineID = ClosedCycle
    {
+
}
      prefabName = fx_exhaustSparks_flameout_2
+
MODULE
      transformName = smokePoint
+
{
      oneShot = true
+
name = ModuleEnginesFX
    }
+
engineID = AirBreathing
    AUDIO
+
powerEffectName = power_open
    {
+
//runningEffectName = running_open
      channel = Ship
+
thrustVectorTransformName = thrustTransform
      clip = sound_explosion_low
+
exhaustDamage = True
      volume = 1.0
+
ignitionThreshold = 0.33
      pitch = 2.0
+
minThrust = 0
      loop = false
+
maxThrust = 105
    }
+
heatProduction = 60
  }
+
useEngineResponseTime = True
}
+
engineAccelerationSpeed = 0.2
 
+
engineDecelerationSpeed = 0.35
MODULE
+
useVelocityCurve = False
{
+
spoolEffectName = running_open
name = MultiModeEngine
+
engineSpoolIdle = 0.05
primaryEngineID = AirBreathing
+
engineSpoolTime = 2.0
secondaryEngineID = ClosedCycle
+
EngineType = Turbine
}
+
PROPELLANT
MODULE
+
{
{
+
name = LiquidFuel
name = ModuleEnginesFX
+
resourceFlowMode = STAGE_PRIORITY_FLOW
engineID = AirBreathing
+
ratio = 1
directThrottleEffectName = power_open
+
DrawGauge = True
runningEffectName = running_open
+
}
thrustVectorTransformName = thrustTransform
+
PROPELLANT
exhaustDamage = True
+
{
ignitionThreshold = 0.33
+
name = IntakeAir
minThrust = 0
+
ignoreForIsp = True
maxThrust = 190
+
ratio = 6
heatProduction = 400
+
}
useEngineResponseTime = True
+
atmosphereCurve
engineAccelerationSpeed = 0.2
+
{
engineDecelerationSpeed = 0.35
+
key = 0 3200 0 0
useVelocityCurve = True
+
}
PROPELLANT
+
// 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 = 180
 +
heatProduction = 133
 +
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
 
}
 
 
}
 
 
}}
 
}}

Latest revision as of 12:25, 27 June 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
	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 = 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 = 105
		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 = 6
		}
		atmosphereCurve
		{
			key = 0 3200 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 = 180
		heatProduction = 133
		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
	}
}