Open marcotama opened 11 months ago
I think this should be ~doable currently.
"Provider": parse_header() "map": parse_header() + parse_event()/parse_tick() (check long list of props in readme) "phase_countdowns": parse_event()/parse_tick() "grenades": parse_grenades() (lifetime and velocity not available but can be calculated, velocity if just the difference in position between this tick and last)
I see, I am going through the fields one by one, thanks.
To give you context into why it would be useful to get the GSI data stream from a demofile: GSI is the only data available while a game is live, so any tool that works for live games, needs it. If the tool uses a Machine Learning model, GSI data is needed to train it. The game will give GSI data given a demo file, but it's slow and requires user interaction. And it's buggy, from what I can tell.
So it would be great if demoparser
provided the necessary data for one to programmatically generate the GSI stream.
Regardless, it's a great tool already! Thanks for the hard work!
@LaihoE Is it normal that I don't get X,Y,Z coordinates for he_grenade
and flashbang
grenade types?
I am trying to recreate the GSI (Game State Integration; learn more: [Valve] [Reddit]) stream from a demo. The GSI data includes details about the map and other general info about the round and match. Is it currently possible to retrieve this information using the parser? If not, would you consider adding the capability?