Door creation

From Valve Developer Community
Revision as of 11:23, 23 June 2006 by Giles (talk | contribs) (Removed tags. TutPOV is incorrect and cleanup is unnecessary while the article is being worked on.)
Jump to navigation Jump to search

Creating a brush-based door.

Basics

To create a brush-based door, create a gap in the wall as a doorspace. To make the gap, split the wall in half and place a small brush over the top of the doorspace. Make sure that there is floor underneath the doorspace, otherwise you will have a leak.

Creating a brush for the door

Second, you will need to fill the doorspace with a brush. The brush should be a different texture from the wall.

Turning the brush into the door

To turn the brush into a door, right click on it while it is selected in one of the 2D views. Then select 'tie to entity' and from the entity list select either func door rotating or func door. If you want your door to move up or down, select func_door and scroll down the options until you reach 'door movement(pitch yaw roll)' and select either up or down from the small box next to the select options bar.