Difference between revisions of "Parts/Utility/launchClamp1/launchClamp1.cfg"

From Kerbal Space Program Wiki
< Parts‎ | Utility
Jump to: navigation, search
m (BobBot moved page Parts/Utility/launchClamp1/part.cfg to Parts/Utility/launchClamp1/launchClamp1.cfg without leaving a redirect: Renamed part configuration file after update.)
m (Update config)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
{{Part config|TT18-A Launch Stability Enhancer|2=PART
 
{{Part config|TT18-A Launch Stability Enhancer|2=PART
 
{
 
{
// this is a sample config file, for determining a good file format for defining part parameters
+
name = launchClamp1
// 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)
+
rescaleFactor = 1
// each assignment must be in a single line. Lines without assignments will be ignored. (You CAN turn on word wrap, though)
+
node_attach = 0.0, 1.354437, 0.8069194, 0.0, 0.0, -1.0
// each keyword here relates to an existing variable in the assigned module. If the keyword isn't found, it is ignored.
+
fx_gasBurst_white = 0.0, 1.354437, 0.8369194, 0.0, 0.0, 1.0, activate
// conversely, if a keyword is left unassigned (as in not in the file), it will be initialized with it's default value
+
sound_decoupler_fire = activate
// 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)
+
TechRequired = generalConstruction
 
+
entryCost = 1800
 
+
cost = 200
// --- general parameters ---
+
category = Structural
name = launchClamp1
+
subcategory = 0
module = Part
+
title = #autoLOC_500888 //#autoLOC_500888 = TT18-A Launch Stability Enhancer
author = NovaSilisko
+
manufacturer = #autoLOC_501629 //#autoLOC_501629 = O.M.B. Demolition Enterprises
 
+
description = #autoLOC_500889 //#autoLOC_500889 = The TT18-A Stability Enhancer uses ground-breaking fastening technology to significantly increase the stability of spacecraft during the pre-launch phase. While OMB Demolition has been criticized in the past for using "big fancy words for a rocket holder" in their description of their device, none can say the TT18 series doesn't deliver rock-solid clamping action, as advertised. The owner's manual strongly suggests these devices be placed on the bottommost section of the spacecraft, and activated as soon as the engines are lit, for optimal de-clamping performance.
// --- asset parameters ---
+
attachRules = 0,1,0,1,0
mesh = model.mu
+
mass = 0.1
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 = 2
node_attach = 0.0, 1.354437, 0.8069194, 0.0, 0.0, -1.0
+
crashTolerance = 100
 
+
maxTemp = 2000 // = 5000
// --- FX definitions ---
+
fuelCrossFeed = False
 
+
explosionPotential = 0.1
fx_gasBurst_white = 0.0, 1.354437, 0.8369194, 0.0, 0.0, 1.0, activate
+
breakingForce = 150
sound_decoupler_fire = activate
+
breakingTorque = 150
 
+
stageOffset = 0
 
+
childStageOffset = 0
// --- editor parameters ---
+
preferredStage = LAST
TechRequired = generalConstruction
+
bulkheadProfiles = srf
entryCost = 1800
+
tags = #autoLOC_500890 //#autoLOC_500890 = clam hold )pad rocket stabil tower
cost = 200
+
MODULE
category = Structural
+
{
subcategory = 0
+
name = LaunchClamp
title = TT18-A Launch Stability Enhancer
+
trf_towerPivot_name = obj_girdercap
manufacturer = O.M.B. Demolition Enterprises
+
trf_towerStretch_name = obj_girder
description = The TT18-A Stability Enhancer uses ground-breaking fastening technology to significantly increase the stability of spacecraft during the pre-launch phase. While OMB Demolition has been criticized in the past for using "big fancy words for a rocket holder" in their description of their device, none can say the TT18 series doesn't deliver rock-solid clamping action, as advertised. The owner's manual strongly suggests these devices be placed on the bottommost section of the spacecraft, and activated as soon as the engines are lit, for optimal de-clamping performance.
+
trf_anchor_name = obj_ground
 
+
trf_animationRoot_name = launchclamp
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
+
anim_decouple_name = launchclamp
attachRules = 0,1,0,1,0
+
}
 
+
MODULE
// --- standard part parameters ---
+
{
mass = 0.1
+
name = ModuleGenerator
dragModelType = default
+
isAlwaysActive = true
maximum_drag = 0.2
+
isGroundFixture = true
minimum_drag = 0.2
+
OUTPUT_RESOURCE
angularDrag = 2
+
{
crashTolerance = 100
+
name = ElectricCharge
maxTemp = 5000
+
rate = 1
fuelCrossFeed = False
+
}
explosionPotential = 0.1
+
}
 
+
MODULE
breakingForce = 150
 
breakingTorque = 150
 
 
 
stageOffset = 0
 
childStageOffset = 0
 
 
 
MODULE
 
{
 
    name = LaunchClamp
 
 
trf_towerPivot_name = obj_girdercap
 
trf_towerStretch_name = obj_girder
 
trf_anchor_name = obj_ground
 
 
trf_animationRoot_name = launchclamp
 
anim_decouple_name = launchclamp
 
}
 
 
 
MODULE
 
{
 
name = ModuleGenerator
 
isAlwaysActive = true
 
OUTPUT_RESOURCE
 
 
{
 
{
name = ElectricCharge
+
name = ModuleTestSubject
rate = 1
+
useStaging = True
}
+
useEvent = False
}
+
situationMask = 4
MODULE
+
useProgressForBodies = False
{
+
usePrestigeForSit = False
name = ModuleTestSubject
+
CONSTRAINT
+
{
// nowhere: 0, srf: 1, ocean: 2, atmo: 4, space: 8
+
type = SITUATION
environments = 1
+
value = 4
+
body = _Home
useStaging = True
+
}
useEvent = False
+
CONSTRAINT
}
+
{
// ----- DO NOT EDIT BELOW THIS POINT ------
+
type = SITUATION
 
+
value = 0
 +
body = _NotHome
 +
}
 +
CONSTRAINT
 +
{
 +
type = REPEATABILITY
 +
value = ONCEPERPART
 +
}
 +
}
 
}
 
}
 
 
}}
 
}}

