Jump to content

Custom Talent Tree AIO 1.3.0


3 Screenshots

About This File

Requisites:
- Eluna module and AIO scripts on your core + client

How to install:
- copy Server_Talents into your lua_scripts folder in the core
- add the content of client patch folder into a client patch

 

How to use:
- add the talent tabs for your class to the customTalentual.tabInfo variable declaration (the code has some examples for Druid and Mage)
- add the spells for your class and tabs in customTalentual.talentualSpells
you can selece the colimn and row of the spell and up to three required spells.
NSx goes from 0 to 6 in order to show diagonal and bottom arrows for the talent tree
NHx goes from 0 to 3 to show horizontal arrows
IMPORTANT: the system will only work properly for spells that show up on your spellbook, so if you want to use a normal talent for this system, edit it with Stoneharry's spell editor and remove the DoNotDisplay flag from the spell.

- to change the requisites for learning a talent and the number of available talent points look for the CheckRequisites and updatetalentpoints() functions respectively. At the moment it checks if you have at least 8 talent points spent to give you access to the fifth row and 20 talents spent to give you access to the 8th row and checks for at least one of the up to three requires spells for a talent.

- left click to learn a talent

- right click to forget a talent. If setup properly, forgetting a talent will automatically forget all other talents that no longer have correct dependancies.

ADDING talents to the trees
image.thumb.png.45c63d203f133d79d2be938f16cbe2e4.png

add a row in customTalentual.talentualSpells similar to the ones in the mage section, select one of the specializations in the square brackets
-id: is the id of the spell
-itemType = "spell" for reasons internal to the original scripts
-row is the row where the spell will appear
-column: is the column at which the spell will appear
-TT: unused, I planned to use it as some extra customization, but never went around to doing it Now used to differentiate between kind of talent tabs, see changelog below
-RSp1, RSp2, RSp3 = spell IDs of the required spells for the talent, you need to know ony one of them, 0 for no requirement
-NSx = from 0 to 7 are the diagonal and down arrows to show in the talent tree
-NHx = from 0 to 3 are horizontal arrow to show in the talent tree

Hope you like it.

 

Credits:

Custom talent system using a modified version of the racialUI shared by awjerfaoiwejfoiajwe here (which in turn is a modified version of the lua custom store system)

 

 

Edited by Atraxian


What's New in Version 1.3.0   See changelog

Released

Version 1.3
- Disivded the talent tabs into Class Talents, Spec Talents and Hero Talents.
- Added Talentcount for each tab
- Added unspent talent count for each category
- Divided total talents into 31 for class talents (cap at lv 70), 30 for spec talents (cap at level 70), 11 for hero talents (start frm level 70 and caps at level 80)
- added icons for the retail hero talent trees

How to select whch tab is which category
You do it in a talent-by-talent manner.
When declaring the talents in customTalentual.talentualSpells table fir each talent choose these values for the TT variable
TT = "class" for class talents
TT = "spec" for specialization talents
TT = "Key" for keystone heroic talent (be mindful of case sensitivity), this instructs the software to use circular highlights
TT = "Hero" for heroic talents

  • Like 3
  • Thanks 1

×
×
  • Create New...