Jump to content

Home

How would I do this?(Door entity help)


Grets Sirob

Recommended Posts

I'm still alive, but now I need some help.

I had another post(looks around) but I can't seem to find it.

 

Anyway, I want to make a door, that you activate by pushing, it opens slowly, stays open for about four seconds, then closes, automatically, and you can open it as many times as you want.

 

So how do I do this?

 

I tried something, but it locked me in when it closed...

Link to comment
Share on other sites

This should work, but I haven't tried it, so there's no guarantee:

 

1)Select the door. Go into the entity edit menu ('N'). Give it the key targetname and the value door1(or whatever name you want).

 

2)Add the key speed and the value 50. Next, give it the key wait and the value 5. Set the angle to whichever angle you want it to open in.

 

3)Next, make your button brush. Make it a func_button. when you're done.

 

4)Now, add the key target and the value door1 to the button. Now add the keys speed and wait, and give each the value 6.(this'll make the button useable just after the door has closed.)

 

Hopefully this will work, but as I said before, it might not.

Link to comment
Share on other sites

Wait, I figured it out(sorry guys :)).

So, if anyone else wants(or needs :D) to know how to do this, here's how:

 

1. Make your door(duh...)

 

2. (I'm assuming you know enough to make it a func_door)

Select your door, and press "N"

 

3. Now, check the box(may not be in mp, but it's in sp for sure)

"Player_use"

 

4. Enter in the key "speed" and the value "(however fast you want the door to go)"

 

5. Enter in the key "wait" and the value "(the time you want it too wait at the bottom)"

 

I can't access my computer right now(we have several, mines annoyingly unusable right now... :mad: ), so I can't check on it, but I'm pretty sure that's how I did it.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...