Creating a brush entity: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
# [[Hammer Block Tool#Creating brushes|Create a new world brush]].
# [[Hammer Block Tool#Creating brushes|Create a new brush]] in Hammer.
# Select it in one of the 2D views.
# Select it in one of the 2D views.
# Use the shortcut key <code>Ctrl+T</code> (or, from the right-click menu, choose "Tie to Entity", or click the <code>toEntity</code> button in the bottom right panel.)
# Use the shortcut key '''Ctrl+T''' (or, from the right-click menu, choose "Tie to Entity", or click the <code>toEntity</code> button in the bottom right panel.)
# Select the type of brush entity to create from the ''Class'' list.
# Select the type of brush entity to create from the ''Class'' list.
# Click ''Apply''.
# Click ''Apply''.


The standard for every brush entity is defined in the actual game's settings, but it is usually [[func_detail]], which is solid for everything.
* The default entity in the selection list is [[func_detail]], which is solid for everything. For an index of documented brush entities see the [[:Category:Brush Entities]]
 
* A Brush entity may span '''multiple brushes''', so all currently selected brushes will be tied to one single entity. That entity's properties config will be applied to all of its brushes. To add more brushes to an existing brush entity, select the entity and the additional brushes then perform another Tie to entity command. You can also join two entities together in a similar way.
 
* Use '''Ctrl+W''' or the "toWorld" button to remove the selected brushes from the brush entity.
 


For a list of current Brush Entities see the [[:Category:Brush Entities]]


[[Category:Level_Design]]
[[Category:Level_Design]]

Latest revision as of 19:41, 12 May 2008

  1. Create a new brush in Hammer.
  2. Select it in one of the 2D views.
  3. Use the shortcut key Ctrl+T (or, from the right-click menu, choose "Tie to Entity", or click the toEntity button in the bottom right panel.)
  4. Select the type of brush entity to create from the Class list.
  5. Click Apply.
  • A Brush entity may span multiple brushes, so all currently selected brushes will be tied to one single entity. That entity's properties config will be applied to all of its brushes. To add more brushes to an existing brush entity, select the entity and the additional brushes then perform another Tie to entity command. You can also join two entities together in a similar way.
  • Use Ctrl+W or the "toWorld" button to remove the selected brushes from the brush entity.