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

From Kerbal Space Program Wiki
Jump to: navigation, search
(Updated for 0.23)
m (*update to 1.0;)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Part config|Mk2 Lander-can|2=PART
+
{{Part config|Mk2 Lander Can|2=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 = Part
+
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 ---
+
{
TechRequired = largeControl
+
name = landerCabinInternals
entryCost = 8200
+
}
cost = 1950
+
MODULE
category = Pods
+
{
subcategory = 0
+
name = ModuleCommand
title = Mk2 Lander-can
+
minimumCrew = 1
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.
 
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
 
attachRules = 1,0,1,1,0
 
 
 
// --- standard part parameters ---
 
mass = 2.5
 
dragModelType = default
 
maximum_drag = 0.20
 
minimum_drag = 0.15
 
angularDrag = 2
 
crashTolerance = 8
 
maxTemp = 3400
 
 
 
vesselType = Lander
 
 
 
// --- internal setup ---
 
CrewCapacity = 2
 
 
 
INTERNAL
 
{
 
  name = landerCabinInternals
 
}
 
 
 
MODULE
 
{
 
name = ModuleCommand
 
minimumCrew = 1
 
}
 
 
 
RESOURCE
 
{
 
name = ElectricCharge
 
amount = 100
 
maxAmount = 100
 
}
 
 
 
MODULE
 
{
 
name = ModuleSAS
 
}
 
 
 
MODULE
 
{
 
name = ModuleReactionWheel
 
 
PitchTorque = 15
 
YawTorque = 15
 
RollTorque = 15
 
 
 
RESOURCE
 
RESOURCE
 
{
 
{
 
name = ElectricCharge
 
name = ElectricCharge
rate = 0.75
+
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
 
}
 
}
}
 
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
 
}
 
MODULE
 
{
 
name = ModuleScienceContainer
 
 
reviewActionName = Review Stored Data
 
storeActionName = Store Experiments
 
evaOnlyStorage = True
 
storageRange = 2.0
 
 
}
 
}
  
RESOURCE
 
{
 
name = MonoPropellant
 
amount = 40
 
maxAmount = 40
 
}
 
}
 
 
}}
 
}}

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
	}
}