Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Serverside Modding => Topic started by: Big Bad Bot on April 17, 2014, 05:06:02 am

Title: [Question]How I can change the model of this specific spell?
Post by: Big Bad Bot on April 17, 2014, 05:06:02 am
Hello everyone and excuse me for my poor English. This will be my first post here and I need this information to share my first clientside or serverside patch (I have the clientside right here anyways).

I use as a base the spell with the ID 69188 who puts a goblin jetpack to your character's back to do this. I have the intention to make identical spells but with other models to summon in the character's back, like backpacks or wings. I try to make a swamp with the jetpack and my custom model and everything works good, but now I try to make new spells like this.

*At first, I go to the Spell.DBC
*Jump to the line 69188 (the spell ID)
*Go to the column 132.
*Copy the number (14479)
*Go to SpellVisual.DBC
*Go to the line 14479

And then, I get stuck. So I try to make the same process backwards:

*I go to the SpellVisualEffectName.DBC
*I look for the only one who have the archive spellsjetpack.mdx. I found it in the line 6127.
*I go to the spellVisualKitModelAttach.DBC
*I find in the Column 3 the ID 6127 in the line 1321

And I get lost again. So, I have the first and second link, and two of the last ones.

 Can anyone help me to find the other links?

Aditional data: I'm using MyDBCeditor By Smartwork.
Title: Re: [Question]How I can change the model of this specific sp
Post by: Hederick on May 27, 2014, 07:41:04 pm
Well, after going to the line 14479 in Spellvisual.dbc u are gonna see in the 4th column (if u don't have column 0 it would be 5th column) the m_stateKit (13353).

The m_stateKit is the visual effect that shows the spell where it remains in the target, in this case, the jetpack.

So, grab the m_stateKit number (13353) and go to SpellVisualKitModelAttach.dbc, search for the id in the 1st column (2nd if u don't have column 0).

There u are gonna find, the m_Statekit of your Spellvisual and the SpellVisualEffectName of the jetpack.

ID: 1321
m_parentSpellVisualKitID: 13353
m_spellVisualEffectNameID: 6127

Sorry if my english is somewhat confusing and for answering this late.