Basic Construction: Difference between revisions
(Added the grid, and made it less specific. (Will tie in with the next chapter soon, don't worry.)) |
m (Removed double heading.) |
||
Line 1: | Line 1: | ||
[[Category:Level Design Tutorials]] | [[Category:Level Design Tutorials]] | ||
{{first room menu}} | {{first room menu}} | ||
You are now ready to create the most basic geometry: The [[brush]] object. Brushes are the basic building block for all maps built in the Source engine. Floors, walls and ceilings, and all geometry that aren't models, consists of brushes. | You are now ready to create the most basic geometry: The [[brush]] object. Brushes are the basic building block for all maps built in the Source engine. Floors, walls and ceilings, and all geometry that aren't models, consists of brushes. |
Revision as of 03:46, 15 February 2006
You are now ready to create the most basic geometry: The brush object. Brushes are the basic building block for all maps built in the Source engine. Floors, walls and ceilings, and all geometry that aren't models, consists of brushes.
Creating a brush
To build your first brush, select the white box from the list of icons. This is the Block Tool.
Specify the size of your brush by clicking and dragging your mouse in the Top 2D View (the upper-right window pane) to create a box, as shown to the right.
Now that you've set the shape and size of the brush, you can create it by pressing your <Return> key. You can also do this by clicking your right mouse-button inside the brush to open its menu. As it is not yet created, there is only one choice in it at the moment: "Create Object". Left-click this choice to create the brush.
The brush you just created has been textured with a default texture in the 3D window, but as this probably is the first time that you're using Hammer, you'll need to change your view to see these textures. Click on the 3D window to select it, then go to the View menu and choose 3D Textured Polygons (or 3D Shaded Textured Polygons for even fancier results).
Selecting brushes
Select the red arrow on top of the list of icons. This is the Selection Tool. It is used to select different objects in the map. With the Selection Tool selected, select your brush by clicking on it in one of the windows. (In the 2D windows you will need to click on the edges or center of the brush. It is easier to select a brush on the 3D window.)
You will notice that the selected brush will be marked red, and get eight little white square handles in the 2D views.
The Grid
The "grid" is displayed in all the 2D views, and you might have noted that the size of your brush snapped to the lines of the grid when you created it. This is a good thing, as it prevents leaks and probably brush leaf errors too, so always keep this grid on and never turn it off. This doesn't mean that you cannot create detailed stuff. Currently, as you can see at the bottom right, your grid size is 64, which is the default size that you start out with. You can make the grid smaller or larger by clicking on the size icons in the grid panel up to the left.
Resizing brushes
To change the size of one of your brushes, select a brush and put your mouse pointer over one of its eight white handles. The cursor should change to arrows, indicating long which axis you can move that handle. To resize, simply click and drag one of these handles.
Now onto Creating a Room!