Tutorial

Import the Library:

  1. Go to Data->Library->Import Library and select the library file.
  2. You may lose the grammar and hint text for the actions.
  3. Delete everything in the Talent Library folder after importing it.
  4. Open the example map and copy all the folders and data in the Talent Library there.
  5. Paste it into the imported Talent Library in YOUR map.
  6. You should now have all the grammar and hint text back.

Create a Talent Tree

http://static.curseforge.net/thumbman/images/26/842/600x375/TalentDemo1.jpg.-m1.png

  1. You must create a talent tree before you show it or add buttons.
  2. You can do this at Map Initialization or when a player picks their hero or w/e.
  3. Create a new action and pick "Create Talent Tree".
  4. Pick the Player the Talent Tree is for.
  5. Create a name for the Talent Window.
  6. Pick a color scheme.
  7. Pick how many trees you want (max of 3).
  8. Type in the names of your trees separated by commas. No spaces after the comma.
  9. Pick how many columns and rows you want (max of 4 columns and 8 rows).
  10. Pick either 10 or 5 points per tier. This determines how many points is required in order to unlock a new tier of talents.

Create Talent Buttons

http://static.curseforge.net/thumbman/images/26/843/600x375/TalentDemo2.png.-m1.png

  1. Create an action and pick "Create Talent Button".
  2. Set the Player the button is for.
  3. Pick which Tree, Column, and Row the button is for. Trees and Columns are numbered from left to right. Rows from top to bottom.
  4. Be careful not to create two buttons in the same position.
  5. Pick whether you want a Prerequisite for this Talent or not. Note that the Prerequisite Talent MUST be made BEFORE the talent it unlocks.
  6. Pick the upgrade associated with this talent. I've found that upgrades are the best way to create talent effects. Each rank increases the level of the upgrade. Create upgrades in the Data Editor.
  7. Pick a Talent Type. Passive Talents work like upgrades (ex. "Increases damage by 25%). Ability Talents unlock abilities.
  8. The rest of the options depend on the Talent Type. Leave the other Talent Type's options as it is. If this is a passive talent then don't worry about the ability talent options and vice versa.
  9. PASSIVE OPTIONS:
  10. Pick a name, max rank, and image for the Talent Button.
  11. Type in the description of the talent. Use @ for the variable 1 and $ for variable 2. For example: If you want a talent that increases damage by (5/10/15/20/25)% then set the description to "Increases damage by @%".
  12. Pick a Multiplier 1 for each rank of the talent. Lets say your talent has 3 ranks and you want an effect of 15% then set this to "5.0".
  13. Do the same for Multiplier 2 if you are using one.
  14. ABILITY OPTIONS:
  15. Ability Talent Button's Image, Name, Tooltip, Description, Cost, etc. is determined by the ability and button link that you pick.
  16. Pick an Ability and the Button associated with it.
  17. Create more Talent Buttons until you've finished creating your Talent Tree(s).

Show/Hide Talent Tree

http://static.curseforge.net/thumbman/images/26/847/600x375/TalentDemo6.png.-m1.png

  1. After you've finished creating your Talent Window, you must show it.
  2. To Show/Hide the Talent Window use the "Show/Hide Talent Tree" action.
  3. The action will automatically detect whether the Talent Window is open or closed and show/hide it accordingly.

Giving Talent Points to a Player

http://static.curseforge.net/thumbman/images/26/848/600x375/TalentDemo7.png.-m1.png

  1. Players need to be given Talent Points in order to choose their Talents.
  2. Use the "Grant Talent Points" action to give a player talent points.
  3. To grant a player talent point when his hero levels up. Create a trigger with event "Unit Gains Experience" with this action under it.

Resetting a Talent Tree

http://static.curseforge.net/thumbman/images/26/849/600x375/TalentDemo8.png.-m1.png

  1. You can reset a player's talent tree by using the "Reset Talent Build" action.
  2. This sets the all the upgrades linked to the talents to level 0.
  3. This also gives the player back all of his spent talent points.

Destroy Talent Tree

http://static.curseforge.net/thumbman/images/26/850/600x375/TalentDemo9.png.-m1.png

  1. In order to create a new Talent Tree for a player (for example: when he picks a new hero) you need to first destroy his talent tree.
  2. Use the "Destroy Talent Tree" action to destroy a player's talent tree and reset his talent variables.
  3. You must destroy a player's talent tree before creating him a new one.

Save Talent Build

http://static.curseforge.net/thumbman/images/27/477/600x375/TalentDemo10.png.-m1.png

  1. You can save a player's talent build in a bank. This is useful if you want a hero saving system where players can continue where they left off the next time they play your map.
  2. Create a new action and pick "Save/Load Talent Build".
  3. Set the "Save/Load" option to "Save".
  4. Set which save slot you will use. You can save up to 10 different talent builds per player. Be sure to save this number somewhere so you can make sure load this build to the correct Talent Window. (e.x. number your heros/characters and be sure to load that slot number)
  5. Create a unique name for your map's Talent Library Bank. Something like the name of your map. You don't wanna save/load other map's talent builds right? You do NOT have to change this per player!
  6. Pick which Player whom is getting his build saved.
  7. This also saves the player's amount of available points.

Load Talent Build

http://static.curseforge.net/thumbman/images/27/478/600x375/TalentDemo11.png.-m1.png

  1. If you saved a player's talent build then you can now load it whenever you want. (e.x. when they pick their saved character)
  2. Create a new action and pick "Save/Load Talent Build".
  3. Set the "Save/Load" option to "Load".
  4. Set which slot you saved the talent build. Make SURE this talent build matches the opened player's current talent tree or it'll be all kinds of messed up.
  5. Make sure the bank name is the same as the one you saved.
  6. Pick which Player's talent build you're loading.
  7. This also loads the player's saved available points.

Well that's it for this tutorial. I hope you like my Talent System. If you have any questions or want to report a glitch leave a comment in the asset's main page.


Comments

Posts Quoted:
Reply
Clear All Quotes