DB/SpellVisualKit: Difference between revisions
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; | ||
{{Template:Type/foreign_key|table=SpellVisualEffectName}} m_headEffect; | |||
{{Template:Type/foreign_key|table=SpellVisualEffectName}} m_chestEffect; | |||
{{Template:Type/foreign_key|table=SpellVisualEffectName}} m_baseEffect; | |||
{{Template:Type/foreign_key|table=SpellVisualEffectName}} m_leftHandEffect; | |||
{{Template:Type/foreign_key|table=SpellVisualEffectName}} m_rightHandEffect; | |||
{{Template:Type/foreign_key|table=SpellVisualEffectName}} m_breathEffect; | |||
{{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]; | ||
{{Template:Type/foreign_key|table=SoundEntries}} m_soundID; | |||
{{Template:Type/foreign_key|table=SpellEffectCameraShakes}} m_shakeID; | |||
}; | }; | ||
== | ==unknown version== | ||
struct | struct SpellVisualKitRec { | ||
uint32_t m_ID; | |||
{{Template:Type/foreign_key|table=AnimationData}} m_startAnimID; | |||
{{Template:Type/foreign_key|table=AnimationData}} m_animID; | |||
#if version > ? | |||
{{Template:Type/foreign_key|table=AnimKit}} m_animKitID; | |||
#endif | |||
{{Template:Type/foreign_key|table=SpellVisualEffectName}} m_headEffect; // attached to Head | |||
{{Template:Type/foreign_key|table=SpellVisualEffectName}} m_chestEffect; // attached to Chest | |||
{{Template:Type/foreign_key|table=SpellVisualEffectName}} m_baseEffect; // attached to Base | |||
{{Template:Type/foreign_key|table=SpellVisualEffectName}} m_leftHandEffect; // attached to SpellLeftHand | |||
{{Template:Type/foreign_key|table=SpellVisualEffectName}} m_rightHandEffect; // attached to SpellRightHand | |||
{{Template:Type/foreign_key|table=SpellVisualEffectName}} m_breathEffect; // attached to Breath | |||
{{Template:Type/foreign_key|table=SpellVisualEffectName}} m_leftWeaponEffect; | |||
{{Template:Type/foreign_key|table=SpellVisualEffectName}} m_rightWeaponEffect; | |||
{{Template:Type/foreign_key|table=SpellVisualEffectName}} m_specialEffect[3]; // attached to Special1…3 | |||
{{Template:Type/foreign_key|table=SpellVisualEffectName}} m_worldEffect; | |||
{{Template:Type/foreign_key|table=SoundEntries}} m_soundID; | |||
{{Template:Type/foreign_key|table=SpellEffectCameraShakes}} 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 | '''Column Field Type Notes''' | ||
1 | 1 m_ID Integer | ||
2 | 2 [[AnimationData.dbc|m_startAnimID]] Integer Seems to be caster animation of some sort... | ||
3 | 3 [[AnimationData.dbc|m_animID]] Integer Caster animation. | ||
4 | 4 [[SpellVisualEffectName.dbc|m_headEffect]] Integer Visual effect over the head. | ||
5 | 5 [[SpellVisualEffectName.dbc|m_chestEffect]] Integer Visual effect at chest. | ||
6 | 6 [[SpellVisualEffectName.dbc|m_baseEffect]] Integer Visual effect at the base/ground. | ||
7 | 7 [[SpellVisualEffectName.dbc|m_leftHandEffect]] Integer Visual effect at right hand. | ||
8 | 8 [[SpellVisualEffectName.dbc|m_rightHandEffect]] Integer Visual effect at left hand. | ||
9 | 9 [[SpellVisualEffectName.dbc|m_breathEffect?]] Integer Visual effect of AOE spells/abilities. | ||
10 | 10 m_leftWeaponEffect? Integer Unknown | ||
11 | 11 m_rightWeaponEffect? Integer " | ||
12 | 12 m_specialEffect[3]? Integer " | ||
15 [[SpellVisualEffectName.dbc|m_worldEffect]] Integer " | |||
16 [[SoundEntries.dbc|m_soundID]] Integer Sound effect associated with the visual effects. | |||
15 | 17 [[SpellEffectCameraShakes.dbc|m_shakeID]] Integer | ||
16 | 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 | 22 m_charParamZero Float[4] Colormask converted from HEX to DECIMAL (can be used for caster or target color) | ||
18 | 26 m_charParamOne Float[4] | ||
30 m_charParamTwo Float[4] | |||
34 m_charParamThree Float[4] | |||
22 | |||
26 | |||
30 | |||
34 | |||
[[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]