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
-
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
-
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.
-
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?
-
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.
-
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?
-
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.