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.

  • Why can't I install TF2 in a non-default game library location?
  • How do you air strafe to the right in team fortress 2?
  • Why is the Team Fortress 2 install so huge?
  • What is the default weapon switching time?
  • What can the Pyro return to sender using the compression blast?
  • Multiple Strange Errors when Starting TF2 Dedicated Server
  • What does “W+1” mean with respect to the Pyro?
  • What are standard weapon builds for a Heavy?
  • 2nd Steam Account on the same Computer?
  • Which classes and what moves allow for higher jumping than normal?
  • Skip TF2 file validation in Steam
  • Does crouching improve accuracy with most ranged weapons?
  • 3 Solutions collect form web for “Is there a way to measure distance between points in Source engine games?”

    Enter 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.

    We love Playing Games, especially Video Games.