Hammer Block Tool: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Added category)
(Converted with html2wiki)
Line 1: Line 1:
[[Category:Level Design]]
[[Category:Level Design]]
Needs conversion from old SDK page [http://www.valve-erc.com/srcsdk/Hammer/html/Tool_Block.htm here].
= Tools: Block Tool =
 
[[Image:mt-block.png]]
 
This is the basic creation tool in Hammer. The '''Block Tool''' allows you to create any of the different types of primitive shapes, and to place prefab objects. Once selected, the [[Hammer New Objects Toolbar|New Objects]] Bar will contain a list of objects from which to choose.
 
To create a primitive solid:
 
# Select the '''Block Tool'''.
# In the [[Hammer New Objects Toolbar|New Objects]] Bar, select the primitive shape in the '''Objects''' selection box. There are multiple options, such as Block, Wedge, and Cylinder.
# Drag a box in a 2D view, making sure it is the correct size and in the correct position in each of the views.
# Press Enter to create the solid.
 
[[Image:block_tool.png]]
 
Using the '''Block Tool''', you can also place prefabs while scaling them to a new size. To place a prefab object while retaining its original size, it is best to have the [[Hammer Selection Tool|Selection Tool]] as the active tool. See [[Hammer New Objects Toolbar|New Objects]] Bar for information on inserting prefabs.
 
To place a prefab object, scaling it to an exact size:
 
# Select the '''Block Tool'''.
# In the [[Hammer New Objects Toolbar|New Objects]] Bar, select a prefab library in the '''Library''' selection box. Then choose a prefab project from the '''Object''' selection box.
# Drag a selection box in the 2D views, making sure it is the correct size and in the correct position in each of the views.
# Press the '''Insert Original Prefab''' button on the [[Hammer New Objects Toolbar|New Objects]] Bar to insert the prefab. The prefab will inserted, and scaled to fit the selection box.
 
[[Image:InsertSizedPrefab.png]]
 
For more information on placing prefabs, see [[Creating Brushes#Inserting Prefabs|Inserting Prefabs]] in [[Creating Brushes]].

Revision as of 10:00, 6 July 2005

Tools: Block Tool

Mt-block.png

This is the basic creation tool in Hammer. The Block Tool allows you to create any of the different types of primitive shapes, and to place prefab objects. Once selected, the New Objects Bar will contain a list of objects from which to choose.

To create a primitive solid:

  1. Select the Block Tool.
  2. In the New Objects Bar, select the primitive shape in the Objects selection box. There are multiple options, such as Block, Wedge, and Cylinder.
  3. Drag a box in a 2D view, making sure it is the correct size and in the correct position in each of the views.
  4. Press Enter to create the solid.

Block tool.png

Using the Block Tool, you can also place prefabs while scaling them to a new size. To place a prefab object while retaining its original size, it is best to have the Selection Tool as the active tool. See New Objects Bar for information on inserting prefabs.

To place a prefab object, scaling it to an exact size:

  1. Select the Block Tool.
  2. In the New Objects Bar, select a prefab library in the Library selection box. Then choose a prefab project from the Object selection box.
  3. Drag a selection box in the 2D views, making sure it is the correct size and in the correct position in each of the views.
  4. Press the Insert Original Prefab button on the New Objects Bar to insert the prefab. The prefab will inserted, and scaled to fit the selection box.

File:InsertSizedPrefab.png

For more information on placing prefabs, see Inserting Prefabs in Creating Brushes.