Difference between revisions of "Parts/Command/mk1pod/mk1Pod.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;)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<pre>
+
{{Part config|Mk1 Command Pod|2=PART
PART
 
 
{
 
{
 
// this is a sample config file, for determining a good file format for defining part parameters
 
// this is a sample config file, for determining a good file format for defining part parameters
Line 15: Line 14:
 
// --- general parameters ---
 
// --- general parameters ---
 
name = mk1pod
 
name = mk1pod
module = CommandPod
+
module = Part
 
author = NovaSilisko
 
author = NovaSilisko
  
Line 25: Line 24:
 
// --- node definitions ---
 
// --- node definitions ---
 
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
 
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
node_stack_bottom = 0.0, -0.4050379, 0.0, 0.0, 1.0, 0.0, 1
+
node_stack_bottom = 0.0, -0.4050379, 0.0, 0.0, -1.0, 0.0, 1
 
node_stack_top = 0.0, 0.6423756, 0.0, 0.0, 1.0, 0.0, 0
 
node_stack_top = 0.0, 0.6423756, 0.0, 0.0, 1.0, 0.0, 0
 
+
bulkheadProfiles = size1, size0
 +
CoPOffset = 0.0, 0.5, 0.0
 +
CoLOffset = 0.0, -0.35, 0.0
  
 
// --- editor parameters ---
 
// --- editor parameters ---
 +
TechRequired = start
 +
entryCost = 0
 
cost = 600
 
cost = 600
 
category = Pods
 
category = Pods
 
subcategory = 0
 
subcategory = 0
title = Command Pod Mk1
+
title = Mk1 Command Pod
manufacturer = Kerlington Model Rockets and Paper Products Inc.
+
manufacturer = Kerlington Model Rockets and Paper Products Inc
 
description = Originally built as a placeholder for a demonstration mock-up of a rocket, the Mk1 Command Pod was heralded as a far safer and more reliable option than its predecessors by rocket scientists throughout the world. It is now commonly seen in active service.
 
description = Originally built as a placeholder for a demonstration mock-up of a rocket, the Mk1 Command Pod was heralded as a far safer and more reliable option than its predecessors by rocket scientists throughout the world. It is now commonly seen in active service.
  
Line 42: Line 45:
 
// --- standard part parameters ---
 
// --- standard part parameters ---
 
mass = 0.8
 
mass = 0.8
 +
 
dragModelType = default
 
dragModelType = default
 
maximum_drag = 0.2
 
maximum_drag = 0.2
Line 47: Line 51:
 
angularDrag = 2
 
angularDrag = 2
 
crashTolerance = 14
 
crashTolerance = 14
maxTemp = 3400
+
maxTemp = 2400 // = 3400
 
 
// --- pod/rcs parameters ---
 
 
 
rotPower = 5
 
linPower = 1
 
 
 
Kp = 1.0
 
Kd = 1.0
 
 
 
// --- tweakables (coming soon...) ---
 
  
 
vesselType = Ship
 
vesselType = Ship
Line 81: Line 75:
 
}
 
}
  
// ----- DO NOT EDIT BELOW THIS POINT ------
+
MODULE
 +
{
 +
name = ModuleReactionWheel
 +
 +
PitchTorque = 5
 +
YawTorque = 5
 +
RollTorque = 5
 +
 +
RESOURCE
 +
{
 +
name = ElectricCharge
 +
rate = 0.24
 +
}
 +
}
 +
 
 +
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 = 10
 +
maxAmount = 10
 +
}
 +
 
 +
MODULE
 +
{
 +
      name = FlagDecal
 +
      textureQuadName = flagTransform
 +
}
  
 +
MODULE
 +
{
 +
name = ModuleConductionMultiplier
 +
modifiedConductionFactor = 0.003
 +
convectionFluxThreshold = 3000
 
}
 
}
</pre>
+
}
 +
 
 +
}}

Latest revision as of 12:07, 27 June 2015

This is the configuration file for Mk1 Command Pod.
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 without a '=' sign are also ignored
// all other lines are split at the '=' sign, and the left operand is used to know what parameter we are setting
// diferent parameters require data in different formats (see docs), and each module has it's own parameters (again, see docs)
// each assignment must be in a single line. Lines without assignments will be ignored. (You CAN turn on word wrap, though)
// each keyword here relates to an existing variable in the assigned module. If the keyword isn't found, it is ignored.
// conversely, if a keyword is left unassigned (as in not in the file), it will be initialized with it's default value
// 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)


// --- general parameters ---
name = mk1pod
module = Part
author = NovaSilisko

// --- asset parameters ---
mesh = model.mu
scale = 1
rescaleFactor = 1

// --- node definitions ---
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
node_stack_bottom = 0.0, -0.4050379, 0.0, 0.0, -1.0, 0.0, 1
node_stack_top = 0.0, 0.6423756, 0.0, 0.0, 1.0, 0.0, 0
bulkheadProfiles = size1, size0
CoPOffset = 0.0, 0.5, 0.0
CoLOffset = 0.0, -0.35, 0.0

// --- editor parameters ---
TechRequired = start
entryCost = 0
cost = 600
category = Pods
subcategory = 0
title = Mk1 Command Pod
manufacturer = Kerlington Model Rockets and Paper Products Inc
description = Originally built as a placeholder for a demonstration mock-up of a rocket, the Mk1 Command Pod was heralded as a far safer and more reliable option than its predecessors by rocket scientists throughout the world. It is now commonly seen in active service.

// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
attachRules = 1,0,1,1,0

// --- standard part parameters ---
mass = 0.8

dragModelType = default
maximum_drag = 0.2
minimum_drag = 0.15
angularDrag = 2
crashTolerance = 14
maxTemp = 2400 // = 3400

vesselType = Ship

// --- internal setup ---
CrewCapacity = 1

INTERNAL
{
  name = mk1PodCockpit
}

MODULE
{
	name = ModuleCommand
	minimumCrew = 1	
}
RESOURCE
{
	name = ElectricCharge
	amount = 50
	maxAmount = 50
}

MODULE
{
	name = ModuleReactionWheel
	
	PitchTorque = 5
	YawTorque = 5
	RollTorque = 5
	
	RESOURCE
	{
		name = ElectricCharge
		rate = 0.24
	}
}

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 = 10
	maxAmount = 10
}

MODULE
{
      name = FlagDecal
      textureQuadName = flagTransform
}

MODULE
{
	name = ModuleConductionMultiplier
	modifiedConductionFactor = 0.003
	convectionFluxThreshold = 3000
}
}