Skip to content

XML EventSound

riyu edited this page Nov 4, 2026 · 3 revisions

XML table EventSound.xml

Back to XML Tables Index.

Data file EventSound.xml
Source unit src/ms2/client/ms2/soundproperty.cpp
Loader Load (0x141791940) in src/ms2/client/ms2/soundproperty.cpp
Category client
Attributes 16 (0 partial)

Element nesting

Reconstructed from FirstChild* / NextSibling* chains. A leading $name marks a loop/helper variable that could not be resolved to a literal.

  • eventSound
  • hitSound
  • pitchSound

Element (function parameter / root)

Attribute C++ type Field Default Enum Reader Line
soundID Unk_FcStrList m_sounds Load 0x141790ae0 259
group CString m_strGroup Load 0x141790ae0 260
byGender bool m_bByGender Load 0x141790ae0 261
byJob bool m_bByJob Load 0x141790ae0 262
cooltimeID unsigned int m_nCooltimeId Load 0x141790ae0 263
jobSoundID CString strJobs Load 0x141790ae0 267
byGender int m_bByGender Load 0x1417911e0 350
byJob int m_bByJob Load 0x1417911e0 351

Element eventSound

Attribute C++ type Field Default Enum Reader Line
job int nJob LoadEventSound 0x141792740 601
gender int nGender LoadEventSound 0x141792740 602

Element hitSound

Attribute C++ type Field Default Enum Reader Line
AttackMaterial int nAttack LoadHitSound 0x141792180 512
DefenceMeterial int nDefence LoadHitSound 0x141792180 513
soundID int nSoundId LoadHitSound 0x141792180 514

Element pitchSound

Attribute C++ type Field Default Enum Reader Line
id int nId LoadPitchSound 0x141792570 560
pitchUnit int nUnit LoadPitchSound 0x141792570 561
pitch float fPitch LoadPitchSound 0x141792570 562

Clone this wiki locally