Jump to content

KSP Part Lister v1.0


cybutek

Recommended Posts

KSP Part Lister

Version 1.0

This application was my first ever foray into KSP development. The idea was conceived by the user 'lukasni' as a parts list generator but nothing was actually made. I went further and made this concept into a usable reality. My hope is that this application will prove useful to at least someone out there. If it doesn't then, oh well, I had fun making it!

The first 0.1 version was quite a scrapped together project. This one has had its guts replaced to be a lot more modular and user friendly. I now believe that it is of a standard suitable for a 1.0 release.

What does it do?

It will list all of your installed parts and give you information about each one. You may sort all of the parts by a field ascending and descending by clicking the headers. Each field which is specified in the settings file will read directly from the part.cfg files on starting the application. All of the fields are totally editable by yourself within the 'settings.txt' file. This list can also be exported to comma and tab separated files (.csv & .txt).

img1.gif

img2.gif


This project was programmed by CYBUTEK using C# and should work any computer capable of
running KSP either via the Microsoft .NET Framework 4.0 or MONO on Mac OS (untested).

Concept by lukasni
http://kerbalspaceprogram.com/forum/showthread.php/16227-Parts-list-generator

License: Attribution-NonCommercial-ShareAlike 3.0 Unported



Installation
------------
1. Place the .exe anywhere you want, as long as it is accompanied
by the 'settings.txt' file. If the .exe is not placed in KSP folder, it will ask
where it should look. It will also remember this in the settings file for next time.

2. (optional) Edit the 'settings.txt' file with your own fields :)

3. Double click to run (do I really need to explain this?!?! hehe)



Export to CSV
-------------
Clicking the 'Export to CSV' button will allow you to save all of the fields displayed into
either a tabbed or comma seperated file with the extention types (.csv and .txt). You can also
save it as any other extention you choose but it will default to tab seperated.



Using the "settings.txt" file
---------------------------
For the application to know what fields are to be displayed, they need to be entered into the
'settings.txt' file. There is a default settings file which came with the executable. This
file will include the basic fields used within KSP. You are able to edit this file to customise
it for your own use.

A field entry in the 'settings.txt' file looks like:

field
{
header = Full Mass // The column header.
width = 60 // The column width.
property = mass // The property name within the part.cfg files.
}


field
{
heading = Name
width = 222
property = title
}

field
{
heading = Full Mass
width = 60
property = mass
}

field
{
heading = Dry Mass
width = 60
property = dryMass
}

field
{
heading = a-Isp
width = 60
property = Isp
}

field
{
heading = v-Isp
width = 60
property = vacIsp
}

field
{
heading = Thrust
width = 60
property = maxThrust
property2 = thrust
}

field
{
heading = Directory Name
width = 234
property = %partdir%
}

setting
{
name = window
width = 850
height = 500
}

As usual with all my work, any and all feedback is welcome. If you have an idea or find a bug, tell me and it will more than likely be fixed or implemented in the next version.

DOWNLOAD

SOURCE FILES

<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB"><img alt="Creative Commons Licence" style="border-width:0" src="http://i.creativecommons.org/l/by-nc-sa/3.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB">Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License</a>.

Edited by cybutek
Link to comment
Share on other sites

This could grow pretty big, now.

You have the potential to make it full grown editor from here, directly into various parts.cfg, on the fly in box, or via system text editor (on click on title) but could create incremental backup "part.bak%time%" in relevant dir when editing values.

Now that could make life all roses for someone (modders), but a living nightmare for others, hope much less ;)

Comma delimiter would be a bit better but is already taken, so maybe could force the devs into changing theirs :huh:

Just kiddin, way to go.

Cheers

Link to comment
Share on other sites

  • 2 weeks later...

Nice to hear that my little script was the spark for this nifty tool. I did in fact finish my tool, as a challenge to myself, but since there didn't seem to be much interest, I never bothered to release it. Since your tool is much more user friendly and does essentially the same thing I'll keep it that way. Thanks for mentioning me in the readme, although not at all necessary it is of course very much appreciated =)

One thing I had in my tool was the ability to set the delimiter via a text field, might be worth considering, since some people like to use pipes or other characters for separating their csv's

Anyways, thanks for the tool, keep up the good work!

-Lukas

Link to comment
Share on other sites

  • 1 year later...

This would be really cool if it worked...

What am I doing wrong? I run "KSP Part Lister.exe",

point it to "C:\Program Files (x86)\Steam\SteamApps\common\Kerbal Space Program"

and it gives me a blank table. I right clicked and ran as administrator just to be sure. Same results.

BTW, I'm running Windows 7 x64.

Link to comment
Share on other sites

I made this over a year ago... The game has changed a lot since then, all the config files are different and so I wouldn't expect it to work. Sorry!

Maybe I'll get around to doing something similar that'll work using the ConfigNode system that KSP now uses. But don't quote me on it.

Link to comment
Share on other sites

I have taken it upon myself to develop a script that could extract data from version .022 cfg files and output it to csv format. I am writing it in VBScript - and it has been a while since I have written any program in Visual Basic 6.0, VBA or VBScript... I'm having to Google things I used to know by heart! So far, the results look promising. Incidentally, during a test, I discovered a spelling error in several cfg files from the KAS mod I have installed (Length being misspelled as "Lenght").