Latest revision as of 18:38, 10 October 2024

This is the configuration file for TT18-A Launch Stability Enhancer.
PART
{
	name = launchClamp1
	module = Part
	author = NovaSilisko
	mesh = model.mu
	rescaleFactor = 1
	node_attach = 0.0, 1.354437, 0.8069194, 0.0, 0.0, -1.0
	fx_gasBurst_white = 0.0, 1.354437, 0.8369194, 0.0, 0.0, 1.0, activate
	sound_decoupler_fire = activate
	TechRequired = generalConstruction
	entryCost = 1800
	cost = 200
	category = Structural
	subcategory = 0
	title = #autoLOC_500888 //#autoLOC_500888 = TT18-A Launch Stability Enhancer
	manufacturer = #autoLOC_501629 //#autoLOC_501629 = O.M.B. Demolition Enterprises
	description = #autoLOC_500889 //#autoLOC_500889 = The TT18-A Stability Enhancer uses ground-breaking fastening technology to significantly increase the stability of spacecraft during the pre-launch phase. While OMB Demolition has been criticized in the past for using "big fancy words for a rocket holder" in their description of their device, none can say the TT18 series doesn't deliver rock-solid clamping action, as advertised. The owner's manual strongly suggests these devices be placed on the bottommost section of the spacecraft, and activated as soon as the engines are lit, for optimal de-clamping performance.
	attachRules = 0,1,0,1,0
	mass = 0.1
	dragModelType = default
	maximum_drag = 0.2
	minimum_drag = 0.2
	angularDrag = 2
	crashTolerance = 100
	maxTemp = 2000 // = 5000
	fuelCrossFeed = False
	explosionPotential = 0.1
	breakingForce = 150
	breakingTorque = 150
	stageOffset = 0
	childStageOffset = 0
	preferredStage = LAST
	bulkheadProfiles = srf
	tags = #autoLOC_500890 //#autoLOC_500890 = clam hold )pad rocket stabil tower
	MODULE
	{
		name = LaunchClamp
		trf_towerPivot_name = obj_girdercap
		trf_towerStretch_name = obj_girder
		trf_anchor_name = obj_ground
		trf_animationRoot_name = launchclamp
		anim_decouple_name = launchclamp
	}
	MODULE
	{
		name = ModuleGenerator
		isAlwaysActive = true
		isGroundFixture = true
		OUTPUT_RESOURCE
		{
			name = ElectricCharge
			rate = 1
		}
	}
	MODULE
	{
		name = ModuleTestSubject
		useStaging = True
		useEvent = False
		situationMask = 4
		useProgressForBodies = False
		usePrestigeForSit = False
		CONSTRAINT
		{
			type = SITUATION
			value = 4
			body = _Home
		}
		CONSTRAINT
		{
			type = SITUATION
			value = 0
			body = _NotHome
		}
		CONSTRAINT
		{
			type = REPEATABILITY
			value = ONCEPERPART
		}
	}
}