DB/SpellVisualKit: Difference between revisions

From wowdev
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
This file is used to attach different spell effects from [[SpellVisualEffectName.dbc]] to certain points on the model. Each column corresponds to areas on a model such as hands, chest and base.  
This file is used to attach different spell effects from [[SpellVisualEffectName.dbc]] to certain points on the model. Each column corresponds to areas on a model such as hands, chest and base.  
Besides the obvious effects for different attachments, there is "character procedures" (`m_characterProcedure`, `m_charProc[4]`) which have additional non-[[DB/SpellVisualEffectName]] effects, like equipping items or coloring the target.


==0.5.3.3368==
==0.5.3.3368==
Line 6: Line 8:
   uint32_t m_kitType;
   uint32_t m_kitType;
   uint32_t m_anim;
   uint32_t m_anim;
   uint32_t m_headEffect;
   {{Template:Type/foreign_key|table=SpellVisualEffectName}} m_headEffect;
   uint32_t m_chestEffect;
   {{Template:Type/foreign_key|table=SpellVisualEffectName}} m_chestEffect;
   uint32_t m_baseEffect;
   {{Template:Type/foreign_key|table=SpellVisualEffectName}} m_baseEffect;
   uint32_t m_leftHandEffect;
   {{Template:Type/foreign_key|table=SpellVisualEffectName}} m_leftHandEffect;
   uint32_t m_rightHandEffect;
   {{Template:Type/foreign_key|table=SpellVisualEffectName}} m_rightHandEffect;
   uint32_t m_breathEffect;
   {{Template:Type/foreign_key|table=SpellVisualEffectName}} m_breathEffect;
   uint32_t m_specialEffect[3];
   {{Template:Type/foreign_key|table=SpellVisualEffectName}} m_specialEffect[3];
   uint32_t m_characterProcedure;
   uint32_t m_characterProcedure;
   float m_characterParam[4];
   float m_characterParam[4];
   uint32_t m_soundID;
   {{Template:Type/foreign_key|table=SoundEntries}} m_soundID;
   uint32_t m_shakeID;
   {{Template:Type/foreign_key|table=SpellEffectCameraShakes}} m_shakeID;
  };
  };
==Structure ==
==unknown version==
  struct SpellVisualKitEntry // sizeof(0x9C)
  struct SpellVisualKitRec {
{
  uint32_t m_ID;
    uint32_t m_ID;
  {{Template:Type/foreign_key|table=AnimationData}} m_startAnimID;
    uint32_t m_startAnimID;
  {{Template:Type/foreign_key|table=AnimationData}} m_animID;
    uint32_t m_animID;
#if version > ?
    uint32_t m_animKitID;
  {{Template:Type/foreign_key|table=AnimKit}} m_animKitID;
    uint32_t m_headEffect;
#endif
    uint32_t m_chestEffect;
  {{Template:Type/foreign_key|table=SpellVisualEffectName}} m_headEffect;       // attached to Head
    uint32_t m_baseEffect
  {{Template:Type/foreign_key|table=SpellVisualEffectName}} m_chestEffect;       // attached to Chest
    uint32_t m_leftHandEffect;
  {{Template:Type/foreign_key|table=SpellVisualEffectName}} m_baseEffect;        // attached to Base
    uint32_t m_rightHandEffect;
  {{Template:Type/foreign_key|table=SpellVisualEffectName}} m_leftHandEffect;   // attached to SpellLeftHand
    uint32_t m_breathEffect;
  {{Template:Type/foreign_key|table=SpellVisualEffectName}} m_rightHandEffect;   // attached to SpellRightHand
    uint32_t m_leftWeaponEffect;
  {{Template:Type/foreign_key|table=SpellVisualEffectName}} m_breathEffect;     // attached to Breath
    uint32_t m_rightWeaponEffect;
  {{Template:Type/foreign_key|table=SpellVisualEffectName}} m_leftWeaponEffect;
    uint32_t m_specialEffect[3];
  {{Template:Type/foreign_key|table=SpellVisualEffectName}} m_rightWeaponEffect;
    uint32_t m_worldEffect;
  {{Template:Type/foreign_key|table=SpellVisualEffectName}} m_specialEffect[3]; // attached to Special1…3
    uint32_t m_soundID;
  {{Template:Type/foreign_key|table=SpellVisualEffectName}} m_worldEffect;
    uint32_t m_shakeID;
  {{Template:Type/foreign_key|table=SoundEntries}} m_soundID;
    uint32_t m_charProc[4];
  {{Template:Type/foreign_key|table=SpellEffectCameraShakes}} m_shakeID;
    float m_charParamZero[4];
  uint32_t m_charProc[4];
    float m_charParamOne[4];
  float m_charParamZero[4];
    float m_charParamTwo[4];
  float m_charParamOne[4];
    float m_charParamThree[4];
  float m_charParamTwo[4];
    uint32_t m_flags;
  float m_charParamThree[4];
#if version > ?
  uint32_t m_flags;
#endif
  };
  };


 
