Hello, its not directly connected to Dedicated Server, but since I couldnt find any other forum for general csgo devolopment I am using this one. If in any way im disrespecting the rules, im sorry.
What I need to know is how to convert map coordinates to image coordinates.
My objective is to put a "point" on a radar image (like this one:
http://i.imgur.com/Kk6zuRK.png) on the position the player is. Ofc that its not suppose to be done manually, its part of a script.
The default CS:GO radar images are in 1024x1024, but the coordinates CSGO feeds me are not even close to that.
The output i receive from csgo is: "position":"421.97, 2118.56, 131.92", its an X,Y,Z coordinate type, and so the only ones that interest are the X and Y.
Im wondering what is the formula to convert this to image coordinates.
I couldnt find any information regarding this on the Valve wiki/devoloper 'center', thats why I am using this forum.
Thanks in advance.
If you want to help by talking directly, add me on skype: marcelo.silva.12