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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (rename request)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<pre>
+
<noinclude>{{rename|Parts/Command/mk1Cockpits/mk1Cockpit.cfg|Part is in mk1Cockpits folder}}</noinclude>
PART
+
{{Part config|Mk1 Cockpit|2=PART
 
{
 
{
// this is a sample config file, for determining a good file format for defining part parameters
+
name = Mark1Cockpit
// comment line - ignored by cfg parser
+
module = Part
// empty lines, or lines without a '=' sign are also ignored
+
author = C. Jenkins
// 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, -1.40, 0.0, 0.0, -1.0, 0.0, 1
// each keyword here relates to an existing variable in the assigned module. If the keyword isn't found, it is ignored.
+
TechRequired = engineering101
// conversely, if a keyword is left unassigned (as in not in the file), it will be initialized with it's default value
+
entryCost = 4200
// 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)
+
cost = 2200
 
+
category = Pods
 
+
subcategory = 0
// --- general parameters ---
+
title = Mk1 Cockpit
name = Mark1Cockpit
+
manufacturer = C7 Aerospace Division
module = CommandPod
+
description = C7 Aerospace is proud to present our second generation cockpit. This unit is equipped to ensure survival in some of the worst conditions possible. The extra re-enforcement has slightly increased the weight.
author = C. Jenkins
+
attachRules = 1,0,1,1,0
 
+
mass = 1.25
// --- asset parameters ---
+
dragModelType = default
mesh = model.mu
+
maximum_drag = 0.1
scale = 0.1
+
minimum_drag = 0.1
 
+
angularDrag = 2
// --- node definitions ---
+
crashTolerance = 45
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
+
maxTemp = 2000 // = 3400
node_stack_bottom = 0.0, -2.15, 0.0, 0.0, 1.0, 0.0, 1
+
vesselType = Ship
 
+
CrewCapacity = 1
 
+
bulkheadProfiles = size1
 
+
INTERNAL
// --- editor parameters ---
+
{
cost = 1800
+
name = mk1CockpitInternal
category = Pods
+
}
subcategory = 0
+
MODULE
title = Mk1 Cockpit
+
{
manufacturer = C7 Aerospace Division.
+
name = ModuleCommand
description = C7 Aerospace is proud to present out second generation cockpit. This unit is equipped to ensure survival in some of the worst conditions possible. The extra re-enforcement has slightly increased the weight.
+
minimumCrew = 1
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
+
}
attachRules = 1,0,1,1,0
+
RESOURCE
 
+
{
// --- standard part parameters ---
+
name = ElectricCharge
mass = 1.25
+
amount = 50
dragModelType = default
+
maxAmount = 50
maximum_drag = 0.1
+
}
minimum_drag = 0.1
+
MODULE
angularDrag = 2
+
{
crashTolerance = 45
+
name = ModuleReactionWheel
maxTemp = 3400
+
PitchTorque = 10
 
+
YawTorque = 10
vesselType = Ship
+
RollTorque = 10
 
+
RESOURCE
// --- pod/rcs parameters ---
+
{
 
+
name = ElectricCharge
rotPower = 10
+
rate = 0.375
linPower = 10
+
}
 
+
}
Kp = 1.0
+
MODULE
Kd = 1.0
+
{
 
+
name = ModuleScienceExperiment
// --- tweakables (coming soon...) ---
+
experimentID = crewReport
 
+
experimentActionName = Crew Report
 
+
resetActionName = Discard Crew Report
// --- internal setup ---
+
reviewActionName = Review Report
CrewCapacity = 1
+
useStaging = False
 
+
useActionGroups = True
 
+
hideUIwhenUnavailable = True
INTERNAL
+
rerunnable = True
{
+
xmitDataScalar = 1.0
  name = mk1CockpitInternal
+
usageReqMaskInternal = 5
}
+
usageReqMaskExternal = -1
 
+
}
MODULE
+
MODULE
{
+
{
name = ModuleCommand
+
name = ModuleScienceContainer
minimumCrew = 1
+
reviewActionName = Review Stored Data
}
+
storeActionName = Store Experiments
 
+
evaOnlyStorage = True
RESOURCE
+
storageRange = 1.3
{
+
}
name = ElectricCharge
+
RESOURCE
amount = 50
+
{
maxAmount = 50
+
name = MonoPropellant
 +
amount = 7.5
 +
maxAmount = 7.5
 +
}
 +
MODULE
 +
{
 +
name = FlagDecal
 +
textureQuadName = flagTransform
 +
}
 
}
 
}
  
 
+
}}
 
 
// ----- DO NOT EDIT BELOW THIS POINT ------
 
 
 
}
 
</pre>
 

Latest revision as of 05:19, 28 July 2021

It is suggested to rename this to Parts/Command/mk1Cockpits/mk1Cockpit.cfg. You can discuss this on this page's talk page.
This is the configuration file for Mk1 Cockpit.
PART
{
	name = Mark1Cockpit
	module = Part
	author = C. Jenkins
	mesh = model.mu
	scale = 0.1
	node_stack_bottom = 0.0, -1.40, 0.0, 0.0, -1.0, 0.0, 1
	TechRequired = engineering101
	entryCost = 4200
	cost = 2200
	category = Pods
	subcategory = 0
	title = Mk1 Cockpit
	manufacturer = C7 Aerospace Division
	description = C7 Aerospace is proud to present our second generation cockpit. This unit is equipped to ensure survival in some of the worst conditions possible. The extra re-enforcement has slightly increased the weight.
	attachRules = 1,0,1,1,0
	mass = 1.25
	dragModelType = default
	maximum_drag = 0.1
	minimum_drag = 0.1
	angularDrag = 2
	crashTolerance = 45
	maxTemp = 2000 // = 3400
	vesselType = Ship
	CrewCapacity = 1
	bulkheadProfiles = size1
	INTERNAL
	{
		name = mk1CockpitInternal
	}
	MODULE
	{
		name = ModuleCommand
		minimumCrew = 1
	}
	RESOURCE
	{
		name = ElectricCharge
		amount = 50
		maxAmount = 50
	}
	MODULE
	{
		name = ModuleReactionWheel
		PitchTorque = 10
		YawTorque = 10
		RollTorque = 10
		RESOURCE
		{
			name = ElectricCharge
			rate = 0.375
		}
	}
	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 = 1.3
	}
	RESOURCE
	{
		name = MonoPropellant
		amount = 7.5
		maxAmount = 7.5
	}
	MODULE
	{
		name = FlagDecal
		textureQuadName = flagTransform
	}
}