Difference between revisions of "Parts/Command/inlineReactionWheel/inlineReactionWheel.cfg"
From Kerbal Space Program Wiki
< Parts
(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...") |
(*update to 0.23;) |
||
Line 1: | Line 1: | ||
− | + | {{Part config|Inline Reaction Wheel|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 = sasModule | name = sasModule | ||
− | module = | + | module = Part |
author = NovaSilisko | author = NovaSilisko | ||
Line 30: | Line 31: | ||
// --- editor parameters --- | // --- editor parameters --- | ||
+ | TechRequired = flightControl | ||
+ | entryCost = 3200 | ||
cost = 600 | cost = 600 | ||
category = Control | category = Control | ||
subcategory = 0 | subcategory = 0 | ||
− | title = | + | title = Inline Reaction Wheel |
//manufacturer = O.M.B. Demolition Enterprises | //manufacturer = O.M.B. Demolition Enterprises | ||
− | description = | + | description = A medium sized reaction wheel. This unit contains weighted wheels that spin very quickly to add assistive torque to a spacecraft, at the cost of electric charge. |
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision | // attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision | ||
Line 41: | Line 44: | ||
// --- standard part parameters --- | // --- standard part parameters --- | ||
− | mass = 0. | + | mass = 0.3 |
dragModelType = default | dragModelType = default | ||
maximum_drag = 0.2 | maximum_drag = 0.2 | ||
Line 49: | Line 52: | ||
maxTemp = 3400 | maxTemp = 3400 | ||
− | + | MODULE | |
+ | { | ||
+ | name = ModuleReactionWheel | ||
+ | |||
+ | PitchTorque = 20 | ||
+ | YawTorque = 20 | ||
+ | RollTorque = 20 | ||
+ | |||
+ | RESOURCE | ||
+ | { | ||
+ | name = ElectricCharge | ||
+ | rate = 0.3 | ||
+ | } | ||
+ | } | ||
− | + | MODULE | |
− | + | { | |
− | + | name = ModuleSAS | |
− | + | } | |
− | |||
− | + | } | |
− | + | }} |
Revision as of 15:11, 29 December 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 = sasModule module = Part 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 --- TechRequired = flightControl entryCost = 3200 cost = 600 category = Control subcategory = 0 title = Inline Reaction Wheel //manufacturer = O.M.B. Demolition Enterprises description = A medium sized reaction wheel. This unit contains weighted wheels that spin very quickly to add assistive torque to a spacecraft, at the cost of electric charge. // attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision attachRules = 1,0,1,1,0 // --- standard part parameters --- mass = 0.3 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 } }