Forum > Tutorials
[TUTORIAL] How To Create a New Class
(1/2) > >>
detonatorss:
Part 1
InterfaceFrameXMLConstants.lua
SEARCH:
["DEATHKNIGHT"] = { r = 0.77, g = 0.12 , b = 0.23 },
REPLACE:
["DEATHKNIGHT"] = { r = 0.77, g = 0.12 , b = 0.23 }, ["CUSTOM"] = { r = 0.0, g = 0.45, b = 0.45 },
*****************************************************
SEARCH:
CLASS_SORT_ORDER = { "WARRIOR", "DEATHKNIGHT", "PALADIN", "PRIEST", "SHAMAN", "DRUID", "ROGUE", "MAGE", "WARLOCK", "HUNTER",
};
REPLACE:
CLASS_SORT_ORDER = { "WARRIOR", "DEATHKNIGHT", "PALADIN", "PRIEST", "SHAMAN", "DRUID", "ROGUE", "MAGE", "WARLOCK", "HUNTER", "CUSTOM", };
*****************************************************
Search:
CLASS_ICON_TCOORDS = { ["WARRIOR"] = {0, 0.25, 0, 0.25}, ["MAGE"] = {0.25, 0.49609375, 0, 0.25}, ["ROGUE"] = {0.49609375, 0.7421875, 0, 0.25}, ["DRUID"] = {0.7421875, 0.98828125, 0, 0.25}, ["HUNTER"] = {0, 0.25, 0.25, 0.5}, ["SHAMAN"] = {0.25, 0.49609375, 0.25, 0.5}, ["PRIEST"] = {0.49609375, 0.7421875, 0.25, 0.5}, ["WARLOCK"] = {0.7421875, 0.98828125, 0.25, 0.5}, ["PALADIN"] = {0, 0.25, 0.5, 0.75}, ["DEATHKNIGHT"] = {0.25, .5, 0.5, .75},
};
Part 2
ChrClasses.dbc
LACK OF SPELL FAMILY
struct ChrClassesEntry { uint32 ClassID; // 0 // 1, unused uint32 powerType; // 2 // 3-4, unused //char* name[16]; // 5-20 unused // 21 string flag, unused //char* nameFemale[16]; // 21-36 unused, if different from base (male) case // 37 string flag, unused //char* nameNeutralGender[16]; // 38-53 unused, if different from base (male) case // 54 string flag, unused // 55, unused uint32 spellfamily; // 56 // 57, unused uint32 CinematicSequence; // 58 id from CinematicSequences.dbc uint32 expansion; // 59 (0 - original race, 1 - tbc addon, ...) };
glararan:
This tutorial is not completed...u havent posts for Emulator edits. Example for TrinityCore2 you need add to database stats...you dont posts any copy stats...so first error for new users.
detonatorss:
it's the same as custom races if you know how to create custom races is the same but a little bit diferent in dbc -.-
Supora:
also you need to change som lines of code in core like with adding a new race
detonatorss:
{ CLASS_NONE = 0, CLASS_WARRIOR = 1, CLASS_PALADIN = 2, CLASS_HUNTER = 3, CLASS_ROGUE = 4, CLASS_PRIEST = 5, CLASS_DEATH_KNIGHT = 6, CLASS_SHAMAN = 7, CLASS_MAGE = 8, CLASS_WARLOCK = 9, //CLASS_UNK = 10, CLASS_DRUID = 11, CLASS_CUSTOM = 12, };
Navigation
[0] Message Index
[#] Next page
|