Is there a way to measure distance between points in Source engine games?
When practicing jumps in Team Fortress 2, I’d really like to be able to measure both the height and length of my jumps, as well as the distance between two points on the map. Is there a way in the Source engine to measure distance? Units are largely irrelevant, so long as it’s consistent.
3 Solutions collect form web for “Is there a way to measure distance between points in Source engine games?”
cl_showpos 1 in the console. This will display your current position, angle, and velocity in the upper-right corner of the screen.
To get the distance, open http://www.calculatorsoup.com/calculators/geometry-solids/distance-two-points.php in the in-game browser, plug your starting coordinates into the first box, your ending coordinates into the second box, and hit “Calculate”.
To my knowledge there is no way to do so exactly, unless someone made a Sourcemod to do so. What you could do is find/create a map with the default grid textures Source provides. That should provide the info you need.
You can measure distances when using the Hammer editor (they are returned in something called Hammer Units; every actor / object in Source games gets a speed of Hammer Units / Second), but I don’t believe there’s a way to view distances in standard source games, at least not without a mod of some sort.