==unknown version==
  '''Column Field Type Notes'''  
  '''Column   Field         Type     Notes'''  
  1 ID Integer
  1     m_ID        Integer  
  2 iRefID_[[AnimationData.dbc|AnimationData]] Integer Seems to be caster animation of some sort...
  2     [[AnimationData.dbc|m_startAnimID]]   Integer   Seems to be caster animation of some sort...
  3 iRefID_[[AnimationData.dbc|AnimationData]] Integer Caster animation.
  3     [[AnimationData.dbc|m_animID]]     Integer   Caster animation.
  4 iRefID_[[SpellVisualEffectName.dbc|SpellVisualEffectName]] Integer Visual effect over the head.
  4     [[SpellVisualEffectName.dbc|m_headEffect]] Integer   Visual effect over the head.
  5 iRefID_[[SpellVisualEffectName.dbc|SpellVisualEffectName]] Integer Visual effect at chest.
  5     [[SpellVisualEffectName.dbc|m_chestEffect]] Integer   Visual effect at chest.
  6 iRefID_[[SpellVisualEffectName.dbc|SpellVisualEffectName]] Integer Visual effect at the base/ground.
  6     [[SpellVisualEffectName.dbc|m_baseEffect]] Integer   Visual effect at the base/ground.
  7 iRefID_[[SpellVisualEffectName.dbc|SpellVisualEffectName]] Integer Visual effect at right hand.
  7     [[SpellVisualEffectName.dbc|m_leftHandEffect]]   Integer   Visual effect at right hand.
  8 iRefID_[[SpellVisualEffectName.dbc|SpellVisualEffectName]] Integer Visual effect at left hand.
  8     [[SpellVisualEffectName.dbc|m_rightHandEffect]]   Integer   Visual effect at left hand.
  9 iRefID_[[SpellVisualEffectName.dbc|SpellVisualEffectName]] Integer Visual effect of AOE spells/abilities.
  9     [[SpellVisualEffectName.dbc|m_breathEffect?]] Integer   Visual effect of AOE spells/abilities.
  10 Unknown Integer Unknown
  10     m_leftWeaponEffect?      Integer   Unknown
  11 Unknown Integer "  
  11     m_rightWeaponEffect?      Integer   "  
  12 Unknown Integer "
  12     m_specialEffect[3]?      Integer   "  
13 Unknown Integer "
  15     [[SpellVisualEffectName.dbc|m_worldEffect]] Integer   "  
14 Unknown Integer "  
  16     [[SoundEntries.dbc|m_soundID]]   Integer   Sound effect associated with the visual effects.
  15 iRefID_[[SpellVisualEffectName.dbc|SpellVisualEffectName]] Integer "  
  17     [[SpellEffectCameraShakes.dbc|m_shakeID]] Integer  
  16 iRefID_[[SoundEntries.dbc|SoundEntries]] Integer Sound effect associated with the visual effects.
  18     m_charProc    Integer[4]  Known value "17" reference to item_entry in column 26, example spell - 58493(mohawk grenade), point to item 43486 (Mohawk Mask)
  17 iRefID_[[SpellEffectCameraShakes.dbc|SpellEffectCameraShakes]] Integer
  22     m_charParamZero      Float[4]    Colormask converted from HEX to DECIMAL (can be used for caster or target color)
  18 SpecificReference Integer Known value "17" reference to item_entry in column 26, example spell - 58493(mohawk grenade), point to item 43486 (Mohawk Mask)
  26     m_charParamOne      Float[4]
19 Unknown Integer
  30     m_charParamTwo      Float[4]   
20 Unknown Integer
  34     m_charParamThree      Float[4]
21 Unknown Integer
  22 Unknown Float Colormask converted from HEX to DECIMAL (can be used for caster or target color)
23 Unknown Float "
24 Unknown Float "
25 Unknown Float* null
  26 Unknown Float "
27 Unknown Float "
28 Unknown Float "
29 Unknown Float* null
  30 Unknown Float "
31 Unknown Float "
32 Unknown Float "
33 Unknown Float* null
  34 Unknown Float "
35 Unknown Float " 
36 Unknown Float* " null
37 Unknown Float* " --> associated with [[SpellVisualEffectName.dbc]]?; null


[[Category:DBC]]
[[Category:DBC]]
[[Category:DBC_WotLK]]
[[Category:DBC_WotLK]]

Revision as of 20:42, 24 June 2016

This file is used to attach different spell effects from SpellVisualEffectName.dbc to certain points on the model. Each column corresponds to areas on a model such as hands, chest and base.

