Difference between revisions of "Parts/Engine/Size3EngineCluster/part.cfg"

From Kerbal Space Program Wiki
Jump to: navigation, search
(+added in 0.24.2;)
 
m (Update config)
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Part config|S3 KS-25x4 Engine Cluster|2=PART
+
{{Part config|S3 KS-25x4 "Mammoth" Liquid Fuel Engine|2=PART
 
{
 
{
// this is a sample config file, for determining a good file format for defining part parameters
+
name = Size3EngineCluster
// comment line - ignored by cfg parser
+
module = Part
// empty lines, or lines without a '=' sign are also ignored
+
author = Squad
// all other lines are split at the '=' sign, and the left operand is used to know what parameter we are setting
+
mesh = Size3EngineCluster.mu
// diferent parameters require data in different formats (see docs), and each module has it's own parameters (again, see docs)
+
scale = 1.0
// each assignment must be in a single line. Lines without assignments will be ignored. (You CAN turn on word wrap, though)
+
rescaleFactor = 1
// each keyword here relates to an existing variable in the assigned module. If the keyword isn't found, it is ignored.
+
node_stack_top = 0.0,1.527248,0.0 , 0.0, 1.0, 0.0, 3
// conversely, if a keyword is left unassigned (as in not in the file), it will be initialized with it's default value
+
mass = 15
// This is done automatically, so any public variable defined in the loaded module can be accessed this way (provided it's value can be parsed)
+
heatConductivity = 0.06 // half default
 
+
skinInternalConductionMult = 4.0
 
+
emissiveConstant = 0.8 // engine nozzles are good at radiating.
// --- general parameters ---
+
dragModelType = default
name = Size3EngineCluster
+
maximum_drag = 0.2
module = Part
+
minimum_drag = 0.2
author = Squad
+
angularDrag = 2
 
+
breakingForce = 400
// --- asset parameters ---
+
breakingTorque = 400
mesh = Size3EngineCluster.mu
+
crashTolerance = 20
scale = 1.0
+
maxTemp = 2000 // = 3600
rescaleFactor = 1
+
TechRequired = veryHeavyRocketry
 
+
entryCost = 115000
// --- node definitions ---
+
cost = 39000
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
+
category = Engine
 
+
subcategory = 0
node_stack_top = 0.0,1.527248,0.0 , 0.0, 1.0, 0.0, 3
+
title = #autoLOC_500478 //#autoLOC_500478 = S3 KS-25x4 "Mammoth" Liquid Fuel Engine
 
+
manufacturer = #autoLOC_501638 //#autoLOC_501638 = Kerbodyne
 
+
description = #autoLOC_500479 //#autoLOC_500479 = Kerbodyne engineers got fed up with having to contend with overly complicated staging arrays for lifting heavy payloads, and decided instead to just build a truly enormous engine of the highest efficiency. Strapping together four of Kerbodyne's KS-25 rocket motors in a single assembly, they created the largest rocket engine in production anywhere, and each KS-25 has the highest chamber pressure--the reason for four small nozzles and combustion chambers, not one big one (those kept going boom). It's certainly got the power to match its size, and although it excels in its main role as a first-stage engine, the lack of structural hardpoints on its underside makes it quite less suitable for other purposes. Its price tag also seems to match its size, in fact.
// --- editor parameters ---
+
attachRules = 1,0,1,1,0
mass = 9.75
+
bulkheadProfiles = size3
dragModelType = default  
+
tags = #autoLOC_500480 //#autoLOC_500480 = ascent launch main (mammoth propuls rocket
maximum_drag = 0.2  
+
EFFECTS
minimum_drag = 0.2  
+
{
angularDrag = 2  
+
running_closed
breakingForce = 400
+
{
breakingTorque = 400
+
AUDIO
crashTolerance = 20  
+
{
maxTemp = 3600
+
channel = Ship
 
+
clip = sound_rocket_spurts
 
+
volume = 0.0 0.0
TechRequired = veryHeavyRocketry
+
volume = 1.0 1.0
entryCost = 65000
+
pitch = 0.0 0.2
cost = 32400
+
pitch = 1.0 1.0
category = Propulsion
+
loop = true
subcategory = 0
+
}
title = S3 KS-25x4 Engine Cluster
+
PREFAB_PARTICLE
manufacturer = Kerbodyne
+
{
description = Kerbodyne engineers got fed up with having to contend with overly complicated staging arrays for lifting heavy payloads, and decided instead to just build a truly enormous engine. Strapping together four of Kerbodyne's KS-25 rocket motors in a single assembly, they created the largest rocket engine in production anywhere. It's certainly got the power to match its size, and although it excels in its main role as a first-stage engine, the lack of structural hardpoints on its underside makes it quite less suitable for other purposes. Its price tag also seems to match its size, in fact.
+
prefabName = fx_smokeTrail_veryLarge
 
+
transformName = smokePoint
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
+
emission = 0.0 0.0
attachRules = 1,0,1,1,0
+
emission = 0.05 0.0
 
+
emission = 0.075 0.25
 
+
emission = 1.0 1.25
EFFECTS
+
speed = 0.0 0.25
{
+
speed = 1.0 1.0
  running_closed
+
localOffset = 0, 0, 1
  {
+
}
    AUDIO
+
MODEL_MULTI_PARTICLE
    {
+
{
      channel = Ship
+
modelName = Squad/FX/ks25_Exhaust
      clip = sound_rocket_spurts
+
transformName = thrustTransform
      volume = 0.0 0.0
+
emission = 0.0 0.0
      volume = 1.0 1.0
+
emission = 0.05 0.0
      pitch = 0.0 0.2
+
emission = 0.075 0.25
      pitch = 1.0 1.0
+
emission = 1.0 1.25
      loop = true
+
speed = 0.0 0.5
    }
+
speed = 1.0 1.2
    PREFAB_PARTICLE
+
localPosition = 0, 0, -0.08
    {
+
}
      prefabName = fx_smokeTrail_veryLarge
+
}
      transformName = smokePoint
+
engage
      emission = 0.0 0.0
+
{
      emission = 0.05 0.0
+
AUDIO
      emission = 0.075 0.25
+
{
      emission = 1.0 1.25
+
channel = Ship
      speed = 0.0 0.25
+
clip = sound_vent_soft
      speed = 1.0 1.0
+
volume = 1.0
      localOffset = 0, 0, 1
+
pitch = 2.0
    }
+
loop = false
    MODEL_MULTI_PARTICLE
+
}
    {
+
}
      modelName = Squad/FX/ks25_Exhaust
+
flameout
      transformName = thrustTransform
+
{
      emission = 0.0 0.0
+
PREFAB_PARTICLE
      emission = 0.05 0.0
+
{
      emission = 0.075 0.25
+
prefabName = fx_exhaustSparks_flameout_2
      emission = 1.0 1.25
+
transformName = smokePoint
      speed = 0.0 0.5
+
oneShot = true
      speed = 1.0 1.2
+
}
    }
+
AUDIO
  }
+
{
  engage
+
channel = Ship
  {
+
clip = sound_explosion_low
    AUDIO
+
volume = 1.0
    {
+
pitch = 2.0
      channel = Ship
+
loop = false
      clip = sound_vent_soft
+
}
      volume = 1.0
+
}
      pitch = 2.0
+
}
      loop = false
+
MODULE
    }
+
{
  }
+
name = ModuleEnginesFX
  flameout
+
engineID = KS25
  {
+
runningEffectName = running_closed
    PREFAB_PARTICLE
+
thrustVectorTransformName = obj_gimbal
    {
+
exhaustDamage = True
      prefabName = fx_exhaustSparks_flameout_2
+
ignitionThreshold = 0.1
      transformName = smokePoint
+
minThrust = 0
      oneShot = true
+
maxThrust = 4000
    }
+
heatProduction = 192
    AUDIO
+
fxOffset = 0, 0, 0.25
    {
+
EngineType = LiquidFuel
      channel = Ship
+
exhaustDamageDistanceOffset = 1.9
      clip = sound_explosion_low
+
PROPELLANT
      volume = 1.0
+
{
      pitch = 2.0
+
name = LiquidFuel
      loop = false
+
ratio = 0.9
    }
+
DrawGauge = True
  }
+
}
}
+
PROPELLANT
MODULE
+
{
{
+
name = Oxidizer
name = ModuleEnginesFX
+
ratio = 1.1
engineID = KS25
+
}
runningEffectName = running_closed
+
atmosphereCurve
thrustVectorTransformName = obj_gimbal
+
{
exhaustDamage = True
+
key = 0 315
ignitionThreshold = 0.1
+
key = 1 295
minThrust = 0
+
key = 12 0.001
maxThrust = 3200
+
}
heatProduction = 400
+
}
fxOffset = 0, 0, 0.25
+
MODULE
PROPELLANT
+
{
 +
name = ModuleAlternator
 +
RESOURCE
 +
{
 +
name = ElectricCharge
 +
rate = 12.0
 +
}
 +
}
 +
MODULE
 +
{
 +
name = ModuleGimbal
 +
gimbalTransformName = obj_gimbal
 +
gimbalRange = 2
 +
}
 +
MODULE
 
{
 
{
name = LiquidFuel
+
name = FXModuleAnimateThrottle
        ratio = 0.9
+
animationName = HeatAnimationClusterEngine
DrawGauge = True
+
responseSpeed = 0.001
 +
dependOnEngineState = True
 +
dependOnThrottle = True
 
}
 
}
PROPELLANT
+
MODULE
 
{
 
{
name = Oxidizer
+
name = ModuleTestSubject
ratio = 1.1
+
useStaging = True
 +
useEvent = True
 +
situationMask = 127
 +
CONSTRAINT
 +
{
 +
type = REPEATABILITY
 +
value = ALWAYS
 +
prestige = Trivial
 +
}
 +
CONSTRAINT
 +
{
 +
type = REPEATABILITY
 +
value = BODYANDSITUATION
 +
prestige = Significant
 +
}
 +
CONSTRAINT
 +
{
 +
type = REPEATABILITY
 +
value = ONCEPERPART
 +
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 = 2000
 +
prestige = Significant
 +
}
 +
CONSTRAINT
 +
{
 +
type = ALTITUDEENV
 +
test = LT
 +
value = 4000
 +
prestige = Significant
 +
}
 +
CONSTRAINT
 +
{
 +
type = ALTITUDEENV
 +
test = GT
 +
value = 1000
 +
prestige = Exceptional
 +
}
 +
CONSTRAINT
 +
{
 +
type = ALTITUDEENV
 +
test = LT
 +
value = 2000
 +
prestige = Exceptional
 +
}
 +
CONSTRAINT
 +
{
 +
type = ALTITUDE
 +
test = GT
 +
value = 0 // this just registers altitude as something to care about
 +
situationMask = 8
 +
}
 +
CONSTRAINT
 +
{
 +
type = ALTITUDE
 +
test = LT
 +
value = 300000
 +
situationMask = 16
 +
body = _NotSun
 +
}
 +
CONSTRAINT
 +
{
 +
type = ALTITUDE
 +
test = LT
 +
value = 600000
 +
situationMask = 32
 +
body = _NotSun
 +
}
 +
CONSTRAINT
 +
{
 +
type = SPEED
 +
test = GT
 +
value = 0
 +
situationMask = 8
 +
prestige = Trivial
 +
}
 +
CONSTRAINT
 +
{
 +
type = SPEED
 +
test = LT
 +
value = 600
 +
situationMask = 8
 +
prestige = Trivial
 +
}
 +
CONSTRAINT
 +
{
 +
type = SPEED
 +
test = GT
 +
value = 300
 +
situationMask = 8
 +
prestige = Significant
 +
}
 +
CONSTRAINT
 +
{
 +
type = SPEED
 +
test = LT
 +
value = 1200
 +
situationMask = 8
 +
prestige = Significant
 +
}
 +
CONSTRAINT
 +
{
 +
type = SPEED
 +
test = GT
 +
value = 600
 +
situationMask = 8
 +
prestige = Exceptional
 +
}
 +
CONSTRAINT
 +
{
 +
type = SPEED
 +
test = LT
 +
value = 2500
 +
situationMask = 8
 +
prestige = Exceptional
 +
}
 +
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
 +
}
 
}
 
}
atmosphereCurve
+
MODULE
{
 
  key = 0 360
 
  key = 1 320
 
}
 
 
}
 
 
 
MODULE
 
{
 
name = ModuleAlternator
 
RESOURCE
 
 
{
 
{
name = ElectricCharge
+
name = ModuleSurfaceFX
rate = 12.0
+
thrustProviderModuleIndex = 0
 +
fxMax = 1
 +
maxDistance = 100
 +
falloff = 1.5
 +
thrustTransformName = obj_gimbal
 
}
 
}
}
 
RESOURCE
 
{
 
name = ElectricCharge
 
amount = 0
 
maxAmount = 0
 
  isTweakable = false
 
hideFlow = true
 
}
 
 
MODULE
 
{
 
name = ModuleGimbal
 
gimbalTransformName = obj_gimbal
 
gimbalRange = 0.5
 
}
 
 
MODULE
 
{
 
      name = ModuleAnimateHeat
 
      ThermalAnim = HeatAnimationClusterEngine
 
}
 
 
MODULE
 
{
 
name = ModuleTestSubject
 
 
// nowhere: 0, srf: 1, ocean: 2, atmo: 4, space: 8
 
environments = 15
 
 
useStaging = True
 
useEvent = True
 
}
 
 
 
}
 
}
 
}}
 
}}

