Zh/Hammer Hotkey Reference: Difference between revisions

From Valve Developer Community
< Zh
Jump to navigation Jump to search
(Mark {{finishtranslation:zh-cn}})
No edit summary
Line 1: Line 1:
{{lang|Hammer Hotkey Reference|title=Hammer快捷键参考}}{{toc-right}}
{{lang|Hammer Hotkey Reference|title=Hammer快捷键参考}}{{toc-right}}
{{finishtranslation:zh-cn}}
{{finishtranslation:zh-cn}}
==工具部分==
=Tools 工具=
{| class=standard-table
{| class=standard-table
|{{key|Shift|S}} || 指针选择工具
|{{key|Shift|S}} || [[Image:mt-selection.png]] [[Hammer_Selection_Tool|Selection Tool 选择工具]]
|-
|-
|{{key|Shift|G}} || 缩放工具
|{{key|Shift|G}} || [[Image:Hammer_magnify.png]] [[Hammer_Map_Tools_Toolbar#Magnify_Tool_Shift.2BG|Magnify Tool 缩放工具]]
|-
|-
|{{key|Shift|C}} || 相机工具
|{{key|Shift|C}} || [[Image:mt-camera.png]] [[Hammer_Camera_Tool|Camera Tool 相机工具]]
|-
|-
|{{key|Shift|E}} || 实体工具
|{{key|Shift|E}} || [[Image:mt-entities.png]] [[Hammer_Entity_Tool|Entity Tool 实体工具]]
|-
|-
||{{key|Shift|B}} || 笔刷工具
|{{key|Shift|B}} || [[Image:mt-block.png]] [[Hammer_Block_Tool|Block Tool 笔刷工具]]
|-
|-
|{{key|Shift|A}} || 材质调节工具
|{{key|Shift|A}} || [[Image:Hammer_ToggleTextureApplication.png]] [[Applying_Textures|Texture Application Tool 纹理应用工具]]
|-
|-
|{{key|Shift|T}} || 应用当前材质工具
|{{key|Shift|T}} || [[Image:Hammer_ApplyCurrentTexture.png]] [[Applying_Textures|Apply Current Texture (to selected brushes) 应用当前纹理(应用于所选笔刷)]]
|-
|-
|{{key|Shift|D}} || 贴花工具
|{{key|Shift|D}} || [[Image:mt-decal.png]] [[Hammer_Decal_Tool|Decal Tool 贴花工具]]
|-
|-
|{{key|Shift|O}} || 覆盖工具
|{{key|Shift|O}} || [[Image:mt-overlay.png]] [[Hammer_Overlay_Tool|Overlay Tool 覆盖工具]]
|-
|-
|{{key|Shift|X}} || 裁剪工具
|{{key|Shift|X}} || [[Image:mt-clipping.png]] [[Clipping|Clipping Tool 裁剪工具]]
|-
|-
|{{key|Shift|V}} || 顶点工具
|{{key|Shift|V}} || [[Image:mt-vertex.png]] [[Hammer_Vertex_Tool|Vertex Edit Tool 顶点编辑工具]]
|}
|}


==文件选项==
=File Operations 文件选项=
{| class=standard-table
{| class=standard-table
|{{key|Ctrl|N}} || 新建文件.
|{{key|Ctrl|N}} || Create a new file. 创建一个新文件。
|-
|-
|{{key|Ctrl|O}} || 打开已有文件.
|{{key|Ctrl|O}} || Open an existing file. 打开现有文件。
|-
|-
|{{key|Ctrl|S}} || 保存当前文件.
|{{key|Ctrl|S}} || Save the current file. 保存当前文件。
|-
|-
||{{key|Alt|B}} || 再次导出.
||{{key|Alt|B}} || Export again. 再次导出。
|-
|-
|{{key|F9}} || 编译运行地图.
|{{key|F9}} || Run/Compile Map. 运行/编译地图。
|-
|-
||{{key|Ctrl|Shift|S}} || 打开声音浏览列表.
||{{key|Ctrl|Shift|S}} || Open Sound Browser. 打开声音浏览器。
|}
|}


==常规==
==Undo/Redo 撤销/重做==
===取消、重做===
{| class=standard-table
{| class=standard-table
|{{key|Ctrl|Z}} || 取消.
|{{key|Ctrl|Z}} || Undo. 撤销。
|-
|-
|{{key|Ctrl|Y}} || 重做.
|{{key|Ctrl|Y}} || Redo. 重做。
|}
|}


===剪贴板、选择项===
==Clipboard/Copy & Paste 剪贴板/复制和粘贴==
{| class=standard-table
{| class=standard-table
|{{key|Ctrl|C}} || 拷贝对象物体到剪贴板.
|{{key|Ctrl|C}} || Copy selected objects to clipboard (also Ctrl+Insert). 将所选对象复制到剪贴板(同 {{key|Ctrl|Insert}})。
|-
|-
|{{key|Ctrl|V}} || 粘贴物体.
|{{key|Ctrl|V}} || Paste objects from clipboard to cursor location (also Shift+Insert). 将对象从剪贴板粘贴到光标位置(同 {{key|Shift|Insert}})。
|-
|-
|{{key|Ctrl|X}} || 剪切物体.
|{{key|Ctrl|Shift|V}} || Paste special. 特殊粘贴。
|-
|{{key|Ctrl|X}} || Cut selected objects to clipboard (also Shift+del). 将所选对象剪切到剪贴板(同 {{key|Shift|Delete}})。
|}
|}


==Grid 栅格==
=Grid 网格=
{| class=standard-table
{| class=standard-table
||{{key|[}} || 缩小网格尺寸(也可以 {{key|Alt}}+{{key|A}}).
||{{key|[}} || Decrease the size of the grid (also {{key|Alt|A}}). 减小网格的大小(同 {{key|Alt|A}})。
|-
|-
|{{key|]}} || 放大网格尺寸(也可以 {{key|Alt}}+{{key|S}}).
|{{key|]}} || Increase the size of the grid (also {{key|Alt|S}}). 增加网格的大小(同 {{key|Alt|S}})。
|-
|-
|{{key|Shift|R}} || 关闭/启用网格.
|{{key|Shift|R}} || Toggle viewport grid on/off. 打开/关闭视口网格。
|-
|-
|{{key|Shift|W}} || 关闭或启用网格吸附.
|{{key|Shift|W}} || Toggle grid snapping on/off. 打开/关闭网格捕捉(吸附网格)。
|-
|-
|{{key|P}} || 关闭或启用三维视角网格.
|{{key|P}} || Toggle brush face 3D grid on and off (with mouse cursor in 3D view). 打开/关闭 3D 网格。
|-
|-
|{{key|Ctrl|B}} || 在选择边界框内将所选对象吸附到网格.
|{{key|Ctrl|B}} || Snap selected objects to grid (based on selection bounding box). 将所选对象与网格对齐(基于所选对象的边界框)。
|-
|-
|{{key|Ctrl|Shift|B}} || 将所选对象吸附到网格 (individually).
|{{key|Ctrl|Shift|B}} || Snap selected objects to grid (individually). 将所选对象与网格对齐(分别对齐)。
|}
|}


==Grouping 分组==
=Grouping 分组=
{| class=standard-table
{| class=standard-table
|{{key|Ctrl|G}} || 将已选择的物体组成一组.
|{{key|Ctrl|G}} || Group selected objects. 将已选对象组成一组。
|-
|-
|{{key|Ctrl|U}} || * 将已选择的组拆分.
|{{key|Ctrl|U}} || * Ungroup selected groups. * 将已选择的组拆分。
|-
|-
|{{key|Ctrl|R}} || 将已选择的组做成预制组件.
|{{key|Ctrl|R}} || Create prefab with selected objects. 使用所选对象创建预制件。
|-
|-
|{{key|Ctrl|W}} || 切换忽略组模式.
|{{key|Ctrl|W}} || Toggle Ignore Groups mode to bypass entity and group selection. 切换忽略组模式以选择实体或组内的单个个体。
|-
|-
|{{key|Ctrl|T}} || 转变为实体。将已选择的物体转变为实体,或者将物体添加到一个选中的实体中。
|{{key|Ctrl|T}} || Ties selected brushes to entity. If a selected brush is part of an existing entity you will have the option to add the other selected brushes to it. 将选定的笔刷绑定到实体。如果所选笔刷是已有实体的一部分,则可以选择向原有实体中添加其他选定的笔刷。
|-
|-
|{{key|Ctrl|Shift|W}} || 将已选中的固体实体移动到地图中.  
|{{key|Ctrl|Shift|W}} || "Move to world", removes entity status from selected brushes. “移动到世界”,将选定笔刷移出实体状态。
|}
|}
: * this won't ungroup brushes tied to the same entity
: * this won't ungroup brushes tied to the same entity. * 这不会取消绑定到同一实体的笔刷分组。


==QuickHiding 快速隐藏==
=QuickHiding 快速隐藏=
{| class=standard-table
{| class=standard-table
|{{key|H}} || 快速隐藏选中的物体.
|{{key|H}} || QuickHide selected objects. 快速隐藏所选对象。
|-
|-
|{{key|Ctrl|H}} || 快速隐藏未被选中的物体
|{{key|Ctrl|H}} || QuickHide unselected objects. (Formerly mapped to "Hollow selected objects".) 快速隐藏未选定的对象。(以前映射到“镂空所选对象”。)
|-
|-
|{{key|U}} || 显示全部.
|{{key|U}} || Unhide all. 全部取消隐藏。
|}
|}


==Viewports 视图==
=Viewports 视口=
{| class=standard-table
{| class=standard-table
|{{key|Ctrl|A}} || A自动显示四个视图.
|{{key|Ctrl|A}} || Auto-size 4 views to center. 自动调整 4 个视图的大小以居中显示。
|-
|-
|{{key|Shift|Z}} || 最大化或恢复当前视图.
|{{key|Shift|Z}} || Maximize/restore active viewport. 最大化/恢复当前激活的视口。
|-
|-
|{{key|Up}} {{key|Down}} {{key|Left}} {{key|Right}} || Pan the view
| {{key|Up}} {{key|Down}} {{key|Left}} {{key|Right}} || Pan the view. 平移视图。
|-
|-
|{{key|Ctrl|I}} || 将选中物体横向翻转.
|{{key|Ctrl|I}} || Flip selected objects vertically. 垂直翻转所选对象。
|-
|-
|{{key|Ctrl|L}} || 将选中物体竖向翻转.
|{{key|Ctrl|L}} || Flip selected objects horizontally. 水平翻转所选对象。
|-
|-
|{{key|Ctrl|B}} || 将选中物体牵引到网格点.
|{{key|Ctrl|B}} || Snap selected objects to grid (based on selection bounding box). 将所选对象与网格对齐(基于所选对象的边界框)。
|-
|-
|{{key|Ctrl|Shift|B}} || 同上.
|{{key|Ctrl|Shift|B}} || Snap selected objects to grid (individually). 将所选对象与网格对齐(分别对齐)。
|-
|-
|{{key|Ctrl|Shift|E}} || 将选中物体在三维视图中居中.
|{{key|Ctrl|Shift|E}} || Center 3D viewport on currently selected objects. 将选中对象在 3D 视图中居中。
|-
|-
|{{key|F2}} ||切换到2D顶视图
| {{key|F2}} ||switch to 2D Top (X/Y) view. 切换到 2D 顶视图(X/Y)。
|-
|-
|{{key|F3}} || 切换到2D侧视图
| {{key|F3}} || switch to 2D Side (X/Z) view. 切换到 2D 侧视图(X/Z)。
|-
|-
|{{key|F4}} || 切换到2D前视图
| {{key|F4}} || switch to 2D Front (Y/Z) view. 切换到 2D 正视图(Y/Z)。
|-
|-
|{{key|F5}} || 切换到三维纹理视图
| {{key|F5}} || switch to 3D textured view. 切换到 3D 纹理视图。
|-
|-
|{{key|Shift|F5}} || 切换到三维着色纹理视图
| {{key|Shift|F5}} || switch to 3D shaded textured view. 切换到 3D 阴影纹理视图。
|}
|}


With "arrow key nudge" enabled in the 2d views options menu, you can also utilize:
With "arrow key nudge" enabled in the 2d views options menu, you can also utilize: 在 2d 视图选项菜单中启用“箭头键微移”后,您还可以利用:
{| class=standard-table
{| class=standard-table
| {{key|Up}} {{key|Down}} {{key|Left}} {{key|Right}} || 在三维或二维视图中移动选中物体.
| {{key|Up}} {{key|Down}} {{key|Left}} {{key|Right}} || Nudge the current selection in the current 2D or 3D viewport. 微移当前 2D 或 3D 视口中的所选对象。
|-
|-
|{{key|Shift}}+{{key|Up}} / {{key|Down}} / {{key|Left}} / {{key|Right}} || 复制选中物体,并在三维或二维视图中移动它.
|{{key|Shift}}+{{key|Up}} / {{key|Down}} / {{key|Left}} / {{key|Right}} || Clone the current selection and nudge it in the active 2D or 3D viewport. 复制所选对象并将其微移到激活的 2D 或 3D 视口中。
|}
|}


==2D Views 2D视图==
=2D Views 2D视图=
{| class=standard-table
{| class=standard-table
|{{key|Tab}} || 切换视图类别 (顶视图/侧视图/前视图).
|{{key|Tab}} || Switch view types (top/side/front). 切换视图类型(顶部/侧面/正面)。
|-
|-
|数字小键盘 {{key|+}} / {{key|-}} || 缩放视图大小(按住 Ctrl 可以在2D视图同时缩放).
|NumPad {{key|+}} / {{key|-}} || Zoom in/out (hold Ctrl to synchronize all 2D views). 放大/缩小(按住 Ctrl 键可同步所有 2D 视图)。
|-
|-
|{{key|MMB}} || 鼠标滚轮缩放 (按住 Ctrl 可以在2D视图同时缩放).
|{{key|MMB}} || Zoom in/out (hold Ctrl to synchronize all 2D views). 放大/缩小(按住 Ctrl 键可同步所有 2D 视图)。
|-
|-
|{{key|1}} to {{key|9}} || 缩放比例.
|{{key|1}} to {{key|9}} || Preset zoom levels. 预设缩放级别。
|-
|-
|{{key|Spacebar}} || 按住空格键可拖动视图摆放位置.
|{{key|Spacebar}} || Hold Spacebar and left mouse button to drag the view position around. 按住空格键和鼠标左键以拖动视图。
|-
|-
|{{key|Alt}} || 关闭网格吸附.
|{{key|Alt}} || Disable snap to grid while dragging with the mouse. 禁用与网格对齐,同时使用鼠标拖动。
|-
|-
|{{key|Ctrl|E}} || 将选中物体在二维视图居中.
|{{key|Ctrl|E}} || Center all 2D Views on currently selected objects. 将选中对象在全部 2D 视图中居中。
|}
|}


==3D View 3D视图==
=3D View 3D视图=
{| class=standard-table
{| class=standard-table
|rowspan="3" | {{key|空格键}} (按住)|| 同时按住鼠标左键 {{key|LMB}} 可以在三维视图中任意角度旋转。
|rowspan="3" | {{key|Spacebar}} (holding)|| Holding the {{key|LMB}} left mouse button allows you to rotate your angle of view in any direction, while the viewing point remains stationary. 同时按住鼠标左键 {{key|LMB}} 可以在 3D 视图中旋转视角。
|-
|-
| 同时按住鼠标右键 {{key|RMB}} 可以上下左右的移动并保持角度不变。
| Holding the {{key|RMB}} right mouse button will allow you to move left, right, up, and down while keeping the viewing angle constant. 同时按住鼠标右键 {{key|RMB}} 可以上下左右移动并保持视角不变。
|-
|-
| 同时按住左键和右键允许您前后移动,也可以左右移动。
| Holding both the left and right mouse buttons allows you to move forward and backward, as well as pan from side to side. 同时按住左键和右键可以前后移动,也可以从一侧平移到另一侧。
|-
|-
|rowspan="2" | {{key|Spacebar|Shift}} || The {{key|LMB}} acts the same as above.
|rowspan="2" | {{key|Spacebar|Shift}} || The {{key|LMB}} left mouse button acts the same as above. 鼠标左键 {{key|LMB}} 的作用与上面相同。
|-
|-
| The {{key|RMB}} allows you to move forward and backward, as well as pan from side to side.
| The {{key|RMB}} right mouse button allows you to move forward and backward, as well as pan from side to side. 按住鼠标右键 {{key|RMB}} 可以前后移动,也可以从一侧平移到另一侧。
|-
|-
|rowspan="2" | * {{key|Up}} {{key|Down}} {{key|Left}} {{key|Right}} ||  
|rowspan="2" | * {{key|Up}} {{key|Down}} {{key|Left}} {{key|Right}} ||  
(up/down) rotate angle of view up and down (change pitch)
(up/down) rotate angle of view up and down (change pitch). (上/下)旋转视角(改变俯仰)。
|-
|(left/right) rotate left and right (change yaw). (左/右)旋转视角(改变偏航)。
|-
|{{key|MMB}} || Zoom in/out. 放大/缩小。
|-
|-
|(left/right) rotate left and right (change yaw)
|{{key|W}} {{key|A}} {{key|S}} {{key|D}} || Move camera. 移动相机。
|-
|-
| {{key|MMB}} || Zoom in/out.
|{{key|Z}} || Toggles mouse look ("noclip") navigation mode. 将鼠标切换到导航模式(类似“noclip”)。
|-
|{{key|P}} || Toggle brush face 3D grid on and off (with mouse cursor in 3D view). 打开/关闭 3D 网格。
|-
|{{key|O}} || Display frames per second and yaw/pitch of camera (with mouse cursor in 3D view). 显示 3D 视图中相机的帧率和位置。
|-
|{{key|I}} || Display bounding boxes for all visible objects. 显示所有可见对象的边界框。
|-
|{{key|X}} or {{key|Ctrl|F9}} || Display selection handles for object resizing/rotation. 显示用于调整对象大小/旋转的选择手柄。
|-
|{{key|1}} || Decrease far clipping plane. 减小远距剪裁平面。
|-
|{{key|2}} || Increase far clipping plane. 增加远距剪裁平面。
|-
|{{key|Ctrl|Shift|E}} || Center 3D View on selection. 将选中对象在 3D 视图中居中。
|}
: * with "arrow key nudge" disabled in the "2d views" options menu. *在“2d视图”选项菜单中禁用“箭头键微移”。
 
=[[Image:mt-selection.png]] Selection Tool 选择工具=
{| class=standard-table
|rowspan=4 | {{key|LMB}} || (On an unselected object) Selects the object under the cursor and deselects any previously selected items
|-
|(On a selected object) Cycles through resize, rotate, and skew
|-
|(Holding) Cycle through every object beneath the cursor. Good for selecting obscured items without moving your view.
|-
|(Click and drag) to select all objects touching the selection box upon releasing the Left mouse (hold Shift when releasing the Left mouse to select objects only entirely within the selection box).
|-
|{{key|Ctrl}} || Hold {{key|Ctrl}} and Left-Click to select/deselect multiple objects.
|-
|{{key|Alt}} || Disable snap to grid while dragging with the mouse.
|-
|rowspan=2 | {{key|Shift}} || hold {{key|Shift}} when moving an object to create a copy (clone) of that object.
|-
|* Hold {{key|Shift}} (or {{key|Alt}}) when rotating to allow rotation unconstrained to 15 degrees intervals
|-
|{{key|Shift|Q}} or {{key|Esc}} || Clear current selections.
|-
|{{key|PgUp}} || Previous selection in "hit" list.
|-
|{{key|PgDn}} || Next selection in "hit" list.
|-
|{{key|Ctrl|T}} || Ties selected brushes to entity. If a selected brush is part of an existing entity you will have the option to add the other selected brushes to it.
|-
|{{key|Ctrl|Shift|W}} || "Move to world", removes entity status from selected brushes
|-
|{{key|Alt|Enter}} || Open up Object Properties for the currently selected objects.
|-
|{{key|Ctrl|Shift|C}} || Carve using selected geometry. (Known to cause vertex issues, use at your own discretion.)
|}
: * when "Default to 15 degree rotation" is enabled in the "2D views" options menu
 
=[[Image:mt-camera.png]] Camera Tool=
{| class=standard-table
|{{key|Shift}} || Hold {{key|Shift}} and click and drag {{key|LMB}} left mouse button to create a new camera.
|-
|{{key|PgUp}} || Cycle to the previous camera position.
|-
|{{key|PgDn}} || Cycle to the next camera position.
|-
|{{key|Delete}} || Delete the current camera position.
|-
|{{key|Ctrl}} || Hold {{key|Ctrl}} and drag a camera or its point of interest to move both together.
|-
|{{key|MMB}} || (in 3D/Camera viewport) Move active camera forward or backward along its view axis
|}
 
=[[Image:mt-block.png]] Block Tool=
{| class=standard-table
|{{key|LMB}} || Click and drag left mouse to draw a new brush shape.
|-
|{{key|Enter}} || Create object drawn with block/entity tool.
|-
|{{key|Esc}} || Delete object drawn with block/entity tool without creating it.
|-
|{{key|Alt|Shift|C}} || Insert original prefab.
|}
 
=[[Image:mt-entities.png]] Entity Tool=
{| class=standard-table
|rowspan=2 | {{key|LMB}} ||
(in 3D view) Click on brush surface to create the current entity on clicked location
|-
|(in 2D view) Click to set entities X/Y/Z coordinates, press enter to create entity at current coordinates (or {{key|RMB}} right mouse button on coordinate's center)
|-
|{{key|Delete}} || Remove last created entity
|}
 
=[[Image:Hammer_ToggleTextureApplication.png]] Texture Application Tool=
{| class=standard-table
|{{key|Ctrl}} || Hold {{key|Ctrl}} and click to select/deselect multiple faces.
|-
|{{key|Shift}} || Hold {{key|Shift}} and click a face to select all faces on the brush.
|-
|{{key|Shift|Ctrl}} || Hold {{key|Shift}} and {{key|Ctrl}} when clicking a face to invert the selected faces on a brush with the unselected faces.
|-
|{{key|RMB}} || Apply the current material settings to the face that is clicked.
|-
|{{key|Shift}}+{{key|RMB}} || Apply the current material settings to all the faces of a brush that is clicked.
|-
|{{key|Alt}}+{{key|RMB}} || Apply all the current material settings to the face that is clicked with wrapping/alignment to the previously selected face.
|-
|{{key|Alt|Shift}}+{{key|RMB}} || Apply the current material settings to all the faces of the brush that is clicked on with wrapping/alignment to the previously selected face.
|}
=Displacement Editing Tool=
==Select Mode==
{| class=standard-table
|{{key|Ctrl|LMB}} || Hold Ctrl and click to select multiple faces.
|-
|{{key|Shift}} || Hold Shift and click a face to select all faces on the brush.
|-
|{{key|Shift|Ctrl}} || Hold Shift and Ctrl, click a face to add all unselected faces on the brush to the current selection.
|}
 
==Paint Geometry Mode==
{| class=standard-table
|{{key|LMB}} || Applies selected affect to the encompassed vertex/vertices on selected faces
|-
|{{key|RMB}} || Lowers the encompassed vertex/vertices on selected faces when Raise/Lower is selected
|-
|{{key|Ctrl|LMB}} || Hold Ctrl and Left-Click to select multiple faces.
|-
|{{key|Shift|Ctrl|LMB}} || Hold Shift and Ctrl, Left-Click a face to add all unselected faces on the brush to the current selection.
|-
|{{key|Alt|LMB}} || hold Alt and Left-Mouse-Button drag to alter the size of the spatial editing sphere.
|-
|{{key|Shift}} || hold Shift and Left-Click a vertex to drag that vertex along the current painting axis.
|-
|{{key|Alt|RMB}} || Click any brush or displacement face to make that face’s normal the current painting axis.
|}
 
==Paint Alpha mode==
{| class=standard-table
|{{key|LMB}} || Applies secondary texture to the encompassed vertex/vertices on selected faces when Raise/Lower is selected
|-
|{{key|RMB}} || Applies primary texture the encompassed vertex/vertices on selected faces when Raise/Lower is selected
|-
|{{key|Ctrl|LMB}} || Hold Ctrl and click to select multiple faces.
|-
|{{key|Shift|Ctrl}} || Hold Shift and Ctrl, click a face to add all faces on the brush to the current selection.
|}
 
=[[Image:mt-overlay.png]] Overlay Tool=
{| class=standard-table
|{{key|Ctrl}} || hold Ctrl and click to select multiple overlays.
|-
|{{key|Shift}} || * Hold Shift and then drag an overlay's vertex to snap it to another overlay's vertex.
|}
: * Multiple overlays must be selected inside vertex mode for this to work, only one vertex can be snapped at a time. This option is mainly used for connecting line based overlays (spills, road lane markers, etc)
 
=[[Image:mt-clipping.png]] Clipping Tool=
{| class=standard-table
|{{key|LMB}}|| Click and drag left mouse to create a new clip plane.
|-
|{{key|Shift|LMB}} || Hold Shift and drag with the left mouse button to erase the previous clipping plane and create a new one.
|-
|{{key|Enter}} || Perform clip
|-
|{{key|Ctrl|LMB}} || 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.
|-
|{{key|O}} || Toggle the clip distance measurements display on and off (with mouse cursor in 2D view).
|-
|{{key|Shift|X}} || Cycle through clip modes.
|}
 
=[[Image:mt-vertex.png]] Vertex Edit Tool=
{| class=standard-table
|{{key|LMB}}|| select vertex/vertices or edges
|-
|{{key|Ctrl|LMB}} || add vertex/vertices or edges to selection
|-
|{{key|Ctrl|F}} || * Split face (vertex manipulation)
|-
|{{key|Alt|E}} || Open Vertex Scaling dialog.
|-
|{{key|Enter}} || Close Vertex Scaling dialog and perform scale.
|-
|{{key|Shift|V}} || Cycle vertex/edge display modes.
|}
: * You must have two edges or vertices selected that are part of the same face.
 
=Miscellaneous=
{| class=standard-table
|{{key|Shift|L}} || Toggle Texture lock.
|-
|-
|{{key|W}} {{key|A}} {{key|S}} {{key|D}} || Move camera.
|{{key|Ctrl|M}} || Open Transform dialog.
|-
|-
|{{key|Z}} || Toggles mouse look ("noclip") navigation mode.
|{{key|Alt|P}} || Open Check for Problems dialog.
|-
|-
|{{key|P}} || Toggle brush face 3D grid on and off (with mouse cursor in 3D view).
|{{key|Esc}} || * Clear current selection or abort current tool/mouse operation (drag/drop) and goto the selection tool.
|-
|-
|{{key|O}} || Display frames per second and yaw/pitch of camera (with mouse cursor in 3D view).
|{{key|Ctrl|Shift|G}} || Go to Brush Number dialog.
|-
|-
|{{key|I}} || Display bounding boxes for all visible objects.
|{{key|Ctrl|Shift|F}} || Open Find Entities dialog.
|-
|-
|{{key|X}} or {{key|Ctrl|F9}} || Display selection handles for object resizing/rotation.
|{{key|Ctrl|Shift|R}} || Open Replace Entities dialog.
|-
|-
|{{key|1}} || Decrease far clipping plane.
|{{key|F1}} || Help
|-
|-
|{{key|2}} || Increase far clipping plane.
|{{key|Ctrl|R}} || Create prefab from selected, the origin (0 0 0 X/Y/Z coordinates) will become prefabs center
|-
|-
|{{key|Ctrl|Shift|E}} || Center 3D View on selection.
|{{key|Ctrl|Alt|S}} || Open Entity Sprinkle dialog. ({{csgo}},{{GMOD}},{{portal2}})
|}
|}
: * with "arrow key nudge" disabled in the "2d views" options menu
: * Does not work with the Magnify, Texture Application, or Overlay Tools


[[Category:Hammer:zh-cn]]
[[Category:Hammer:zh-cn]]

Revision as of 09:50, 26 August 2022

English (en)Español (es)한국어 (ko)Polski (pl)Русский (ru)中文 (zh)Translate (Translate)

Template:Finishtranslation:zh-cn

Tools 工具

Shift+S Mt-selection.png Selection Tool 选择工具
Shift+G Hammer magnify.png Magnify Tool 缩放工具
Shift+C Mt-camera.png Camera Tool 相机工具
Shift+E Mt-entities.png Entity Tool 实体工具
Shift+B Mt-block.png Block Tool 笔刷工具
Shift+A Hammer ToggleTextureApplication.png Texture Application Tool 纹理应用工具
Shift+T Hammer ApplyCurrentTexture.png Apply Current Texture (to selected brushes) 应用当前纹理(应用于所选笔刷)
Shift+D Mt-decal.png Decal Tool 贴花工具
Shift+O Mt-overlay.png Overlay Tool 覆盖工具
Shift+X Mt-clipping.png Clipping Tool 裁剪工具
Shift+V Mt-vertex.png 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+Insert)。
Ctrl+V Paste objects from clipboard to cursor location (also Shift+Insert). 将对象从剪贴板粘贴到光标位置(同 Shift+Insert)。
Ctrl+ Shift+V Paste special. 特殊粘贴。
Ctrl+X Cut selected objects to clipboard (also Shift+del). 将所选对象剪切到剪贴板(同 Shift+Delete)。

Grid 网格

[ Decrease the size of the grid (also Alt+A). 减小网格的大小(同 Alt+A)。
] Increase the size of the grid (also Alt+S). 增加网格的大小(同 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). 打开/关闭 3D 网格。
Ctrl+B Snap selected objects to grid (based on selection bounding box). 将所选对象与网格对齐(基于所选对象的边界框)。
Ctrl+ Shift+B Snap selected objects to grid (individually). 将所选对象与网格对齐(分别对齐)。

Grouping 分组

Ctrl+G Group selected objects. 将已选对象组成一组。
Ctrl+U * Ungroup selected groups. * 将已选择的组拆分。
Ctrl+R Create prefab with selected objects. 使用所选对象创建预制件。
Ctrl+W Toggle Ignore Groups mode to bypass entity and group selection. 切换忽略组模式以选择实体或组内的单个个体。
Ctrl+T Ties selected brushes to entity. If a selected brush is part of an existing entity you will have the option to add the other selected brushes to it. 将选定的笔刷绑定到实体。如果所选笔刷是已有实体的一部分,则可以选择向原有实体中添加其他选定的笔刷。
Ctrl+ Shift+W "Move to world", removes entity status from selected brushes. “移动到世界”,将选定笔刷移出实体状态。
* this won't ungroup brushes tied to the same entity. * 这不会取消绑定到同一实体的笔刷分组。

QuickHiding 快速隐藏

H QuickHide selected objects. 快速隐藏所选对象。
Ctrl+H QuickHide unselected objects. (Formerly mapped to "Hollow selected objects".) 快速隐藏未选定的对象。(以前映射到“镂空所选对象”。)
U Unhide all. 全部取消隐藏。

Viewports 视口

Ctrl+A Auto-size 4 views to center. 自动调整 4 个视图的大小以居中显示。
Shift+Z Maximize/restore active viewport. 最大化/恢复当前激活的视口。
Pan the view. 平移视图。
Ctrl+I Flip selected objects vertically. 垂直翻转所选对象。
Ctrl+L Flip selected objects horizontally. 水平翻转所选对象。
Ctrl+B Snap selected objects to grid (based on selection bounding box). 将所选对象与网格对齐(基于所选对象的边界框)。
Ctrl+ Shift+B Snap selected objects to grid (individually). 将所选对象与网格对齐(分别对齐)。
Ctrl+ Shift+E Center 3D viewport on currently selected objects. 将选中对象在 3D 视图中居中。
F2 switch to 2D Top (X/Y) view. 切换到 2D 顶视图(X/Y)。
F3 switch to 2D Side (X/Z) view. 切换到 2D 侧视图(X/Z)。
F4 switch to 2D Front (Y/Z) view. 切换到 2D 正视图(Y/Z)。
F5 switch to 3D textured view. 切换到 3D 纹理视图。
Shift+F5 switch to 3D shaded textured view. 切换到 3D 阴影纹理视图。

With "arrow key nudge" enabled in the 2d views options menu, you can also utilize: 在 2d 视图选项菜单中启用“箭头键微移”后,您还可以利用:

Nudge the current selection in the current 2D or 3D viewport. 微移当前 2D 或 3D 视口中的所选对象。
Shift+ / / / Clone the current selection and nudge it in the active 2D or 3D viewport. 复制所选对象并将其微移到激活的 2D 或 3D 视口中。

2D Views 2D视图

Tab Switch view types (top/side/front). 切换视图类型(顶部/侧面/正面)。
NumPad + / - Zoom in/out (hold Ctrl to synchronize all 2D views). 放大/缩小(按住 Ctrl 键可同步所有 2D 视图)。
MMB Zoom in/out (hold Ctrl to synchronize all 2D views). 放大/缩小(按住 Ctrl 键可同步所有 2D 视图)。
1 to 9 Preset zoom levels. 预设缩放级别。
Spacebar Hold Spacebar 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. 将选中对象在全部 2D 视图中居中。

3D View 3D视图

Spacebar (holding) Holding the LMB left mouse button allows you to rotate your angle of view in any direction, while the viewing point remains stationary. 同时按住鼠标左键 LMB 可以在 3D 视图中旋转视角。
Holding the RMB right mouse button will allow you to move left, right, up, and down while keeping the viewing angle constant. 同时按住鼠标右键 RMB 可以上下左右移动并保持视角不变。
Holding both the left and right mouse buttons allows you to move forward and backward, as well as pan from side to side. 同时按住左键和右键可以前后移动,也可以从一侧平移到另一侧。
Spacebar+ Shift The LMB left mouse button acts the same as above. 鼠标左键 LMB 的作用与上面相同。
The RMB right mouse button allows you to move forward and backward, as well as pan from side to side. 按住鼠标右键 RMB 可以前后移动,也可以从一侧平移到另一侧。
*

(up/down) rotate angle of view up and down (change pitch). (上/下)旋转视角(改变俯仰)。

(left/right) rotate left and right (change yaw). (左/右)旋转视角(改变偏航)。
MMB Zoom in/out. 放大/缩小。
W A S D Move camera. 移动相机。
Z Toggles mouse look ("noclip") navigation mode. 将鼠标切换到导航模式(类似“noclip”)。
P Toggle brush face 3D grid on and off (with mouse cursor in 3D view). 打开/关闭 3D 网格。
O Display frames per second and yaw/pitch of camera (with mouse cursor in 3D view). 显示 3D 视图中相机的帧率和位置。
I Display bounding boxes for all visible objects. 显示所有可见对象的边界框。
X or Ctrl+F9 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. 将选中对象在 3D 视图中居中。
* with "arrow key nudge" disabled in the "2d views" options menu. *在“2d视图”选项菜单中禁用“箭头键微移”。

Mt-selection.png Selection Tool 选择工具

LMB (On an unselected object) Selects the object under the cursor and deselects any previously selected items
(On a selected object) Cycles through resize, rotate, and skew
(Holding) Cycle through every object beneath the cursor. Good for selecting obscured items without moving your view.
(Click and drag) to select all objects touching the selection box upon releasing the Left mouse (hold Shift when releasing the Left mouse to select objects only entirely within the selection box).
Ctrl Hold Ctrl and Left-Click to select/deselect multiple objects.
Alt Disable snap to grid while dragging with the mouse.
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
Shift+Q or Esc Clear current selections.
PgUp Previous selection in "hit" list.
PgDn Next selection in "hit" list.
Ctrl+T Ties selected brushes to entity. If a selected brush is part of an existing entity you will have the option to add the other selected brushes to it.
Ctrl+ Shift+W "Move to world", removes entity status from selected brushes
Alt+ Enter Open up Object Properties for the currently selected objects.
Ctrl+ Shift+C Carve using selected geometry. (Known to cause vertex issues, use at your own discretion.)
* when "Default to 15 degree rotation" is enabled in the "2D views" options menu

Mt-camera.png Camera Tool

Shift Hold Shift and click and drag LMB 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.
MMB (in 3D/Camera viewport) Move active camera forward or backward along its view axis

Mt-block.png Block Tool

LMB 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.

Mt-entities.png Entity Tool

LMB

(in 3D view) Click on brush surface to create the current entity on clicked location

(in 2D view) Click to set entities X/Y/Z coordinates, press enter to create entity at current coordinates (or RMB right mouse button on coordinate's center)
Delete Remove last created entity

Hammer ToggleTextureApplication.png 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.
RMB Apply the current material settings to the face that is clicked.
Shift+RMB Apply the current material settings to all the faces of a brush that is clicked.
Alt+RMB Apply all the current material settings to the face that is clicked with wrapping/alignment to the previously selected face.
Alt+ Shift+RMB Apply the current material settings to all the faces of the brush that is clicked on with wrapping/alignment to the previously selected face.

Displacement Editing Tool

Select Mode

Ctrl+LMB 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.

Paint Geometry Mode

LMB Applies selected affect to the encompassed vertex/vertices on selected faces
RMB Lowers the encompassed vertex/vertices on selected faces when Raise/Lower is selected
Ctrl+LMB Hold Ctrl and Left-Click to select multiple faces.
Shift+Ctrl+LMB Hold Shift and Ctrl, Left-Click a face to add all unselected faces on the brush to the current selection.
Alt+LMB 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+RMB Click any brush or displacement face to make that face’s normal the current painting axis.

Paint Alpha mode

LMB Applies secondary texture to the encompassed vertex/vertices on selected faces when Raise/Lower is selected
RMB Applies primary texture the encompassed vertex/vertices on selected faces when Raise/Lower is selected
Ctrl+LMB 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.

Mt-overlay.png Overlay Tool

Ctrl hold Ctrl and click to select multiple overlays.
Shift * Hold Shift and then drag an overlay's vertex to snap it to another overlay's vertex.
* Multiple overlays must be selected inside vertex mode for this to work, only one vertex can be snapped at a time. This option is mainly used for connecting line based overlays (spills, road lane markers, etc)

Mt-clipping.png Clipping Tool

LMB Click and drag left mouse to create a new clip plane.
Shift+LMB Hold Shift and drag with the left mouse button to erase the previous clipping plane and create a new one.
Enter Perform clip
Ctrl+LMB 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.

Mt-vertex.png Vertex Edit Tool

LMB select vertex/vertices or edges
Ctrl+LMB add vertex/vertices or edges to selection
Ctrl+F * Split face (vertex manipulation)
Alt+E Open Vertex Scaling dialog.
Enter Close Vertex Scaling dialog and perform scale.
Shift+V Cycle vertex/edge display modes.
* You must have two edges or vertices selected that are part of the same face.

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.
F1 Help
Ctrl+R Create prefab from selected, the origin (0 0 0 X/Y/Z coordinates) will become prefabs center
Ctrl+Alt+S Open Entity Sprinkle dialog. (反恐精英:全球攻势,Garry's Mod,传送门2)
* Does not work with the Magnify, Texture Application, or Overlay Tools