Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Create New Default Emotes

Dragonica Developer
[VIP] Member
Joined
Oct 17, 2016
Messages
15
Reaction score
14
First you will need to create a .gif emote that is in the 25x25 limit ( most emotes are around 21x21 however)

The emote can be static (non-animated) but you should still save it as a .gif

For this example I will use an adept logo emoji that i put in 21x21 canvas on photoshop

You can find the dragonica emotes in this folder path \Data\6_UI\01_main\

However you can later move the path to where emotes are stored my custom path is \Data\6_UI\emotes\
1683063230734 - Create New Default Emotes - RaGEZONE Forums

To keep things simple you can use this naming scheme Emo_ followed by the #number you will type in chat to use the emote.

Each page/group of emotes has 24 slots
The default group already uses up 12 slots, so you are left with 12 more (13~24)

Once you have made your .gif and put it with the rest of the emotes move onto the xml folder
We are looking for \XML\EmoticonFont.xml
1683063248052 - Create New Default Emotes - RaGEZONE Forums

We want to add a new line here with a new ID (just add 1 to the last ID) and input our path to our new emote gif here is where you can change the path / folder to all the current emotes.

Now you have created a pair (Save your file)
ID 33 = Emo_13.gif this is important to remember.
We will grab the next xml file
\XML\FontSwitchTable.xml

This file can be daunting, it handles a lot of the emote stuff in-game including achievement animations above the players head, and system gifs ect.
For now we just want to find the line
1683063265287 - Create New Default Emotes - RaGEZONE Forums

That has KEY=”12” TRANS_KEY=”32” (your numbers may be different it doesn’t matter.
What this means is that when you type key 12 (#12) into chat then the emote attached to ID 32 is displayed. ID 32 if we look back at the previous xml is linked to Emo_12.gif

So we simply add our new emote here like in the image above.
Save this xml and you are done with editing client files.

Now we must move onto the database.


Open up DR2_Def we want to find the table TB_DefEmotion
Now you can easily get confused here too as this table supports data for chat emotes, balloon emotes and even character emotes like waltz dance

To simplify what we are seeing let us filter the table to display only the default chat emotes
To do this we filter Group = 0 and Type = 0
1683063282728 - Create New Default Emotes - RaGEZONE Forums

What you see here is all of the 12 default emotes
To add our new emote now all we have to do is remember what number we used in FontSwitchTable as the KEY value (13) in this case.

Now you are done. Simply restart your server and take tb.bin and tb2.bin to your client
And you now have a new default emote #13 in your server.

1683063295496 - Create New Default Emotes - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Back
Top