Difference between revisions of "Parts/Utility/decouplerStackTR-18A/decouplerStackTR-18A.cfg"

From Kerbal Space Program Wiki
< Parts‎ | Utility
Jump to: navigation, search
(Created page with "<pre> // 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...")
 
(Updated for 0.23)
Line 1: Line 1:
<pre>
+
{{Part config|TR-18A Stack Decoupler|2=PART
 +
{
 
// this is a sample config file, for determining a good file format for defining part parameters
 
// this is a sample config file, for determining a good file format for defining part parameters
 
// comment line - ignored by cfg parser
 
// comment line - ignored by cfg parser
Line 34: Line 35:
  
 
// --- editor parameters ---
 
// --- editor parameters ---
 +
TechRequired = basicRocketry
 +
entryCost = 1200
 
cost = 600
 
cost = 600
 
category = Structural
 
category = Structural
Line 64: Line 67:
 
explosiveNodeID = top
 
explosiveNodeID = top
 
}
 
}
</pre>
+
 
 +
}
 +
}}

Revision as of 15:21, 24 January 2014

This is the configuration file for TR-18A Stack Decoupler.
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 = stackDecoupler
module = Part
author = NovaSilisko

// --- asset parameters ---
mesh = model.mu
scale = 1
rescaleFactor = 1


// --- node definitions ---
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
node_stack_bottom = 0.0, -0.1329949, 0.0, 0.0, 1.0, 0.0
node_stack_top = 0.0, 0.0650517, 0.0, 0.0, 1.0, 0.0

// --- FX definitions ---

fx_gasBurst_white = 0.0, 0.0650517, 0.0, 0.0, 1.0, 0.0, decouple
sound_vent_large = decouple


// --- editor parameters ---
TechRequired = basicRocketry
entryCost = 1200
cost = 600
category = Structural
subcategory = 0
title = TR-18A Stack Decoupler
manufacturer = O.M.B. Demolition Enterprises
description = The TR-18A Stack Decoupler is equipped with a (hopefully) small explosive charge, that will sever the structural linkage between itself and whatever it's connected to. Painted on its sides are handy arrows indicating which side will detach.

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

// --- standard part parameters ---
mass = 0.05
dragModelType = default
maximum_drag = 0.2
minimum_drag = 0.2
angularDrag = 2
crashTolerance = 9
maxTemp = 3400
fuelCrossFeed = False

stageOffset = 1
childStageOffset = 1


MODULE
{
    name = ModuleDecouple
    ejectionForce = 250
	explosiveNodeID = top
}

}