AndyMt / GravityTurn

KSP Plugin to automate highly efficient launches
GNU General Public License v3.0
15 stars 7 forks source link

Log of all launch stats? #48

Open Svish opened 6 years ago

Svish commented 6 years ago

Would be interesting to see some stats on how my rockets together with this mod performs over time. Which rockets have been the most efficiently launched? The worst?

AndyMt commented 6 years ago

There is some data in the gt_Launchdb*.cfg files in \GameData\GravityTurn\Plugins\PluginData\GravityTurn

Integrating this kind of stats into the mod goes way beyond the purpose of the mod. But could reading these files into Excel etc also be a solution?

Svish commented 6 years ago

Slightly unrelated, these files have names related to my rockets, shouldn't they be stored with the save game?

On the issue, yeah, could be interesting if the "after launch is fully complete"-stats were dumped in a CSV file or something that could be read by Excel.

And in-game, it wouldn't need to be very complicated. Could reuse the current stats window, and just add the possibility to open it before launch (or maybe even in the VAB?) and see the best stats so far for the loaded rocket (if any). That way I could see, "ok, this thing have been able to launch into orbit with X delta-v, and I lost Y on drag. So that means, if I streamline it, I'll be able to get to Duna alright with good margin."

AndyMt commented 6 years ago

The location of mod-generated files is given by the KSP API guidelines. Nothing is supposed to be stored in the "saves" directory. Instead the "Plugins" folder of each mod is to be used. I find this a bit strange, too. But probably there are good reasons for that - for now that's the way it is.

I'll consider your suggestion of using the existing stats window. That might be possible.