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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (ArnePeirs moved page Parts/Engine/jetEngineBasic/jetEngineBasic.cfg to Parts/Engine/jetEngines/jetEngineBasic.cfg without leaving a redirect: Correct path)
m (Update config)
 
Line 1: Line 1:
{{Part config|J-33 "Wheesley" Basic Jet Engine|2=PART
+
{{Part config|J-33 "Wheesley" Turbofan Engine|2=PART
 
{
 
{
 
name = JetEngine
 
name = JetEngine
 
module = Part
 
module = Part
author = C. Jenkins
+
author = Porkjet
mesh = model.mu
+
//mesh = turboFanSize1.mu
node_stack_top = 0.0, 0.7783, 0.0, 0.0, 1.0, 0.0
+
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
 
CoMOffset = 0.0, 2.3, 0.0
TechRequired = aviation
+
TechRequired = aerodynamicSystems
 
entryCost = 4000
 
entryCost = 4000
cost = 950
+
cost = 1400
 
category = Engine
 
category = Engine
 
subcategory = 0
 
subcategory = 0
title = J-33 "Wheesley" Basic Jet Engine
+
title = #autoLOC_500409 //#autoLOC_500409 = J-33 "Wheesley" Turbofan Engine
manufacturer = C7 Aerospace Division
+
manufacturer = #autoLOC_501624 //#autoLOC_501624 = C7 Aerospace Division
description = A standard air breathing engine. This model utilizes limited range thrust vectoring. This engine works best at low cruising speeds and altitudes.
+
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
 
attachRules = 1,0,1,0,0
 
mass = 1.5
 
mass = 1.5
// heatConductivity = 0.06 // half default
+
heatConductivity = 0.06 // half default
 
skinInternalConductionMult = 4.0
 
skinInternalConductionMult = 4.0
 
emissiveConstant = 0.8 // engine nozzles are good at radiating.
 
emissiveConstant = 0.8 // engine nozzles are good at radiating.
Line 27: Line 39:
 
maxTemp = 2000 // = 3600
 
maxTemp = 2000 // = 3600
 
bulkheadProfiles = size1
 
bulkheadProfiles = size1
 +
tags = #autoLOC_500411 //#autoLOC_500411 = aircraft jet plane propuls reverse (wheesley
 
MODULE
 
MODULE
 
{
 
{
Line 35: Line 48:
 
ignitionThreshold = 0.1
 
ignitionThreshold = 0.1
 
minThrust = 0
 
minThrust = 0
maxThrust = 80
+
maxThrust = 120
 
heatProduction = 40
 
heatProduction = 40
 
useEngineResponseTime = True
 
useEngineResponseTime = True
Line 49: Line 62:
 
engineSpoolTime = 2.0
 
engineSpoolTime = 2.0
 
EngineType = Turbine
 
EngineType = Turbine
 +
exhaustDamageMultiplier = 5
 +
clampPropReceived = True
 +
PROPELLANT
 +
{
 +
name = IntakeAir
 +
ignoreForIsp = True
 +
ratio = 127
 +
}
 
PROPELLANT
 
PROPELLANT
 
{
 
{
 
name = LiquidFuel
 
name = LiquidFuel
resourceFlowMode = STAGE_PRIORITY_FLOW
+
resourceFlowMode = STAGE_STACK_FLOW_BALANCE
 
ratio = 1
 
ratio = 1
 
DrawGauge = True
 
DrawGauge = True
}
 
PROPELLANT
 
{
 
name = IntakeAir
 
ignoreForIsp = True
 
ratio = 11
 
 
}
 
}
 
atmosphereCurve
 
atmosphereCurve
 
{
 
{
key = 0 9600 0 0
+
key = 0 10500 0 0
 
}
 
}
 
// Jet params
 
// Jet params
Line 71: Line 86:
 
useAtmCurve = True
 
useAtmCurve = True
 
flameoutBar = 0.02
 
flameoutBar = 0.02
machLimit = 0.75
+
flowCapMult = 1.0
machHeatMult = 3.5
+
machLimit = 0.85
 +
machHeatMult = 25
 
velCurve
 
velCurve
 
{
 
{
key = 0 1 0 -0.125804
+
key = 0 1 0 0
key = 0.35 0.96 0 0
+
key = 0.53 0.834 0 0
key = 1.05 1.2 0.5409369 0.5409369
+
key = 1.3 0.96 0 0
key = 1.67 1.7 0 0
+
key = 1.674 0.843 -0.876726 -0.876726
key = 2.15 1.1 -3.49991 -3.49991
+
key = 2.5 0 0 0
key = 2.3 0.5 -3.164169 -3.164169
 
key = 2.5 0 0.004306508 0
 
 
}
 
}
 
atmCurve
 
atmCurve
 
{
 
{
key = 0 0 0 0
+
key = 0 0 0 1.186726
key = 0.1 0.1 1.276916 1.276916
+
key = 0.072 0.092 1.339822 1.339822
key = 0.297 0.35 1.304143 1.304143
+
key = 0.337 0.4 0.8976688 0.8976688
key = 0.538 0.59 0.8485174 0.8485174
+
key = 1 1 0.9127604 0
key = 1 1 0.8554117 0
 
 
}
 
}
 
}
 
}
Line 95: Line 108:
 
{
 
{
 
name = ModuleAnimateHeat
 
name = ModuleAnimateHeat
ThermalAnim = HeatAnimationEmissiveJet
+
ThermalAnim = TF1Heat
 
}
 
}
 
MODULE
 
MODULE
 
{
 
{
name = ModuleGimbal
+
name = ModuleAnimateGeneric
gimbalTransformName = thrustTransform
+
animationName = TF1ThrustReverser
gimbalRange = 1
+
startEventGUIName = #autoLOC_502015 //#autoLOC_502015 = Reverse Thrust
 +
endEventGUIName = #autoLOC_502016 //#autoLOC_502016 = Forward Thrust
 +
actionGUIName = #autoLOC_502017 //#autoLOC_502017 = Toggle Thrust Reverser
 
}
 
}
 
MODULE
 
MODULE
Line 111: Line 126:
 
rate = 4
 
rate = 4
 
}
 
}
}
 
RESOURCE
 
{
 
name = ElectricCharge
 
amount = 0
 
maxAmount = 0
 
isTweakable = false
 
hideFlow = true
 
 
}
 
}
 
MODULE
 
MODULE
 
{
 
{
 
name = ModuleTestSubject
 
name = ModuleTestSubject
environments = 71
 
 
useStaging = True
 
useStaging = True
 
useEvent = 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
 
MODULE
Line 146: Line 298:
 
volume = 0.0 0.0
 
volume = 0.0 0.0
 
volume = 0.05 0.4
 
volume = 0.05 0.4
volume = 1.0 1.0
+
volume = 1.0 1.5
pitch = 0.0 0.6
+
pitch = 0.0 0.3
pitch = 1.0 1.0
+
pitch = 1.0 0.5
 
loop = true
 
loop = true
 
}
 
}
Line 154: Line 306:
 
{
 
{
 
prefabName = fx_smokeTrail_light
 
prefabName = fx_smokeTrail_light
transformName = thrustTransform
+
transformName = thrustTransformFX
 
emission = 0.0 0.0
 
emission = 0.0 0.0
 
emission = 0.05 0.0
 
emission = 0.05 0.0
Line 172: Line 324:
 
clip = sound_jet_low
 
clip = sound_jet_low
 
volume = 0.0 0.0
 
volume = 0.0 0.0
volume = 0.05 0.7
+
volume = 0.05 0.2
volume = 1.0 1.0
+
volume = 1.0 0.45
pitch = 0.0 0.4
+
pitch = 0.0 0.3
 
pitch = 0.05 0.5
 
pitch = 0.05 0.5
pitch = 1.0 1.0
+
pitch = 1.0 0.65
 
loop = true
 
loop = true
 
}
 
}
Line 207: Line 359:
 
{
 
{
 
prefabName = fx_exhaustSparks_flameout_2
 
prefabName = fx_exhaustSparks_flameout_2
transformName = thrustTransform
+
transformName = thrustTransformFX
 
oneShot = true
 
oneShot = true
 
}
 
}
Line 219: Line 371:
 
}
 
}
 
}
 
}
 +
}
 +
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
	}
}