Stored in sounds.ddf. Lump is DDFSFX. Names should be unique.
COMMAND | TYPE | DESCRIPTION |
LUMP_NAME | [lumpname] | The name of the SFX lump in the wad file. Sound lumps usually start with "DS", which must be included. |
SINGULAR | [integer] | If a thing is making a noise with the same singularity it will be cut. (See chainsaw). |
PRIORITY | [integer] |
Specifies how important the sound is. Lower priorities are more
important. If a sound channel cannot be found to play the sound on,
EDGE will look for a channel playing a less important sound and cut
it. 0 means the sound has highest priority, 255 means sound has lowest
priority.
(NOTE: this strange priority scheme may be fixed is a future release of EDGE). |
LOOP | [boolean] | Makes the sound play over and over again. The only place where this is important is in sector moving, or when creating an ambient sound. |
BITS | [integer] | The number of bits per sample. Default is 8. Can be 16. Not currently used. |
STEREO | [boolean] | Specifies that this is a stereo sample. Wintex does not allow stereo samples to be inserted, although other WAD tools may allow this. Not currently used. |
MAX_DISTANCE | [float] | The maximum distance away from the sound where it can still be heard. Used to make sounds that can only be heard when the player is close to the source. |
PRECIOUS | [boolean] | When TRUE, this sound would rather to keep playing instead of being cut (by an equal priority or equal singularity sound). Default is FALSE. |
Example:
[SOUND] |
back to top
DDF docs written by Andy Baker and Ziggy Gnarly, with updates by Andrew Apted.
Site design by Fanatic (with graphics and modifications by Ziggy Gnarly). Problems with the docs, errors and comments should be directed to the EDGE team.
© EDGE Team 1998, 1999, 2000.