Making a Door Move Using "e"
Quote from Stirewalt2000 on August 3, 2013, 2:09 pmI tried making a door open when you press the use button (specifically this door: models/props_underground/underground_door_dynamic.mdl aka fire exit door), but when I try to use a func_button brush-entity and parent it to the door with an output of making the door open when pressed the door opens... however, even though I parented it: it still blocks my path so I can't pass through the doorway. Does anyone know of an easier way to make the door open and close when I press it while still letting me continue on?
Also, the texture I'm was using for the brush-entity is "Invisible".
I tried making a door open when you press the use button (specifically this door: models/props_underground/underground_door_dynamic.mdl aka fire exit door), but when I try to use a func_button brush-entity and parent it to the door with an output of making the door open when pressed the door opens... however, even though I parented it: it still blocks my path so I can't pass through the doorway. Does anyone know of an easier way to make the door open and close when I press it while still letting me continue on?
Also, the texture I'm was using for the brush-entity is "Invisible".

Quote from josepezdj on August 3, 2013, 2:47 pmHey!
That door has some animations since it's dynamic. You can check into the "Model" tab of the "Object Properties" window, or go to your model browser
So it has the "Open" and "close" outputs. Just add the following output to your func_button:
- OnPressed > [door_name] > SetAnimation > Open
And if you want it to close after a while, use for example:
- OnPressed > [door_name] > SetAnimation > Close |delay 5.00
Hey!
That door has some animations since it's dynamic. You can check into the "Model" tab of the "Object Properties" window, or go to your model browser
So it has the "Open" and "close" outputs. Just add the following output to your func_button:
- OnPressed > [door_name] > SetAnimation > Open
And if you want it to close after a while, use for example:
- OnPressed > [door_name] > SetAnimation > Close |delay 5.00
Quote from Stirewalt2000 on August 3, 2013, 3:44 pmThanks; I like the door closing with after awhile, but I still can't pass through the doorway. Do you have any suggestions on how to fix that (for more detail reread the description above ^)?
Thanks; I like the door closing with after awhile, but I still can't pass through the doorway. Do you have any suggestions on how to fix that (for more detail reread the description above ^)?
Quote from zivi7 on August 3, 2013, 5:26 pmCould it be that you have the func_button-brush placed in the way, in front of the door? Are you sure it's passable for the player and not a solid invisible obstacle?
Edit: Scratch that, the func_button obviously doesn't have the passable-flag. A func_door_rotating might work instead.
Edit: Or what jose said.
Could it be that you have the func_button-brush placed in the way, in front of the door? Are you sure it's passable for the player and not a solid invisible obstacle?
Edit: Scratch that, the func_button obviously doesn't have the passable-flag. A func_door_rotating might work instead.
Edit: Or what jose said.

Quote from josepezdj on August 3, 2013, 5:27 pmWell, that is surely because the player is being blocked by the func_button brush itself.
Try this: change the func_button by a func_rot_button and use the following settings:
And check its flag "Not solid".
Make the button more or less as in the image and texture it with the invisible texture
Now the outputs should be like so:
OnPressed > [door_name] > SetAnimation > Open
OnOut > [door_name] > SetAnimation > CloseAs you sure have noticed, the time that the button lasts in reseting itself (Delay Before Reset property) is the time the door will stay opened; and the Speed property is necessary to set it high in order to make it open quickly and start eariler to count to reset.
Well, that is surely because the player is being blocked by the func_button brush itself.
Try this: change the func_button by a func_rot_button and use the following settings:
And check its flag "Not solid".
Make the button more or less as in the image and texture it with the invisible texture
Now the outputs should be like so:
OnPressed > [door_name] > SetAnimation > Open
OnOut > [door_name] > SetAnimation > Close
As you sure have noticed, the time that the button lasts in reseting itself (Delay Before Reset property) is the time the door will stay opened; and the Speed property is necessary to set it high in order to make it open quickly and start eariler to count to reset.
Quote from Stirewalt2000 on August 5, 2013, 7:40 pmThanks! It's working.
Thanks! It's working.

Quote from BenVlodgi on August 6, 2013, 2:09 pmradelite wrote:Try a using a game_ui activated by a triggerno..... I feel like you have no idea what those are
no..... I feel like you have no idea what those are