Hammer Edit Menu: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
m (Fixed formatting, added links)
Line 2: Line 2:
[[Image:hammer_editmenu.jpg]]
[[Image:hammer_editmenu.jpg]]


=Undo       Shortcut: CTRL+Z=
==Undo        Shortcut: 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.
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        Shortcut: 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.


=Disable Undo/Redo=
==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.
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...        Shortcut: CTRL+SHIFT+F==


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


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


Opens the 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        Shortcut: 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        Shortcut: 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.


=Paste       Shortcut: CTRL+V=
==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.
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.
Line 38: Line 38:
'''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.
'''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...=
==Paste special...==


Opens the 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        Shortcut: 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        Shortcut: SHIFT+Q==


This will clear the current selections without altering any objects.
This will clear the current selections without altering any objects.


=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 VisGroups.
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        Shortcut: 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.
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 18:26, 2 July 2005

File:Hammer editmenu.jpg

Undo        Shortcut: 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: 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

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...        Shortcut: CTRL+SHIFT+F

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

Replace...        Shortcut: CTRL+SHIFT+R

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

Cut        Shortcut: 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        Shortcut: 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        Shortcut: DEL

Selecting Delete removes the currently selected object from you map.

Clear selection        Shortcut: 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        Shortcut: 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.