Hammer New Objects Toolbar: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
(22 intermediate revisions by 5 users not shown)
Line 1: Line 1:
[[Category:Level Design]]
{{LanguageBar}}
The '''New Objects Bar''' 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 Bar''' reflect the category of object you are creating or editing – primitives, entities, or prefabs.
[[Category:Hammer Toolbars]]
The '''New Objects''' toolbar controls multiple facets of object creation within Hammer. [[entity|Entities]], [[prefab]]s, [[brush]]es – 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 Mode|primitives]], [[#Entities Mode|entities]], or [[#Prefabs Mode|prefabs]].


=Primitives Mode=
==toWorld <Ctrl+Shift+W>==


When you have the Block Tool selected and the '''Categories''' field set to '''Primitives''', the following options are available:
This function will remove any entity settings of the selected solid or group of solids. See [[Hammer Tools Menu#Move to World <Ctrl.2BShift.2BW>|Move to World in the Tools Menu]] for further details.


[[Image:hammer_newobjectstoolbar.jpg]]
==toEntity <Ctrl+T>==


==toWorld        Shortcut: CTRL+SHIFT+W==
This function binds selected objects to create a solid entity. You need to switch to the [[Hammer Selection Tool|Selection Tool]] to use this button. See [[Hammer Tools Menu#Tie to Entity <Ctrl.2BT>|Tie To Entity in the Tools Menu]] for further details.


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.
== 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.


==ToEntity        Shortcut: CTRL+W==
== Primitives Mode ==
[[File:hammer_newobjectstoolbar.png|frame|caption|right|Primitives mode.]]
When the [[Hammer Block Tool|Block Tool]] is selected, the '''Primitives''' category is available; it contains seven basic solid shapes in the '''Objects''' list:
#[[Hammer Arch Properties|arch]]
#block
#cylinder
#sphere
#spike
#[[Hammer Torus Properties|torus]]
#wedge


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.
=== Faces ===


==Categories==
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.


When the '''Entity Tool''' is active, no categories are available. With Block Tool selected, there will be at least one category available: the "Primitives", which contain Hammer's five basic solid shapes: block, cylinder, spike, wedge, and the arch tool. If any Prefab libraries have been defined, then the library names will also be listed here.
{{note|The '''Create Prefab''' button is non-functional in this mode.}}{{clr}}


==Object==
== Entities Mode ==
[[File:hammer_newentity.png|frame|caption|right|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 [[Hammer Entity Tool|Entity Tool]] is used to place point entities.


This list contains all objects that belong to the chosen category. For entities, the list contains all entity classes available. For solids, if the Primitives category has been selected, then this list contains the five types of primitives. If a prefab library has been selected, then this list contains all objects in the library. For more information on creating '''Arch''' primitives, see the Arch Properties.
{{note|The '''Create Prefab''' button is non-functional in this mode.}}{{clr}}


==Faces==
== Prefabs Mode ==
[[File:hammer_newprefab.png|frame|caption|right|Prefabs mode.]]
When either the '''Entity Tool''' or the '''Block Tool''' is selected the prefab library names will be listed here.


This text box becomes active 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 clicking on the arrows) represents the number of side faces the cylinder/spike will be created with.
{{note|At least one [[Prefab]] library must be created for these options to be available.}}


==Create Prefab       Shortcut: CTRL+R==
=== 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.


This will let you turn a selected object into a prefab object, which will be easily reusable. See Creating and Using Prefabs for more information.
=== Create Prefab <Ctrl+R> ===
This will let you turn a selected object into a prefab object, which will be easily reusable.


=Entities Mode=
* See [[Prefab]] for information on creating and placing Prefab objects.{{clr}}


When you have the Entity Tool selected, the '''Categories''' field is automatically set to <i>Entities</i>, and the following options are available:
== Objects ==


[[image:hammer_newentity.jpg]]
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.


==toWorld        Shortcut: CTRL+T==
== See also ==
 
* [[Entity]]
This function will remove any entity settings of the selected solid or group of solids. You need to switch to the Selection Tool to use this button. See Move To World in the Tools Menu for further details.
* [[Prefab]]
 
==ToEntity        Shortcut: CTRL+W==
 
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==
 
When the Entity Tool is active, no categories other than '''Entities''' are available.
 
==Objects==
 
This list contains all available point entity classes. Choose an entity you wish to insert from the list.
 
==Create Prefab        Shortcut: CTRL+R==
 
This will let you turn a selected object into a prefab object, which will be easily reusable. See Creating and Using Prefabs for more information.
 
=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:
 
[[Image:hamemr_newprefabobject.jpg]]
 
==toWorld        Shortcut: CTRL+T==
 
This function will remove any entity settings of the selected solid or group of solids. You need to switch to the Selection Tool to use this button. See Move To World in the Tools Menu for further details.
 
==ToEntity        Shortcut: CTRL+W==
 
This function binds selected objects to create a solid entity. You need to switch to the Selection Tool to use this button. See Move To World in the Tools Menu for further details.
 
==Categories==
 
If any Prefab libraries have been defined, then the library names will be listed here. Select a library from the list, and the '''Objects''' field will show the objects in that library.
 
==Objects==
 
This list contains all the objects in the prefab library chosen in the '''Categories''' field. Choose an object you wish to insert from the list.
 
==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.
 
==Create Prefab        Shortcut: CTRL+R==
 
Creates a Hammer prefab object out of the selected objects. See Creating and Using Prefabs for more information.

Latest revision as of 05:36, 27 June 2025

English (en)中文 (zh)Translate (Translate)

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