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

From Kerbal Space Program Wiki
Jump to: navigation, search
(*update to 0.22;)
(updated, added move link)
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
{{move|Parts/Structural/structuralPylons/structuralPylon.cfg|cfg file was found here, current path does not exist}}
 +
 
{{Part config|Structural Pylon|2=PART
 
{{Part config|Structural Pylon|2=PART
 
{
 
{
// this is a sample config file, for determining a good file format for defining part parameters
+
name = structuralPylon
// comment line - ignored by cfg parser
+
module = Part
// empty lines, or lines without a '=' sign are also ignored
+
author = Porkjet
// all other lines are split at the '=' sign, and the left operand is used to know what parameter we are setting
+
rescaleFactor = 1
// diferent parameters require data in different formats (see docs), and each module has it's own parameters (again, see docs)
+
node_attach = 0.0, 0.0, 0.0, 1.0, 0.0, 0.0
// each assignment must be in a single line. Lines without assignments will be ignored. (You CAN turn on word wrap, though)
+
fx_gasBurst_white = -0.0, 0.0, -0.0, -1.0, 0.0, 0.0, decouple
// each keyword here relates to an existing variable in the assigned module. If the keyword isn't found, it is ignored.
+
sound_vent_large = decouple
// conversely, if a keyword is left unassigned (as in not in the file), it will be initialized with it's default value
+
TechRequired = highAltitudeFlight
// 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)
+
entryCost = 6800
 
+
cost = 125
 
+
category = Structural
// --- general parameters ---
+
subcategory = 0
name = structuralPylon
+
title = #autoLOC_500769 //#autoLOC_500769 = Structural Pylon
module = Decoupler
+
manufacturer = #autoLOC_501624 //#autoLOC_501624 = C7 Aerospace Division
author = C. Jenkins
+
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
// --- asset parameters ---
+
mass = 0.2
mesh = model.mu
+
dragModelType = default
scale = 0.1
+
maximum_drag = 0.2
 
+
minimum_drag = 0.2
// --- node definitions ---
+
angularDrag = 1
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
+
crashTolerance = 70
node_attach = 0.0, 0.0, 0.0, 1.0, 0.0, 0.0
+
maxTemp = 2000 // = 3200
 
+
fuelCrossFeed = False
// --- FX definitions ---
+
stagingIcon = DECOUPLER_HOR
 
+
stageOffset = 1
fx_gasBurst_white = -1.16832, 0.0, -0.0826454, -1.0, 0.0, 0.0, activate
+
childStageOffset = 1
sound_vent_large = activate
+
bulkheadProfiles = srf
 
+
tags = #autoLOC_500771 //#autoLOC_500771 = connect decouple hard point separat stag structur
 
+
MODEL
// --- editor parameters ---
+
{
TechRequired = advAerodynamics
+
model = Squad/Parts/Structural/structuralPylons/PylonBig
entryCost = 6800
+
}
cost = 1275
+
MODULE
category = Structural
+
{
subcategory = 0
+
name = ModuleDecouple
title = Structural Pylon
+
ejectionForce = 250
manufacturer = C7 Aerospace Division.
+
explosiveNodeID = srf
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)
+
}
 
+
MODULE
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
+
{
attachRules = 0,1,0,1,0
+
name = ModuleToggleCrossfeed
 
+
crossfeedStatus = false
// --- standard part parameters ---
+
toggleEditor = true
mass = 0.2
+
toggleFlight = true
dragModelType = default
+
}
maximum_drag = 0.2
+
MODULE
minimum_drag = 0.2
+
{
angularDrag = 1
+
name = ModuleTestSubject
// used to be 20
+
useStaging = True
crashTolerance = 999
+
useEvent = False
maxTemp = 3200
+
situationMask = 127
fuelCrossFeed = False
+
CONSTRAINT
 
+
{
stageOffset = 1
+
type = REPEATABILITY
childStageOffset = 1
+
value = ALWAYS
 
+
prestige = Trivial
 
+
}
// --- Stage Separator parameters ---
+
CONSTRAINT
 
+
{
//ejectionForce = 5
+
type = REPEATABILITY
//icon = DECOUPLER_HOR
+
value = BODYANDSITUATION
 
+
prestige = Significant
// ----- DO NOT EDIT BELOW THIS POINT ------
+
}
 
+
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 02:52, 21 July 2024

This page has been requested to be moved to Parts/Structural/structuralPylons/structuralPylon.cfg.

The given reason is: cfg file was found here, current path does not exist


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