Hammer Hotkey Reference: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (rotations)
Line 180: Line 180:
|Ctrl || Hold Ctrl and Left-Click to select multiple objects.
|Ctrl || Hold Ctrl and Left-Click to select multiple objects.
|-
|-
|Shift || *Hold Shift (or Alt) when rotating will allow rotation unconstrained to 15 degrees; hold Shift when moving an object to create a copy (clone) of that object.
|rowspan=2 | Shift || hold Shift when moving an object to create a copy (clone) of that object.
|-
|*Hold Shift (or Alt) when rotating to allow rotation unconstrained to 15 degrees intervals
|-
|-
|Left mouse || Click and drag left mouse button to select with a box; press Enter to select objects hitting the box, or press Shift+Enter to select objects only entirely within the box.
|Left mouse || Click and drag left mouse button to select with a box; press Enter to select objects hitting the box, or press Shift+Enter to select objects only entirely within the box.

Revision as of 01:44, 2 May 2009

Tools

Shift+S Selection Tool
Shift+G Magnify Tool
Shift+C Camera Tool
Shift+E Entity Tool
Shift+B Block Tool
Shift+A Texture Application Tool
Shift+T Apply Current Texture
Shift+D Decal Tool
Shift+O Overlay Tool
Shift+X Clipping Tool
Shift+V Vertex Edit Tool

File Operations

Ctrl+N Create a new file.
Ctrl+O Open an existing file.
Ctrl+S Save the current file.
Alt+B Export again.
F9 Run/Compile Map.
Ctrl+Shift+S Open Sound Browser.

Undo/Redo

Ctrl+Z Undo.
Ctrl+Y Redo.

Clipboard/Copy & Paste

Ctrl+C Copy selected objects to clipboard (also Ctrl+Insert).
Ctrl+V Paste objects from clipboard to cursor location (also Shift+Insert).
Ctrl+X Cut selected objects to clipboard (also Shift+del).

Grid

[ Decrease the size of the grid (also Alt+A).
] Increase the size of the grid (also Alt+S).
Shift+R Toggle viewport grid on/off.
Shift+W Toggle grid snapping on/off.
P Toggle brush face 3D grid on and off (with mouse cursor in 3D view).

Grouping

Ctrl+G Group selected objects.
Ctrl+U Ungroup selected groups.*
Ctrl+R Create prefab with selected objects.
Ctrl+T Tie to entity. Creates an entity with selected objects, or adds objects to an existing entity if one is also selected.
Ctrl+W Toggle Ignore Groups mode to bypass entity and group selection.
Ctrl+Shift+W Move selected solid entities to world.
* this won't work if the objects are part of the same entity

Carving/Hollowing

Ctrl+Shift+C Carve selected objects.
Ctrl+H Hollow selected objects.

Viewports

Ctrl+A Auto-size 4 views to center.
Shift+Z Maximize/restore active viewport.
Arrow keys Pan the view
* Nudge the current selection in the current 2D or 3D viewport.
Shift+Arrow keys * Clone the current selection and nudge it the current 2D or 3D viewport.
F6 Cycles to the next active viewport.
Shift+F6 Cycles to the previous active viewport.
* = with "arrow key nudge" enabled in the options menu

2D Views

Ctrl+I Flip selected objects vertically.
Ctrl+L Flip selected objects horizontally.
Ctrl+B Snap selected objects to grid (based on bounding box).
Ctrl+Shift+B Snap selected objects to grid (individually).
Tab Switch view types (top/side/front).
+/- Zoom in/out (hold Ctrl to synchronize all 2D views).
Mouse Wheel Zoom in/out (hold Ctrl to synchronize all 2D views).
1 to 9 Preset zoom levels.
Space Hold space and left mouse button to drag the view position around.
Alt Disable snap to grid while dragging with the mouse.
Ctrl+E Center all 2D Views on currently selected objects.

3D View

Space (holding)

Holding the left mouse button allows you to rotate your angle of view in any direction, while the viewing point remains stationary.

Holding the right mouse button will allow you to move left, right, up, and down while keeping the viewing angle constant.

Space+Shift The left mouse button acts the same as above.

The right mouse button allows you to move forward and backward, as well as from side to side.

Mouse Wheel Zoom in/out.
W Move camera forward.
S Move camera backward.
A Move camera (strafe) left.
D Move camera (strafe) right.
z Toggles 3D view "noclip" navigation mode.
P Toggle brush face 3D grid on and off (with mouse cursor in 3D view).
O Display frames per second and yaw/pitch of camera (with mouse cursor in 3D view).
I Display bounding boxes for all visible objects.
X Display selection handles for object resizing/rotation.
1 Decrease far clipping plane.
2 Increase far clipping plane.
Ctrl+Shift+E Center 3D View on selection.

Selection Tool

