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 config)
 
(7 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
// --- general parameters ---
+
cost = 600
name = sasModule
+
category = Control
module = SASModule
+
subcategory = 0
author = NovaSilisko
+
title = #autoLOC_500301 //#autoLOC_500301 = Small Inline Reaction Wheel
 
+
description = #autoLOC_500302 //#autoLOC_500302 = 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.
// --- asset parameters ---
+
attachRules = 1,0,1,1,0
mesh = model.mu
+
mass = 0.05
scale = 1
+
dragModelType = default
rescaleFactor = 1
+
maximum_drag = 0.2
 
+
minimum_drag = 0.2
// --- node definitions ---
+
angularDrag = 2
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
+
crashTolerance = 9
node_stack_bottom = 0.0, -0.1822218, 0.0, 0.0, 1.0, 0.0
+
maxTemp = 2000 // = 3400
node_stack_top = 0.0, 0.1822218, 0.0, 0.0, 1.0, 0.0
+
bulkheadProfiles = size0
 
+
tags = #autoLOC_500303 //#autoLOC_500303 = cmg command control fly gyro moment react stab steer torque
// --- FX definitions ---
+
MODULE
 
+
{
 
+
name = ModuleReactionWheel
// --- editor parameters ---
+
PitchTorque = 5
cost = 600
+
YawTorque = 5
category = Control
+
RollTorque = 5
subcategory = 0
+
RESOURCE
title = S.A.S Module
+
{
//manufacturer = O.M.B. Demolition Enterprises
+
name = ElectricCharge
description = SAS: Stability Augmentation System, Spin Auto-Stabilizer, Sickness Avoidance Solution. Whatever you choose to call it, it makes the ship stop spinning around.
+
rate = 0.25
 
+
}
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
+
}
attachRules = 1,0,1,1,0
+
MODULE
 
+
{
// --- standard part parameters ---
+
name = ModuleCargoPart
mass = 0.07
+
packedVolume = 70
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 17:17, 10 October 2024

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 = #autoLOC_500301 //#autoLOC_500301 = Small Inline Reaction Wheel
	description = #autoLOC_500302 //#autoLOC_500302 = 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
	tags = #autoLOC_500303 //#autoLOC_500303 = cmg command control fly gyro moment react stab steer torque
	MODULE
	{
		name = ModuleReactionWheel
		PitchTorque = 5
		YawTorque = 5
		RollTorque = 5
		RESOURCE
		{
			name = ElectricCharge
			rate = 0.25
		}
	}
	MODULE
	{
		name = ModuleCargoPart
		packedVolume = 70
	}
}