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

From Kerbal Space Program Wiki
< Parts‎ | Utility
Jump to: navigation, search
m (XZise moved page Parts/parachute single/part.cfg to Parts/Utility/parachute single/part.cfg without leaving a redirect: moved to new directory structure)
m (Update config)
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{Part config|Mk16 Parachute|2=PART
 
{{Part config|Mk16 Parachute|2=PART
 
{
 
{
// this is a sample config file, for determining a good file format for defining part parameters
+
name = parachuteSingle
// comment line - ignored by cfg parser
+
module = Part
// empty lines, or lines without a '=' sign are also ignored
+
author = HarvesteR
// 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 = 0.1
// each assignment must be in a single line. Lines without assignments will be ignored. (You CAN turn on word wrap, though)
+
node_stack_bottom = 0.0, -0.120649, 0.0, 0.0, -1.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.
+
node_attach = 0.0, -0.120649, 0.0, 0.0, -1.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
+
buoyancyUseCubeNamed = PACKED
// 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_parachute_open = activate
 
+
sound_parachute_single = deploy
 
+
TechRequired = start
// --- general parameters ---
+
entryCost = 0
name = parachuteSingle
+
cost = 422
module = Part
+
category = Utility
author = HarvesteR
+
subcategory = 0
 
+
title = #autoLOC_500921 //#autoLOC_500921 = Mk16 Parachute
// --- asset parameters ---
+
description = #autoLOC_500922 //#autoLOC_500922 = The Mk16 Parachute might be considered by some to be little more than a random stitching together of the surplus parts it is, in fact, made from. But the fact remains that the Mk16 has been widely accepted as a generally better alternative to being in freefall.
mesh = model.mu
+
attachRules = 1,0,0,1,0
scale = 0.1
+
mass = 0.1
 
+
dragModelType = default
 
+
angularDrag = 3
// --- node definitions ---
+
crashTolerance = 12
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z, size
+
maxTemp = 2500 // = 3100
node_stack_bottom = 0.0, -0.120649, 0.0, 0.0, 1.0, 0.0, 0
+
emissiveConstant = 0.7
node_attach = 0.0, -0.120649, 0.0, 0.0, -1.0, 0.0
+
stageOffset = -1
 
+
preferredStage = PARACHUTESTAGE
// --- FX definitions ---
+
bulkheadProfiles = size0, srf
sound_parachute_open = activate
+
bodyLiftMultiplier = 0
sound_parachute_single = deploy
+
tags = #autoLOC_500923 //#autoLOC_500923 = arrest canopy chute decel descen drag entry fall landing re- return safe slow white
 
+
MODULE
// --- editor parameters ---
+
{
TechRequired = start
+
name = ModuleParachute
entryCost = 0
+
semiDeployedAnimation = semiDeploySmall
cost = 422
+
fullyDeployedAnimation = fullyDeploySmall
category = Utility
+
invertCanopy = true
subcategory = 0
+
autoCutSpeed = 0.5
title = Mk16 Parachute
+
capName = cap
 
+
canopyName = canopy
description = The Mk16 Parachute might be considered by some to be little more than a random stitching together of the surplus parts it is, in fact, made from. But the fact remains that the Mk16 has been widely accepted as a generally better alternative to being in freefall.
+
stowedDrag = 0.22
 
+
semiDeployedDrag = 1
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
+
fullyDeployedDrag = 500
attachRules = 1,0,0,1,0
+
minAirPressureToOpen = 0.04
 
+
clampMinAirPressure = 0.04
// --- standard part parameters ---
+
deployAltitude = 1000
mass = 0.1
+
deploymentSpeed = 0.12
dragModelType = default
+
semiDeploymentSpeed = 0.5
angularDrag = 3
+
chuteMaxTemp = 650
crashTolerance = 12
+
}
maxTemp = 3100
+
MODULE
 
+
{
stageOffset = -1
+
name = ModuleTestSubject
 
+
useStaging = True
MODULE
+
useEvent = False
{
+
situationMask = 8
  name = ModuleParachute
+
CONSTRAINT
semiDeployedAnimation = semiDeploySmall
+
{
fullyDeployedAnimation = fullyDeploySmall
+
type = ATMOSPHERE
invertCanopy = true
+
value = True
autoCutSpeed = 0.5
+
}
capName = cap
+
CONSTRAINT
canopyName = canopy
+
{
stowedDrag = 0.22
+
type = SPEEDENV
semiDeployedDrag = 1
+
test = LT
fullyDeployedDrag = 500
+
value = 200
minAirPressureToOpen = 0.01
+
prestige = Trivial
deployAltitude = 500
+
}
deploymentSpeed = 1
+
CONSTRAINT
semiDeploymentSpeed = 1
+
{
}
+
type = SPEEDENV
 +
test = GT
 +
value = 100
 +
prestige = Trivial
 +
}
 +
CONSTRAINT
 +
{
 +
type = SPEEDENV
 +
test = LT
 +
value = 100
 +
prestige = Significant
 +
}
 +
CONSTRAINT
 +
{
 +
type = SPEEDENV
 +
test = GT
 +
value = 50
 +
prestige = Significant
 +
}
 +
CONSTRAINT
 +
{
 +
type = SPEEDENV
 +
test = LT
 +
value = 50
 +
prestige = Exceptional
 +
}
 +
CONSTRAINT
 +
{
 +
type = SPEEDENV
 +
test = GT
 +
value = 20
 +
prestige = Exceptional
 +
}
 +
CONSTRAINT
 +
{
 +
type = DENSITY
 +
test = GT
 +
value = 0.2
 +
prestige = Trivial
 +
}
 +
CONSTRAINT
 +
{
 +
type = DENSITY
 +
test = GT
 +
value = 0.1
 +
prestige = Significant
 +
}
 +
CONSTRAINT
 +
{
 +
type = DENSITY
 +
test = GT
 +
value = 0.02
 +
prestige = Exceptional
 +
}
 +
CONSTRAINT
 +
{
 +
type = ALTITUDE
 +
test = GT
 +
value = 1000
 +
}
 +
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 = 300
 +
body = _Home
 +
}
 +
CONSTRAINT
 +
{
 +
type = SPEED
 +
test = LT
 +
value = 1000
 +
body = _NotHome
 +
}
 +
CONSTRAINT
 +
{
 +
type = REPEATABILITY
 +
value = ALWAYS
 +
prestige = Trivial
 +
}
 +
CONSTRAINT
 +
{
 +
type = REPEATABILITY
 +
value = BODYANDSITUATION
 +
prestige = Significant
 +
}
 +
CONSTRAINT
 +
{
 +
type = REPEATABILITY
 +
value = ONCEPERPART
 +
prestige = Exceptional
 +
}
 +
}
 +
MODULE
 +
{
 +
name = ModuleDragModifier
 +
dragCubeName = SEMIDEPLOYED
 +
dragModifier = 1.25
 +
}
 +
MODULE
 +
{
 +
name = ModuleDragModifier
 +
dragCubeName = DEPLOYED
 +
dragModifier = 12
 +
}
 +
MODULE
 +
{
 +
name = ModuleCargoPart
 +
packedVolume = 140
 +
}
 
}
 
}
 
}}
 
}}

