Hammer Entity Tool: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (updated language bar.)
m (→‎top: Unicodifying, replaced: [[Image: → [[File:)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{lang|Hammer_Entity_Tool}}
{{lang|Hammer Entity Tool}}
[[Category:Hammer Tools]]
[[File:mt-entities.png|float|left]]
[[Image:mt-entities.png|float|left]]
This tool allows you to place point-based [[Entity|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]] 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.
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 {{key|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 [[Hammer Map Menu|Snap To Grid]] is enabled, new entities placed in the 2D views will be snapped to the grid.
If [[Hammer Map Menu|Snap To Grid]] is enabled, new entities placed in the 2D views will be snapped to the grid.
Line 10: Line 9:
{{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.}}
{{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 ==
==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.
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 ==
==See also==
* [[Entity Creation]] -- information on creating both point and solid entity types.
* [[Entity creation]] -- information on creating both point and solid entity types.
 
[[Category:Hammer Tools]]

Latest revision as of 18:16, 7 January 2024

English (en)Deutsch (de)日本語 (ja)中文 (zh)Translate (Translate)
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.