Cleanup is going to take awhile, so the site is back up but editing has been disabled.

Basic Door - Sliding

From HalfLife 2 Knowledge Base

(Redirected from Generic Door (Sliding))
Jump to: navigation, search
  • By Madball

DESCRIPTION

  • The aim for the tutorial is to create a generic door that slides open and slides closed (like you would see on StarTek). You will need to know some basics on creating rooms and texturing as to make your map look good in the process.

CONSTRUCTION

  • Please follow the steps carefully to successfully complete the tutorial.
Steps 1, 2 & 3
Enlarge
Steps 1, 2 & 3


1) Load up the Hammer Editor with your empty room that you have created.


2) Using the Block Tool created a wall down the middle of the room to split the room into two. Make sure that the thickness of the wall is about 8 units.


3) Now select the block tool again and created a block that is 112 units high, 56 units wide and 8 units in depth. Now that you have created your block move it into the wall so that it is sitting perfectly in line with the floor. Now Right Mouse Click and select Carve from the list of options. This will now carve a hole through your wall where your door is going to be.

Step 4
Enlarge
Step 4

4) Using the block that you created the hole in the wall re-size the depth to 2 units so that it will look more like as door. Texture the door so that it more looks like a door as well.

Steps 5 & 6
Enlarge
Steps 5 & 6

5) Now with the door selected Right Mouse Click and from the list of options select Tie to Entity.


6) You will now see a Object Properties dialog box. In the Class entry section type in func_door.

Step 7
Enlarge
Step 7

7) Now move down the list of keyvalues and select Move Direction (Pitch, Yaw, Roll). If you want the door to move left or right move the white line to either the left or the right of the black circle (See No.1 on image to the right for more information.). If you want the door to move up or down then use the drop down list (See No.2 on image to the right for more information).

Enlarge
  • Now save and compile your map. Run the map once it has finished compliling and there you have it a door that slides.
Personal tools