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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (*update to 0.24.2;)
m (*update to 1.0.4;)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Part config|LFB KR-1x2|2=PART
+
{{Part config|LFB KR-1x2 "Twin-Boar" Liquid Fuel Engine|2=PART
 
{
 
{
// this is a sample config file, for determining a good file format for defining part parameters
+
name = Size2LFB
// 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 = Size2LFB.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,4.356,0.0, 0.0, 1.0, 0.0, 2
// conversely, if a keyword is left unassigned (as in not in the file), it will be initialized with it's default value
+
node_attach = 1.304782,0.0, 0.0, 1.0, 0.0, 0.0
// 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)
+
mass = 10.5
 
+
// heatConductivity = 0.06 // half default
 
+
skinInternalConductionMult = 4.0
// --- general parameters ---
+
emissiveConstant = 0.8 // engine nozzles are good at radiating.
name = Size2LFB
+
dragModelType = default
module = Part
+
maximum_drag = 0.2
author = Squad
+
minimum_drag = 0.2
 
+
angularDrag = 2
// --- asset parameters ---
+
breakingForce = 200
mesh = Size2LFB.mu
+
breakingTorque = 200
scale = 1.0
+
crashTolerance = 20
rescaleFactor = 1
+
maxTemp = 2000 // = 3600
 
+
TechRequired = heavierRocketry
// --- node definitions ---
+
entryCost = 65000
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
+
cost = 17000
 
+
category = Propulsion
node_stack_top = 0.0,4.356,0.0, 0.0, 1.0, 0.0, 2
+
subcategory = 0
node_attach = 1.304782,0.0, 0.0, 1.0, 0.0, 0.0
+
title = LFB KR-1x2 "Twin-Boar" Liquid Fuel Engine
 
+
manufacturer = Kerbodyne
 
+
description = This liquid fuel booster system is a very purposeful piece of engineering. Instead of relying on single engines or solid rocket boosters, the KR-1x2 employs two modified KR-1 engine, fed by a built-in fuel system, as the source of its immense lifting power. All that self-contained goodness comes at the cost of not having a mounting point for its underside, and not being quite as efficient as dedicated engines. It also comes at quite a literal cost as well.
// --- editor parameters ---
+
attachRules = 1,1,1,1,0
mass = 10.0
+
bulkheadProfiles = size2, srf
dragModelType = default  
+
RESOURCE
maximum_drag = 0.2  
+
{
minimum_drag = 0.2  
+
name = LiquidFuel
angularDrag = 2  
+
amount = 2880
breakingForce = 200
+
maxAmount = 2880
breakingTorque = 200
+
}
crashTolerance = 20  
+
RESOURCE
maxTemp = 3600
+
{
 
+
name = Oxidizer
 
+
amount = 3520
TechRequired = heavierRocketry
+
maxAmount = 3520
entryCost = 65000
+
}
cost = 16400
+
EFFECTS
category = Propulsion
+
{
subcategory = 0
+
running_closed
title = LFB KR-1x2
+
{
manufacturer = Kerbodyne
+
AUDIO
description = This liquid fuel booster system is a very purposeful piece of engineering. Instead of relying on single engines or solid rocket boosters, the KR-1x2 employs two modified KR-1 engine, fed by a built-in fuel system, as the source of its immense lifting power. All that self-contained goodness comes at the cost of not having a mounting point for its underside, and not being quite as efficient as dedicated engines. It also comes at quite a literal cost as well.
+
{
 
+
channel = Ship
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
+
clip = sound_rocket_spurts
attachRules = 1,1,1,1,0
+
volume = 0.0 0.0
 
+
volume = 1.0 1.0
RESOURCE
+
pitch = 0.0 0.2
{
+
pitch = 1.0 1.0
name = LiquidFuel
+
loop = true
amount = 2880
+
}
maxAmount = 2880
+
PREFAB_PARTICLE
}
+
{
 
+
prefabName = fx_smokeTrail_veryLarge
RESOURCE
+
transformName = smokePoint
{
+
emission = 0.0 0.0
name = Oxidizer
+
emission = 0.05 0.0
amount = 3520
+
emission = 0.075 0.25
maxAmount = 3520
+
emission = 1.0 1.25
}
+
speed = 0.0 0.25
 
+
speed = 1.0 1.0
 
+
localOffset = 0, 0, 1
EFFECTS
+
}
{
+
MODEL_MULTI_PARTICLE
  running_closed
+
{
  {
+
modelName = Squad/FX/ks1_Exhaust
    AUDIO
+
transformName = thrustTransform
    {
+
emission = 0.0 0.0
      channel = Ship
+
emission = 0.05 0.0
      clip = sound_rocket_spurts
+
emission = 0.075 0.25
      volume = 0.0 0.0
+
emission = 1.0 1.25
      volume = 1.0 1.0
+
speed = 0.0 0.5
      pitch = 0.0 0.2
+
speed = 1.0 1.2
      pitch = 1.0 1.0
+
}
      loop = true
+
}
    }
+
engage
    PREFAB_PARTICLE
+
{
    {
+
AUDIO
      prefabName = fx_smokeTrail_veryLarge
+
{
      transformName = smokePoint
+
channel = Ship
      emission = 0.0 0.0
+
clip = sound_vent_soft
      emission = 0.05 0.0
+
volume = 1.0
      emission = 0.075 0.25
+
pitch = 2.0
      emission = 1.0 1.25
+
loop = false
      speed = 0.0 0.25
+
}
      speed = 1.0 1.0
+
}
      localOffset = 0, 0, 1
+
flameout
    }
+
{
    MODEL_MULTI_PARTICLE
+
PREFAB_PARTICLE
    {
+
{
      modelName = Squad/FX/ks1_Exhaust
+
prefabName = fx_exhaustSparks_flameout_2
      transformName = thrustTransform
+
transformName = smokePoint
      emission = 0.0 0.0
+
oneShot = true
      emission = 0.05 0.0
+
}
      emission = 0.075 0.25
+
AUDIO
      emission = 1.0 1.25
+
{
      speed = 0.0 0.5
+
channel = Ship
      speed = 1.0 1.2
+
clip = sound_explosion_low
    }
+
volume = 1.0
  }
+
pitch = 2.0
  engage
+
loop = false
  {
+
}
    AUDIO
+
}
    {
+
}
      channel = Ship
+
MODULE
      clip = sound_vent_soft
+
{
      volume = 1.0
+
name = ModuleEnginesFX
      pitch = 2.0
+
engineID = KSLFB
      loop = false
+
runningEffectName = running_closed
    }
+
thrustVectorTransformName = thrustPoint
  }
+
exhaustDamage = True
  flameout
+
ignitionThreshold = 0.1
  {
+
minThrust = 0
    PREFAB_PARTICLE
+
maxThrust = 2000
    {
+
heatProduction = 375
      prefabName = fx_exhaustSparks_flameout_2
+
fxOffset = 0, 0, 0.25
      transformName = smokePoint
+
EngineType = SolidBooster
      oneShot = true
+
PROPELLANT
    }
+
{
    AUDIO
+
name = LiquidFuel
    {
+
ratio = 0.9
      channel = Ship
+
DrawGauge = True
      clip = sound_explosion_low
+
}
      volume = 1.0
+
PROPELLANT
      pitch = 2.0
+
{
      loop = false
+
name = Oxidizer
    }
+
ratio = 1.1
  }
+
}
}
+
atmosphereCurve
MODULE
+
{
{
+
key = 0 300
name = ModuleEnginesFX
+
key = 1 280
engineID = KSLFB
+
key = 9 0.001
runningEffectName = running_closed
+
}
thrustVectorTransformName = thrustPoint
+
}
exhaustDamage = True
+
MODULE
ignitionThreshold = 0.1
+
{
minThrust = 0
+
name = ModuleGimbal
maxThrust = 2000
+
gimbalTransformName = obj_gimbal
heatProduction = 400
+
gimbalRange = 1.5
fxOffset = 0, 0, 0.25
+
}
PROPELLANT
+
MODULE
 +
{
 +
name = ModuleAnimateHeat
 +
ThermalAnim = HeatAnimationLFB
 +
}
 +
MODULE
 +
{
 +
name = FlagDecal
 +
textureQuadName = FlagTransform
 +
}
 +
MODULE
 
{
 
{
name = LiquidFuel
+
name = ModuleTestSubject
        ratio = 0.9
+
environments = 15
DrawGauge = True
+
useStaging = True
 +
useEvent = True
 
}
 
}
PROPELLANT
+
MODULE
 
{
 
{
name = Oxidizer
+
name = ModuleSurfaceFX
ratio = 1.1
+
thrustProviderModuleIndex = 0
 +
fxMax = 0.8
 +
maxDistance = 50
 +
falloff = 1.8
 +
thrustTransformName = thrustPoint
 
}
 
}
atmosphereCurve
 
{
 
key = 0 340
 
  key = 1 290
 
}
 
 
}
 
 
MODULE
 
{
 
name = ModuleGimbal
 
gimbalTransformName = obj_gimbal
 
gimbalRange = 0.5
 
}
 
 
MODULE
 
{
 
      name = ModuleAnimateHeat
 
      ThermalAnim = HeatAnimationLFB
 
}
 
 
MODULE
 
{
 
      name = FlagDecal
 
      textureQuadName = FlagTransform
 
}
 
 
MODULE
 
{
 
name = ModuleTestSubject
 
 
// nowhere: 0, srf: 1, ocean: 2, atmo: 4, space: 8
 
environments = 15
 
 
useStaging = True
 
useEvent = True
 
 
}
 
}
  
}
 
 
}}
 
}}

