Portal 2: Hammer Help!
Prop_dynamics:
"models/props_bts/push_button_stand.mdl", the actual stand with 2 skins for the "online" and "ready" display.
"models/props_gameplay/push_button_base.mdl", the housing for the button with 2 skins as well for some red/green lights. Put this on the empty spot on the stand.
"models/props_gameplay/push_button_knob.mdl", the knob itself. Parent it to the func_button, and place inside the housing.
The func_button is made of nodraw and is the thing players "press" (put it around where the knob is). Set the "movement direction" to match the direction the knob should move. Set "lip" to be 1 less than the distance along the axis the button moves (if it moves left/right on the top view, use the width; if it moves up/down then use the height. You probably won't have a button on the floor). Set "delay before reset" and "speed" to whatever looks good (I've used 0.1s delay and a speed of 4). In flags make sure only "use activates" is checked.
You'll also want an ambient_generic with the sound "World.LightPowerOnMd".
For outputs (all from the func_button):
- "OnIn" set the base + stand Skin to 1.
- "OnOut" set the base+stand Skin to 0.
- "OnPressed" "PlaySound" the ambient_generic.
- "OnPressed" trigger whatever you want the button to do.
TeamSpen210 wrote:
If you mean the BTS button, you need 3 prop_dynamics and a func_button.
Prop_dynamics:
"models/props_bts/push_button_stand.mdl", the actual stand with 2 skins for the "online" and "ready" display.
"models/props_gameplay/push_button_base.mdl", the housing for the button with 2 skins as well for some red/green lights. Put this on the empty spot on the stand.
"models/props_gameplay/push_button_knob.mdl", the knob itself. Parent it to the func_button, and place inside the housing.The func_button is made of nodraw and is the thing players "press" (put it around where the knob is). Set the "movement direction" to match the direction the knob should move. Set "lip" to be 1 less than the distance along the axis the button moves (if it moves left/right on the top view, use the width; if it moves up/down then use the height. You probably won't have a button on the floor). Set "delay before reset" and "speed" to whatever looks good (I've used 0.1s delay and a speed of 4). In flags make sure only "use activates" is checked.
You'll also want an ambient_generic with the sound "World.LightPowerOnMd".
For outputs (all from the func_button):
- "OnIn" set the base + stand Skin to 1.
- "OnOut" set the base+stand Skin to 0.
- "OnPressed" "PlaySound" the ambient_generic.
- "OnPressed" trigger whatever you want the button to do.
There is no func_button for me
Where do i find it?