Creating a Room: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(Added link to main tutorial page, added captions)
Line 1: Line 1:
[[Category:Level Design]][[Category:Tutorials]]
[[Category:Level Design]][[Category:Tutorials]]
Select '''Make Hollow''' from the '''Tools Menu'''.
'''Note:''' This is an continuation of the "[[Your First Half-Life 2: Deathmatch Room]]" tutorial. In this section, you'll learn how to make a room out of the brush you've created.
 
==Making a hollow room==
 
[[Image:hammer_makehollow.jpg|frame|right|The Make Hollow command.]]
 
First, make sure the brush is still selected.
 
Now select '''Make Hollow''' from the '''Tools Menu'''.


We can use this to make a hollow room out of the single solid brush we've made.
We can use this to make a hollow room out of the single solid brush we've made.


[[Image:hammer_makehollow.jpg | The Make Hollow command.]]
'''Note''': If the '''Make Hollow''' command is greyed-out, it means you accidentally de-selected the brush. Click on the brush in the '''3D View''' to select it again.<br style="clear:both">
 
'''Note''': If the '''Make Hollow''' command is greyed-out, it means you accidentally de-selected the brush. Click on the brush in the '''3D View''' to select it again.
[[Image:hammer_setwallwidth.jpg|frame|left|Set the wall width for the Make Hollow command.]]


The '''Hollow''' dialog appears.
The '''Hollow''' dialog appears.


Change the value in the box from the default of '''"32"''' to '''"-16"''', which will create 16-inch walls for our room. Click '''OK''' when you are done.
Change the value in the box from the default of '''"32"''' to '''"-16"''', which will create 16-inch walls for our room. Click '''OK''' when you are done.<br style="clear:both">


[[Image:hammer_setwallwidth.jpg | Set the wall width for the Make Hollow command.]]
==Moving the 3D camera==


[[Image:hammer_movecamera1.jpg|frame|right|Move the camera using the Camera Tool.]]
You can move a camera by clicking and dragging the round circle at the end of the camera. This changes the camera position in the map.
You can move a camera by clicking and dragging the round circle at the end of the camera. This changes the camera position in the map.


Switch to the '''Camera Tool''', and then try dragging the camera down to the left, away from the brush that was created. You can see the results in the 3D View — the camera view is farther away from the brush.
Switch to the '''Camera Tool''', and then try dragging the camera down to the left, away from the brush that was created. You can see the results in the 3D View — the camera view is farther away from the brush.
[[Image:hammer_movecamera1.jpg]]


Move a camera by dragging the camera position.
Move a camera by dragging the camera position.
<br style="clear:both">


[[Image:Hammer_movecamera2.jpg|frame|Move the camera point of interest by dragging the opposite end.]]


You can also drag the opposite end of the camera — the end without the circle. This changes what the camera is <i>pointing</i> at.
You can also drag the opposite end of the camera — the end without the circle. This changes what the camera is <i>pointing</i> at.


Try dragging the camera end point, and see the 3D View change to update where the camera is pointing.
Try dragging the camera end point, and see the 3D View change to update where the camera is pointing.<br style="clear:both">
 
[[Image:Hammer_movecamera2.jpg | Move the camera point of interest by dragging the opposite end.]]
 
 


[[Image:hammer_movecamera3.jpg|frame|right|Move the camera in the Side View to inside the hollowed room.]]


The movement of the camera isn't restricted to the '''Top View'''. Try moving the camera position in the '''Side View''', as seen in this image.
The movement of the camera isn't restricted to the '''Top View'''. Try moving the camera position in the '''Side View''', as seen in this image.
Line 37: Line 43:


Using the '''Top View''' and the '''Side View''', move the camera so it is inside the hollow room, to match this image.
Using the '''Top View''' and the '''Side View''', move the camera so it is inside the hollow room, to match this image.
<br style="clear:both">
[[Image:hammer_movecamera3.jpg | Move the camera in the Side View to inside the hollowed room.]]


Pick the '''Selection Tool''' again.
[[Image:hammer_selectiontool.jpg|frame|left|Pick the Selection Tool.]]


[[Image:hammer_selectiontool.jpg | Pick the Selection Tool.]]
Pick the '''Selection Tool''' again.<br style="clear:both">
Left-click the hollow room, so that it turns red, like in the image here. You've selected the room.
[[Image:hammer_selectbrush.jpg|frame|right|Left-click a object in the 3D View to select it.]]


[[Image:hammer_selectbrush.jpg | Left-click a object in the 3D View to select it.]]
Left-click the hollow room, so that it turns red, like in the image here. You've selected the room.<br style="clear:both">
 
[[Image:hammer_ungroup.jpg|frame|left|Ungroup the hollowed room to separate the brushes.]]


Select '''Ungroup''' from the '''Tools Menu'''.
Select '''Ungroup''' from the '''Tools Menu'''.


This separates the pieces of the hollowed room into individual brush objects.
This separates the pieces of the hollowed room into separate brush objects that can be individually selected and manipulated.<br style="clear:both">
 
[[Image:hammer_ungroup.jpg | Ungroup the hollowed room to separate the brushes.]]


Now onto [[Applying Textures]]!
Now onto the next part of the tutorial, [[Applying Textures]].

Revision as of 19:53, 18 July 2005

Note: This is an continuation of the "Your First Half-Life 2: Deathmatch Room" tutorial. In this section, you'll learn how to make a room out of the brush you've created.

Making a hollow room

File:Hammer makehollow.jpg
The Make Hollow command.

First, make sure the brush is still selected.

Now select Make Hollow from the Tools Menu.

We can use this to make a hollow room out of the single solid brush we've made.

Note: If the Make Hollow command is greyed-out, it means you accidentally de-selected the brush. Click on the brush in the 3D View to select it again.

File:Hammer setwallwidth.jpg
Set the wall width for the Make Hollow command.

The Hollow dialog appears.

Change the value in the box from the default of "32" to "-16", which will create 16-inch walls for our room. Click OK when you are done.

Moving the 3D camera

File:Hammer movecamera1.jpg
Move the camera using the Camera Tool.

You can move a camera by clicking and dragging the round circle at the end of the camera. This changes the camera position in the map.

Switch to the Camera Tool, and then try dragging the camera down to the left, away from the brush that was created. You can see the results in the 3D View — the camera view is farther away from the brush.

Move a camera by dragging the camera position.

File:Hammer movecamera2.jpg
Move the camera point of interest by dragging the opposite end.

You can also drag the opposite end of the camera — the end without the circle. This changes what the camera is pointing at.

Try dragging the camera end point, and see the 3D View change to update where the camera is pointing.

File:Hammer movecamera3.jpg
Move the camera in the Side View to inside the hollowed room.

The movement of the camera isn't restricted to the Top View. Try moving the camera position in the Side View, as seen in this image.

You can see that the 3D View updates as the camera angle changes.

Using the Top View and the Side View, move the camera so it is inside the hollow room, to match this image.

Pick the Selection Tool.

Pick the Selection Tool again.

File:Hammer selectbrush.jpg
Left-click a object in the 3D View to select it.

Left-click the hollow room, so that it turns red, like in the image here. You've selected the room.

File:Hammer ungroup.jpg
Ungroup the hollowed room to separate the brushes.

Select Ungroup from the Tools Menu.

This separates the pieces of the hollowed room into separate brush objects that can be individually selected and manipulated.

Now onto the next part of the tutorial, Applying Textures.