Difference between revisions of "Parts/Command/mk3CockpitShuttle/mk3CockpitShuttle.cfg"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Created page with "<pre> PART { // 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 ...")
 
m (*update to 1.0.4;)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<pre>
+
{{Part config|Mk3 Cockpit|2=PART
PART
 
 
{
 
{
// this is a sample config file, for determining a good file format for defining part parameters
+
name = mk3Cockpit_Shuttle
// 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
+
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_stack_bottom = 0.0, -1.25, 0.0, 0.0, -1.0, 0.0, 3
// each keyword here relates to an existing variable in the assigned module. If the keyword isn't found, it is ignored.
+
node_stack_top = 0.0, 3.1875, 0.625, 0.0, 1.0, 0.0, 1
// conversely, if a keyword is left unassigned (as in not in the file), it will be initialized with it's default value
+
TechRequired = heavyAerodynamics
// 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 = 50000
 
+
cost = 10000
 
+
category = Pods
// --- general parameters ---
+
subcategory = 0
name = mark3Cockpit
+
title = Mk3 Cockpit
module = CommandPod
+
manufacturer = C7 Aerospace Division
author = C. Jenkins
+
description = A cockpit for those die hard explorers. Especially useful when transporting extra crew to a remote rock to save the day. Note: IVA still in shipping and customs.
 
+
attachRules = 1,0,1,1,0
// --- asset parameters ---
+
mass = 3.5
mesh = model.mu
+
dragModelType = default
scale = 0.1
+
maximum_drag = 0.1
 
+
minimum_drag = 0.1
 
+
angularDrag = 2
// --- node definitions ---
+
crashTolerance = 60
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
+
maxTemp = 2700 // = 3400
node_stack_top = 0.0, 7.6, 0.0, 0.0, 1.0, 0.0
+
emissiveConstant = 0.9
node_stack_bottom = 0.0, -7.8, 0.0, 0.0, 1.0, 0.0
+
fuelCrossFeed = True
 
+
vesselType = Ship
// --- editor parameters ---
+
CrewCapacity = 4
cost = 1600
+
bulkheadProfiles = size1, mk3
category = Pods
+
breakingForce = 300
subcategory = 0
+
breakingTorque = 300
title = Mk3 Cockpit
+
INTERNAL
manufacturer = C7 Aerospace
+
{
description = The Mk 3 Cockpit is the pinnacle of airframe cockpit technology. In the rare event of a Kerbin Penetrating anomaly, this cockpit will ensure your Kerbs are interred according to health and sanitation guidelines.
+
name = MK3_Cockpit_Int
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
+
}
attachRules = 1,0,1,1,0
+
MODULE
 
+
{
// --- standard part parameters ---
+
name = ModuleCommand
mass = 3.5
+
minimumCrew = 1
dragModelType = default
+
}
maximum_drag = 0.2
+
RESOURCE
minimum_drag = 0.15
+
{
angularDrag = 2
+
name = ElectricCharge
crashTolerance = 50
+
amount = 500
breakingForce = 50
+
maxAmount = 500
breakingTorque = 50
+
}
maxTemp = 3400
+
MODULE
 
+
{
vesselType = Ship
+
name = ModuleReactionWheel
 
+
actionGUIName = Toggle RW
// --- pod/rcs parameters ---
+
PitchTorque = 40
 
+
YawTorque = 40
rotPower = 10
+
RollTorque = 20
linPower = 10
+
RESOURCE
 
+
{
Kp = 1.0
+
name = ElectricCharge
Kd = 1.0
+
rate = 1.0
 
+
}
// --- tweakables (coming soon...) ---
+
}
 
+
MODULE
 
+
{
 
+
name = ModuleScienceExperiment
// --- internal setup ---
+
experimentID = crewReport
CrewCapacity = 3
+
experimentActionName = Crew Report
 
+
resetActionName = Discard Crew Report
INTERNAL
+
reviewActionName = Review Report
{
+
useStaging = False
  name = GenericSpace3
+
useActionGroups = True
}
+
hideUIwhenUnavailable = True
 
+
rerunnable = True
MODULE
+
xmitDataScalar = 1.0
{
+
usageReqMaskInternal = 5
name = ModuleCommand
+
usageReqMaskExternal = -1
minimumCrew = 1
+
}
}
+
MODULE
 
+
{
RESOURCE
+
name = ModuleScienceContainer
{
+
reviewActionName = Review Stored Data
name = ElectricCharge
+
storeActionName = Store Experiments
amount = 150
+
evaOnlyStorage = True
maxAmount = 150
+
storageRange = 4.0
 +
}
 +
RESOURCE
 +
{
 +
name = MonoPropellant
 +
amount = 100
 +
maxAmount = 100
 +
}
 +
MODULE
 +
{
 +
name = FlagDecal
 +
textureQuadName = FLAG
 +
}
 +
MODULE
 +
{
 +
name = ModuleAnimateGeneric
 +
animationName = Mk3Cockpit_Shuttle
 +
actionGUIName = Toggle Lights
 +
startEventGUIName = Lights On
 +
endEventGUIName = Lights Off
 +
}
 
}
 
}
// ----- DO NOT EDIT BELOW THIS POINT ------
 
  
}
+
}}
</pre>
 

