Difference between revisions of "Parts/Utility/decouplerRadialTT-38K/decouplerRadialTT-38K.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 config)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<pre>
+
{{Part config|TT-38K Radial 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 = radialDecoupler
 
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_attach = 0.01, 0.0, 0.0, 1.0, 0.0, 0.0
 
 
 
// --- FX definitions ---
 
 
 
fx_gasBurst_white = -1.16832, 0.0, -0.0826454, -1.0, 0.0, 0.0, decouple
 
sound_vent_large = decouple
 
 
 
 
 
// --- editor parameters ---
 
cost = 600
 
category = Structural
 
subcategory = 0
 
title = TT-38K Radial Decoupler
 
manufacturer = O.M.B. Demolition Enterprises
 
description = The TT-38K Radial Decoupler, like most other decouplers, is equipped with a (hopefully) small explosive charge, that will sever the structural linkage between itself and whatever it's connected to.
 
 
 
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
 
attachRules = 0,1,0,1,0
 
 
 
// --- standard part parameters ---
 
mass = 0.025
 
dragModelType = default
 
maximum_drag = 0.2
 
minimum_drag = 0.2
 
angularDrag = 1
 
crashTolerance = 8
 
maxTemp = 3200
 
stagingIcon = DECOUPLER_HOR
 
 
 
 
 
stageOffset = 1
 
childStageOffset = 1
 
 
 
 
 
MODULE
 
 
{
 
{
    name = ModuleAnchoredDecoupler
+
name = radialDecoupler
    anchorName = anchor
+
module = Part
    ejectionForce = 250
+
author = NovaSilisko
explosiveNodeID = srf
+
mesh = model.mu
 +
scale = 1
 +
rescaleFactor = 1
 +
node_attach = 0.01, 0.0, 0.0, 1.0, 0.0, 0.0
 +
fx_gasBurst_white = 0.0, 0.0, -0.0826454, -1.0, 0.0, 0.0, decouple
 +
sound_vent_large = decouple
 +
TechRequired = stability
 +
entryCost = 1200
 +
cost = 600
 +
category = Coupling
 +
subcategory = 0
 +
title = #autoLOC_500817 //#autoLOC_500817 = TT-38K Radial Decoupler
 +
manufacturer = #autoLOC_501629 //#autoLOC_501629 = O.M.B. Demolition Enterprises
 +
description = #autoLOC_500818 //#autoLOC_500818 = The TT-38K Radial Decoupler, like most other decouplers, is equipped with a (hopefully) small explosive charge, that will sever the structural linkage between itself and whatever it's connected to.
 +
attachRules = 0,1,0,1,0
 +
mass = 0.025
 +
dragModelType = default
 +
maximum_drag = 0.2
 +
minimum_drag = 0.2
 +
angularDrag = 1
 +
crashTolerance = 8
 +
maxTemp = 2000 // = 3200
 +
stagingIcon = DECOUPLER_HOR
 +
stageOffset = 1
 +
childStageOffset = 1
 +
bulkheadProfiles = srf
 +
tags = #autoLOC_500819 //#autoLOC_500819 = break decouple separat split stag
 +
fuelCrossFeed = False
 +
MODULE
 +
{
 +
name = ModuleAnchoredDecoupler
 +
anchorName = anchor
 +
ejectionForce = 250
 +
explosiveNodeID = srf
 +
}
 +
MODULE
 +
{
 +
name = ModuleToggleCrossfeed
 +
crossfeedStatus = false
 +
toggleEditor = true
 +
toggleFlight = true
 +
techRequired = fuelSystems
 +
}
 +
MODULE
 +
{
 +
name = ModuleTestSubject
 +
useStaging = True
 +
useEvent = False
 +
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 = ALTITUDE
 +
test = GT
 +
value = 0 // this just registers altitude as something to care about
 +
situationMask = 8
 +
}
 +
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 = SPEED
 +
test = LT
 +
value = 2000
 +
situationMask = 8
 +
}
 +
CONSTRAINT
 +
{
 +
type = ALTITUDE
 +
test = LT
 +
value = 300000
 +
situationMask = 16
 +
body = _NotSun
 +
}
 +
CONSTRAINT
 +
{
 +
type = ALTITUDE
 +
test = LT
 +
value = 600000
 +
situationMask = 32
 +
body = _NotSun
 +
}
 +
}
 +
MODULE
 +
{
 +
name = ModuleCargoPart
 +
packedVolume = 120
 +
}
 
}
 
}
</pre>
+
}}

Latest revision as of 13:15, 11 October 2024

This is the configuration file for TT-38K Radial Decoupler.
PART
{
	name = radialDecoupler
	module = Part
	author = NovaSilisko
	mesh = model.mu
	scale = 1
	rescaleFactor = 1
	node_attach = 0.01, 0.0, 0.0, 1.0, 0.0, 0.0
	fx_gasBurst_white = 0.0, 0.0, -0.0826454, -1.0, 0.0, 0.0, decouple
	sound_vent_large = decouple
	TechRequired = stability
	entryCost = 1200
	cost = 600
	category = Coupling
	subcategory = 0
	title = #autoLOC_500817 //#autoLOC_500817 = TT-38K Radial Decoupler
	manufacturer = #autoLOC_501629 //#autoLOC_501629 = O.M.B. Demolition Enterprises
	description = #autoLOC_500818 //#autoLOC_500818 = The TT-38K Radial Decoupler, like most other decouplers, is equipped with a (hopefully) small explosive charge, that will sever the structural linkage between itself and whatever it's connected to.
	attachRules = 0,1,0,1,0
	mass = 0.025
	dragModelType = default
	maximum_drag = 0.2
	minimum_drag = 0.2
	angularDrag = 1
	crashTolerance = 8
	maxTemp = 2000 // = 3200
	stagingIcon = DECOUPLER_HOR
	stageOffset = 1
	childStageOffset = 1
	bulkheadProfiles = srf
	tags = #autoLOC_500819 //#autoLOC_500819 = break decouple separat split stag
	fuelCrossFeed = False
	MODULE
	{
		name = ModuleAnchoredDecoupler
		anchorName = anchor
		ejectionForce = 250
		explosiveNodeID = srf
	}
	MODULE
	{
		name = ModuleToggleCrossfeed
		crossfeedStatus = false
		toggleEditor = true
		toggleFlight = true
		techRequired = fuelSystems
	}
	MODULE
	{
		name = ModuleTestSubject
		useStaging = True
		useEvent = False
		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 = ALTITUDE
			test = GT
			value = 0 // this just registers altitude as something to care about
			situationMask = 8
		}
		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 = SPEED
			test = LT
			value = 2000
			situationMask = 8
		}
		CONSTRAINT
		{
			type = ALTITUDE
			test = LT
			value = 300000
			situationMask = 16
			body = _NotSun
		}
		CONSTRAINT
		{
			type = ALTITUDE
			test = LT
			value = 600000
			situationMask = 32
			body = _NotSun
		}
	}
	MODULE
	{
		name = ModuleCargoPart
		packedVolume = 120
	}
}