Solved Play custom sound when picking up weapon

Question that is answered or resolved.

Aerisetta

Active member
Hihi

I would like to play a custom sound for different weapon pick ups.

My weapons right now is picked up by pressing attack over a weapon icon:
type item
subtype weapon

And then turning into a weaponed player model
name Lucifer_Rifle
type none

When I switch to Rifle, I have a voice clip that says "RIFLE" and I want to play that wav file. I can't figure out how. Thanks
 
Solution
@Aerisetta,

There are several ways. Here's a super simple one: Give the weapon model its own get animation, and place the sound playback there. Bonus, this gives you the opportunity to have a picking up animation that makes sense for any particular item.

See here when Galford retrieves his dropped sword vs. collecting other items.


DC
@Aerisetta,

There are several ways. Here's a super simple one: Give the weapon model its own get animation, and place the sound playback there. Bonus, this gives you the opportunity to have a picking up animation that makes sense for any particular item.

See here when Galford retrieves his dropped sword vs. collecting other items.


DC
 
Solution
@Aerisetta,

There are several ways. Here's a super simple one: Give the weapon model its own get animation, and place the sound playback there. Bonus, this gives you the opportunity to have a picking up animation that makes sense for any particular item.

See here when Galford retrieves his dropped sword vs. collecting other items.


DC
Works, thanks a lot!
 
Back
Top Bottom