skadistats / clarity

Comically fast Dota 2, CSGO, CS2 and Deadlock replay parser written in Java.
BSD 3-Clause "New" or "Revised" License
659 stars 120 forks source link

Minimap dimensions #318

Open RefreshJunior opened 3 months ago

RefreshJunior commented 3 months ago

Hi, I'm trying to mark a dota 2 minimap, with coordinates I get from Open Dota API, but I can get the minimap dimensions right... Does anyone know that?

LinusBleckert commented 3 months ago

Hi, Im not quite sure what you mean, what are the coordinates, I assume they are the cellX and cellY and vecY and vecX? Im trying to draw some coordinates on the dota map but also having some troubles getting the coordinates accurate on the map. image For example here the ward position Im trying to draw is slightly off. I have done this a few years before. cellX used to be the range: 64-192. Not sure if that has changed since the map has gotten alot bigger.