Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Miscellaneous => Topic started by: Petisoo on June 10, 2015, 12:15:02 am

Title: [SOLVED] I need to know how to create an aura
Post by: Petisoo on June 10, 2015, 12:15:02 am
Hi,

I've created worgen for Lich King, but I want to use them with a command like .aura 9000.

How can I do this?


Sorry for my english.
Title: Re: [HELP] I need to know how to create an aura
Post by: Amaroth on June 10, 2015, 10:03:22 am
http://www.wowhead.com/spell=16421 (http://www.wowhead.com/spell=16421" onclick="window.open(this.href);return false;)
http://www.wowhead.com/spell=2645 (http://www.wowhead.com/spell=2645" onclick="window.open(this.href);return false;)

Use one of these 2 spells. Just create a copy and modify it. 16421 morphs you to displayID of given NPC (careful, use entry, not displayID to choose that NPC), 2645 is shapeshift spell (check SpellShapeshiftForm.dbc, which is being used by this kind of spells). Just btw, shapehifting has some restrictions, like you can't use spells and abilities with certain flag, so its more likely that you will want to use 16421.
Title: Re: [HELP] I need to know how to create an aura
Post by: Petisoo on June 10, 2015, 09:19:06 pm
Well, my problem is that my worgens aren't npcs, I have them in the dbs and I can use them by .morph 40029 and .morph 40030. I need a command like .aura 1000 to turn into male and .aura 1001 into female, for example.

I don't understand Spell.dbc, I've tried but...
Title: Re: [HELP] I need to know how to create an aura
Post by: Makpptfox on June 10, 2015, 09:33:50 pm
You just need to copy a spell like Amaroth told you.

To create a custom morph spell from an existing one (wich is used with the command .aura) you have to copy the spell with a new ID and just look to found out what is the actual NPC that the spell is using.

For http://www.wowhead.com/spell=16421 (http://www.wowhead.com/spell=16421" onclick="window.open(this.href);return false;) for this exemple (it's the better one, if you just want a form and not a buffed one),

You're duplicating the spell (16421) to 50000.

In the line you have to found 10538, it's the NPC used for the dragon form to appear.

Then you have to create your Worgen NPC (in exemple, 35000 is male 35001 is female)

When it's done, just change the "10538" of your spell "50000" to "35000" and rename the spell "Male Worgen form".

Just duplicate the spell once more to 50001 in this exemple and change "35000" to "35001" and the name to "Female Worgen form".

It's that easy.

Have fun.
Title: Re: [HELP] I need to know how to create an aura
Post by: Petisoo on June 10, 2015, 09:49:51 pm
Oh I see, nevermind. Thank you both, I really appreciate your help.

/close
Title: Re: [HELP] I need to know how to create an aura
Post by: Amaroth on June 11, 2015, 10:15:33 am
OK, is it solved? Mark thread so if it is. No problem. Just don't get scared of things because you never did them. I was pretty much scared of spell.dbc too, but when you need just to change one number, even this monster is easy.