DB/SpellVisualKitModelAttach: Difference between revisions
Jump to navigation
Jump to search
Смердокрыл (talk | contribs) (Added info for Cata/MoP) |
Смердокрыл (talk | contribs) m (Changed "DBC_Cata" to "DBC_Cataclysm") |
||
Line 57: | Line 57: | ||
[[Category:DBC]] | [[Category:DBC]] | ||
[[Category:DBC_WotLK]] | [[Category:DBC_WotLK]] | ||
[[Category: | [[Category:DBC_Cataclysm]] | ||
[[Category:DBC_MoP]] | [[Category:DBC_MoP]] |
Revision as of 05:45, 5 February 2018
struct SpellVisualKitModelAttachRec { uint32_t m_ID; foreign_keyⁱ<uint32_t, &SpellVisualKitRec::m_ID> m_parentSpellVisualKitID; foreign_keyⁱ<uint32_t, &SpellVisualEffectNameRec::m_ID> m_spellVisualEffectNameID; uint32_t m_attachmentID; // the parent model's attachment, -1 for model's base position float m_offsetX; // relative to the attachment float m_offsetY; float m_offsetZ; float m_yaw; // the three rotations seem to be in radians float m_pitch; float m_roll; };
Column | Field | Type | Notes |
---|---|---|---|
1 | ID | Integer | |
2 | Parent SpellVisualKit ID | iRefID | |
3 | SpellVisualEffectName ID | iRefID | |
4 | Attachment ID | Integer | the parent model's attachment, -1 for model's base position |
5 | Offset X | Float | Relative to the attachment |
6 | Offset Y | Float | |
7 | Offset Z | Float | |
8 | Yaw | Float | In radians |
9 | Pitch | Float | |
10 | Roll | Float | |
11 | Unk | Integer | |
12 | Animation (Hold) | iRefID | Animation of the attached model while it is 'on' the character |
13 | Animation (Birth) | iRefID | Animation for the attached model to play once when it is spawned |
14 | Animation (Decay) | iRefID | Animation for the attached model to play as it despawns |