Jump to content
  • 0

Reload state not playing sounds?


Theshyguy489

Question

I'm trying to program a new gun. This is my first time making a reloading gun. I only added the sprite animation and sounds, but the sounds will not play. I tried to mess with the soundinfo file but everything looks fine. What is going wrong?

 

Reload:
    AIRR A 3
    AIRR B 3 A_StartSound("smgClipOut", 1)
    AIRR CDEFG 3
    AIRR H 3 A_StartSound("smgClipIn", 1)
    AIRR I 3
    goto ready

 

I also tried A_playsound and got the same. Also in my fire state, I have a sound that is working fine, so it's not all sounds that are broken.

Share this post


Link to post

2 answers to this question

Recommended Posts

  • 0

Try to check with the "soundlist" console command if the sound is properly assigned. When using it, all sounds will be listed in the console, search for the sound's logical name ("smgClipOut" in this case) in the list, if it says *NOT ASSIGNED*, then there are some something wrong on your sndinfo or the sound lump name.

Edited by LUISDooM

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...