Hammer New Objects Toolbar

From Valve Developer Community
Jump to navigation Jump to search

The New Objects toolbar controls multiple facets of object creation within Hammer. Entities, prefabs, brushes – the creation of all of these can be controlled from here. The options available in the New Objects Toolbar reflect the category of object you are creating or editing – primitives, entities, or prefabs.

toWorld <Ctrl+Shift+W>

This function will remove any entity settings of the selected solid or group of solids. See Move to World in the Tools Menu for further details.

toEntity <Ctrl+T>

This function binds selected objects to create a solid entity. You need to switch to the Selection Tool to use this button. See Tie To Entity in the Tools Menu for further details.

Categories

The contents of the Categories drop-down list changes the mode of the New Objects toolbar, depending on if the Block Tool or the Entities Tool is currently selected. These modes are listed below.

Primitives Mode

Primitives mode.

When the Block Tool is selected, the Primitives category is available; it contains seven basic solid shapes in the Objects list:

  1. arch
  2. block
  3. cylinder
  4. sphere
  5. spike
  6. torus
  7. wedge

Faces

This text box becomes enabled if the Block Tool is active, and either cylinder or spike is the current object type. The value (which can be changed by either the keyboard or the adjacent buttons) represents the number of side faces the cylinder/spike will be created with.

Note.pngNote:The Create Prefab button is non-functional in this mode.

Entities Mode

Entities mode.

When the Entity Tool is selected, the Entities category is available; it contains a list of point entities that can be placed. The Entity Tool is used to place point entities.

Note.pngNote:The Create Prefab button is non-functional in this mode.

Prefabs Mode

Prefabs mode.

When either the Entity Tool or the Block Tool is selected the prefab library names will be listed here.

Note.pngNote:At least one Prefab library must be created for these options to be available.

Insert Original Prefab

Inserts the selected prefab into the center of the active 2D view. You can also use the Block Tool to insert a prefab and scale it simultaneously.

Create Prefab <Ctrl+R>

This will let you turn a selected object into a prefab object, which will be easily reusable.

  • See Prefab for information on creating and placing Prefab objects.

Objects

This list contains all objects that belong to the chosen category. For the Primitives category, the list contains the primitives types. For the Entities category, the list contains all entity classes available. For the Prefabs category, the list contains all objects in the selected prefab library.

See also