This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: New Slash Commands  (Read 1327 times)

Gurluas

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 344
    • View Profile
New Slash Commands
« 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
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

stoneharry

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 617
    • View Profile
Re: New Slash Commands
« Reply #1 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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Gurluas

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 344
    • View Profile
Re: New Slash Commands
« Reply #2 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?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

stoneharry

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 617
    • View Profile
Re: New Slash Commands
« Reply #3 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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Gurluas

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 344
    • View Profile
Re: New Slash Commands
« Reply #4 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?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

stoneharry

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 617
    • View Profile
Re: New Slash Commands
« Reply #5 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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »