Hammer Camera Tool

From Valve Developer Community
Jump to: navigation, search
Deutsch Русский
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 the CTRL key 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 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.

Using multiple cameras

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

  • PAGEUP -- Cycle up to the next camera position.
  • PAGEDOWN -- 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 SHIFT 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.
  2. Hold down the SHIFT key, 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

Hammer Viewports