WiseHouse: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
==Building a House==
==Building a House==
This tutorial isn’t just about building a house in Hammer v4, the real purpose of this tutorial is to illustrate many techniques you can use for the objects you create.  
This tutorial isn’t just about building a house in Hammer v4, the real purpose of this tutorial is to illustrate many techniques you can use for the objects you create.  


The first step should always be the planning stage where you will decide what will be needed and how it will be laid out. I’ve heard of people using Lego blocks for this, whatever works best for you will be the best method.  
The first step should always be the planning stage where you will decide what will be needed and how it will be laid out. I’ve heard of people using Lego blocks for this, whatever works best for you will be the best method.  


There’s an old process called '''P.D.C.A.''' which stands for '''Plan, Do, Check and Action'''.
There’s an old process called '''P.D.C.A.''' which stands for '''Plan, Do, Check and Action'''.{{clr}}
''This is an excellent process for mappers.''
''This is an excellent process for mappers.''
First we’ll make a plan, then we’ll create what is required and finally we’ll check our work and take any actions. Your own Quality Control.  
First we’ll make a plan, then we’ll create what is required and finally we’ll check our work and take any actions. Your own Quality Control.  


If you are having a hard time with the planning part a good resource is the [http://www.google.com/imghp Google Image Search tool].  
If you are having a hard time with the planning part a good resource is the [http://www.google.com/imghp Google Image Search Tool].  


==Stage 1==
==Stage 1==
Now move this temporary brush to the opposite side of this wall.{{clr}}
Then clone our first window by holding the Shift key and dragging the window in the 2D Top view, when you release you should have a perfect copy of the first window.
Move the clone into place by using the temporary brush as a guide.{{clr}}
Your windows are perfectly spaced. Use this same method to space objects, it’s quick and simple.


For our house I want to illustrate how to create at least two types of windows in HL2 (One you can look out and one you can’t), a functional door, textured walls and a basic pitched roof.  
For our house I want to illustrate how to create at least two types of windows in HL2 (One you can look out and one you can’t), a functional door, textured walls and a basic pitched roof.  
Line 18: Line 24:
To begin let’s build the floor and with that determine our entire floor space.  
To begin let’s build the floor and with that determine our entire floor space.  


1) Select the nodraw texture.
1) Select the nodraw texture.{{clr}}
On the right side of Hammer in the '''Texture Group''', click the '''Browse''' button and in the '''Filter''' use nodraw then double-click on the texture to select it.
On the right side of Hammer in the '''Texture Group''', click the '''Browse''' button and in the '''Filter''' use nodraw then double-click on the texture to select it.{{clr}}
2) Use the Brush tool to create a brush that is 576 units wide, 384 units long and 8 units tall.
2) Use the Brush tool to create a brush that is 576 units wide, 384 units long and 8 units tall.{{clr}}
Note: If you want your house to have block foundations create your floor in variations of 16 units, i.e. 32 or 48 units tall.
Note: If you want your house to have block foundations create your floor in variations of 16 units, i.e. 32 or 48 units tall.{{clr}}


[[Image:wiseHouse01.jpg]]
[[Image:wiseHouse01.jpg]]{{clr}}


Now we need walls but we’re going to do it a little different than you might have thought.
Now we need walls but we’re going to do it a little different than you might have thought.{{clr}}
To get the best possible walls we’ll put in our doors and windows first.  
To get the best possible walls we’ll put in our doors and windows first.  


Tip: A good measuring stick for your HL2 maps is Alyx.
Tip: A good measuring stick for your HL2 maps is Alyx.{{clr}}
Let’s create Alyx and have her pose where our first door will go.
Let’s create Alyx and have her pose where our first door will go.{{clr}}
As we’re building the house we can move her around and we’ll delete her when it’s complete.
As we’re building the house we can move her around and we’ll delete her when it’s complete.{{clr}}


Class: npc_alyx
Class: npc_alyx{{clr}}


[[Image:wiseHouse02.jpg]]
[[Image:wiseHouse02.jpg]]{{clr}}


Now let’s place our front door where Alyx is standing.  
Now let’s place our front door where Alyx is standing.  


Class: prop_door_rotating
Class: prop_door_rotating{{clr}}
Skin: 13  
Skin: 13  


