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

From Kerbal Space Program Wiki
Jump to: navigation, search
(Created page with "<pre> // Kerbal Space Program - Part Config // LV-T45 Liquid Fuel Engine // // --- general parameters --- name = turboFanEngine module = AtmosphericEngine author = C. Jenki...")
 
m (*update to 1.0.4;)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<pre>
+
{{Part config|J-X4 "Whiplash" Turbo Ramjet Engine|2=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
 +
}
 +
}
 +
}
 +
}
  
// Kerbal Space Program - Part Config
+
}}
// LV-T45 Liquid Fuel Engine
 
//
 
 
 
// --- general parameters ---
 
name = turboFanEngine
 
module = AtmosphericEngine
 
author = C. Jenkins
 
 
 
// --- asset parameters ---
 
mesh = model.mu
 
scale = 1.0
 
 
 
// --- node definitions ---
 
node_stack_top = 0.0, 1.133, 0.0, 0.0, 1.0, 0.0
 
 
 
// --- FX definitions ---
 
 
 
fx_exhaustLight_yellow = 0.0, -0.1, 0.0, 0.0, 0.0, 1.0, power
 
fx_smokeTrail_light  = 0.0, -0.1, 0.0, 0.0, 1.0, 0.0, power
 
 
 
// --- Sound FX definition ---
 
 
 
sound_vent_medium = activate
 
sound_jet_low = active
 
sound_jet_deep = power
 
sound_vent_soft = deactivate
 
 
 
// --- editor parameters ---
 
cost = 950
 
category = 0
 
subcategory = 0
 
title = TurboJet Engine
 
manufacturer = C7 Aerospace Division.
 
description = A standard air breathing engine. This model utilizes an array of rotating fins to enable limited range thrust vectoring. This engine chokes in thick atmospheres and will only operate efficiently in the thinner air, due to its high performance ram air intakes.
 
 
 
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
 
attachRules = 1,0,1,0,0
 
 
 
// --- standard part parameters ---
 
mass = 1.2
 
dragModelType = default
 
maximum_drag = 0.2
 
minimum_drag = 0.2
 
angularDrag = 2
 
crashTolerance = 7
 
maxTemp = 3600
 
 
 
// --- Atmospheric Engine ---
 
// --- Intake Types 0 = Square 1 = Circular (for area calculation)
 
IntakeShape = 0
 
intakeSize = 1
 
intakeSuctionPower = 1.5
 
maxIntakePower = 200
 
 
 
// -- Definition of Airflow performance curves. Lower curve is defined by lower threshold to optimal. Longer spread between values defines a subtle curve. Where closer values will have much faster fall off. Upper curve is between optimal and maximum airflows.
 
optimalAirflow = 60
 
lowerAirflowLimit = 10
 
upperAirFlowLimit = 300
 
//-- Stall threshold determines the point (thrust power) at which the engine can no longer sustain function
 
stallThreshold = 10
 
 
 
// How quickly the engine spools up and down (lerp by time)
 
engineAccelerationSpeed = 0.003
 
engineDecelerationSpeed = 0.007
 
intakeResponseSpeed = 0.002
 
 
 
// Maximum Engine output
 
maximumEnginePower = 150
 
maximumExhaustSpeed = 1800
 
 
 
// -- Standard Engine Parameters
 
heatProduction = 500
 
fuelConsumption = 0.4
 
 
 
thrustVectoringCapable = True
 
gimbalRange = 2.5
 
thrustCenter = 0, -0.5, 0
 
 
 
</pre>
 

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
			}
		}
	}
}