{SOLVED} Lever Door

Avatar
fedebenarg
70 Posts
Posted Jul 14, 2013
Hi! In the end of my map, you have to open a lever door (like the ones from underground) to access the exit elevator. Now, how can I do this lever door?
Advertisement
Registered users don’t see ads! Register now!
Avatar
fedebenarg
70 Posts
Posted Jul 14, 2013
Replied 13 minutes later
I discovered the solution. Sorry for the inconvenience. Don't pay attention to this topic
Avatar
FelixGriffin
2,680 Posts
Posted Jul 15, 2013
Replied 12 hours later
Would you mind saying how you did it? I can think of three ways to build the door, only one of which is really a good idea.
Avatar
fedebenarg
70 Posts
Posted Jul 15, 2013
Replied 3 hours later
Well. I used a prop_dynamic for the door, and then I put a func_button in the place of lever with a nodraw texture. Then I made it to set the animation of the door to 'open' when pressed. Finally, I put a trigger_once in the other side of the door, that set the animation of the door to 'close' when triggered.
Avatar
Gemarakup
1,183 Posts
Posted Jul 15, 2013
Replied 1 hour later
OK, does it support prop_rotating_door?
Avatar
fedebenarg
70 Posts
Posted Jul 15, 2013
Replied 20 minutes later
I don't know.
Avatar
portal2tenacious
393 Posts
Posted Jul 15, 2013
Replied 1 hour later
It would still be simpler to use the animation so you don't need to add sounds manually.
Advertisement
Registered users don’t see ads! Register now!
Avatar
FelixGriffin
2,680 Posts
Posted Jul 15, 2013
Replied 3 hours later
That is the best solution. Prop_door_rotating doesn't work with that model, and a prop_dynamic provides smoother animation anyway (the same way VALVe abandoned gibs for animated models in general for Portal 2).