Difference between revisions of "Parts/Engine/jetEngines/jetEngineTurbo.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|TurboJet Engine|2=PART
+
{{Part config|J-X4 "Whiplash" Turbo Ramjet Engine|2=PART
 
{
 
{
// Kerbal Space Program - Part Config
+
name = turboFanEngine
// TurboJet Engine
+
module = Part
 
+
author = C. Jenkins
// --- general parameters ---
+
mesh = model.mu
name = turboFanEngine
+
scale = 1.0
module = Part
+
node_stack_top = 0.0, 1.12, 0.0, 0.0, 1.0, 0.0
author = C. Jenkins
+
CoMOffset = 0.0, 2.7, 0.0
 
+
TechRequired = highAltitudeFlight
// --- asset parameters ---
+
entryCost = 18000
mesh = model.mu
+
cost = 2250
scale = 1.0
+
category = Engine
 
+
subcategory = 0
// --- node definitions ---
+
title = J-X4 "Whiplash" Turbo Ramjet Engine
node_stack_top = 0.0, 1.12, 0.0, 0.0, 1.0, 0.0
+
manufacturer = C7 Aerospace Division
 
+
description = A highly advanced turbine engine using space-grade materials for very high performance. This new model features the latest in thrust vectoring and compression technology and is designed to operate best at higher altitudes and speeds. The advanced turbo ramjet design bleeds air around the compressor at high speed allowing a far maximum speed than regular jet engines, so engineers from C7 Aerospace assured us all those leaks are intentional.
 
+
attachRules = 1,0,1,0,0
 
+
mass = 1.8
// --- FX definitions ---
+
// heatConductivity = 0.06 // half default
 
+
emissiveConstant = 0.8 // engine nozzles are good at radiating.
fx_exhaustLight_yellow = 0.0, -0.1, 0.0, 0.0, 0.0, 1.0, power
+
dragModelType = default
fx_smokeTrail_light  = 0.0, -0.1, 0.0, 0.0, 1.0, 0.0, power
+
maximum_drag = 0.2
fx_exhaustSparks_flameout = 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, flameout
+
minimum_drag = 0.2
 
+
angularDrag = 2
// --- Sound FX definition ---
+
crashTolerance = 7
 
+
maxTemp = 2000 // = 3600
sound_vent_medium = engage
+
bulkheadProfiles = size1
sound_jet_low = running
+
MODULE
sound_jet_deep = power
+
{
sound_vent_soft = disengage
+
name = ModuleEnginesFX
sound_explosion_low = flameout
+
thrustVectorTransformName = thrustTransform
 
+
exhaustDamage = True
// --- editor parameters ---
+
ignitionThreshold = 0.1
TechRequired = highAltitudeFlight
+
minThrust = 0
entryCost = 18000
+
maxThrust = 180
cost = 2250
+
heatProduction = 75
category = Engine
+
useEngineResponseTime = True
subcategory = 0
+
engineAccelerationSpeed = 0.2
title = TurboJet Engine
+
engineDecelerationSpeed = 0.4
manufacturer = C7 Aerospace Division
+
useVelocityCurve = False
description = A highly advanced turbine engine using space-grade materials for very high performance. This new model features the latest in thrust vectoring and compression technology. This engine is designed to operate best at higher altitudes and speeds, and engineers from C7 Aerospace assured us all those leaks stop once it gets up there.
+
flameoutEffectName = flameout
 
+
powerEffectName = running_thrust
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
+
engageEffectName = engage
attachRules = 1,0,1,0,0
+
disengageEffectName = disengage
 
+
spoolEffectName = running_turbine
// --- standard part parameters ---
+
engineSpoolIdle = 0.05
mass = 1.2
+
engineSpoolTime = 2.0
dragModelType = default
+
EngineType = Turbine
maximum_drag = 0.2
+
minimum_drag = 0.2
+
PROPELLANT
angularDrag = 2
+
{
crashTolerance = 7
+
name = LiquidFuel
maxTemp = 3600
+
resourceFlowMode = STAGE_PRIORITY_FLOW
 
+
ratio = 1
MODULE
+
DrawGauge = True
{
+
}
name = ModuleEngines
+
PROPELLANT
thrustVectorTransformName = thrustTransform
+
{
exhaustDamage = True
+
name = IntakeAir
ignitionThreshold = 0.1
+
ignoreForIsp = True
minThrust = 0
+
ratio = 15
maxThrust = 225
+
}
heatProduction = 400
+
atmosphereCurve
useEngineResponseTime = True
+
{
engineAccelerationSpeed = 0.2
+
key = 0 8000 0 0
engineDecelerationSpeed = 0.35
+
}
useVelocityCurve = True
+
// Jet params
PROPELLANT
+
atmChangeFlow = True
 +
useVelCurve = True
 +
useAtmCurve = True
 +
machLimit = 2.5
 +
machHeatMult = 6.0
 +
velCurve
 +
{
 +
key = 0 1 0 0
 +
key = 0.2 0.98 0 0
 +
key = 0.8395604 1.716071 1.051736 1.051736
 +
key = 1.617582 3.022408 1.986082 1.986082
 +
key = 2.327472 4.626338 1.452677 1.452677
 +
key = 3.00 5.3 0.0005786046 0.0005786046
 +
key = 4.25422 2.495532 -4.279616 -4.279616
 +
key = 6 0 -0.02420209 0
 +
}
 +
atmCurve
 +
{
 +
// definite 'kink' to the curve at high altitude, compared to flatter BJE curve
 +
key = 0 0 0 0
 +
key = 0.045 0.166 4.304647 4.304647
 +
key = 0.16 0.5 0.5779132 0.5779132
 +
key = 0.5 0.6 0.4809403 0.4809403
 +
key = 1 1 1.013946 0
 +
}
 +
}
 +
MODULE
 
{
 
{
name = LiquidFuel
+
name = ModuleAnimateHeat
ratio = 1
+
ThermalAnim = HeatAnimationEmissiveTurbofan
DrawGauge = True
 
 
}
 
}
PROPELLANT
+
MODULE
 
{
 
{
name = IntakeAir
+
name = ModuleGimbal
ratio = 15
+
gimbalTransformName = thrustTransform
 +
gimbalRange = 1
 
}
 
}
atmosphereCurve
+
MODULE
{
 
key = 0 1200
 
key = 0.3 2500
 
key = 1 800
 
}
 
velocityCurve
 
 
{
 
{
key = 0 0.5 0 0
+
name = ModuleAlternator
key = 1000 1 0 0
+
RESOURCE
key = 2000 0.5 0 0
+
{
key = 2400 0 0 0
+
name = ElectricCharge
 +
rate = 5.0
 +
}
 
}
 
}
 
}
 
 
MODULE
 
{
 
    name = ModuleAnimateHeat
 
    ThermalAnim = HeatAnimationEmissiveTurbofan
 
}
 
 
MODULE
 
{
 
name = ModuleGimbal
 
gimbalTransformName = thrustTransform
 
gimbalRange = 1
 
}
 
 
MODULE
 
{
 
name = ModuleAlternator
 
 
RESOURCE
 
RESOURCE
 
{
 
{
 
name = ElectricCharge
 
name = ElectricCharge
rate = 5.0
+
amount = 0
 +
maxAmount = 0
 +
isTweakable = false
 +
hideFlow = true
 +
}
 +
MODULE
 +
{
 +
name = ModuleTestSubject
 +
environments = 71
 +
useStaging = True
 +
useEvent = True
 +
}
 +
MODULE
 +
{
 +
name = ModuleSurfaceFX
 +
thrustProviderModuleIndex = 0
 +
fxMax = 0.6
 +
maxDistance = 25
 +
falloff = 2
 +
thrustTransformName = thrustTransform
 +
}
 +
EFFECTS
 +
{
 +
running_thrust
 +
{
 +
AUDIO
 +
{
 +
channel = Ship
 +
clip = sound_jet_deep
 +
volume = 0.0 0.0
 +
volume = 0.05 0.4
 +
volume = 1.0 0.9
 +
pitch = 0.0 0.8
 +
pitch = 1.0 1.4
 +
loop = true
 +
}
 +
PREFAB_PARTICLE
 +
{
 +
prefabName = fx_smokeTrail_light
 +
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.25
 +
speed = 1.0 1.0
 +
localOffset = 0, 0, 1
 +
localRotation = 1, 0, 0, -90
 +
}
 +
}
 +
running_turbine
 +
{
 +
AUDIO
 +
{
 +
channel = Ship
 +
clip = sound_jet_low
 +
volume = 0.0 0.0
 +
volume = 0.05 0.7
 +
volume = 1.0 1.0
 +
pitch = 0.0 0.5
 +
pitch = 0.05 0.6
 +
pitch = 1.0 1.2
 +
loop = true
 +
}
 +
}
 +
engage
 +
{
 +
AUDIO
 +
{
 +
channel = Ship
 +
clip = sound_vent_medium
 +
volume = 1.0
 +
pitch = 2.0
 +
loop = false
 +
}
 +
}
 +
disengage
 +
{
 +
AUDIO
 +
{
 +
channel = Ship
 +
clip = sound_vent_soft
 +
volume = 1.0
 +
pitch = 2.0
 +
loop = false
 +
}
 +
}
 +
flameout
 +
{
 +
PREFAB_PARTICLE
 +
{
 +
prefabName = fx_exhaustSparks_flameout_2
 +
transformName = thrustTransform
 +
oneShot = true
 +
}
 +
AUDIO
 +
{
 +
channel = Ship
 +
clip = sound_explosion_low
 +
volume = 1.0
 +
pitch = 2.0
 +
loop = false
 +
}
 +
}
 
}
 
}
}
 
RESOURCE
 
{
 
name = ElectricCharge
 
amount = 0
 
maxAmount = 0
 
  isTweakable = false
 
hideFlow = true
 
}
 
 
MODULE
 
{
 
name = ModuleTestSubject
 
 
// nowhere: 0, srf: 1, ocean: 2, atmo: 4, space: 8
 
environments = 7
 
 
useStaging = True
 
useEvent = True
 
}
 
 
}
 
}
  
 
}}
 
}}