More information about rotating doors on [[WiseDoor]], or if you want sliding doors, like in the Spy or SciFi movies take a look at [[WiseSlidingDoors]].  
More information about rotating doors on [[WiseDoor]], or if you want sliding doors, like in the Spy or SciFi movies take a look at [[WiseSlidingDoors]].{{clr}}


On one wall of our house let’s build windows that are for appearance only.
On one wall of our house let’s build windows that are for appearance only.{{clr}}
We’ll use a Wood shutters texture on a normal brush and Alyx can help us to get these set at the correct height if we watch her wireframe in the 2D view ports.  
We’ll use a Wood shutters texture on a normal brush and Alyx can help us to get these set at the correct height if we watch her wireframe in the 2D view ports.  


Brush size: 24 units wide, 8 long and 48 high.
Brush size: 24 units wide, 8 long and 48 high.{{clr}}
Texture: wood/woodshutters001a
Texture: wood/woodshutters001a{{clr}}


[[Image:wiseHouse03.jpg]]
[[Image:wiseHouse03.jpg|left]]{{tab}}


[[Image:wiseHouse04.jpg]]
[[Image:wiseHouse04.jpg]|left]{{clr}}


We’re going to put two of these windows on that wall, although it would be best with 3 to 4 of them. To space the windows properly create a temporary brush that is the width of the window to the first edge.  
We’re going to put two of these windows on that wall, although it would be best with 3 to 4 of them. To space the windows properly create a temporary brush that is the width of the window to the first edge.  


[[Image:wiseHouse05.jpg]]
[[Image:wiseHouse05.jpg]]

Revision as of 17:00, 4 February 2008

Building a House

This tutorial isn’t just about building a house in Hammer v4, the real purpose of this tutorial is to illustrate many techniques you can use for the objects you create.

The first step should always be the planning stage where you will decide what will be needed and how it will be laid out. I’ve heard of people using Lego blocks for this, whatever works best for you will be the best method.

There’s an old process called P.D.C.A. which stands for Plan, Do, Check and Action.

This is an excellent process for mappers. First we’ll make a plan, then we’ll create what is required and finally we’ll check our work and take any actions. Your own Quality Control.

If you are having a hard time with the planning part a good resource is the Google Image Search Tool.

Stage 1

Now move this temporary brush to the opposite side of this wall.

Then clone our first window by holding the Shift key and dragging the window in the 2D Top view, when you release you should have a perfect copy of the first window.

Move the clone into place by using the temporary brush as a guide.

Your windows are perfectly spaced. Use this same method to space objects, it’s quick and simple.

For our house I want to illustrate how to create at least two types of windows in HL2 (One you can look out and one you can’t), a functional door, textured walls and a basic pitched roof.

Important: Make sure you have Snap to Grid (Shift+W) enabled and reduce your grid size. (Keep pressing the left “[“bracket key until the grid is reduced)

To begin let’s build the floor and with that determine our entire floor space.

1) Select the nodraw texture.

On the right side of Hammer in the Texture Group, click the Browse button and in the Filter use nodraw then double-click on the texture to select it.

2) Use the Brush tool to create a brush that is 576 units wide, 384 units long and 8 units tall.

Note: If you want your house to have block foundations create your floor in variations of 16 units, i.e. 32 or 48 units tall.

WiseHouse01.jpg

Now we need walls but we’re going to do it a little different than you might have thought.

To get the best possible walls we’ll put in our doors and windows first.

Tip: A good measuring stick for your HL2 maps is Alyx.

Let’s create Alyx and have her pose where our first door will go.

As we’re building the house we can move her around and we’ll delete her when it’s complete.

Class: npc_alyx

WiseHouse02.jpg

Now let’s place our front door where Alyx is standing.

Class: prop_door_rotating

Skin: 13

More information about rotating doors on WiseDoor, or if you want sliding doors, like in the Spy or SciFi movies take a look at WiseSlidingDoors.

On one wall of our house let’s build windows that are for appearance only.

We’ll use a Wood shutters texture on a normal brush and Alyx can help us to get these set at the correct height if we watch her wireframe in the 2D view ports.

Brush size: 24 units wide, 8 long and 48 high.

Texture: wood/woodshutters001a

WiseHouse03.jpg

Template:Tab [[Image:wiseHouse04.jpg]|left]

We’re going to put two of these windows on that wall, although it would be best with 3 to 4 of them. To space the windows properly create a temporary brush that is the width of the window to the first edge.

WiseHouse05.jpg