2a. Making a square room (Part 1 of 2)
---REMEMBER: If you need help with anything this section explains: https://developer.valvesoftware.com/wiki/Your_First_Map
In this section, we are going to create a simple, square room in Hammer.
First, we will want a floor for our room. To create floors, walls, ceilings, roofs, fences, just about anything in Hammer, we need to create what's called a "brush". This is what maps in the Source engine are mostly made from. To make the floor, first, click on the white cube icon on the left side of the screen, then in the viewport in the top right-hand corner, drag the mouse inside it to create a small square. Adjust it to where both of the number amounts on it say 384.0, then press enter. (Sometimes referred to as return) Put the mouse cursor inside the viewport in the top left-hand corner, then move the camera around to get a look at your new brush. (W A S D keys to move, arrow keys to look around. The camera is usually inside the brush. Move up, then look down to see your brush.) This is what the brush will look like after the next few steps:
Click image to enlarge.
The brush should look like it is a square made out of dirt. We will now change it's texture to use the developer textures. At the far right of the screen, there is a square image showing what texture is being used right now. Click on the button next to it saying "Browse...". There should now be a screen containing a list of available brush textures. In the bottom left-hand corner, there are two text boxes saying "Filter:" and "Keywords:". Click on the "Filter:" text box and type in "dev", without the quote marks. The list should be updated with only the developer textures shown. Double-click on the texture marked in red, as seen in the image:
The texture list will now close. In the 3D viewport on the top left-hand corner of the screen, click once on the brush, then click on the button on the far left of the screen that it's icon is a small cube made out of bricks. There are similar-looking buttons above and below it that have: colored bricks and one with a red target on the cube. THOSE ARE NOT THE BUTTONS WE WANT TO CLICK. The one we want to click is in between both of them. The one with the red target will be explained later onward in another guide.
Once you have clicked the button with the brick cube, it then applies the new texture to the brush! The brush should now look like what it does in the image at the top of this section.
We now want to create the walls for the room. In the viewport in the top right-hand corner, create a brush one grid square wide, but six grid squares long. Or else, the number above the brush should say 64.0, and the number beside it should say 384.0:
Again, press enter to create the brush, but now we need to move it to make it look taller. First, click the button at the top on the left of the screen. it's icon should be a red arrow. Then, go to the viewport in the bottom right-hand corner, click in the middle of the brush we just made, then drag it up one grid square so it looks like this:
Now might be a good time to retexture the wall to be orange, not grey. Repeat the texture changing process on the wall, but this time select the orange texture on the left to the grey one in the list.
Congratulations. You have just created a floor and a wall, but it now needs a ceiling and three more walls. Now, we will clone the wall we made onto the other side of the floor brush by doing the following: in the viewport in the top right-hand corner, use the selection tool, (The red arrow button) then click on the wall brush, but now while holding down the shift key
, we drag the wall brush to the other end of the floor. After that, this is what it should look like now:
Now, we repeat this, but we move it and resize it, (With the selection tool, the white squares around the brush lets you resize it, clicking inside the brush lets you toggle between resizing it, rotating it, and a third option which I do not know what it does.) then we clone it again
, to make it look like this:
Finally, you should clone your floor brush to make the clone your room's ceiling.
See the next section...