Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Miscellaneous => Topic started by: Gurluas on June 14, 2013, 06:08:41 am

Title: New Slash Commands
Post by: Gurluas on June 14, 2013, 06:08:41 am
Hi, I have added a new emote to the game, but I can't get the client to recognize it. I've added it under the emote tokens in chatframe.lua but it didn't help. Where are slash commands stored and how do I add a new one?

The command I want to add is /balldance /devour and /cspecial1
Title: Re: New Slash Commands
Post by: stoneharry on June 14, 2013, 01:56:24 pm
I would just do it the same way as you would in an addon but as a new FrameXML addition.

I don't think you would be able to do a ball room dance very easy for example, because an emote token for that animation does not exist.
Title: Re: New Slash Commands
Post by: Gurluas on June 14, 2013, 06:20:51 pm
Which lua or xml contains the slash commands?
I can't find it.

As for the emote, I added a token into charframe.lua and I added the emote in the dbc linking it to the animation.
But ingame when I use /balldance it just tells me no such command exists.

EDIT: Adding the new emote token prevents the game from starting, it claims FrameXML is corrupt.
Any ideas on how to fix it?, are the emote tokens linked to something?
Title: Re: New Slash Commands
Post by: stoneharry on June 14, 2013, 07:28:42 pm
You need to modify the wow binary (executable)  to allow framexml or gluexml edits. There is a tool for this in the tools and resources section.

Posted from phone.
Title: Re: New Slash Commands
Post by: Gurluas on June 16, 2013, 08:15:55 am
Quote from: "stoneharry"
You need to modify the wow binary (executable)  to allow framexml or gluexml edits. There is a tool for this in the tools and resources section.

Posted from phone.

Thanks, but the emotes are still not working.
Where are slash commands stored?
Title: Re: New Slash Commands
Post by: stoneharry on June 19, 2013, 02:56:40 am
Quote from: "Gurluas"
Quote from: "stoneharry"
You need to modify the wow binary (executable)  to allow framexml or gluexml edits. There is a tool for this in the tools and resources section.

Posted from phone.

Thanks, but the emotes are still not working.
Where are slash commands stored?

No idea. I would assume the FrameXML somewhere, but it might be a binary implementation.