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...")
 
m (Update to 1.4)
 
(6 intermediate revisions by 2 users not shown)
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
 
// 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 ---
 
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
+
name = stackDecoupler
    ejectionForce = 250
+
module = Part
explosiveNodeID = top
+
author = NovaSilisko
 +
mesh = model.mu
 +
scale = 1
 +
rescaleFactor = 1
 +
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
 +
buoyancy = 0.1
 +
fx_gasBurst_white = 0.0, 0.0650517, 0.0, 0.0, 1.0, 0.0, decouple
 +
sound_vent_large = decouple
 +
TechRequired = engineering101
 +
TechHidden = True
 +
entryCost = 1200
 +
cost = 400
 +
category = none
 +
subcategory = 0
 +
title = #autoLOC_500835 //#autoLOC_500835 = TR-18A Stack Decoupler
 +
manufacturer = #autoLOC_501629 //#autoLOC_501629 = O.M.B. Demolition Enterprises
 +
description = #autoLOC_500836 //#autoLOC_500836 = 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.
 +
attachRules = 1,0,1,1,0
 +
mass = 0.05
 +
dragModelType = default
 +
maximum_drag = 0.2
 +
minimum_drag = 0.2
 +
angularDrag = 2
 +
crashTolerance = 9
 +
maxTemp = 2000 // = 3400
 +
fuelCrossFeed = False
 +
stageOffset = 1
 +
childStageOffset = 1
 +
bulkheadProfiles = size1
 +
tags = #autoLOC_500837 //#autoLOC_500837 = break decouple separat split stag
 +
DRAG_CUBE
 +
{
 +
cube = Default, 0.3840669,0.7586023,0.765933, 0.3840669,0.7586111,0.765933, 1.250829,0.890376,0.2939519, 1.250829,0.9989504,0.1118914, 0.3840669,0.7559006,0.7659331, 0.3840669,0.7590505,0.7659331, 0,7.82311E-09,-9.325873E-16, 1.337897,0.2835982,1.337897
 +
}
 +
MODULE
 +
{
 +
name = ModuleDecouple
 +
ejectionForce = 250
 +
explosiveNodeID = top
 +
}
 +
MODULE
 +
{
 +
name = ModuleToggleCrossfeed
 +
crossfeedStatus = false
 +
toggleEditor = true
 +
toggleFlight = true
 +
}
 
}
 
}
</pre>
+
 
 +
}}

Latest revision as of 14:26, 10 March 2018

This is the configuration file for TR-18A Stack Decoupler.
PART
{
	name = stackDecoupler
	module = Part
	author = NovaSilisko
	mesh = model.mu
	scale = 1
	rescaleFactor = 1
	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
	buoyancy = 0.1
	fx_gasBurst_white = 0.0, 0.0650517, 0.0, 0.0, 1.0, 0.0, decouple
	sound_vent_large = decouple
	TechRequired = engineering101
	TechHidden = True
	entryCost = 1200
	cost = 400
	category = none
	subcategory = 0
	title = #autoLOC_500835 //#autoLOC_500835 = TR-18A Stack Decoupler
	manufacturer = #autoLOC_501629 //#autoLOC_501629 = O.M.B. Demolition Enterprises
	description = #autoLOC_500836 //#autoLOC_500836 = 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.
	attachRules = 1,0,1,1,0
	mass = 0.05
	dragModelType = default
	maximum_drag = 0.2
	minimum_drag = 0.2
	angularDrag = 2
	crashTolerance = 9
	maxTemp = 2000 // = 3400
	fuelCrossFeed = False
	stageOffset = 1
	childStageOffset = 1
	bulkheadProfiles = size1
	tags = #autoLOC_500837 //#autoLOC_500837 = break decouple separat split stag
	DRAG_CUBE
	{
		cube = Default, 0.3840669,0.7586023,0.765933, 0.3840669,0.7586111,0.765933, 1.250829,0.890376,0.2939519, 1.250829,0.9989504,0.1118914, 0.3840669,0.7559006,0.7659331, 0.3840669,0.7590505,0.7659331, 0,7.82311E-09,-9.325873E-16, 1.337897,0.2835982,1.337897
	}
	MODULE
	{
		name = ModuleDecouple
		ejectionForce = 250
		explosiveNodeID = top
	}
	MODULE
	{
		name = ModuleToggleCrossfeed
		crossfeedStatus = false
		toggleEditor = true
		toggleFlight = true
	}
}