Difference between revisions of "Game Opcodes:Set Music"
From FFXIV Classic Wiki
(Created page with "Changes the current background music playing on the client. :; Opcode - 0x010 :; Data Size - 8 bytes :; Requirements - None == Data == {| class="wikitable sortable" width="...") |
(→Music Modes) |
||
Line 22: | Line 22: | ||
{| class="wikitable sortable" width="100%" | {| class="wikitable sortable" width="100%" | ||
− | ! width=" | + | ! width="25px" style="text-align: center; font-size: 14px;" | Mode |
! width="200px" style="text-align: center; font-size: 14px;" | Description | ! width="200px" style="text-align: center; font-size: 14px;" | Description | ||
|- | |- |
Revision as of 18:27, 23 March 2018
Changes the current background music playing on the client.
- Opcode - 0x010
- 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. (Needs Confirming) |
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".