Difference between revisions of "Parts/Utility/decouplerRadialTT-38K/decouplerRadialTT-38K.cfg"

From Kerbal Space Program Wiki
< Parts‎ | Utility
Jump to: navigation, search
(Updated for 0.23)
m (Update config)
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{Part config|TT-38K Radial Decoupler|2=PART
 
{{Part config|TT-38K Radial Decoupler|2=PART
 
{
 
{
// this is a sample config file, for determining a good file format for defining part parameters
+
name = radialDecoupler
// comment line - ignored by cfg parser
+
module = Part
// empty lines, or lines without a '=' sign are also ignored
+
author = NovaSilisko
// all other lines are split at the '=' sign, and the left operand is used to know what parameter we are setting
+
mesh = model.mu
// diferent parameters require data in different formats (see docs), and each module has it's own parameters (again, see docs)
+
scale = 1
// 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_attach = 0.01, 0.0, 0.0, 1.0, 0.0, 0.0
// conversely, if a keyword is left unassigned (as in not in the file), it will be initialized with it's default value
+
fx_gasBurst_white = 0.0, 0.0, -0.0826454, -1.0, 0.0, 0.0, decouple
// 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)
+
sound_vent_large = decouple
 
+
TechRequired = stability
 
+
entryCost = 1200
// --- general parameters ---
+
cost = 600
name = radialDecoupler
+
category = Coupling
module = Part
+
subcategory = 0
author = NovaSilisko
+
title = #autoLOC_500817 //#autoLOC_500817 = TT-38K Radial Decoupler
 
+
manufacturer = #autoLOC_501629 //#autoLOC_501629 = O.M.B. Demolition Enterprises
// --- asset parameters ---
+
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.
mesh = model.mu
+
attachRules = 0,1,0,1,0
scale = 1
+
mass = 0.025
rescaleFactor = 1
+
dragModelType = default
 
+
maximum_drag = 0.2
// --- node definitions ---
+
minimum_drag = 0.2
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
+
angularDrag = 1
node_attach = 0.01, 0.0, 0.0, 1.0, 0.0, 0.0
+
crashTolerance = 8
 
+
maxTemp = 2000 // = 3200
// --- FX definitions ---
+
stagingIcon = DECOUPLER_HOR
 
+
stageOffset = 1
fx_gasBurst_white = -1.16832, 0.0, -0.0826454, -1.0, 0.0, 0.0, decouple
+
childStageOffset = 1
sound_vent_large = decouple
+
bulkheadProfiles = srf
 
+
tags = #autoLOC_500819 //#autoLOC_500819 = break decouple separat split stag
 
+
fuelCrossFeed = False
// --- editor parameters ---
+
MODULE
TechRequired = stability
+
{
entryCost = 1200
+
name = ModuleAnchoredDecoupler
cost = 600
+
anchorName = anchor
category = Structural
+
ejectionForce = 250
subcategory = 0
+
explosiveNodeID = srf
title = TT-38K Radial Decoupler
+
}
manufacturer = O.M.B. Demolition Enterprises
+
MODULE
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.
+
{
 
+
name = ModuleToggleCrossfeed
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
+
crossfeedStatus = false
attachRules = 0,1,0,1,0
+
toggleEditor = true
 
+
toggleFlight = true
// --- standard part parameters ---
+
techRequired = fuelSystems
mass = 0.025
+
}
dragModelType = default
+
MODULE
maximum_drag = 0.2
+
{
minimum_drag = 0.2
+
name = ModuleTestSubject
angularDrag = 1
+
useStaging = True
crashTolerance = 8
+
useEvent = False
maxTemp = 3200
+
situationMask = 127
stagingIcon = DECOUPLER_HOR
+
CONSTRAINT
 
+
{
 
+
type = REPEATABILITY
stageOffset = 1
+
value = ALWAYS
childStageOffset = 1
+
prestige = Trivial
 
+
}
 
+
CONSTRAINT
MODULE
+
{
{
+
type = REPEATABILITY
    name = ModuleAnchoredDecoupler
+
value = BODYANDSITUATION
    anchorName = anchor
+
prestige = Significant
    ejectionForce = 250
+
}
explosiveNodeID = srf
+
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
 +
}
 
}
 
}
 
}}
 
}}

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
	}
}