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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (*update to 0.24.2;)
m (*update to 1.0.4;)
 
(5 intermediate revisions by the same user not shown)
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
//
+
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.133, 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
 
+
skinInternalConductionMult = 4.0
fx_exhaustLight_yellow = 0.0, -0.1, 0.0, 0.0, 0.0, 1.0, power
+
emissiveConstant = 0.8 // engine nozzles are good at radiating.
fx_smokeTrail_light  = 0.0, -0.1, 0.0, 0.0, 1.0, 0.0, power
+
dragModelType = default
fx_exhaustSparks_flameout = 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, flameout
+
maximum_drag = 0.2
 
+
minimum_drag = 0.2
// --- Sound FX definition ---
+
angularDrag = 2
 
+
crashTolerance = 7
sound_vent_medium = engage
+
maxTemp = 2000 // = 3600
sound_jet_low = running
+
bulkheadProfiles = size1
sound_jet_deep = power
+
MODULE
sound_vent_soft = disengage
+
{
sound_explosion_low = flameout
+
name = ModuleEnginesFX
 
+
thrustVectorTransformName = thrustTransform
// --- editor parameters ---
+
exhaustDamage = True
TechRequired = highAltitudeFlight
+
ignitionThreshold = 0.1
entryCost = 18000
+
minThrust = 0
cost = 2250
+
maxThrust = 130
category = Propulsion
+
heatProduction = 75
subcategory = 0
+
useEngineResponseTime = True
title = TurboJet Engine
+
engineAccelerationSpeed = 0.2
manufacturer = C7 Aerospace Division
+
engineDecelerationSpeed = 0.4
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.
+
useVelocityCurve = False
 
+
flameoutEffectName = flameout
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
+
powerEffectName = running_thrust
attachRules = 1,0,1,0,0
+
runningEffectName = shockDiamond
 
+
engageEffectName = engage
// --- standard part parameters ---
+
disengageEffectName = disengage
mass = 1.2
+
spoolEffectName = running_turbine
dragModelType = default
+
engineSpoolIdle = 0.05
maximum_drag = 0.2
+
engineSpoolTime = 2.0
minimum_drag = 0.2
+
EngineType = Turbine
angularDrag = 2
+
crashTolerance = 7
+
PROPELLANT
maxTemp = 3600
+
{
 
+
name = LiquidFuel
MODULE
+
resourceFlowMode = STAGE_PRIORITY_FLOW
{
+
ratio = 1
name = ModuleEngines
+
DrawGauge = True
thrustVectorTransformName = thrustTransform
+
}
exhaustDamage = True
+
PROPELLANT
ignitionThreshold = 0.1
+
{
minThrust = 0
+
name = IntakeAir
maxThrust = 225
+
ignoreForIsp = True
heatProduction = 400
+
ratio = 7
useEngineResponseTime = True
+
}
engineAccelerationSpeed = 0.2
+
atmosphereCurve
engineDecelerationSpeed = 0.35
+
{
useVelocityCurve = True
+
key = 0 4000 0 0
PROPELLANT
+
}
 +
// 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.72 1.716 2.433527 2.433527
 +
key = 1.36 3.2 1.986082 1.986082
 +
key = 2.15 4.9 1.452677 1.452677
 +
key = 3 5.8 0.0005786046 0.0005786046
 +
key = 4.5 3 -4.279616 -4.279616
 +
key = 5.5 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
 +
}
 +
}
 +
shockDiamond
 +
{
 +
MODEL_MULTI_PARTICLE
 +
{
 +
modelName = Squad/FX/afterburner_shock
 +
transformName = thrustTransform
 +
emission = 0.0 0.0
 +
emission = 0.4 0.0
 +
emission = 0.6 0.8
 +
emission = 1 1.15
 +
speed = 0.4 0.3
 +
speed = 0.6 0.8
 +
speed = 1.0 1.15
 +
}
 +
}
 +
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
 +
}
 +
MODEL_MULTI_PARTICLE
 +
{
 +
modelName = Squad/FX/afterburner_flame
 +
transformName = thrustTransform
 +
emission = 0.0 0.0
 +
emission = 0.2 0.0
 +
emission = 0.3 0.8
 +
emission = 1.0 1.15
 +
speed = 0.0 0.8
 +
speed = 1.0 1.15
 +
}
 +
}
 +
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
 
}
 
 
}
 
}
  
 
}}
 
}}

Latest revision as of 12:25, 27 June 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
	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 = 7
	maxTemp = 2000 // = 3600
	bulkheadProfiles = size1
	MODULE
	{
		name = ModuleEnginesFX
		thrustVectorTransformName = thrustTransform
		exhaustDamage = True
		ignitionThreshold = 0.1
		minThrust = 0
		maxThrust = 130
		heatProduction = 75
		useEngineResponseTime = True
		engineAccelerationSpeed = 0.2
		engineDecelerationSpeed = 0.4
		useVelocityCurve = False
		flameoutEffectName = flameout
		powerEffectName = running_thrust
		runningEffectName = shockDiamond
		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 = 7
		}
		atmosphereCurve
		{
			key = 0 4000 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.72 1.716 2.433527 2.433527
			key = 1.36 3.2 1.986082 1.986082
			key = 2.15 4.9 1.452677 1.452677
			key = 3 5.8 0.0005786046 0.0005786046
			key = 4.5 3 -4.279616 -4.279616
			key = 5.5 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
			}					
		}
		shockDiamond
		{
			MODEL_MULTI_PARTICLE
			{
				modelName = Squad/FX/afterburner_shock
				transformName = thrustTransform
				emission = 0.0 0.0
				emission = 0.4 0.0
				emission = 0.6 0.8
				emission = 1 1.15
				speed = 0.4 0.3
				speed = 0.6 0.8
				speed = 1.0 1.15
			}
		}
		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
			}
			MODEL_MULTI_PARTICLE
			{
				modelName = Squad/FX/afterburner_flame
				transformName = thrustTransform
				emission = 0.0 0.0
				emission = 0.2 0.0
				emission = 0.3 0.8
				emission = 1.0 1.15
				speed = 0.0 0.8
				speed = 1.0 1.15
			}
		}
		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
			}
		}
	}
}