func_button bug?

For all topics related to using or installing radiant
Post Reply
User avatar
xandaxs
Posts: 959
Joined: Wed Aug 17, 2011 5:22 pm
Location: Oeiras, Portugal

func_button bug?

Post by xandaxs »

Hey guys, been using func_button now on xanjumps, more than once, and I'm thinking that the parameter push_sound is broke. Is it?
For I've push_sound with the value "sound/xanjumps/push" and it still goes for the default Q3 sound.
[12:25] <JohnnyEnglish> morning Nounou
[12:25] <JohnnyEnglish> wotcha doing?
[12:25] <Nounou> hello
[12:26] <Nounou> nothing much, i've nothing to do at work so
[12:26] <Nounou> modeling woman
[12:26] <JohnnyEnglish> woo
[12:26] <JohnnyEnglish> real women?
[12:26] <Nounou> realistic yes, on maya

Image

User avatar
xandaxs
Posts: 959
Joined: Wed Aug 17, 2011 5:22 pm
Location: Oeiras, Portugal

Re: func_button bug?

Post by xandaxs »

Problem solved.
Push_sound doesn't work properly, so just set it to none and target the button to a target_speaker.

Using the noise key on this entity will make the sound be played every time the button moves, which means the sound will be played twice when someone pushes the button. Once when it goes in, and the other when it returns to its original position.

Haven't tried using the key pos1 but I can if there's anyone interested.

Thanks to vulture and NuLL
[12:25] <JohnnyEnglish> morning Nounou
[12:25] <JohnnyEnglish> wotcha doing?
[12:25] <Nounou> hello
[12:26] <Nounou> nothing much, i've nothing to do at work so
[12:26] <Nounou> modeling woman
[12:26] <JohnnyEnglish> woo
[12:26] <JohnnyEnglish> real women?
[12:26] <Nounou> realistic yes, on maya

Image

Post Reply