-
Notifications
You must be signed in to change notification settings - Fork 303
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
Hero death coordinate #1473
Comments
The teamfight death position is based on the hero position at the time of death (same second). It's currently not saved for each hero death (although it could be added). Translate the coordinates by subtracting 64 from both x and y, then the range of values is 0-127 starting from the bottom left corner. |
You can iterate over the teamfights array in each match data blob to find the deaths in each teamfight. killed_by is an object, not an array, so it might make more sense to add it to the kills_log instead. I don't know when I'll have time to do this, but happy to accept a pull request for the change. Yes, that is the scale you can use for the coordinates we extract. |
Sorry , I am new to the OPENDOTA, what is "match data blob"? |
@albertcui can you do this? |
Which API tell the Hero death coordinate? Can I get every hero death log(with x,y)(not just in teamfights) from a pro_match?
How to map the x,y in obs_log to dota2 map?
Thanks!
The text was updated successfully, but these errors were encountered: