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

From Kerbal Space Program Wiki
Jump to: navigation, search
(Created page with "<pre> // 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...")
 
m (*update to 1.0;)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<pre>
+
{{Part config|Small Inline Reaction Wheel|2=PART
// this is a sample config file, for determining a good file format for defining part parameters
+
{
// comment line - ignored by cfg parser
+
name = sasModule
// empty lines, or lines without a '=' sign are also ignored
+
module = Part
// all other lines are split at the '=' sign, and the left operand is used to know what parameter we are setting
+
author = NovaSilisko
// diferent parameters require data in different formats (see docs), and each module has it's own parameters (again, see docs)
+
mesh = model.mu
// each assignment must be in a single line. Lines without assignments will be ignored. (You CAN turn on word wrap, though)
+
scale = 1
// each keyword here relates to an existing variable in the assigned module. If the keyword isn't found, it is ignored.
+
rescaleFactor = 0.5
// conversely, if a keyword is left unassigned (as in not in the file), it will be initialized with it's default value
+
node_stack_bottom = 0.0, -0.1822218, 0.0, 0.0, -1.0, 0.0, 0
// 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)
+
node_stack_top = 0.0, 0.1822218, 0.0, 0.0, 1.0, 0.0, 0
 +
TechRequired = flightControl
 +
entryCost = 3200
 +
cost = 600
 +
category = Control
 +
subcategory = 0
 +
title = Small Inline Reaction Wheel
 +
description = The inline reaction wheel system uses a series of spinning discs that are going "Very Fast", to generate the torque necessary to control a spacecraft without wasting any propellant. Please do not attempt to service this device while it is running.
 +
attachRules = 1,0,1,1,0
 +
mass = 0.05
 +
dragModelType = default
 +
maximum_drag = 0.2
 +
minimum_drag = 0.2
 +
angularDrag = 2
 +
crashTolerance = 9
 +
maxTemp = 2000 // = 3400
 +
bulkheadProfiles = size0
 +
MODULE
 +
{
 +
name = ModuleReactionWheel
 +
PitchTorque = 5
 +
YawTorque = 5
 +
RollTorque = 5
 +
RESOURCE
 +
{
 +
name = ElectricCharge
 +
rate = 0.25
 +
}
 +
}
 +
}
  
 
+
}}
// --- general parameters ---
 
name = sasModule
 
module = SASModule
 
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.1822218, 0.0, 0.0, 1.0, 0.0
 
node_stack_top = 0.0, 0.1822218, 0.0, 0.0, 1.0, 0.0
 
 
 
// --- FX definitions ---
 
 
 
 
 
// --- editor parameters ---
 
cost = 600
 
category = Control
 
subcategory = 0
 
title = S.A.S Module
 
//manufacturer = O.M.B. Demolition Enterprises
 
description = SAS: Stability Augmentation System, Spin Auto-Stabilizer, Sickness Avoidance Solution. Whatever you choose to call it, it makes the ship stop spinning around.
 
 
 
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
 
attachRules = 1,0,1,1,0
 
 
 
// --- standard part parameters ---
 
mass = 0.07
 
dragModelType = default
 
maximum_drag = 0.2
 
minimum_drag = 0.2
 
angularDrag = 2
 
crashTolerance = 9
 
maxTemp = 3400
 
 
 
// --- SAS parameters ---
 
 
 
maxTorque = 20
 
Ki = 0
 
Kp = 5.0
 
Kd = 3.5
 
// ----- DO NOT EDIT BELOW THIS POINT ------
 
 
 
 
 
</pre>
 

Latest revision as of 10:01, 29 April 2015

This is the configuration file for Small Inline Reaction Wheel.
PART
{
	name = sasModule
	module = Part
	author = NovaSilisko
	mesh = model.mu
	scale = 1
	rescaleFactor = 0.5
	node_stack_bottom = 0.0, -0.1822218, 0.0, 0.0, -1.0, 0.0, 0
	node_stack_top = 0.0, 0.1822218, 0.0, 0.0, 1.0, 0.0, 0
	TechRequired = flightControl
	entryCost = 3200
	cost = 600
	category = Control
	subcategory = 0
	title = Small Inline Reaction Wheel
	description = The inline reaction wheel system uses a series of spinning discs that are going "Very Fast", to generate the torque necessary to control a spacecraft without wasting any propellant. Please do not attempt to service this device while it is running.
	attachRules = 1,0,1,1,0
	mass = 0.05
	dragModelType = default
	maximum_drag = 0.2
	minimum_drag = 0.2
	angularDrag = 2
	crashTolerance = 9
	maxTemp = 2000 // = 3400
	bulkheadProfiles = size0
	MODULE
	{
		name = ModuleReactionWheel
		PitchTorque = 5
		YawTorque = 5
		RollTorque = 5
		RESOURCE
		{
			name = ElectricCharge
			rate = 0.25
		}
	}
}