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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (*update to 0.90.0;)
m (*update to 1.0;)
 
Line 1: Line 1:
 
{{Part config|Small Inline Reaction Wheel|2=PART
 
{{Part config|Small Inline Reaction Wheel|2=PART
 
{
 
{
// this is a sample config file, for determining a good file format for defining part parameters
+
name = sasModule
// 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 = 0.5
// 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.1822218, 0.0, 0.0, -1.0, 0.0, 0
// 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.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)
+
TechRequired = flightControl
 
+
entryCost = 3200
 
+
cost = 600
// --- general parameters ---
+
category = Control
name = sasModule
+
subcategory = 0
module = Part
+
title = Small Inline Reaction Wheel
author = NovaSilisko
+
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
// --- asset parameters ---
+
mass = 0.05
mesh = model.mu
+
dragModelType = default
scale = 1
+
maximum_drag = 0.2
rescaleFactor = 0.5
+
minimum_drag = 0.2
 
+
angularDrag = 2
// --- node definitions ---
+
crashTolerance = 9
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
+
maxTemp = 2000 // = 3400
node_stack_bottom = 0.0, -0.1822218, 0.0, 0.0, 1.0, 0.0, 0
+
bulkheadProfiles = size0
node_stack_top = 0.0, 0.1822218, 0.0, 0.0, 1.0, 0.0, 0
+
MODULE
 
 
// --- FX definitions ---
 
 
 
 
 
// --- editor parameters ---
 
TechRequired = flightControl
 
entryCost = 3200
 
cost = 600
 
category = Control
 
subcategory = 0
 
title = Small Inline Reaction Wheel
 
//manufacturer = O.M.B. Demolition Enterprises
 
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.
 
 
 
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
 
attachRules = 1,0,1,1,0
 
 
 
// --- standard part parameters ---
 
mass = 0.05
 
dragModelType = default
 
maximum_drag = 0.2
 
minimum_drag = 0.2
 
angularDrag = 2
 
crashTolerance = 9
 
maxTemp = 3400
 
 
 
MODULE
 
{
 
name = ModuleReactionWheel
 
 
PitchTorque = 5
 
YawTorque = 5
 
RollTorque = 5
 
 
RESOURCE
 
 
{
 
{
name = ElectricCharge
+
name = ModuleReactionWheel
rate = 0.25
+
PitchTorque = 5
 +
YawTorque = 5
 +
RollTorque = 5
 +
RESOURCE
 +
{
 +
name = ElectricCharge
 +
rate = 0.25
 +
}
 
}
 
}
}
 
 
 
}
 
}
  
 
}}
 
}}

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