Latest revision as of 12:07, 27 June 2015

This is the configuration file for Mk3 Cockpit.
PART
{
	name = mk3Cockpit_Shuttle
	module = Part
	author = Porkjet
	mesh = model.mu
	rescaleFactor = 1
	node_stack_bottom = 0.0, -1.25, 0.0, 0.0, -1.0, 0.0, 3
	node_stack_top = 0.0, 3.1875, 0.625, 0.0, 1.0, 0.0, 1
	TechRequired = heavyAerodynamics
	entryCost = 50000
	cost = 10000
	category = Pods
	subcategory = 0
	title = Mk3 Cockpit
	manufacturer = C7 Aerospace Division
	description = A cockpit for those die hard explorers. Especially useful when transporting extra crew to a remote rock to save the day. Note: IVA still in shipping and customs.
	attachRules = 1,0,1,1,0
	mass = 3.5
	dragModelType = default
	maximum_drag = 0.1
	minimum_drag = 0.1
	angularDrag = 2
	crashTolerance = 60
	maxTemp = 2700 // = 3400
	emissiveConstant = 0.9
	fuelCrossFeed = True
	vesselType = Ship
	CrewCapacity = 4
	bulkheadProfiles = size1, mk3
	breakingForce = 300
	breakingTorque = 300
	INTERNAL
	{
		name = MK3_Cockpit_Int
	}
	MODULE
	{
		name = ModuleCommand
		minimumCrew = 1
	}
	RESOURCE
	{
		name = ElectricCharge
		amount = 500
		maxAmount = 500
	}
	MODULE
	{
		name = ModuleReactionWheel
		actionGUIName = Toggle RW
		PitchTorque = 40
		YawTorque = 40
		RollTorque = 20
		RESOURCE
		{
			name = ElectricCharge
			rate = 1.0
		}
	}
	MODULE
	{
		name = ModuleScienceExperiment
		experimentID = crewReport
		experimentActionName = Crew Report
		resetActionName = Discard Crew Report
		reviewActionName = Review Report
		useStaging = False
		useActionGroups = True
		hideUIwhenUnavailable = True
		rerunnable = True
		xmitDataScalar = 1.0
		usageReqMaskInternal = 5
		usageReqMaskExternal = -1
	}
	MODULE
	{
		name = ModuleScienceContainer
		reviewActionName = Review Stored Data
		storeActionName = Store Experiments
		evaOnlyStorage = True
		storageRange = 4.0
	}
	RESOURCE
	{
		name = MonoPropellant
		amount = 100
		maxAmount = 100
	}
	MODULE
	{
		name = FlagDecal
		textureQuadName = FLAG
	}
	MODULE
	{
		name = ModuleAnimateGeneric
		animationName = Mk3Cockpit_Shuttle
		actionGUIName = Toggle Lights
		startEventGUIName = Lights On
		endEventGUIName = Lights Off
	}
}