-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] - Export Statistics to CSV #62
Comments
csv might be a bit tricky simply due to how the stats are organized. Would it be the whole stats file as one big csv, a file per player, or even just a file for a player's specific aircraft? The way I see it, it'd have to be built similar to how the in game stats display works by getting a list of all aircraft, weapons, kills, etc and then having to populate the csv in that format. So you'd have something like a list of general stats across the horizontal part of the spreadsheet and the vast majority would list a stat of 0 or just be missing. There would be a ton of entries though, especially if more detailed stats are enabled that keeps track of individual object types killed by weapons. Not to mention the formatting would likely change between exports. |
I might be wrong but in my opinion the whole stats file would be easy to export and use. |
The export would have to be the same basic code regardless, its just bigger in scale depending on the number of stats. Its not impossible by any means, just requires the time to sit down and code that, and honestly the json export has priority, which is much simpler. The older stats format wouldn't be that bad, its the newer and more detailed stats that would be annoying. Just a sample of what I mean. These are the "middle ground" level of detail for the stats for two aircraft for the same player as saved in the stats file.
So the csv would have to be something like below where "x" is some value stored in the stats and 0 would be anything missing. Including more of the specific stats would just add more and more entries. With hundreds of objects in the game and hundreds of weapons to use it should be evident how large the stats would become. Again, if it was something limited to the in game display then by all means it wouldn't be that bad to created, but all the details it becomes a bit crazy.
|
Yes, I see it becomes a bit more than simple. I haven't had a good knowledge of the lua to not to break anything, |
Piggy backing onto the in game display functions was pretty much my line of thinking for getting it to work anyway. I've been focused on mission editor scripting stuff lately, so I've been spending my time on that. If I get some time to add stuff to slmod I might do some tests for this, but no promises though. |
No problem. We'll wait for any update. |
I'd like to suggest an 'Export to CSV' function.
I think that many users would find this quite useful.
The text was updated successfully, but these errors were encountered: