Hammer View Menu

From Valve Developer Community
(Redirected from HammerViewMenu)
Jump to: navigation, search
English (en)Deutsch (de)Русский (ru)Translate (Translate)


Hammer View Menu.

The purpose of the functions in this menu is to control what does and doesn't appear in the Hammer Editor's 3D and 2D views. For more ways to customize the appearance of Hammer, refer to the sections on the General Options, 3D View Options, and 2D Views Options.

Screen Elements

This sub-menu gives you control over which toolbars and other elements are displayed on your Hammer desktop. Select an item to remove it from the display. Selecting it again will display the item again.

Icon-Bug.pngBug:The undo/redo bar is missing from this list. If it is closed (by pulling it out of the toolbar and clicking the close button), it can only be brought back by directly editing Hammer's settings in the Windows registry.  [todo tested in?]
Note.pngFix:In the Windows Registry Editor, remove Visible parameter from ..\SOFTWARE\Valve\Hammer\Barstate-Bar1
Note.pngNote:Hammer for GoldSrc GoldSrc creates parameters in the Valve Hammer Editor directory

Hammer viewsubmenu.png

Autosize 4 views <Ctrl+A>

This will restore the layout of the four viewports to the default if they have been resized—the current map window is set to four equal sections.

Note.pngNote:This command has no effect when the "Use independent window configurations" option is enabled.

2D Window Options

The Hammer working area is divided into four separate panes. Three of these are used to show the 2D views. The forth window contains a single 3D view.

The items 2D X/Y, 2D Y/Z, and 2D X/Z are three commands to select which 2D view is displayed in which window. Click in a 2D window pane to select it, then choose one of the three options to choose which 2D direction is displayed in that window. The default window settings have one window from each direction.

Tip.pngTip:X/Y is the top-down view, Y/Z is the front view, and X/Z is the side view.

3D Window Options

There are six 3D view options available – 3D Wireframe, 3D Filled Polygons, 3D Textured Polygons and 3D Shaded Textured Polygons, as well as newly added 3D lighting preview and 3D raytrace preview. These options control which 3D mode is used when the 3D preview window is rendered.

Icon-Bug.pngBug:3D lighting preview and 3D raytrace preview do not function properly in most games.  [todo tested in?]
A cube drawn with the first three rendering modes.

Center Views on Selection <Ctrl+E>

Choosing this function will center all of the 2D views on the center of the currently selected object(s).

Center 3D Views on Selection <Ctrl+ Shift+E>

Choosing this function will center the 3D view on the center of the currently selected object(s).

Go to Coordinates...

Centers the viewports on the coordinates typed into the Go to Coordinates dialog box after pressing OK.

Go to Brush Number... <Ctrl+ Shift+G>

Centers the viewports on the brush number typed into the Go to Brush Number dialog box after pressing OK.

Show Connections

An entity and its target with Show Connections enabled.

Selecting this option will toggle on and off visible connection between entities that are linked by target and targetname values.

Note.pngNote:This function is mostly obsolete with the entity I/O system in Source.

Show Helpers

Some entities selected with entity helpers enabled.

Turns on and off the display of entity helpers for entities that have them. The helpers are only displayed when the entity is selected.

Examples:

  • Light shape and parameters on point_spotlight.
  • Inner and outer fade distances on prop_static.
  • The start and end points of the hinge axis on a phys_hinge.
  • Origin helpers on any entities that have them.

See the List of entities for more information about specific entities.

Show Models in 2D

This setting renders wireframes of models in 2D viewports if enabled. If a model entity were selected, its model would be rendered completely, rather than as a wireframe.

Hide Items

Selecting Hide Items hides all point entities from view and, when selected again, returns the entities to view.

Hide Entity Names

Turns on and off the display of entity names for all entities in the 2D Views.

QuickHide Objects <H>

This command hides the selected objects.

QuickHide Unselected Objects <Ctrl+H>

This command hides all the unselected objects.

Unhide QuickHide Objects <U>

This command unhides all the hidden objects.

Convert QuickHide objects to VisGroup

This command allows you to convert all hidden objects to new VisGroup.

Note.pngNote: New VisGroup will called "_FromQuickHide(there's number of converted objects)"

Move Selection to VisGroup

Moves any object selected with another object's visgroup, into that group.

Draw Materials Opaque

Disables transparent rendering of all materials in the 3D Views. Can be useful to select and sort objects in the scene, and improve rendering speed of complex scenes on lower-end systems.

Note.pngNote:If you are in 3D Textured render mode then when you enable this function everything will goes black, to fix it just do some action, for example select Selection Tool by pressing Shift + S.

HDR

This option is broken and non-functional. It has been removed in Hammer++ Hammer++.