DB/SpellVisualKitModelAttach: Difference between revisions
Jump to navigation
Jump to search
Chuanhsing (talk | contribs) (Created page with 'New in WotLK. Category:DBC') |
Смердокрыл (talk | contribs) No edit summary |
||
(10 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{{Template:Sandbox/VersionRange|min_expansionlevel=3}} | |||
struct SpellVisualKitModelAttachRec { | |||
uint32_t m_ID; | |||
{{Template:Type/foreign_key|table=SpellVisualKit}} m_parentSpellVisualKitID; | |||
{{Template:Type/foreign_key|table=SpellVisualEffectName}} m_spellVisualEffectNameID; | |||
uint32_t m_attachmentID; // the parent model's [[M2#Attachments|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; | |||
}; | |||
{{Template:Sandbox/VersionRange|min_expansionlevel=4}} | |||
{| style="background:#FCFCFC; color:black" | |||
|- | |||
! width="80" | Column | |||
! width="180 " | Field | |||
! width="80" | Type | |||
! width="600" | Notes | |||
|- | |||
| 1 || ID || Integer || | |||
|- style="background:#F0F8FF;" | |||
| 2 || [[SpellVisualKit.dbc|Parent SpellVisualKit ID]] || iRefID || | |||
|- style="background:#F0F8FF;" | |||
| 3 || [[SpellVisualEffectName.dbc|SpellVisualEffectName ID]] || iRefID || | |||
|- | |||
| 4 || Attachment ID || Integer || the parent model's [[M2#Attachments|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 || | |||
|- style="background:#F0F8FF;" | |||
| 12 || [[AnimationData.dbc|Animation (Birth)]] || iRefID || Animation for the attached model to play once when it is spawned | |||
|- style="background:#F0F8FF;" | |||
| 13 || [[AnimationData.dbc|Animation (Hold)]] || iRefID || Animation of the attached model while it is 'on' the character | |||
|- style="background:#F0F8FF;" | |||
| 14 || [[AnimationData.dbc|Animation (Decay)]] || iRefID || Animation for the attached model to play as it despawns | |||
|} | |||
[[Category:DBC]] | [[Category:DBC]] | ||
[[Category:DBC_WotLK]] | |||
[[Category:DBC_Cataclysm]] | |||
[[Category:DBC_MoP]] |
Latest revision as of 16:46, 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 (Birth) | iRefID | Animation for the attached model to play once when it is spawned |
13 | Animation (Hold) | iRefID | Animation of the attached model while it is 'on' the character |
14 | Animation (Decay) | iRefID | Animation for the attached model to play as it despawns |