[Solved] Doors!

Avatar
Faja_2485
18 Posts
Posted Aug 29, 2012
I am really pissed at the portal2 doors right now! I Have been trying to follow a bunch of tutorials, but everyone end in the door glitching out (ie:Plays opening animation the instantly closes again). Does anyone have a tutorial that works, and if so could they post a link.

I got it to work, so I don't need anymore help.

Advertisement
Registered users don’t see ads! Register now!
Avatar
Yenwood
95 Posts
Posted Aug 29, 2012
Replied 27 minutes later
I'm pretty sure all you have to do is set the output to changing animation to open.
Avatar
narsqrd
35 Posts
Posted Aug 29, 2012
Replied 3 minutes later
if you're using a prop_dynamic, make sure you set Hold Animation to Yes
Avatar
Faja_2485
18 Posts
Posted Aug 29, 2012
Replied 5 minutes later

Yenwood wrote:
I'm pretty sure all you have to do is set the output to changing animation to open.

No, that makes the weird glitch happen, were the door plays the opening animation and then closes without an animation.

Avatar
Faja_2485
18 Posts
Posted Aug 29, 2012
Replied 4 minutes later

narsqrd wrote:
if you're using a prop_dynamic, make sure you set Hold Animation to Yes

It worked! I never noticed that option even tho I went through the list around 15 times. Thanks Narsqrd.

Avatar
The_Butler
31 Posts
Posted Aug 30, 2012
Replied 7 hours later
nice one, I bumped into the same thing... I don't want to hijack the thread, but does someone know if the portal_door_combined.dll comes with sound (I would assume so)... because if it does it aint playing over here, Its declared as a prop dynamic and "suppress sound" is set to "no"....
its not a show stopper just some annoying little thing I would like to clear up...
Avatar
FourthReaper
356 Posts
Posted Aug 30, 2012
Replied 1 hour later

The_Butler wrote:
nice one, I bumped into the same thing... I don't want to hijack the thread, but does someone know if the portal_door_combined.dll comes with sound (I would assume so)... because if it does it aint playing over here, Its declared as a prop dynamic and "suppress sound" is set to "no"....
its not a show stopper just some annoying little thing I would like to clear up...

I'd recommend placing ambien_generics for the sounds if you want custom doors, but if you just want a normal door, you are aware that a prop_testchamber_door is a thing, right? Why use a prop_dynamic?

Avatar
zivi7
649 Posts
Posted Aug 30, 2012
Replied 40 minutes later
Try prop_testchamber_door. It takes inputs to open and close and then stays that way and it uses the sounds.
Avatar
Faja_2485
18 Posts
Posted Aug 30, 2012
Replied 44 minutes later

zivi7 wrote:
Try prop_testchamber_door. It takes inputs to open and close and then stays that way and it uses the sounds.

The problem is what input to you give it because "setanimation" does not work for the prop_testchamber_door?

Avatar
Faja_2485
18 Posts
Posted Aug 30, 2012
Replied 3 minutes later
Well I am on the subject of the spawn area does anyone know how to get the test screen to work, because I followed the tutorial on the sdk doc site but nothing happens when you hit the trigger_once, is there something I am missing? Nevermind I fixed it, I needed to add a vgui_screen enabler to the game.
Avatar
zivi7
649 Posts
Posted Aug 30, 2012
Replied 1 hour later

Faja_2485 wrote:
The problem is what input to you give it because "setanimation" does not work for the prop_testchamber_door?

Just "Open". When you go to the element or trigger or whatever opens the door, there should be a list of options for the inputs for the door.

Advertisement
Registered users don’t see ads! Register now!
Avatar
Faja_2485
18 Posts
Posted Aug 30, 2012
Replied 1 hour later

zivi7 wrote:
Faja_2485 wrote:

The problem is what input to you give it because "setanimation" does not work for the prop_testchamber_door?

Just "Open". When you go to the element or trigger or whatever opens the door, there should be a list of options for the inputs for the door.

Hey it worked, thanks!