Difference between revisions of "Parts/Engine/jetEngines/jetEngineBasic.cfg"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (XZise moved page Parts/JetEngine/part.cfg to Parts/Engine/JetEngine/part.cfg without leaving a redirect: new place)
m (Update config)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<pre>
+
{{Part config|J-33 "Wheesley" Turbofan Engine|2=PART
 
+
{
// Kerbal Space Program - Part Config
+
name = JetEngine
// LV-T45 Liquid Fuel Engine
+
module = Part
//
+
author = Porkjet
 
+
//mesh = turboFanSize1.mu
// --- general parameters ---
+
MODEL
name = JetEngine
+
{
module = AtmosphericEngine
+
model = Squad/Parts/Engine/jetEngines/turboFanSize1
author = C. Jenkins
+
}
 
+
//MODEL
// --- asset parameters ---
+
//{
mesh = model.mu
+
// model = Squad/Parts/Engine/jetEngines/turbineInside
 
+
// position = 0.0, 0.972875, 0.0
// --- node definitions ---
+
// scale = 0.8, 0.6, 0.8
node_stack_top = 0.0, 0.7783, 0.0, 0.0, 1.0, 0.0
+
// //rotation = 0, 0, 0
 
+
//}
// --- FX definitions ---
+
rescaleFactor = 1
 
+
node_stack_top = 0.0, 0.972875, 0.0, 0.0, 1.0, 0.0
fx_exhaustLight_blue = 0.0, -0.74338, 0.0, 0.0, 0.0, 1.0, power
+
CoMOffset = 0.0, 2.3, 0.0
fx_smokeTrail_light  = 0.0, -0.74338, 0.0, 0.0, 1.0, 0.0, power
+
TechRequired = aerodynamicSystems
 
+
entryCost = 4000
// --- Sound FX definition ---
+
cost = 1400
 
+
category = Engine
sound_vent_medium = activate
+
subcategory = 0
sound_jet_low = active
+
title = #autoLOC_500409 //#autoLOC_500409 = J-33 "Wheesley" Turbofan Engine
sound_jet_deep = power
+
manufacturer = #autoLOC_501624 //#autoLOC_501624 = C7 Aerospace Division
sound_vent_soft = deactivate
+
description = #autoLOC_500410 //#autoLOC_500410 = A high bypass turbofan engine. This engine works best at low cruising speeds and altitudes.
 
+
attachRules = 1,0,1,0,0
// --- editor parameters ---
+
mass = 1.5
cost = 950
+
heatConductivity = 0.06 // half default
category = 0
+
skinInternalConductionMult = 4.0
subcategory = 0
+
emissiveConstant = 0.8 // engine nozzles are good at radiating.
title = Basic Jet Engine
+
dragModelType = default
manufacturer = C7 Aerospace Division.
+
maximum_drag = 0.2
description = A highly advanced replacement model of the Ax-300 series of engines. This new model features the latest in thrust vectoring and compression technology. This engine is suitable for normal crusing speeds and altitudes.
+
minimum_drag = 0.2
 
+
angularDrag = 2
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
+
crashTolerance = 7
attachRules = 1,0,1,0,0
+
maxTemp = 2000 // = 3600
 
+
bulkheadProfiles = size1
// --- standard part parameters ---
+
tags = #autoLOC_500411 //#autoLOC_500411 = aircraft jet plane propuls reverse (wheesley
mass = 1
+
MODULE
dragModelType = default
+
{
maximum_drag = 0.2
+
name = ModuleEnginesFX
minimum_drag = 0.2
+
engineID = Cruise
angularDrag = 2
+
thrustVectorTransformName = thrustTransform
crashTolerance = 7
+
exhaustDamage = True
maxTemp = 3600
+
ignitionThreshold = 0.1
exhaustDamage = true
+
minThrust = 0
 
+
maxThrust = 120
// --- Atmospheric Engine ---
+
heatProduction = 40
// --- Intake Types 0 = Square 1 = Circular (for area calculation)
+
useEngineResponseTime = True
IntakeShape = 0
+
engineAccelerationSpeed = 0.12
intakeSize = 1.1
+
engineDecelerationSpeed = 0.5
intakeSuctionPower = 2
+
fxOffset = 0, 0, 0.74
maxIntakePower = 125
+
flameoutEffectName = flameout
 
+
powerEffectName = running_thrust
// -- 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.
+
engageEffectName = engage
optimalAirflow = 200
+
disengageEffectName = disengage
lowerAirflowLimit = 45
+
spoolEffectName = running_turbine
upperAirFlowLimit = 450
+
engineSpoolIdle = 0.05
 
+
engineSpoolTime = 2.0
//-- Stall threshold determines the point (thrust power) at which the engine can no longer sustain function
+
EngineType = Turbine
stallThreshold = 20
+
exhaustDamageMultiplier = 5
 
+
clampPropReceived = True
// How quickly the engine spools up and down (lerp by time)
+
PROPELLANT
engineAccelerationSpeed = 0.005
+
{
engineDecelerationSpeed = 0.008
+
name = IntakeAir
intakeResponseSpeed = 0.007
+
ignoreForIsp = True
 
+
ratio = 127
// Maximum Engine output
+
}
maximumEnginePower = 100
+
PROPELLANT
maximumExhaustSpeed = 1200
+
{
 
+
name = LiquidFuel
// -- Standard Engine Parameters
+
resourceFlowMode = STAGE_STACK_FLOW_BALANCE
heatProduction = 450
+
ratio = 1
fuelConsumption = 0.3
+
DrawGauge = True
 
+
}
thrustVectoringCapable = True
+
atmosphereCurve
gimbalRange = 2.5
+
{
thrustCenter = 0, -0.5, 0
+
key = 0 10500 0 0
 
+
}
</pre>
+
// Jet params
 +
atmChangeFlow = True
 +
useVelCurve = True
 +
useAtmCurve = True
 +
flameoutBar = 0.02
 +
flowCapMult = 1.0
 +
machLimit = 0.85
 +
machHeatMult = 25
 +
velCurve
 +
{
 +
key = 0 1 0 0
 +
key = 0.53 0.834 0 0
 +
key = 1.3 0.96 0 0
 +
key = 1.674 0.843 -0.876726 -0.876726
 +
key = 2.5 0 0 0
 +
}
 +
atmCurve
 +
{
 +
key = 0 0 0 1.186726
 +
key = 0.072 0.092 1.339822 1.339822
 +
key = 0.337 0.4 0.8976688 0.8976688
 +
key = 1 1 0.9127604 0
 +
}
 +
}
 +
MODULE
 +
{
 +
name = ModuleAnimateHeat
 +
ThermalAnim = TF1Heat
 +
}
 +
MODULE
 +
{
 +
name = ModuleAnimateGeneric
 +
animationName = TF1ThrustReverser
 +
startEventGUIName = #autoLOC_502015 //#autoLOC_502015 = Reverse Thrust
 +
endEventGUIName = #autoLOC_502016 //#autoLOC_502016 = Forward Thrust
 +
actionGUIName = #autoLOC_502017 //#autoLOC_502017 = Toggle Thrust Reverser
 +
}
 +
MODULE
 +
{
 +
name = ModuleAlternator
 +
RESOURCE
 +
{
 +
name = ElectricCharge
 +
rate = 4
 +
}
 +
}
 +
MODULE
 +
{
 +
name = ModuleTestSubject
 +
useStaging = True
 +
useEvent = True
 +
situationMask = 15
 +
CONSTRAINT
 +
{
 +
type = OXYGEN
 +
value = True
 +
}
 +
CONSTRAINT
 +
{
 +
type = SPEEDENV
 +
test = LT
 +
value = 200
 +
prestige = Trivial
 +
}
 +
CONSTRAINT
 +
{
 +
type = SPEEDENV
 +
test = GT
 +
value = 100
 +
prestige = Trivial
 +
}
 +
CONSTRAINT
 +
{
 +
type = SPEEDENV
 +
test = LT
 +
value = 100
 +
prestige = Significant
 +
}
 +
CONSTRAINT
 +
{
 +
type = SPEEDENV
 +
test = GT
 +
value = 50
 +
prestige = Significant
 +
}
 +
CONSTRAINT
 +
{
 +
type = SPEEDENV
 +
test = LT
 +
value = 50
 +
prestige = Exceptional
 +
}
 +
CONSTRAINT
 +
{
 +
type = SPEEDENV
 +
test = GT
 +
value = 20
 +
prestige = Exceptional
 +
}
 +
CONSTRAINT
 +
{
 +
type = SPEED
 +
test = LT
 +
value = 300
 +
situationMask = 8
 +
}
 +
CONSTRAINT
 +
{
 +
type = SPEED
 +
test = GT
 +
value = 50
 +
situationMask = 8
 +
}
 +
CONSTRAINT
 +
{
 +
type = DENSITY
 +
test = GT
 +
value = 0.3
 +
situationMask = 8
 +
prestige = Trivial
 +
}
 +
CONSTRAINT
 +
{
 +
type = DENSITY
 +
test = GT
 +
value = 0.1
 +
situationMask = 8
 +
prestige = Significant
 +
}
 +
CONSTRAINT
 +
{
 +
type = DENSITY
 +
test = GT
 +
value = 0.05
 +
situationMask = 8
 +
prestige = Exceptional
 +
}
 +
CONSTRAINT
 +
{
 +
type = ALTITUDEENV
 +
test = GT
 +
value = 4000
 +
prestige = Trivial
 +
}
 +
CONSTRAINT
 +
{
 +
type = ALTITUDEENV
 +
test = LT
 +
value = 8000
 +
prestige = Trivial
 +
}
 +
CONSTRAINT
 +
{
 +
type = ALTITUDEENV
 +
test = GT
 +
value = 1000
 +
prestige = Significant
 +
}
 +
CONSTRAINT
 +
{
 +
type = ALTITUDEENV
 +
test = LT
 +
value = 2000
 +
prestige = Significant
 +
}
 +
CONSTRAINT
 +
{
 +
type = ALTITUDEENV
 +
test = GT
 +
value = 500
 +
prestige = Exceptional
 +
}
 +
CONSTRAINT
 +
{
 +
type = ALTITUDEENV
 +
test = LT
 +
value = 1000
 +
prestige = Exceptional
 +
}
 +
CONSTRAINT
 +
{
 +
type = REPEATABILITY
 +
value = ALWAYS
 +
prestige = Trivial
 +
}
 +
CONSTRAINT
 +
{
 +
type = REPEATABILITY
 +
value = BODYANDSITUATION
 +
prestige = Significant
 +
}
 +
CONSTRAINT
 +
{
 +
type = REPEATABILITY
 +
value = ONCEPERPART
 +
prestige = Exceptional
 +
}
 +
}
 +
MODULE
 +
{
 +
name = ModuleSurfaceFX
 +
thrustProviderModuleIndex = 0
 +
fxMax = 0.5
 +
maxDistance = 20
 +
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 1.5
 +
pitch = 0.0 0.3
 +
pitch = 1.0 0.5
 +
loop = true
 +
}
 +
PREFAB_PARTICLE
 +
{
 +
prefabName = fx_smokeTrail_light
 +
transformName = thrustTransformFX
 +
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.2
 +
volume = 1.0 0.45
 +
pitch = 0.0 0.3
 +
pitch = 0.05 0.5
 +
pitch = 1.0 0.65
 +
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 = thrustTransformFX
 +
oneShot = true
 +
}
 +
AUDIO
 +
{
 +
channel = Ship
 +
clip = sound_explosion_low
 +
volume = 1.0
 +
pitch = 2.0
 +
loop = false
 +
}
 +
}
 +
}
 +
MODULE
 +
{
 +
name = ModuleCargoPart
 +
stackableQuantity = 1
 +
packedVolume = -1
 +
}
 +
}
 +
}}

