Hammer Camera Tool

From Valve Developer Community
Jump to: navigation, search
Underlinked - Logo.png
This article needs more Wikipedia icon links to other articles to help Wikipedia icon integrate it into the encyclopedia. Please help improve this article by adding links Wikipedia icon that are relevant to the context within the existing text.
January 2024
English (en)Deutsch (de)日本語 (ja)Русский (ru)Translate (Translate)
float
The camera components shown in the 2D Views.

The Camera Tool allows you to place and modify cameras within your level. While in camera mode, hold Shift and left-click and drag in any 2D view to create the camera. A line with a dot (the view point) will be drawn in the 2D views. You can adjust it until it is pointing in the direction you'd like by Left-clicking and dragging on the dot to reposition the camera viewpoint. Click and drag at the end of the line to move the target that the camera is looking towards. Hold down Ctrl to move the both camera points simultaneously. To place more than one camera in a level, repeat the above steps.

Cameras are good for helping you visualize the creation of your level. They are especially useful when using the Vertex tool Mt-vertex.png, as they allow you to see exactly what you are doing to a brush. You will also find multiple cameras especially useful if you are working on several areas of a level at once. Placing a new camera in an area negates the need to search for that area when you want to work on it again. Additionally, cameras are useful if you want to take multiple pictures of an area from the same exact spot.

Using Multiple Cameras

There are a number of options available to you when using multiple cameras. You must have the Camera tool Hammer camera.png selected to take advantage of these:

  • PgUp — Cycle up to the next camera position.
  • PgDn — Cycle down to the last camera position.
  • Delete — Delete the current camera position. If you delete the last camera position, a new one is automatically created at the origin of the map grid.
  • Shift — Hold and click-drag with the left mouse button to create a new camera.

Creating New Cameras

Creating a new camera.

To create a viewpoint camera:

  1. Select the Camera tool Hammer camera.png.
  2. Hold down Shift and drag a line in any 2D view.
  3. Click and drag the circle to move the camera position in any 2D view.
  4. Click and drag the end of the line to move the position the camera is pointing at.

See also