Revision as of 16:39, 29 April 2015

This is the configuration file for J-X4 "Whiplash" Turbo Ramjet Engine.
PART
{
	name = turboFanEngine
	module = Part
	author = C. Jenkins
	mesh = model.mu
	scale = 1.0
	node_stack_top = 0.0, 1.12, 0.0, 0.0, 1.0, 0.0
	CoMOffset = 0.0, 2.7, 0.0
	TechRequired = highAltitudeFlight
	entryCost = 18000
	cost = 2250
	category = Engine
	subcategory = 0
	title = J-X4 "Whiplash" Turbo Ramjet Engine
	manufacturer = C7 Aerospace Division
	description = A highly advanced turbine engine using space-grade materials for very high performance. This new model features the latest in thrust vectoring and compression technology and is designed to operate best at higher altitudes and speeds. The advanced turbo ramjet design bleeds air around the compressor at high speed allowing a far maximum speed than regular jet engines, so engineers from C7 Aerospace assured us all those leaks are intentional.
	attachRules = 1,0,1,0,0
	mass = 1.8
	// 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 = 7
	maxTemp = 2000 // = 3600
	bulkheadProfiles = size1
	MODULE
	{
		name = ModuleEnginesFX
		thrustVectorTransformName = thrustTransform
		exhaustDamage = True
		ignitionThreshold = 0.1
		minThrust = 0
		maxThrust = 180
		heatProduction = 75
		useEngineResponseTime = True
		engineAccelerationSpeed = 0.2
		engineDecelerationSpeed = 0.4
		useVelocityCurve = False
		flameoutEffectName = flameout
		powerEffectName = running_thrust
		engageEffectName = engage
		disengageEffectName = disengage
		spoolEffectName = running_turbine
		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 = 15
		}
		atmosphereCurve
		{
			key = 0 8000 0 0 
		}
		// Jet params
		atmChangeFlow = True
		useVelCurve = True
		useAtmCurve = True
		machLimit = 2.5
		machHeatMult = 6.0
		velCurve
		{
			key = 0 1 0 0
			key = 0.2 0.98 0 0
			key = 0.8395604 1.716071 1.051736 1.051736
			key = 1.617582 3.022408 1.986082 1.986082
			key = 2.327472 4.626338 1.452677 1.452677
			key = 3.00 5.3 0.0005786046 0.0005786046
			key = 4.25422 2.495532 -4.279616 -4.279616
			key = 6 0 -0.02420209 0
		}
		atmCurve
		{
			// definite 'kink' to the curve at high altitude, compared to flatter BJE curve
			key = 0 0 0 0
			key = 0.045 0.166 4.304647 4.304647
			key = 0.16 0.5 0.5779132 0.5779132
			key = 0.5 0.6 0.4809403 0.4809403
			key = 1 1 1.013946 0
		}
	}
	MODULE
	{
		name = ModuleAnimateHeat
		ThermalAnim = HeatAnimationEmissiveTurbofan
	}
	MODULE
	{
		name = ModuleGimbal
		gimbalTransformName = thrustTransform
		gimbalRange = 1
	}
	MODULE
	{
		name = ModuleAlternator
		RESOURCE
		{
			name = ElectricCharge
			rate = 5.0
		}
	}
	RESOURCE
	{
		name = ElectricCharge
		amount = 0
		maxAmount = 0
		isTweakable = false
		hideFlow = true
	}
	MODULE
	{
		name = ModuleTestSubject
		environments = 71
		useStaging = True
		useEvent = True
	}
	MODULE
	{
		name = ModuleSurfaceFX
		thrustProviderModuleIndex = 0
		fxMax = 0.6
		maxDistance = 25
		falloff = 2
		thrustTransformName = thrustTransform
	}
	EFFECTS
	{		
		running_thrust
		{			
			AUDIO
			{
				channel = Ship
				clip = sound_jet_deep
				volume = 0.0 0.0
				volume = 0.05 0.4
				volume = 1.0 0.9
				pitch = 0.0 0.8
				pitch = 1.0 1.4
				loop = true
			}
			PREFAB_PARTICLE
			{
				prefabName = fx_smokeTrail_light
				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.25
				speed = 1.0 1.0
				localOffset = 0, 0, 1
				localRotation = 1, 0, 0, -90
			}					
		}
		running_turbine
		{
			AUDIO
			{
				channel = Ship
				clip = sound_jet_low
				volume = 0.0 0.0
				volume = 0.05 0.7
				volume = 1.0 1.0
				pitch = 0.0 0.5
				pitch = 0.05 0.6
				pitch = 1.0 1.2
				loop = true
			}
		}
		engage
		{
			AUDIO
			{
				channel = Ship
				clip = sound_vent_medium
				volume = 1.0
				pitch = 2.0
				loop = false
			}
		}
		disengage
		{
			AUDIO
			{
				channel = Ship
				clip = sound_vent_soft
				volume = 1.0
				pitch = 2.0
				loop = false
			}
		}
		flameout
		{
			PREFAB_PARTICLE
			{
				prefabName = fx_exhaustSparks_flameout_2
				transformName = thrustTransform
				oneShot = true
			}
			AUDIO
			{
				channel = Ship
				clip = sound_explosion_low
				volume = 1.0
				pitch = 2.0
				loop = false
			}
		}
	}
}