Creating a Turret door: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
Firstly, create a block which is '''<tt>192w x 160l x 160l</tt>'''. This is the size Valve uses in the game. If you want to make the box a bit longer, you can, but don't ajust the height and length. This is the box where the turret will be sitting, and where the door will be on. Make the cube hollow (I gave the walls a thickness of 4, but it doesn't matter). Now texture the ''inside'' walls with '''<tt>concrete_bts_modular_wall001b</tt>''', the floor with '''<tt>concrete_bts_floor002a</tt>''' and finally the ceiling with '''<tt>concrete_bts_ceiling002a</tt>'''. If you have the guts to go into that place again, you'll see inside the ceiling has a hole in it with white light coming out of it. We'll get to that later.
Firstly, create a block which is '''<tt>192w x 160l x 160l</tt>'''. This is the size Valve uses in the game. If you want to make the box a bit longer, you can, but don't ajust the height and length. This is the box where the turret will be sitting, and where the door will be on. Make the cube hollow (I gave the walls a thickness of 4, but it doesn't matter). Now texture the ''inside'' walls with '''<tt>concrete_bts_modular_wall001b</tt>''', the floor with '''<tt>concrete_bts_floor002a</tt>''' and finally the ceiling with '''<tt>concrete_bts_ceiling002a</tt>'''. If you have the guts to go into that place again, you'll see inside the ceiling has a hole in it with white light coming out of it. We'll get to that later.


'''Important:''' Press the "fit" button on each of the faces to make them look right.
'''Important:''' Press the "fit" button on each of the textures to make them look right.


Delete one of the faces for the entrance. We're ready to move on. Don't texture the outside faces yet - You can do that when we move the block into a wall later on.
Delete one of the walls (one on the front or back, long-wise) for the entrance. We're ready to move on. Don't texture the outside faces yet - You can do that when we move the block into a wall later on.


== Step Two: The Door ==
== Step Two: The Door ==
Now for the fun bit. If you've read the [[Creating_a_button_and_door|door tutorial here]], you'll already know what to do. If you haven't, I would advise you do that tutorial first before attempting this one!
Now for the fun bit. If you've read the [[Creating_a_button_and_door|door tutorial here]], you'll already know what to do. If you haven't, I would advise you do that tutorial first before attempting this one!

Revision as of 06:44, 22 December 2010

A turret door in the escape levels of Portal

Introduction

This tutorial will teach you how to make a turret door which opens revealing a Turret, like in the Escape Levels of Portal, in Hammer Editor.

Step One: The Cube

Firstly, create a block which is 192w x 160l x 160l. This is the size Valve uses in the game. If you want to make the box a bit longer, you can, but don't ajust the height and length. This is the box where the turret will be sitting, and where the door will be on. Make the cube hollow (I gave the walls a thickness of 4, but it doesn't matter). Now texture the inside walls with concrete_bts_modular_wall001b, the floor with concrete_bts_floor002a and finally the ceiling with concrete_bts_ceiling002a. If you have the guts to go into that place again, you'll see inside the ceiling has a hole in it with white light coming out of it. We'll get to that later.

Important: Press the "fit" button on each of the textures to make them look right.

Delete one of the walls (one on the front or back, long-wise) for the entrance. We're ready to move on. Don't texture the outside faces yet - You can do that when we move the block into a wall later on.

Step Two: The Door

Now for the fun bit. If you've read the door tutorial here, you'll already know what to do. If you haven't, I would advise you do that tutorial first before attempting this one!