1
Miscellaneous / [HELP] Custom talent tree
« on: January 20, 2015, 09:22:00 pm »
Hello, I'm trying to make a new talent tree for all classes but when I open the talent panel, everything is all bunched together, even the tabs that I didn't edit. The glyph tab also seems to be missing now.
The tree I added is supposed to be for all classes (haven't added any skills yet, just trying to get the tab to work first)
Here is what i changed:
In SharedDefines.h: under enum SkillType I added SKILL_ARMOR = 800
then I changed: #define MAX_SKILL_TYPE 789 to #define MAX_SKILL_TYPE 801
and in DBC files:
SkillLine.dbc: 800,7,0x0,"Armor",,,,,,,,,,,,,,,,0xFF01FE,"",,,,,,,,,,,,,,,,0xFF01FC,4541,"",,,,,,,,,,,,,,,,0xFF01EC,0,
I copied the warriors arms skill and changed it
SkillRaceClassInfo.dbc: 1002,800,-1,1,0x5FF,0x0,0,0x0,
All classes "0x5FF"
TalentTab.dbc: 401,"Armor",,,,,,,,,,,,,,,,0xFF01FE,4541,2097151,1535,0x0,3,"ClassArmor",
I have all races and custom races able to use this "2097151" and all classes "1535" then the "3" is the 4th talent tab
and in the lua TalentFrameBase.lua
I changed: MAX_TALENT_TABS = 3; to MAX_TALENT_TABS = 4;
I also tried changing the rest to higher numbers:
MAX_TALENT_GROUPS = 2;
MAX_TALENT_TABS = 4;
MAX_NUM_TALENT_TIERS = 15;
NUM_TALENT_COLUMNS = 4;
MAX_NUM_TALENTS = 40;
PLAYER_TALENTS_PER_TIER = 5;
PET_TALENTS_PER_TIER = 3;
If anyone can help it would be appreciated, thanks.
3.3.5:12340
TrinityCore
The tree I added is supposed to be for all classes (haven't added any skills yet, just trying to get the tab to work first)
Here is what i changed:
In SharedDefines.h: under enum SkillType I added SKILL_ARMOR = 800
then I changed: #define MAX_SKILL_TYPE 789 to #define MAX_SKILL_TYPE 801
and in DBC files:
SkillLine.dbc: 800,7,0x0,"Armor",,,,,,,,,,,,,,,,0xFF01FE,"",,,,,,,,,,,,,,,,0xFF01FC,4541,"",,,,,,,,,,,,,,,,0xFF01EC,0,
I copied the warriors arms skill and changed it
SkillRaceClassInfo.dbc: 1002,800,-1,1,0x5FF,0x0,0,0x0,
All classes "0x5FF"
TalentTab.dbc: 401,"Armor",,,,,,,,,,,,,,,,0xFF01FE,4541,2097151,1535,0x0,3,"ClassArmor",
I have all races and custom races able to use this "2097151" and all classes "1535" then the "3" is the 4th talent tab
and in the lua TalentFrameBase.lua
I changed: MAX_TALENT_TABS = 3; to MAX_TALENT_TABS = 4;
I also tried changing the rest to higher numbers:
MAX_TALENT_GROUPS = 2;
MAX_TALENT_TABS = 4;
MAX_NUM_TALENT_TIERS = 15;
NUM_TALENT_COLUMNS = 4;
MAX_NUM_TALENTS = 40;
PLAYER_TALENTS_PER_TIER = 5;
PET_TALENTS_PER_TIER = 3;
If anyone can help it would be appreciated, thanks.
3.3.5:12340
TrinityCore