Latest revision as of 07:44, 16 October 2024

This is the configuration file for Mk16 Parachute.
PART
{
	name = parachuteSingle
	module = Part
	author = HarvesteR
	mesh = model.mu
	scale = 0.1
	node_stack_bottom = 0.0, -0.120649, 0.0, 0.0, -1.0, 0.0, 0
	node_attach = 0.0, -0.120649, 0.0, 0.0, -1.0, 0.0
	buoyancyUseCubeNamed = PACKED
	sound_parachute_open = activate
	sound_parachute_single = deploy
	TechRequired = start
	entryCost = 0
	cost = 422
	category = Utility
	subcategory = 0
	title = #autoLOC_500921 //#autoLOC_500921 = Mk16 Parachute
	description = #autoLOC_500922 //#autoLOC_500922 = The Mk16 Parachute might be considered by some to be little more than a random stitching together of the surplus parts it is, in fact, made from. But the fact remains that the Mk16 has been widely accepted as a generally better alternative to being in freefall.
	attachRules = 1,0,0,1,0
	mass = 0.1
	dragModelType = default
	angularDrag = 3
	crashTolerance = 12
	maxTemp = 2500 // = 3100
	emissiveConstant = 0.7
	stageOffset = -1
	preferredStage = PARACHUTESTAGE
	bulkheadProfiles = size0, srf
	bodyLiftMultiplier = 0
	tags = #autoLOC_500923 //#autoLOC_500923 = arrest canopy chute decel descen drag entry fall landing re- return safe slow white
	MODULE
	{
		name = ModuleParachute
		semiDeployedAnimation = semiDeploySmall
		fullyDeployedAnimation = fullyDeploySmall
		invertCanopy = true
		autoCutSpeed = 0.5
		capName = cap
		canopyName = canopy
		stowedDrag = 0.22
		semiDeployedDrag = 1
		fullyDeployedDrag = 500
		minAirPressureToOpen = 0.04
		clampMinAirPressure = 0.04
		deployAltitude = 1000
		deploymentSpeed = 0.12
		semiDeploymentSpeed = 0.5
		chuteMaxTemp = 650
	}
	MODULE
	{
		name = ModuleTestSubject
		useStaging = True
		useEvent = False
		situationMask = 8
		CONSTRAINT
		{
			type = ATMOSPHERE
			value = True
		}
		CONSTRAINT
		{
			type = SPEEDENV
			test = LT
			value = 200
			prestige = Trivial
		}
		CONSTRAINT
		{
			type = SPEEDENV
			test = GT
			value = 100
			prestige = Trivial
		}
		CONSTRAINT
		{
			type = SPEEDENV
			test = LT
			value = 100
			prestige = Significant
		}
		CONSTRAINT
		{
			type = SPEEDENV
			test = GT
			value = 50
			prestige = Significant
		}
		CONSTRAINT
		{
			type = SPEEDENV
			test = LT
			value = 50
			prestige = Exceptional
		}
		CONSTRAINT
		{
			type = SPEEDENV
			test = GT
			value = 20
			prestige = Exceptional
		}
		CONSTRAINT
		{
			type = DENSITY
			test = GT
			value = 0.2
			prestige = Trivial
		}
		CONSTRAINT
		{
			type = DENSITY
			test = GT
			value = 0.1
			prestige = Significant
		}
		CONSTRAINT
		{
			type = DENSITY
			test = GT
			value = 0.02
			prestige = Exceptional
		}
		CONSTRAINT
		{
			type = ALTITUDE
			test = GT
			value = 1000
		}
		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 = 300
			body = _Home
		}
		CONSTRAINT
		{
			type = SPEED
			test = LT
			value = 1000
			body = _NotHome
		}
		CONSTRAINT
		{
			type = REPEATABILITY
			value = ALWAYS
			prestige = Trivial
		}
		CONSTRAINT
		{
			type = REPEATABILITY
			value = BODYANDSITUATION
			prestige = Significant
		}
		CONSTRAINT
		{
			type = REPEATABILITY
			value = ONCEPERPART
			prestige = Exceptional
		}
	}
	MODULE
	{
		name = ModuleDragModifier
		dragCubeName = SEMIDEPLOYED
		dragModifier = 1.25
	}
	MODULE
	{
		name = ModuleDragModifier
		dragCubeName = DEPLOYED
		dragModifier = 12
	}
	MODULE
	{
		name = ModuleCargoPart
		packedVolume = 140
	}
}