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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (*update to 0.90.0;)
m (Update config)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Part config|Basic Jet Engine|2=PART
+
{{Part config|J-33 "Wheesley" Turbofan Engine|2=PART
 
{
 
{
// Kerbal Space Program - Part Config
+
name = JetEngine
// Basic Jet Engine
+
module = Part
//
+
author = Porkjet
 
+
//mesh = turboFanSize1.mu
// --- general parameters ---
+
MODEL
name = JetEngine
+
{
module = Part
+
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
 
+
// scale = 0.8, 0.6, 0.8
// --- node definitions ---
+
// //rotation = 0, 0, 0
node_stack_top = 0.0, 0.7783, 0.0, 0.0, 1.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
// --- FX definitions ---
+
TechRequired = aerodynamicSystems
 
+
entryCost = 4000
fx_exhaustLight_blue = 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, power
+
cost = 1400
fx_smokeTrail_light  = 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, power
+
category = Engine
fx_exhaustSparks_flameout = 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, flameout
+
subcategory = 0
 
+
title = #autoLOC_500409 //#autoLOC_500409 = J-33 "Wheesley" Turbofan Engine
// --- Sound FX definition ---
+
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.
sound_vent_medium = engage
+
attachRules = 1,0,1,0,0
sound_jet_low = running
+
mass = 1.5
sound_jet_deep = power
+
heatConductivity = 0.06 // half default
sound_vent_soft = disengage
+
skinInternalConductionMult = 4.0
sound_explosion_low = flameout
+
emissiveConstant = 0.8 // engine nozzles are good at radiating.
 
+
dragModelType = default
// --- editor parameters ---
+
maximum_drag = 0.2
TechRequired = aerodynamicSystems
+
minimum_drag = 0.2
entryCost = 4000
+
angularDrag = 2
cost = 950
+
crashTolerance = 7
category = Engine
+
maxTemp = 2000 // = 3600
subcategory = 0
+
bulkheadProfiles = size1
title = Basic Jet Engine
+
tags = #autoLOC_500411 //#autoLOC_500411 = aircraft jet plane propuls reverse (wheesley
manufacturer = C7 Aerospace Division
+
MODULE
description = A standard air breathing engine. This model utilizes limited range thrust vectoring. This engine works best at low cruising speeds and altitudes.
+
{
 
+
name = ModuleEnginesFX
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
+
engineID = Cruise
attachRules = 1,0,1,0,0
+
thrustVectorTransformName = thrustTransform
 
+
exhaustDamage = True
// --- standard part parameters ---
+
ignitionThreshold = 0.1
mass = 1
+
minThrust = 0
dragModelType = default
+
maxThrust = 120
maximum_drag = 0.2
+
heatProduction = 40
minimum_drag = 0.2
+
useEngineResponseTime = True
angularDrag = 2
+
engineAccelerationSpeed = 0.12
crashTolerance = 7
+
engineDecelerationSpeed = 0.5
maxTemp = 3600
+
fxOffset = 0, 0, 0.74
 
+
flameoutEffectName = flameout
 
+
powerEffectName = running_thrust
MODULE
+
engageEffectName = engage
{
+
disengageEffectName = disengage
name = ModuleEngines
+
spoolEffectName = running_turbine
thrustVectorTransformName = thrustTransform
+
engineSpoolIdle = 0.05
exhaustDamage = True
+
engineSpoolTime = 2.0
ignitionThreshold = 0.1
+
EngineType = Turbine
minThrust = 0
+
exhaustDamageMultiplier = 5
maxThrust = 150
+
clampPropReceived = True
heatProduction = 350
+
PROPELLANT
useEngineResponseTime = True
+
{
        engineAccelerationSpeed = 0.12
+
name = IntakeAir
    engineDecelerationSpeed = 0.21
+
ignoreForIsp = True
useVelocityCurve = True
+
ratio = 127
fxOffset = 0, 0, 0.74
+
}
PROPELLANT
+
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 = LiquidFuel
+
name = ModuleAlternator
        ratio = 1
+
RESOURCE
DrawGauge = True
+
{
 +
name = ElectricCharge
 +
rate = 4
 +
}
 
}
 
}
PROPELLANT
+
MODULE
 
{
 
{
name = IntakeAir
+
name = ModuleTestSubject
ratio = 15
+
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
 +
}
 
}
 
}
atmosphereCurve
+
MODULE
{
 
key = 0 1000
 
key = 0.3 1800
 
key = 1 2000
 
}
 
velocityCurve
 
 
{
 
{
key = 1000 0 0 0
+
name = ModuleSurfaceFX
key = 850 0.2 0 0
+
thrustProviderModuleIndex = 0
key = 0 1 0 0
+
fxMax = 0.5
 +
maxDistance = 20
 +
falloff = 2
 +
thrustTransformName = thrustTransform
 
}
 
}
}
+
EFFECTS
 
+
{
MODULE
+
running_thrust
{
+
{
name = ModuleAnimateHeat
+
AUDIO
ThermalAnim = HeatAnimationEmissiveJet
+
{
}
+
channel = Ship
 
+
clip = sound_jet_deep
MODULE
+
volume = 0.0 0.0
{
+
volume = 0.05 0.4
name = ModuleGimbal
+
volume = 1.0 1.5
gimbalTransformName = thrustTransform
+
pitch = 0.0 0.3
gimbalRange = 1
+
pitch = 1.0 0.5
}
+
loop = true
 
+
}
MODULE
+
PREFAB_PARTICLE
{
+
{
name = ModuleAlternator
+
prefabName = fx_smokeTrail_light
RESOURCE
+
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 = ElectricCharge
+
name = ModuleCargoPart
rate = 4
+
stackableQuantity = 1
 +
packedVolume = -1
 
}
 
}
 
}
 
}
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 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
	}
}