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: [QUESTION] Custom Talent Tabs  (Read 2460 times)

deep6ixed

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 189
    • View Profile
[QUESTION] Custom Talent Tabs
« on: March 02, 2013, 05:11:04 pm »
Does anyone here have a good link to a guide or tutorial on making custom talent tabs.  I want to be able to add a fourth tree shared between all the classes.  I edited the talenttab.dbc adding a tab in position 3 that is set to all races and classes.

I also edited the talentframe.lua to allow 4 max tabs.

When I go in game, it shows four tabs but they are all blank.  

Can someone at least point me in the right direction

I'll attach my patch i made and see if someone can help.
Note: I cant upload my patch so ill link it on google drive...

Okay, dumb question?  How do I link to a file when I can't attach it or nor link to it?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

detonatorss

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 233
    • View Profile
Re: [QUESTION] Custom Talent Tabs
« Reply #1 on: March 02, 2013, 05:20:53 pm »
it's  a simple blp, but i dont know which blp is XD
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Desktop


Laptop

deep6ixed

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 189
    • View Profile
Re: [QUESTION] Custom Talent Tabs
« Reply #2 on: March 02, 2013, 05:26:37 pm »
I copied the death knight blood blp, then changed the name of all four of the BLP files to match my entry, then added them in my MPQ in the interface/talentframe folder.  Google has been my friend but I still can't find any real info on this.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Hamar

  • Registred Member
  • MWCS Enthusiast
  • *****
  • Posts: 2
    • View Profile
Re: [QUESTION] Custom Talent Tabs
« Reply #3 on: March 07, 2013, 08:53:47 am »
You mean blank grey background or background without any talent icons?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

deep6ixed

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 189
    • View Profile
Re: [QUESTION] Custom Talent Tabs
« Reply #4 on: March 07, 2013, 01:39:52 pm »
Heres a pic

« Last Edit: January 01, 1970, 01:00:00 am by Admin »

stoneharry

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 617
    • View Profile
Re: [QUESTION] Custom Talent Tabs
« Reply #5 on: March 07, 2013, 07:27:53 pm »
There is more code changes required than simply changing the max tabs variable. Look at where else that variable is used in the file. There are addon changes required and, maybe, some frameXML changes. I cannot remember off the top of my head, but it took a while for me to reduce it down to 1 tab properly.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

deep6ixed

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 189
    • View Profile
Re: [QUESTION] Custom Talent Tabs
« Reply #6 on: March 08, 2013, 08:09:27 am »
Thanks for the help StoneHarry, I've found the addons for talent frame and saw where the Glyph tab would cause an issue and fixed that but I'm still getting the same effect ingame.  

Looks like I'll keep digging until I find something.  It has to be able to be done.  It's just me looking in the right spots.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

XxXGenesisXxX

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 204
    • View Profile
Re: [QUESTION] Custom Talent Tabs
« Reply #7 on: March 08, 2013, 03:57:29 pm »
That picture error happens because you either have too many or too few talents compared to buttons, you have to add the buttons to the XML file as well. You have to do it for every additional individual talent, you also have to add the arrows as well, and something else, it all looks the same and is all in the same xml file. It's pretty much a copy->paste->change number->repeat process.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

deep6ixed

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 189
    • View Profile
Re: [QUESTION] Custom Talent Tabs
« Reply #8 on: March 08, 2013, 05:03:01 pm »
Talentframe.xml?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

XxXGenesisXxX

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 204
    • View Profile
Re: [QUESTION] Custom Talent Tabs
« Reply #9 on: March 08, 2013, 05:18:51 pm »
Think so, haven't got mine extracted atm.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

deep6ixed

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 189
    • View Profile
Re: [QUESTION] Custom Talent Tabs
« Reply #10 on: March 10, 2013, 04:45:58 am »
Okay, so I havent been able to find the XML file that I need to edit.  Or more likely, I've found it and just looked right over it.  I'll keep digging...
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

deep6ixed

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 189
    • View Profile
Re: [QUESTION] Custom Talent Tabs
« Reply #11 on: March 22, 2013, 09:43:32 pm »
Okay, I looked at all the LUA and XML for the talent tabs and I'm lost.  It looks in the .lua files that the talent arrows and tiers are generated automatically from the DBC files.  

Next I'm going to swap out an entire talent tab instead of trying to add in a new one and see what happens.

If that works then I have an idea where to look.

If I figure this out, ill be sure to update this or post a tut on how to do it.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

XxXGenesisXxX

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 204
    • View Profile
Re: [QUESTION] Custom Talent Tabs
« Reply #12 on: March 22, 2013, 11:32:33 pm »
It is not generated automatically. The file is Blizzard_TalentUI in the Addonds folder.

