Heretic ambient sound things

The ambient sounds in Heretic are thing-based as opposed to being script-based like those in Hexen's corresponding system. Briefly, the sound ambience is edited by inserting, deleting or changing specific things in the level.

Heretic stores twelve separate ambient sounds, and their corresponding things form an own category in the game's thing collection. The functions of the sound things have been hard-coded into the engine, which does set a few limits for the adjustment of ambient sounds, but, on the other hand, makes it relatively quick for one to create and modify the map's sound ambience.

Classification
The available sounds are listed below, and the used names are similar with those found in the game's source code. To know which sound entries and names associate, please see the technical information section.

Radial sounds
Basically, the sounds can be divided into two classes. The things for waterfall and wind operate differently than the rest as they produce audio only on a limited radius from their center points. These two have yet a difference; the waterfall thing has its sound looping constantly while its wind counterpart only plays occasional audio.

In the stock levels of Heretic, wind things are frequently used in large outdoor areas to play a sound of the wind blowing. Waterfall things are placed in the environments of waterfalls to produce a sound of the liquid flowing. Although there are lava falls in the game as well and they resemble their water counterparts, they do not use the sound effect nor have any other ambient sound enhancing them.

Regional sounds
The ten remaining sounds share a common function. Instead of being repeated only in a small circle somewhere in a level, they are heard in the entire region regardless of the things' coordinates. Practically, they can be placed anywhere.

When one of the mentioned ten sounds becomes represented by a thing in a level, the sound will subsequently become a part of an automatically looping sequence that controls the playback of ambient sounds. While in the game, the system plays the sound in randomized intervals and volumes. If another sound from the group of ten is represented as well, randomization is also involved in the selection of the sound.

In case the level designer wishes to stress a single type of audio, he/she would simply add more representative things to make it more likely for that specific sound to be selected. As can be seen from the adjacent picture, E5M5: Hydratyr has eight regional ambient sounds set (purple things next to number one). The group includes four things for heart beat but only two things for drops and squish each. Thus, the probabilities for the three sounds to be played are 50, 25 and 25 percent respectively.

A few of Heretic's levels utilize the sounds to enhance the atmosphere of the location, such as E1M6: The Cathedral by having a lot of bell sounds or E2M1: The Crater with its numerous Weredragon growl effects. In addition, many levels with water areas tend to have the drops sound. Despite this, the ambient sounds are never used to produce unique in-game effects, which is referenced in the fact that none of the sounds are exclusive to a single level or not even an episode.

Appearance statistics
The first episode of Heretic uses seven different ambient sounds. While the full version reuses them, it also introduces five new ones.

Commercial game
E4M3 and E4M4 lack ambient sound things for no obvious reason.

Source port improvements

 * Heretic includes a static limit of eight regional ambient sounds per level. If one attempts to launch a user PWAD map with a limit-breaking amount, the error message "Too many ambient sound sequences" will be displayed and the game will quit. The limit is removed in ZDoom.
 * Skill level flags do not affect the behavior of regional ambient sounds but do work with the waterfall and wind things. ZDoom enables the flags for the ten other sounds as well, which allows for some new effects. For instance, one of the sounds could be replaced with an eerie noise, and the thing could be set to function on the most difficult skill levels only. The sound would spice the intense atmosphere or simply work as a mild easter egg.