Difference between revisions of "Creating a brush entity"

From Valve Developer Community
Jump to: navigation, search
m
m
 
Line 1: Line 1:
# [[Hammer Block Tool#Creating brushes|Create a new 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 default entity in the selection list is [[func_detail]], which is solid for everything. For a list of all Brush Entities see the [[:Category:Brush Entities]]
+
* 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 settings will be applied to all of its brushes.
+
* 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 entity information from the brushes.
+
* Use '''Ctrl+W''' or the "toWorld" button to remove the selected brushes from the brush entity.
  
  
  
 
[[Category:Level_Design]]
 
[[Category:Level_Design]]

Latest revision as of 02:41, 13 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.