Is there a way to apply this to multiple players in same game? When creating talent tree there is no "for player x" variable. Or does it creates the tree individually for every player.
You decide which tree shown to who. Trees are separate per player so everyone have their own version of let's say "Shadow" tree.
Upgrades on which system is based are also per player.
The only time this will fail is if one player is in control of 2 units which are affected by same tree. There will be no separation between those 2 units unless you make another tree and set of upgrades for second unit.
Basically dialog containing all items.
Each tree is standalone 'thing' and only may share available talent points.
This approach is designed more towards bigger amount of trees where you can display them separately (for example in tabbed dialog)
Each tree have his own:
rows and columns amount
background
title
sub titles
available talent points (per player)
visual appearance settings
child talents general settings like button looks etc
Talent
Structure defining everything related to talent.
Each talent belongs to certain tree.
Each talent have his own:
upgrade link
name
position in parent tree based on row and column
max level
current level (per player)
cost
images and settings
Lore description
Stats description (uses parsing to calculate values)
requirements data (can be based on other talent or entire tree)
i do not play SC2 anymore etc.
I see links are dead so here you have:
Lib (hit the download button)
Demo (hit the download button)
I don't know if it even works. Fell free to edit share etc etc
Sorry but i no longer provide support for this.
In near future i will most likely release User-Type based version which is way more flexible and easier for such things.
It seems like trigger expects boolean as return value now. Fixed
You decide which tree shown to who. Trees are separate per player so everyone have their own version of let's say "Shadow" tree. Upgrades on which system is based are also per player.
The only time this will fail is if one player is in control of 2 units which are affected by same tree. There will be no separation between those 2 units unless you make another tree and set of upgrades for second unit.
I was on vacations so sorry for late response.
You would have to recode requirement checking function to support unit levels.
I may add it in future tho.
N's Talent System
Asset page
Description
Talent system for RPGs etc.
How to use
Installation
Import library
Download
Structure decryption:
Tree
Basically dialog containing all items.
Each tree is standalone 'thing' and only may share available talent points.
This approach is designed more towards bigger amount of trees where you can display them separately (for example in tabbed dialog)
Each tree have his own:
Talent
Structure defining everything related to talent.
Each talent belongs to certain tree.
Each talent have his own: