Hammer Entity Tool: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Directed a link.)
(cleanup, additional options, links)
Line 1: Line 1:
[[Category:Hammer Tools]]
[[Category:Hammer Tools]]
[[Image:mt-entities.png|float|left]]
[[Image:mt-entities.png|float|left]]
This tool allows you to place point-based [[entities]] in a map. Point-based entities are those entities which exist only at a point, and do not rely on a brush for their effect.


This tool allows you to place point-based entities in a map. Point-based entities are those entities which exist only at a point, and do not rely on a brush for their effect. Once the '''Entity Tool '''is selected, the [[Hammer New Objects Toolbar|New Object]] dialog will contain a list of entities from which to choose. Click on one of the 2D views and press Enter to place the entity. If [[Hammer Map Menu#Snap to grid (SHIFT.2BW)|Snap To Grid]] is enabled, the new entities will be snapped to the grid.
Once the '''Entity Tool''' is selected, the [[Hammer New Objects Toolbar|New Object]] toolbar will contain a list of entities from which to choose. Select an entity from the list, then click on one of the 2D views and press <Enter> to place the entity. Clicking on a brush object in the 3D view will immediately place the entity on the brush surface at the location that was clicked.


{{note|In order to place a brush-based entity (a ''func_door'' for example) you must first create the brush with the [[Hammer Block Tool|Block Tool]]. See [[Hammer Tools Menu#Tie to entity (CTRL.2BT)|Tie to Entity]], under the '''Tools Menu''', for more information on brush-based entity creation.}}
If [[Hammer Map Menu|Snap To Grid]] is enabled, new entities placed in the 2D views will be snapped to the grid.


See [[Entity Creation]] for more information on creating both point and solid entity types.
{{note|In order to place a brush-based entity (a [[func_door]] for example) you must first create the brush with the [[Hammer Block Tool|Block Tool]]. See '''Tie to Entity''', under the [[Hammer Tools Menu|Tools Menu]], for more information on brush-based entity creation.}}
 
== Prefabs ==
The '''Entity Tool''' can also be used to place [[prefab]] objects when a prefab library is selected as the category in the [[Hammer New Objects Toolbar|New Object]] toolbar.
 
== See also ==
* [[Entity Creation]] -- information on creating both point and solid entity types.

Revision as of 19:29, 27 August 2006

float

This tool allows you to place point-based entities in a map. Point-based entities are those entities which exist only at a point, and do not rely on a brush for their effect.

Once the Entity Tool is selected, the New Object toolbar will contain a list of entities from which to choose. Select an entity from the list, then click on one of the 2D views and press <Enter> to place the entity. Clicking on a brush object in the 3D view will immediately place the entity on the brush surface at the location that was clicked.

If Snap To Grid is enabled, new entities placed in the 2D views will be snapped to the grid.

Note.pngNote:In order to place a brush-based entity (a func_door for example) you must first create the brush with the Block Tool. See Tie to Entity, under the Tools Menu, for more information on brush-based entity creation.

Prefabs

The Entity Tool can also be used to place prefab objects when a prefab library is selected as the category in the New Object toolbar.

See also

  • Entity Creation -- information on creating both point and solid entity types.