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: [TUTORIAL] Custom Titles  (Read 5623 times)

Eatos

  • Registred Member
  • LUA Script Tinker
  • *****
  • Posts: 46
    • View Profile
[TUTORIAL] Custom Titles
« on: September 13, 2011, 10:44:07 pm »
Here is one quick and easy tutorial how to edit dbc files.In this lesson you will learn how to make custom titles.Max time needed for this operation is 2-5 mins.Well sometimes more if you dont have inspiration for titles names.

What we will need to modify is CharTitles.dbc fpr arcemu core/Trinity or MaNGOS

Now some cores different handles titles it.In ascent based cores it is located in player.h and in Trinity and MaNGOS it is in player.h but for some cores you dont need to modify that .

We are going to use only Tallis for this edit.

Lets start by opening CharTitles.dbc in Tallis
You should see something like this


Now lets define some things.
in field one is id of title
field 2 - Unknow pointing somewhere serverside
field 3-36 Title name
Here will stop a little.
If you want to have title name like Eatos the invincible i mean name then title you should write this
%s the name of title,
If you want to have title name like Keeper of the Night Dreams, Eatos
you should write here
the name of title %s.
field 37 is drop by name id.
When you press on your characters to see what titles do you have.
You can write here next number after the last blizzlike title id

No in Taliis editing is a bit different and what we are going first to do is to press right click then clone selected raw?
And you will have 2 same titles with same id 177 Wrathful Gladiator.....
Now change the new created raw first column to 178 and last column to 143 like this



Now go into strings column and add your title name.. like this then press on green square + and remember id of your title name..


Now back to table 2 where we are going to edit our title name
Go to 3rd column and change number of your title name in my case 2491.And to the same procedure for column 19.



Now save that on desktop as CharTitles.dbc and then open Ladik MPQ press on new archive, name it as patch-4.MPQ or any other number
then press on new folder
name it as DBFilesClient and put your newest created CharTitles.dbc in it.Also Copy CharTitles.dbc into your server dbc folder.

Now go to core and open player.h
Scroll down until you find Titles then do this like me


For MaNGOS and Trinity this is done through bit values so you will need to use math and you will need to do math for all titles then your last one like 2^178-1.

Lets now edit the core for this title open player.h and look for titles.
Write here like this

Compile core and you are done.
« Last Edit: January 19, 2012, 02:43:05 am by Admin »

Ascathos

  • Moderators
  • Creator of Worlds
  • *****
  • Posts: 1129
    • View Profile
Re: [TUTORIAL] Custom Titles
« Reply #1 on: August 27, 2012, 04:45:17 pm »
There seems to be a clientside maximum of around 200 or so that prevents anymore titles to be added. TrinityCore does not seem to require any additional changes to the core (doubt that ArcEmu requires any further).
« Last Edit: January 01, 1970, 01:00:00 am by Admin »