Hey, im Mr. Tea and today i will tell you how to make a simple room in Valve's Source SDK Hammer Tool (World Builder).
If you have Source SDK (You probably wont) then you will find it in the tools tab of STEAM.
If its not installed go ahead and do so. After you have opened Source SDK, the menu should look like this:
Use the settings for the Engine Version and Current Game (Warning: If you decide to use Episode Two for the engine, do not complain to me if things are differnent, this tutorial is using Episode 1), then double click Hammer Editor (Circled). After you have it should look like this:
To make the room, you need to make a new Valve Map File (VMF), to do this click File and select New. You should now have 4 screens, Camera, Top, Side, Front.
What you want to do now is select the Brush Tool
then Click and Drag a square in the window named Top. The results:
You should see this, to make it an actual brush, right click and select "Create Object". After you have the lines should turn red, like so
Now if you wish to view your work of art, scroll over to the camera screen and click on the Camera text, a menu should appear. Select 3D Textured to see your block. After that it should look like this:
Not so much a work of art, but to get started you need to apply the Nodraw texture, Nodraw makes it so players cannot see it, reducing compiling times. Click on the Texture Tool
, You should see this window pop up:
Its not recommended to mess with the settings, so just click Browse (Circled in Red), you should see this:
Before you mess with anything you see there, click the Filter box (Circled in Red) and type in Nodraw and this should pop up:
Now scroll over to the the Nodraw texture and double click. After that it will show you in the texture tool box that you have selected the Nodraw texture, just close out of that.
Now that you have done that, click the Selection Tool
and select your Block either by clicking on it through the Camera view are the 3 other views. After you have select the Apply Current Texture Tool
, Now you have textured your block
Now to get started on your walls (I resized my block to be a bit smaller, but you dont have to), First you have to lower the grid scale by clicking on this
, click on that until its small enough to create a 8.0 size block. After you have done that select the Brush Tool
. Walls are 8.0 thick, 128 units tall and can be as long as you want, it should look like this:
Do this until all but one wall is made. Make sure the walls overlap each other at the ends of them like this:
You can notice that white blue line thing going diagnoly on the end, well that is called the Clipping Tool
, Now select a wall with the Selection Tool
. Before you start clipping id like to explain how it works, Clipping tool cuts brushes in half or any way you like them, there are 3 modes (You can switch the clipping tool modes by clicking on the Clipping Tool) the main one cuts off and deletes (It shows you the part that is going to be deleted if its left in red, the part that stays will be white) half of the brush, 2 of the modes inverts wich part gets deleted, the third one makes it so both stay. Ok, so after you selected the wall, go to the end and click and drag across, to commit the clip hit Enter. It should look like this:
Do this to the intercepting ends of the walls. After that we go to the one wall we didnt place, we are going to make a door. select the brush tool and make a block 56 units long, 8 units thick and and 112 units tall like this:
Create the door, after that i want you to make walls around it like so
Then select the door you made and delete it so we have a nice hole in the wall.
Now we are going to make a frame for the door. The frames should be 8 units thick and and 4 units long, they should fit around that hole we made, make these frames around the door except for the bottom part. You should get this:
And after a few clips on the intercepting ends...
When thats done we are gonna make our REAL door, using prop_static. Select the Entity Tool
and place one (You can only place entitys using the camera screen, so just left click where you want it) and make an entity. After that select the Entity you just made (Should look be a green man) and click propertys. You should see this
Now type in class (Circled in Red) prop_static and hit apply, then it should change to this
Select World Model and hit Browse (Circled in Red) you should see a model browser
In the filter type "Door" you should see alot of models but we are gonna stick with door01_left.mdl (NOTE: You can change the skin of the door in the propertys) Hit ok and we are done, exit out of the propertys menu and walla' our door is made. Now if you made your door frame right, it should fit snug like so
Were almost done! all we need to do now is texture our walls, door frame and floor. Select the Texture Tool and like before hit browse and type in the filter "wall" (Without the " ) and pick any wall texture you want. Do this with the floor too. Now instead of using Apply Current Texture, keep the texture tool window open and just right click (Using the camera window) on the walls, notice it only applys the texture to that surface instead of the whole brush. It should look like this
Oh no, but the texture is placed wrong an looks ugly. Dont worry, with the Texture Tool window still open mess with the Texture Shift Y setting (Circled in Red) until you got it placed and fit with your walls like this:
After you have textured your walls and door frame, your easy, simple room is complete!
Next tutorials will be on Windows, Openable doors and Lighting.Example Map