Modcraft - The community dedicated to quality WoW modding!
Wrath of the Lich King Modding => Miscellaneous => Topic started by: nicepants 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.
(http://s22.postimg.org/ffcdd6xp9/Wo_WScrn_Shot_012015_142250.jpg) (http://postimg.org/image/ffcdd6xp9/)
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
-
In Blizzard_TalentUI.lua :
Change GLYPH_TALENT_TAB = 4;
to GLYPH_TALENT_TAB = 5;
For ->local specs add ["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,
}
For ->local talentSpecInfoCache add ["spec4"] = { }
Change in Blizzard_TalentUI.xml too.
-
I changed and added what you said but it seems to be worse now, the tabs are gone
(http://s11.postimg.org/aqjxbam0f/Wo_WScrn_Shot_012115_020720.jpg) (http://postimg.org/image/aqjxbam0f/)
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 (http://pastebin.com/WaY3n7vy" onclick="window.open(this.href);return false;) - TalentFrameBase.lua
http://pastebin.com/C5BFUCMZ (http://pastebin.com/C5BFUCMZ" onclick="window.open(this.href);return false;) - Blizzard_TalentUI.lua
http://pastebin.com/u0VBL3E7 (http://pastebin.com/u0VBL3E7" onclick="window.open(this.href);return false;) - 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)
-
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 .
-
Has anyone found the issue for this? I would much like to know as well!
-
Highly suggest making it via LUA and using Eluna on your server.
This is just an example of one I worked on ages ago. It was abandoned, but it can definitely all be utilized with LUA.
(http://puu.sh/lDaHc/1263a4a25f.jpg)
-
Highly suggest making it via LUA and using Eluna on your server.
This is just an example of one I worked on ages ago. It was abandoned, but it can definitely all be utilized with LUA.
(http://puu.sh/lDaHc/1263a4a25f.jpg)
How did you do this :P?
-
any news there?
-
any news there?
Step 1) If you want to hack it like he did you need to know how to program.
Step 2) Look at WoW addon/WoW API documentation, code what you want.
The proper way to do this is the DBC's, they are documented.
Make sure you enable Lua errors in the interface options, then try /reload ui and going into the talent frame. You will probably see a Lua error, from that you can work out why it is not working as intended.
-
any news there?
Step 1) If you want to hack it like he did you need to know how to program.
Step 2) Look at WoW addon/WoW API documentation, code what you want.
The proper way to do this is the DBC's, they are documented.
Make sure you enable Lua errors in the interface options, then try /reload ui and going into the talent frame. You will probably see a Lua error, from that you can work out why it is not working as intended.
There not only Lua.. C++ instead. But...