Difference between revisions of "Parts/Command/mk1pod/mk1Pod.cfg"
From Kerbal Space Program Wiki
< Parts
(Created page with "<pre> 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 ...") |
(Updated for 0.23) |
||
Line 1: | Line 1: | ||
− | + | {{Part config|Command Pod Mk1|2=PART | |
− | 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 | ||
Line 15: | Line 14: | ||
// --- general parameters --- | // --- general parameters --- | ||
name = mk1pod | name = mk1pod | ||
− | module = | + | module = Part |
author = NovaSilisko | author = NovaSilisko | ||
Line 30: | Line 29: | ||
// --- editor parameters --- | // --- editor parameters --- | ||
+ | TechRequired = start | ||
+ | entryCost = 0 | ||
cost = 600 | cost = 600 | ||
category = Pods | category = Pods | ||
Line 48: | Line 49: | ||
crashTolerance = 14 | crashTolerance = 14 | ||
maxTemp = 3400 | maxTemp = 3400 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
vesselType = Ship | vesselType = Ship | ||
Line 79: | Line 70: | ||
amount = 50 | amount = 50 | ||
maxAmount = 50 | maxAmount = 50 | ||
+ | } | ||
+ | MODULE | ||
+ | { | ||
+ | name = ModuleSAS | ||
} | } | ||
− | + | MODULE | |
+ | { | ||
+ | name = ModuleReactionWheel | ||
+ | |||
+ | PitchTorque = 5 | ||
+ | YawTorque = 5 | ||
+ | RollTorque = 5 | ||
+ | |||
+ | RESOURCE | ||
+ | { | ||
+ | name = ElectricCharge | ||
+ | rate = 0.24 | ||
+ | } | ||
+ | } | ||
+ | |||
+ | MODULE | ||
+ | { | ||
+ | name = ModuleScienceExperiment | ||
+ | |||
+ | experimentID = crewReport | ||
+ | |||
+ | experimentActionName = Crew Report | ||
+ | resetActionName = Discard Crew Report | ||
+ | reviewActionName = Review Report | ||
+ | |||
+ | useStaging = False | ||
+ | useActionGroups = True | ||
+ | hideUIwhenUnavailable = True | ||
+ | rerunnable = True | ||
+ | |||
+ | xmitDataScalar = 1.0 | ||
+ | } | ||
+ | MODULE | ||
+ | { | ||
+ | name = ModuleScienceContainer | ||
+ | |||
+ | reviewActionName = Review Stored Data | ||
+ | storeActionName = Store Experiments | ||
+ | evaOnlyStorage = True | ||
+ | storageRange = 1.3 | ||
+ | } | ||
+ | |||
+ | RESOURCE | ||
+ | { | ||
+ | name = MonoPropellant | ||
+ | amount = 10 | ||
+ | maxAmount = 10 | ||
+ | } | ||
} | } | ||
− | + | }} |
Revision as of 13:01, 24 January 2014
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 = mk1pod 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.4050379, 0.0, 0.0, 1.0, 0.0, 1 node_stack_top = 0.0, 0.6423756, 0.0, 0.0, 1.0, 0.0, 0 // --- editor parameters --- TechRequired = start entryCost = 0 cost = 600 category = Pods subcategory = 0 title = Command Pod Mk1 manufacturer = Kerlington Model Rockets and Paper Products Inc. description = Originally built as a placeholder for a demonstration mock-up of a rocket, the Mk1 Command Pod was heralded as a far safer and more reliable option than its predecessors by rocket scientists throughout the world. It is now commonly seen in active service. // attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision attachRules = 1,0,1,1,0 // --- standard part parameters --- mass = 0.8 dragModelType = default maximum_drag = 0.2 minimum_drag = 0.15 angularDrag = 2 crashTolerance = 14 maxTemp = 3400 vesselType = Ship // --- internal setup --- CrewCapacity = 1 INTERNAL { name = mk1PodCockpit } MODULE { name = ModuleCommand minimumCrew = 1 } RESOURCE { name = ElectricCharge amount = 50 maxAmount = 50 } MODULE { name = ModuleSAS } MODULE { name = ModuleReactionWheel PitchTorque = 5 YawTorque = 5 RollTorque = 5 RESOURCE { name = ElectricCharge rate = 0.24 } } MODULE { name = ModuleScienceExperiment experimentID = crewReport experimentActionName = Crew Report resetActionName = Discard Crew Report reviewActionName = Review Report useStaging = False useActionGroups = True hideUIwhenUnavailable = True rerunnable = True xmitDataScalar = 1.0 } MODULE { name = ModuleScienceContainer reviewActionName = Review Stored Data storeActionName = Store Experiments evaOnlyStorage = True storageRange = 1.3 } RESOURCE { name = MonoPropellant amount = 10 maxAmount = 10 } }