Hammer Entity Tool: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Converted with html2wiki (cleaner))
m (→‎top: Unicodifying, replaced: [[Image: → [[File:)
 
(13 intermediate revisions by 9 users not shown)
Line 1: Line 1:
[[Category:Level Design]]
{{lang|Hammer Entity Tool}}
= Tools: Entity Tool =
[[File: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.


[[Image:mt-entities.png]]
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.


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_%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0_Shortcut:_SHIFT%2BW|Snap To Grid]] is enabled, the new entities 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.


'''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_%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0 Shortcut:_CTRL%2BT|Tie to Entity]], under the '''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.}}


See [[Creating Entities]] for more information on creating both point and solid entity types.
==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.
 
[[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.