Hammer Edit Menu: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
[[Category:Level Design]]
[[Category:Hammer]]
[[Image:hammer_editmenu.jpg]]
[[Image:hammer_editmenu.jpg]]


==Undo        Shortcut: CTRL+Z==
==Undo (CTRL+Z)==


This is the standard Undo command. You can set the number of successive Undo commands Hammer stores using the Undo Levels setting in [[Hammer_Options_Dialog|Options]] dialog box.
This is the standard Undo command. You can set the number of successive Undo commands Hammer stores using the Undo Levels setting in [[Hammer_Options_Dialog|Options]] dialog box.


'''Note:''' If you are getting low memory warnings it may help if you set the number of '''Undo Levels''' to a lower value.
{{note|If you are getting low memory warnings it may help if you set the number of '''Undo Levels''' to a lower value.}}


==Redo        Shortcut: CTRL+Y==
==Redo (CTRL+Y)==


This allows you to '''Redo''' a command that was mistakenly undone using the '''Undo''' command. The number of '''Redo''' levels is the same size as the '''Undo''' levels.
This allows you to '''Redo''' a command that was mistakenly undone using the '''Undo''' command. The number of '''Redo''' levels is the same size as the '''Undo''' levels.
Line 16: Line 16:
In certain situations, it may be necessary to disable the '''Undo/Redo''' function. For example, if you are doing something that will require a rather large amount of system memory, such as deleting a large portion of your map. It is also probably a good idea to save your map before you do this – if you make a mistake, you will no longer be able to '''Undo''' it.
In certain situations, it may be necessary to disable the '''Undo/Redo''' function. For example, if you are doing something that will require a rather large amount of system memory, such as deleting a large portion of your map. It is also probably a good idea to save your map before you do this – if you make a mistake, you will no longer be able to '''Undo''' it.


==Find Entities...        Shortcut: CTRL+SHIFT+F==
==Find Entities... (CTRL+SHIFT+F)==


Opens the [[Hammer_Find_Entities_Dialog|Find Entities]] dialog, which allows you to do a text search for a particular entity in the map.
Opens the [[Hammer_Find_Entities_Dialog|Find Entities]] dialog, which allows you to do a text search for a particular entity in the map.


==Replace...        Shortcut: CTRL+SHIFT+R==
==Replace... (CTRL+SHIFT+R)==


Opens the [[Hammer_Replace_Dialog|Replace]] dialog, which allows you to do a search and replace for a text string in the map.
Opens the [[Hammer_Replace_Dialog|Replace]] dialog, which allows you to do a search and replace for a text string in the map.


==Cut        Shortcut: CTRL+X==
==Cut (CTRL+X)==


Deletes the currently selected object(s) from the file, and moves a copy of them into the Windows clipboard. You can store only one set of objects in the clipboard at one time, and the current clipboard is lost when you exit Hammer.
Deletes the currently selected object(s) from the file, and moves a copy of them into the Windows clipboard. You can store only one set of objects in the clipboard at one time, and the current clipboard is lost when you exit Hammer.


==Copy        Shortcut: CTRL+C==
==Copy (CTRL+C)==


Copies the currently selected object(s) into the Windows clipboard without removing the original. You can store only one set of objects in the clipboard at one time, and the current clipboard is lost when you exit Hammer.
Copies the currently selected object(s) into the Windows clipboard without removing the original. You can store only one set of objects in the clipboard at one time, and the current clipboard is lost when you exit Hammer.
Line 42: Line 42:
Opens the [[Hammer_Paste_Special_Dialog|Paste Special]] dialog, which allows multiple pasting of the clipboard contents with offsets and rotations.
Opens the [[Hammer_Paste_Special_Dialog|Paste Special]] dialog, which allows multiple pasting of the clipboard contents with offsets and rotations.


==Delete        Shortcut: DEL==
==Delete (DEL)==


Selecting Delete removes the currently selected object from you map.
Selecting Delete removes the currently selected object from you map.


==Clear selection        Shortcut: SHIFT+Q==
==Clear selection (SHIFT+Q)==


This will clear the current selections without altering any objects.
This will clear the current selections without altering any objects.
Line 52: Line 52:
==Select all==
==Select all==


This will select all visible objects in the current map. This can be used to rapidly delete, move, or copy objects, or to create [[VisGroup]]s.
This will select all visible objects in the current map. This can be used to rapidly delete, move, or copy objects or to create [[VisGroup]]s.


==Properties        Shortcut: ALT+ENTER==
==Properties (ALT+ENTER)==


This will bring up the [[Hammer_Object_Properties|Object Properties]] dialog for the currently selected objects. The '''Object Properties''' dialog box is the primary method of modifying entity properties. It also allows you to adjust VisGroup properties for one or many brushes. For non-entity objects, only the '''VisGroup''' tab will appear in the '''Object Properties''' dialog box.
This will bring up the [[Hammer_Object_Properties|Object Properties]] dialog for the currently selected objects. The '''Object Properties''' dialog box is the primary method of modifying entity properties. It also allows you to adjust VisGroup properties for one or many brushes. For non-entity objects, only the '''VisGroup''' tab will appear in the '''Object Properties''' dialog box.

Revision as of 23:04, 25 March 2006

File:Hammer editmenu.jpg

Undo (CTRL+Z)

This is the standard Undo command. You can set the number of successive Undo commands Hammer stores using the Undo Levels setting in Options dialog box.

Note.pngNote:If you are getting low memory warnings it may help if you set the number of Undo Levels to a lower value.

Redo (CTRL+Y)

This allows you to Redo a command that was mistakenly undone using the Undo command. The number of Redo levels is the same size as the Undo levels.

Disable Undo/Redo

In certain situations, it may be necessary to disable the Undo/Redo function. For example, if you are doing something that will require a rather large amount of system memory, such as deleting a large portion of your map. It is also probably a good idea to save your map before you do this – if you make a mistake, you will no longer be able to Undo it.

Find Entities... (CTRL+SHIFT+F)

Opens the Find Entities dialog, which allows you to do a text search for a particular entity in the map.

Replace... (CTRL+SHIFT+R)

Opens the Replace dialog, which allows you to do a search and replace for a text string in the map.

Cut (CTRL+X)

Deletes the currently selected object(s) from the file, and moves a copy of them into the Windows clipboard. You can store only one set of objects in the clipboard at one time, and the current clipboard is lost when you exit Hammer.

Copy (CTRL+C)

Copies the currently selected object(s) into the Windows clipboard without removing the original. You can store only one set of objects in the clipboard at one time, and the current clipboard is lost when you exit Hammer.

Paste        Shortcut: CTRL+V

Pastes a copy of any objects in the Windows clipboard into the current file. The objects will be offset from their original location, so you are able to identify the duplicates.

Tip: If you want to make a copy an object leaving its exact location intact, use the Paste Special… command. For more information, see the Paste Special command, below.

Paste special...

Opens the Paste Special dialog, which allows multiple pasting of the clipboard contents with offsets and rotations.

Delete (DEL)

Selecting Delete removes the currently selected object from you map.

Clear selection (SHIFT+Q)

This will clear the current selections without altering any objects.

Select all

This will select all visible objects in the current map. This can be used to rapidly delete, move, or copy objects or to create VisGroups.

Properties (ALT+ENTER)

This will bring up the Object Properties dialog for the currently selected objects. The Object Properties dialog box is the primary method of modifying entity properties. It also allows you to adjust VisGroup properties for one or many brushes. For non-entity objects, only the VisGroup tab will appear in the Object Properties dialog box.