Ru/Source 2/Docs/Level Design/Hammer Overview: Difference between revisions
Justincase (talk | contribs) |
m (Multipage removal) |
||
(55 intermediate revisions by 11 users not shown) | |||
Line 1: | Line 1: | ||
{{LanguageBar}} | |||
Большинство элементов редактора Hammer могут быть перемещены или настроены в соответствии с предпочтением пользователя. Основные окна редактирования не могут быть перемещены, но они имеют множество вариантов размещения. | {{toc-right}} | ||
[[File:Hammer overview | <onlyinclude> | ||
{{Translate}} | |||
Большинство элементов редактора Hammer могут быть перемещены или настроены в соответствии с предпочтением пользователя. Основные окна редактирования не могут быть перемещены, но они имеют множество вариантов размещения. | |||
[[File:Hammer overview default01.png|800px|thumb|center|Вид редактора Hammer по умолчанию.]] | |||
== Окно 3D вида == | |||
В этом окне отображается ваша карта в 3D, чтобы узнать как перемещаться в нем прочтите статью {{L|Dota 2 Workshop Tools/Level Design/Navigation|Перемещение в пространстве}}. Большая часть вашей работы будет сделана в этом окне. | |||
Вы можете регулировать освещение в данном окне переключаясь между All Lighting ({{Key|F6}}) и Fullbright ({{Key|F5}}). | |||
[[File:hammer_overview_3d_viewport.png|600px|thumb|center|Вид в окне 3D вида.]] | |||
== Окно 2D вида == | |||
2D Окно просмотра, позволяет видеть карту в трёх проекциях - сверху, спереди и сбоку, это полезно, когда Вы хотите увидеть объект с определенной точки зрения или работать над созданием геометрии карты. | |||
* {{Key|Ctrl|Пробел}} переключение между видом: сверху, спереди, сбоку | |||
* {{Key|Ctrl|A|Пробел}} переключение между видом: сверху, спереди, область будет размещена так, что выделенный объект, будет находиться в её центре. | |||
[[File:hammer_overview_2d_viewport.png|600px|thumb|center|Вид в окне 2D вида.]] | |||
== Персонализация интерфейса == | |||
[[File:Hammer overview popout.png|200px|thumb|right|Кнопки: плавающего вида и закрытия.]] | |||
== | Практически любую панель можно перевести в плавающий вид или закрыть, используя маленькие кнопки в правом верхнем углу панели. Небольшую иконку с перекрывающимися окнами можно использовать, что-бы перевести панель в режим плавающего вида. После того как панель переведена в режим плавающего вида, её размер может быть изменен или она может быть вставлена в редактор на свое или же другое место. Так же вы можете закрыть панель, нажав на "X". | ||
[[File:Hammer overview popout.png|200px|thumb|right| | |||
This overview assumes a default Hammer layout. | This overview assumes a default Hammer layout. | ||
{{Tip| | {{Tip|Если какие-либо панели, обозреваемые далее в статье отсутствую или вы не знаете как востановить закрытое окно/панель, вы можете привести редактор к начальному виду, перейдя по ''View'' -> ''Toolbars'' -> ''Default Layout''}} | ||
Line 32: | Line 34: | ||
Covers the various tools for accomplishing tasks in Hammer. When a tool is active, the ''Tool Properties'' pane to the right shows its unique properties and commands. | Covers the various tools for accomplishing tasks in Hammer. When a tool is active, the ''Tool Properties'' pane to the right shows its unique properties and commands. | ||
Tools are globally accessible. This means that if you hit the key associated with another tool, e.g. {{ | Tools are globally accessible. This means that if you hit the key associated with another tool, e.g. {{Key|Shift|S}} for ''Selection Tool'', you will be switched to that tool from whichever one you were in. | ||
{{ | {{Tip|Hammer will display shortcut keys when hovering the mouse over buttons. Most commonly used buttons have shortcut keys associated with them.}} | ||
[[File:hammer_overview_icon_selection_tool.png|42px|left]] | [[File:hammer_overview_icon_selection_tool.png|42px|left]] | ||
=== Выделение (Selection Tool) === | |||
The ''Selection Tool'' is the default tool when Hammer is started and is the most basic way to select geometry elements (vertices, edges, faces, meshes), objects, and groups. Once a selection is made it can be manipulated via the various other tools available. | The ''Selection Tool'' is the default tool when Hammer is started and is the most basic way to select geometry elements (vertices, edges, faces, meshes), objects, and groups. Once a selection is made it can be manipulated via the various other tools available. | ||
* {{ | * {{Key|Shift|S}} - Выделить | ||
[[File:hammer_overview_icon_translate_tool.png|42px|left]] | [[File:hammer_overview_icon_translate_tool.png|42px|left]] | ||
=== Translate Tool | === Смещение (Translate Tool) === | ||
[[File:Hammer overview snap settings.png|300px|thumb|right|Snap settings; Located bottom right side in Hammer.]] | [[File:Hammer overview snap settings.png|300px|thumb|right|Snap settings; Located bottom right side in Hammer.]] | ||
The ''Translate Tool'' allows movement of a selection along the X, Y, or Z axis. Drag the gizmo's red arrow for X-axis movement, green arrow for Y-axis movement, or blue arrow for Z-axis movement. You can also grab the colored squares to translate the object along two axes at once. Translation distance is dictated by grid size but can be overridden by holding {{ | The ''Translate Tool'' allows movement of a selection along the X, Y, or Z axis. Drag the gizmo's red arrow for X-axis movement, green arrow for Y-axis movement, or blue arrow for Z-axis movement. You can also grab the colored squares to translate the object along two axes at once. Translation distance is dictated by grid size but can be overridden by holding {{Key|Ctrl}} while translating the selection. | ||
* {{ | * {{Key|T}} - Сместить | ||
* {{ | * {{Key|Ctrl|LMB|}} - While translating a selection this temporarily disables grid snapping | ||
* {{ | * {{Key|[}} and {{Key|]}} - Change grid size in power of two increments | ||
{{tip|Grabbing the small purple origin on the ''Translate Tool'' will allow movement on any axis but more importantly will snap the selection to the surface of another element. Useful for quick prop placement.}} | {{tip|Grabbing the small purple origin on the ''Translate Tool'' will allow movement on any axis but more importantly will snap the selection to the surface of another element. Useful for quick prop placement.}} | ||
Line 61: | Line 63: | ||
[[File:hammer_overview_icon_rotate_tool.png|42px|left]] | [[File:hammer_overview_icon_rotate_tool.png|42px|left]] | ||
=== Rotate Tool | === Вращение (Rotate Tool)=== | ||
The ''Rotate Tool'' allows rotation of models along any axis. The gizmo will change to red, green, and blue circles and dragging any of these will rotate the object along the desired axis. It is possible to rotate along multiple axes by dragging the yellow sphere in the center of the gizmo (hidden until hovering the pointer over it). The angle at which that rotation snaps is determined by the value provided for ''Angle'' at the bottom right of Hammer. | The ''Rotate Tool'' allows rotation of models along any axis. The gizmo will change to red, green, and blue circles and dragging any of these will rotate the object along the desired axis. It is possible to rotate along multiple axes by dragging the yellow sphere in the center of the gizmo (hidden until hovering the pointer over it). The angle at which that rotation snaps is determined by the value provided for ''Angle'' at the bottom right of Hammer. | ||
* {{ | * {{Key|R}} - Вращать | ||
* {{ | * {{Key|Ctrl|LMB|}} - While rotating this temporarily disables the angle snap settings | ||
* ''Angle'' - Bottom right of the Hammer window defines snap angle | * ''Angle'' - Bottom right of the Hammer window defines snap angle | ||
Line 72: | Line 73: | ||
[[File:hammer_overview_icon_scale_tool.png|42px|left]] | [[File:hammer_overview_icon_scale_tool.png|42px|left]] | ||
=== Scale Tool | === Масштабирование (Scale Tool) === | ||
''Масштабирование'' позволяет изменять масштаб геометрий и модели. Инструмент состоит из манипулятора в сочетаний с красным кубом, зелёным и синим. Перемещение красного куба масштабирует геометрию по оси X, зелёный куб масштабирует по оси Y и синий по оси Z. Вы можете масштабировать по двум осям сразу, перетаскивая их. Так же возможно масштабировать сразу три куба одновременно, двигая пурпурный куб, который является манипулятором всех трёх кубов. | |||
{{Tip| After dragging the scale tool along a given axis, you can use the NumPad to input values to scale by that percentage amount. For example, if you drag the center purple cube and then input "2.0" on the numpad it will scale it double what is it's original size. }} | |||
* {{ | * {{Key|E}} - Масштаб | ||
[[File:hammer_overview_icon_pivot_tool.png|42px|left]] | [[File:hammer_overview_icon_pivot_tool.png|42px|left]] | ||
=== Pivot Tool === | === Центр вращения (Pivot Tool) === | ||
''Центр вращения'' позволяет менять центр вращения объекта. Различные инструменты используют эту точку для понимания, как работать с выбранным объектом. Например, если начать вращать куб, у которого точка поворота находится в центре, куб будет вращаться на месте. Переместив точку поворота куба в его угол заставит куб поворачиваться вокруг этого конкретного угла. Перемещение точки поворота это временная настройка, если только Вы не используете ''Set Origin To Pivot'' (сделать центром объекта). Отменив выделение и выделив объект заново центр вращения вернется в начальное положение. | |||
* {{ | * {{Key|Insert}} - Войти/Выйти из центра вращения | ||
* {{ | * {{Key|End}} - Вернуть центр вращения в начальное положение | ||
* ''Set Origin To Pivot'' - | * ''Set Origin To Pivot'' - Применимо только к сетке, однако может быть использована для сохранения центра вращения на будущее | ||
[[File:hammer_overview_icon_entity_tool.png|42px|left]] | [[File:hammer_overview_icon_entity_tool.png|42px|left]] | ||
=== Объекты (Entity Tool) === | |||
The ''Entity Tool'' allows placement of any type of entity class in your map. These include things like lights, player spawn locations, AI spawn locations, logic relays, props, etc. | The ''Entity Tool'' allows placement of any type of entity class in your map. These include things like lights, player spawn locations, AI spawn locations, logic relays, props, etc. | ||
* {{ | * {{Key|Shift|E}} - Создать объект | ||
* {{ | * {{Key|Alt|Enter}} - Opens properties for a placed entity | ||
[[File:hammer_overview_icon_block_tool.png|42px|left]] | [[File:hammer_overview_icon_block_tool.png|42px|left]] | ||
=== Элементы (Block Tool) === | |||
The ''Block Tool'' will create basic meshes. The most commonly used mesh is usually the 'block', hence the name of the tool. The usual workflow is to place basic geometry in the world and then use the more precise geometry editing tools (translate, rotate, scale) to hone in on the desired shape of the geometry. | The ''Block Tool'' will create basic meshes. The most commonly used mesh is usually the 'block', hence the name of the tool. The usual workflow is to place basic geometry in the world and then use the more precise geometry editing tools (translate, rotate, scale) to hone in on the desired shape of the geometry. | ||
Some of the other geometric shapes have presets to modify ahead of time to get different shapes. For example, the cylinder can make quick columns, arch can create arched doorways or spiral staircases, and so on. | Some of the other geometric shapes have presets to modify ahead of time to get different shapes. For example, the cylinder can make quick columns, arch can create arched doorways or spiral staircases, and so on. | ||
* {{ | * {{Key|Shift|B}} - Создать элемент | ||
* {{ | * {{Key|Esc}} - Отменить создание | ||
* {{ | * {{Key|Enter}} или {{Key|Space}} - Принять создание | ||
{{tip|When confirming a shape created by the ''Block Tool'', changing to a mode such as ''Edges'' will select all edges on the newly created shape.}} | {{tip|When confirming a shape created by the ''Block Tool'', changing to a mode such as ''Edges'' will select all edges on the newly created shape.}} | ||
[[File:hammer_overview_icon_clipping_tool.png|42px|left]] | [[File:hammer_overview_icon_clipping_tool.png|42px|left]] | ||
The ''Clipping Tool'' will slice geometry in a variety of ways. Cuts must be made in the 2D viewport and must be confirmed with {{ | === Вырезка (Clipping Tool) === | ||
The ''Clipping Tool'' will slice geometry in a variety of ways. Cuts must be made in the 2D viewport and must be confirmed with {{Key|Enter}}, otherwise the change is discarded. The ''Clipping Tool'' has three different modes that determine whether it keeps the geometry on one side of the cut, the other side of the cut, or both sides of the cut. Cycle through these by repeating the shortcut key. | |||
* {{ | * {{Key|Shift|X}} - Вырезать | ||
* {{ | * {{Key|Enter}} - Подтвердить вырезку | ||
[[File:hammer_overview_icon_mirror_tool.png|42px|left]] | [[File:hammer_overview_icon_mirror_tool.png|42px|left]] | ||
=== Симметрия (Mirror Tool) === | |||
=== Mirror Tool | |||
The ''Mirror Tool'' allows mirroring of a selection across a user-defined axis. In the 2D view, click and drag a line to choose which axis it will use to mirror. | The ''Mirror Tool'' allows mirroring of a selection across a user-defined axis. In the 2D view, click and drag a line to choose which axis it will use to mirror. | ||
* {{ | * {{Key|Shift|F}} - Отразить | ||
[[File:hammer_overview_icon_texture_projection_tool.png|42px|left]] | [[File:hammer_overview_icon_texture_projection_tool.png|42px|left]] | ||
=== Texture Projection Tool === | === Наложение текстур (Texture Projection Tool) === | ||
The ''Texture Projection Tool'' is used to do basic UV mapping. Can be useful for complex geometry that needs fine tuning. There are more automated methods for UV mapping covered in other parts of the documentation. | The ''Texture Projection Tool'' is used to do basic UV mapping. Can be useful for complex geometry that needs fine tuning. There are more automated methods for UV mapping covered in other parts of the documentation. | ||
* {{ | * {{Key|Shift|P}} - Наложить текстуру | ||
[[File:hammer_overview_icon_paint_tool.png|42px|left]] | [[File:hammer_overview_icon_paint_tool.png|42px|left]] | ||
=== Paint Tool === | === Paint Tool === | ||
The ''Paint Tool'' allows blending of materials on displacement geometry (often referred to as terrain but not limited to ground type materials). | The ''Paint Tool'' allows blending of materials on displacement geometry (often referred to as terrain but not limited to ground type materials). | ||
* {{ | * {{Key|Shift|V}} | ||
[[File:hammer_overview_icon_displacement_tool.png|42px|left]] | [[File:hammer_overview_icon_displacement_tool.png|42px|left]] | ||
=== Деформирование (Displacement Tool) === | |||
The ''Displacement Tool'' is a method to sculpt geometry inside Hammer using ''displacements'' as a base. One usage case for this tool is to build rolling hills for a terrain-based map. | The ''Displacement Tool'' is a method to sculpt geometry inside Hammer using ''displacements'' as a base. One usage case for this tool is to build rolling hills for a terrain-based map. | ||
{{note|Requires a face to be subdivided. The tool will not work on regular geometry. This can be accomplished in the ''Face'' selection properties and selecting an appropriate subdivision amount}} | {{note|Requires a face to be subdivided. The tool will not work on regular geometry. This can be accomplished in the ''Face'' selection properties and selecting an appropriate subdivision amount}} | ||
* {{ | * {{Key|Shift|D}} - Деформировать | ||
{{tip|Dota 2 terrain is comprised of a lot of smaller subdivided terrain. This is generally not shaped with the ''Displacement Tool'' due to the gameplay requirement of gameplay surfaces being completely flat.}} | {{tip|Dota 2 terrain is comprised of a lot of smaller subdivided terrain. This is generally not shaped with the ''Displacement Tool'' due to the gameplay requirement of gameplay surfaces being completely flat.}} | ||
Line 164: | Line 160: | ||
[[File:hammer_overview_icon_asset_spray_tool.png|42px|left]] | [[File:hammer_overview_icon_asset_spray_tool.png|42px|left]] | ||
=== Россыпь объектов (Asset Spray Tool) === | |||
The ''Asset Spray Tool'' is a work-in-progress, unsupported tool that allows any asset to be "painted" onto surfaces in the world. | The ''Asset Spray Tool'' is a work-in-progress, unsupported tool that allows any asset to be "painted" onto surfaces in the world. | ||
[[File:hammer_overview_icon_tile_editor.png|42px|left]] | [[File:hammer_overview_icon_tile_editor.png|42px|left]] | ||
The ''Tile Editor'' allows the easy creation of custom maps using a set of predefined tiles that link together to form a playable gameplay space. In Tile Editor, you can paint terrain, water, paths, trees, plants, and even place shops, barracks and other gameplay objects. See the | === Плиточный редактор (Tile Editor) === | ||
The ''Tile Editor'' allows the easy creation of custom maps using a set of predefined tiles that link together to form a playable gameplay space. In Tile Editor, you can paint terrain, water, paths, trees, plants, and even place shops, barracks and other gameplay objects. See the {{L|Dota 2 Workshop Tools/Level Design/Tile Editor|Tile Editor introduction}} for details. | |||
{{note|Selecting this tool for the first time in a map without tiles will auto-generate a large space to paint tiles in. If this is undesirable, this newly-created ''Tile Grid'' can be selected in the ''Outliner'' pane and deleted like any other object.}} | {{note|Selecting this tool for the first time in a map without tiles will auto-generate a large space to paint tiles in. If this is undesirable, this newly-created ''Tile Grid'' can be selected in the ''Outliner'' pane and deleted like any other object.}} | ||
[[File:hammer_overview_icon_path_tool.png|42px|left]] | |||
[[File: | === Пути (Path Tool) === | ||
[[File:Hammer overview path tool.png|300px|thumb|right|The default path tool settings.]] | |||
The ''Path Tool'' is the tool for making paths. You can use this to make prop based splines for curved geometry. There's a few types of rope you can add: ''Generic Path, Static Cable, Trajectory Path, move_Keyframed, move_rope, move_track, and path_particle_rope''. The ''path_particle_rope'' uses particles as rope. Set it from selecting a particle from the asset browser. | |||
* {{Key|Shift|P}} - Path Tool | |||
[[File:hammer_overview_icon_physics_simulation.png|42px|left]] | |||
== Undo History == | === Физика (Physics Simulation) === | ||
[[File:Hammer overview physics simulation tool.png|300px|thumb|right|Меню симуляции при отсутствии выбранных объектов.]] | |||
''Physics Simulation'' allows you to use the prop_physics abilities in the editor. Open the menu, select a prop_physics and click ''Start Simulation'' or press {{Key|Space}}. | |||
* {{Key|Shift|C}} - Меню симуляции физики | |||
* {{Key|Space}} - Включить/отключить симуляцию. | |||
* {{Key|LMB}} - On the currently simulated objects, click dragging an object will move it around. | |||
{{clr}} | |||
== Режимы выбора (Selection Modes) == | |||
[[File:hammer_overview_selection_modes.png|400px|thumb|center|Различные режимы выбора.]] | |||
Режим выбора определяет элемент, который может быть выбран. Допустимыми режимами выделения являются: вершины, ребра, грани, сети, объекты, группы, кости и навигация. | |||
Selection modes are covered in more detail in {{L|Dota 2 Workshop Tools/Level Design/Basic Construction|Basic Construction}}. | |||
* {{Key|1}} ''Вершины (Vertices)'' | |||
* {{Key|2}} ''Рёбра (Edges)'' | |||
* {{Key|3}} ''Грани (Faces)'' | |||
* {{Key|4}} ''Сети (Meshes)'' | |||
* {{Key|5}} ''Объекты (Objects)'' | |||
* {{Key|6}} ''Группы (Groups)'' | |||
== Отмена действий (Undo History) == | |||
[[File:Hammer overview undo history.png|150px|thumb|right|Пример отмены нескольких действий.]] | [[File:Hammer overview undo history.png|150px|thumb|right|Пример отмены нескольких действий.]] | ||
Каждое действие сделанное в Hammer отобразиться в ''Undo History''. Нажатие на изменение вернет карту в предыдущее состояние. Бывают случаи когда вам надо отменить несколько действий, в таком случае использование комбинации {{ | Каждое действие сделанное в Hammer отобразиться в ''Undo History''. Нажатие на изменение вернет карту в предыдущее состояние. Бывают случаи когда вам надо отменить несколько действий, в таком случае использование комбинации {{Key|Ctrl}}+{{Key|Z}} является долгим и не рациональным, и проще использовать ''Undo History''. | ||
* {{ | * {{Key|Ctrl|Z}} - Отмена действия | ||
{{clr}} | {{clr}} | ||
== Command History == | == История команд (Command History) == | ||
[[File:hammer_overview_command_history.png|150px|thumb|right| | [[File:hammer_overview_command_history.png|150px|thumb|right|История команд.]] | ||
{{Note | {{Note|Command history по умолчанию не включена. Перейдите в View > Toolbars, чтобы включить её.}} | ||
Любое действие Hammer отображается как команда в панели ''Command History'' . ''Repeat Commands'' может быть применено к выбранной команде (или к нескольким выбранным командам), для повторения нужных действий. | Любое действие Hammer отображается как команда в панели ''Command History'' . ''Repeat Commands'' может быть применено к выбранной команде (или к нескольким выбранным командам), для повторения нужных действий. | ||
Более подробно можно ознакомиться в данной статье: | Более подробно можно ознакомиться в данной статье: {{L|Dota 2 Workshop Tools/Level Design/Command History|История команд}}. | ||
* {{ | * {{Key|Shift|G}} - Повторить команду | ||
{{clr}} | {{clr}} | ||
== Outliner == | == Планировщик (Outliner) == | ||
[[File:hammer_overview_outliner.png|150px|thumb|right| | [[File:hammer_overview_outliner.png|150px|thumb|right|Планировщик.]] | ||
The '' | The ''Планировщик'' pane provides a view of all the objects in a map. Objects can be selected here much like in the 2D or 3D view. Basic searches can be run via the ''Mapnode name filter'' field. Advanced filtering options are located under the ''Entity filter options'' checkbox, which allows searching of entities by various class and/or any key/value combinations. | ||
{{clr}} | {{clr}} | ||
== Selection Sets == | == Видовые группы (Selection Sets) == | ||
[[File:hammer_overview_selection_sets.png|150px|thumb|right| | [[File:hammer_overview_selection_sets.png|150px|thumb|right|Видовые группы.]] | ||
''Видовые группы'' pane displays all the objects in the map. The ''Auto'' selection set is generated automatically and contains all the objects in a map. Custom selection sets can be defined via the ''New Selection Set'' button. You can use the buttons to the left of a category to hide or show objects en masse. | |||
It may be desirable to place an entire region of a map in a selection set to easily toggle on/off. This would be accomplished via a new custom selection set to help keep the map more organized. This is especially useful in very complex or large maps. | It may be desirable to place an entire region of a map in a selection set to easily toggle on/off. This would be accomplished via a new custom selection set to help keep the map more organized. This is especially useful in very complex or large maps. | ||
To add objects to an existing selection set, simply select what you would like to add and press the Key combination. Choose the existing set from the drop-down menu and click OK. | |||
* {{Key|Ctrl|R}} - Создать видовую группу | |||
{{clr}} | {{clr}} | ||
== Свойства объекта == | == Свойства объекта (Object Properties) == | ||
[[File:hammer_overview_object_properties.png|600px|thumb|right| | [[File:hammer_overview_object_properties.png|600px|thumb|right|Свойства объекта.]] | ||
В панели ''Object Properties'' отображаются различные свойства, которые могут быть изменены в данном объекте. ''Object Properties'' contains everything that defines a particular entity, and also includes the ''Input'' and ''Output'' tabs of the logic system. | В панели ''Object Properties'' отображаются различные свойства, которые могут быть изменены в данном объекте. ''Object Properties'' contains everything that defines a particular entity, and also includes the ''Input'' and ''Output'' tabs of the logic system. | ||
* {{ | * {{Key|Alt|Enter}} - открывает окно ''Свойство объекта (Object Properties)'' | ||
{{clr}} | {{clr}} | ||
== | == Используемый материал (Active Material) == | ||
[[File:hammer_overview_active_material.png|150px|thumb|right| | [[File:hammer_overview_active_material.png|150px|thumb|right|Используемый материал.]] | ||
Отображает текущий | Отображает текущий используемый материал. Материал будет накладываться автоматически на созданную геометрию. Нажмите ''Browse'', если хотите сменить его. When in Faces selection mod, right-clicking a face and choosing ''Lift Material Under Cursor'' from the drop-down menu will make it the active material. | ||
* {{ | * {{Key|Ctrl|M}} - Lift material under the cursor and make it the new active material | ||
* {{ | * {{Key|Shift|T}} - Применить используемый материал к выделенному полигону | ||
{{clr}} | {{clr}} | ||
== Assets Tabs == | == Вкладки ресурсов (Assets Tabs) == | ||
[[File:hammer_overview_assets_tabs.png|500px|thumb|center| | [[File:hammer_overview_assets_tabs.png|500px|thumb|center|Вкладки ресурсов.]] | ||
Аналогично настройке ''Обзора ресурсов'', содержит вкладки для каждого из различных типов фрагментов содержимого используемого на карте: ''Материалы (Materials)'', ''Наклейки (Decals)'', ''Модели (Models)'', ''Частицы (Particles)'', ''Заготовки (Prefabs)'', and ''Видовые группы (Selection)''. | |||
{{tip|Any of the viewports can be changed to the ''Asset'' pane by clicking the drop down button in the top right of any given viewport.}} | {{tip|Any of the viewports can be changed to the ''Asset'' pane by clicking the drop down button in the top right of any given viewport.}} | ||
Line 250: | Line 268: | ||
== Полезные настройки == | == Полезные настройки == | ||
* ''Tools'' -> ''Options'' -> ''View 3D'' | * ''Tools'' -> ''Options'' -> ''View 3D'' | ||
** Backplane Distance: | ** Радиус видимости (Backplane Distance): измените это значение, чтобы настроить дальность отображения геометрии карты в окне 3D вида. Это поможет повысить производительность отображения на больших сложных картах. | ||
** Forward Speed Max: Adjusts how quickly the camera moves through the 3D viewport. | ** Forward Speed Max: Adjusts how quickly the camera moves through the 3D viewport. | ||
* ''Toggle Grid Navigation Preview'': Displays Dota 2's navigation grid inside of Hammer highlighting pathable and unpathable regions. | * ''Toggle Grid Navigation Preview'': Displays Dota 2's navigation grid inside of Hammer highlighting pathable and unpathable regions. | ||
Line 256: | Line 274: | ||
** Note: This only shows commands that have hotkeys associated with them. | ** Note: This only shows commands that have hotkeys associated with them. | ||
** Use the filter field to search for a particular context (e.g. "ToolSelection") or a particular command (e.g. "merge"). | ** Use the filter field to search for a particular context (e.g. "ToolSelection") or a particular command (e.g. "merge"). | ||
* {{ | * {{Key|F1}} will open a help menu that shows all the command categories. | ||
** {{ | ** {{Key|RMB}} -> ''All Commands'' does the same as above. | ||
** Either search through the categories or use the filter field to search for a command. | ** Either search through the categories or use the filter field to search for a command. | ||
''' | '''Далее''': {{L|Source 2/Docs/Level Design/Basic Construction|Basic Construction}}{{Hla tools topicons}} | ||
{{Cs2 tools topicons}} | |||
{{ | {{Dota 2Tools topicons}}</onlyinclude> | ||
Latest revision as of 10:58, 12 July 2024

This page either contains information that is only partially or incorrectly translated, or there isn't a translation yet.
If this page cannot be translated for some reason, or is left untranslated for an extended period of time after this notice is posted, the page should be requested to be deleted.
Also, please make sure the article complies with the alternate languages guide.
Большинство элементов редактора Hammer могут быть перемещены или настроены в соответствии с предпочтением пользователя. Основные окна редактирования не могут быть перемещены, но они имеют множество вариантов размещения.
Окно 3D вида
В этом окне отображается ваша карта в 3D, чтобы узнать как перемещаться в нем прочтите статью Перемещение в пространстве . Большая часть вашей работы будет сделана в этом окне.
Вы можете регулировать освещение в данном окне переключаясь между All Lighting (F6) и Fullbright (F5).
Окно 2D вида
2D Окно просмотра, позволяет видеть карту в трёх проекциях - сверху, спереди и сбоку, это полезно, когда Вы хотите увидеть объект с определенной точки зрения или работать над созданием геометрии карты.
- Ctrl+Пробел переключение между видом: сверху, спереди, сбоку
- Ctrl+A+Пробел переключение между видом: сверху, спереди, область будет размещена так, что выделенный объект, будет находиться в её центре.
Персонализация интерфейса
Практически любую панель можно перевести в плавающий вид или закрыть, используя маленькие кнопки в правом верхнем углу панели. Небольшую иконку с перекрывающимися окнами можно использовать, что-бы перевести панель в режим плавающего вида. После того как панель переведена в режим плавающего вида, её размер может быть изменен или она может быть вставлена в редактор на свое или же другое место. Так же вы можете закрыть панель, нажав на "X".
This overview assumes a default Hammer layout.

Инструменты
Covers the various tools for accomplishing tasks in Hammer. When a tool is active, the Tool Properties pane to the right shows its unique properties and commands.
Tools are globally accessible. This means that if you hit the key associated with another tool, e.g. ⇧ Shift+S for Selection Tool, you will be switched to that tool from whichever one you were in.

Выделение (Selection Tool)
The Selection Tool is the default tool when Hammer is started and is the most basic way to select geometry elements (vertices, edges, faces, meshes), objects, and groups. Once a selection is made it can be manipulated via the various other tools available.
- ⇧ Shift+S - Выделить
Смещение (Translate Tool)
The Translate Tool allows movement of a selection along the X, Y, or Z axis. Drag the gizmo's red arrow for X-axis movement, green arrow for Y-axis movement, or blue arrow for Z-axis movement. You can also grab the colored squares to translate the object along two axes at once. Translation distance is dictated by grid size but can be overridden by holding Ctrl while translating the selection.
- T - Сместить
- Ctrl+
- While translating a selection this temporarily disables grid snapping
- [ and ] - Change grid size in power of two increments

Вращение (Rotate Tool)
The Rotate Tool allows rotation of models along any axis. The gizmo will change to red, green, and blue circles and dragging any of these will rotate the object along the desired axis. It is possible to rotate along multiple axes by dragging the yellow sphere in the center of the gizmo (hidden until hovering the pointer over it). The angle at which that rotation snaps is determined by the value provided for Angle at the bottom right of Hammer.
- R - Вращать
- Ctrl+
- While rotating this temporarily disables the angle snap settings
- Angle - Bottom right of the Hammer window defines snap angle
Масштабирование (Scale Tool)
Масштабирование позволяет изменять масштаб геометрий и модели. Инструмент состоит из манипулятора в сочетаний с красным кубом, зелёным и синим. Перемещение красного куба масштабирует геометрию по оси X, зелёный куб масштабирует по оси Y и синий по оси Z. Вы можете масштабировать по двум осям сразу, перетаскивая их. Так же возможно масштабировать сразу три куба одновременно, двигая пурпурный куб, который является манипулятором всех трёх кубов.

- E - Масштаб
Центр вращения (Pivot Tool)
Центр вращения позволяет менять центр вращения объекта. Различные инструменты используют эту точку для понимания, как работать с выбранным объектом. Например, если начать вращать куб, у которого точка поворота находится в центре, куб будет вращаться на месте. Переместив точку поворота куба в его угол заставит куб поворачиваться вокруг этого конкретного угла. Перемещение точки поворота это временная настройка, если только Вы не используете Set Origin To Pivot (сделать центром объекта). Отменив выделение и выделив объект заново центр вращения вернется в начальное положение.
- Insert - Войти/Выйти из центра вращения
- End - Вернуть центр вращения в начальное положение
- Set Origin To Pivot - Применимо только к сетке, однако может быть использована для сохранения центра вращения на будущее
Объекты (Entity Tool)
The Entity Tool allows placement of any type of entity class in your map. These include things like lights, player spawn locations, AI spawn locations, logic relays, props, etc.
- ⇧ Shift+E - Создать объект
- Alt+↵ Enter - Opens properties for a placed entity
Элементы (Block Tool)
The Block Tool will create basic meshes. The most commonly used mesh is usually the 'block', hence the name of the tool. The usual workflow is to place basic geometry in the world and then use the more precise geometry editing tools (translate, rotate, scale) to hone in on the desired shape of the geometry.
Some of the other geometric shapes have presets to modify ahead of time to get different shapes. For example, the cylinder can make quick columns, arch can create arched doorways or spiral staircases, and so on.
- ⇧ Shift+B - Создать элемент
- Esc - Отменить создание
- ↵ Enter или Space - Принять создание

Вырезка (Clipping Tool)
The Clipping Tool will slice geometry in a variety of ways. Cuts must be made in the 2D viewport and must be confirmed with ↵ Enter, otherwise the change is discarded. The Clipping Tool has three different modes that determine whether it keeps the geometry on one side of the cut, the other side of the cut, or both sides of the cut. Cycle through these by repeating the shortcut key.
- ⇧ Shift+X - Вырезать
- ↵ Enter - Подтвердить вырезку
Симметрия (Mirror Tool)
The Mirror Tool allows mirroring of a selection across a user-defined axis. In the 2D view, click and drag a line to choose which axis it will use to mirror.
- ⇧ Shift+F - Отразить
Наложение текстур (Texture Projection Tool)
The Texture Projection Tool is used to do basic UV mapping. Can be useful for complex geometry that needs fine tuning. There are more automated methods for UV mapping covered in other parts of the documentation.
- ⇧ Shift+P - Наложить текстуру
Paint Tool
The Paint Tool allows blending of materials on displacement geometry (often referred to as terrain but not limited to ground type materials).
- ⇧ Shift+V
Деформирование (Displacement Tool)
The Displacement Tool is a method to sculpt geometry inside Hammer using displacements as a base. One usage case for this tool is to build rolling hills for a terrain-based map.

- ⇧ Shift+D - Деформировать

Россыпь объектов (Asset Spray Tool)
The Asset Spray Tool is a work-in-progress, unsupported tool that allows any asset to be "painted" onto surfaces in the world.
Плиточный редактор (Tile Editor)
The Tile Editor allows the easy creation of custom maps using a set of predefined tiles that link together to form a playable gameplay space. In Tile Editor, you can paint terrain, water, paths, trees, plants, and even place shops, barracks and other gameplay objects. See the Tile Editor introduction for details.

Пути (Path Tool)
The Path Tool is the tool for making paths. You can use this to make prop based splines for curved geometry. There's a few types of rope you can add: Generic Path, Static Cable, Trajectory Path, move_Keyframed, move_rope, move_track, and path_particle_rope. The path_particle_rope uses particles as rope. Set it from selecting a particle from the asset browser.
- ⇧ Shift+P - Path Tool
Физика (Physics Simulation)
Physics Simulation allows you to use the prop_physics abilities in the editor. Open the menu, select a prop_physics and click Start Simulation or press Space.
- ⇧ Shift+C - Меню симуляции физики
- Space - Включить/отключить симуляцию.
- On the currently simulated objects, click dragging an object will move it around.
Режимы выбора (Selection Modes)
Режим выбора определяет элемент, который может быть выбран. Допустимыми режимами выделения являются: вершины, ребра, грани, сети, объекты, группы, кости и навигация.
Selection modes are covered in more detail in Basic Construction .
- 1 Вершины (Vertices)
- 2 Рёбра (Edges)
- 3 Грани (Faces)
- 4 Сети (Meshes)
- 5 Объекты (Objects)
- 6 Группы (Groups)
Отмена действий (Undo History)
Каждое действие сделанное в Hammer отобразиться в Undo History. Нажатие на изменение вернет карту в предыдущее состояние. Бывают случаи когда вам надо отменить несколько действий, в таком случае использование комбинации Ctrl+Z является долгим и не рациональным, и проще использовать Undo History.
- Ctrl+Z - Отмена действия
История команд (Command History)

Любое действие Hammer отображается как команда в панели Command History . Repeat Commands может быть применено к выбранной команде (или к нескольким выбранным командам), для повторения нужных действий.
Более подробно можно ознакомиться в данной статье: История команд .
- ⇧ Shift+G - Повторить команду
Планировщик (Outliner)
The Планировщик pane provides a view of all the objects in a map. Objects can be selected here much like in the 2D or 3D view. Basic searches can be run via the Mapnode name filter field. Advanced filtering options are located under the Entity filter options checkbox, which allows searching of entities by various class and/or any key/value combinations.
Видовые группы (Selection Sets)
Видовые группы pane displays all the objects in the map. The Auto selection set is generated automatically and contains all the objects in a map. Custom selection sets can be defined via the New Selection Set button. You can use the buttons to the left of a category to hide or show objects en masse.
It may be desirable to place an entire region of a map in a selection set to easily toggle on/off. This would be accomplished via a new custom selection set to help keep the map more organized. This is especially useful in very complex or large maps.
To add objects to an existing selection set, simply select what you would like to add and press the Key combination. Choose the existing set from the drop-down menu and click OK.
- Ctrl+R - Создать видовую группу
Свойства объекта (Object Properties)
В панели Object Properties отображаются различные свойства, которые могут быть изменены в данном объекте. Object Properties contains everything that defines a particular entity, and also includes the Input and Output tabs of the logic system.
- Alt+↵ Enter - открывает окно Свойство объекта (Object Properties)
Используемый материал (Active Material)
Отображает текущий используемый материал. Материал будет накладываться автоматически на созданную геометрию. Нажмите Browse, если хотите сменить его. When in Faces selection mod, right-clicking a face and choosing Lift Material Under Cursor from the drop-down menu will make it the active material.
- Ctrl+M - Lift material under the cursor and make it the new active material
- ⇧ Shift+T - Применить используемый материал к выделенному полигону
Вкладки ресурсов (Assets Tabs)
Аналогично настройке Обзора ресурсов, содержит вкладки для каждого из различных типов фрагментов содержимого используемого на карте: Материалы (Materials), Наклейки (Decals), Модели (Models), Частицы (Particles), Заготовки (Prefabs), and Видовые группы (Selection).

Полезные настройки
- Tools -> Options -> View 3D
- Радиус видимости (Backplane Distance): измените это значение, чтобы настроить дальность отображения геометрии карты в окне 3D вида. Это поможет повысить производительность отображения на больших сложных картах.
- Forward Speed Max: Adjusts how quickly the camera moves through the 3D viewport.
- Toggle Grid Navigation Preview: Displays Dota 2's navigation grid inside of Hammer highlighting pathable and unpathable regions.
- Tools -> Options -> Key Bindings can be used to see a list of all Hammer commands
- Note: This only shows commands that have hotkeys associated with them.
- Use the filter field to search for a particular context (e.g. "ToolSelection") or a particular command (e.g. "merge").
- F1 will open a help menu that shows all the command categories.
-> All Commands does the same as above.
- Either search through the categories or use the filter field to search for a command.
Далее: Basic Construction