Melonpizza Posted May 7, 2023 Hello : ) When i wanted to give an weapon of mine a sound when it hits, it wouldn't, it was just silent. I have no clue why it isn't working. Here Some Reference Material, so you can help me better (stars to not spoil anything): SNDINFO: Chair/hit1 CHAIRHIT1 Chair/hit2 CHAIRHIT2 Chair/hit3 CHAIRHIT3 DECORATE: **** F 6 a_custompunch(50,True,cpf_pullin,"MeleeBulletPuff",45,False,0,"ArmorBonus","*****/hit1","************/miss") Thanks For Helping/Trying to help : ) 0 Quote Share this post Link to post
0 Kan3 Posted May 8, 2023 Ehm... how are we supposed to help though if you "obscure" one of the fundamental part of the issue? Quote "*****/hit1" This is probably why the sound's not working. Also, you mention "Random sound" in the title, but you haven't set anything to make the sound to be random 0 Quote Share this post Link to post
0 SMG_Man Posted May 8, 2023 have you tried reading the SNDINFO documentation on the Zdoom wiki? https://zdoom.org/wiki/SNDINFO#Examples it gives an easy to understand example of setting up a randomized sound effect. 0 Quote Share this post Link to post
Question
Melonpizza
Hello : )
When i wanted to give an weapon of mine a sound when it hits, it wouldn't, it was just silent. I have no clue why it isn't working.
Here Some Reference Material, so you can help me better (stars to not spoil anything):
SNDINFO:
Chair/hit1 CHAIRHIT1 Chair/hit2 CHAIRHIT2 Chair/hit3 CHAIRHIT3
DECORATE:
**** F 6 a_custompunch(50,True,cpf_pullin,"MeleeBulletPuff",45,False,0,"ArmorBonus","*****/hit1","************/miss")
Thanks For Helping/Trying to help : )
Share this post
Link to post
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.