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

From Kerbal Space Program Wiki
Jump to: navigation, search
(Created page with "{{Part config|LFB KR-1x2|2=PART { // this is a sample config file, for determining a good file format for defining part parameters // comment line - ignored by cfg parser // e...")
 
m (*update to 0.24.2;)
Line 43: Line 43:
 
TechRequired = heavierRocketry
 
TechRequired = heavierRocketry
 
entryCost = 65000
 
entryCost = 65000
cost = 5900
+
cost = 16400
 
category = Propulsion
 
category = Propulsion
 
subcategory = 0
 
subcategory = 0
 
title = LFB KR-1x2
 
title = LFB KR-1x2
 
manufacturer = Kerbodyne
 
manufacturer = Kerbodyne
description = This liquid fuel booster system was designed to allow for finer control of launches, instead of relying solely on single engine solid rocket boosters.It employs two modified KR-1 engines as the source of its immense lifting power.
+
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.
  
 
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
 
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
Line 150: Line 150:
 
{
 
{
 
name = LiquidFuel
 
name = LiquidFuel
        ratio = 0.9
+
        ratio = 0.9
 
DrawGauge = True
 
DrawGauge = True
 
}
 
}
Line 160: Line 160:
 
atmosphereCurve
 
atmosphereCurve
 
  {
 
  {
  key = 0 360
+
key = 0 340
   key = 1 320
+
   key = 1 290
 
  }
 
  }
 
 
Line 183: Line 183:
 
       name = FlagDecal
 
       name = FlagDecal
 
       textureQuadName = FlagTransform
 
       textureQuadName = FlagTransform
 +
}
 +
 +
MODULE
 +
{
 +
name = ModuleTestSubject
 +
 +
// nowhere: 0, srf: 1, ocean: 2, atmo: 4, space: 8
 +
environments = 15
 +
 +
useStaging = True
 +
useEvent = True
 
}
 
}
  
 
}
 
}
 
}}
 
}}

Revision as of 00:15, 12 August 2014

This is the configuration file for LFB KR-1x2.
PART
{
// this is a sample config file, for determining a good file format for defining part parameters
// comment line - ignored by cfg parser
// empty lines, or lines without a '=' sign are also ignored
// all other lines are split at the '=' sign, and the left operand is used to know what parameter we are setting
// diferent parameters require data in different formats (see docs), and each module has it's own parameters (again, see docs)
// each assignment must be in a single line. Lines without assignments will be ignored. (You CAN turn on word wrap, though)
// each keyword here relates to an existing variable in the assigned module. If the keyword isn't found, it is ignored.
// conversely, if a keyword is left unassigned (as in not in the file), it will be initialized with it's default value
// 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)


// --- general parameters ---
name = Size2LFB
module = Part
author = Squad

// --- asset parameters ---
mesh = Size2LFB.mu
scale = 1.0
rescaleFactor = 1

// --- node definitions ---
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z

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


// --- editor parameters ---
mass = 10.0
dragModelType = default 
maximum_drag = 0.2 
minimum_drag = 0.2 
angularDrag = 2 
breakingForce = 200
breakingTorque = 200
crashTolerance = 20 
maxTemp = 3600


TechRequired = heavierRocketry
entryCost = 65000
cost = 16400
category = Propulsion
subcategory = 0
title = LFB KR-1x2
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.

// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
attachRules = 1,1,1,1,0

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 = 400
	fxOffset = 0, 0, 0.25
	PROPELLANT
	{
	 	name = LiquidFuel
        ratio = 0.9
		DrawGauge = True
	}
	PROPELLANT
	{
	 name = Oxidizer
	 ratio = 1.1
	}
	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
}

}