This is still in the preliminary stages, I am finally to the point that I can recursively sift through folders, open the .cfg files, read each line of text, strip off leading spaces, tab characters, and trailing comments and output the resulting line to another file.

Edited by neamerjell
Link to comment
Share on other sites

Here is what I have so far:


'this folder is for Windows 7 64 bit - your path may be different
objStartFolder = "C:\Program Files (x86)\Steam\SteamApps\common\Kerbal Space Program\GameData"
strOutputFile = "C:\listfile.txt"
x = 0
lastrecord = 0
strLine = ""
strClean = ""
strHead = ""
strData = ""

Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFileToWrite = objFSO.OpenTextFile(strOutputFile,2,true)

ShowSubfolders objFSO.GetFolder(objStartFolder)

objFileToWrite.Close
Set objFileToWrite = Nothing


Sub ShowSubFolders(Folder)

For Each Subfolder in Folder.SubFolders

Set objFolder = objFSO.GetFolder(Subfolder.Path)

For Each objFile in objFolder.Files
if instr(ucase(objFile.Name), ".CFG") then
ParseFile(objFile)
end if
Next

ShowSubFolders Subfolder
Next

Set objFolder = Nothing
Set objFile = Nothing

End Sub


Sub ParseFile(objFile)

Set objFileToRead = objFSO.OpenTextFile(objFile.path,1)
strHead = "File, "
strData = mid(objFile.path,instr(objFile.path, "GameData\")) & ", "

strLine = objFileToRead.ReadLine()
do while not objFileToRead.AtEndOfStream

strClean = CleanText(strLine)

if instr(strClean, " = ") then
'get the text to the left of " = "
strHead = strHead & mid(strClean, 1, instr(strClean, " = ") -1) & ", "
strData = strData & mid(strClean, instr(strClean, " = ")+3) & ", "

end if

strLine = objFileToRead.ReadLine()

loop ' while not end of stream
objFileToWrite.WriteLine(strHead & "_")
objFileToWrite.WriteLine(strData & "_")
strHead = ""
strData = ""

objFileToRead.Close
Set objFileToRead = Nothing

end sub


function CleanText (strLineIn)

'replace tabs with spaces
strOutClean = replace(strLineIn, chr(9), " ")

'discard any comments
if instr(strOutClean,"//") then
strClean = mid(strOutClean, 1, instr(strOutClean, "//") - 1)
end if

'discard any leading or trailing spaces
strOutClean = trim(strOutClean)

'return the cleaned up string
CleanText = strOutClean

end function

Link to comment
Share on other sites

Here is a partial output:


File, name, module, author, mesh, scale, TechRequired, entryCost, cost, category, subcategory, title, manufacturer, description, attachRules, node_attach, mass, dragModelType, maximum_drag, minimum_drag, angularDrag, crashTolerance, maxTemp, explosionPotential, fuelCrossFeed, dragCoeff, deflectionLiftCoeff, ctrlSurfaceRange, ctrlSurfaceArea, _
GameData\Squad\Parts\Aero\advancedCanard\part.cfg, AdvancedCanard, ControlSurface, C. Jenkins, model.mu, 0.1, hypersonicFlight, 9200, 900, Aero, 0, Advanced Canard, C7 Aerospace Division, Our engineers thought this design looked "high tech" and therefore must be clear improvement on earlier models., 0,1,0,1,0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.04, override, 0.02, 0.02, 3, 12, 3400, 0.1, True, 0.5, 0.7, 20, 0.95, _
File, name, module, author, mesh, scale, TechRequired, entryCost, cost, category, subcategory, title, manufacturer, description, attachRules, node_attach, mass, dragModelType, maximum_drag, minimum_drag, angularDrag, crashTolerance, maxTemp, explosionPotential, dragCoeff, deflectionLiftCoeff, ctrlSurfaceRange, ctrlSurfaceArea, // mirrorRefAxis, _
GameData\Squad\Parts\Aero\Ailerons\part.cfg, StandardCtrlSrf, ControlSurface, C. Jenkins, model.mu, 0.1, aerodynamicSystems, 4000, 700, Aero, 1, Standard Control Surface, C7 Aerospace Division, Made of the finest materials at hand, these flight surfaces are guaranteed to operate while attached to the craft. However studies have shown that a lack of atmosphere *may* slightly impede function. No refunds., 0,1,0,1,0,0,1, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.04, override, 0.02, 0.02, 3, 12, 3400, 0.1, 0.5, 0.7, 20, 0.95, 0, 0, -1, _
File, name, module, author, mesh, scale, node_stack_top, cost, category, entryCost, TechRequired, title, manufacturer, description, attachRules, mass, dragModelType, maximum_drag, minimum_drag, angularDrag, crashTolerance, maxTemp, fuelCrossFeed, _
GameData\Squad\Parts\Aero\airplaneTail\part.cfg, airplaneTail, Strut, C. Jenkins, model.mu, 0.1, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 675, Aero, 2800, aerodynamicSystems, Tail Connector, WinterOwl Aircraft Emporium, A simple aerodynamic tail for aircraft. Designed to fit onto all standard 1m attachments, this part is the embodiment of our "Let's Fly", line of parts., 1,1,1,1,0, 0.4, default, 0.2, 0.2, 1, 8, 3200, True, _
File, name, module, author, mesh, scale, TechRequired, entryCost, cost, category, subcategory, title, manufacturer, description, attachRules, node_attach, mass, dragModelType, maximum_drag, minimum_drag, angularDrag, crashTolerance, maxTemp, explosionPotential, fuelCrossFeed, dragCoeff, deflectionLiftCoeff, ctrlSurfaceRange, ctrlSurfaceArea, _
GameData\Squad\Parts\Aero\CanardController\part.cfg, CanardController, ControlSurface, C. Jenkins, model.mu, 0.1, hypersonicFlight, 11400, 1500, Aero, 0, Standard Canard, c7 Aerospace, Our engineers had a stroke of inspiration after "visiting" the kerlington production facilities. Introducing our new controllable canards. Warning, hard manuvering may cause unintended stage separation., 0,1,0,1,0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.04, override, 0.02, 0.02, 3, 12, 3400, 0.1, True, 0.5, 0.7, 20, 0.95, _
File, name, module, author, mesh, scale, TechRequired, entryCost, cost, category, subcategory, title, manufacturer, description, attachRules, node_attach, mass, dragModelType, maximum_drag, minimum_drag, angularDrag, crashTolerance, maxTemp, explosionPotential, fuelCrossFeed, dragCoeff, deflectionLiftCoeff, _
GameData\Squad\Parts\Aero\deltaWing\part.cfg, deltaWing, Winglet, C. Jenkins, c7deltawing.DAE, 0.1, supersonicFlight, 5400, 500, Aero, 0, Delta Wing, C7 Aerospace division, Standard Delta configuration wings. These wings provide high lift and a stable center of gravity for your everyday lifting needs., 0,1,0,1,1, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.07, override, 0.02, 0.02, 2, 15, 3400, 0.1, True, 0.6, 1.9, _
File, name, module, author, mesh, scale, rescaleFactor, node_stack_bottom01, TechRequired, entryCost, cost, category, subcategory, title, manufacturer, description, attachRules, stackSymmetry, mass, dragModelType, maximum_drag, minimum_drag, angularDrag, crashTolerance, maxTemp, fuelCrossFeed, _
GameData\Squad\Parts\Aero\NoseCone\part.cfg, noseCone, Part, C. Jenkins, model.mu, 1.0, 1, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, stability, 6000, 680, Aero, 0, Aerodynamic Nose Cone, Goliath National Products, Aerodynamic, lightweight and mostly non-explosive. As a reminder to all personnel operating nearby, this part is really sharp and it'd probably hurt if you fell on it., 1,0,1,1,0, 2, 0.03, default, 0.1, 0.1, 0.5, 10, 3400, False, _
File, name, module, author, mesh, scale, node_stack_top, node_stack_bottom01, TechRequired, entryCost, cost, category, subcategory, title, manufacturer, description, attachRules, stackSymmetry, mass, dragModelType, maximum_drag, minimum_drag, angularDrag, crashTolerance, maxTemp, fuelCrossFeed, _
GameData\Squad\Parts\Aero\noseConeAdapter\part.cfg, noseConeAdapter, Part, C. Jenkins, model.mu, 1.0, 0.0, 0.555, 0.0, 0.0, 1.0, 0.0, 0.0, -0.440, 0.0, 0.0, 1.0, 0.0, advAerodynamics, 6500, 680, Structural, 0, NCS Adapter, C7 Aerospace Division., The base of C7 Aerospace's Nose Cone system (NCS), 1,0,1,1,0, 2, 0.3, default, 0.1, 0.1, 1, 20, 3400, True, _
File, name, module, author, mesh, scale, rescaleFactor, node_stack_bottom, TechRequired, entryCost, cost, category, subcategory, title, manufacturer, description, attachRules, mass, dragModelType, maximum_drag, minimum_drag, angularDrag, crashTolerance, maxTemp, fuelCrossFeed, _
GameData\Squad\Parts\Aero\rocketNoseCone\part.cfg, rocketNoseCone, Strut, NovaSilisko, model.mu, 1, 1, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, heavyAerodynamics, 6500, 1000, Aero, 0, Protective Rocket Nose Mk7, Goliath National Products, A large nosecone for covering up exposed areas of big rockets., 1,0,1,1,0, 0.4, default, 0.1, 0.1, 0.5, 10, 3400, False, _
File, name, module, author, mesh, scale, TechRequired, entryCost, cost, category, subcategory, title, manufacturer, description, attachRules, node_attach, mass, dragModelType, maximum_drag, minimum_drag, angularDrag, crashTolerance, maxTemp, explosionPotential, dragCoeff, deflectionLiftCoeff, ctrlSurfaceRange, ctrlSurfaceArea, _
GameData\Squad\Parts\Aero\smallCtrlSrf\part.cfg, smallCtrlSrf, ControlSurface, Chad Jenkins, model.mu, 0.1, aerodynamicSystems, 3200, 550, Aero, 0, Small Control Surface, C7 Aerospace, Feel the need to attach an elevator, rudder or elivon to just about any darn surface you can get your mitts on? Well this part is for you. Made of mostly new factory parts. Warranty void if exposed to vacuum., 0,1,0,1,0, 0.0, 1.2435, 0.0, 1.0, 0.0, 0.0, 0.01, override, 0.02, 0.02, 3, 12, 3400, 0.1, 0.5, 0.5, 20, 0.95, _
File, name, module, author, mesh, scale, node_stack_bottom01, TechRequired, entryCost, cost, category, subcategory, title, manufacturer, description, attachRules, stackSymmetry, mass, dragModelType, maximum_drag, minimum_drag, angularDrag, crashTolerance, maxTemp, fuelCrossFeed, _
GameData\Squad\Parts\Aero\standardNoseCone\part.cfg, standardNoseCone, Strut, C. Jenkins, model.mu, 1.0, 0.0, -0.138, 0.0, 0.0, 1.0, 0.0, advAerodynamics, 6800, 680, Aero, 0, Standard NC, C7 Aerospace Division., An aerodynamic nose cap., 1,0,1,0,0, 2, 0.1, default, 0.1, 0.1, .25, 40, 3400, True, _
File, name, module, author, mesh, scale, TechRequired, entryCost, cost, category, subcategory, title, manufacturer, description, attachRules, node_attach, mass, dragModelType, maximum_drag, minimum_drag, angularDrag, crashTolerance, maxTemp, explosionPotential, fuelCrossFeed, dragCoeff, deflectionLiftCoeff, _
GameData\Squad\Parts\Aero\sweptWing\part.cfg, sweptWing, Winglet, C. Jenkins, model.mu, 0.1, aerodynamicSystems, 3600, 500, Aero, 0, Swept Wings, C7 Aerospace division, A prototype swept back wing. Made of light weight composite materials. Guaranteed to generate lift, not guaranteed to ensure crew safety., 0,1,0,1,1, 0.0, 0.0, 0.0, -1.0, 0.0, 0.0, 0.05, override, 0.02, 0.02, 2, 15, 3400, 0.1, True, 0.6, 1.6, _
File, name, module, author, mesh, scale, TechRequired, entryCost, cost, category, subcategory, title, manufacturer, description, attachRules, node_attach, mass, dragModelType, maximum_drag, minimum_drag, angularDrag, crashTolerance, maxTemp, explosionPotential, fuelCrossFeed, dragCoeff, deflectionLiftCoeff, _
GameData\Squad\Parts\Aero\tailfin\part.cfg, tailfin, Winglet, C. Jenkins, model.mu, 0.1, aerodynamicSystems, 3800, 600, Aero, 0, Tail Fin, C7 Aerospace Division, This tailfin has passed extensive modeling in our patented P.A.S system.(Paper Airplane Simulation). This fin has been blunted to prevent accidental dismemberment of installing technicians., 0,1,0,1,1, 0, 0, 0.0, -1.0, 0.0, 0.0, 0.02, override, 0.02, 0.02, 2, 12, 3400, 0.1, True, 0.5, 0.3, _
File, name, module, author, mesh, scale, TechRequired, entryCost, cost, category, subcategory, title, manufacturer, description, attachRules, node_attach, mass, dragModelType, maximum_drag, minimum_drag, angularDrag, crashTolerance, maxTemp, explosionPotential, fuelCrossFeed, breakingTorque, dragCoeff, deflectionLiftCoeff, _
GameData\Squad\Parts\Aero\wingConnector\part.cfg, wingConnector, Winglet, C. Jenkins, model.mu, 0.1, advAerodynamics, 6400, 500, Aero, 0, Wing Connector, C7 Aerospace division, A vaguely wing shaped board. Use at your own risk., 0,1,0,1,1, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.05, override, 0.02, 0.02, 2, 15, 3400, 0.1, True, 100, 0.4, 1.0, _
File, name, module, author, mesh, scale, TechRequired, entryCost, cost, category, subcategory, title, // manufacturer, attachRules, node_attach, mass, dragModelType, maximum_drag, minimum_drag, angularDrag, crashTolerance, maxTemp, explosionPotential, mirrorRefAxis, dragCoeff, deflectionLiftCoeff, _
GameData\Squad\Parts\Aero\winglet\part.cfg, winglet, Winglet, HarvesteR, model.mu, 0.1, stability, 1500, 500, Aero, 0, AV-T1 Winglet, Kerlington Model Rockets and Paper Products Inc., 0,1,0,0,1, 5.10736, -0.589634, 0.0, 1.0, 0.0, 0.0, 0.05, override, 0.02, 0.02, 5, 12, 3400, 0.1, 0, 0, -1, 0.5, 0.3, _
File, name, module, author, mesh, scale, TechRequired, entryCost, cost, category, subcategory, title, manufacturer, description, attachRules, node_attach, mass, dragModelType, maximum_drag, minimum_drag, angularDrag, crashTolerance, maxTemp, explosionPotential, dragCoeff, deflectionLiftCoeff, ctrlSurfaceRange, ctrlSurfaceArea, _
GameData\Squad\Parts\Aero\winglet2\part.cfg, R8winglet, ControlSurface, NovaSilisko, model.mu, 0.1, flightControl, 1800, 500, Aero, 0, AV-R8 Winglet, Kerlington Model Rockets and Paper Products Inc., The R8 Active Control Winglet series marked the debut of Kerlington Model Rockets in the Spacecraft engineering world. These winglets are equipped with movable pivots, which allow them to swivel and act as control surfaces. This feature was considered a huge advancement in control technology and most agree that it made Kerlington staff and R8 fans simply unbearable to be around., 0,1,0,0,1, 4.32401, 1.39785, 0.0, 1.0, 0.0, 0.0, 0.02, override, 0.02, 0.02, 5, 12, 3400, 0.1, 0.5, 0.4, 15, 0.95, _
File, name, module, author, mesh, scale, rescaleFactor, TechRequired, entryCost, cost, category, subcategory, title, manufacturer, description, attachRules, node_attach, mass, dragModelType, maximum_drag, minimum_drag, angularDrag, crashTolerance, maxTemp, explosionPotential, dragCoeff, deflectionLiftCoeff, ctrlSurfaceRange, ctrlSurfaceArea, _
GameData\Squad\Parts\Aero\winglet3\part.cfg, winglet3, ControlSurface, NovaSilisko, model.mu, 1, 1, advFlightControl, 4600, 600, Aero, 0, Delta-Deluxe Winglet, Kerlington Model Rockets and Paper Products Inc., The Delta-Deluxe Winglet is a large aerodynamic surface with a small built-in aileron. It is very lightweight and offers more lift than the AV-R8 but the small control surface area means it is not as quick to turn., 0,1,0,0,1, 0.4780781, 0.1322544, 0.0, 1.0, 0.0, 0.0, 0.02, override, 0.02, 0.02, 5, 12, 3400, 0.1, 0.6, 0.7, 15, 0.2, _
File, name, module, author, mesh, scale, rescaleFactor, iconCenter, node_stack_top, node_stack_bottom, TechRequired, entryCost, cost, category, subcategory, title, manufacturer, description, attachRules, mass, dragModelType, maximum_drag, minimum_drag, angularDrag, crashTolerance, maxTemp, name, PitchTorque, YawTorque, RollTorque, name, rate, name, _
GameData\Squad\Parts\Command\advSasModule\part.cfg, advSasModule, Part, NovaSilisko, model.mu, 1, 1, 0, 3, 0, 0, 0.1990267, 0, 0.0, 1.0, 0.0, 0, -0.1990267, 0, 0.0, 1.0, 0.0, advFlightControl, 7200, 1100, Control, 0, Inline Advanced Stabilizer, STEADLER Engineering Corps, 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., 1,0,1,1,0, 0.5, default, 0.2, 0.2, 2, 9, 3400, ModuleReactionWheel, 20, 20, 20, ElectricCharge, 0.3, ModuleSAS, _
File, name, module, author, mesh, rescaleFactor, iconCenter, node_stack_top, node_stack_bottom, TechRequired, entryCost, cost, category, subcategory, title, manufacturer, description, attachRules, mass, dragModelType, maximum_drag, minimum_drag, angularDrag, crashTolerance, maxTemp, name, name, PitchTorque, YawTorque, RollTorque, name, rate, _
GameData\Squad\Parts\Command\asasmodule1-2\part.cfg, asasmodule1-2, Part, NovaSilisko, model.mu, 1, 0, 3, 0, 0, 0.25, 0, 0.0, 1.0, 0.0, 0, -0.25, 0, 0.0, 1.0, 0.0, specializedControl, 11600, 2200, Control, 0, Advanced S.A.S Module, Large, STEADLER Engineering Corps, 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'., 1,0,1,1,0, 0.2, default, 0.2, 0.2, 2, 9, 3400, ModuleSAS, ModuleReactionWheel, 20, 20, 20, ElectricCharge, 0.3, _
File, name, module, author, mesh, scale, node_stack_bottom, TechRequired, entryCost, cost, category, subcategory, title, manufacturer, description, attachRules, mass, dragModelType, maximum_drag, minimum_drag, angularDrag, crashTolerance, maxTemp, name, experimentID, experimentActionName, resetActionName, reviewActionName, useStaging, useActionGroups, hideUIwhenUnavailable, rerunnable, xmitDataScalar, _
GameData\Squad\Parts\Command\avionicsNoseCone\part.cfg, avionicsNoseCone, Part, C. Jenkins, model.mu, 1, 0, -0.1, 0, 0.0, 1.0, 0.0, advScienceTech, 10500, 2300, Science, 0, Sensor Array Computing Nose Cone, C7 Aerospace, The latest in research and developement enabled the development of this little marvel, The Sensor Array Computing Nose Cone. It is outfitted with many "quality" sensors and a computer salvaged from the highest quality aircraft scrap, enabling it to collect atmospheric data while in flight., 1,0,1,1,0, 0.08, default, 0.2, 0.2, 2, 9, 3400, ModuleScienceExperiment, atmosphereAnalysis, Run Atmosphere Analysis, Discard Data, Review Data, False, True, True, True, 0.9, _
File, name, module, author, mesh, rescaleFactor, node_stack_top, node_stack_bottom, CrewCapacity, TechRequired, entryCost, cost, category, subcategory, title, manufacturer, description, attachRules, mass, dragModelType, maximum_drag, minimum_drag, angularDrag, crashTolerance, breakingForce, breakingTorque, maxTemp, stagingIcon, vesselType, name, name, experimentID, experimentActionName, resetActionName, reviewActionName, useStaging, useActionGroups, hideUIwhenUnavailable, rerunnable, xmitDataScalar, name, reviewActionName, storeActionName, evaOnlyStorage, storageRange, name, name, rate, _
GameData\Squad\Parts\Command\crewCabin\part.cfg, crewCabin, Part, NovaSilisko, model.mu, 1, 0.0, 0.986899, 0.0, 0.0, 1.0, 0.0, 0.0, -0.986899, 0.0, 0.0, 1.0, 0.0, 4, specializedConstruction, 12400, 4000, Utility, 0, PPD-10 Hitchhiker Storage Container, Jebediah Kerman's Junkyard and Spaceship Parts Co., The HSC was an invention of necessity - how do we store 4 Kerbals on-orbit without any real provisions for return? Who needed this remains a mystery, as do his motivations., 1,0,1,1,0, 2.5, default, 0.2, 0.3, 2, 6, 200, 200, 2900, COMMAND_POD, Ship, crewCabinInternals, ModuleScienceExperiment, crewReport, Crew Report, Discard Crew Report, Review Report, False, True, True, True, 1.0, ModuleScienceContainer, Review Stored Data, Store Experiments, True, 2.0, MechJebCore, ElectricCharge, 0.005, _
File, name, module, author, mesh, rescaleFactor, node_stack_bottom, node_stack_top, TechRequired, entryCost, cost, category, subcategory, title, manufacturer, description, attachRules, mass, dragModelType, maximum_drag, minimum_drag, angularDrag, crashTolerance, maxTemp, stagingIcon, vesselType, CrewCapacity, name, name, minimumCrew, name, amount, maxAmount, name, name, PitchTorque, YawTorque, RollTorque, name, rate, name, experimentID, experimentActionName, resetActionName, reviewActionName, useStaging, useActionGroups, hideUIwhenUnavailable, rerunnable, xmitDataScalar, name, reviewActionName, storeActionName, evaOnlyStorage, storageRange, name, name, rate, _
GameData\Squad\Parts\Command\cupola\part.cfg, cupola, Part, Squad, model.mu, 1.0, 0.0, -0.4, 0.0, 0.0, 1.0, 0.0, 2, 0.0, 0.83, 0.0, 0.0, 1.0, 0.0, 1, largeControl, 10200, 2000, Pods, 0, PPD-12 Cupola Module, Jebediah Kerman's Junkyard and Spaceship Parts Co., The PPD-12 was developed to provide a high visibility control room for orbital stations, and a place for thoughtful Kerbals to contemplate the beauty of the cosmos., 1,0,1,1,0, 4.5, default, 0.40, 0.40, 4, 8, 3400, COMMAND_POD, Lander, 1, cupolaInternal, ModuleCommand, 1, ElectricCharge, 200, 200, ModuleSAS, ModuleReactionWheel, 9, 9, 9, ElectricCharge, 0.9, ModuleScienceExperiment, crewReport, Crew Report, Discard Crew Report, Review Report, False, True, True, True, 1.0, ModuleScienceContainer, Review Stored Data, Store Experiments, True, 1.6, MechJebCore, ElectricCharge, 0.005, _
File, name, module, author, mesh, rescaleFactor, node_stack_bottom, node_stack_top, TechRequired, entryCost, cost, category, subcategory, title, manufacturer, description, attachRules, mass, dragModelType, maximum_drag, minimum_drag, angularDrag, crashTolerance, maxTemp, stagingIcon, vesselType, CrewCapacity, name, name, minimumCrew, name, amount, maxAmount, name, name, PitchTorque, YawTorque, RollTorque, name, rate, name, experimentID, experimentActionName, resetActionName, reviewActionName, useStaging, useActionGroups, hideUIwhenUnavailable, rerunnable, xmitDataScalar, name, reviewActionName, storeActionName, evaOnlyStorage, storageRange, name, name, rate, _
GameData\Squad\Parts\Command\landerCabinSmall\part.cfg, landerCabinSmall, Part, Squad, model.mu, 1.0, 0.0, -0.625, 0.0, 0.0, 1.0, 0.0, 1, 0.0, 0.625, 0.0, 0.0, 1.0, 0.0, 1, specializedControl, 6800, 2600, Pods, 0, Mk1 Lander Can, Jebediah Kerman's Junkyard and Spaceship Parts Co., This capsule was designed for lightweight non-atmospheric landers, and seats a single occupant. Features a novel full-body crumple-zone technology., 1,0,1,1,0, 0.6, default, 0.20, 0.2, 2, 8, 3400, COMMAND_POD, Lander, 1, landerCabinSmallInternal, ModuleCommand, 1, ElectricCharge, 50, 50, ModuleSAS, ModuleReactionWheel, 3, 3, 3, ElectricCharge, 0.3, ModuleScienceExperiment, crewReport, Crew Report, Discard Crew Report, Review Report, False, True, True, True, 1.0, ModuleScienceContainer, Review Stored Data, Store Experiments, True, 1.3, MechJebCore, ElectricCharge, 0.005, _
File, name, module, author, mesh, scale, node_stack_bottom, TechRequired, entryCost, cost, category, subcategory, title, manufacturer, description, attachRules, mass, dragModelType, maximum_drag, minimum_drag, angularDrag, crashTolerance, maxTemp, stagingIcon, vesselType, CrewCapacity, name, name, minimumCrew, name, amount, maxAmount, name, name, PitchTorque, YawTorque, RollTorque, name, rate, name, experimentID, experimentActionName, resetActionName, reviewActionName, useStaging, useActionGroups, hideUIwhenUnavailable, rerunnable, xmitDataScalar, name, reviewActionName, storeActionName, evaOnlyStorage, storageRange, name, name, rate, _
GameData\Squad\Parts\Command\Mark1Cockpit\part.cfg, Mark1Cockpit, Part, C. Jenkins, model.mu, 0.1, 0.0, -2.15, 0.0, 0.0, 1.0, 0.0, 1, flightControl, 4200, 1800, Pods, 0, Mk1 Cockpit, C7 Aerospace Division., C7 Aerospace is proud to present our second generation cockpit. This unit is equipped to ensure survival in some of the worst conditions possible. The extra re-enforcement has slightly increased the weight., 1,0,1,1,0, 1.25, default, 0.1, 0.1, 2, 45, 3400, COMMAND_POD, Ship, 1, mk1CockpitInternal, ModuleCommand, 1, ElectricCharge, 50, 50, ModuleSAS, ModuleReactionWheel, 10, 10, 10, ElectricCharge, 0.375, ModuleScienceExperiment, crewReport, Crew Report, Discard Crew Report, Review Report, False, True, True, True, 1.0, ModuleScienceContainer, Review Stored Data, Store Experiments, True, 1.3, MechJebCore, ElectricCharge, 0.005, _
File, name, module, author, mesh, scale, node_stack_top, node_stack_bottom, node_attach, TechRequired, entryCost, cost, category, subcategory, title, manufacturer, description, attachRules, mass, dragModelType, maximum_drag, minimum_drag, angularDrag, crashTolerance, maxTemp, stagingIcon, vesselType, CrewCapacity, name, name, minimumCrew, name, amount, maxAmount, name, name, PitchTorque, YawTorque, RollTorque, name, rate, name, experimentID, experimentActionName, resetActionName, reviewActionName, useStaging, useActionGroups, hideUIwhenUnavailable, rerunnable, xmitDataScalar, name, reviewActionName, storeActionName, evaOnlyStorage, storageRange, name, name, rate, _
GameData\Squad\Parts\Command\Mark2Cockpit\part.cfg, Mark2Cockpit, Part, C. Jenkins, model.mu, 0.1, 0.0, 7.5, 0.0, 0.0, 1.0, 0.0, 0.0, -7.75, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 5.12, 0.0, 0.0, -1.0, 1, advFlightControl, 5800, 1600, Pods, 0, Mk2 Cockpit, C7 Aerospace Division., A next generation inline cockpit. Designed for sleek high speed aircraft., 1,0,1,1,0, 1, default, 0.08, 0.08, 1, 40, 3400, COMMAND_POD, Ship, 1, GenericSpace1, ModuleCommand, 1, ElectricCharge, 50, 50, ModuleSAS, ModuleReactionWheel, 10, 10, 10, ElectricCharge, 0.3, ModuleScienceExperiment, crewReport, Crew Report, Discard Crew Report, Review Report, False, True, True, True, 1.0, ModuleScienceContainer, Review Stored Data, Store Experiments, True, 1.3, MechJebCore, ElectricCharge, 0.005, _
File, name, module, author, mesh, scale, node_stack_top, node_stack_bottom, TechRequired, entryCost, cost, category, subcategory, title, manufacturer, description, attachRules, mass, dragModelType, maximum_drag, minimum_drag, angularDrag, crashTolerance, breakingForce, breakingTorque, maxTemp, stagingIcon, vesselType, CrewCapacity, name, name, minimumCrew, name, amount, maxAmount, name, name, PitchTorque, YawTorque, RollTorque, name, rate, name, experimentID, experimentActionName, resetActionName, reviewActionName, useStaging, useActionGroups, hideUIwhenUnavailable, rerunnable, xmitDataScalar, name, reviewActionName, storeActionName, evaOnlyStorage, storageRange, name, name, rate, _
GameData\Squad\Parts\Command\mark3Cockpit\part.cfg, mark3Cockpit, Part, C. Jenkins, model.mu, 0.1, 0.0, 7.6, 0.0, 0.0, 1.0, 0.0, 0.0, -7.8, 0.0, 0.0, 1.0, 0.0, heavyAerodynamics, 18600, 1600, Pods, 0, Mk3 Cockpit, C7 Aerospace, The Mk 3 Cockpit is the pinnacle of airframe cockpit technology. In the rare event of a Kerbin Penetrating anomaly, this cockpit will ensure your Kerbs are interred according to health and sanitation guidelines., 1,0,1,1,0, 3.5, default, 0.2, 0.15, 2, 50, 50, 50, 3400, COMMAND_POD, Ship, 3, GenericSpace3, ModuleCommand, 1, ElectricCharge, 150, 150, ModuleSAS, ModuleReactionWheel, 10, 10, 10, ElectricCharge, 1.05, ModuleScienceExperiment, crewReport, Crew Report, Discard Crew Report, Review Report, False, True, True, True, 1.0, ModuleScienceContainer, Review Stored Data, Store Experiments, True, 2.0, MechJebCore, ElectricCharge, 0.005, _
File, name, module, author, mesh, scale, rescaleFactor, node_stack_bottom, node_stack_top, TechRequired, entryCost, cost, category, subcategory, title, manufacturer, description, attachRules, mass, dragModelType, maximum_drag, minimum_drag, angularDrag, crashTolerance, maxTemp, stagingIcon, vesselType, CrewCapacity, name, name, minimumCrew, name, amount, maxAmount, name, name, PitchTorque, YawTorque, RollTorque, name, rate, name, experimentID, experimentActionName, resetActionName, reviewActionName, useStaging, useActionGroups, hideUIwhenUnavailable, rerunnable, xmitDataScalar, name, reviewActionName, storeActionName, evaOnlyStorage, storageRange, name, name, rate, _
GameData\Squad\Parts\Command\Mk1-2Pod\part.cfg, Mark1-2Pod, Part, C. Jenkins, model.mu, 1, 1, 0.0, -0.47924, 0.0, 0.0, 1.0, 0.0, 2, 0.0, 1.19319, 0.0, 0.0, 1.0, 0.0, 1, specializedControl, 7600, 3800, Pods, 0, Mk1-2 Command Pod, Kerlington Model Rockets and Paper Products Inc., This modern cockpit is designed to be fully re-useable. Its spacious cabin can hold a maximum of 3 crew., 1,0,1,1,0, 4, default, 0.20, 0.15, 2, 45, 3400, COMMAND_POD, Ship, 3, PodCockpit, ModuleCommand, 1, ElectricCharge, 150, 150, ModuleSAS, ModuleReactionWheel, 15, 15, 15, ElectricCharge, 1.2, ModuleScienceExperiment, crewReport, Crew Report, Discard Crew Report, Review Report, False, True, True, True, 1.0, ModuleScienceContainer, Review Stored Data, Store Experiments, True, 2.0, MechJebCore, ElectricCharge, 0.005, _
File, name, module, author, mesh, scale, rescaleFactor, node_stack_bottom, node_stack_top, TechRequired, entryCost, cost, category, subcategory, title, manufacturer, description, attachRules, mass, dragModelType, maximum_drag, minimum_drag, angularDrag, crashTolerance, maxTemp, stagingIcon, vesselType, CrewCapacity, name, name, minimumCrew, name, amount, maxAmount, name, name, PitchTorque, YawTorque, RollTorque, name, rate, name, experimentID, experimentActionName, resetActionName, reviewActionName, useStaging, useActionGroups, hideUIwhenUnavailable, rerunnable, xmitDataScalar, name, reviewActionName, storeActionName, evaOnlyStorage, storageRange, name, name, rate, _
GameData\Squad\Parts\Command\mk1pod\part.cfg, mk1pod, Part, NovaSilisko, model.mu, 1, 1, 0.0, -0.4050379, 0.0, 0.0, 1.0, 0.0, 1, 0.0, 0.6423756, 0.0, 0.0, 1.0, 0.0, 0, start, 0, 600, Pods, 0, Command Pod Mk1, Kerlington Model Rockets and Paper Products Inc., 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., 1,0,1,1,0, 0.8, default, 0.2, 0.15, 2, 14, 3400, COMMAND_POD, Ship, 1, mk1PodCockpit, ModuleCommand, 1, ElectricCharge, 50, 50, ModuleSAS, ModuleReactionWheel, 5, 5, 5, ElectricCharge, 0.24, ModuleScienceExperiment, crewReport, Crew Report, Discard Crew Report, Review Report, False, True, True, True, 1.0, ModuleScienceContainer, Review Stored Data, Store Experiments, True, 1.3, MechJebCore, ElectricCharge, 0.005, _
File, name, module, author, mesh, scale, rescaleFactor, node_stack_bottom, node_stack_top, TechRequired, entryCost, cost, category, subcategory, title, manufacturer, description, attachRules, mass, dragModelType, maximum_drag, minimum_drag, angularDrag, crashTolerance, maxTemp, stagingIcon, vesselType, CrewCapacity, name, name, minimumCrew, name, amount, maxAmount, name, name, PitchTorque, YawTorque, RollTorque, name, rate, name, experimentID, experimentActionName, resetActionName, reviewActionName, useStaging, useActionGroups, hideUIwhenUnavailable, rerunnable, xmitDataScalar, name, reviewActionName, storeActionName, evaOnlyStorage, storageRange, name, name, rate, _
GameData\Squad\Parts\Command\mk2LanderCabin\part.cfg, mk2LanderCabin, Part, NovaSilisko, model.mu, 1, 1, 0.0, -0.4035744, 0.0, 0.0, 1.0, 0.0, 2, 0.0, 0.7519293, 0.0, 0.0, 1.0, 0.0, 1, largeControl, 8200, 1950, Pods, 0, Mk2 Lander-can, Sean's Cannery, This cozy capsule seats two, and is very lightweight. However, don't expect it to survive atmospheric entry or even a sneeze., 1,0,1,1,0, 2.5, default, 0.20, 0.15, 2, 8, 3400, COMMAND_POD, Lander, 2, landerCabinInternals, ModuleCommand, 1, ElectricCharge, 100, 100, ModuleSAS, ModuleReactionWheel, 15, 15, 15, ElectricCharge, 0.75, ModuleScienceExperiment, crewReport, Crew Report, Discard Crew Report, Review Report, False, True, True, True, 2.0, ModuleScienceContainer, Review Stored Data, Store Experiments, True, 2.0, MechJebCore, ElectricCharge, 0.005, _

Link to comment
Share on other sites

Yeah that's why I said it'd have to work with the ConfigNode system. My original is working the same way as yours and for producing a list like yours it will work. But it will be wrong. You will have to program in node entrance and escape paths via looking at the brackets.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...