Difference between revisions of "Parts/Command/mk2LanderCan/mk2LanderCan.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;)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<pre>
+
{{Part config|Mk2 Lander Can|2=PART
PART
 
 
{
 
{
// this is a sample config file, for determining a good file format for defining part parameters
+
name = mk2LanderCabin
// comment line - ignored by cfg parser
+
module = Part
// empty lines, or lines without a '=' sign are also ignored
+
author = NovaSilisko
// 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 = 1
// each assignment must be in a single line. Lines without assignments will be ignored. (You CAN turn on word wrap, though)
+
rescaleFactor = 1
// each keyword here relates to an existing variable in the assigned module. If the keyword isn't found, it is ignored.
+
node_stack_bottom = 0.0, -0.4035744, 0.0, 0.0, -1.0, 0.0, 2
// conversely, if a keyword is left unassigned (as in not in the file), it will be initialized with it's default value
+
node_stack_top = 0.0, 0.7519293, 0.0, 0.0, 1.0, 0.0, 2
// 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)
+
TechRequired = commandModules
 
+
entryCost = 8200
 
+
cost = 3250
// --- general parameters ---
+
category = Pods
name = mk2LanderCabin
+
subcategory = 0
module = CommandPod
+
title = Mk2 Lander Can
author = NovaSilisko
+
manufacturer = Sean's Cannery
 
+
description = This cozy capsule seats two, and is very lightweight. However, don't expect it to survive atmospheric entry or even a sneeze.
// --- asset parameters ---
+
attachRules = 1,0,1,1,0
mesh = model.mu
+
mass = 2.5
scale = 1
+
dragModelType = default
rescaleFactor = 1
+
maximum_drag = 0.20
 
+
minimum_drag = 0.15
// --- node definitions ---
+
angularDrag = 2
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
+
crashTolerance = 8
node_stack_bottom = 0.0, -0.4035744, 0.0, 0.0, 1.0, 0.0, 2
+
maxTemp = 2000 // = 3400
node_stack_top = 0.0, 0.7519293, 0.0, 0.0, 1.0, 0.0, 1
+
vesselType = Lander
 
+
CrewCapacity = 2
 
+
bulkheadProfiles = size2
 
+
INTERNAL
// --- editor parameters ---
+
{
cost = 950
+
name = landerCabinInternals
category = Pods
+
}
subcategory = 0
+
MODULE
title = Mk2 Lander-can
+
{
manufacturer = Sean's Cannery
+
name = ModuleCommand
description = This cozy capsule seats two, and is very lightweight. However, don't expect it to survive atmospheric entry or even a sneeze.
+
minimumCrew = 1
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
+
}
attachRules = 1,0,1,1,0
+
RESOURCE
 
+
{
// --- standard part parameters ---
+
name = ElectricCharge
mass = 2.5
+
amount = 100
dragModelType = default
+
maxAmount = 100
maximum_drag = 0.20
+
}
minimum_drag = 0.15
+
MODULE
angularDrag = 2
+
{
crashTolerance = 8
+
name = ModuleReactionWheel
maxTemp = 3400
+
PitchTorque = 15
 
+
YawTorque = 15
vesselType = Lander
+
RollTorque = 15
 
+
RESOURCE
// --- pod/rcs parameters ---
+
{
 
+
name = ElectricCharge
rotPower = 15
+
rate = 0.75
linPower = 15
+
}
 
+
}
Kp = 1.0
+
MODULE
Kd = 1.0
+
{
 
+
name = ModuleScienceExperiment
// --- tweakables (coming soon...) ---
+
experimentID = crewReport
 
+
experimentActionName = Crew Report
 
+
resetActionName = Discard Crew Report
 
+
reviewActionName = Review Report
 
+
useStaging = False
// --- internal setup ---
+
useActionGroups = True
CrewCapacity = 2
+
hideUIwhenUnavailable = True
 
+
rerunnable = True
INTERNAL
+
xmitDataScalar = 1.0
{
+
usageReqMaskInternal = 5
  name = landerCabinInternals
+
usageReqMaskExternal = -1
 +
}
 +
MODULE
 +
{
 +
name = ModuleScienceContainer
 +
reviewActionName = Review Stored Data
 +
storeActionName = Store Experiments
 +
evaOnlyStorage = True
 +
storageRange = 2.0
 +
}
 +
RESOURCE
 +
{
 +
name = MonoPropellant
 +
amount = 40
 +
maxAmount = 40
 +
}
 +
MODULE
 +
{
 +
name = FlagDecal
 +
textureQuadName = flagTransform
 +
}
 
}
 
}
  
MODULE
+
}}
{
 
name = ModuleCommand
 
minimumCrew = 1
 
}
 
 
 
RESOURCE
 
{
 
name = ElectricCharge
 
amount = 100
 
maxAmount = 100
 
}
 
 
 
// ----- DO NOT EDIT BELOW THIS POINT ------
 
 
 
}
 
</pre>
 

Latest revision as of 09:43, 29 April 2015

This is the configuration file for Mk2 Lander Can.
PART
{
	name = mk2LanderCabin
	module = Part
	author = NovaSilisko
	mesh = model.mu
	scale = 1
	rescaleFactor = 1
	node_stack_bottom = 0.0, -0.4035744, 0.0, 0.0, -1.0, 0.0, 2
	node_stack_top = 0.0, 0.7519293, 0.0, 0.0, 1.0, 0.0, 2
	TechRequired = commandModules
	entryCost = 8200
	cost = 3250
	category = Pods
	subcategory = 0
	title = Mk2 Lander Can
	manufacturer = Sean's Cannery
	description = This cozy capsule seats two, and is very lightweight. However, don't expect it to survive atmospheric entry or even a sneeze.
	attachRules = 1,0,1,1,0
	mass = 2.5
	dragModelType = default
	maximum_drag = 0.20
	minimum_drag = 0.15
	angularDrag = 2
	crashTolerance = 8
	maxTemp = 2000 // = 3400
	vesselType = Lander
	CrewCapacity = 2
	bulkheadProfiles = size2
	INTERNAL
	{
		name = landerCabinInternals
	}
	MODULE
	{
		name = ModuleCommand
		minimumCrew = 1
	}
	RESOURCE
	{
		name = ElectricCharge
		amount = 100
		maxAmount = 100
	}
	MODULE
	{
		name = ModuleReactionWheel
		PitchTorque = 15
		YawTorque = 15
		RollTorque = 15
		RESOURCE
		{
			name = ElectricCharge
			rate = 0.75
		}
	}
	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 = 2.0
	}
	RESOURCE
	{
		name = MonoPropellant
		amount = 40
		maxAmount = 40
	}
	MODULE
	{
		name = FlagDecal
		textureQuadName = flagTransform
	}
}