Code: [Select]
<Frame name="PlayerTalentFrameScrollChildFrame">
<Size>
<AbsDimension x="320" y="50"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="PlayerTalentFrameBranch1" inherits="TalentBranchTemplate"/>
<Texture name="PlayerTalentFrameBranch2" inherits="TalentBranchTemplate"/>
<Texture name="PlayerTalentFrameBranch3" inherits="TalentBranchTemplate"/>
<Texture name="PlayerTalentFrameBranch4" inherits="TalentBranchTemplate"/>
<Texture name="PlayerTalentFrameBranch5" inherits="TalentBranchTemplate"/>
<Texture name="PlayerTalentFrameBranch6" inherits="TalentBranchTemplate"/>
<Texture name="PlayerTalentFrameBranch7" inherits="TalentBranchTemplate"/>
<Texture name="PlayerTalentFrameBranch8" inherits="TalentBranchTemplate"/>
<Texture name="PlayerTalentFrameBranch9" inherits="TalentBranchTemplate"/>
<Texture name="PlayerTalentFrameBranch10" inherits="TalentBranchTemplate"/>
<Texture name="PlayerTalentFrameBranch11" inherits="TalentBranchTemplate"/>
<Texture name="PlayerTalentFrameBranch12" inherits="TalentBranchTemplate"/>
<Texture name="PlayerTalentFrameBranch13" inherits="TalentBranchTemplate"/>
<Texture name="PlayerTalentFrameBranch14" inherits="TalentBranchTemplate"/>
<Texture name="PlayerTalentFrameBranch15" inherits="TalentBranchTemplate"/>
<Texture name="PlayerTalentFrameBranch16" inherits="TalentBranchTemplate"/>
<Texture name="PlayerTalentFrameBranch17" inherits="TalentBranchTemplate"/>
<Texture name="PlayerTalentFrameBranch18" inherits="TalentBranchTemplate"/>
<Texture name="PlayerTalentFrameBranch19" inherits="TalentBranchTemplate"/>
<Texture name="PlayerTalentFrameBranch20" inherits="TalentBranchTemplate"/>
<Texture name="PlayerTalentFrameBranch21" inherits="TalentBranchTemplate"/>
<Texture name="PlayerTalentFrameBranch22" inherits="TalentBranchTemplate"/>
<Texture name="PlayerTalentFrameBranch23" inherits="TalentBranchTemplate"/>
<Texture name="PlayerTalentFrameBranch24" inherits="TalentBranchTemplate"/>
<Texture name="PlayerTalentFrameBranch25" inherits="TalentBranchTemplate"/>
<Texture name="PlayerTalentFrameBranch26" inherits="TalentBranchTemplate"/>
<Texture name="PlayerTalentFrameBranch27" inherits="TalentBranchTemplate"/>
<Texture name="PlayerTalentFrameBranch28" inherits="TalentBranchTemplate"/>
<Texture name="PlayerTalentFrameBranch29" inherits="TalentBranchTemplate"/>
<Texture name="PlayerTalentFrameBranch30" inherits="TalentBranchTemplate"/>
</Layer>
</Layers>
<Frames>
<Button name="PlayerTalentFrameTalent1" inherits="TalentButtonTemplate" id="1"/>
<Button name="PlayerTalentFrameTalent2" inherits="TalentButtonTemplate" id="2"/>
<Button name="PlayerTalentFrameTalent3" inherits="TalentButtonTemplate" id="3"/>
<Button name="PlayerTalentFrameTalent4" inherits="TalentButtonTemplate" id="4"/>
<Button name="PlayerTalentFrameTalent5" inherits="TalentButtonTemplate" id="5"/>
<Button name="PlayerTalentFrameTalent6" inherits="TalentButtonTemplate" id="6"/>
<Button name="PlayerTalentFrameTalent7" inherits="TalentButtonTemplate" id="7"/>
<Button name="PlayerTalentFrameTalent8" inherits="TalentButtonTemplate" id="8"/>
<Button name="PlayerTalentFrameTalent9" inherits="TalentButtonTemplate" id="9"/>
<Button name="PlayerTalentFrameTalent10" inherits="TalentButtonTemplate" id="10"/>
<Button name="PlayerTalentFrameTalent11" inherits="TalentButtonTemplate" id="11"/>
<Button name="PlayerTalentFrameTalent12" inherits="TalentButtonTemplate" id="12"/>
<Button name="PlayerTalentFrameTalent13" inherits="TalentButtonTemplate" id="13"/>
<Button name="PlayerTalentFrameTalent14" inherits="TalentButtonTemplate" id="14"/>
<Button name="PlayerTalentFrameTalent15" inherits="TalentButtonTemplate" id="15"/>
<Button name="PlayerTalentFrameTalent16" inherits="TalentButtonTemplate" id="16"/>
<Button name="PlayerTalentFrameTalent17" inherits="TalentButtonTemplate" id="17"/>
<Button name="PlayerTalentFrameTalent18" inherits="TalentButtonTemplate" id="18"/>
<Button name="PlayerTalentFrameTalent19" inherits="TalentButtonTemplate" id="19"/>
<Button name="PlayerTalentFrameTalent20" inherits="TalentButtonTemplate" id="20"/>
<Button name="PlayerTalentFrameTalent21" inherits="TalentButtonTemplate" id="21"/>
<Button name="PlayerTalentFrameTalent22" inherits="TalentButtonTemplate" id="22"/>
<Button name="PlayerTalentFrameTalent23" inherits="TalentButtonTemplate" id="23"/>
<Button name="PlayerTalentFrameTalent24" inherits="TalentButtonTemplate" id="24"/>
<Button name="PlayerTalentFrameTalent25" inherits="TalentButtonTemplate" id="25"/>
<Button name="PlayerTalentFrameTalent26" inherits="TalentButtonTemplate" id="26"/>
<Button name="PlayerTalentFrameTalent27" inherits="TalentButtonTemplate" id="27"/>
<Button name="PlayerTalentFrameTalent28" inherits="TalentButtonTemplate" id="28"/>
<Button name="PlayerTalentFrameTalent29" inherits="TalentButtonTemplate" id="29"/>
<Button name="PlayerTalentFrameTalent30" inherits="TalentButtonTemplate" id="30"/>
<Button name="PlayerTalentFrameTalent31" inherits="TalentButtonTemplate" id="31"/>
<Button name="PlayerTalentFrameTalent32" inherits="TalentButtonTemplate" id="32"/>
<Button name="PlayerTalentFrameTalent33" inherits="TalentButtonTemplate" id="33"/>
<Button name="PlayerTalentFrameTalent34" inherits="TalentButtonTemplate" id="34"/>
<Button name="PlayerTalentFrameTalent35" inherits="TalentButtonTemplate" id="35"/>
<Button name="PlayerTalentFrameTalent36" inherits="TalentButtonTemplate" id="36"/>
<Button name="PlayerTalentFrameTalent37" inherits="TalentButtonTemplate" id="37"/>
<Button name="PlayerTalentFrameTalent38" inherits="TalentButtonTemplate" id="38"/>
<Button name="PlayerTalentFrameTalent39" inherits="TalentButtonTemplate" id="39"/>
<Button name="PlayerTalentFrameTalent40" inherits="TalentButtonTemplate" id="40"/>

