Simple Rotating Door

So by now your probably pretty confident making walls, floors and ceilings?  Im going to tell you the simple way to make a door out of a brush of any size. Almost every map that you make, excluding fy/gg/surf maps need doors.

First off create a brush of your door and the surrounding of the room.

Then either right click on it in a 2D view and click ‘Tie to Entity’ or click  under the New Objects window ‘toEntity’. Or you could just simply key Ctrl+T.

This brings up the Object Properties window. This is the window that you will use to create the dynamic world. Doors, buttons, lights, props etc… are all done through this window.

objectproperties

From the Class drop down menu, select ‘func_door_rotating’ and then click Apply. If you now look at the door in one of the 2D views you will notice that it says the class of the object above it. Now every time you double click on the door (or any entity) it will bring up the object properties window.

togglehelpers

After doing that, quickly check to see if helpers are enabled, if not enable them. Helpers will help us choose the axis of our door more easily.

Select your door and then look in the 2D view at it. Notice that there is a small circle in the middle of it. This is a helper.

helper

I want my door to rotate around the wall that i have beside it. So i am going to drag my helper all the way to the bottom middle. This is the hinge that the door will rotate around.

helper2

Once we have changed the hinge position on the door we need to make sure that the door only opens when we press use/E in game.

To do so, bring up the Object Properties on the door and then click on the ‘Flags’ tab on it.

flags

Uncheck the ‘Touch Opens’ value and check ‘Use Opens’. You can probably work out most of the values under flags. Use Opens means that the door will only open when you press ‘E’.

Once you have done that, make sure that your map is completely sealed so you dont get any leaks.

map0001

Your done!

Example Map


About this entry