Latest revision as of 16:14, 10 October 2024

This is the configuration file for J-33 "Wheesley" Turbofan Engine.
PART
{
	name = JetEngine
	module = Part
	author = Porkjet
	//mesh = turboFanSize1.mu
	MODEL
	{
		model = Squad/Parts/Engine/jetEngines/turboFanSize1
	}
	//MODEL
	//{
	//	model = Squad/Parts/Engine/jetEngines/turbineInside
	//	position = 0.0, 0.972875, 0.0
	//	scale = 0.8, 0.6, 0.8
	//	//rotation = 0, 0, 0
	//}
	rescaleFactor = 1
	node_stack_top = 0.0, 0.972875, 0.0, 0.0, 1.0, 0.0
	CoMOffset = 0.0, 2.3, 0.0
	TechRequired = aerodynamicSystems
	entryCost = 4000
	cost = 1400
	category = Engine
	subcategory = 0
	title = #autoLOC_500409 //#autoLOC_500409 = J-33 "Wheesley" Turbofan Engine
	manufacturer = #autoLOC_501624 //#autoLOC_501624 = C7 Aerospace Division
	description = #autoLOC_500410 //#autoLOC_500410 = A high bypass turbofan engine. This engine works best at low cruising speeds and altitudes.
	attachRules = 1,0,1,0,0
	mass = 1.5
	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
	tags = #autoLOC_500411 //#autoLOC_500411 = aircraft jet plane propuls reverse (wheesley
	MODULE
	{
		name = ModuleEnginesFX
		engineID = Cruise
		thrustVectorTransformName = thrustTransform
		exhaustDamage = True
		ignitionThreshold = 0.1
		minThrust = 0
		maxThrust = 120
		heatProduction = 40
		useEngineResponseTime = True
		engineAccelerationSpeed = 0.12
		engineDecelerationSpeed = 0.5
		fxOffset = 0, 0, 0.74
		flameoutEffectName = flameout
		powerEffectName = running_thrust
		engageEffectName = engage
		disengageEffectName = disengage
		spoolEffectName = running_turbine
		engineSpoolIdle = 0.05
		engineSpoolTime = 2.0
		EngineType = Turbine
		exhaustDamageMultiplier = 5
		clampPropReceived = True
		PROPELLANT
		{
			name = IntakeAir
			ignoreForIsp = True
			ratio = 127
		}
		PROPELLANT
		{
			name = LiquidFuel
			resourceFlowMode = STAGE_STACK_FLOW_BALANCE
			ratio = 1
			DrawGauge = True
		}
		atmosphereCurve
		{
			key = 0 10500 0 0
		}
		// Jet params
		atmChangeFlow = True
		useVelCurve = True
		useAtmCurve = True
		flameoutBar = 0.02
		flowCapMult = 1.0
		machLimit = 0.85
		machHeatMult = 25
		velCurve
		{
			key = 0 1 0 0
			key = 0.53 0.834 0 0
			key = 1.3 0.96 0 0
			key = 1.674 0.843 -0.876726 -0.876726
			key = 2.5 0 0 0
		}
		atmCurve
		{
			key = 0 0 0 1.186726
			key = 0.072 0.092 1.339822 1.339822
			key = 0.337 0.4 0.8976688 0.8976688
			key = 1 1 0.9127604 0
		}
	}
	MODULE
	{
		name = ModuleAnimateHeat
		ThermalAnim = TF1Heat
	}
	MODULE
	{
		name = ModuleAnimateGeneric
		animationName = TF1ThrustReverser
		startEventGUIName = #autoLOC_502015 //#autoLOC_502015 = Reverse Thrust
		endEventGUIName = #autoLOC_502016 //#autoLOC_502016 = Forward Thrust
		actionGUIName = #autoLOC_502017 //#autoLOC_502017 = Toggle Thrust Reverser
	}
	MODULE
	{
		name = ModuleAlternator
		RESOURCE
		{
			name = ElectricCharge
			rate = 4
		}
	}
	MODULE
	{
		name = ModuleTestSubject
		useStaging = True
		useEvent = True
		situationMask = 15
		CONSTRAINT
		{
			type = OXYGEN
			value = True
		}
		CONSTRAINT
		{
			type = SPEEDENV
			test = LT
			value = 200
			prestige = Trivial
		}
		CONSTRAINT
		{
			type = SPEEDENV
			test = GT
			value = 100
			prestige = Trivial
		}
		CONSTRAINT
		{
			type = SPEEDENV
			test = LT
			value = 100
			prestige = Significant
		}
		CONSTRAINT
		{
			type = SPEEDENV
			test = GT
			value = 50
			prestige = Significant
		}
		CONSTRAINT
		{
			type = SPEEDENV
			test = LT
			value = 50
			prestige = Exceptional
		}
		CONSTRAINT
		{
			type = SPEEDENV
			test = GT
			value = 20
			prestige = Exceptional
		}
		CONSTRAINT
		{
			type = SPEED
			test = LT
			value = 300
			situationMask = 8
		}
		CONSTRAINT
		{
			type = SPEED
			test = GT
			value = 50
			situationMask = 8
		}
		CONSTRAINT
		{
			type = DENSITY
			test = GT
			value = 0.3
			situationMask = 8
			prestige = Trivial
		}
		CONSTRAINT
		{
			type = DENSITY
			test = GT
			value = 0.1
			situationMask = 8
			prestige = Significant
		}
		CONSTRAINT
		{
			type = DENSITY
			test = GT
			value = 0.05
			situationMask = 8
			prestige = Exceptional
		}
		CONSTRAINT
		{
			type = ALTITUDEENV
			test = GT
			value = 4000
			prestige = Trivial
		}
		CONSTRAINT
		{
			type = ALTITUDEENV
			test = LT
			value = 8000
			prestige = Trivial
		}
		CONSTRAINT
		{
			type = ALTITUDEENV
			test = GT
			value = 1000
			prestige = Significant
		}
		CONSTRAINT
		{
			type = ALTITUDEENV
			test = LT
			value = 2000
			prestige = Significant
		}
		CONSTRAINT
		{
			type = ALTITUDEENV
			test = GT
			value = 500
			prestige = Exceptional
		}
		CONSTRAINT
		{
			type = ALTITUDEENV
			test = LT
			value = 1000
			prestige = Exceptional
		}
		CONSTRAINT
		{
			type = REPEATABILITY
			value = ALWAYS
			prestige = Trivial
		}
		CONSTRAINT
		{
			type = REPEATABILITY
			value = BODYANDSITUATION
			prestige = Significant
		}
		CONSTRAINT
		{
			type = REPEATABILITY
			value = ONCEPERPART
			prestige = Exceptional
		}
	}
	MODULE
	{
		name = ModuleSurfaceFX
		thrustProviderModuleIndex = 0
		fxMax = 0.5
		maxDistance = 20
		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 1.5
				pitch = 0.0 0.3
				pitch = 1.0 0.5
				loop = true
			}
			PREFAB_PARTICLE
			{
				prefabName = fx_smokeTrail_light
				transformName = thrustTransformFX
				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.2
				volume = 1.0 0.45
				pitch = 0.0 0.3
				pitch = 0.05 0.5
				pitch = 1.0 0.65
				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 = thrustTransformFX
				oneShot = true
			}
			AUDIO
			{
				channel = Ship
				clip = sound_explosion_low
				volume = 1.0
				pitch = 2.0
				loop = false
			}
		}
	}	
	MODULE
	{
		name = ModuleCargoPart	
		stackableQuantity = 1
		packedVolume = -1
	}
}