Please or Register to create posts and topics.

Push Buttons

Heya there,

Just a first note: I am not looking for floor buttons or timer buttons.

What I am trying to do, is to make a working button of the button shown in the picture below, such as it being pushed and then reset...

However, I have no clue how to do it. Every google search I do directs me to the floor button tutorial. Any help would be appreciated.

button.png
Some of my Portal 2 maps || Mini-Faith || Careful Cube || Vertical Reach ||

|| Need help uploading a map...new user? Read my Map Uploading Guide ||
|| Want to play custom maps, but don't know how? Read my Playing Portal 2 Custom Maps Guide ||

1. Make a nodraw textured brush roughly the same size as the prop.
2. Ctrl+T to tie the brush to an entity.
3. From the dropdown list, select func_button
4. Set whatever options you want for the button and whatever actions you want the button to do in the output tab.

If you google search for func_button, you'll find a good tutorial on it.

Remember when the platform was sliding into the fire pit and I said 'goodbye', and you were like 'NO WAY', and then I was all 'we pretended we were going to murder you?' That was great
synthemesc wrote:
1. Make a nodraw textured brush roughly the same size as the prop.
2. Ctrl+T to tie the brush to an entity.
3. From the dropdown list, select func_button
4. Set whatever options you want for the button and whatever actions you want the button to do in the output tab.

If you google search for func_button, you'll find a good tutorial on it.

Thanks. What settings need to be to activate it? As I set it up to activate via 'e' and it doesn't seem to work.

Some of my Portal 2 maps || Mini-Faith || Careful Cube || Vertical Reach ||

|| Need help uploading a map...new user? Read my Map Uploading Guide ||
|| Want to play custom maps, but don't know how? Read my Playing Portal 2 Custom Maps Guide ||

Make sure the flags are checked properly.

Make sure that you can "use" the button. Y'know for the E/Use button to work.

Crazy is as crazy does.
My Work
[spoiler]Maps:
Revenge of the Angry Turrets
Capture the Cube [Co-op]
Capture the Cube 2 [Co-op]
TPWEGTH Sample Map
Aperture Aquatic Testing Center
Aperture Aquatic Testing Center 2
Aperture Time Testing Center
ML's Halloween Trick - 1000 downloads!
ML's Halloween Treat
ML's Combination - 1000 downloads!
ML's Jailbreak Labyrinth
ML's Tricky Teamwork [Co-op]
WIP:
"Capture the Cube 3"
Workshop Maps Link: http://steamcommunity.com/profiles/76561198008890579/myworkshopfiles/[/spoiler]
MasterLagger wrote:
Make sure that you can "use" the button. Y'know for the E/Use button to work.

I have that selected. As when I first set it up, that was the first thing selected in the flags tab.

Some of my Portal 2 maps || Mini-Faith || Careful Cube || Vertical Reach ||

|| Need help uploading a map...new user? Read my Map Uploading Guide ||
|| Want to play custom maps, but don't know how? Read my Playing Portal 2 Custom Maps Guide ||

If you have your invisible button over the prop button you need to set outputs. You func_button needs the following output: OnPressed <name of the prop button> SetAnimation <name of the animation>.

To see what animations are aviable, you have to select the prop button and open the keyvalue window. There you can switch to "Model" and there you can view the animations.
Oh be sure that your button prop is a prop_dynamic.

Skotty wrote:
If you have your invisible button over the prop button you need to set outputs. You func_button needs the following output: OnPressed <name of the prop button> SetAnimation <name of the animation>.

To see what animations are aviable, you have to select the prop button and open the keyvalue window. There you can switch to "Model" and there you can view the animations.
Oh be sure that your button prop is a prop_dynamic.

Thank you for the help. However when I try and find an animation for the push button it doesn't appear to have any. the only thing listed in 'Model' is the 'bindpose'.

Some of my Portal 2 maps || Mini-Faith || Careful Cube || Vertical Reach ||

|| Need help uploading a map...new user? Read my Map Uploading Guide ||
|| Want to play custom maps, but don't know how? Read my Playing Portal 2 Custom Maps Guide ||

Maybe there is another model of this button. Just keep looking. Or just use another model.

There is the model for the red button itself, and one for the pad which the button goes on. You could make the red button attach to a func_door (or attach it to a func_button), then parent the model to the button or door.

?????????????????????????????TWP Releases | My Workshop