DeHackEd / BEX Reference/Eternity Extension: MUSIC Block

From Eternity Wiki
Revision as of 14:43, 3 March 2012 by Printz (talk | contribs) (Created page with "The MUSIC block can change the name of any music lump used by the game. {{backto|DeHackEd / BEX Reference}} ==Syntax== [MUSIC] <mnemonic> = <string> The <mnemonic> to use i...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

The MUSIC block can change the name of any music lump used by the game.

Back to DeHackEd / BEX Reference

Syntax[edit]

  [MUSIC]
  <mnemonic> = <string>

The <mnemonic> to use is the normal music name, minus the "D_" that is normally appended to wad lumps. That is, if you want to rename the music that's normally named D_ROMERO, you use the mnemonic ROMERO, even if ROMERO has already been changed to a new string. Changing the music names will not change their corresponding mnemonics. <string> must be from 1 to 6 characters long, or the substitution will not occur.