SNDINFO

From ECWolf Wiki
Revision as of 23:45, 23 December 2009 by Blzut3 (talk | contribs) (Created page with 'SNDINFO is a lump used to assign certain properties to sounds. ECWolf references sounds by their logical name and not their lump name so this lump is primarily used to assign lo…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

SNDINFO is a lump used to assign certain properties to sounds. ECWolf references sounds by their logical name and not their lump name so this lump is primarily used to assign logical names.

Logical Names

To assign a logical name to a sound lump all you need to do is specify the logical name followed by the lump name of the sound. Wolfenstein has three types of sounds. Digital, adlib, and pc speaker sounds. If the sound you wish to use is only of the digital type then just specifying the two names will work. Otherwise you must enclose the lumps in braces and in the before mentioned order. "NULL" can be used where a sound of that type does not exist. If the PC speaker sound does not exist it may be left out.

misc/mynewsound    MYSND // This is a digital only sound
misc/myadlibsound  { NULL MYALSND } // This sound only has an adlib form.

Note that at the time of this writing ECWolf does not play PC speaker sounds, but they may be defined for future use.