Left-Click (On an unselected object) Changes selection to only the object under the cursor
(On a selected object) Cycles through resize, rotate, and skew
Ctrl Hold Ctrl and Left-Click to select multiple objects.
Shift hold Shift when moving an object to create a copy (clone) of that object.
*Hold Shift (or Alt) when rotating to allow rotation unconstrained to 15 degrees intervals
Left mouse Click and drag left mouse button to select with a box; press Enter to select objects hitting the box, or press Shift+Enter to select objects only entirely within the box.
Hold left mouse Cycle through every object beneath the cursor. Good for selecting obscured items without moving your view.
Shift+Q or Esc Clear current selections.
PgUp Previous selection in "hit" list.
PgDn Next selection in "hit" list .
Alt+Enter Open up Object Properties for the currently selected objects.
Ctrl+Shift+E Center 3D View on selection.
* = when "Default to 15 degree rotation" is enabled in the "2D views" options menu

Camera Tool

Shift or Alt Hold Shift or Alt and click and drag left mouse button to create a new camera.
PgUp Cycle to the previous camera position.
PgDn Cycle to the next camera position.
Delete Delete the current camera position.
Ctrl Hold Ctrl and drag a camera or its point of interest to move both together.

Block Tool

Left Mouse Click and drag left mouse to draw a new brush shape.
Enter Create object drawn with block/entity tool.
Esc Delete object drawn with block/entity tool without creating it.
Alt+Shift+C Insert original prefab.

Texture Application Tool

Ctrl Hold Ctrl and click to select/deselect multiple faces.
Shift Hold Shift and click a face to select all faces on the brush.
Shift+Ctrl Hold Shift and Ctrl when clicking a face to invert the selected faces on a brush with the unselected faces.
Right-click Apply the current material settings to the face that is clicked.
Shift+Right-click Apply the current material to all the faces of a brush that is clicked.
Alt+Right-click Apply the current material settings to the face that is clicked, with wrapping/alignment to the previously selected face.

Displacement Editing Tool, Select Mode

Ctrl Hold Ctrl and click to select multiple faces.
Shift Hold Shift and click a face to select all faces on the brush.
Shift+Ctrl Hold Shift and Ctrl, click a face to add all unselected faces on the brush to the current selection.

Displacement Editing Tool, Paint Geometry Mode

Left-Click Applies selected affect to the encompassed vertex/vertices on selected faces
Right-Click Lowers the encompassed vertex/vertices on selected faces when Raise/Lower is selected
Ctrl Hold Ctrl and Left-Click to select multiple faces.
Shift+Ctrl Hold Shift and Ctrl, Left-Click a face to add all unselected faces on the brush to the current selection.
Alt hold Alt and Left-Mouse-Button drag to alter the size of the spatial editing sphere.
Shift hold Shift and Left-Click a vertex to drag that vertex along the current painting axis.
Alt+Right-click Click any brush or displacement face to make that face’s normal the current painting axis.

Displacement Editing Tool, Paint Alpha mode

Left-Click Applies secondary texture to the encompassed vertex/vertices on selected faces when Raise/Lower is selected
Right-Click Applies primary texture the encompassed vertex/vertices on selected faces when Raise/Lower is selected
Ctrl Hold Ctrl and click to select multiple faces.
Shift+Ctrl Hold Shift and Ctrl, click a face to add all faces on the brush to the current selection.

Overlay Tool

Shift Hold Shift and drag a overlay vertex to snap it to another vertex.
Ctrl hold Ctrl and click to select multiple overlays.

Clipper Tool

Left mouse Click and drag left mouse to create a new clip plane.
Shift Hold Shift and drag with the left mouse button to erase the previous clipping plane and create a new one.
Enter Perform clip
Ctrl hold Ctrl and drag with the left mouse button over a clipping handle to move both handles of the clipping plane at the same time.
O Toggle the clip distance measurements display on and off (with mouse cursor in 2D view).
Shift+X Cycle through clip modes.

Vertex Edit Tool

Left-Click select vertex/vertices or edges
Ctrl+Left-Click add vertex/vertices or edges to selection
Ctrl+F Split faces (vertex manipulation)
Note.pngNote:must have two edges or vertices selected that are along the same plane
Alt+E Open Vertex Scaling dialog.
Enter Close Vertex Scaling dialog and perform scale.
Shift+V Cycle vertex/edge display modes.

Miscellaneous

Shift+L Toggle Texture lock.
Ctrl+M Open Transform dialog.
Alt+P Open Check for Problems dialog.
Esc Clear current selection or abort current tool/mouse operation (drag/drop) and goto the selection tool.
Ctrl+Shift+G Go to Brush Number dialog.
Ctrl+Shift+F Open Find Entities dialog.
Ctrl+Shift+R Open Replace Entities dialog.

Template:Otherlang:en Template:Otherlang:en:ru