|
| Author |
Message |
Fear Marine0
Modulator

Joined: 28 Oct 2006 Posts: 149 Rep Points: +20 (20)
Location: Austrailia > New South Wales |
|
[FM] Making doors |
|
Tutorial Name: Making doors.
Hammer Version Required: Source SDK (Source Developers Kit)
Author: Fear Marine0
AUTO-OPENING DOORS
To make an automatic door like in Cs_Office or my De_FM_Garage, you must make a brush and Tie it to an Entity (Ctrl + T) and make this Func_Door and scroll down until you see a Move Direction tab and set it to Up from the drop-down box and name it anything you can remember, now select the texture "Trigger" and make a box all around the Func_Door entity and Tie it to an Entity called Trigger_Once. Now whenever a player walks within the Trigger_Once entity, it will tell the door to open once it comes in contact. You can use Trigger_Multiple to make it open after a number of seconds.
BUTTON-LINKED DOORS
For a more "Secure" door, make a door entity and call it whatever you want and now make another brush, in this case, you want a button, make the brush and then Tie it to an Entity called Func_Button and call this "Door_Control" Now open the Outputs tab and press Add and choose these settings.
OnPress
Door1 (Or whatever you named you door.)
Open
This generates a simple script that tells the door to open when the button is pressed.
DOORS WITH HINGES
For doors to appear to have hinges and open from the sides instead of the centre, make a brush of a door and then type "Invisible" into the texture filter and make another brush with the exact same sizes and place them side by side and select them both and Tie them to the entity "Func_Door_Rotating" and name this whatever you want. Whenever someone pushes on the door brush it will rotate as if in real life and the invisible side will not interfere with anything in the world around the player.
That is all, have fun mapping!
_________________
 |
|
| Thu Apr 05, 2007 12:25 pm |
|
 |
generalzim
GZ .:. Map Master

Joined: 25 Sep 2006 Posts: 207
|
|
|
|
and you can also do those doors with the handles like in Hl2 with a prop_door_rotating.
But good tutorial.
_________________
|
|
| Thu Apr 05, 2007 1:33 pm |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|