Modme Forums
Menu:

Trigger damage audio

Game Modding | Call of Duty: Black Ops 3 | Scripting


mickey0917:

Im making a shootable easter egg and used this script (https://pastebin.com/iru9hwX8) from Ice grenade, and was wondering how I could add a specific sound to play directly after the model is shot? I tried using the code "player playsound("audioid"); " but it doesnt seem to work, any suggestions?


Pepergogo:

Im making a shootable easter egg and used this script (https://pastebin.com/iru9hwX8) from Ice grenade, and was wondering how I could add a specific sound to play directly after the model is shot? I tried using the code "player playsound("audioid"); " but it doesnt seem to work, any suggestions?

Hey, I have the exact same issue
I couldn't make it work, but know I'm using NSZ shootable EE and works fine, just need to turn up the volume a little more
https://forum.modme.co/threads/nsz_powerups_megathread-all-downloads.2831/


mickey0917:

Hey! So you're saying I should just switch my script to NSZ's?


Pepergogo:

Hey! So you're saying I should just switch my script to NSZ's?

Yeap, it's worth it 😌


mickey0917:

Sweet, thanks for the help! I'll let you know how it goes


mickey0917:

It worked great! Thanks a lot, by the way would you happen to know how to install perk shaders? I've resized them all to 64x64 in ape, named them all correctly in my zone file,but only double tap and mule kick register as the custom perk shaders, while the rest just still seem to use the stock shaders? Only if you know how


Pepergogo:

It worked great! Thanks a lot, by the way would you happen to know how to install perk shaders? I've resized them all to 64x64 in ape, named them all correctly in my zone file,but only double tap and mule kick register as the custom perk shaders, while the rest just still seem to use the stock shaders? Only if you know how

I just look for them in Ape and replace the image, that way I don't need to add nothing in the zone or other file 😅