Latest revision as of 16:43, 10 October 2024

This is the configuration file for S3 KS-25x4 "Mammoth" Liquid Fuel Engine.
PART
{
	name = Size3EngineCluster
	module = Part
	author = Squad
	mesh = Size3EngineCluster.mu
	scale = 1.0
	rescaleFactor = 1
	node_stack_top = 0.0,1.527248,0.0 , 0.0, 1.0, 0.0, 3
	mass = 15
	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
	breakingForce = 400
	breakingTorque = 400
	crashTolerance = 20
	maxTemp = 2000 // = 3600
	TechRequired = veryHeavyRocketry
	entryCost = 115000
	cost = 39000
	category = Engine
	subcategory = 0
	title = #autoLOC_500478 //#autoLOC_500478 = S3 KS-25x4 "Mammoth" Liquid Fuel Engine
	manufacturer = #autoLOC_501638 //#autoLOC_501638 = Kerbodyne
	description = #autoLOC_500479 //#autoLOC_500479 = Kerbodyne engineers got fed up with having to contend with overly complicated staging arrays for lifting heavy payloads, and decided instead to just build a truly enormous engine of the highest efficiency. Strapping together four of Kerbodyne's KS-25 rocket motors in a single assembly, they created the largest rocket engine in production anywhere, and each KS-25 has the highest chamber pressure--the reason for four small nozzles and combustion chambers, not one big one (those kept going boom). It's certainly got the power to match its size, and although it excels in its main role as a first-stage engine, the lack of structural hardpoints on its underside makes it quite less suitable for other purposes. Its price tag also seems to match its size, in fact.
	attachRules = 1,0,1,1,0
	bulkheadProfiles = size3
	tags = #autoLOC_500480 //#autoLOC_500480 = ascent launch main (mammoth propuls rocket
	EFFECTS
	{
		running_closed
		{
			AUDIO
			{
				channel = Ship
				clip = sound_rocket_spurts
				volume = 0.0 0.0
				volume = 1.0 1.0
				pitch = 0.0 0.2
				pitch = 1.0 1.0
				loop = true
			}
			PREFAB_PARTICLE
			{
				prefabName = fx_smokeTrail_veryLarge
				transformName = smokePoint
				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
			}
			MODEL_MULTI_PARTICLE
			{
				modelName = Squad/FX/ks25_Exhaust
				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.5
				speed = 1.0 1.2
				localPosition = 0, 0, -0.08
			}
		}
		engage
		{
			AUDIO
			{
				channel = Ship
				clip = sound_vent_soft
				volume = 1.0
				pitch = 2.0
				loop = false
			}
		}
		flameout
		{
			PREFAB_PARTICLE
			{
				prefabName = fx_exhaustSparks_flameout_2
				transformName = smokePoint
				oneShot = true
			}
			AUDIO
			{
				channel = Ship
				clip = sound_explosion_low
				volume = 1.0
				pitch = 2.0
				loop = false
			}
		}
	}
	MODULE
	{
		name = ModuleEnginesFX
		engineID = KS25
		runningEffectName = running_closed
		thrustVectorTransformName = obj_gimbal
		exhaustDamage = True
		ignitionThreshold = 0.1
		minThrust = 0
		maxThrust = 4000
		heatProduction = 192
		fxOffset = 0, 0, 0.25
		EngineType = LiquidFuel
		exhaustDamageDistanceOffset = 1.9
		PROPELLANT
		{
			name = LiquidFuel
			ratio = 0.9
			DrawGauge = True
		}
		PROPELLANT
		{
			name = Oxidizer
			ratio = 1.1
		}
		atmosphereCurve
		{
			key = 0 315
			key = 1 295
			key = 12 0.001
		}
	}
	MODULE
	{
		name = ModuleAlternator
		RESOURCE
		{
			name = ElectricCharge
			rate = 12.0
		}
	}
	MODULE
	{
		name = ModuleGimbal
		gimbalTransformName = obj_gimbal
		gimbalRange = 2
	}
	MODULE
	{
		name = FXModuleAnimateThrottle
		animationName = HeatAnimationClusterEngine
		responseSpeed = 0.001
		dependOnEngineState = True
		dependOnThrottle = True
	}
	MODULE
	{
		name = ModuleTestSubject
		useStaging = True
		useEvent = True
		situationMask = 127
		CONSTRAINT
		{
			type = REPEATABILITY
			value = ALWAYS
			prestige = Trivial
		}
		CONSTRAINT
		{
			type = REPEATABILITY
			value = BODYANDSITUATION
			prestige = Significant
		}
		CONSTRAINT
		{
			type = REPEATABILITY
			value = ONCEPERPART
			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 = 2000
			prestige = Significant
		}
		CONSTRAINT
		{
			type = ALTITUDEENV
			test = LT
			value = 4000
			prestige = Significant
		}
		CONSTRAINT
		{
			type = ALTITUDEENV
			test = GT
			value = 1000
			prestige = Exceptional
		}
		CONSTRAINT
		{
			type = ALTITUDEENV
			test = LT
			value = 2000
			prestige = Exceptional
		}
		CONSTRAINT
		{
			type = ALTITUDE
			test = GT
			value = 0 // this just registers altitude as something to care about
			situationMask = 8
		}
		CONSTRAINT
		{
			type = ALTITUDE
			test = LT
			value = 300000
			situationMask = 16
			body = _NotSun
		}
		CONSTRAINT
		{
			type = ALTITUDE
			test = LT
			value = 600000
			situationMask = 32
			body = _NotSun
		}
		CONSTRAINT
		{
			type = SPEED
			test = GT
			value = 0
			situationMask = 8
			prestige = Trivial
		}
		CONSTRAINT
		{
			type = SPEED
			test = LT
			value = 600
			situationMask = 8
			prestige = Trivial
		}
		CONSTRAINT
		{
			type = SPEED
			test = GT
			value = 300
			situationMask = 8
			prestige = Significant
		}
		CONSTRAINT
		{
			type = SPEED
			test = LT
			value = 1200
			situationMask = 8
			prestige = Significant
		}
		CONSTRAINT
		{
			type = SPEED
			test = GT
			value = 600
			situationMask = 8
			prestige = Exceptional
		}
		CONSTRAINT
		{
			type = SPEED
			test = LT
			value = 2500
			situationMask = 8
			prestige = Exceptional
		}
		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
		}
	}
	MODULE
	{
		name = ModuleSurfaceFX
		thrustProviderModuleIndex = 0
		fxMax = 1
		maxDistance = 100
		falloff = 1.5
		thrustTransformName = obj_gimbal
	}
}