Forum > Miscellaneous

[HELP] Custom talent tree

(1/2) > >>

nicepants:
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

noc:
In Blizzard_TalentUI.lua :

Change
--- Code: --- GLYPH_TALENT_TAB = 4;
--- End code ---
to
--- Code: ---GLYPH_TALENT_TAB = 5;
--- End code ---
For ->local specs add
--- Code: --- ["spec4"] = {
name = TALENT_SPEC_SECONDARY,
talentGroup = 2,
unit = "player",
pet = false,
tooltip = TALENT_SPEC_SECONDARY,
portraitUnit = "player",
defaultSpecTexture = "Interface\Icons\Ability_Marksmanship",
hasGlyphs = false,
glyphName = TALENT_SPEC_SECONDARY_GLYPH,
}
--- End code ---
For ->local talentSpecInfoCache add
--- Code: --- ["spec4"] = { }
--- End code ---
Change in Blizzard_TalentUI.xml too.

nicepants:
I changed and added what you said but it seems to be worse now, the tabs are gone




The "spec4" parts look like its for the dual specializations so I dont know if that has anything to do with it

Also added this in Blizzard_TalentUI.xml, I dont know what you meant by change in there too

<Button name="PlayerTalentFrameTab6" inherits="TalentTabTemplate" id="6">
   <Anchors>
      <Anchor point="LEFT" relativeTo="PlayerTalentFrameTab5" relativePoint="RIGHT">
         <Offset>
            <AbsDimension x="-15" y="0"/>
         </Offset>
      </Anchor>
   </Anchors>
</Button>

Here are the lua and xml files from when I first changed things if anyone wants to take a look at them

http://pastebin.com/WaY3n7vy - TalentFrameBase.lua
http://pastebin.com/C5BFUCMZ - Blizzard_TalentUI.lua
http://pastebin.com/u0VBL3E7 - Blizzard_TalentUI.xml

(The first picture I had an addon that skins frames so thats why it looks a bit weird, I took it off now)

coronelo:
I hope Arrive time .
Up Where I was , to customize the talent trees simply change talent.dbc dbc tables tablatalent.dbc at least I worked me correctly.
try restarting everything and put the changes only in these dbc not touch the core nor the lua & xml .

sorry for my English .

soublast1337:
Has anyone found the issue for this? I would much like to know as well!

Navigation

[0] Message Index

[#] Next page

Go to full version