Tutorials

Rotating Door



This tutorial is going to show you how to create a simple rotating door.

We first need to start off with the area that the door is going to be located. It is important to make sure the gap is large enough for the player to fit through. You can see below that I have a simple gap in a wall which leads to another room. This is where I am going to place my door.

news post image

Next we will insert the door. Select your brush tool and create a brush that fills up the gap where the door is to be, then apply the texture you want for this door as shown in the image below.

news post image

We now have to apply the origin brush. The best way that I can describe the origin brush is that it works as a hinge, and this is wot the door will rotate around. You must make a brush that is textured on all sides with "tools/toolsorigin" and place it where you want the door to rotate. The image below should help you understand.

Note: It's preferred practice to use the small origin circle visible when the entity is selected. Drag this to the position of your origin.

news post image

We must now select both the door brush and the origin brush at the same time. You can select multiple objects by holding down ctrl as you click. One you have both brushes select press ctrl+t and choose func_door_rotating. For this basic door you don't have to worry about the properties, although feel free to change the settings.

Thats it done. When you compile and load the map in game your door should swing open.

news post image

Example Map

View comments ( 9 )

Back to top