DB/ZoneMusic
Jump to navigation
Jump to search
This table contains the music that is played in zones.
0.5.3.3368
enum AMBIENCE { AMB_DAY = 0, AMB_NIGHT = 1, NUM_AMBIENCES = 2, }; struct ZoneMusicRec { uint32_t m_ID; float m_VolumeFloat; stringrefⁱ m_MusicFile[NUM_AMBIENCES]; uint32_t m_SilenceIntervalMin[NUM_AMBIENCES]; uint32_t m_SilenceIntervalMax[NUM_AMBIENCES]; uint32_t m_SegmentLength[NUM_AMBIENCES]; uint32_t m_SegmentPlayMin[NUM_AMBIENCES]; uint32_t m_SegmentPlayMax[NUM_AMBIENCES]; uint32_t m_Sounds[NUM_AMBIENCES]; };
Structure
Column | Field | Type | Notes |
---|---|---|---|
1 | ID | Integer | |
2 | Name | String | |
3 | SilenceIntervalMinDay | Integer | |
4 | SilenceIntervalMinNight | Integer | |
5 | SilenceIntervalMaxDay | Integer | |
6 | SilenceIntervalMaxNight | Integer | |
7 | DayMusic | iRefID | Whats played on days. |
8 | NightMusic | iRefID | And in the night. |
1.12.1.5875, 6.0.1.18179
struct ZoneMusicRec { uint32_t m_ID; stringrefⁱ m_SetName; uint32_t m_SilenceIntervalMin[NUM_AMBIENCES]; uint32_t m_SilenceIntervalMax[NUM_AMBIENCES]; foreign_keyⁱ<uint32_t, &SoundEntriesRec::m_ID> m_Sounds[NUM_AMBIENCES]; };