Difference between revisions of "Parts/Command/inlineAdvancedStabilizer/inlineAdvancedStabilizer.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...")
 
Line 1: Line 1:
<pre>
+
{{Part config|Inline Advanced Stabilizer|2=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 13: Line 14:
 
// --- general parameters ---
 
// --- general parameters ---
 
name = advSasModule
 
name = advSasModule
module = AdvSASModule
+
module = Part
 
author = NovaSilisko
 
author = NovaSilisko
  
Line 31: Line 32:
  
 
// --- editor parameters ---
 
// --- editor parameters ---
 +
TechRequired = advFlightControl
 +
entryCost = 7200
 
cost = 1100
 
cost = 1100
 
category = Control
 
category = Control
 
subcategory = 0
 
subcategory = 0
title = Advanced S.A.S Module
+
title = Inline Advanced Stabilizer
 
manufacturer = STEADLER Engineering Corps
 
manufacturer = STEADLER Engineering Corps
description = After many years of research, STEADLER Corps rocket scientists discovered that Kerbal crewmembers just can't be trusted to keep a spacecraft under control. The Advanced S.A.S Module adresses that issue by correcting flight controls continuously. It is highly recommended that crewmembers are kept unaware of the presence of such a device, as experience shows that many Kerbals will see that as a 'challenge to their flying prowess'.
+
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. Comes complete with a built in flight computer. Please do not attempt to service this device while it is running.
  
 
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
 
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
Line 42: Line 45:
  
 
// --- standard part parameters ---
 
// --- standard part parameters ---
mass = 0.1
+
mass = 0.5
 
dragModelType = default
 
dragModelType = default
 
maximum_drag = 0.2
 
maximum_drag = 0.2
Line 50: Line 53:
 
maxTemp = 3400
 
maxTemp = 3400
  
// --- SAS parameters ---
+
MODULE
 +
{
 +
name = ModuleReactionWheel
 +
 +
PitchTorque = 20
 +
YawTorque = 20
 +
RollTorque = 20
 +
 +
RESOURCE
 +
{
 +
name = ElectricCharge
 +
rate = 0.3
 +
}
 +
}
  
Ki = 1
+
MODULE
Kp = 0.6
+
{
Kd = 1
+
name = ModuleSAS
// ----- DO NOT EDIT BELOW THIS POINT ------
+
}
 
+
}
 
+
}}
</pre>
 

Revision as of 12:54, 24 January 2014

This is the configuration file for Inline Advanced Stabilizer.
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 = advSasModule
module = Part
author = NovaSilisko

// --- asset parameters ---
mesh = model.mu
scale = 1
rescaleFactor = 1
iconCenter = 0, 3, 0

// --- node definitions ---
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
node_stack_top = 0, 0.1990267, 0, 0.0, 1.0, 0.0
node_stack_bottom = 0, -0.1990267, 0, 0.0, 1.0, 0.0

// --- FX definitions ---


// --- editor parameters ---
TechRequired = advFlightControl
entryCost = 7200
cost = 1100
category = Control
subcategory = 0
title = Inline Advanced Stabilizer
manufacturer = STEADLER Engineering Corps
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. Comes complete with a built in flight computer. 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.5
dragModelType = default
maximum_drag = 0.2
minimum_drag = 0.2
angularDrag = 2
crashTolerance = 9
maxTemp = 3400

MODULE
{
	name = ModuleReactionWheel
	
	PitchTorque = 20
	YawTorque = 20
	RollTorque = 20
	
	RESOURCE
	{
		name = ElectricCharge
		rate = 0.3
	}
}

MODULE
{
	name = ModuleSAS
}
}