<Frame name="PlayerTalentFrameArrowFrame" setAllPoints="true">
<Layers>
<Layer level="OVERLAY">
<Texture name="PlayerTalentFrameArrow1" inherits="TalentArrowTemplate"/>
<Texture name="PlayerTalentFrameArrow2" inherits="TalentArrowTemplate"/>
<Texture name="PlayerTalentFrameArrow3" inherits="TalentArrowTemplate"/>
<Texture name="PlayerTalentFrameArrow4" inherits="TalentArrowTemplate"/>
<Texture name="PlayerTalentFrameArrow5" inherits="TalentArrowTemplate"/>
<Texture name="PlayerTalentFrameArrow6" inherits="TalentArrowTemplate"/>
<Texture name="PlayerTalentFrameArrow7" inherits="TalentArrowTemplate"/>
<Texture name="PlayerTalentFrameArrow8" inherits="TalentArrowTemplate"/>
<Texture name="PlayerTalentFrameArrow9" inherits="TalentArrowTemplate"/>
<Texture name="PlayerTalentFrameArrow10" inherits="TalentArrowTemplate"/>
<Texture name="PlayerTalentFrameArrow11" inherits="TalentArrowTemplate"/>
<Texture name="PlayerTalentFrameArrow12" inherits="TalentArrowTemplate"/>
<Texture name="PlayerTalentFrameArrow13" inherits="TalentArrowTemplate"/>
<Texture name="PlayerTalentFrameArrow14" inherits="TalentArrowTemplate"/>
<Texture name="PlayerTalentFrameArrow15" inherits="TalentArrowTemplate"/>
<Texture name="PlayerTalentFrameArrow16" inherits="TalentArrowTemplate"/>
<Texture name="PlayerTalentFrameArrow17" inherits="TalentArrowTemplate"/>
<Texture name="PlayerTalentFrameArrow18" inherits="TalentArrowTemplate"/>
<Texture name="PlayerTalentFrameArrow19" inherits="TalentArrowTemplate"/>
<Texture name="PlayerTalentFrameArrow20" inherits="TalentArrowTemplate"/>
<Texture name="PlayerTalentFrameArrow21" inherits="TalentArrowTemplate"/>
<Texture name="PlayerTalentFrameArrow22" inherits="TalentArrowTemplate"/>
<Texture name="PlayerTalentFrameArrow23" inherits="TalentArrowTemplate"/>
<Texture name="PlayerTalentFrameArrow24" inherits="TalentArrowTemplate"/>
<Texture name="PlayerTalentFrameArrow25" inherits="TalentArrowTemplate"/>
<Texture name="PlayerTalentFrameArrow26" inherits="TalentArrowTemplate"/>
<Texture name="PlayerTalentFrameArrow27" inherits="TalentArrowTemplate"/>
<Texture name="PlayerTalentFrameArrow28" inherits="TalentArrowTemplate"/>
<Texture name="PlayerTalentFrameArrow29" inherits="TalentArrowTemplate"/>
<Texture name="PlayerTalentFrameArrow30" inherits="TalentArrowTemplate"/>
</Layer>
</Layers>
</Frame>
</Frames>
</Frame>
« Last Edit: January 01, 1970, 01:00:00 am by Admin »