This is my First Tut so i will improve it over time.
Once you have your Patch with your new Races inplanted.
Open Player.h
Search: Enum Races
You should get something like
enum Races
{
RACE_HUMAN = 1,
RACE_ORC = 2,
RACE_DWARF = 3,
RACE_NIGHTELF = 4,
RACE_UNDEAD = 5,
RACE_TAUREN = 6,
RACE_GNOME = 7,
RACE_TROLL = 8,
RACE_BLOODELF = 10,
RACE_DRAENEI = 11,
};
Change to What ever race you have under the same ID
so High Elf under ID 20 = RACE_HIGHELF = 20
you should get something like this
enum Races
{
RACE_HUMAN = 1,
RACE_ORC = 2,
RACE_DWARF = 3,
RACE_NIGHTELF = 4,
RACE_UNDEAD = 5,
RACE_TAUREN = 6,
RACE_GNOME = 7,
RACE_TROLL = 8,
RACE_BLOODELF = 10,
RACE_DRAENEI = 11,
RACE_OGRO = 12,
RACE_NAGA_ = 13,
RACE_BROKEN = 14,
RACE_SKELETON = 9,
RACE_VRYKUL = 16,
RACE_TUSKARR = 17,
RACE_FORESTTROLL = 18,
RACE_HIGHELF = 20,
};
Once that is Done
Open Ojectmgr.cpp
and Search: // Search for a playercreateinfo.
You should see something like
// Search for a playercreateinfo.
for(uint32 Race = RACE_HUMAN; Race <= RACE_DRAENEI; ++Race)
Change The code to the last Race you added in the Previews file so it would be high elf for me.
// Search for a playercreateinfo.
for(uint32 Race = RACE_HUMAN; Race <= RACE_HIGHELF; ++Race)
I hope this helps.
I hope to making a Patching TUT soon