Besides the obvious effects for different attachments, there is "character procedures" (`m_characterProcedure`, `m_charProc[4]`) which have additional non-DB/SpellVisualEffectName effects, like equipping items or coloring the target.

0.5.3.3368

struct SpellVisualKitRec {
  uint32_t m_ID;
  uint32_t m_kitType;
  uint32_t m_anim;
  foreign_key<uint32_t, &SpellVisualEffectNameRec::m_ID> m_headEffect;
  foreign_key<uint32_t, &SpellVisualEffectNameRec::m_ID> m_chestEffect;
  foreign_key<uint32_t, &SpellVisualEffectNameRec::m_ID> m_baseEffect;
  foreign_key<uint32_t, &SpellVisualEffectNameRec::m_ID> m_leftHandEffect;
  foreign_key<uint32_t, &SpellVisualEffectNameRec::m_ID> m_rightHandEffect;
  foreign_key<uint32_t, &SpellVisualEffectNameRec::m_ID> m_breathEffect;
  foreign_key<uint32_t, &SpellVisualEffectNameRec::m_ID> m_specialEffect[3];
  uint32_t m_characterProcedure;
  float m_characterParam[4];
  foreign_key<uint32_t, &SoundEntriesRec::m_ID> m_soundID;
  foreign_key<uint32_t, &SpellEffectCameraShakesRec::m_ID> m_shakeID;
};

unknown version

struct SpellVisualKitRec {
  uint32_t m_ID;
  foreign_key<uint32_t, &AnimationDataRec::m_ID> m_startAnimID;
  foreign_key<uint32_t, &AnimationDataRec::m_ID> m_animID;
#if version > ?
  foreign_key<uint32_t, &AnimKitRec::m_ID> m_animKitID;
#endif
  foreign_key<uint32_t, &SpellVisualEffectNameRec::m_ID> m_headEffect;        // attached to Head
  foreign_key<uint32_t, &SpellVisualEffectNameRec::m_ID> m_chestEffect;       // attached to Chest
  foreign_key<uint32_t, &SpellVisualEffectNameRec::m_ID> m_baseEffect;        // attached to Base
  foreign_key<uint32_t, &SpellVisualEffectNameRec::m_ID> m_leftHandEffect;    // attached to SpellLeftHand
  foreign_key<uint32_t, &SpellVisualEffectNameRec::m_ID> m_rightHandEffect;   // attached to SpellRightHand
  foreign_key<uint32_t, &SpellVisualEffectNameRec::m_ID> m_breathEffect;      // attached to Breath
  foreign_key<uint32_t, &SpellVisualEffectNameRec::m_ID> m_leftWeaponEffect;
  foreign_key<uint32_t, &SpellVisualEffectNameRec::m_ID> m_rightWeaponEffect;
  foreign_key<uint32_t, &SpellVisualEffectNameRec::m_ID> m_specialEffect[3];  // attached to Special1…3
  foreign_key<uint32_t, &SpellVisualEffectNameRec::m_ID> m_worldEffect;
  foreign_key<uint32_t, &SoundEntriesRec::m_ID> m_soundID;
  foreign_key<uint32_t, &SpellEffectCameraShakesRec::m_ID> m_shakeID;
  uint32_t m_charProc[4];
  float m_charParamZero[4];
  float m_charParamOne[4];
  float m_charParamTwo[4];
  float m_charParamThree[4];
#if version > ?
  uint32_t m_flags;
#endif
};

unknown version

Column   Field         Type     Notes 
1     m_ID         Integer   
2     m_startAnimID    Integer   Seems to be caster animation of some sort...
3     m_animID     Integer   Caster animation.
4     m_headEffect  Integer   Visual effect over the head.
5     m_chestEffect  Integer   Visual effect at chest.
6     m_baseEffect  Integer   Visual effect at the base/ground.
7     m_leftHandEffect   Integer   Visual effect at right hand.
8     m_rightHandEffect   Integer   Visual effect at left hand.
9     m_breathEffect?  Integer   Visual effect of AOE spells/abilities.
10     m_leftWeaponEffect?       Integer   Unknown
11     m_rightWeaponEffect?       Integer   " 
12     m_specialEffect[3]?       Integer   " 
15     m_worldEffect  Integer   " 
16     m_soundID    Integer   Sound effect associated with the visual effects.
17     m_shakeID  Integer   
18     m_charProc    Integer[4]   Known value "17" reference to item_entry in column 26, example spell - 58493(mohawk grenade), point to item 43486 (Mohawk Mask)
22     m_charParamZero       Float[4]     Colormask converted from HEX to DECIMAL (can be used for caster or target color)
26     m_charParamOne       Float[4]
30     m_charParamTwo       Float[4]    
34     m_charParamThree       Float[4]