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.

  • Does crouching improve accuracy with most ranged weapons?
  • How to map mutliple keys to a button in Half Life 2/Team Fortress 2?
  • What is the timing to reliably reflect rockets, arrows, and grenades?
  • Up to how fast can the Panic Attack's reload and firerate be?
  • How do you use sprays in Team Fortress 2?
  • Can't start game (app already running)
  • How do you use sprays in Team Fortress 2?
  • What is the timing to reliably reflect rockets, arrows, and grenades?
  • Multiple Strange Errors when Starting TF2 Dedicated Server
  • How can I run a dedicated server without Steam?
  • How do you prevent specific class scripts from transfering to all classes?
  • Loadout unavailable on dedicated TF2 LAN server
  • 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.