Quote:
Originally Posted by randunel
Bacardi, you're right! Thanks for helping me realise that each dds image pixel translates to "scale * pixels" coordinates ingame. This means that I don't need any other known points to calculate, given that each image pixel (e.g. point 1024x1024) translates to 1024*scale as ingame coordinates.
In case anyone finds this thread in a future search: just multiply the size of the image with the "scale" parametre to calculate the ingame coordinates shown by the radar map.
Demo with the result: https://gfycat.com/unimportantringedirrawaddydolphin
This problem is solved, thank you!
|
https://forums.alliedmods.net/showth...83#post2742983
For example, de_aztec_radar.vdc " This is on all standard maps, resolution (1024*1024)/10 = map coordinates.
How do I draw players on the map texture? This needs to be rendered in real time, and somehow drawn on the map texture.