Difference between revisions of "Parts/Structural/structuralPylons/structuralPylon.cfg"

From Kerbal Space Program Wiki
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 (Move done)
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<pre>
+
{{Part config|Structural Pylon|2=PART
// this is a sample config file, for determining a good file format for defining part parameters
+
{
// comment line - ignored by cfg parser
+
name = structuralPylon
// empty lines, or lines without a '=' sign are also ignored
+
module = Part
// all other lines are split at the '=' sign, and the left operand is used to know what parameter we are setting
+
author = Porkjet
// 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, 0.0, 0.0, 1.0, 0.0, 0.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, 0.0, -0.0, -1.0, 0.0, 0.0, decouple
// conversely, if a keyword is left unassigned (as in not in the file), it will be initialized with it's default value
+
sound_vent_large = 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)
+
TechRequired = highAltitudeFlight
 
+
entryCost = 6800
 
+
cost = 125
// --- general parameters ---
+
category = Structural
name = structuralPylon
+
subcategory = 0
module = Decoupler
+
title = #autoLOC_500769 //#autoLOC_500769 = Structural Pylon
author = C. Jenkins
+
manufacturer = #autoLOC_501624 //#autoLOC_501624 = C7 Aerospace Division
 
+
description = #autoLOC_500770 //#autoLOC_500770 = A structural Pylon for engine Support. Designed to fit against fuselages, and hull bodies. Comes Equipped with emergency bolts to separate jet engines in the event of fire or catastrophic failure. (Not covered by warranty)
// --- asset parameters ---
+
attachRules = 0,1,0,1,0
mesh = model.mu
+
mass = 0.2
scale = 0.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.0, 0.0, 0.0, 1.0, 0.0, 0.0
+
crashTolerance = 70
 
+
maxTemp = 2000 // = 3200
// --- FX definitions ---
+
fuelCrossFeed = False
 
+
stagingIcon = DECOUPLER_HOR
fx_gasBurst_white = -1.16832, 0.0, -0.0826454, -1.0, 0.0, 0.0, activate
+
stageOffset = 1
sound_vent_large = activate
+
childStageOffset = 1
 
+
bulkheadProfiles = srf
 
+
tags = #autoLOC_500771 //#autoLOC_500771 = connect decouple hard point separat stag structur
// --- editor parameters ---
+
MODEL
cost = 1275
+
{
category = Structural
+
model = Squad/Parts/Structural/structuralPylons/PylonBig
subcategory = 0
+
}
title = Structural Pylon
+
MODULE
manufacturer = C7 Aerospace Division.
+
{
description = A structural Pylon for engine Support. Designed to fit against fuselages, and hull bodies. Comes Equipped with emergency bolts to separate jet engines in the event of fire or catastrophic failure. (Not covered by warranty)
+
name = ModuleDecouple
 
+
ejectionForce = 250
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
+
explosiveNodeID = srf
attachRules = 0,1,0,1,0
+
}
 
+
MODULE
// --- standard part parameters ---
+
{
mass = 0.2
+
name = ModuleToggleCrossfeed
dragModelType = default
+
crossfeedStatus = false
maximum_drag = 0.2
+
toggleEditor = true
minimum_drag = 0.2
+
toggleFlight = true
angularDrag = 1
+
}
// used to be 20
+
MODULE
crashTolerance = 999
+
{
maxTemp = 3200
+
name = ModuleTestSubject
fuelCrossFeed = False
+
useStaging = True
 
+
useEvent = False
stageOffset = 1
+
situationMask = 127
childStageOffset = 1
+
CONSTRAINT
 
+
{
 
+
type = REPEATABILITY
// --- Stage Separator parameters ---
+
value = ALWAYS
 
+
prestige = Trivial
//ejectionForce = 5
+
}
//icon = DECOUPLER_HOR
+
CONSTRAINT
 
+
{
// ----- DO NOT EDIT BELOW THIS POINT ------
+
type = REPEATABILITY
</pre>
+
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 = -1
 +
}
 +
}
 +
}}

Latest revision as of 18:37, 10 October 2024

This is the configuration file for Structural Pylon.
PART
{
	name = structuralPylon
	module = Part
	author = Porkjet
	rescaleFactor = 1
	node_attach = 0.0, 0.0, 0.0, 1.0, 0.0, 0.0
	fx_gasBurst_white = -0.0, 0.0, -0.0, -1.0, 0.0, 0.0, decouple
	sound_vent_large = decouple
	TechRequired = highAltitudeFlight
	entryCost = 6800
	cost = 125
	category = Structural
	subcategory = 0
	title = #autoLOC_500769 //#autoLOC_500769 = Structural Pylon
	manufacturer = #autoLOC_501624 //#autoLOC_501624 = C7 Aerospace Division
	description = #autoLOC_500770 //#autoLOC_500770 = A structural Pylon for engine Support. Designed to fit against fuselages, and hull bodies. Comes Equipped with emergency bolts to separate jet engines in the event of fire or catastrophic failure. (Not covered by warranty)
	attachRules = 0,1,0,1,0
	mass = 0.2
	dragModelType = default
	maximum_drag = 0.2
	minimum_drag = 0.2
	angularDrag = 1
	crashTolerance = 70
	maxTemp = 2000 // = 3200
	fuelCrossFeed = False
	stagingIcon = DECOUPLER_HOR
	stageOffset = 1
	childStageOffset = 1
	bulkheadProfiles = srf
	tags = #autoLOC_500771 //#autoLOC_500771 = connect decouple hard point separat stag structur
	MODEL
	{
		model = Squad/Parts/Structural/structuralPylons/PylonBig
	}
	MODULE
	{
		name = ModuleDecouple
		ejectionForce = 250
		explosiveNodeID = srf
	}
	MODULE
	{
		name = ModuleToggleCrossfeed
		crossfeedStatus = false
		toggleEditor = true
		toggleFlight = true
	}
	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 = -1
	}
}