Game Opcodes:Set Music

From FFXIV Classic Wiki
Revision as of 11:43, 31 January 2022 by Jorge (talk | contribs) (0x02 mode confirmed. 0x03 is still....weird with how it layers a music. Like it's bringing back in the previous one, but then how to shut it up after without disrupting the current actual music...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Changes the current background music playing on the client.

Opcode - 0x00C
Data Size - 8 bytes
Requirements - None

Data

Offset Data Type Length Variable Description
0x00 uint16 2 Bytes musicID The music to play on the client.
0x04 uint16 2 Bytes mode See Music Modes below.

Music Modes

Mode Description
0x01 Immediately changes the music.
0x02 Crossfade the current BGM to the new one.
0x03 Layer the current BGM with the new one. (Needs Confirming)
0x04 Fade out the current BGM and fade in the new one.
0x05 Switches the current BGM music to channel one. (Only works with multilayered music)
0x06 Switches the current BGM music to channel two. (Only works with multilayered music)

Notes

  • Retail used musicID 7 for instance loading screens to silence the client.
  • MultiTrack mode can only be used for musicID 20. Switches between "The Dark's Embrace" and "The Dark's Kiss".