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 ...")
(Updated for 0.23)
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
 
// 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 = mk2LanderCabin
 
name = mk2LanderCabin
module = CommandPod
+
module = Part
 
author = NovaSilisko
 
author = NovaSilisko
  
Line 31: Line 30:
  
 
// --- editor parameters ---
 
// --- editor parameters ---
cost = 950
+
TechRequired = largeControl
 +
entryCost = 8200
 +
cost = 1950
 
category = Pods
 
category = Pods
 
subcategory = 0
 
subcategory = 0
Line 50: Line 51:
  
 
vesselType = Lander
 
vesselType = Lander
 
// --- pod/rcs parameters ---
 
 
rotPower = 15
 
linPower = 15
 
 
Kp = 1.0
 
Kd = 1.0
 
 
// --- tweakables (coming soon...) ---
 
 
 
 
  
 
// --- internal setup ---
 
// --- internal setup ---
Line 85: Line 73:
 
}
 
}
  
// ----- DO NOT EDIT BELOW THIS POINT ------
+
MODULE
 +
{
 +
name = ModuleSAS
 +
}
  
 +
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
 +
}
 +
MODULE
 +
{
 +
name = ModuleScienceContainer
 +
 +
reviewActionName = Review Stored Data
 +
storeActionName = Store Experiments
 +
evaOnlyStorage = True
 +
storageRange = 2.0
 +
}
 +
 +
RESOURCE
 +
{
 +
name = MonoPropellant
 +
amount = 40
 +
maxAmount = 40
 +
}
 
}
 
}
</pre>
+
}}

Revision as of 13:01, 24 January 2014

This is the configuration file for Mk2 Lander-can.
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 = mk2LanderCabin
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.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, 1



// --- editor parameters ---
TechRequired = largeControl
entryCost = 8200
cost = 1950
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.
// 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
	{
		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
}
MODULE
{
	name = ModuleScienceContainer
	
	reviewActionName = Review Stored Data
	storeActionName = Store Experiments
	evaOnlyStorage = True
	storageRange = 2.0
}

RESOURCE
{
	name = MonoPropellant
	amount = 40
	maxAmount = 40
}
}