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

From Kerbal Space Program Wiki
Jump to: navigation, search
(fixed some formatting)
(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 ...")
Line 1: Line 1:
 
<pre>
 
<pre>
 +
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
 
// comment line - ignored by cfg parser
 
// comment line - ignored by cfg parser
Line 25: Line 27:
 
node_stack_bottom = 0.0, -0.4035744, 0.0, 0.0, 1.0, 0.0, 2
 
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
 
node_stack_top = 0.0, 0.7519293, 0.0, 0.0, 1.0, 0.0, 1
 
  
  
Line 85: Line 86:
  
 
// ----- DO NOT EDIT BELOW THIS POINT ------
 
// ----- DO NOT EDIT BELOW THIS POINT ------
 +
 +
}
 
</pre>
 
</pre>

Revision as of 19:50, 9 June 2013

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 = CommandPod
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 ---
cost = 950
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

// --- pod/rcs parameters ---

rotPower = 15
linPower = 15

Kp = 1.0
Kd = 1.0

// --- tweakables (coming soon...) ---




// --- internal setup ---
CrewCapacity = 2

INTERNAL
{
  name = landerCabinInternals
}

MODULE
{
	name = ModuleCommand
	minimumCrew = 1
}

RESOURCE
{
	name = ElectricCharge
	amount = 100
	maxAmount = 100	
}

// ----- DO NOT EDIT BELOW THIS POINT ------

}