Hammer New Objects Toolbar

From Valve Developer Community
Revision as of 22:24, 29 March 2006 by Ts2do (talk | contribs)
Jump to navigation Jump to search

The New Objects Toolbar controls multiple facets of 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.

General

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

Block Tool

The “Primitives” category is available; it contains seven basic solid shapes:

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

If any Prefab libraries have been defined, then the library names will also be listed here.

Entity Tool

No categories other than Entities are available.

Object

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

Create Prefab <Ctrl+R>

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

Primitives Mode

When you have the Block Tool selected and the Categories field set to Primitives, the following options are available:

Hammer newobjectstoolbar.png

Faces

This text box becomes enabled if the Block Tool is active, and either cylinder or spike is the current solid 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.

Entities Mode

When you have the Entity Tool selected, the Categories field is automatically set to Entities, and the following options are available:

File:Hammer newentity.jpg

Prefabs Mode

When you have the Selection Tool or Block Tool selected and the Categories field set to one of the prefab libraries, the following options are available:

File:Hamemr newprefabobject.jpg

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. See Inserting Prefabs for more information on inserting a Prefab object into your map.