Heretic ambient sounds stop playing

From DoomWiki.org

Revision as of 08:40, 3 October 2020 by Quasar (talk | contribs) (Quasar moved page Heretic ambient sounds stop playing after awhile to Heretic ambient sounds stop playing: Sufficient to describe the condition)


In Heretic, if the "drops" ambient sounds are used, all global sounds will cease playing after a while.

Explanation

This happens because the "drops" sounds have random delay stages in their sequences. These delays range from 0 tics to a certain positive amount. If the random picker chooses 0 tics, then from that moment all the global sounds will stop playing. This happens because of a wrap-around error in the logic.

Designer workaround

If you want global ambient sounds to keep playing in your map throughout its entire duration, avoid using "drops" ambient sounds.