Skip to content

DDF Sounds

Lobo edited this page Jul 5, 2024 · 2 revisions

Stored in the DDFSFX data lump, or the sounds.ddf file.

DDFSFX allows you to change the various sounds that are played as things happen in the game. Each entry consists of a unique name, enclosed in square brackets, plus a series of commands that specify the sound lump in the wadfile and the characteristics of how it's played.

Names should be descriptive of what the sound is and/or when it is used, and will be referred to in the other DDF files, such as DDFWEAP/weapons.ddf, DDFATK/attacks.ddf and DDFTHING/things.ddf amongst others.

Sound lumps can be doom format, WAV, MP3 or OGG.

Commands

The commands used for sound entries are as follows:

COMMAND TYPE DESCRIPTION
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.
LUMP_NAME [lumpname] The name of the SFX lump in the wad file. Sound lumps usually start with "DS", which must be included.
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.
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).
SINGULAR [integer] If a thing is making a noise with the same singularity it will be cut. (See chainsaw).
VOLUME [percentage] Sound volume
PC_SPEAKER_LUMP [lumpname] The name of the alternate SFX lump in the wad file when in PC Speaker Mode

Examples

The following is an example of a complete sound entry:

[SOUND]  
LUMP_NAME="DSMYGUN";  
PRIORITY=2;  
SINGULAR=33;  




DDF docs written by Andy Baker and Ziggy Gnarly, with updates by Andrew Apted, Andy Brewood and Luke Brennan. © EDGE Team, et al. 1998 - 2024.

Home

EDGE-Classic Mod Downloads

COAL

DDF     Introduction
    Animations
    Attacks
    Colormaps
    Flats
    Fonts
    Games
    Images
    Languages
    Levels
    Lines and Sectors
    Playlist
    Sounds
    Styles
    Switches
    Things
    Weapons
RTS     Introduction
    Conditions
    Directives
    Flow Control
    Level Commands
    Maps and Triggers
    Properties
    Thing Commands
    Tips and Menus
Tutorials     Creating a Weapon
    Creating an Enemy
    Creating a Friendly Creature

Compiling EDGE-Classic

Clone this wiki locally