{SOLVED} Lever Door
Quote from fedebenarg on July 14, 2013, 7:44 pmHi! 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?
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?
Quote from fedebenarg on July 14, 2013, 7:58 pmI discovered the solution. Sorry for the inconvenience. Don't pay attention to this topic
I discovered the solution. Sorry for the inconvenience. Don't pay attention to this topic
Quote from FelixGriffin on July 15, 2013, 8:28 amWould 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.
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.
Quote from fedebenarg on July 15, 2013, 11:48 amWell. 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.
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.

Quote from fedebenarg on July 15, 2013, 1:16 pmI don't know.
I don't know.
Quote from portal2tenacious on July 15, 2013, 2:57 pmIt would still be simpler to use the animation so you don't need to add sounds manually.
It would still be simpler to use the animation so you don't need to add sounds manually.
Quote from FelixGriffin on July 15, 2013, 6:13 pmThat 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).
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).