Latest revision as of 12:25, 27 June 2015

This is the configuration file for LFB KR-1x2 "Twin-Boar" Liquid Fuel Engine.
PART
{
	name = Size2LFB
	module = Part
	author = Squad
	mesh = Size2LFB.mu
	scale = 1.0
	rescaleFactor = 1
	node_stack_top = 0.0,4.356,0.0, 0.0, 1.0, 0.0, 2
	node_attach = 1.304782,0.0, 0.0, 1.0, 0.0, 0.0
	mass = 10.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
	breakingForce = 200
	breakingTorque = 200
	crashTolerance = 20
	maxTemp = 2000 // = 3600
	TechRequired = heavierRocketry
	entryCost = 65000
	cost = 17000
	category = Propulsion
	subcategory = 0
	title = LFB KR-1x2 "Twin-Boar" Liquid Fuel Engine
	manufacturer = Kerbodyne
	description = This liquid fuel booster system is a very purposeful piece of engineering. Instead of relying on single engines or solid rocket boosters, the KR-1x2 employs two modified KR-1 engine, fed by a built-in fuel system, as the source of its immense lifting power. All that self-contained goodness comes at the cost of not having a mounting point for its underside, and not being quite as efficient as dedicated engines. It also comes at quite a literal cost as well.
	attachRules = 1,1,1,1,0
	bulkheadProfiles = size2, srf
	RESOURCE
	{
		name = LiquidFuel
		amount = 2880
		maxAmount = 2880
	}
	RESOURCE
	{
		name = Oxidizer
		amount = 3520
		maxAmount = 3520
	}
	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/ks1_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
			}
		}
		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 = KSLFB
		runningEffectName = running_closed
		thrustVectorTransformName = thrustPoint
		exhaustDamage = True
		ignitionThreshold = 0.1
		minThrust = 0
		maxThrust = 2000
		heatProduction = 375
		fxOffset = 0, 0, 0.25
		EngineType = SolidBooster
		PROPELLANT
		{
			name = LiquidFuel
			ratio = 0.9
			DrawGauge = True
		}
		PROPELLANT
		{
			name = Oxidizer
			ratio = 1.1
		}
		atmosphereCurve
		{
			key = 0 300
			key = 1 280
			key = 9 0.001
		}
	}
	MODULE
	{
		name = ModuleGimbal
		gimbalTransformName = obj_gimbal
		gimbalRange = 1.5
	}
	MODULE
	{
		name = ModuleAnimateHeat
		ThermalAnim = HeatAnimationLFB
	}
	MODULE
	{
		name = FlagDecal
		textureQuadName = FlagTransform
	}
	MODULE
	{
		name = ModuleTestSubject
		environments = 15
		useStaging = True
		useEvent = True
	}
	MODULE
	{
		name = ModuleSurfaceFX
		thrustProviderModuleIndex = 0
		fxMax = 0.8
		maxDistance = 50
		falloff = 1.8
		thrustTransformName = thrustPoint
	}
}