Half-Life 2 Hints

Teleporting Around

  • To warp around within a map area, use the "getpos" and "setpos" commands. To find out what your current coordinates are, type getpos on the console. It'll give you the exact "setpos" and "setang" commands necessary to teleport yourself directly back to that point from any other (though note that the "setang" command is not needed, as it just relates to your viewing angle, not your actual position). Write down the three "setpos" coords, then use them with "setpos" whenever you want to teleport to those coords. Ex: setpos -10282.20 -2266.38 1087.33

    NOTE: If the results of your "getpos" command are still on the console screen (remember that it's scrollable), you can just copy and paste them onto the command line and hit ENTER. Nice and convenient!

    Another related thing you can do is enter cl_showpos 1 on the console to get your position coords, view angle, and velocity to be constantly displayed in the upper right corner of the screen. (Enter cl_showpos 0 to turn the display back off.)