Please or Register to create posts and topics.

Making a Door Move Using "e"

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".

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

ImageImageImageImageImageuseful tools and stuff here on TWP :thumbup:
[spoiler]ImageImageImageImageImage[/spoiler]

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 ^)?

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. :thumbup:

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:

Image

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.

ImageImageImageImageImageuseful tools and stuff here on TWP :thumbup:
[spoiler]ImageImageImageImageImage[/spoiler]

Thanks! It's working.

Try a using a game_ui activated by a trigger

Image
radelite wrote:
Try a using a game_ui activated by a trigger

no..... I feel like you have no idea what those are



Also, I made a map just for you! Sunset
Click Here to view my Workshop and play my puzzlemaker maps